Goonstation 13 - Modules - TypesVar Details - Proc Details

/obj/loot_spawner

Vars

xSizeThe width of this spawner
ySizeThe height of this spawner

Procs

handle_lootCalls spawn_loot, then handles disappearing & overrides
spawn_itemspawn a given item with the 'transform on pickup' component. Refer to function definition for better docs.
spawn_lootSpawn the loot for this instance. Return TRUE if this should not take up grid squares.

Var Details

xSize

The width of this spawner

ySize

The height of this spawner

Proc Details

handle_loot

Calls spawn_loot, then handles disappearing & overrides

spawn_item

spawn a given item with the 'transform on pickup' component. Refer to function definition for better docs.

spawn_loot

Spawn the loot for this instance. Return TRUE if this should not take up grid squares.