ChangeObjectDescription()
Change Object Description
Change an object's descriptive text.
| Option key / field | Meaning and input | Default |
|---|---|---|
| Scene sceneId | Choose a scene ID. | Blank |
| Object entityId | Choose an entity in the selected scene. | Blank |
| Description description | Text. | Blank |
Timing. Waits for the runtime routine to return; no further completion wait is promised by this schema.
await ChangeObjectDescription({
"sceneId": "lab",
"entityId": "archive_door",
"description": ""
})In use. After powering the lamp, change its description to "The signal is powered." The next Look response must use that description or the built-in fallback; a hard-coded Look message continues to say whatever you wrote in it.
ChangeInventoryDescription()#
Change Inventory Description
Change an inventory item's description.
| Option key / field | Meaning and input | Default |
|---|---|---|
| Inventory Item itemId | Choose an inventory definition ID. | Blank |
| Description description | Text. | Blank |
Timing. Waits for the runtime routine to return; no further completion wait is promised by this schema.
await ChangeInventoryDescription({"itemId": "key", "description": ""})In use. Update the key's description after discovering which door it opens. Changing description text is separate from changing its icon, name or quantity.
