Object is edible

From ADRIFT 5 Manual Wiki
Jump to: navigation, search

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
You can't eat the bread!

If an object has this property, then the "eat %object%" general command will respond as follows:

> eat bread
As tasty as the bread looks, you are not hungry right now.

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.


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 drinkableMain_PageObject weight >>>