Difference between revisions of "Object is edible"
(Created page with "This is a property of DYNAMIC objects only. This property should be set for any food or objects that look like they should be edible. If the player uses the "eat %object%" comma...") |
m (→Definition) |
||
Line 22: | Line 22: | ||
== Definition == | == Definition == | ||
− | + | This property is defined in the "Eat and Drink" folder of [[The Standard Library]]. | |
[[File:PropertyDialogEdible.jpg]] | [[File:PropertyDialogEdible.jpg]] |
Latest revision as of 06:33, 19 September 2013
This is a property of DYNAMIC objects only. This property should be set for any food or objects that look like they should be edible.
If the player uses the "eat %object%" command on an object that does not have this selected, then they will get the following restriction failure message:
> eat bread |
If an object has this property, then the "eat %object%" general command will respond as follows:
> eat bread |
To actually allow the player to eat an object you will need to override the "Eat object" general task with a specific task for that object which describes the effects of eating it and which has an action to remove the object to the "Hidden" location. If the object is a plate that contains food then replace it with an empty plate.
Definition
This property is defined in the "Eat and Drink" folder of The Standard Library.
- Property of: Objects - It is only available on the property page of Objects.
- Type: Selection Only - It only has a tick-box, so can be selected or not.
- Its not mandatory.
- It only appears if the object type is dynamic, so is not available on static objects.
<<< Object is drinkable | Main_Page | Object weight >>> |