/tg/ Station 13 - Modules - TypesVar Details - Proc Details

repackable

An element that allows objects to be right clicked and turned into another item after a delay

Vars

disassemble_objectsDo we tell objects destroyed that we disassembled them?
item_to_pack_intoThe path to spawn when the repacking operation is complete
repacking_timeHow long will repacking the attachee take

Procs

on_requesting_context_from_itemAdds screen context for hovering over the repackable items with your mouse
on_right_clickChecks if the user can actually interact with the structures in question, then invokes the proc to make it repack
repackRemoves the element target and spawns a new one of whatever item_to_pack_into is

Var Details

disassemble_objects

Do we tell objects destroyed that we disassembled them?

item_to_pack_into

The path to spawn when the repacking operation is complete

repacking_time

How long will repacking the attachee take

Proc Details

on_requesting_context_from_item

Adds screen context for hovering over the repackable items with your mouse

on_right_click

Checks if the user can actually interact with the structures in question, then invokes the proc to make it repack

repack

Removes the element target and spawns a new one of whatever item_to_pack_into is