Skip to main content

ChamberData

class ThaumielMapEditor.API.Blocks.ServerObjects.Lockers

Describes a single item entry that can be spawned inside a locker chamber.

Overview​

Properties​

NameTypeAccessDescription
AmountToSpawnintget setGets or sets the Number of instances to spawn when this entry is selected.
ItemTypeItemTypeget setGets or sets the type of item to spawn.
SpawnPercentfloatget setGets or sets the chance this entry is selected when populating the chamber, expressed as a percentage (e.g., 50.0 = 50%).

Properties​

AmountToSpawn​

Type: int Access: get set

Gets or sets the Number of instances to spawn when this entry is selected.


ItemType​

Type: ItemType Access: get set

Gets or sets the type of item to spawn.


SpawnPercent​

Type: float Access: get set

Gets or sets the chance this entry is selected when populating the chamber, expressed as a percentage (e.g., 50.0 = 50%).