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

ore_silo

Vars

ID_requiredBy default, an ore silo requires you to be wearing an ID to pull materials from it.
banned_usersA list of names of bank account IDs that are banned from using this ore silo.
holdsList of all connected components that are on hold from accessing materials.
materialsMaterial Container
ore_connected_machinesList of all components that are sharing ores with this silo.
radioThe machine's internal radio, used to broadcast alerts.
radio_channelsThe channels we announce over

Procs

attempt_ban_toggleCalled from the ore silo's UI, when someone attempts to (un)ban a user from using the ore silo. The person doing the banning should have at least QM access. Unless this is emagged. Not modifiable by silicons unless emagged. Anyone but the Captain attempting to ban someone with QM access from the ore silo gets what is essentially a glorified version of the permission denied result.
attempt_toggle_restrictCalled from the ore silo tgui interface, for when someone attempts to restrict or unrestrict the ore silo from requiring an ID with an attached bank account (or, a chameleon ID, or, being a silicon) user - the person who tried to toggle the ore silo's access restriction. Needs to be someone with QM access, unless the silo is emagged. Shouldn't allow silicons to toggle this unless the silo is emagged.
configure_default_announcements_policySet up the default announcement policy for actions radio_channels[channel_name_key] = policy_bitmask where channel_name_key is one of RADIO_CHANNEL_(COMMON|COMMAND|SECURITY|SUPPLY) and policy_bitmask is a bitmask of actions that will be announced on that channel by default
connect_receptacleThe logic for disconnecting a remote receptacle (RCD, fabricator, etc.) is collected here for sanity's sake rather than being on specific types. Serves to agnosticize the remote_materials component somewhat rather than snowflaking code for silos into the component.
disconnect_receptacleThe logic for disconnecting a remote receptacle (RCD, fabricator, etc.) is collected here for sanity's sake rather than being on specific types. Cleans up references to us and to the receptacle.
silo_logCreates a log entry for depositing/withdrawing from the silo both ingame and in text based log

Var Details

ID_required

By default, an ore silo requires you to be wearing an ID to pull materials from it.

banned_users

A list of names of bank account IDs that are banned from using this ore silo.

holds

List of all connected components that are on hold from accessing materials.

materials

Material Container

ore_connected_machines

List of all components that are sharing ores with this silo.

radio

The machine's internal radio, used to broadcast alerts.

radio_channels

The channels we announce over

Proc Details

attempt_ban_toggle

Called from the ore silo's UI, when someone attempts to (un)ban a user from using the ore silo. The person doing the banning should have at least QM access. Unless this is emagged. Not modifiable by silicons unless emagged. Anyone but the Captain attempting to ban someone with QM access from the ore silo gets what is essentially a glorified version of the permission denied result.

attempt_toggle_restrict

Called from the ore silo tgui interface, for when someone attempts to restrict or unrestrict the ore silo from requiring an ID with an attached bank account (or, a chameleon ID, or, being a silicon) user - the person who tried to toggle the ore silo's access restriction. Needs to be someone with QM access, unless the silo is emagged. Shouldn't allow silicons to toggle this unless the silo is emagged.

configure_default_announcements_policy

Set up the default announcement policy for actions radio_channels[channel_name_key] = policy_bitmask where channel_name_key is one of RADIO_CHANNEL_(COMMON|COMMAND|SECURITY|SUPPLY) and policy_bitmask is a bitmask of actions that will be announced on that channel by default

connect_receptacle

The logic for disconnecting a remote receptacle (RCD, fabricator, etc.) is collected here for sanity's sake rather than being on specific types. Serves to agnosticize the remote_materials component somewhat rather than snowflaking code for silos into the component.

disconnect_receptacle

The logic for disconnecting a remote receptacle (RCD, fabricator, etc.) is collected here for sanity's sake rather than being on specific types. Cleans up references to us and to the receptacle.

silo_log

Creates a log entry for depositing/withdrawing from the silo both ingame and in text based log

Arguments: