Yogstation 13 - Modules - TypesVar Details

/datum/ai_shared_resources

Vars

cpu_assignedWhere our CPU is assigned to. Associative where either an AI or a network has values. Max total value = 1 (100%)
cpu_sourcesWhere our CPU is coming from. Associative array where the network is the key
human_lockIf resource allocation can only be changed physically at a console by a human
networksList of all networks we are connected to
previous_ramHow much RAM we had before updating resources
ram_assignedWhere our CPU is assigned to. Associative where either an AI or a network has values
ram_sourcesWhere our RAM is coming from. Associative array where the network is the key

Var Details

cpu_assigned

Where our CPU is assigned to. Associative where either an AI or a network has values. Max total value = 1 (100%)

cpu_sources

Where our CPU is coming from. Associative array where the network is the key

human_lock

If resource allocation can only be changed physically at a console by a human

networks

List of all networks we are connected to

previous_ram

How much RAM we had before updating resources

ram_assigned

Where our CPU is assigned to. Associative where either an AI or a network has values

ram_sources

Where our RAM is coming from. Associative array where the network is the key