Skip to content

Slot

One base Inventory slot. Returned by: inventory.get_slots()

MemberReturnsMeaning
.slotnumberSlot index
.idstringItem id (empty string if the slot is empty)
.namestringDisplay name
.valuenumberCredit value per item
.countnumberStack count in this slot
.propertiesdict or NoneExact property dict for this stack; pass to property-aware transfer and capacity methods
.geneslist of stringsGenes a held geothermal fragment carries (e.g. ["cold_tolerance", "pressure_tolerance"]), readable without loading the DNA Sequencer. Empty for non-geothermal items
.glow[r, g, b] or NonePer-instance bioluminescent glow (0-255) for a held coastal fragment; None otherwise
.splicedbooleanTrue for an engineered geothermal fragment: a further DNA Sequencer alter would destroy it