Civilization 13 - Modules - Types — Var Details - Proc Details - Search

/(global)

Vars

AREA_TELEPORTERS< The number of Z-Levels in the map.
BLOOD_VOLUME_SAFEBLOOD SYSTEM
FailsafeFailsafe
MasterStonedMC
SStimer
VEHICLE_CONSTANTS///////////////////// MODULAR VEHICLES CONFIGURATION //////////////////////// This file defines all constants and static configuration for the vehicle system. Centralized here to eliminate magic numbers throughout the codebase.
WHEEL_CONFIGS///////////////////// WHEEL & TRACK CONFIGURATION LIBRARY //////////////////////// Consolidated configuration objects for all vehicle movement types. Replaces 50+ type definitions with data-driven configuration.
crossroads_loot_padsLoot pads
fob_names_natoMAP SPECIFIC OBJECTS
hud_icon_px_cacheapplying the layout
lava_turfsVulcano
persistence_save_in_progressGAMETICKER
photo_countphoto
rotation_matrixes1Rotation matrices for vehicle turning calculations These define how vehicle parts rotate when turning
vehicle_factory///////////////////// VEHICLE FACTORY SYSTEM //////////////////////// Factory pattern for creating complete vehicles from templates. Eliminates manual assembly of frames, wheels, and components. Global vehicle factory instance
wild_herb_seed_stateHerb patches in the wild
willow_seed_stateWillow stands

Procs

