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

base

Vars

combined_lawsetThe actual law set we are using, combining all the laws from the modules and linked racks
last_linkable_silicon_listTracks the list of linkable silicons passed to UI data for verification
last_linked_rack_module_countTracks the number of modules in all linked racks
linked_mobsList of all silicons linked to this rack Assoc list of name of a mob to the mob itself Note: This can be [name: null], if the mob is deleted, because deleted mobs aren't "unlinked"
linked_racksList of law racks which are linked to this law rack, contributing to our lawset

Procs

apply_lawsetApplies the current combined lawset to a silicon, optionally announcing the change to them/their borgs/deadchat
find_silicon_by_refWhen given a ref(), finds a silicon mob it belongs to
rack_stunAttempts to stun a linked bot and prevent it from interacting with certain devices
update_lawsetRefreshes the combined lawset with all the modules currently installed and syncs it to all linked silicons

Var Details

combined_lawset

The actual law set we are using, combining all the laws from the modules and linked racks

last_linkable_silicon_list

Tracks the list of linkable silicons passed to UI data for verification

last_linked_rack_module_count

Tracks the number of modules in all linked racks

linked_mobs

List of all silicons linked to this rack Assoc list of name of a mob to the mob itself Note: This can be [name: null], if the mob is deleted, because deleted mobs aren't "unlinked"

linked_racks

List of law racks which are linked to this law rack, contributing to our lawset

Proc Details

apply_lawset

Applies the current combined lawset to a silicon, optionally announcing the change to them/their borgs/deadchat

find_silicon_by_ref

When given a ref(), finds a silicon mob it belongs to

rack_stun

Attempts to stun a linked bot and prevent it from interacting with certain devices

update_lawset

Refreshes the combined lawset with all the modules currently installed and syncs it to all linked silicons