en:api:unit

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:api:unit [2016/12/16 10:04] – [takeable] Alexander Yakovleven:api:unit [2021/01/24 10:42] (current) – external edit 127.0.0.1
Line 10: Line 10:
  
 ==== visible ==== ==== visible ====
-This property indicates whether the unit is visible when viewed from the room. By default it's ''true'' - the unit's description in printed on ext.+This property indicates whether the unit is visible when viewed from the room. By defaultit's ''true'' - the unit's description in printed on ext.
  
 ==== takeable ==== ==== takeable ====
Line 26: Line 26:
  
 ==== act ==== ==== act ====
-A reaction when when this unit's link is clicked, if the unit is not portable (''takeable = false'').+A reaction when this unit's link is clicked, if the unit is not portable (''takeable = false'').
  
 Can be a function that returns a string, or a string. Can be a function that returns a string, or a string.
  • en/api/unit.1481875484.txt.gz
  • Last modified: 2021/01/24 10:41
  • (external edit)