_addtimerCreate a new timer and insert it in the queue. You should not call this directly, and should instead use the addtimer macro, which includes source information.
cartography_print_problemPrinting
deltimerDelete a timer
foraging_clockRenewal (phase 5)
get_wound_typeWOUND DEFINITIONS
hud_infer_anchorreflow at large scales
hud_parse_axisscreen_loc helpers
is_bee_smokeSmoke
is_special_characterADMIN HELPER PROCS
is_wet_weather_iconReturns TRUE if the given area icon_state represents precipitation (rain, snow, monsoon) that would soak an MDF wand.
kept_hive_cycleThe colony tick (driven by flora_regrowth's worker)
makeDatumRefListsInitial Building
painting_design_codePictures
painting_is_wallHanging on walls
radiation_pulseSo in Civ13 there's two measures of radiation used: Sieverts (and mSv and uSv) for emitted radiation and Grays/rads (1 Gy = 100 rads) for absorbed radiation. GRAYS: basic unit used is rad. For an adult human, exposure to 2 Gy from an unfocused radiation source such as an excursion will cause radiation sickness but is not considered definitely lethal; 2.4-3.4 Gy is the median lethal dose; a dose of 5 Gy almost always kills. SIEVERTS: basic unit used is mSv. An exposure to 1 Sv for 1 hour gives a total exposure of 1 Gy (since 1 Sv is equal to 1 Gy for all except alpha radiation). The radiation var of humans is measured in rads, so 100 radiation means 1 Gy. 1 mSv = 0.1 rad RAD_LEVEL_NORMAL 15 //0.15 Gy, equal to 1 year smoking 1 1/2 packs of cigarettes a day. Avg dose for Chernobyl recovery workers. RAD_LEVEL_MODERATE 40 //Gives mild radiation poisoning symptoms (vomiting, erytrema) RAD_LEVEL_HIGH 100 //Gives radiation poisoning (passing out, twitches, severe erytrema) RAD_LEVEL_VERY_HIGH 200 //Severe radiation poisoning, sometimes fatal RAD_LEVEL_CRITICAL 300 //LD50 RAD_LEVEL_DEADLY 500 //Always kills
rustg_get_versionGets the version of rust_g
rustg_unix_timestampReturns the timestamp as a string
schedule_task_inHelpers
storage_window_move_timetimed moves
strip_improperStrip out the special beyond characters for \proper and \improper from text that will be sent to the browser.
timeleftGet the remaining deciseconds on a timer
to_chat_wrapperGlobal chat wrapper to replace the to_chat macro functionality.
vehicle_rotation_targetThe cell "x,y" of a size x size turning square that the cell at key moves to in a quarter turn. Squares up to 5 use the tables below; larger ones follow the same rule worked out.
wild_bee_nest_targetNest upkeep and new nests (driven by flora_regrowth's worker)

Var Details

AREA_TELEPORTERS

< The number of Z-Levels in the map.

BLOOD_VOLUME_SAFE

BLOOD SYSTEM

Failsafe

Failsafe

Pretty much pokes the MC to make sure it's still alive.

Master

StonedMC

Designed to properly split up a given tick among subsystems Note: if you read parts of this code and think "why is it doing it that way" Odds are, there is a reason

SStimer

Timer Subsystem

Handles creation, callbacks, and destruction of timed events.

It is important to understand the buckets used in the timer subsystem are just a series of circular doubly-linked lists. The object at a given index in bucket_list is a /datum/timedevent, the head of a circular list, which has prev and next references for the respective elements in that bucket's circular list.

VEHICLE_CONSTANTS

///////////////////// MODULAR VEHICLES CONFIGURATION //////////////////////// This file defines all constants and static configuration for the vehicle system. Centralized here to eliminate magic numbers throughout the codebase.

WHEEL_CONFIGS

///////////////////// WHEEL & TRACK CONFIGURATION LIBRARY //////////////////////// Consolidated configuration objects for all vehicle movement types. Replaces 50+ type definitions with data-driven configuration.

crossroads_loot_pads

Loot pads

fob_names_nato

MAP SPECIFIC OBJECTS

hud_icon_px_cache

applying the layout

lava_turfs

Vulcano

persistence_save_in_progress

GAMETICKER

photo_count

photo

rotation_matrixes1

Rotation matrices for vehicle turning calculations These define how vehicle parts rotate when turning

vehicle_factory

///////////////////// VEHICLE FACTORY SYSTEM //////////////////////// Factory pattern for creating complete vehicles from templates. Eliminates manual assembly of frames, wheels, and components. Global vehicle factory instance

wild_herb_seed_state

Herb patches in the wild

willow_seed_state

Willow stands

Proc Details

_addtimer

Create a new timer and insert it in the queue. You should not call this directly, and should instead use the addtimer macro, which includes source information.

Arguments:

cartography_print_problem

Printing

deltimer

Delete a timer

Arguments:

foraging_clock

Renewal (phase 5)

get_wound_type

WOUND DEFINITIONS

hud_infer_anchor

reflow at large scales

hud_parse_axis

screen_loc helpers

is_bee_smoke

Smoke

is_special_character

ADMIN HELPER PROCS

is_wet_weather_icon

Returns TRUE if the given area icon_state represents precipitation (rain, snow, monsoon) that would soak an MDF wand.

kept_hive_cycle

The colony tick (driven by flora_regrowth's worker)

makeDatumRefLists

Initial Building

painting_design_code

Pictures

painting_is_wall

Hanging on walls

radiation_pulse

So in Civ13 there's two measures of radiation used: Sieverts (and mSv and uSv) for emitted radiation and Grays/rads (1 Gy = 100 rads) for absorbed radiation. GRAYS: basic unit used is rad. For an adult human, exposure to 2 Gy from an unfocused radiation source such as an excursion will cause radiation sickness but is not considered definitely lethal; 2.4-3.4 Gy is the median lethal dose; a dose of 5 Gy almost always kills. SIEVERTS: basic unit used is mSv. An exposure to 1 Sv for 1 hour gives a total exposure of 1 Gy (since 1 Sv is equal to 1 Gy for all except alpha radiation). The radiation var of humans is measured in rads, so 100 radiation means 1 Gy. 1 mSv = 0.1 rad RAD_LEVEL_NORMAL 15 //0.15 Gy, equal to 1 year smoking 1 1/2 packs of cigarettes a day. Avg dose for Chernobyl recovery workers. RAD_LEVEL_MODERATE 40 //Gives mild radiation poisoning symptoms (vomiting, erytrema) RAD_LEVEL_HIGH 100 //Gives radiation poisoning (passing out, twitches, severe erytrema) RAD_LEVEL_VERY_HIGH 200 //Severe radiation poisoning, sometimes fatal RAD_LEVEL_CRITICAL 300 //LD50 RAD_LEVEL_DEADLY 500 //Always kills

rustg_get_version

Gets the version of rust_g

rustg_unix_timestamp

Returns the timestamp as a string

schedule_task_in

Helpers

storage_window_move_time

timed moves

strip_improper

Strip out the special beyond characters for \proper and \improper from text that will be sent to the browser.

timeleft

Get the remaining deciseconds on a timer

Arguments:

to_chat_wrapper

Global chat wrapper to replace the to_chat macro functionality.

vehicle_rotation_target

The cell "x,y" of a size x size turning square that the cell at key moves to in a quarter turn. Squares up to 5 use the tables below; larger ones follow the same rule worked out.

wild_bee_nest_target

Nest upkeep and new nests (driven by flora_regrowth's worker)