Goonstation 13 - Modules - TypesProc Details

/datum/robot/module_tool_creator/item_type/amount

Stub parent.

Allows simple instantiation of a single /obj/item from a type that uses the amount var.

You may need to extend the setup proc for e.g. custom icon state behavior.

@property {number} amount=1

Procs

setupcontents {/obj/item} - Instantiated contents proxy_loc {/atom} - Location used in instantiate

Proc Details

setup

contents {/obj/item} - Instantiated contents proxy_loc {/atom} - Location used in instantiate

return {/obj/item} result