Yogstation 13 - Modules - TypesVar Details

syndicate uplink

Uplinks

All /obj/item(s) have a hidden_uplink var. By default it's null. Give the item one with 'new(src') (it must be in it's contents). Then add 'uses.' Use whatever conditionals you want to check that the user has an uplink, and then call interact() on their uplink. You might also want the uplink menu to open if active. Check if the uplink is 'active' and then interact() with it.

Vars

has_failsafeSet to true if failsafe_code should blow up the device
unlock_textInstructions on how to access the uplink based on location

Var Details

has_failsafe

Set to true if failsafe_code should blow up the device

unlock_text

Instructions on how to access the uplink based on location