Editing Hydroponics Device
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 80: | Line 80: | ||
! Name !! Data Type !! Description | ! Name !! Data Type !! Description | ||
|- | |- | ||
− | | | + | | Occupied || Boolean || Returns whether the slot occupied. (0 for no, 1 for yes). |
+ | |- | ||
+ | | OccupantHash || Integer || Returns [[ItemHash]] of item in slot. | ||
+ | |- | ||
+ | | Quantity || Integer || Size of stack. | ||
|- | |- | ||
| Damage || Integer || Item durability in percent. | | Damage || Integer || Item durability in percent. | ||
|- | |- | ||
− | | Efficiency || Float || Returns the growth efficiency of the plant in the slot. (-1=Empty, | + | | Efficiency || Float || Returns the growth efficiency of the plant in the slot. (-1=Empty, 0 - 1) |
− | |||
− | |||
|- | |- | ||
| Health || Float || Returns the health of the plant in the slot. (0 - 1) | | Health || Float || Returns the health of the plant in the slot. (0 - 1) | ||
|- | |- | ||
− | | | + | | Growth || Integer || Returns the current growth state of the plant in the slot (-1=Empty, 0, 1, 2, 3, 4=Seeding, 5=Mature) |
|- | |- | ||
− | | | + | | Class || Integer || Item class ID. |
|- | |- | ||
− | | | + | | MaxQuantity || Integer || Returns maximum stacksize. |
|- | |- | ||
− | | | + | | Mature || Integer || Returns 1 if the plant in this slot is mature, 0 when it isn't. (-1=Empty) |
− | |||
− | |||
|- | |- | ||
| Seeding || Integer || Returns 1 if at least one seed can be harvested from the plant, 0 if not and still in seeding stage (-1=Not in seeding stage) | | Seeding || Integer || Returns 1 if at least one seed can be harvested from the plant, 0 if not and still in seeding stage (-1=Not in seeding stage) |