From 8c5bfbf6d2c568cf0a43237455d9ba95a51c37ca Mon Sep 17 00:00:00 2001 From: hyperioo <64754494+hyperioo@users.noreply.github.com> Date: Fri, 26 Apr 2024 17:40:11 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20=20@=20d05a8?= =?UTF-8?q?e45698f3bf4b8565f41509c4276aa5f2a44=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .nojekyll | 0 CNAME | 1 + area.html | 44 + atom.html | 139 ++ atom/movable.html | 72 ++ client.html | 250 ++++ code/New_Hud_Manual_en.html | 159 +++ code/New_Hud_Manual_ru.html | 159 +++ code/__DEFINES/MC.html | 143 ++ code/__DEFINES/_globals.html | 123 ++ code/__DEFINES/admin.html | 32 + code/__DEFINES/callbacks.html | 37 + code/__DEFINES/construction.html | 47 + code/__DEFINES/cooldowns.html | 33 + code/__DEFINES/dcs/flags.html | 101 ++ code/__DEFINES/dcs/helpers.html | 76 ++ code/__DEFINES/dcs/signals.html | 86 ++ code/__DEFINES/gamemode.html | 32 + code/__DEFINES/inventory_sizes.html | 67 + code/__DEFINES/is_helpers.html | 33 + code/__DEFINES/misc.html | 38 + code/__DEFINES/mob_stats.html | 32 + code/__DEFINES/perf_test.html | 35 + code/__DEFINES/qdel.html | 81 ++ code/__DEFINES/rust_g.html | 95 ++ code/__DEFINES/spawner/_spawner.html | 33 + code/__DEFINES/subsystems.html | 155 +++ code/__DEFINES/tgui.html | 100 ++ code/__DEFINES/tick.html | 47 + code/__DEFINES/verb_manager.html | 76 ++ code/__HELPERS/_lists.html | 57 + code/__HELPERS/_logging.html | 30 + code/__HELPERS/files.html | 31 + code/__HELPERS/game.html | 29 + code/__HELPERS/global_lists.html | 28 + code/__HELPERS/icons.html | 38 + code/__HELPERS/mobs.html | 35 + code/__HELPERS/text.html | 29 + code/__HELPERS/type2type.html | 29 + code/__HELPERS/unsorted.html | 30 + code/__HELPERS/verbs.html | 31 + code/_compile_options.html | 45 + code/client_macros.html | 27 + code/controllers/failsafe.html | 32 + code/controllers/hooks-defs.html | 59 + code/controllers/hooks.html | 29 + code/controllers/master.html | 32 + code/controllers/subsystem.html | 27 + code/controllers/subsystems/chunks.html | 28 + code/controllers/subsystems/garbage.html | 56 + code/controllers/subsystems/jobs.html | 32 + code/controllers/subsystems/migration.html | 28 + code/controllers/subsystems/tgui.html | 30 + code/controllers/subsystems/throwing.html | 47 + code/controllers/subsystems/timer.html | 60 + code/controllers/subsystems/verb_manager.html | 32 + .../subsystems/voting/poll_types.html | 29 + code/datums/ai_law_sets.html | 41 + code/datums/callback.html | 30 + code/datums/category.html | 29 + code/datums/components/_component.html | 27 + code/datums/components/overlay_manager.html | 27 + code/datums/craft/recipes/furniture.html | 27 + code/datums/craft/recipes/tools.html | 27 + code/datums/datum.html | 27 + code/datums/datum_click_handlers.html | 28 + code/datums/elements/_element.html | 27 + .../helper_datums/stack_end_detector.html | 29 + code/datums/mocking/client.html | 27 + code/datums/movement/movement.html | 27 + code/datums/movement/robot.html | 27 + code/datums/outfits/equipment/backpacks.html | 30 + code/datums/outfits/jobs/job.html | 27 + code/datums/perks/job.html | 27 + code/datums/perks/oddity.html | 27 + code/datums/perks/perk.html | 27 + code/datums/topic/world.html | 27 + code/datums/underwear/underwear.html | 29 + code/datums/uplink/ammunition.html | 33 + code/datums/uplink/announcements.html | 27 + code/datums/uplink/badassery.html | 29 + code/datums/uplink/devices and tools.html | 27 + code/datums/uplink/grenades.html | 27 + code/datums/uplink/hardsuit_modules.html | 27 + .../highly visible and dangerous weapons.html | 27 + code/datums/uplink/implants.html | 28 + code/datums/uplink/medical.html | 27 + .../uplink/stealth and camouflage items.html | 27 + .../stealthy and inconspicuous weapons.html | 27 + code/datums/uplink/telecrystals.html | 27 + code/datums/uplink/uplink_items.html | 30 + code/datums/verb_callbacks.html | 27 + code/datums/weakref.html | 31 + code/game/atoms_movable.html | 27 + code/game/gamemodes/endgame/endgame.html | 27 + code/game/gamemodes/events/meteors.html | 29 + code/game/gamemodes/events/weather.html | 28 + code/game/gamemodes/storyteller.html | 28 + code/game/jobs/access_datum.html | 38 + code/game/jobs/department.html | 30 + code/game/jobs/job/guild.html | 28 + code/game/machinery/autodoc_excelsior.html | 42 + .../airlock_docking_controller_multi.html | 27 + .../embedded_controller/airlock_program.html | 64 + code/game/machinery/excelsior/autolathe.html | 27 + code/game/machinery/holosign.html | 28 + code/game/machinery/kitchen/smartfridge.html | 32 + code/game/machinery/machinery.html | 27 + code/game/machinery/pipe/construction.html | 28 + code/game/machinery/pipe/pipe_dispenser.html | 28 + code/game/machinery/requests_console.html | 33 + .../game/machinery/telecomms/broadcaster.html | 29 + code/game/machinery/vending.html | 28 + code/game/objects/effects/effect_system.html | 27 + .../effects/spawners/corpsespawner.html | 28 + code/game/objects/effects/trails.html | 32 + .../objects/items/devices/binoculars.html | 27 + code/game/objects/items/devices/debugger.html | 28 + .../objects/items/devices/radio/radio.html | 27 + .../game/objects/items/robot/robot_items.html | 28 + .../objects/items/weapons/AI_modules.html | 49 + code/game/objects/items/weapons/manuals.html | 27 + code/game/objects/items/weapons/mop.html | 27 + .../items/weapons/storage/hardcases.html | 30 + .../game/objects/items/weapons/stunbaton.html | 27 + .../objects/items/weapons/tanks/jetpack.html | 29 + .../objects/items/weapons/teleportation.html | 27 + .../items/weapons/tools/mods/mod_types.html | 27 + .../items/weapons/tools/multitool.html | 28 + code/game/objects/items/weapons/traps.html | 28 + code/game/objects/random/encouters.html | 27 + code/game/objects/random/exosuit.html | 27 + .../crates_lockers/closets/onestar.html | 32 + .../objects/structures/kitchen_spike.html | 27 + code/game/objects/structures/salvageable.html | 27 + code/hub.html | 27 + .../aberrants/organs/design_disks/disks.html | 27 + code/modules/admin/NewBan.html | 28 + code/modules/admin/admin.html | 32 + code/modules/admin/admin_secrets.html | 28 + code/modules/admin/bluespacetech.html | 27 + .../admin/secrets/random_events/gravity.html | 27 + code/modules/assembly/infrared.html | 27 + code/modules/asset_cache.html | 43 + .../modules/asset_cache/asset_cache_item.html | 27 + code/modules/asset_cache/asset_list.html | 32 + .../transports/asset_transport.html | 33 + .../preference_setup/global/preferences.html | 30 + .../preference_setup/options_popup.html | 27 + .../preference_setup/preference_setup.html | 28 + .../client/preferences_spawnpoints.html | 28 + code/modules/clothing/masks/balaclava.html | 32 + .../spacesuits/rig/suits/station.html | 32 + code/modules/clothing/spacesuits/syndi.html | 27 + .../cooking_with_jane/porting_readme.html | 49 + .../cruciform/machinery/armaments.html | 27 + .../cruciform/machinery/cloning.html | 27 + .../cruciform/rituals/machinery.html | 31 + .../cruciform/rituals/priest.html | 27 + .../modules/dungeons/crawler/dungeon_gen.html | 27 + code/modules/economy/Accounts.html | 27 + code/modules/ghosttrap/trap.html | 30 + code/modules/hivemind/machines.html | 27 + code/modules/hivemind/mobs.html | 44 + code/modules/mechs/_mech_defines.html | 52 + code/modules/mechs/equipment/combat.html | 39 + code/modules/mechs/equipment/utility.html | 27 + code/modules/mechs/mech_movement.html | 27 + code/modules/media/mediamanager.html | 37 + code/modules/mining/coins.html | 27 + code/modules/mining/machine_processing.html | 28 + code/modules/mining/machine_stacking.html | 29 + code/modules/mining/machine_unloading.html | 27 + code/modules/mining/mine_items.html | 29 + code/modules/mining/mine_turfs.html | 28 + code/modules/mining/money_bag.html | 27 + code/modules/mining/satchel_ore_boxdm.html | 27 + code/modules/mob/animations.html | 27 + .../mob/living/carbon/slime/items.html | 27 + .../mob/living/silicon/robot/gripper.html | 27 + .../simple_animal/hostile/syndicate.html | 27 + code/modules/multiz/structures.html | 28 + code/modules/multiz/ztravel/climb.html | 27 + code/modules/nano/nanoui.html | 27 + code/modules/organs/body_modifications.html | 28 + code/modules/organs/external/_external.html | 32 + .../organs/external/subtypes/standard.html | 27 + .../organs/internal/internal_wounds/eyes.html | 27 + code/modules/organs/organ_description.html | 28 + code/modules/organs/wound.html | 31 + code/modules/overmap/events/movable.html | 27 + .../modules/overmap/exoplanets/exoplanet.html | 27 + code/modules/paperwork/photography.html | 31 + .../paperwork/silicon_photography.html | 27 + code/modules/power/singularity/generator.html | 27 + .../modules/projectiles/ammunition/boxes.html | 32 + .../projectiles/ammunition/bullets.html | 35 + .../projectiles/ammunition/magazines.html | 47 + .../projectiles/guns/energy/charge.html | 28 + .../guns/projectile/battle_rifle/boltgun.html | 27 + .../modules/projectiles/projectile/beams.html | 27 + code/modules/reagents/bonsai.html | 27 + .../reagents/reagent_containers/dropper.html | 27 + .../reagents/reagent_containers/food.html | 27 + .../reagent_containers/food/condiment.html | 27 + .../reagent_containers/food/drinks.html | 30 + .../food/drinks/bottle.html | 29 + .../reagent_containers/food/snacks.html | 29 + .../reagents/reagent_containers/glass.html | 27 + .../reagent_containers/glass/beaker.html | 31 + .../reagent_containers/hypospray.html | 27 + .../reagents/reagent_containers/pill.html | 28 + .../reagents/reagent_containers/syringes.html | 34 + .../reagents/reagents/food-Drinks.html | 27 + code/modules/reagents/reagents/medicine.html | 27 + code/modules/reagents/reagents/toxins.html | 27 + code/modules/recycling/disposal.html | 28 + code/modules/research/designs.html | 27 + code/modules/research/research.html | 27 + .../modules/sanity/inspiration_component.html | 32 + code/modules/shieldgen/sheldwallgen.html | 28 + .../docs/Structure.html | 45 + code/modules/telesci/telepads.html | 27 + code/modules/tgui/external.html | 31 + code/modules/tgui/states.html | 30 + code/modules/tgui/states/always.html | 28 + code/modules/tgui/states/hands.html | 28 + code/modules/tgui/states/notcontained.html | 28 + code/modules/tgui/status_composers.html | 56 + code/modules/tgui/tgui.html | 29 + code/modules/tgui/tgui_window.html | 28 + code/modules/unit_tests.html | 71 + code/modules/unit_tests/_unit_tests.html | 101 ++ code/modules/unit_tests/map_tests.html | 27 + code/modules/unit_tests/mob_tests.html | 27 + code/modules/unit_tests/screenshot_basic.html | 28 + code/modules/unit_tests/screenshots.html | 39 + code/modules/unit_tests/step_override.html | 27 + .../unit_tests/tgui_create_message.html | 27 + code/modules/unit_tests/uniqueness.html | 28 + datum.html | 415 ++++++ datum/admins.html | 42 + datum/ai_laws.html | 64 + datum/asset.html | 35 + datum/asset/simple.html | 56 + datum/asset/simple/namespaced.html | 51 + datum/asset/spritesheet.html | 59 + datum/asset_cache_item.html | 65 + datum/asset_transport.html | 109 ++ datum/backpack_tweak.html | 35 + datum/body_modification/organ.html | 35 + datum/callback.html | 117 ++ datum/callback/verb_callback.html | 36 + datum/category_item/player_setup_item.html | 36 + datum/client_interface.html | 57 + datum/component.html | 190 +++ datum/component/inspiration.html | 62 + .../organic/eyes_poisoning.html | 35 + .../internal_wound/organic/poisoning.html | 35 + datum/component/jamming.html | 35 + .../file/embedded_program/docking/simple.html | 35 + datum/controller/global_vars.html | 103 ++ datum/controller/master.html | 136 ++ datum/controller/subsystem.html | 282 ++++ datum/controller/subsystem/air.html | 49 + datum/controller/subsystem/atoms.html | 43 + datum/controller/subsystem/holomaps.html | 35 + datum/controller/subsystem/job.html | 101 ++ datum/controller/subsystem/migration.html | 42 + datum/controller/subsystem/processing.html | 43 + .../controller/subsystem/processing/dcs.html | 41 + .../controller/subsystem/processing/nano.html | 138 ++ datum/controller/subsystem/spawn_data.html | 52 + datum/controller/subsystem/tgui.html | 202 +++ datum/controller/subsystem/ticker.html | 36 + datum/controller/subsystem/tickets.html | 94 ++ datum/controller/subsystem/timer.html | 141 ++ datum/controller/subsystem/verb_manager.html | 114 ++ datum/craft_step.html | 36 + datum/design/research.html | 30 + datum/effect/effect/system/trail.html | 31 + datum/element.html | 63 + datum/event/camera_damage.html | 35 + datum/feed_message.html | 71 + datum/firemode/charge.html | 34 + datum/http_request.html | 36 + datum/job/cargo_tech.html | 38 + datum/job/merchant.html | 38 + datum/job/rd.html | 36 + datum/map_template.html | 43 + datum/metabolism_effects.html | 36 + datum/movement_handler/mob/exosuit.html | 35 + datum/nanoui.html | 318 +++++ .../machinery/biogen_console.html | 36 + .../machinery/bioreactor_metrics.html | 36 + datum/perk.html | 61 + datum/powernet.html | 42 + datum/reagent/alcohol/roachbeer.html | 35 + datum/reagents.html | 42 + datum/research.html | 37 + .../machines/bioreactor/chamber_doors.html | 30 + .../machines/bioreactor/solution.html | 30 + datum/shuttle/autodock/ferry/specops.html | 35 + datum/sortInstance.html | 45 + datum/stack_canary.html | 35 + datum/stack_end_detector.html | 47 + datum/stash.html | 42 + datum/stat_holder.html | 42 + datum/storyteller.html | 77 ++ datum/tgui.html | 272 ++++ datum/tgui_window.html | 184 +++ datum/ticket.html | 134 ++ datum/timedevent.html | 156 +++ datum/trade_station/boozefood.html | 36 + datum/ui_state.html | 40 + datum/unit_test.html | 59 + datum/unit_test/binary_insert.html | 35 + datum/uplink_item/item.html | 35 + datum/uplink_item/item/neotheology.html | 35 + datum/vertical_travel_method.html | 49 + datum/vertical_travel_method/climb.html | 29 + datum/weakref.html | 67 + datum/wound/bruise.html | 35 + datum/wound/cut.html | 35 + datum/wound/puncture.html | 35 + dmdoc.css | 112 ++ dmdoc.js | 58 + dmm_suite.html | 68 + explosion_handler.html | 43 + git.png | Bin 0 -> 2383 bytes global.html | 678 ++++++++++ index.html | 1148 +++++++++++++++++ interface/fonts/license.html | 40 + material.html | 36 + mob.html | 189 +++ mob/living.html | 56 + mob/living/carbon.html | 35 + mob/living/carbon/human.html | 65 + mob/living/carbon/slime.html | 36 + mob/living/carbon/superior_animal.html | 35 + mob/living/exosuit.html | 97 ++ mob/living/silicon.html | 37 + mob/living/silicon/robot.html | 45 + mob/living/simple_animal/borer.html | 35 + mob/observer/ghost.html | 42 + obj.html | 35 + obj/effect/blob.html | 56 + obj/effect/decal/cleanable/blood/tracks.html | 39 + obj/effect/mob_spawn.html | 36 + obj/effect/plant.html | 42 + obj/effect/plant/hivemind.html | 37 + obj/effect/portal.html | 35 + obj/effect/trail_particle.html | 31 + obj/item.html | 63 + obj/item/ammo_casing.html | 35 + obj/item/beartrap.html | 49 + obj/item/clothing.html | 37 + .../clothing/glasses/attachable_lenses.html | 36 + .../assembly/signaler/door_controller.html | 42 + obj/item/device/t_scanner.html | 49 + obj/item/device/techno_tribalism.html | 36 + obj/item/electronics/ai_module/safeguard.html | 29 + obj/item/electronics/airlock.html | 36 + .../circuitboard/air_management.html | 42 + obj/item/gun.html | 35 + obj/item/gun/energy.html | 35 + obj/item/holder.html | 42 + obj/item/implant/excelsior.html | 35 + obj/item/mech_component.html | 43 + obj/item/mech_component/chassis.html | 64 + obj/item/mech_component/manipulators.html | 36 + .../mech_equipment/forklifting_system.html | 39 + .../mounted_system/ballistic.html | 35 + obj/item/mech_equipment/power_generator.html | 36 + .../power_generator/fueled.html | 48 + .../power_generator/fueled/welding.html | 50 + obj/item/mech_equipment/shield_generator.html | 58 + .../shield_generator/ballistic.html | 53 + obj/item/mech_equipment/thrusters.html | 36 + obj/item/mech_equipment/towing_hook.html | 42 + obj/item/organ/external.html | 63 + obj/item/organ/internal/bone.html | 35 + obj/item/organ/internal/vital/brain.html | 35 + obj/item/pipe.html | 63 + obj/item/projectile/beam/cutter.html | 36 + obj/item/rcd/mounted.html | 37 + obj/item/reagent_containers/bonsai.html | 35 + obj/item/reagent_containers/food.html | 29 + obj/item/reagent_containers/food/snacks.html | 35 + .../food/snacks/aesirsalad.html | 29 + obj/item/rig_module/modular_injector.html | 36 + obj/item/rig_module/storage.html | 49 + obj/item/rpd.html | 35 + obj/item/spacecash/bundle.html | 35 + obj/item/tank/jetpack.html | 63 + obj/item/tool.html | 49 + obj/item/tray.html | 40 + obj/machinery.html | 96 ++ .../atmospherics/unary/cryo_cell.html | 43 + obj/machinery/autolathe/excelsior.html | 49 + obj/machinery/autolathe/nanoforge.html | 35 + obj/machinery/button/remote/blast_door.html | 35 + obj/machinery/cash_register.html | 35 + obj/machinery/complant_teleporter.html | 50 + obj/machinery/cryopod.html | 48 + obj/machinery/door/blast.html | 35 + .../radio/docking_port_multi.html | 60 + obj/machinery/hivemind_machine.html | 39 + obj/machinery/hivemind_machine/node.html | 30 + obj/machinery/microwave.html | 56 + obj/machinery/newscaster.html | 35 + obj/machinery/pipedispenser.html | 37 + obj/machinery/pipedispenser/disposal.html | 37 + obj/machinery/power/apc.html | 36 + obj/machinery/power/smes/batteryrack.html | 35 + obj/machinery/repair_station.html | 36 + obj/machinery/smartfridge.html | 42 + obj/machinery/smartfridge/secure.html | 35 + obj/machinery/telecomms/broadcaster.html | 35 + obj/machinery/vending.html | 98 ++ obj/machinery/vending/boozeomat.html | 36 + obj/machinery/vending/hydroseeds.html | 37 + obj/map_data.html | 36 + obj/procedural/jp_DungeonGenerator.html | 56 + obj/structure.html | 40 + obj/structure/burrow.html | 71 + obj/structure/closet.html | 35 + obj/structure/closet/crate/miningcar.html | 29 + obj/structure/disposalconstruct.html | 50 + obj/structure/disposalpipe.html | 37 + obj/structure/forklift_platform.html | 35 + obj/structure/lattice.html | 37 + procpath.html | 73 ++ turf.html | 44 + turf/simulated/wall.html | 35 + world.html | 76 ++ 436 files changed, 21635 insertions(+) create mode 100644 .nojekyll create mode 100644 CNAME create mode 100644 area.html create mode 100644 atom.html create mode 100644 atom/movable.html create mode 100644 client.html create mode 100644 code/New_Hud_Manual_en.html create mode 100644 code/New_Hud_Manual_ru.html create mode 100644 code/__DEFINES/MC.html create mode 100644 code/__DEFINES/_globals.html create mode 100644 code/__DEFINES/admin.html create mode 100644 code/__DEFINES/callbacks.html create mode 100644 code/__DEFINES/construction.html create mode 100644 code/__DEFINES/cooldowns.html create mode 100644 code/__DEFINES/dcs/flags.html create mode 100644 code/__DEFINES/dcs/helpers.html create mode 100644 code/__DEFINES/dcs/signals.html create mode 100644 code/__DEFINES/gamemode.html create mode 100644 code/__DEFINES/inventory_sizes.html create mode 100644 code/__DEFINES/is_helpers.html create mode 100644 code/__DEFINES/misc.html create mode 100644 code/__DEFINES/mob_stats.html create mode 100644 code/__DEFINES/perf_test.html create mode 100644 code/__DEFINES/qdel.html create mode 100644 code/__DEFINES/rust_g.html create mode 100644 code/__DEFINES/spawner/_spawner.html create mode 100644 code/__DEFINES/subsystems.html create mode 100644 code/__DEFINES/tgui.html create mode 100644 code/__DEFINES/tick.html create mode 100644 code/__DEFINES/verb_manager.html create mode 100644 code/__HELPERS/_lists.html create mode 100644 code/__HELPERS/_logging.html create mode 100644 code/__HELPERS/files.html create mode 100644 code/__HELPERS/game.html create mode 100644 code/__HELPERS/global_lists.html create mode 100644 code/__HELPERS/icons.html create mode 100644 code/__HELPERS/mobs.html create mode 100644 code/__HELPERS/text.html create mode 100644 code/__HELPERS/type2type.html create mode 100644 code/__HELPERS/unsorted.html create mode 100644 code/__HELPERS/verbs.html create mode 100644 code/_compile_options.html create mode 100644 code/client_macros.html create mode 100644 code/controllers/failsafe.html create mode 100644 code/controllers/hooks-defs.html create mode 100644 code/controllers/hooks.html create mode 100644 code/controllers/master.html create mode 100644 code/controllers/subsystem.html create mode 100644 code/controllers/subsystems/chunks.html create mode 100644 code/controllers/subsystems/garbage.html create mode 100644 code/controllers/subsystems/jobs.html create mode 100644 code/controllers/subsystems/migration.html create mode 100644 code/controllers/subsystems/tgui.html create mode 100644 code/controllers/subsystems/throwing.html create mode 100644 code/controllers/subsystems/timer.html create mode 100644 code/controllers/subsystems/verb_manager.html create mode 100644 code/controllers/subsystems/voting/poll_types.html create mode 100644 code/datums/ai_law_sets.html create mode 100644 code/datums/callback.html create mode 100644 code/datums/category.html create mode 100644 code/datums/components/_component.html create mode 100644 code/datums/components/overlay_manager.html create mode 100644 code/datums/craft/recipes/furniture.html create mode 100644 code/datums/craft/recipes/tools.html create mode 100644 code/datums/datum.html create mode 100644 code/datums/datum_click_handlers.html create mode 100644 code/datums/elements/_element.html create mode 100644 code/datums/helper_datums/stack_end_detector.html create mode 100644 code/datums/mocking/client.html create mode 100644 code/datums/movement/movement.html create mode 100644 code/datums/movement/robot.html create mode 100644 code/datums/outfits/equipment/backpacks.html create mode 100644 code/datums/outfits/jobs/job.html create mode 100644 code/datums/perks/job.html create mode 100644 code/datums/perks/oddity.html create mode 100644 code/datums/perks/perk.html create mode 100644 code/datums/topic/world.html create mode 100644 code/datums/underwear/underwear.html create mode 100644 code/datums/uplink/ammunition.html create mode 100644 code/datums/uplink/announcements.html create mode 100644 code/datums/uplink/badassery.html create mode 100644 code/datums/uplink/devices and tools.html create mode 100644 code/datums/uplink/grenades.html create mode 100644 code/datums/uplink/hardsuit_modules.html create mode 100644 code/datums/uplink/highly visible and dangerous weapons.html create mode 100644 code/datums/uplink/implants.html create mode 100644 code/datums/uplink/medical.html create mode 100644 code/datums/uplink/stealth and camouflage items.html create mode 100644 code/datums/uplink/stealthy and inconspicuous weapons.html create mode 100644 code/datums/uplink/telecrystals.html create mode 100644 code/datums/uplink/uplink_items.html create mode 100644 code/datums/verb_callbacks.html create mode 100644 code/datums/weakref.html create mode 100644 code/game/atoms_movable.html create mode 100644 code/game/gamemodes/endgame/endgame.html create mode 100644 code/game/gamemodes/events/meteors.html create mode 100644 code/game/gamemodes/events/weather.html create mode 100644 code/game/gamemodes/storyteller.html create mode 100644 code/game/jobs/access_datum.html create mode 100644 code/game/jobs/department.html create mode 100644 code/game/jobs/job/guild.html create mode 100644 code/game/machinery/autodoc_excelsior.html create mode 100644 code/game/machinery/embedded_controller/airlock_docking_controller_multi.html create mode 100644 code/game/machinery/embedded_controller/airlock_program.html create mode 100644 code/game/machinery/excelsior/autolathe.html create mode 100644 code/game/machinery/holosign.html create mode 100644 code/game/machinery/kitchen/smartfridge.html create mode 100644 code/game/machinery/machinery.html create mode 100644 code/game/machinery/pipe/construction.html create mode 100644 code/game/machinery/pipe/pipe_dispenser.html create mode 100644 code/game/machinery/requests_console.html create mode 100644 code/game/machinery/telecomms/broadcaster.html create mode 100644 code/game/machinery/vending.html create mode 100644 code/game/objects/effects/effect_system.html create mode 100644 code/game/objects/effects/spawners/corpsespawner.html create mode 100644 code/game/objects/effects/trails.html create mode 100644 code/game/objects/items/devices/binoculars.html create mode 100644 code/game/objects/items/devices/debugger.html create mode 100644 code/game/objects/items/devices/radio/radio.html create mode 100644 code/game/objects/items/robot/robot_items.html create mode 100644 code/game/objects/items/weapons/AI_modules.html create mode 100644 code/game/objects/items/weapons/manuals.html create mode 100644 code/game/objects/items/weapons/mop.html create mode 100644 code/game/objects/items/weapons/storage/hardcases.html create mode 100644 code/game/objects/items/weapons/stunbaton.html create mode 100644 code/game/objects/items/weapons/tanks/jetpack.html create mode 100644 code/game/objects/items/weapons/teleportation.html create mode 100644 code/game/objects/items/weapons/tools/mods/mod_types.html create mode 100644 code/game/objects/items/weapons/tools/multitool.html create mode 100644 code/game/objects/items/weapons/traps.html create mode 100644 code/game/objects/random/encouters.html create mode 100644 code/game/objects/random/exosuit.html create mode 100644 code/game/objects/structures/crates_lockers/closets/onestar.html create mode 100644 code/game/objects/structures/kitchen_spike.html create mode 100644 code/game/objects/structures/salvageable.html create mode 100644 code/hub.html create mode 100644 code/modules/aberrants/organs/design_disks/disks.html create mode 100644 code/modules/admin/NewBan.html create mode 100644 code/modules/admin/admin.html create mode 100644 code/modules/admin/admin_secrets.html create mode 100644 code/modules/admin/bluespacetech.html create mode 100644 code/modules/admin/secrets/random_events/gravity.html create mode 100644 code/modules/assembly/infrared.html create mode 100644 code/modules/asset_cache.html create mode 100644 code/modules/asset_cache/asset_cache_item.html create mode 100644 code/modules/asset_cache/asset_list.html create mode 100644 code/modules/asset_cache/transports/asset_transport.html create mode 100644 code/modules/client/preference_setup/global/preferences.html create mode 100644 code/modules/client/preference_setup/options_popup.html create mode 100644 code/modules/client/preference_setup/preference_setup.html create mode 100644 code/modules/client/preferences_spawnpoints.html create mode 100644 code/modules/clothing/masks/balaclava.html create mode 100644 code/modules/clothing/spacesuits/rig/suits/station.html create mode 100644 code/modules/clothing/spacesuits/syndi.html create mode 100644 code/modules/cooking_with_jane/porting_readme.html create mode 100644 code/modules/core_implant/cruciform/machinery/armaments.html create mode 100644 code/modules/core_implant/cruciform/machinery/cloning.html create mode 100644 code/modules/core_implant/cruciform/rituals/machinery.html create mode 100644 code/modules/core_implant/cruciform/rituals/priest.html create mode 100644 code/modules/dungeons/crawler/dungeon_gen.html create mode 100644 code/modules/economy/Accounts.html create mode 100644 code/modules/ghosttrap/trap.html create mode 100644 code/modules/hivemind/machines.html create mode 100644 code/modules/hivemind/mobs.html create mode 100644 code/modules/mechs/_mech_defines.html create mode 100644 code/modules/mechs/equipment/combat.html create mode 100644 code/modules/mechs/equipment/utility.html create mode 100644 code/modules/mechs/mech_movement.html create mode 100644 code/modules/media/mediamanager.html create mode 100644 code/modules/mining/coins.html create mode 100644 code/modules/mining/machine_processing.html create mode 100644 code/modules/mining/machine_stacking.html create mode 100644 code/modules/mining/machine_unloading.html create mode 100644 code/modules/mining/mine_items.html create mode 100644 code/modules/mining/mine_turfs.html create mode 100644 code/modules/mining/money_bag.html create mode 100644 code/modules/mining/satchel_ore_boxdm.html create mode 100644 code/modules/mob/animations.html create mode 100644 code/modules/mob/living/carbon/slime/items.html create mode 100644 code/modules/mob/living/silicon/robot/gripper.html create mode 100644 code/modules/mob/living/simple_animal/hostile/syndicate.html create mode 100644 code/modules/multiz/structures.html create mode 100644 code/modules/multiz/ztravel/climb.html create mode 100644 code/modules/nano/nanoui.html create mode 100644 code/modules/organs/body_modifications.html create mode 100644 code/modules/organs/external/_external.html create mode 100644 code/modules/organs/external/subtypes/standard.html create mode 100644 code/modules/organs/internal/internal_wounds/eyes.html create mode 100644 code/modules/organs/organ_description.html create mode 100644 code/modules/organs/wound.html create mode 100644 code/modules/overmap/events/movable.html create mode 100644 code/modules/overmap/exoplanets/exoplanet.html create mode 100644 code/modules/paperwork/photography.html create mode 100644 code/modules/paperwork/silicon_photography.html create mode 100644 code/modules/power/singularity/generator.html create mode 100644 code/modules/projectiles/ammunition/boxes.html create mode 100644 code/modules/projectiles/ammunition/bullets.html create mode 100644 code/modules/projectiles/ammunition/magazines.html create mode 100644 code/modules/projectiles/guns/energy/charge.html create mode 100644 code/modules/projectiles/guns/projectile/battle_rifle/boltgun.html create mode 100644 code/modules/projectiles/projectile/beams.html create mode 100644 code/modules/reagents/bonsai.html create mode 100644 code/modules/reagents/reagent_containers/dropper.html create mode 100644 code/modules/reagents/reagent_containers/food.html create mode 100644 code/modules/reagents/reagent_containers/food/condiment.html create mode 100644 code/modules/reagents/reagent_containers/food/drinks.html create mode 100644 code/modules/reagents/reagent_containers/food/drinks/bottle.html create mode 100644 code/modules/reagents/reagent_containers/food/snacks.html create mode 100644 code/modules/reagents/reagent_containers/glass.html create mode 100644 code/modules/reagents/reagent_containers/glass/beaker.html create mode 100644 code/modules/reagents/reagent_containers/hypospray.html create mode 100644 code/modules/reagents/reagent_containers/pill.html create mode 100644 code/modules/reagents/reagent_containers/syringes.html create mode 100644 code/modules/reagents/reagents/food-Drinks.html create mode 100644 code/modules/reagents/reagents/medicine.html create mode 100644 code/modules/reagents/reagents/toxins.html create mode 100644 code/modules/recycling/disposal.html create mode 100644 code/modules/research/designs.html create mode 100644 code/modules/research/research.html create mode 100644 code/modules/sanity/inspiration_component.html create mode 100644 code/modules/shieldgen/sheldwallgen.html create mode 100644 code/modules/synthesized_instruments/docs/Structure.html create mode 100644 code/modules/telesci/telepads.html create mode 100644 code/modules/tgui/external.html create mode 100644 code/modules/tgui/states.html create mode 100644 code/modules/tgui/states/always.html create mode 100644 code/modules/tgui/states/hands.html create mode 100644 code/modules/tgui/states/notcontained.html create mode 100644 code/modules/tgui/status_composers.html create mode 100644 code/modules/tgui/tgui.html create mode 100644 code/modules/tgui/tgui_window.html create mode 100644 code/modules/unit_tests.html create mode 100644 code/modules/unit_tests/_unit_tests.html create mode 100644 code/modules/unit_tests/map_tests.html create mode 100644 code/modules/unit_tests/mob_tests.html create mode 100644 code/modules/unit_tests/screenshot_basic.html create mode 100644 code/modules/unit_tests/screenshots.html create mode 100644 code/modules/unit_tests/step_override.html create mode 100644 code/modules/unit_tests/tgui_create_message.html create mode 100644 code/modules/unit_tests/uniqueness.html create mode 100644 datum.html create mode 100644 datum/admins.html create mode 100644 datum/ai_laws.html create mode 100644 datum/asset.html create mode 100644 datum/asset/simple.html create mode 100644 datum/asset/simple/namespaced.html create mode 100644 datum/asset/spritesheet.html create mode 100644 datum/asset_cache_item.html create mode 100644 datum/asset_transport.html create mode 100644 datum/backpack_tweak.html create mode 100644 datum/body_modification/organ.html create mode 100644 datum/callback.html create mode 100644 datum/callback/verb_callback.html create mode 100644 datum/category_item/player_setup_item.html create mode 100644 datum/client_interface.html create mode 100644 datum/component.html create mode 100644 datum/component/inspiration.html create mode 100644 datum/component/internal_wound/organic/eyes_poisoning.html create mode 100644 datum/component/internal_wound/organic/poisoning.html create mode 100644 datum/component/jamming.html create mode 100644 datum/computer/file/embedded_program/docking/simple.html create mode 100644 datum/controller/global_vars.html create mode 100644 datum/controller/master.html create mode 100644 datum/controller/subsystem.html create mode 100644 datum/controller/subsystem/air.html create mode 100644 datum/controller/subsystem/atoms.html create mode 100644 datum/controller/subsystem/holomaps.html create mode 100644 datum/controller/subsystem/job.html create mode 100644 datum/controller/subsystem/migration.html create mode 100644 datum/controller/subsystem/processing.html create mode 100644 datum/controller/subsystem/processing/dcs.html create mode 100644 datum/controller/subsystem/processing/nano.html create mode 100644 datum/controller/subsystem/spawn_data.html create mode 100644 datum/controller/subsystem/tgui.html create mode 100644 datum/controller/subsystem/ticker.html create mode 100644 datum/controller/subsystem/tickets.html create mode 100644 datum/controller/subsystem/timer.html create mode 100644 datum/controller/subsystem/verb_manager.html create mode 100644 datum/craft_step.html create mode 100644 datum/design/research.html create mode 100644 datum/effect/effect/system/trail.html create mode 100644 datum/element.html create mode 100644 datum/event/camera_damage.html create mode 100644 datum/feed_message.html create mode 100644 datum/firemode/charge.html create mode 100644 datum/http_request.html create mode 100644 datum/job/cargo_tech.html create mode 100644 datum/job/merchant.html create mode 100644 datum/job/rd.html create mode 100644 datum/map_template.html create mode 100644 datum/metabolism_effects.html create mode 100644 datum/movement_handler/mob/exosuit.html create mode 100644 datum/nanoui.html create mode 100644 datum/nt_blueprint/machinery/biogen_console.html create mode 100644 datum/nt_blueprint/machinery/bioreactor_metrics.html create mode 100644 datum/perk.html create mode 100644 datum/powernet.html create mode 100644 datum/reagent/alcohol/roachbeer.html create mode 100644 datum/reagents.html create mode 100644 datum/research.html create mode 100644 datum/ritual/cruciform/machines/bioreactor/chamber_doors.html create mode 100644 datum/ritual/cruciform/machines/bioreactor/solution.html create mode 100644 datum/shuttle/autodock/ferry/specops.html create mode 100644 datum/sortInstance.html create mode 100644 datum/stack_canary.html create mode 100644 datum/stack_end_detector.html create mode 100644 datum/stash.html create mode 100644 datum/stat_holder.html create mode 100644 datum/storyteller.html create mode 100644 datum/tgui.html create mode 100644 datum/tgui_window.html create mode 100644 datum/ticket.html create mode 100644 datum/timedevent.html create mode 100644 datum/trade_station/boozefood.html create mode 100644 datum/ui_state.html create mode 100644 datum/unit_test.html create mode 100644 datum/unit_test/binary_insert.html create mode 100644 datum/uplink_item/item.html create mode 100644 datum/uplink_item/item/neotheology.html create mode 100644 datum/vertical_travel_method.html create mode 100644 datum/vertical_travel_method/climb.html create mode 100644 datum/weakref.html create mode 100644 datum/wound/bruise.html create mode 100644 datum/wound/cut.html create mode 100644 datum/wound/puncture.html create mode 100644 dmdoc.css create mode 100644 dmdoc.js create mode 100644 dmm_suite.html create mode 100644 explosion_handler.html create mode 100644 git.png create mode 100644 global.html create mode 100644 index.html create mode 100644 interface/fonts/license.html create mode 100644 material.html create mode 100644 mob.html create mode 100644 mob/living.html create mode 100644 mob/living/carbon.html create mode 100644 mob/living/carbon/human.html create mode 100644 mob/living/carbon/slime.html create mode 100644 mob/living/carbon/superior_animal.html create mode 100644 mob/living/exosuit.html create mode 100644 mob/living/silicon.html create mode 100644 mob/living/silicon/robot.html create mode 100644 mob/living/simple_animal/borer.html create mode 100644 mob/observer/ghost.html create mode 100644 obj.html create mode 100644 obj/effect/blob.html create mode 100644 obj/effect/decal/cleanable/blood/tracks.html create mode 100644 obj/effect/mob_spawn.html create mode 100644 obj/effect/plant.html create mode 100644 obj/effect/plant/hivemind.html create mode 100644 obj/effect/portal.html create mode 100644 obj/effect/trail_particle.html create mode 100644 obj/item.html create mode 100644 obj/item/ammo_casing.html create mode 100644 obj/item/beartrap.html create mode 100644 obj/item/clothing.html create mode 100644 obj/item/clothing/glasses/attachable_lenses.html create mode 100644 obj/item/device/assembly/signaler/door_controller.html create mode 100644 obj/item/device/t_scanner.html create mode 100644 obj/item/device/techno_tribalism.html create mode 100644 obj/item/electronics/ai_module/safeguard.html create mode 100644 obj/item/electronics/airlock.html create mode 100644 obj/item/electronics/circuitboard/air_management.html create mode 100644 obj/item/gun.html create mode 100644 obj/item/gun/energy.html create mode 100644 obj/item/holder.html create mode 100644 obj/item/implant/excelsior.html create mode 100644 obj/item/mech_component.html create mode 100644 obj/item/mech_component/chassis.html create mode 100644 obj/item/mech_component/manipulators.html create mode 100644 obj/item/mech_equipment/forklifting_system.html create mode 100644 obj/item/mech_equipment/mounted_system/ballistic.html create mode 100644 obj/item/mech_equipment/power_generator.html create mode 100644 obj/item/mech_equipment/power_generator/fueled.html create mode 100644 obj/item/mech_equipment/power_generator/fueled/welding.html create mode 100644 obj/item/mech_equipment/shield_generator.html create mode 100644 obj/item/mech_equipment/shield_generator/ballistic.html create mode 100644 obj/item/mech_equipment/thrusters.html create mode 100644 obj/item/mech_equipment/towing_hook.html create mode 100644 obj/item/organ/external.html create mode 100644 obj/item/organ/internal/bone.html create mode 100644 obj/item/organ/internal/vital/brain.html create mode 100644 obj/item/pipe.html create mode 100644 obj/item/projectile/beam/cutter.html create mode 100644 obj/item/rcd/mounted.html create mode 100644 obj/item/reagent_containers/bonsai.html create mode 100644 obj/item/reagent_containers/food.html create mode 100644 obj/item/reagent_containers/food/snacks.html create mode 100644 obj/item/reagent_containers/food/snacks/aesirsalad.html create mode 100644 obj/item/rig_module/modular_injector.html create mode 100644 obj/item/rig_module/storage.html create mode 100644 obj/item/rpd.html create mode 100644 obj/item/spacecash/bundle.html create mode 100644 obj/item/tank/jetpack.html create mode 100644 obj/item/tool.html create mode 100644 obj/item/tray.html create mode 100644 obj/machinery.html create mode 100644 obj/machinery/atmospherics/unary/cryo_cell.html create mode 100644 obj/machinery/autolathe/excelsior.html create mode 100644 obj/machinery/autolathe/nanoforge.html create mode 100644 obj/machinery/button/remote/blast_door.html create mode 100644 obj/machinery/cash_register.html create mode 100644 obj/machinery/complant_teleporter.html create mode 100644 obj/machinery/cryopod.html create mode 100644 obj/machinery/door/blast.html create mode 100644 obj/machinery/embedded_controller/radio/docking_port_multi.html create mode 100644 obj/machinery/hivemind_machine.html create mode 100644 obj/machinery/hivemind_machine/node.html create mode 100644 obj/machinery/microwave.html create mode 100644 obj/machinery/newscaster.html create mode 100644 obj/machinery/pipedispenser.html create mode 100644 obj/machinery/pipedispenser/disposal.html create mode 100644 obj/machinery/power/apc.html create mode 100644 obj/machinery/power/smes/batteryrack.html create mode 100644 obj/machinery/repair_station.html create mode 100644 obj/machinery/smartfridge.html create mode 100644 obj/machinery/smartfridge/secure.html create mode 100644 obj/machinery/telecomms/broadcaster.html create mode 100644 obj/machinery/vending.html create mode 100644 obj/machinery/vending/boozeomat.html create mode 100644 obj/machinery/vending/hydroseeds.html create mode 100644 obj/map_data.html create mode 100644 obj/procedural/jp_DungeonGenerator.html create mode 100644 obj/structure.html create mode 100644 obj/structure/burrow.html create mode 100644 obj/structure/closet.html create mode 100644 obj/structure/closet/crate/miningcar.html create mode 100644 obj/structure/disposalconstruct.html create mode 100644 obj/structure/disposalpipe.html create mode 100644 obj/structure/forklift_platform.html create mode 100644 obj/structure/lattice.html create mode 100644 procpath.html create mode 100644 turf.html create mode 100644 turf/simulated/wall.html create mode 100644 world.html diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 00000000000..e69de29bb2d diff --git a/CNAME b/CNAME new file mode 100644 index 00000000000..751fd545b36 --- /dev/null +++ b/CNAME @@ -0,0 +1 @@ +codedocs.cev-eris.net diff --git a/area.html b/area.html new file mode 100644 index 00000000000..f2121d5c308 --- /dev/null +++ b/area.html @@ -0,0 +1,44 @@ + + + + + + + /area - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

area + + + +

+ + + +

Procs

LateInitializeSets machine power levels in the area
poweredweather +/////weather

Proc Details

LateInitialize +

+

Sets machine power levels in the area

powered +

+

weather +/////weather

+ + + diff --git a/atom.html b/atom.html new file mode 100644 index 00000000000..c7f5b1b568b --- /dev/null +++ b/atom.html @@ -0,0 +1,139 @@ + + + + + + + /atom - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Var Details - Proc Details
+
+

atom + + + +

+ + + + + + + + + + + + + + + +

Vars

atom_coloursused to store the different colors on an atom
reagent_flagsChemistry.

Procs

GenerateTagGenerate a tag for this atom
LateInitializeLate Intialization, for code that should run after all atoms have run Intialization
NewCalled when an atom is created in byond (built in engine proc)
SetNameName Set Handling
add_atom_colourAdds an instance of colour_type to the atom's atom_colours list
get_alarm_zAssisting procs
set_densityDensity Handling
set_dirDirection Handling
set_invisibilityInvisibility Set Handling
set_opacityOpacity Handling
singuloCanEatNar-Sie Act/Pull
update_atom_colourResets the atom's color to null, and then sets it to the highest priority colour available
+

Var Details

atom_colours + + + + +

+

used to store the different colors on an atom

+

its inherent color, the colored paint applied on it, special color effect etc...

reagent_flags + + + + +

+

Chemistry.

Proc Details

GenerateTag +

+

Generate a tag for this atom

LateInitialize +

+

Late Intialization, for code that should run after all atoms have run Intialization

+

To have your LateIntialize proc be called, your atoms [Initalization][/atom/proc/Initialize] +proc must return the hint +INITIALIZE_HINT_LATELOAD otherwise you will never be called.

+

useful for doing things like finding other machines on GLOB.machines because you can guarantee +that all atoms will actually exist in the "WORLD" at this time and that all their Intialization +code has been run

New +

+

Called when an atom is created in byond (built in engine proc)

+

Not a lot happens here in SS13 code, as we offload most of the work to the +[Intialization][/atom/proc/Initialize] proc, mostly we run the preloader +if the preloader is being used and then call InitAtom of which the ultimate +result is that the Intialize proc is called.

+

We also generate a tag here if the DF_USE_TAG flag is set on the atom

SetName +

+

Name Set Handling

add_atom_colour +

+

Adds an instance of colour_type to the atom's atom_colours list

get_alarm_z +

+

Assisting procs

set_density +

+

Density Handling

set_dir +

+

Direction Handling

set_invisibility +

+

Invisibility Set Handling

set_opacity +

+

Opacity Handling

singuloCanEat +

+

Nar-Sie Act/Pull

update_atom_colour +

+

Resets the atom's color to null, and then sets it to the highest priority colour available

+ + + diff --git a/atom/movable.html b/atom/movable.html new file mode 100644 index 00000000000..bf5137d180a --- /dev/null +++ b/atom/movable.html @@ -0,0 +1,72 @@ + + + + + + + /atom/movable - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Var Details - Proc Details
+
+

movable + + + +

+ + + + + +

Vars

multiz_fallingUsed to check wether or not an atom is being handled by SSfalling.

Procs

can_fallAn overridable proc used by SSfalling to determine whether or not an atom +should continue falling to the next level, or stop processing and be caught +in midair, effectively. One of the ways to make things never fall is to make +this return FALSE.
can_pass_shieldobj/effect/shield/get_explosion_resistance() //Part of recursive explosions, probably unimplemented
set_anchoredSets the anchored var and returns if it was sucessfully changed or not.
+

Var Details

multiz_falling + + + + +

+

Used to check wether or not an atom is being handled by SSfalling.

Proc Details

can_fall +

+

An overridable proc used by SSfalling to determine whether or not an atom +should continue falling to the next level, or stop processing and be caught +in midair, effectively. One of the ways to make things never fall is to make +this return FALSE.

+

If the mob has fallen and is stopped amidst a fall by this, fall_impact is +invoked with the second argument being TRUE. As opposed to the default value, FALSE.

+

@param below The turf that the mob is expected to end up at. +@param dest The tile we're presuming the mob to be at for this check. Default +value is src.loc, (src. is important there!) but this is used for magboot lookahead +checks it turf/simulated/open/Enter().

+

@return TRUE if the atom can continue falling in its present situation. +FALSE if it should stop falling and not invoke fall_through or fall_impact +this cycle.

can_pass_shield +

+

obj/effect/shield/get_explosion_resistance() //Part of recursive explosions, probably unimplemented

set_anchored +

+

Sets the anchored var and returns if it was sucessfully changed or not.

+ + + diff --git a/client.html b/client.html new file mode 100644 index 00000000000..64753e77081 --- /dev/null +++ b/client.html @@ -0,0 +1,250 @@ + + + + + + + /client - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Var Details - Proc Details
+
+

client + + + +

+ +

Client datum

+

A datum that is created whenever a user joins a BYOND world, one will exist for every active connected +player

+

when they first connect, this client object is created and [/client/New] is called

+

When they disconnect, this client object is deleted and [/client/Del] is called

+

All client topic calls go through [/client/Topic] first, so a lot of our specialised +topic handling starts here

+ + + + + + + + + + + + + + + + + + + + + + + + +

Vars

completed_asset_jobsList of all completed blocking send jobs awaiting acknowledgement by send_asset
externalreplyamountInternal counter for clients sending external (IRC/Discord) relay messages via ahelp to prevent spamming. Set to a number every time an admin reply is sent, decremented for every client send.
holderContains admin info. Null if client is not an admin.
last_asset_jobLast asset send job id.
last_messageContains the last message sent by this client - used to protect against copy-paste spamming.
last_message_countcontins a number of how many times a message identical to last_message was sent.
parent_typeThis line makes clients parent type be a datum
script!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +!!!!!!!!!!HEY LISTEN!!!!!!!!!!!!!!!!!!!!!!!! +!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
show_verb_panelDisables default BYOND verb panel in favor of Stat Panel™
tgui_cache_reloadedglobal
tgui_windowsglobal
tooltipsdatum that controls the displaying and hiding of tooltips
total_count_resetNext tick to reset the total message counter
total_message_countHow many messages sent in the last 10 seconds
verb_tabsList of Stat Panel tabs

Procs

Process_GrabProcess_Grab() +Called by client/Move() +Checks to see if you are grabbing anything and if moving will affect your grab.
_Topicdumb workaround because byond doesnt seem to recognize the PROC_REF(Topic) typepath for /datum/proc/Topic() from the client Topic, +so we cant queue it without this
asset_cache_confirm_arrivalProcess asset cache client topic calls for "asset_cache_confirm_arrival=[INT]"
asset_cache_preload_dataProcess asset cache client topic calls for "asset_cache_preload_data=[HTML+JSON_STRING]"
asset_cache_update_jsonUpdates the client side stored json file used to keep track of what assets the client has between restarts/reconnects.
browse_queue_flushBlocks until all currently sending browse and browse_rsc assets have been sent. +Due to byond limitations, this proc will sleep for 1 client round trip even if the client has no pending asset sends. +This proc will return an untrue value if it had to return before confirming the send, such as timeout or the client going away.
init_verbsCompiles a full list of verbs and sends it to the browser
nanocloseCalled when a Nano UI window is closed +This is how Nano handles closed windows +It must be a verb so that it can be called using winset
resetnanoA "panic button" verb to close all UIs on current mob. +Use it when the bug with UI not opening (because the server still considers it open despite it being closed on client) pops up. +Feel free to remove it once the bug is confirmed to be fixed.
uicloseverb
+

Var Details

completed_asset_jobs + + + + +

+

List of all completed blocking send jobs awaiting acknowledgement by send_asset

externalreplyamount + + + + +

+

Internal counter for clients sending external (IRC/Discord) relay messages via ahelp to prevent spamming. Set to a number every time an admin reply is sent, decremented for every client send.

holder + + + + +

+

Contains admin info. Null if client is not an admin.

last_asset_job + + + + +

+

Last asset send job id.

last_message + + + + +

+

Contains the last message sent by this client - used to protect against copy-paste spamming.

last_message_count + + + + +

+

contins a number of how many times a message identical to last_message was sent.

parent_type + + + + +

+

This line makes clients parent type be a datum

+

By default in byond if you define a proc on datums, that proc will exist on nearly every single type +from icons to images to atoms to mobs to objs to turfs to areas, it won't however, appear on client

+

instead by default they act like their own independent type so while you can do isdatum(icon) +and have it return true, you can't do isdatum(client), it will always return false.

+

This makes writing oo code hard, when you have to consider this extra special case

+

This line prevents that, and has never appeared to cause any ill effects, while saving us an extra +pain to think about

+

This line is widely considered black fucking magic, and the fact it works is a puzzle to everyone +involved, including the current engine developer, lummox

+

If you are a future developer and the engine source is now available and you can explain why this +is the way it is, please do update this comment

script + + + + +

+

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +!!!!!!!!!!HEY LISTEN!!!!!!!!!!!!!!!!!!!!!!!! +!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

show_verb_panel + + + + +

+

Disables default BYOND verb panel in favor of Stat Panel™

tgui_cache_reloaded + + + + +

+

global

+

TRUE if cache was reloaded by tgui dev server at least once.

tgui_windows + + + + +

+

global

+

Tracks open windows for a user.

tooltips + + + + +

+

datum that controls the displaying and hiding of tooltips

total_count_reset + + + + +

+

Next tick to reset the total message counter

total_message_count + + + + +

+

How many messages sent in the last 10 seconds

verb_tabs + + + + +

+

List of Stat Panel tabs

Proc Details

Process_Grab +

+

Process_Grab() +Called by client/Move() +Checks to see if you are grabbing anything and if moving will affect your grab.

_Topic +

+

dumb workaround because byond doesnt seem to recognize the PROC_REF(Topic) typepath for /datum/proc/Topic() from the client Topic, +so we cant queue it without this

asset_cache_confirm_arrival +

+

Process asset cache client topic calls for "asset_cache_confirm_arrival=[INT]"

asset_cache_preload_data +

+

Process asset cache client topic calls for "asset_cache_preload_data=[HTML+JSON_STRING]"

asset_cache_update_json +

+

Updates the client side stored json file used to keep track of what assets the client has between restarts/reconnects.

browse_queue_flush +

+

Blocks until all currently sending browse and browse_rsc assets have been sent. +Due to byond limitations, this proc will sleep for 1 client round trip even if the client has no pending asset sends. +This proc will return an untrue value if it had to return before confirming the send, such as timeout or the client going away.

init_verbs +

+

Compiles a full list of verbs and sends it to the browser

nanoclose +

+

Called when a Nano UI window is closed +This is how Nano handles closed windows +It must be a verb so that it can be called using winset

+

@return nothing

resetnano +

+

A "panic button" verb to close all UIs on current mob. +Use it when the bug with UI not opening (because the server still considers it open despite it being closed on client) pops up. +Feel free to remove it once the bug is confirmed to be fixed.

+

@return nothing

uiclose +

+

verb

+

Called by UIs when they are closed. +Must be a verb so winset() can call it.

+

required uiref ref The UI that was closed.

+ + + diff --git a/code/New_Hud_Manual_en.html b/code/New_Hud_Manual_en.html new file mode 100644 index 00000000000..40347b9acf3 --- /dev/null +++ b/code/New_Hud_Manual_en.html @@ -0,0 +1,159 @@ + + + + + + + code/New_Hud_Manual_en.txt - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/New_Hud_Manual_en.txt + +

+ + +
//existing overlays: flash, pain, blind, damageoverlay, blurry, druggy, nvg, thermal, meson, science
+Used global variables:
+GLOB.HUDdatums - here datums with subtype /datum/hud are contained, using association datum's name = datum itself
+
+________________________________________________________________________________________________________________________
+Datum /datum/hud
+This datum contains information about HUD: name, elements etc.
+
+
+name - datum's name
+list/HUDneed - a list of necessary elements (e.g. healthbar). Using this list mob's HUDneed and HUDprocess is filling
+list/slot_data - a list of inventory elements. Using this list mob's HUDinventory is filling
+icon/icon - used dmi file
+HUDfrippery - a list of HUD frippery. Using this list mob's HUDfrippery is filling
+HUDoverlays - a list of "technical" elements. Using this list mob's HUDtech is filling and mob's HUDprocess is complemented
+ConteinerData - information for functions /obj/item/storage/proc/space_orient_objs and /obj/item/storage/proc/slot_orient_objs.
+IconUnderlays - a list of underlays for HUD's elements via "max" version. May be empty.
+MinStyleFlag - a flag, which denotes if a HUD's type has "min" version. Take the values 1 or 0
+
+An example of element in HUDneed list:
+"health"      = list("type" = /obj/screen/health, "loc" = "16,6", "minloc" = "15,7", "background" = "back1"),
+
+Description of the entered data:
+"health" - HUD's name and ID
+"type" - HUD's type, needed in order that system know what to create exactly
+"loc" - position on a screen in a "max" version
+"minloc" - position on a screen in a "min". Optional. used if MinStyleFlag = 1
+"background" - underlay used in the "max" version. Name is taken from IconUnderlays. Optional.
+
+An example of element in HUDoverlays list:
+"damageoverlay" = list("type" = /obj/screen/damageoverlay, "loc" = "1,1", "icon" =  'icons/mob/screen1_full.dmi'),
+
+Description of the entered data:
+"damageoverlay" - HUD's name and ID
+"type" - HUD's type, needed in order that system know what to create exactly
+"loc" - position on a screen
+"icon" - used dmi file, rewrites icon of a datum. Optional.
+
+An example of element in slot_data list:
+"Uniform" =   list("loc" = "2,1","minloc" = "1,2", "state" = "center",  "hideflag" = TOGGLE_INVENTORY_FLAG, "background" = "back1"),
+
+Description of entered data:
+"Uniform" - slot's name
+"loc" - position on a screen in a "max" version
+"minloc" position on a screen in a "min". Optional. used if MinStyleFlag = 1
+"hideflag" - used for functions that hides HUD's elements, such as /obj/screen/toggle_invetory/proc/hideobjects(), /mob/verb/button_pressed_F12 (does not work). Optional.
+"background" - underlay used in the "max" version. Name is taken from IconUnderlays. Optional.
+
+An example of element in HUDfrippery list
+list("loc" = "1,1", "icon_state" = "frame2-2",  "hideflag" = TOGGLE_INVENTORY_FLAG),
+
+Description of entered data:
+"loc" - position on a screen in a "max" version
+"icon_state" - icon, which is taken from dmi file
+"hideflag" - used for functions that hides HUD's elements, such as /obj/screen/toggle_invetory/proc/hideobjects(), /mob/verb/button_pressed_F12 (does not work). Optional.
+
+________________________________________________________________________________________________________________________
+Description of objects for HUD
+
+General type: /obj/screen
+
+Used unique variables:
+	var/mob/living/parentmob - mob to which HUD is tied
+	var/process_flag = 0 - flag of necessity call subprogram process()
+
+Used subprograms:
+/Click() - for elements which works by clicking on them
+/process() - for elements that do something constantly (generally on call mob's life).
+
+________________________________________________________________________________________________________________________
+Datum /datum/species
+
+Used unique variables:
+var/datum/hud_data/hud - here contains a link for datum with subtype /datum/hud_data
+var/hud_type - here contains datum type /datum/hud_data for race
+
+________________________________________________________________________________________________________________________
+Datum /datum/hud_data
+
+Used unique variables:
+	var/list/ProcessHUD - in this list "names" of HUD elements are introducted for initialization.
+	Example: "health"
+
+	var/list/gear - a list for HUD elements of inventory, slot's "name" is used with association.
+	Example: "i_clothing" =   slot_w_uniform,
+________________________________________________________________________________________________________________________
+Used variables at mob's level
+/mob/living
+	var/list/HUDneed - a list of HUD elements for displaying on screen
+	var/list/HUDinventory -  a list of HUD elements, which are the "inventory" of a mob, for displaying on screen
+	var/list/HUDfrippery - a list of all the frippery (e.g. frame)
+	var/list/HUDprocess -  a list of HUD elements, which process() is needed to be called
+	var/list/HUDtech - a list of HUD elements, which are "technical" (e.g. layer for mob's blindness), for displaying on screen
+	var/defaultHUD - default HUD name which is used by mob
+
+________________________________________________________________________________________________________________________
+Used subprograms at mob's level
+/mob/proc/create_HUD() - subprogram for creating HUD elements
+/mob/living/proc/destroy_HUD() - subprogram for destroying HUD elements
+/mob/living/proc/show_HUD() - subprogram for displaying HUD elements at client's
+
+/mob/living/proc/check_HUD() - basic subprogram which analyzes "correctness" of a HUD, and create/display elements on screen
+/mob/living/proc/check_HUDdatum() - checks current mob's datum for correctness, returns 1, if all is correct, or 0 in any other case
+/mob/living/proc/check_HUDinventory() - checks mob's variable HUDinventory for correctness, returns 1, if all is correct, or 0 in any other case. (does not use, but exists)
+/mob/living/proc/check_HUDneed() - checks mob's variable HUDneed for correctness, returns 1, if all is correct, or 0 in any other case. (does not use, but exists)
+/mob/living/proc/check_HUDfrippery() - checks mob's variable HUDfrippery for correctness, returns 1, if all is correct, or 0 in any other case. (does not use, but exists)
+/mob/living/proc/check_HUDprocess() - checks mob's variable HUDprocess for correctness, returns 1, if all is correct, or 0 in any other case. (does not use, but exists)
+/mob/living/proc/check_HUDtech() - checks mob's variable HUDtech for correctness, returns 1, if all is correct, or 0 in any other case. (does not use, but exists)
+
+The following subprograms creates elements in the corresponding arrays
+/mob/living/proc/create_HUDinventory() - in mob's HUDinventory
+/mob/living/proc/create_HUDneed() - in mob's HUDneed
+/mob/living/proc/create_HUDfrippery() - in mob's HUDfrippery
+/mob/living/proc/create_HUDprocess() - in mob's HUDprocess
+/mob/living/proc/create_HUDtech() - in mob's HUDtech
+
+________________________________________________________________________________________________________________________
+How does this work
+
+
+
+________________________________________________________________________________________________________________________
+An agreement for single style
+
+1) By rewriting the code for mob's suptype features, create new file with the naming "[type_name]_hud". E.g. human_hud.dm, robot_hud.dm.
+2) By creating new subprogram for work with the system, write its naming ang add in the end _HUD. E.g. create_HUD(), show_HUD().
+2.1) By working with variables, add variable's naming. E.g. check_HUDfrippery()
+3) By rewriting the code for features of subtype /obj/screen, create new file with the naming "[HUDname]_screen_object",
+if you are creating elements for "race", create file with naming "[species_name]_[HUDname]_screen_object".
+NOTE: "screen_object.dmi" contains "base" code.
+4)All subprograms which are responsible for checking smth (check_HUDdatum(), check_HUDinventory() etc.) should not contain code which does not related with checking,
+e.g warning output. Subprograms which are responsible for checking must give the check result.```
+
+ + + diff --git a/code/New_Hud_Manual_ru.html b/code/New_Hud_Manual_ru.html new file mode 100644 index 00000000000..2e26f4f3fb0 --- /dev/null +++ b/code/New_Hud_Manual_ru.html @@ -0,0 +1,159 @@ + + + + + + + code/New_Hud_Manual_ru.txt - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/New_Hud_Manual_ru.txt + +

+ + +
//существующие оверлеи: flash, pain, blind, damageoverlay, blurry, druggy, nvg, thermal, meson, science
+Используемые глобальные переменные:
+GLOB.HUDdatums - тут хранятся датумы с подтипом /datum/hud, используется ассоциация name датума = сам датум
+
+________________________________________________________________________________________________________________________
+Датум /datum/hud
+В данном датуме находится информация о ХУДе: имя, элементы и тд.
+
+
+name - Имя датума
+list/HUDneed - список необходимых элементов (например, хелсбар). С помощью данного списка заполняются HUDneed и HUDprocess у моба
+list/slot_data - список элементов инвентаря. С помощью данного списка заполняются HUDinventory у моба
+icon/icon -испольхуемый файл dmi
+HUDfrippery - Список элементов украшения ХУДа. С помощью данного списка заполняются HUDfrippery у моба
+HUDoverlays - Список "технических" элементов. С помощью данного списка заполняются HUDtech и дополняется HUDprocess у моба
+ConteinerData - Информация для функции /obj/item/storage/proc/space_orient_objs и /obj/item/storage/proc/slot_orient_objs.
+IconUnderlays - Список андерлеев для элемнтов ХУДа при "максимализированной" версии. Может быть пустым.
+MinStyleFlag - Флаг, обозначающий имеет ли данный тип ХУДа "минимализированную" версию. Принимает значение 1 или 0
+
+Пример элемента в списке HUDneed
+"health"      = list("type" = /obj/screen/health, "loc" = "16,6", "minloc" = "15,7", "background" = "back1"),
+
+Описание вводимых данных:
+"health" - имя и ИД ХУДА
+"type" - тип ХУДа, нужно чтобы система знала что именно создавать
+"loc" - положение на экране в "максимализированной" версии
+"minloc" положение на экране в "минимализированной" версии. Опционален. Используется если MinStyleFlag = 1
+"background" - какой андерлей используется в "максимализированной" версии. Название берется из IconUnderlays. Опционален.
+
+Пример элемента в списке HUDoverlays
+"damageoverlay" = list("type" = /obj/screen/damageoverlay, "loc" = "1,1", "icon" =  'icons/mob/screen1_full.dmi'),
+
+Описание вводимых данных:
+"damageoverlay" - имя и ИД ХУДА
+"type" - тип ХУДа, нужно чтобы система знала что именно создавать
+"loc" - положение на экране
+"icon" - используемый dmi файл, перезаписывает icon самого датума. Опционален.
+
+Пример элемента в списке slot_data
+"Uniform" =   list("loc" = "2,1","minloc" = "1,2", "state" = "center",  "hideflag" = TOGGLE_INVENTORY_FLAG, "background" = "back1"),
+
+Описание вводимых данных:
+"Uniform" - имя Слота
+"loc" - положение на экране в "максимализированной" версии
+"minloc" положение на экране в "минимализированной" версии. Опционально и если MinStyleFlag = 1
+"hideflag" - используется для функций по скрыванию элементов ХУДа, такие как /obj/screen/toggle_invetory/proc/hideobjects(), /mob/verb/button_pressed_F12 (не работает). Опционален.
+"background" - какой андерлей используется в "максимализированной" версии. Название берется из IconUnderlays. Опционален.
+
+Пример элемента в списке HUDfrippery
+list("loc" = "1,1", "icon_state" = "frame2-2",  "hideflag" = TOGGLE_INVENTORY_FLAG),
+
+Описание вводимых данных:
+"loc" - положение на экране в "максимализированной" версии
+"icon_state" - какая иконка берется из dmi файла
+"hideflag" - используется для функций по скрыванию элементов ХУДа, такие как /obj/screen/toggle_invetory/proc/hideobjects(), /mob/verb/button_pressed_F12 (не работает). Опционален.
+
+________________________________________________________________________________________________________________________
+Описание объектов для ХУДа
+
+Общий тип:/obj/screen
+
+Используемые уникальные переменные
+	var/mob/living/parentmob - Моб, к которому привязан ХУД
+	var/process_flag = 0 - флаг необходимости вызова подпрограммы process()
+
+Используемые подпрограммы
+/Click() - для элементов, которые работают при клике на них
+/process() - для элементов, делающие что-то постоянно (в основном при вызове life у моба).
+
+________________________________________________________________________________________________________________________
+Датум /datum/species
+
+Используемые уникальные переменные:
+var/datum/hud_data/hud - сдесь находится ссылка на датум с подтипом /datum/hud_data
+var/hud_type - находится тип датума /datum/hud_data для рассы
+
+________________________________________________________________________________________________________________________
+Датум /datum/hud_data
+
+Используемые уникальные переменные:
+	var/list/ProcessHUD - В данный список вносятся "имена" элементов худа, для инициализации.
+	Пример: "health"
+
+	var/list/gear - список для элементов ХУДа инвентаря, используется "имя" слота с ассоциацией
+	Пример: "i_clothing" =   slot_w_uniform,
+________________________________________________________________________________________________________________________
+Используемые переменные на уровне моба
+/mob/living
+	var/list/HUDneed - Список элементов Худа для отображения на экране
+	var/list/HUDinventory - Список элементов Худа, которые являются "инвентарем" моба, для отображения на экране
+	var/list/HUDfrippery - Всякие украшения (например, рамка)
+	var/list/HUDprocess - Список Элементов Худа, у которых нужно вызывать process()
+	var/list/HUDtech - Список элементов Худа, которые являются "техническими" (например, слой для слепоты моба), для отображения на экране
+	var/defaultHUD - Дефолтное имя ХУДа, которое использует моб
+
+________________________________________________________________________________________________________________________
+Используемые подпрограммы на уровне моба
+/mob/proc/create_HUD() - Подпрограмма, для создания элементов ХУДа
+/mob/living/proc/destroy_HUD() - Подпрограмма, для уничтожения элементов ХУДа
+/mob/living/proc/show_HUD() - Подпрограмма, для отображения элементов ХУДа у клиента
+
+/mob/living/proc/check_HUD() - Основная подпрограмма, в ней анализируется "правильность" ХУДа, и через неё идет создание\вывод элементов на экран
+/mob/living/proc/check_HUDdatum() - Проверяет текущий датум у моба на правильность, возвращает 1, если все правильно, или 0, если иначе
+/mob/living/proc/check_HUDinventory() - Проверяет переменную HUDinventory у моба на правильность, возвращает 1, если все правильно, или 0, если иначе.(не используется, но существует)
+/mob/living/proc/check_HUDneed() - Проверяет переменную HUDneed у моба на правильность, возвращает 1, если все правильно, или 0, если иначе.(не используется, но существует)
+/mob/living/proc/check_HUDfrippery() - Проверяет переменную HUDfrippery у моба на правильность, возвращает 1, если все правильно, или 0, если иначе.(не используется, но существует)
+/mob/living/proc/check_HUDprocess() - Проверяет переменную HUDprocess у моба на правильность, возвращает 1, если все правильно, или 0, если иначе.(не используется, но существует)
+/mob/living/proc/check_HUDtech() - Проверяет переменную HUDtech у моба на правильность, возвращает 1, если все правильно, или 0, если иначе.(не используется, но существует)
+
+Следующие подпрограммы создают элементы в соотвествующих массивов
+/mob/living/proc/create_HUDinventory() - в HUDinventory моба
+/mob/living/proc/create_HUDneed() - в HUDneed моба
+/mob/living/proc/create_HUDfrippery() - в HUDfrippery моба
+/mob/living/proc/create_HUDprocess() - в HUDprocess моба
+/mob/living/proc/create_HUDtech() - в HUDtech моба
+
+________________________________________________________________________________________________________________________
+Как это работает
+
+
+
+________________________________________________________________________________________________________________________
+ДОГОВОР О ЕДИНОМ СТИЛЕ
+
+1) При переписывании кода под особенности подтипа моба, создавайте новый файл с названием "[type_name]_hud". Пример: human_hud.dm, robot_hud.dm.
+2) При создании новой подпрограммы для работы с ситемой, пишите её "название" и приписывайте в конце _HUD. Пример: create_HUD(), show_HUD().
+2.1) При работе с переменными, дописывайте название переменной. Пример: check_HUDfrippery()
+3) При переписывания кода под особенности подтипа /obj/screen, создайте новый файл с названием "[HUDname]_screen_object",
+если вы создаете элементы для "расы", то создайте файл с названием "[species_name]_[HUDname]_screen_object".
+ПРИМЕЧАНИЕ: в файле "screen_object.dmi", находится "базовый" код.
+4)Все подпрограммы, отвечающие за проверку чего либо (check_HUDdatum(), check_HUDinventory() и т.д) не должны иметь внутри себя код, не относящийся к проверке,
+например, вывод предупреждения. Подпрограммы, отвечающие за проверку, должны выдавать результат проверки.```
+
+ + + diff --git a/code/__DEFINES/MC.html b/code/__DEFINES/MC.html new file mode 100644 index 00000000000..bb918e23b41 --- /dev/null +++ b/code/__DEFINES/MC.html @@ -0,0 +1,143 @@ + + + + + + + code/__DEFINES/MC.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Define Details
+
+

code/__DEFINES/MC.dm + +

+ + + + + + + + + + + + + + + + + + + + +
MC_AVG_OVER_TIMEcreates a running average of "things elapsed" per time period when you need to count via a smaller time period. +eg you want an average number of things happening per second but you measure the event every tick (100 milliseconds). +make sure both time intervals are in the same units. doesnt work if current_duration > total_duration or if total_duration == 0
MC_RUNNINGReturns true if the MC is initialized and running. +Optional argument init_stage controls what stage the mc must have initializted to count as initialized. Defaults to INITSTAGE_MAX if not specified.

SubSystem flags (Please design any new flags so that the default is off, to make adding flags to subsystems easier)

SS_NO_INITsubsystem does not initialize.
SS_NO_FIREsubsystem does not fire. +(like can_fire = 0, but keeps it from getting added to the processing subsystems list) +(Requires a MC restart to change)
SS_BACKGROUNDSubsystem only runs on spare cpu (after all non-background subsystems have ran that tick) +SS_BACKGROUND has its own priority bracket, this overrides SS_TICKER's priority bump
SS_TICKERTreat wait as a tick count, not DS, run every wait ticks. +(also forces it to run first in the tick (unless SS_BACKGROUND)) +(We don't want to be choked out by other subsystems queuing into us) +(implies all runlevels because of how it works) +This is designed for basically anything that works as a mini-mc (like SStimer)
SS_KEEP_TIMINGkeep the subsystem's timing on point by firing early if it fired late last fire because of lag +ie: if a 20ds subsystem fires say 5 ds late due to lag or what not, its next fire would be in 15ds, not 20ds.
SS_POST_FIRE_TIMINGCalculate its next fire after its fired. +(IE: if a 5ds wait SS takes 2ds to run, its next fire should be 5ds away, not 3ds like it normally would be) +This flag overrides SS_KEEP_TIMING

SUBSYSTEM STATES

+
SS_IDLEain't doing shit.
SS_QUEUEDqueued to run
SS_RUNNINGactively running
SS_PAUSEDpaused by mc_tick_check
SS_SLEEPINGfire() slept.
SS_PAUSINGin the middle of pausing
INITSTAGE_EARLYEarly init stuff that doesn't need to wait for mapload
INITSTAGE_MAINMain init stage
INITSTAGE_MAXHighest initstage.

Define Details

+

INITSTAGE_EARLY + + +

+

Early init stuff that doesn't need to wait for mapload

INITSTAGE_MAIN + + +

+

Main init stage

INITSTAGE_MAX + + +

+

Highest initstage.

MC_AVG_OVER_TIME + + + +

+

creates a running average of "things elapsed" per time period when you need to count via a smaller time period. +eg you want an average number of things happening per second but you measure the event every tick (100 milliseconds). +make sure both time intervals are in the same units. doesnt work if current_duration > total_duration or if total_duration == 0

MC_RUNNING + + + +

+

Returns true if the MC is initialized and running. +Optional argument init_stage controls what stage the mc must have initializted to count as initialized. Defaults to INITSTAGE_MAX if not specified.

SS_BACKGROUND + + +

+

Subsystem only runs on spare cpu (after all non-background subsystems have ran that tick) +SS_BACKGROUND has its own priority bracket, this overrides SS_TICKER's priority bump

SS_IDLE + + +

+

ain't doing shit.

SS_KEEP_TIMING + + +

+

keep the subsystem's timing on point by firing early if it fired late last fire because of lag +ie: if a 20ds subsystem fires say 5 ds late due to lag or what not, its next fire would be in 15ds, not 20ds.

SS_NO_FIRE + + +

+

subsystem does not fire. +(like can_fire = 0, but keeps it from getting added to the processing subsystems list) +(Requires a MC restart to change)

SS_NO_INIT + + +

+

subsystem does not initialize.

SS_PAUSED + + +

+

paused by mc_tick_check

SS_PAUSING + + +

+

in the middle of pausing

SS_POST_FIRE_TIMING + + +

+

Calculate its next fire after its fired. +(IE: if a 5ds wait SS takes 2ds to run, its next fire should be 5ds away, not 3ds like it normally would be) +This flag overrides SS_KEEP_TIMING

SS_QUEUED + + +

+

queued to run

SS_RUNNING + + +

+

actively running

SS_SLEEPING + + +

+

fire() slept.

SS_TICKER + + +

+

Treat wait as a tick count, not DS, run every wait ticks. +(also forces it to run first in the tick (unless SS_BACKGROUND)) +(We don't want to be choked out by other subsystems queuing into us) +(implies all runlevels because of how it works) +This is designed for basically anything that works as a mini-mc (like SStimer)

+ + + diff --git a/code/__DEFINES/_globals.html b/code/__DEFINES/_globals.html new file mode 100644 index 00000000000..73ca48aea8b --- /dev/null +++ b/code/__DEFINES/_globals.html @@ -0,0 +1,123 @@ + + + + + + + code/__DEFINES/_globals.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Define Details
+
+

code/__DEFINES/_globals.dm + +

+ + + + + + + + + + + + + + + + + +
GLOBAL_MANAGEDCreates a global initializer with a given InitValue expression, do not use
GLOBAL_UNMANAGEDCreates an empty global initializer, do not use
GLOBAL_PROTECTPrevents a given global from being VV'd
GLOBAL_REAL_VARStandard BYOND global, do not use
GLOBAL_REALStandard typed BYOND global, do not use
GLOBAL_RAWDefines a global var on the controller, do not use
GLOBAL_VAR_INITCreate an untyped global with an initializer expression
GLOBAL_VAR_CONSTCreate a global const var, do not use
GLOBAL_LIST_INITCreate a list global with an initializer expression
GLOBAL_LIST_EMPTYCreate a list global that is initialized as an empty list
GLOBAL_LIST_INIT_TYPEDCreate a typed list global with an initializer expression
GLOBAL_LIST_EMPTY_TYPEDCreate a typed list global that is initialized as an empty list
GLOBAL_DATUM_INITCreate a typed global with an initializer expression
GLOBAL_VARCreate an untyped null global
GLOBAL_LISTCreate a null global list
GLOBAL_DATUMCreate a typed null global

Define Details

+

GLOBAL_DATUM + + + +

+

Create a typed null global

GLOBAL_DATUM_INIT + + + +

+

Create a typed global with an initializer expression

GLOBAL_LIST + + + +

+

Create a null global list

GLOBAL_LIST_EMPTY + + + +

+

Create a list global that is initialized as an empty list

GLOBAL_LIST_EMPTY_TYPED + + + +

+

Create a typed list global that is initialized as an empty list

GLOBAL_LIST_INIT + + + +

+

Create a list global with an initializer expression

GLOBAL_LIST_INIT_TYPED + + + +

+

Create a typed list global with an initializer expression

GLOBAL_MANAGED + + + +

+

Creates a global initializer with a given InitValue expression, do not use

GLOBAL_PROTECT + + + +

+

Prevents a given global from being VV'd

GLOBAL_RAW + + + +

+

Defines a global var on the controller, do not use

GLOBAL_REAL + + + +

+

Standard typed BYOND global, do not use

GLOBAL_REAL_VAR + + + +

+

Standard BYOND global, do not use

GLOBAL_UNMANAGED + + + +

+

Creates an empty global initializer, do not use

GLOBAL_VAR + + + +

+

Create an untyped null global

GLOBAL_VAR_CONST + + + +

+

Create a global const var, do not use

GLOBAL_VAR_INIT + + + +

+

Create an untyped global with an initializer expression

+ + + diff --git a/code/__DEFINES/admin.html b/code/__DEFINES/admin.html new file mode 100644 index 00000000000..110c89c692d --- /dev/null +++ b/code/__DEFINES/admin.html @@ -0,0 +1,32 @@ + + + + + + + code/__DEFINES/admin.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Define Details
+
+

code/__DEFINES/admin.dm + +

+ + +
BANTYPE_ANY_FULLBANused to locate stuff to unban.

Define Details

+

BANTYPE_ANY_FULLBAN + + +

+

used to locate stuff to unban.

+ + + diff --git a/code/__DEFINES/callbacks.html b/code/__DEFINES/callbacks.html new file mode 100644 index 00000000000..22429fb83a9 --- /dev/null +++ b/code/__DEFINES/callbacks.html @@ -0,0 +1,37 @@ + + + + + + + code/__DEFINES/callbacks.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Define Details
+
+

code/__DEFINES/callbacks.dm + +

+ + + +
CALLBACKA shorthand for the callback datum, documented here
VERB_CALLBACKlike CALLBACK but specifically for verb callbacks

Define Details

+

CALLBACK + + +

+

A shorthand for the callback datum, documented here

VERB_CALLBACK + + +

+

like CALLBACK but specifically for verb callbacks

+ + + diff --git a/code/__DEFINES/construction.html b/code/__DEFINES/construction.html new file mode 100644 index 00000000000..83e3cfe81f2 --- /dev/null +++ b/code/__DEFINES/construction.html @@ -0,0 +1,47 @@ + + + + + + + code/__DEFINES/construction.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Define Details
+
+

code/__DEFINES/construction.dm + +

+ + + + + +
PIPE_UPZ-Level stuff
PIPE_GAS_FILTER_MZ-Level stuff
PIPE_UNIVERSALSupply, scrubbers and universal pipes
PIPE_MTVALVEMMirrored T-valve ~ because I couldn't be bothered re-sorting all of the defines

Define Details

+

PIPE_GAS_FILTER_M + + +

+

Z-Level stuff

PIPE_MTVALVEM + + +

+

Mirrored T-valve ~ because I couldn't be bothered re-sorting all of the defines

PIPE_UNIVERSAL + + +

+

Supply, scrubbers and universal pipes

PIPE_UP + + +

+

Z-Level stuff

+ + + diff --git a/code/__DEFINES/cooldowns.html b/code/__DEFINES/cooldowns.html new file mode 100644 index 00000000000..4cb5c1f4db1 --- /dev/null +++ b/code/__DEFINES/cooldowns.html @@ -0,0 +1,33 @@ + + + + + + + code/__DEFINES/cooldowns.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Define Details
+
+

code/__DEFINES/cooldowns.dm + +

+ + +
COMSIG_CD_STOPCOOLDOWN SYSTEMS

Define Details

+

COMSIG_CD_STOP + + + +

+

COOLDOWN SYSTEMS

+ + + diff --git a/code/__DEFINES/dcs/flags.html b/code/__DEFINES/dcs/flags.html new file mode 100644 index 00000000000..f330481d127 --- /dev/null +++ b/code/__DEFINES/dcs/flags.html @@ -0,0 +1,101 @@ + + + + + + + code/__DEFINES/dcs/flags.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Define Details
+
+

code/__DEFINES/dcs/flags.dm + +

+ + + + + + + + + + + + + +
COMPONENT_INCOMPATIBLEReturn this from /datum/component/Initialize or datum/component/OnTransfer to have the component be deleted if it's applied to an incorrect type. +parent must not be modified if this is to be returned. +This will be noted in the runtime logs
COMPONENT_NOTRANSFERReturned in PostTransfer to prevent transfer, similar to COMPONENT_INCOMPATIBLE
COMPONENT_TRANSFERUsed in _upgrades.dm. Didn't do anything prior to the update to 2022 TG components and won't do anything now. Consider removing or defining behavior.
ELEMENT_INCOMPATIBLEReturn value to cancel attaching
ELEMENT_DETACH_ON_HOST_DESTROYCauses the detach proc to be called when the host object is being deleted. +Should only be used if you need to perform cleanup not related to the host object. +You do not need this if you are only unregistering signals, for instance. +You would need it if you are doing something like removing the target from a processing list.
ELEMENT_BESPOKEOnly elements created with the same arguments given after argument_hash_start_idx share an element instance +The arguments are the same when the text and number values are the same and all other values have the same ref
ELEMENT_COMPLEX_DETACHCauses all detach arguments to be passed to detach instead of only being used to identify the element +When this is used your Detach proc should have the same signature as your Attach proc
COMPONENT_DUPE_HIGHLANDERold component is deleted (default)
COMPONENT_DUPE_ALLOWEDduplicates allowed
COMPONENT_DUPE_UNIQUEnew component is deleted
COMPONENT_DUPE_UNIQUE_PASSARGSold component is given the initialization args of the new
COMPONENT_DUPE_SELECTIVEeach component of the same type is consulted as to whether the duplicate should be allowed

Define Details

+

COMPONENT_DUPE_ALLOWED + + +

+

duplicates allowed

COMPONENT_DUPE_HIGHLANDER + + +

+

old component is deleted (default)

COMPONENT_DUPE_SELECTIVE + + +

+

each component of the same type is consulted as to whether the duplicate should be allowed

COMPONENT_DUPE_UNIQUE + + +

+

new component is deleted

COMPONENT_DUPE_UNIQUE_PASSARGS + + +

+

old component is given the initialization args of the new

COMPONENT_INCOMPATIBLE + + +

+

Return this from /datum/component/Initialize or datum/component/OnTransfer to have the component be deleted if it's applied to an incorrect type. +parent must not be modified if this is to be returned. +This will be noted in the runtime logs

COMPONENT_NOTRANSFER + + +

+

Returned in PostTransfer to prevent transfer, similar to COMPONENT_INCOMPATIBLE

COMPONENT_TRANSFER + + +

+

Used in _upgrades.dm. Didn't do anything prior to the update to 2022 TG components and won't do anything now. Consider removing or defining behavior.

ELEMENT_BESPOKE + + +

+

Only elements created with the same arguments given after argument_hash_start_idx share an element instance +The arguments are the same when the text and number values are the same and all other values have the same ref

ELEMENT_COMPLEX_DETACH + + +

+

Causes all detach arguments to be passed to detach instead of only being used to identify the element +When this is used your Detach proc should have the same signature as your Attach proc

ELEMENT_DETACH_ON_HOST_DESTROY + + +

+

Causes the detach proc to be called when the host object is being deleted. +Should only be used if you need to perform cleanup not related to the host object. +You do not need this if you are only unregistering signals, for instance. +You would need it if you are doing something like removing the target from a processing list.

ELEMENT_INCOMPATIBLE + + +

+

Return value to cancel attaching

+ + + diff --git a/code/__DEFINES/dcs/helpers.html b/code/__DEFINES/dcs/helpers.html new file mode 100644 index 00000000000..dc75d4d1f8b --- /dev/null +++ b/code/__DEFINES/dcs/helpers.html @@ -0,0 +1,76 @@ + + + + + + + code/__DEFINES/dcs/helpers.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Define Details
+
+

code/__DEFINES/dcs/helpers.dm + +

+ + + + + + + + +
SEND_SIGNALUsed to trigger signals and call procs registered for that signal +The datum hosting the signal is automaticaly added as the first argument +Returns a bitfield gathered from all registered procs +Arguments given here are packaged in a list and given to _SendSignal
SEND_SIGNAL_OLDOld method of sending signals, anything using this should be updated to work with SEND_SIGNAL()
SIGNAL_HANDLERSignifies that this proc is used to handle signals. +Every proc you pass to RegisterSignal must have this.
AddElementA wrapper for _AddElement that allows us to pretend we're using normal named arguments
RemoveElementA wrapper for _RemoveElement that allows us to pretend we're using normal named arguments
AddComponentA wrapper for _AddComponent that allows us to pretend we're using normal named arguments
LoadComponentA wrapper for _LoadComponent that allows us to pretend we're using normal named arguments

Define Details

+

AddComponent + + + +

+

A wrapper for _AddComponent that allows us to pretend we're using normal named arguments

AddElement + + + +

+

A wrapper for _AddElement that allows us to pretend we're using normal named arguments

LoadComponent + + + +

+

A wrapper for _LoadComponent that allows us to pretend we're using normal named arguments

RemoveElement + + + +

+

A wrapper for _RemoveElement that allows us to pretend we're using normal named arguments

SEND_SIGNAL + + + +

+

Used to trigger signals and call procs registered for that signal +The datum hosting the signal is automaticaly added as the first argument +Returns a bitfield gathered from all registered procs +Arguments given here are packaged in a list and given to _SendSignal

SEND_SIGNAL_OLD + + + +

+

Old method of sending signals, anything using this should be updated to work with SEND_SIGNAL()

SIGNAL_HANDLER + + +

+

Signifies that this proc is used to handle signals. +Every proc you pass to RegisterSignal must have this.

+ + + diff --git a/code/__DEFINES/dcs/signals.html b/code/__DEFINES/dcs/signals.html new file mode 100644 index 00000000000..0255f118dd8 --- /dev/null +++ b/code/__DEFINES/dcs/signals.html @@ -0,0 +1,86 @@ + + + + + + + code/__DEFINES/dcs/signals.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Define Details
+
+

code/__DEFINES/dcs/signals.dm + +

+ + + + + + + + + + + + +
COMSIG_COMPONENT_ADDEDwhen a component is added to a datum: (/datum/component)
COMSIG_COMPONENT_REMOVINGbefore a component is removed from a datum because of ClearFromParent: (/datum/component)
COMSIG_PARENT_PREQDELETEDbefore a datum's Destroy() is called: (force), returning a nonzero value will cancel the qdel operation +you should only be using this if you want to block deletion +that's the only functional difference between it and COMSIG_PARENT_QDELETING, outside setting QDELETING to detect
COMSIG_PARENT_QDELETINGjust before a datum's Destroy() is called: (force), at this point none of the other components chose to interrupt qdel and Destroy will be called
COMSIG_PARENT_QDELETEDafter a datum's Destroy() is called: (force, qdel_hint), at this point none of the other components chose to interrupt qdel and Destroy has been called
COMSIG_TOPICgeneric topic handler (usr, href_list)
COMSIG_VV_TOPIChandler for vv_do_topic (usr, href_list)
COMSIG_UI_ACTfrom datum ui_act (usr, action)
COMSIG_ELEMENT_ATTACHfires on the target datum when an element is attached to it (/datum/element)
COMSIG_ELEMENT_DETACHfires on the target datum when an element is attached to it (/datum/element)
COMSIG_STORAGE_INSERTEDComponent Specific Signals

Define Details

+

COMSIG_COMPONENT_ADDED + + +

+

when a component is added to a datum: (/datum/component)

COMSIG_COMPONENT_REMOVING + + +

+

before a component is removed from a datum because of ClearFromParent: (/datum/component)

COMSIG_ELEMENT_ATTACH + + +

+

fires on the target datum when an element is attached to it (/datum/element)

COMSIG_ELEMENT_DETACH + + +

+

fires on the target datum when an element is attached to it (/datum/element)

COMSIG_PARENT_PREQDELETED + + +

+

before a datum's Destroy() is called: (force), returning a nonzero value will cancel the qdel operation +you should only be using this if you want to block deletion +that's the only functional difference between it and COMSIG_PARENT_QDELETING, outside setting QDELETING to detect

COMSIG_PARENT_QDELETED + + +

+

after a datum's Destroy() is called: (force, qdel_hint), at this point none of the other components chose to interrupt qdel and Destroy has been called

COMSIG_PARENT_QDELETING + + +

+

just before a datum's Destroy() is called: (force), at this point none of the other components chose to interrupt qdel and Destroy will be called

COMSIG_STORAGE_INSERTED + + +

+

Component Specific Signals

COMSIG_TOPIC + + +

+

generic topic handler (usr, href_list)

COMSIG_UI_ACT + + +

+

from datum ui_act (usr, action)

COMSIG_VV_TOPIC + + +

+

handler for vv_do_topic (usr, href_list)

+ + + diff --git a/code/__DEFINES/gamemode.html b/code/__DEFINES/gamemode.html new file mode 100644 index 00000000000..33be9133c14 --- /dev/null +++ b/code/__DEFINES/gamemode.html @@ -0,0 +1,32 @@ + + + + + + + code/__DEFINES/gamemode.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Define Details
+
+

code/__DEFINES/gamemode.dm + +

+ + +
GHOSTCASTWIZARD

Define Details

+

GHOSTCAST + + +

+

WIZARD

+ + + diff --git a/code/__DEFINES/inventory_sizes.html b/code/__DEFINES/inventory_sizes.html new file mode 100644 index 00000000000..1366c063855 --- /dev/null +++ b/code/__DEFINES/inventory_sizes.html @@ -0,0 +1,67 @@ + + + + + + + code/__DEFINES/inventory_sizes.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Define Details
+
+

code/__DEFINES/inventory_sizes.dm + +

+ + + + + + + + + +
ITEM_SIZE_TINYUsually items smaller then a human hand, (e.g. playing cards, lighter, scalpel, coins/holochips)
ITEM_SIZE_SMALLPockets can hold small and tiny items, (e.g. flashlight, multitool, grenades, GPS device)
ITEM_SIZE_NORMALStandard backpacks can carry tiny, small & normal items, (e.g. fire extinguisher, stun baton, gas mask, metal sheets)
ITEM_SIZE_BULKYItems that can be wielded or equipped, (e.g. defibrillator, backpack, space suits)
ITEM_SIZE_HUGEUsually represents objects that require two hands to operate, (e.g. shotgun, two-handed melee weapons)
ITEM_SIZE_GARGANTUANEssentially means it cannot be picked up or placed in an inventory, (e.g. mech parts, safe)
ITEM_SIZE_COLOSSALFor something large which takes an entire tile, (e.g. a full glass window, or a girder)
ITEM_SIZE_TITANICSomething so large that it extends beyond the confines of its tile, (e.g. scrap beacon)

Define Details

+

ITEM_SIZE_BULKY + + +

+

Items that can be wielded or equipped, (e.g. defibrillator, backpack, space suits)

ITEM_SIZE_COLOSSAL + + +

+

For something large which takes an entire tile, (e.g. a full glass window, or a girder)

ITEM_SIZE_GARGANTUAN + + +

+

Essentially means it cannot be picked up or placed in an inventory, (e.g. mech parts, safe)

ITEM_SIZE_HUGE + + +

+

Usually represents objects that require two hands to operate, (e.g. shotgun, two-handed melee weapons)

ITEM_SIZE_NORMAL + + +

+

Standard backpacks can carry tiny, small & normal items, (e.g. fire extinguisher, stun baton, gas mask, metal sheets)

ITEM_SIZE_SMALL + + +

+

Pockets can hold small and tiny items, (e.g. flashlight, multitool, grenades, GPS device)

ITEM_SIZE_TINY + + +

+

Usually items smaller then a human hand, (e.g. playing cards, lighter, scalpel, coins/holochips)

ITEM_SIZE_TITANIC + + +

+

Something so large that it extends beyond the confines of its tile, (e.g. scrap beacon)

+ + + diff --git a/code/__DEFINES/is_helpers.html b/code/__DEFINES/is_helpers.html new file mode 100644 index 00000000000..89bb3895c16 --- /dev/null +++ b/code/__DEFINES/is_helpers.html @@ -0,0 +1,33 @@ + + + + + + + code/__DEFINES/is_helpers.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Define Details
+
+

code/__DEFINES/is_helpers.dm + +

+ + +
IN_GIVEN_RANGEWithin given range, but not counting z-levels

Define Details

+

IN_GIVEN_RANGE + + + +

+

Within given range, but not counting z-levels

+ + + diff --git a/code/__DEFINES/misc.html b/code/__DEFINES/misc.html new file mode 100644 index 00000000000..54f254c32d3 --- /dev/null +++ b/code/__DEFINES/misc.html @@ -0,0 +1,38 @@ + + + + + + + code/__DEFINES/misc.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Define Details
+
+

code/__DEFINES/misc.dm + +

+ + + +
HUMAN_REQ_COG_FOR_REGRequired minimum values to see reagents in a beaker
FIRESTACKS_TEMP_CONVMisc atmos equations

Define Details

+

FIRESTACKS_TEMP_CONV + + + +

+

Misc atmos equations

HUMAN_REQ_COG_FOR_REG + + +

+

Required minimum values to see reagents in a beaker

+ + + diff --git a/code/__DEFINES/mob_stats.html b/code/__DEFINES/mob_stats.html new file mode 100644 index 00000000000..dd725bfdbea --- /dev/null +++ b/code/__DEFINES/mob_stats.html @@ -0,0 +1,32 @@ + + + + + + + code/__DEFINES/mob_stats.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Define Details
+
+

code/__DEFINES/mob_stats.dm + +

+ + +
PERK_SHARED_SEE_REAGENTSBitflag for shared perk abilities

Define Details

+

PERK_SHARED_SEE_REAGENTS + + +

+

Bitflag for shared perk abilities

+ + + diff --git a/code/__DEFINES/perf_test.html b/code/__DEFINES/perf_test.html new file mode 100644 index 00000000000..16cfa85982a --- /dev/null +++ b/code/__DEFINES/perf_test.html @@ -0,0 +1,35 @@ + + + + + + + code/__DEFINES/perf_test.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Define Details
+
+

code/__DEFINES/perf_test.dm + +

+ + +
CONSUME_UNTILMacro that takes a tick usage to target, and proceses until we hit it +This lets us simulate generic load as we'd like, to make testing for overtime easier

Define Details

+

CONSUME_UNTIL + + + +

+

Macro that takes a tick usage to target, and proceses until we hit it +This lets us simulate generic load as we'd like, to make testing for overtime easier

+ + + diff --git a/code/__DEFINES/qdel.html b/code/__DEFINES/qdel.html new file mode 100644 index 00000000000..0edc500f1e9 --- /dev/null +++ b/code/__DEFINES/qdel.html @@ -0,0 +1,81 @@ + + + + + + + code/__DEFINES/qdel.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Define Details
+
+

code/__DEFINES/qdel.dm + +

+ + + + + + + + + + + + + + +

Defines that give qdel hints.

+

These can be given as a return in [/atom/proc/Destroy] or by calling /proc/qdel.

QDEL_HINT_QUEUEqdel should queue the object for deletion.
QDEL_HINT_LETMELIVEqdel should let the object live after calling [/atom/proc/Destroy].
QDEL_HINT_IWILLGCFunctionally the same as the above. qdel should assume the object will gc on its own, and not check it.
QDEL_HINT_HARDDELQdel should assume this object won't GC, and queue a hard delete using a hard reference.
GC_QUEUE_FILTERshort queue to filter out quick gc successes so they don't hang around in the main queue for 5 minutes
GC_QUEUE_CHECKmain queue that waits 5 minutes because thats the longest byond can hold a reference to our shit.
GC_QUEUE_HARDDELETEshort queue for things that hard delete instead of going thru the gc subsystem, this is purely so if they can softdelete, they will soft delete rather then wasting time with a hard delete.
GC_QUEUE_COUNTNumber of queues, used for allocating the nested lists. Don't forget to increase this if you add a new queue stage
QDEL_ITEM_ADMINS_WARNEDSet when admins are told about lag causing qdels in this type.
QDEL_ITEM_SUSPENDED_FOR_LAGSet when a type can no longer be hard deleted on failure because of lag it causes while this happens.
/proc/______qdel_list_wrapperthe underscores are to encourage people not to use this directly.

Define Details

+

GC_QUEUE_CHECK + + +

+

main queue that waits 5 minutes because thats the longest byond can hold a reference to our shit.

GC_QUEUE_COUNT + + +

+

Number of queues, used for allocating the nested lists. Don't forget to increase this if you add a new queue stage

GC_QUEUE_FILTER + + +

+

short queue to filter out quick gc successes so they don't hang around in the main queue for 5 minutes

GC_QUEUE_HARDDELETE + + +

+

short queue for things that hard delete instead of going thru the gc subsystem, this is purely so if they can softdelete, they will soft delete rather then wasting time with a hard delete.

QDEL_HINT_HARDDEL + + +

+

Qdel should assume this object won't GC, and queue a hard delete using a hard reference.

QDEL_HINT_IWILLGC + + +

+

Functionally the same as the above. qdel should assume the object will gc on its own, and not check it.

QDEL_HINT_LETMELIVE + + +

+

qdel should let the object live after calling [/atom/proc/Destroy].

QDEL_HINT_QUEUE + + +

+

qdel should queue the object for deletion.

QDEL_ITEM_ADMINS_WARNED + + +

+

Set when admins are told about lag causing qdels in this type.

QDEL_ITEM_SUSPENDED_FOR_LAG + + +

+

Set when a type can no longer be hard deleted on failure because of lag it causes while this happens.

+ + + diff --git a/code/__DEFINES/rust_g.html b/code/__DEFINES/rust_g.html new file mode 100644 index 00000000000..4ac7ef5c223 --- /dev/null +++ b/code/__DEFINES/rust_g.html @@ -0,0 +1,95 @@ + + + + + + + code/__DEFINES/rust_g.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Define Details
+
+

code/__DEFINES/rust_g.dm + +

+ + + + + + + + +
/proc/rustg_get_versionGets the version of rust_g
rustg_setup_acreplaceSets up the Aho-Corasick automaton with its default options.
rustg_setup_acreplace_with_optionsSets up the Aho-Corasick automaton using supplied options.
rustg_acreplaceRun the specified replacement engine with the provided haystack text to replace, returning replaced text.
rustg_acreplace_with_replacementsRun the specified replacement engine with the provided haystack text to replace, returning replaced text.
rustg_cnoise_generateThis proc generates a cellular automata noise grid which can be used in procedural generation methods.

Define Details

+

rustg_acreplace + + + +

+

Run the specified replacement engine with the provided haystack text to replace, returning replaced text.

+

Arguments:

+

rustg_acreplace_with_replacements + + + +

+

Run the specified replacement engine with the provided haystack text to replace, returning replaced text.

+

Arguments:

+

rustg_cnoise_generate + + + +

+

This proc generates a cellular automata noise grid which can be used in procedural generation methods.

+

Returns a single string that goes row by row, with values of 1 representing an alive cell, and a value of 0 representing a dead cell.

+

Arguments:

+

rustg_setup_acreplace + + + +

+

Sets up the Aho-Corasick automaton with its default options.

+

The search patterns list and the replacements must be of the same length when replace is run, but an empty replacements list is allowed if replacements are supplied with the replace call +Arguments:

+

rustg_setup_acreplace_with_options + + + +

+

Sets up the Aho-Corasick automaton using supplied options.

+

The search patterns list and the replacements must be of the same length when replace is run, but an empty replacements list is allowed if replacements are supplied with the replace call +Arguments:

+
+ + + diff --git a/code/__DEFINES/spawner/_spawner.html b/code/__DEFINES/spawner/_spawner.html new file mode 100644 index 00000000000..bde39349d9a --- /dev/null +++ b/code/__DEFINES/spawner/_spawner.html @@ -0,0 +1,33 @@ + + + + + + + code/__DEFINES/spawner/_spawner.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Define Details
+
+

code/__DEFINES/spawner/_spawner.dm + +

+ + +
MERGE_SPAWN_TAGSNon-Signal Component Related Defines

Define Details

+

MERGE_SPAWN_TAGS + + + +

+

Non-Signal Component Related Defines

+ + + diff --git a/code/__DEFINES/subsystems.html b/code/__DEFINES/subsystems.html new file mode 100644 index 00000000000..dca44ddded6 --- /dev/null +++ b/code/__DEFINES/subsystems.html @@ -0,0 +1,155 @@ + + + + + + + code/__DEFINES/subsystems.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Define Details
+
+

code/__DEFINES/subsystems.dm + +

+ + + + + + + + + + + + + + + + + + + + + + +

Timing subsystem

TIMER_UNIQUEDon't run if there is an identical unique timer active
TIMER_OVERRIDEFor unique timers: Replace the old timer rather then not start this one
TIMER_CLIENT_TIMETiming should be based on how timing progresses on clients, not the server.
TIMER_STOPPABLETimer can be stopped using deltimer()
TIMER_NO_HASH_WAITprevents distinguishing identical timers with the wait variable
TIMER_LOOPLoops the timer repeatedly until qdeleted
TIMER_DELETE_MEDelete the timer on parent datum Destroy() and when deltimer'd
TIMER_ID_NULLEmpty ID define

Initialization subsystem

INITIALIZATION_INSSATOMSNew should not call Initialize
INITIALIZATION_INNEW_MAPLOADNew should call Initialize(TRUE)
INITIALIZATION_INNEW_REGULARNew should call Initialize(FALSE)

Initialization hints

INITIALIZE_HINT_NORMALNothing happens
INITIALIZE_HINT_LATELOADcall LateInitialize at the end of all atom Initalization
INITIALIZE_HINT_QDELCall qdel on the atom after intialization
INITIALIZE_HINT_QDEL_FORCECall qdel with a force of TRUE after initialization
INITIALIZE_IMMEDIATEtype and all subtypes should always immediately call Initialize in New()
SS_INIT_TIMER_KEYThe timer key used to know how long subsystem initialization takes
addtimerCreate a new timer and add it to the queue.

Define Details

+

INITIALIZATION_INNEW_MAPLOAD + + +

+

New should call Initialize(TRUE)

INITIALIZATION_INNEW_REGULAR + + +

+

New should call Initialize(FALSE)

INITIALIZATION_INSSATOMS + + +

+

New should not call Initialize

INITIALIZE_HINT_LATELOAD + + +

+

call LateInitialize at the end of all atom Initalization

+

The item will be added to the late_loaders list, this is iterated over after +initalization of subsystems is complete and calls LateInitalize on the atom +see this file for the LateIntialize proc

INITIALIZE_HINT_NORMAL + + +

+

Nothing happens

INITIALIZE_HINT_QDEL + + +

+

Call qdel on the atom after intialization

INITIALIZE_HINT_QDEL_FORCE + + +

+

Call qdel with a force of TRUE after initialization

INITIALIZE_IMMEDIATE + + + +

+

type and all subtypes should always immediately call Initialize in New()

SS_INIT_TIMER_KEY + + +

+

The timer key used to know how long subsystem initialization takes

TIMER_CLIENT_TIME + + +

+

Timing should be based on how timing progresses on clients, not the server.

+

Tracking this is more expensive, +should only be used in conjuction with things that have to progress client side, such as +animate() or sound()

TIMER_DELETE_ME + + +

+

Delete the timer on parent datum Destroy() and when deltimer'd

TIMER_ID_NULL + + +

+

Empty ID define

TIMER_LOOP + + +

+

Loops the timer repeatedly until qdeleted

+

In most cases you want a subsystem instead, so don't use this unless you have a good reason

TIMER_NO_HASH_WAIT + + +

+

prevents distinguishing identical timers with the wait variable

+

To be used with TIMER_UNIQUE

TIMER_OVERRIDE + + +

+

For unique timers: Replace the old timer rather then not start this one

TIMER_STOPPABLE + + +

+

Timer can be stopped using deltimer()

TIMER_UNIQUE + + +

+

Don't run if there is an identical unique timer active

+

if the arguments to addtimer are the same as an existing timer, it doesn't create a new timer, +and returns the id of the existing timer

addtimer + + + +

+

Create a new timer and add it to the queue.

+
+ + + diff --git a/code/__DEFINES/tgui.html b/code/__DEFINES/tgui.html new file mode 100644 index 00000000000..e65916b5b06 --- /dev/null +++ b/code/__DEFINES/tgui.html @@ -0,0 +1,100 @@ + + + + + + + code/__DEFINES/tgui.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Define Details
+
+

code/__DEFINES/tgui.dm + +

+ + + + + + + + + + + + + + + +
UI_INTERACTIVEGreen eye; fully interactive
UI_UPDATEOrange eye; updates but is not interactive
UI_DISABLEDRed eye; disabled, does not update
UI_CLOSEUI Should close
TGUI_WINDOW_SOFT_LIMITMaximum number of windows that can be suspended/reused
TGUI_WINDOW_HARD_LIMITMaximum number of open windows
TGUI_PING_TIMEOUTMaximum ping timeout allowed to detect zombie windows
TGUI_REFRESH_FULL_UPDATE_COOLDOWNUsed for rate-limiting to prevent DoS by excessively refreshing a TGUI window
TGUI_WINDOW_CLOSEDWindow does not exist
TGUI_WINDOW_LOADINGWindow was just opened, but is still not ready to be sent data
TGUI_WINDOW_READYWindow is free and ready to receive data
TGUI_WINDOW_IDGet a window id based on the provided pool index
TGUI_WINDOW_INDEXGet a pool index of the provided window id
TGUI_CREATE_MESSAGECreates a message packet for sending via output()

Define Details

+

TGUI_CREATE_MESSAGE + + + +

+

Creates a message packet for sending via output()

TGUI_PING_TIMEOUT + + +

+

Maximum ping timeout allowed to detect zombie windows

TGUI_REFRESH_FULL_UPDATE_COOLDOWN + + +

+

Used for rate-limiting to prevent DoS by excessively refreshing a TGUI window

TGUI_WINDOW_CLOSED + + +

+

Window does not exist

TGUI_WINDOW_HARD_LIMIT + + +

+

Maximum number of open windows

TGUI_WINDOW_ID + + + +

+

Get a window id based on the provided pool index

TGUI_WINDOW_INDEX + + + +

+

Get a pool index of the provided window id

TGUI_WINDOW_LOADING + + +

+

Window was just opened, but is still not ready to be sent data

TGUI_WINDOW_READY + + +

+

Window is free and ready to receive data

TGUI_WINDOW_SOFT_LIMIT + + +

+

Maximum number of windows that can be suspended/reused

UI_CLOSE + + +

+

UI Should close

UI_DISABLED + + +

+

Red eye; disabled, does not update

UI_INTERACTIVE + + +

+

Green eye; fully interactive

UI_UPDATE + + +

+

Orange eye; updates but is not interactive

+ + + diff --git a/code/__DEFINES/tick.html b/code/__DEFINES/tick.html new file mode 100644 index 00000000000..306ca738bb1 --- /dev/null +++ b/code/__DEFINES/tick.html @@ -0,0 +1,47 @@ + + + + + + + code/__DEFINES/tick.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Define Details
+
+

code/__DEFINES/tick.dm + +

+ + + + + +
MAPTICK_MC_MIN_RESERVEPercentage of tick to leave for master controller to run
TICK_LIMIT_TO_RUNTick limit used to resume things in stoplag
TICK_LIMIT_MCTick limit for MC while running
TICK_LIMIT_MC_INIT_DEFAULTTick limit while initializing

Define Details

+

MAPTICK_MC_MIN_RESERVE + + +

+

Percentage of tick to leave for master controller to run

TICK_LIMIT_MC + + +

+

Tick limit for MC while running

TICK_LIMIT_MC_INIT_DEFAULT + + +

+

Tick limit while initializing

TICK_LIMIT_TO_RUN + + +

+

Tick limit used to resume things in stoplag

+ + + diff --git a/code/__DEFINES/verb_manager.html b/code/__DEFINES/verb_manager.html new file mode 100644 index 00000000000..39017b8b6ba --- /dev/null +++ b/code/__DEFINES/verb_manager.html @@ -0,0 +1,76 @@ + + + + + + + code/__DEFINES/verb_manager.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Define Details
+
+

code/__DEFINES/verb_manager.dm + +

+ + + + + + +
VERB_OVERTIME_QUEUE_THRESHOLDverb queuing thresholds. remember that since verbs execute after SendMaps the player wont see the effects of the verbs on the game world +until SendMaps executes next tick, and then when that later update reaches them. thus most player input has a minimum latency of world.tick_lag + player ping. +however thats only for the visual effect of player input, when a verb processes the actual latency of game state changes or semantic latency is effectively 1/2 player ping, +unless that verb is queued for the next tick in which case its some number probably smaller than world.tick_lag. +so some verbs that represent player input are important enough that we only introduce semantic latency if we absolutely need to. +its for this reason why player clicks are handled in SSinput before even movement - semantic latency could cause someone to move out of range +when the verb finally processes but it was in range if the verb had processed immediately and overtimed. +queuing tick_usage threshold for verbs that are high enough priority that they only queue if the server is overtiming. +ONLY use for critical verbs
VERB_HIGH_PRIORITY_QUEUE_THRESHOLDqueuing tick_usage threshold for verbs that need lower latency more than most verbs.
VERB_DEFAULT_QUEUE_THRESHOLDdefault queuing tick_usage threshold for most verbs which can allow a small amount of latency to be processed in the next tick
TRY_QUEUE_VERBattempt to queue this verb process if the server is overloaded. evaluates to FALSE if queuing isnt necessary or if it failed. +_verification_args... are only necessary if the verb_manager subsystem youre using checks them in can_queue_verb() +if you put anything in _verification_args that ISNT explicitely put in the can_queue_verb() override of the subsystem youre using, +it will runtime.
QUEUE_OR_CALL_VERBqueue wrapper for TRY_QUEUE_VERB() when you want to call the proc if the server isnt overloaded enough to queue

Define Details

+

QUEUE_OR_CALL_VERB + + + +

+

queue wrapper for TRY_QUEUE_VERB() when you want to call the proc if the server isnt overloaded enough to queue

TRY_QUEUE_VERB + + + +

+

attempt to queue this verb process if the server is overloaded. evaluates to FALSE if queuing isnt necessary or if it failed. +_verification_args... are only necessary if the verb_manager subsystem youre using checks them in can_queue_verb() +if you put anything in _verification_args that ISNT explicitely put in the can_queue_verb() override of the subsystem youre using, +it will runtime.

VERB_DEFAULT_QUEUE_THRESHOLD + + +

+

default queuing tick_usage threshold for most verbs which can allow a small amount of latency to be processed in the next tick

VERB_HIGH_PRIORITY_QUEUE_THRESHOLD + + +

+

queuing tick_usage threshold for verbs that need lower latency more than most verbs.

VERB_OVERTIME_QUEUE_THRESHOLD + + +

+

verb queuing thresholds. remember that since verbs execute after SendMaps the player wont see the effects of the verbs on the game world +until SendMaps executes next tick, and then when that later update reaches them. thus most player input has a minimum latency of world.tick_lag + player ping. +however thats only for the visual effect of player input, when a verb processes the actual latency of game state changes or semantic latency is effectively 1/2 player ping, +unless that verb is queued for the next tick in which case its some number probably smaller than world.tick_lag. +so some verbs that represent player input are important enough that we only introduce semantic latency if we absolutely need to. +its for this reason why player clicks are handled in SSinput before even movement - semantic latency could cause someone to move out of range +when the verb finally processes but it was in range if the verb had processed immediately and overtimed. +queuing tick_usage threshold for verbs that are high enough priority that they only queue if the server is overtiming. +ONLY use for critical verbs

+ + + diff --git a/code/__HELPERS/_lists.html b/code/__HELPERS/_lists.html new file mode 100644 index 00000000000..31fa4f388c2 --- /dev/null +++ b/code/__HELPERS/_lists.html @@ -0,0 +1,57 @@ + + + + + + + code/__HELPERS/_lists.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Define Details
+
+

code/__HELPERS/_lists.dm + +

+ + + + + + +
COMPARE_KEYPassed into BINARY_INSERT to compare keys
COMPARE_VALUEPassed into BINARY_INSERT to compare values
BINARY_INSERTBinary search sorted insert +INPUT: Object to be inserted +LIST: List to insert object into +TYPECONT: The typepath of the contents of the list +COMPARE: The object to compare against, usualy the same as INPUT +COMPARISON: The variable on the objects to compare +COMPTYPE: How should the values be compared? Either COMPARE_KEY or COMPARE_VALUE.
/proc/bitfield_to_listConverts a bitfield to a list of numbers (or words if a wordlist is provided)

Define Details

+

BINARY_INSERT + + + +

+

Binary search sorted insert +INPUT: Object to be inserted +LIST: List to insert object into +TYPECONT: The typepath of the contents of the list +COMPARE: The object to compare against, usualy the same as INPUT +COMPARISON: The variable on the objects to compare +COMPTYPE: How should the values be compared? Either COMPARE_KEY or COMPARE_VALUE.

COMPARE_KEY + + +

+

Passed into BINARY_INSERT to compare keys

COMPARE_VALUE + + +

+

Passed into BINARY_INSERT to compare values

+ + + diff --git a/code/__HELPERS/_logging.html b/code/__HELPERS/_logging.html new file mode 100644 index 00000000000..c29f87224dd --- /dev/null +++ b/code/__HELPERS/_logging.html @@ -0,0 +1,30 @@ + + + + + + + code/__HELPERS/_logging.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/__HELPERS/_logging.dm + +

+ + + + + +
/proc/log_tguiAppends a tgui-related log entry. All arguments are optional.
/proc/log_mappingLogging for mapping errors
+ + + diff --git a/code/__HELPERS/files.html b/code/__HELPERS/files.html new file mode 100644 index 00000000000..2f30ec110df --- /dev/null +++ b/code/__HELPERS/files.html @@ -0,0 +1,31 @@ + + + + + + + code/__HELPERS/files.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/__HELPERS/files.dm + +

+ + + + + +
/proc/md5filepathReturns the md5 of a file at a given path.
/proc/md5asfileSave file as an external file then md5 it. +Used because md5ing files stored in the rsc sometimes gives incorrect md5 results.
+ + + diff --git a/code/__HELPERS/game.html b/code/__HELPERS/game.html new file mode 100644 index 00000000000..1d02e235556 --- /dev/null +++ b/code/__HELPERS/game.html @@ -0,0 +1,29 @@ + + + + + + + code/__HELPERS/game.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/__HELPERS/game.dm + +

+ + + +
/proc/getOPressureDifferentialGets the highest and lowest pressures from the tiles in cardinal directions +around us, then checks the difference.
+ + + diff --git a/code/__HELPERS/global_lists.html b/code/__HELPERS/global_lists.html new file mode 100644 index 00000000000..4ae87f561bf --- /dev/null +++ b/code/__HELPERS/global_lists.html @@ -0,0 +1,28 @@ + + + + + + + code/__HELPERS/global_lists.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/__HELPERS/global_lists.dm + +

+ + + +
/proc/makeDatumRefListsInitial Building
+ + + diff --git a/code/__HELPERS/icons.html b/code/__HELPERS/icons.html new file mode 100644 index 00000000000..331869c5bde --- /dev/null +++ b/code/__HELPERS/icons.html @@ -0,0 +1,38 @@ + + + + + + + code/__HELPERS/icons.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/__HELPERS/icons.dm + +

+ + + + + + + + + +
/proc/getFlatTypeIconalways_use_defdir IS DEPRICATED
/proc/getFlatIconCreate a single [/icon] from a given /atom or /image.
/proc/generate_asset_nameGenerate a filename for this asset +The same asset will always lead to the same asset name +(Generated names do not include file extention.)
/proc/icon2base64Converts an icon to base64. Operates by putting the icon in the iconCache savefile, +exporting it as text, and then parsing the base64 from that. +(This relies on byond automatically storing icons in savefiles as base64)
+ + + diff --git a/code/__HELPERS/mobs.html b/code/__HELPERS/mobs.html new file mode 100644 index 00000000000..5c77d3b8f7d --- /dev/null +++ b/code/__HELPERS/mobs.html @@ -0,0 +1,35 @@ + + + + + + + code/__HELPERS/mobs.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Define Details
+
+

code/__HELPERS/mobs.dm + +

+ + +
GET_CLIENTGets the client of the mob, allowing for mocking of the client. +You only need to use this if you know you're going to be mocking clients somewhere else.

Define Details

+

GET_CLIENT + + + +

+

Gets the client of the mob, allowing for mocking of the client. +You only need to use this if you know you're going to be mocking clients somewhere else.

+ + + diff --git a/code/__HELPERS/text.html b/code/__HELPERS/text.html new file mode 100644 index 00000000000..629b9b31e15 --- /dev/null +++ b/code/__HELPERS/text.html @@ -0,0 +1,29 @@ + + + + + + + code/__HELPERS/text.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/__HELPERS/text.dm + +

+ + + +
/proc/strip_improperStrip out the special beyond characters for \proper and \improper +from text that will be sent to the browser.
+ + + diff --git a/code/__HELPERS/type2type.html b/code/__HELPERS/type2type.html new file mode 100644 index 00000000000..f312dea0edb --- /dev/null +++ b/code/__HELPERS/type2type.html @@ -0,0 +1,29 @@ + + + + + + + code/__HELPERS/type2type.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/__HELPERS/type2type.dm + +

+ + + +
/proc/url2htmlloaderReturn html to load a url. +for use inside of browse() calls to html assets that might be loaded on a cdn.
+ + + diff --git a/code/__HELPERS/unsorted.html b/code/__HELPERS/unsorted.html new file mode 100644 index 00000000000..08b40899a65 --- /dev/null +++ b/code/__HELPERS/unsorted.html @@ -0,0 +1,30 @@ + + + + + + + code/__HELPERS/unsorted.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/__HELPERS/unsorted.dm + +

+ + + +
/proc/REF\ref behaviour got changed in 512 so this is necesary to replicate old behaviour. +If it ever becomes necesary to get a more performant REF(), this lies here in wait +#define REF(thing) (thing && isdatum(thing) && (thing:datum_flags & DF_USE_TAG) && thing:tag ? "[thing:tag]" : "\ref[thing]")
+ + + diff --git a/code/__HELPERS/verbs.html b/code/__HELPERS/verbs.html new file mode 100644 index 00000000000..24721f42d8f --- /dev/null +++ b/code/__HELPERS/verbs.html @@ -0,0 +1,31 @@ + + + + + + + code/__HELPERS/verbs.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/__HELPERS/verbs.dm + +

+ + + + + + +
/procpathRepresents a proc or verb path.
/proc/add_verbhandles adding verbs and updating the stat panel browser
/proc/remove_verbhandles removing verb and sending it to browser to update, use this for removing verbs
+ + + diff --git a/code/_compile_options.html b/code/_compile_options.html new file mode 100644 index 00000000000..82f6c4df2ca --- /dev/null +++ b/code/_compile_options.html @@ -0,0 +1,45 @@ + + + + + + + code/_compile_options.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Define Details
+
+

code/_compile_options.dm + +

+ + + + +
PROC_REFCall by name proc reference, checks if the proc exists on this type or as a global proc
TYPE_PROC_REFCall by name proc reference, checks if the proc exists on given type or as a global proc
GLOBAL_PROC_REFCall by name proc reference, checks if the proc is existing global proc

Define Details

+

GLOBAL_PROC_REF + + + +

+

Call by name proc reference, checks if the proc is existing global proc

PROC_REF + + + +

+

Call by name proc reference, checks if the proc exists on this type or as a global proc

TYPE_PROC_REF + + + +

+

Call by name proc reference, checks if the proc exists on given type or as a global proc

+ + + diff --git a/code/client_macros.html b/code/client_macros.html new file mode 100644 index 00000000000..4e2b1d2da4f --- /dev/null +++ b/code/client_macros.html @@ -0,0 +1,27 @@ + + + + + + + code/client_macros.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/client_macros.dm + +

+ + +
/clientClient datum
+ + + diff --git a/code/controllers/failsafe.html b/code/controllers/failsafe.html new file mode 100644 index 00000000000..c69626f5e08 --- /dev/null +++ b/code/controllers/failsafe.html @@ -0,0 +1,32 @@ + + + + + + + code/controllers/failsafe.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/controllers/failsafe.dm + +

+ + + + + + + +
/var/FailsafeFailsafe
/proc/recover_all_SS_and_recreate_masterRecreate all SSs which will still cause data survive due to Recover(), the new Master will then find and take them from global.vars
/proc/delete_all_SS_and_recreate_masterDelete all existing SS to basically start over
+ + + diff --git a/code/controllers/hooks-defs.html b/code/controllers/hooks-defs.html new file mode 100644 index 00000000000..a6699f55cff --- /dev/null +++ b/code/controllers/hooks-defs.html @@ -0,0 +1,59 @@ + + + + + + + code/controllers/hooks-defs.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/controllers/hooks-defs.dm + +

+ + + + + + + + + + + + + +
/hook/startupStartup hook. +Called in world.dm when the server starts.
/hook/roundstartRoundstart hook. +Called in gameticker.dm when a round starts.
/hook/roundendRoundend hook. +Called in gameticker.dm when a round ends.
/hook/deathDeath hook. +Called in death.dm when someone dies. +Parameters: var/mob/living/carbon/human, var/gibbed
/hook/cloneCloning hook. +Called in cloning.dm when someone is brought back by the wonders of modern science. +Parameters: var/mob/living/carbon/human
/hook/debrainDebrained hook. +Called in brain_item.dm when someone gets debrained. +Parameters: var/obj/item/organ/internal/vital/brain
/hook/borgifyBorged hook. +Called in robot_parts.dm when someone gets turned into a cyborg. +Parameters: var/mob/living/silicon/robot
/hook/revoke_payrollPayroll revoked hook. +Called in Accounts_DB.dm when someone's payroll is stolen at the Accounts terminal. +Parameters: var/datum/money_account
/hook/change_account_statusAccount suspension hook. +Called in Accounts_DB.dm when someone's account is suspended or unsuspended at the Accounts terminal. +Parameters: var/datum/money_account
/hook/reassign_employeeEmployee reassignment hook. +Called in card.dm when someone's card is reassigned at the HoP's desk. +Parameters: var/obj/item/card/id
/hook/terminate_employeeEmployee terminated hook. +Called in card.dm when someone's card is terminated at the HoP's desk. +Parameters: var/obj/item/card/id
/hook/sell_crateCrate sold hook. +Called in supplyshuttle.dm when a crate is sold on the shuttle. +Parameters: var/obj/structure/closet/crate/sold, var/area/shuttle
+ + + diff --git a/code/controllers/hooks.html b/code/controllers/hooks.html new file mode 100644 index 00000000000..63dc3653f71 --- /dev/null +++ b/code/controllers/hooks.html @@ -0,0 +1,29 @@ + + + + + + + code/controllers/hooks.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/controllers/hooks.dm + +

+ + + +
/proc/callHook@file hooks.dm +Implements hooks, a simple way to run code on pre-defined events.
+ + + diff --git a/code/controllers/master.html b/code/controllers/master.html new file mode 100644 index 00000000000..ab0d7ed5d72 --- /dev/null +++ b/code/controllers/master.html @@ -0,0 +1,32 @@ + + + + + + + code/controllers/master.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/controllers/master.dm + +

+ + + + +
/var/DebuggerStonedMC
/datum/controller/masterStart of queue linked list +End of queue linked list (used for appending to the list) +Are we loading in a new map? +for scheduling different subsystems for different stages of the round
+ + + diff --git a/code/controllers/subsystem.html b/code/controllers/subsystem.html new file mode 100644 index 00000000000..88b7558d7ea --- /dev/null +++ b/code/controllers/subsystem.html @@ -0,0 +1,27 @@ + + + + + + + code/controllers/subsystem.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/controllers/subsystem.dm + +

+ + +
/datum/controller/subsystemDefines a subsystem to be managed by the Master Controller
+ + + diff --git a/code/controllers/subsystems/chunks.html b/code/controllers/subsystems/chunks.html new file mode 100644 index 00000000000..ce9d2787f6c --- /dev/null +++ b/code/controllers/subsystems/chunks.html @@ -0,0 +1,28 @@ + + + + + + + code/controllers/subsystems/chunks.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/controllers/subsystems/chunks.dm + +

+ + +
/datum/chunkThis subsystem is meant for anything that should not be employing byond view() and is generally very constraining to keep track of +For now it only has mobs and hearers, but it should also include sanity , signal receivers , and anything that is very frequently
+ + + diff --git a/code/controllers/subsystems/garbage.html b/code/controllers/subsystems/garbage.html new file mode 100644 index 00000000000..7f465278c3d --- /dev/null +++ b/code/controllers/subsystems/garbage.html @@ -0,0 +1,56 @@ + + + + + + + code/controllers/subsystems/garbage.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/controllers/subsystems/garbage.dm + +

+ + + + + + +

Debugging GC issues

+

In order to debug qdel() failures, there are several tools available. +To enable these tools, define TESTING in _compile_options.dm.

+

First is a verb called "Find References", which lists every refererence to an object in the world. This allows you to track down any indirect or obfuscated references that you might have missed.

+

Complementing this is another verb, "qdel() then Find References". +This does exactly what you'd expect; it calls qdel() on the object and then it finds all references remaining. +This is great, because it means that Destroy() will have been called before it starts to find references, +so the only references you'll find will be the ones preventing the object from qdel()ing gracefully.

+

If you have a datum or something you are not destroying directly (say via the singulo), +the next tool is QDEL_HINT_FINDREFERENCE. You can return this in Destroy() (where you would normally return ..()), +to print a list of references once it enters the GC queue.

+

Finally is a verb, "Show qdel() Log", which shows the deletion log that the garbage subsystem keeps. This is helpful if you are having race conditions or need to review the order of deletions.

+

Note that for any of these tools to work TESTING must be defined. +By using these methods of finding references, you can make your life far, far easier when dealing with qdel() failures.

/datum/qdel_itemQdel Item: Holds statistics on each type that passes thru qdel +Holds the type as a string for this type +Total number of times it's passed thru qdel. +Total amount of milliseconds spent processing this type's Destroy() +Times it was queued for soft deletion but failed to soft delete. +Different from failures because it also includes QDEL_HINT_HARDDEL deletions +Total amount of milliseconds spent hard deleting this type. +Highest time spent hard_deleting this in ms. +Number of times hard deletes took longer than the configured threshold +Number of times it's not respected force=TRUE +Number of times it's not even bother to give a qdel hint +Number of times it's slept in its destroy

Flags related to this type's trip thru qdel.

+
/proc/qdelShould be treated as a replacement for the 'del' keyword.
+ + + diff --git a/code/controllers/subsystems/jobs.html b/code/controllers/subsystems/jobs.html new file mode 100644 index 00000000000..88825d2472d --- /dev/null +++ b/code/controllers/subsystems/jobs.html @@ -0,0 +1,32 @@ + + + + + + + code/controllers/subsystems/jobs.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Define Details
+
+

code/controllers/subsystems/jobs.dm + +

+ + +
PERMITTED_QUERIES_IN_TOTALYou get 25 queries as the cap.

Define Details

+

PERMITTED_QUERIES_IN_TOTAL + + +

+

You get 25 queries as the cap.

+ + + diff --git a/code/controllers/subsystems/migration.html b/code/controllers/subsystems/migration.html new file mode 100644 index 00000000000..463563abedc --- /dev/null +++ b/code/controllers/subsystems/migration.html @@ -0,0 +1,28 @@ + + + + + + + code/controllers/subsystems/migration.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/controllers/subsystems/migration.dm + +

+ + + +
/proc/find_nearby_burrowBurrow Finding and Sorting
+ + + diff --git a/code/controllers/subsystems/tgui.html b/code/controllers/subsystems/tgui.html new file mode 100644 index 00000000000..d1ab8a1a17c --- /dev/null +++ b/code/controllers/subsystems/tgui.html @@ -0,0 +1,30 @@ + + + + + + + code/controllers/subsystems/tgui.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/controllers/subsystems/tgui.dm + +

+ + + + +

Copyright (c) 2020 Aleksej Komarov +SPDX-License-Identifier: MIT

/var/SStguitgui subsystem
+ + + diff --git a/code/controllers/subsystems/throwing.html b/code/controllers/subsystems/throwing.html new file mode 100644 index 00000000000..5b9d593c76a --- /dev/null +++ b/code/controllers/subsystems/throwing.html @@ -0,0 +1,47 @@ + + + + + + + code/controllers/subsystems/throwing.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Define Details
+
+

code/controllers/subsystems/throwing.dm + +

+ + + + + +
I_TARGETIndex for target
I_SPEEDIndex for speed
I_RANGEIndex for range
I_MOVEDIndex for amount of turfs we alreathrowing_queue[thing][I_DY] moved by

Define Details

+

I_MOVED + + +

+

Index for amount of turfs we alreathrowing_queue[thing][I_DY] moved by

I_RANGE + + +

+

Index for range

I_SPEED + + +

+

Index for speed

I_TARGET + + +

+

Index for target

+ + + diff --git a/code/controllers/subsystems/timer.html b/code/controllers/subsystems/timer.html new file mode 100644 index 00000000000..c18052c7748 --- /dev/null +++ b/code/controllers/subsystems/timer.html @@ -0,0 +1,60 @@ + + + + + + + code/controllers/subsystems/timer.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Define Details
+
+

code/controllers/subsystems/timer.dm + +

+ + + + + + + + + + + + + + +
BUCKET_LENControls how many buckets should be kept, each representing a tick. (1 minutes worth)
BUCKET_POSHelper for getting the correct bucket for a given timer
TIMER_MAXGets the maximum time at which timers will be invoked from buckets, used for deferring to secondary queue
TIMER_ID_MAXMax float with integer precision
/var/SStimer
/datum/timedeventThis is the actual timer, it contains the callback and necessary data to maintain +the timer.
/proc/_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.
/proc/deltimerDelete a timer
/proc/timeleftGet the remaining deciseconds on a timer

Define Details

+

BUCKET_LEN + + +

+

Controls how many buckets should be kept, each representing a tick. (1 minutes worth)

BUCKET_POS + + + +

+

Helper for getting the correct bucket for a given timer

TIMER_ID_MAX + + +

+

Max float with integer precision

TIMER_MAX + + + +

+

Gets the maximum time at which timers will be invoked from buckets, used for deferring to secondary queue

+ + + diff --git a/code/controllers/subsystems/verb_manager.html b/code/controllers/subsystems/verb_manager.html new file mode 100644 index 00000000000..36c36083a98 --- /dev/null +++ b/code/controllers/subsystems/verb_manager.html @@ -0,0 +1,32 @@ + + + + + + + code/controllers/subsystems/verb_manager.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/controllers/subsystems/verb_manager.dm + +

+ + + + + +
/var/SSverb_managerSSverb_manager, a subsystem that runs every tick and runs through its entire queue without yielding like SSinput. +this exists because of how the byond tick works and where user inputted verbs are put within it.
/proc/_queue_verbqueue a callback for the given verb/verblike proc and any given arguments to the specified verb subsystem, so that they process in the next tick. +intended to only work with verbs or verblike procs called directly from client input, use as part of TRY_QUEUE_VERB() and co.
+ + + diff --git a/code/controllers/subsystems/voting/poll_types.html b/code/controllers/subsystems/voting/poll_types.html new file mode 100644 index 00000000000..96f6b1fb96e --- /dev/null +++ b/code/controllers/subsystems/voting/poll_types.html @@ -0,0 +1,29 @@ + + + + + + + code/controllers/subsystems/voting/poll_types.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/controllers/subsystems/voting/poll_types.dm + +

+ + + + +
/datum/poll/restartVOTES
/datum/poll/storytellerStoryteller
/datum/poll/evacEvacuate Ship
+ + + diff --git a/code/datums/ai_law_sets.html b/code/datums/ai_law_sets.html new file mode 100644 index 00000000000..eb457b7a363 --- /dev/null +++ b/code/datums/ai_law_sets.html @@ -0,0 +1,41 @@ + + + + + + + code/datums/ai_law_sets.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/datums/ai_law_sets.dm + +

+ + + + + + + + + + + + + + + + +
/datum/ai_laws/asimovAsimov
/datum/ai_laws/erisNanotrasen/Malf
/datum/ai_laws/nanotrasen_aggressiveNanotrasen Aggressive
/datum/ai_laws/robocopRobocop
/datum/ai_laws/syndicate_overrideSyndicate
/datum/ai_laws/antimovAntimov
/datum/ai_laws/droneDrone
/datum/ai_laws/tyrantT.Y.R.A.N.T.
/datum/ai_laws/paladinP.A.L.A.D.I.N.
/datum/ai_laws/corporateCorporate
/datum/ai_laws/blitzshellBlitzshell
/datum/ai_laws/partybotPartybot
/datum/ai_laws/chefbotChefbot
/datum/ai_laws/travelguideTravelGuide
/datum/ai_laws/friendbotFriendbot
+ + + diff --git a/code/datums/callback.html b/code/datums/callback.html new file mode 100644 index 00000000000..c86d2bdb883 --- /dev/null +++ b/code/datums/callback.html @@ -0,0 +1,30 @@ + + + + + + + code/datums/callback.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/datums/callback.dm + +

+ + + + + +
/datum/callbackA datum that holds a proc to be called on another object, used to track proccalls to other objects
/datum/callback_selectHelper datum for the select callbacks proc
/proc/callback_selectRuns a list of callbacks asyncronously, returning only when all have finished
+ + + diff --git a/code/datums/category.html b/code/datums/category.html new file mode 100644 index 00000000000..641e07626ee --- /dev/null +++ b/code/datums/category.html @@ -0,0 +1,29 @@ + + + + + + + code/datums/category.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/datums/category.dm + +

+ + + + +
/datum/category_collectionCategory Collection
/datum/category_groupCategory Groups
/datum/category_itemCategory Items
+ + + diff --git a/code/datums/components/_component.html b/code/datums/components/_component.html new file mode 100644 index 00000000000..04739f50e64 --- /dev/null +++ b/code/datums/components/_component.html @@ -0,0 +1,27 @@ + + + + + + + code/datums/components/_component.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/datums/components/_component.dm + +

+ + +
/datum/componentThe component datum
+ + + diff --git a/code/datums/components/overlay_manager.html b/code/datums/components/overlay_manager.html new file mode 100644 index 00000000000..73a5a215aa0 --- /dev/null +++ b/code/datums/components/overlay_manager.html @@ -0,0 +1,27 @@ + + + + + + + code/datums/components/overlay_manager.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/datums/components/overlay_manager.dm + +

+ + +
/datum/component/overlay_managerManages overlays based off a key
+ + + diff --git a/code/datums/craft/recipes/furniture.html b/code/datums/craft/recipes/furniture.html new file mode 100644 index 00000000000..cdecac6cfb0 --- /dev/null +++ b/code/datums/craft/recipes/furniture.html @@ -0,0 +1,27 @@ + + + + + + + code/datums/craft/recipes/furniture.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/datums/craft/recipes/furniture.dm + +

+ + +
/datum/craft_recipe/furniture/drying_rackdatum/craft_recipe/furniture/campfire
+ + + diff --git a/code/datums/craft/recipes/tools.html b/code/datums/craft/recipes/tools.html new file mode 100644 index 00000000000..decb686526b --- /dev/null +++ b/code/datums/craft/recipes/tools.html @@ -0,0 +1,27 @@ + + + + + + + code/datums/craft/recipes/tools.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/datums/craft/recipes/tools.dm + +

+ + +
/datum/craft_recipe/tool/braceTOOL MODS
+ + + diff --git a/code/datums/datum.html b/code/datums/datum.html new file mode 100644 index 00000000000..8dfd892024e --- /dev/null +++ b/code/datums/datum.html @@ -0,0 +1,27 @@ + + + + + + + code/datums/datum.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/datums/datum.dm + +

+ + +
/datumThe absolute base class for everything
+ + + diff --git a/code/datums/datum_click_handlers.html b/code/datums/datum_click_handlers.html new file mode 100644 index 00000000000..3227eeb5969 --- /dev/null +++ b/code/datums/datum_click_handlers.html @@ -0,0 +1,28 @@ + + + + + + + code/datums/datum_click_handlers.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/datums/datum_click_handlers.dm + +

+ + + +
/datum/click_handler/fullautoFull auto gunfire
/datum/click_handler/aiAI Control
+ + + diff --git a/code/datums/elements/_element.html b/code/datums/elements/_element.html new file mode 100644 index 00000000000..a63685e1ab0 --- /dev/null +++ b/code/datums/elements/_element.html @@ -0,0 +1,27 @@ + + + + + + + code/datums/elements/_element.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/datums/elements/_element.dm + +

+ + +
/datum/elementA holder for simple behaviour that can be attached to many different types
+ + + diff --git a/code/datums/helper_datums/stack_end_detector.html b/code/datums/helper_datums/stack_end_detector.html new file mode 100644 index 00000000000..5a88e7fa2f1 --- /dev/null +++ b/code/datums/helper_datums/stack_end_detector.html @@ -0,0 +1,29 @@ + + + + + + + code/datums/helper_datums/stack_end_detector.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/datums/helper_datums/stack_end_detector.dm + +

+ + + +
/datum/stack_end_detectorStack End Detector. +Can detect if a given code stack has exited, used by the mc for stack overflow detection.
/datum/stack_canaryStack canary. Will go away if the stack it was primed by is ended by byond for return or stack overflow reasons.
+ + + diff --git a/code/datums/mocking/client.html b/code/datums/mocking/client.html new file mode 100644 index 00000000000..11c013d7f3b --- /dev/null +++ b/code/datums/mocking/client.html @@ -0,0 +1,27 @@ + + + + + + + code/datums/mocking/client.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/datums/mocking/client.dm + +

+ + +
/datum/client_interfaceThis should match the interface of /client wherever necessary.
+ + + diff --git a/code/datums/movement/movement.html b/code/datums/movement/movement.html new file mode 100644 index 00000000000..22069b79f06 --- /dev/null +++ b/code/datums/movement/movement.html @@ -0,0 +1,27 @@ + + + + + + + code/datums/movement/movement.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/datums/movement/movement.dm + +

+ + +
/datum/movement_handler/mob/mob
+ + + diff --git a/code/datums/movement/robot.html b/code/datums/movement/robot.html new file mode 100644 index 00000000000..cfbac89423e --- /dev/null +++ b/code/datums/movement/robot.html @@ -0,0 +1,27 @@ + + + + + + + code/datums/movement/robot.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/datums/movement/robot.dm + +

+ + +
/datum/movement_handler/robot/robot
+ + + diff --git a/code/datums/outfits/equipment/backpacks.html b/code/datums/outfits/equipment/backpacks.html new file mode 100644 index 00000000000..da948b23cf7 --- /dev/null +++ b/code/datums/outfits/equipment/backpacks.html @@ -0,0 +1,30 @@ + + + + + + + code/datums/outfits/equipment/backpacks.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/datums/outfits/equipment/backpacks.dm + +

+ + + + + +
/decl/backpack_outfit/nothingOutfit Backpacks
/datum/backpack_setupCharacter setup
/proc/get_default_outfit_backpackHelpers
+ + + diff --git a/code/datums/outfits/jobs/job.html b/code/datums/outfits/jobs/job.html new file mode 100644 index 00000000000..e871a7aade5 --- /dev/null +++ b/code/datums/outfits/jobs/job.html @@ -0,0 +1,27 @@ + + + + + + + code/datums/outfits/jobs/job.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/datums/outfits/jobs/job.dm + +

+ + +
/decl/hierarchy/outfit/jobdecl/hierarchy/outfit/job/cargo/artist/clown/post_equip(var/mob/living/carbon/human/H)
+ + + diff --git a/code/datums/perks/job.html b/code/datums/perks/job.html new file mode 100644 index 00000000000..f0f17a8a651 --- /dev/null +++ b/code/datums/perks/job.html @@ -0,0 +1,27 @@ + + + + + + + code/datums/perks/job.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/datums/perks/job.dm + +

+ + +
/datum/perk/inspirationBasically a marker perk. If the user has this perk, another will be given in certain conditions.
+ + + diff --git a/code/datums/perks/oddity.html b/code/datums/perks/oddity.html new file mode 100644 index 00000000000..007c4992027 --- /dev/null +++ b/code/datums/perks/oddity.html @@ -0,0 +1,27 @@ + + + + + + + code/datums/perks/oddity.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/datums/perks/oddity.dm + +

+ + +
/datum/perk/nt_oddityNT ODDITYS PERKS
+ + + diff --git a/code/datums/perks/perk.html b/code/datums/perks/perk.html new file mode 100644 index 00000000000..edc1233a944 --- /dev/null +++ b/code/datums/perks/perk.html @@ -0,0 +1,27 @@ + + + + + + + code/datums/perks/perk.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/datums/perks/perk.dm + +

+ + +
/datum/perkThe root perk datum. All perks inherit properties from this one.
+ + + diff --git a/code/datums/topic/world.html b/code/datums/topic/world.html new file mode 100644 index 00000000000..19e85817165 --- /dev/null +++ b/code/datums/topic/world.html @@ -0,0 +1,27 @@ + + + + + + + code/datums/topic/world.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/datums/topic/world.dm + +

+ + +
/datum/world_topic/pingTopics
+ + + diff --git a/code/datums/underwear/underwear.html b/code/datums/underwear/underwear.html new file mode 100644 index 00000000000..dd3d49cdaaf --- /dev/null +++ b/code/datums/underwear/underwear.html @@ -0,0 +1,29 @@ + + + + + + + code/datums/underwear/underwear.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/datums/underwear/underwear.dm + +

+ + + + +
/datum/category_collection/underwearCategory Collection Setup
/datum/category_group/underwearCategories
/datum/category_item/underwearCategory entries
+ + + diff --git a/code/datums/uplink/ammunition.html b/code/datums/uplink/ammunition.html new file mode 100644 index 00000000000..df789454e46 --- /dev/null +++ b/code/datums/uplink/ammunition.html @@ -0,0 +1,33 @@ + + + + + + + code/datums/uplink/ammunition.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/datums/uplink/ammunition.dm + +

+ + + + + + + + +
/datum/uplink_item/item/ammoAmmunition
/datum/uplink_item/item/ammo/pistol/highvelocity.35 .40 pistols and smgs
/datum/uplink_item/item/ammo/slpistol.35 and .40 revolvers
/datum/uplink_item/item/ammo/srifle.20 . 25 .30 Rifles
/datum/uplink_item/item/ammo/pistol_hvHV ammo packets
/datum/uplink_item/item/ammo/m12.50 Shotguns
/datum/uplink_item/item/ammo/sniperammospecial
+ + + diff --git a/code/datums/uplink/announcements.html b/code/datums/uplink/announcements.html new file mode 100644 index 00000000000..0b6ddf6e61c --- /dev/null +++ b/code/datums/uplink/announcements.html @@ -0,0 +1,27 @@ + + + + + + + code/datums/uplink/announcements.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/datums/uplink/announcements.dm + +

+ + +
/datum/uplink_item/abstract/announcementsAnnouncements
+ + + diff --git a/code/datums/uplink/badassery.html b/code/datums/uplink/badassery.html new file mode 100644 index 00000000000..72c144719ca --- /dev/null +++ b/code/datums/uplink/badassery.html @@ -0,0 +1,29 @@ + + + + + + + code/datums/uplink/badassery.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/datums/uplink/badassery.dm + +

+ + + + +
/datum/uplink_item/item/badasseryBadassery
/datum/uplink_item/item/badassery/random_oneRandom Item
/datum/uplink_item/item/badassery/surplusSurplus Crate
+ + + diff --git a/code/datums/uplink/devices and tools.html b/code/datums/uplink/devices and tools.html new file mode 100644 index 00000000000..0f79f2609dd --- /dev/null +++ b/code/datums/uplink/devices and tools.html @@ -0,0 +1,27 @@ + + + + + + + code/datums/uplink/devices and tools.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/datums/uplink/devices and tools.dm + +

+ + +
/datum/uplink_item/item/toolsDevices and Tools
+ + + diff --git a/code/datums/uplink/grenades.html b/code/datums/uplink/grenades.html new file mode 100644 index 00000000000..c1016ba57a9 --- /dev/null +++ b/code/datums/uplink/grenades.html @@ -0,0 +1,27 @@ + + + + + + + code/datums/uplink/grenades.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/datums/uplink/grenades.dm + +

+ + +
/datum/uplink_item/item/grenadesGrenades
+ + + diff --git a/code/datums/uplink/hardsuit_modules.html b/code/datums/uplink/hardsuit_modules.html new file mode 100644 index 00000000000..c512dd04856 --- /dev/null +++ b/code/datums/uplink/hardsuit_modules.html @@ -0,0 +1,27 @@ + + + + + + + code/datums/uplink/hardsuit_modules.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/datums/uplink/hardsuit_modules.dm + +

+ + +
/datum/uplink_item/item/hardsuit_modulesHardsuit Modules
+ + + diff --git a/code/datums/uplink/highly visible and dangerous weapons.html b/code/datums/uplink/highly visible and dangerous weapons.html new file mode 100644 index 00000000000..9cc8bb0adc8 --- /dev/null +++ b/code/datums/uplink/highly visible and dangerous weapons.html @@ -0,0 +1,27 @@ + + + + + + + code/datums/uplink/highly visible and dangerous weapons.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/datums/uplink/highly visible and dangerous weapons.dm + +

+ + +
/datum/uplink_item/item/visible_weaponsHighly Visible and Dangerous Weapons
+ + + diff --git a/code/datums/uplink/implants.html b/code/datums/uplink/implants.html new file mode 100644 index 00000000000..6656c83c878 --- /dev/null +++ b/code/datums/uplink/implants.html @@ -0,0 +1,28 @@ + + + + + + + code/datums/uplink/implants.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/datums/uplink/implants.dm + +

+ + + +
/datum/uplink_item/item/implantsImplants
/datum/uplink_item/item/implants/energy_bladeobj/item/implanter/installer/disposable/CYBERNETIC
+ + + diff --git a/code/datums/uplink/medical.html b/code/datums/uplink/medical.html new file mode 100644 index 00000000000..6d10fd2db43 --- /dev/null +++ b/code/datums/uplink/medical.html @@ -0,0 +1,27 @@ + + + + + + + code/datums/uplink/medical.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/datums/uplink/medical.dm + +

+ + +
/datum/uplink_item/item/medicalMedical
+ + + diff --git a/code/datums/uplink/stealth and camouflage items.html b/code/datums/uplink/stealth and camouflage items.html new file mode 100644 index 00000000000..8c869bdc1b4 --- /dev/null +++ b/code/datums/uplink/stealth and camouflage items.html @@ -0,0 +1,27 @@ + + + + + + + code/datums/uplink/stealth and camouflage items.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/datums/uplink/stealth and camouflage items.dm + +

+ + +
/datum/uplink_item/item/stealth_itemsStealth and Camouflage Items
+ + + diff --git a/code/datums/uplink/stealthy and inconspicuous weapons.html b/code/datums/uplink/stealthy and inconspicuous weapons.html new file mode 100644 index 00000000000..45e4d75cc7b --- /dev/null +++ b/code/datums/uplink/stealthy and inconspicuous weapons.html @@ -0,0 +1,27 @@ + + + + + + + code/datums/uplink/stealthy and inconspicuous weapons.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/datums/uplink/stealthy and inconspicuous weapons.dm + +

+ + +
/datum/uplink_item/item/stealthy_weaponsStealthy and Inconspicuous Weapons
+ + + diff --git a/code/datums/uplink/telecrystals.html b/code/datums/uplink/telecrystals.html new file mode 100644 index 00000000000..107f6f6f187 --- /dev/null +++ b/code/datums/uplink/telecrystals.html @@ -0,0 +1,27 @@ + + + + + + + code/datums/uplink/telecrystals.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/datums/uplink/telecrystals.dm + +

+ + +
/datum/uplink_item/item/telecrystalTelecrystals
+ + + diff --git a/code/datums/uplink/uplink_items.html b/code/datums/uplink/uplink_items.html new file mode 100644 index 00000000000..8a405a190e9 --- /dev/null +++ b/code/datums/uplink/uplink_items.html @@ -0,0 +1,30 @@ + + + + + + + code/datums/uplink/uplink_items.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/datums/uplink/uplink_items.dm + +

+ + + + + +
/var/default_abstract_uplink_iconAbstract Uplink Entries
/proc/get_random_uplink_itemsSupport procs
+ + + diff --git a/code/datums/verb_callbacks.html b/code/datums/verb_callbacks.html new file mode 100644 index 00000000000..4ab991d1d6c --- /dev/null +++ b/code/datums/verb_callbacks.html @@ -0,0 +1,27 @@ + + + + + + + code/datums/verb_callbacks.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/datums/verb_callbacks.dm + +

+ + +
/datum/callback/verb_callbacklike normal callbacks but they also record their creation time for measurement purposes
+ + + diff --git a/code/datums/weakref.html b/code/datums/weakref.html new file mode 100644 index 00000000000..ccd09dc3fb1 --- /dev/null +++ b/code/datums/weakref.html @@ -0,0 +1,31 @@ + + + + + + + code/datums/weakref.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/datums/weakref.dm + +

+ + + + +
/proc/WEAKREFCreates a weakref to the given input. +See /datum/weakref's documentation for more information.
/datum/weakrefA weakref holds a non-owning reference to a datum. +The datum can be referenced again using resolve().
+ + + diff --git a/code/game/atoms_movable.html b/code/game/atoms_movable.html new file mode 100644 index 00000000000..1e563a0371d --- /dev/null +++ b/code/game/atoms_movable.html @@ -0,0 +1,27 @@ + + + + + + + code/game/atoms_movable.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/game/atoms_movable.dm + +

+ + +
/atom/movable/overlaydefines for each slot are above the function def
+ + + diff --git a/code/game/gamemodes/endgame/endgame.html b/code/game/gamemodes/endgame/endgame.html new file mode 100644 index 00000000000..5fd8afccde3 --- /dev/null +++ b/code/game/gamemodes/endgame/endgame.html @@ -0,0 +1,27 @@ + + + + + + + code/game/gamemodes/endgame/endgame.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/game/gamemodes/endgame/endgame.dm + +

+ + +
/datum/universal_stateENDGAME STUFF
+ + + diff --git a/code/game/gamemodes/events/meteors.html b/code/game/gamemodes/events/meteors.html new file mode 100644 index 00000000000..460ad9456e5 --- /dev/null +++ b/code/game/gamemodes/events/meteors.html @@ -0,0 +1,29 @@ + + + + + + + code/game/gamemodes/events/meteors.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/game/gamemodes/events/meteors.dm + +

+ + + + +
/var/comet_hardcore........::::::%%%SPACE_COMET
/obj/effect/meteorSPACE_COMET%%%::::::........
+ + + diff --git a/code/game/gamemodes/events/weather.html b/code/game/gamemodes/events/weather.html new file mode 100644 index 00000000000..74a7e13ea68 --- /dev/null +++ b/code/game/gamemodes/events/weather.html @@ -0,0 +1,28 @@ + + + + + + + code/game/gamemodes/events/weather.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/game/gamemodes/events/weather.dm + +

+ + + +
/var/SSweather
+ + + diff --git a/code/game/gamemodes/storyteller.html b/code/game/gamemodes/storyteller.html new file mode 100644 index 00000000000..beca7b3c1cc --- /dev/null +++ b/code/game/gamemodes/storyteller.html @@ -0,0 +1,28 @@ + + + + + + + code/game/gamemodes/storyteller.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/game/gamemodes/storyteller.dm + +

+ + + +
/proc/storyteller_buttondatum/storyteller/proc/trigger_event()
+ + + diff --git a/code/game/jobs/access_datum.html b/code/game/jobs/access_datum.html new file mode 100644 index 00000000000..45c2eb309f9 --- /dev/null +++ b/code/game/jobs/access_datum.html @@ -0,0 +1,38 @@ + + + + + + + code/game/jobs/access_datum.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/game/jobs/access_datum.dm + +

+ + + + + + + + + + + + + +
/var/access_securityStation access
/var/access_nt_discipleNeoTheology
/var/access_change_medbayAccess Change
/var/access_cent_generalCentral Command
/var/access_mercenaryAntag access
/var/access_synthMisc
+ + + diff --git a/code/game/jobs/department.html b/code/game/jobs/department.html new file mode 100644 index 00000000000..ff192c7fd2a --- /dev/null +++ b/code/game/jobs/department.html @@ -0,0 +1,30 @@ + + + + + + + code/game/jobs/department.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/game/jobs/department.dm + +

+ + + + + +
/datum/department/commandCommand
/datum/department/ironhammerRetainers
/datum/department/moebius_medicalBenefactors
/datum/department/guildIndependant
+ + + diff --git a/code/game/jobs/job/guild.html b/code/game/jobs/job/guild.html new file mode 100644 index 00000000000..6419feeaa04 --- /dev/null +++ b/code/game/jobs/job/guild.html @@ -0,0 +1,28 @@ + + + + + + + code/game/jobs/job/guild.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/game/jobs/job/guild.dm + +

+ + +
/obj/landmark/join/start/miningdatum/computer_file/program/supply, +datum/computer_file/program/deck_management,
+ + + diff --git a/code/game/machinery/autodoc_excelsior.html b/code/game/machinery/autodoc_excelsior.html new file mode 100644 index 00000000000..6a891ee9ef1 --- /dev/null +++ b/code/game/machinery/autodoc_excelsior.html @@ -0,0 +1,42 @@ + + + + + + + code/game/machinery/autodoc_excelsior.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Define Details
+
+

code/game/machinery/autodoc_excelsior.dm + +

+ + + + +
AUTODOC_HEAL_PER_UNITHow much healing is given per rating point of components (micro-laser and manipulator)
AUTODOC_TIME_PER_UNITHow much time is reduced per given rating point of scanning module components
AUTODOC_DEFAULT_PROCESSING_TIMEDefault processing time for any wound

Define Details

+

AUTODOC_DEFAULT_PROCESSING_TIME + + +

+

Default processing time for any wound

AUTODOC_HEAL_PER_UNIT + + +

+

How much healing is given per rating point of components (micro-laser and manipulator)

AUTODOC_TIME_PER_UNIT + + +

+

How much time is reduced per given rating point of scanning module components

+ + + diff --git a/code/game/machinery/embedded_controller/airlock_docking_controller_multi.html b/code/game/machinery/embedded_controller/airlock_docking_controller_multi.html new file mode 100644 index 00000000000..5e669e82b96 --- /dev/null +++ b/code/game/machinery/embedded_controller/airlock_docking_controller_multi.html @@ -0,0 +1,27 @@ + + + + + + + code/game/machinery/embedded_controller/airlock_docking_controller_multi.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/game/machinery/embedded_controller/airlock_docking_controller_multi.dm + +

+ + +
/obj/machinery/embedded_controller/radio/docking_port_multi** DEBUG VERBS ***
+ + + diff --git a/code/game/machinery/embedded_controller/airlock_program.html b/code/game/machinery/embedded_controller/airlock_program.html new file mode 100644 index 00000000000..fd9df124df7 --- /dev/null +++ b/code/game/machinery/embedded_controller/airlock_program.html @@ -0,0 +1,64 @@ + + + + + + + code/game/machinery/embedded_controller/airlock_program.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Define Details
+
+

code/game/machinery/embedded_controller/airlock_program.dm + +

+ + +
STATE_IDLE** DEBUG VERBS ***

Define Details

+

STATE_IDLE + + +

+

** DEBUG VERBS ***

+

/datum/computer/file/embedded_program/docking/multi/proc/print_state() +to_chat(world, "id_tag: [id_tag]") +to_chat(world, "dock_state: [dock_state]") +to_chat(world, "control_mode: [control_mode]") +to_chat(world, "tag_target: [tag_target]") +to_chat(world, "response_sent: [response_sent]")

+

/datum/computer/file/embedded_program/docking/multi/post_signal(datum/signal/signal, comm_line) +to_chat(world, "Program [id_tag] sent a message!") +print_state() +to_chat(world, "[id_tag] sent command "[signal.data["command"]]" to "[signal.data["recipient"]]"") +..(signal)

+

/obj/machinery/embedded_controller/radio/docking_port_multi/verb/view_state() +set category = "Debug" +set src in view(1) +src.program:print_state()

+

/obj/machinery/embedded_controller/radio/docking_port_multi/verb/spoof_signal(var/command as text, var/sender as text) +set category = "Debug" +set src in view(1) +var/datum/signal/signal = new +signal.data["tag"] = sender +signal.data["command"] = command +signal.data["recipient"] = id_tag

+
src.program:receive_signal(signal)
+
+

/obj/machinery/embedded_controller/radio/docking_port_multi/verb/debug_init_dock(var/target as text) +set category = "Debug" +set src in view(1) +src.program:initiate_docking(target)

+

/obj/machinery/embedded_controller/radio/docking_port_multi/verb/debug_init_undock() +set category = "Debug" +set src in view(1) +src.program:initiate_undocking()

+ + + diff --git a/code/game/machinery/excelsior/autolathe.html b/code/game/machinery/excelsior/autolathe.html new file mode 100644 index 00000000000..024777a28c2 --- /dev/null +++ b/code/game/machinery/excelsior/autolathe.html @@ -0,0 +1,27 @@ + + + + + + + code/game/machinery/excelsior/autolathe.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/game/machinery/excelsior/autolathe.dm + +

+ + +
/obj/machinery/autolathe/excelsior** DEBUG VERBS ***
+ + + diff --git a/code/game/machinery/holosign.html b/code/game/machinery/holosign.html new file mode 100644 index 00000000000..e8026110b52 --- /dev/null +++ b/code/game/machinery/holosign.html @@ -0,0 +1,28 @@ + + + + + + + code/game/machinery/holosign.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/game/machinery/holosign.dm + +

+ + + +
/obj/machinery/holosignHOLOSIGN
/obj/machinery/button/holosignSWITCH
+ + + diff --git a/code/game/machinery/kitchen/smartfridge.html b/code/game/machinery/kitchen/smartfridge.html new file mode 100644 index 00000000000..c6135609f30 --- /dev/null +++ b/code/game/machinery/kitchen/smartfridge.html @@ -0,0 +1,32 @@ + + + + + + + code/game/machinery/kitchen/smartfridge.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/game/machinery/kitchen/smartfridge.dm + +

+ + + + + + + +
/obj/machinery/smartfridge/disksDisk Storage
/obj/machinery/smartfridge/seedsSeed Storage
/obj/machinery/smartfridge/secure/extractXenobio Slime Fridge
/obj/machinery/smartfridge/secure/medbayChemistry Medicine Storage
/obj/machinery/smartfridge/drinksBar Drinks Showcase
/obj/machinery/smartfridge/drying_rackHydroponics Drying Rack
+ + + diff --git a/code/game/machinery/machinery.html b/code/game/machinery/machinery.html new file mode 100644 index 00000000000..ce8ebdab45b --- /dev/null +++ b/code/game/machinery/machinery.html @@ -0,0 +1,27 @@ + + + + + + + code/game/machinery/machinery.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/game/machinery/machinery.dm + +

+ + +
/obj/machineryMachines in the world, such as computers, pipes, and airlocks.
+ + + diff --git a/code/game/machinery/pipe/construction.html b/code/game/machinery/pipe/construction.html new file mode 100644 index 00000000000..3331142d79d --- /dev/null +++ b/code/game/machinery/pipe/construction.html @@ -0,0 +1,28 @@ + + + + + + + code/game/machinery/pipe/construction.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/game/machinery/pipe/construction.dm + +

+ + +
/obj/item/pipe_meterZ-Level stuff +Z-Level stuff
+ + + diff --git a/code/game/machinery/pipe/pipe_dispenser.html b/code/game/machinery/pipe/pipe_dispenser.html new file mode 100644 index 00000000000..17ac10ae5d4 --- /dev/null +++ b/code/game/machinery/pipe/pipe_dispenser.html @@ -0,0 +1,28 @@ + + + + + + + code/game/machinery/pipe/pipe_dispenser.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/game/machinery/pipe/pipe_dispenser.dm + +

+ + +
/obj/machinery/pipedispenser/orderableZ-Level stuff +Z-Level stuff
+ + + diff --git a/code/game/machinery/requests_console.html b/code/game/machinery/requests_console.html new file mode 100644 index 00000000000..67321453a44 --- /dev/null +++ b/code/game/machinery/requests_console.html @@ -0,0 +1,33 @@ + + + + + + + code/game/machinery/requests_console.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Define Details
+
+

code/game/machinery/requests_console.dm + +

+ + +
RC_ASSISTRequests Console

Define Details

+

RC_ASSIST + + +

+

Requests Console

+

Originally written by errorage, updated by: Carn, needs more work though. I just added some security fixes

+ + + diff --git a/code/game/machinery/telecomms/broadcaster.html b/code/game/machinery/telecomms/broadcaster.html new file mode 100644 index 00000000000..d6085e14ab3 --- /dev/null +++ b/code/game/machinery/telecomms/broadcaster.html @@ -0,0 +1,29 @@ + + + + + + + code/game/machinery/telecomms/broadcaster.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/game/machinery/telecomms/broadcaster.dm + +

+ + + +
/proc/Broadcast_MessageHere is the big, bad function that broadcasts a message given the appropriate +parameters.
+ + + diff --git a/code/game/machinery/vending.html b/code/game/machinery/vending.html new file mode 100644 index 00000000000..11121cb93c1 --- /dev/null +++ b/code/game/machinery/vending.html @@ -0,0 +1,28 @@ + + + + + + + code/game/machinery/vending.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/game/machinery/vending.dm + +

+ + + +
/datum/data/vending_productDatum used to hold information about a product in a vending machine
/obj/machinery/vendingA vending machine
+ + + diff --git a/code/game/objects/effects/effect_system.html b/code/game/objects/effects/effect_system.html new file mode 100644 index 00000000000..21bec2d8679 --- /dev/null +++ b/code/game/objects/effects/effect_system.html @@ -0,0 +1,27 @@ + + + + + + + code/game/objects/effects/effect_system.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/game/objects/effects/effect_system.dm + +

+ + +
/obj/effect/effect/smokeSMOKE SYSTEMS
+ + + diff --git a/code/game/objects/effects/spawners/corpsespawner.html b/code/game/objects/effects/spawners/corpsespawner.html new file mode 100644 index 00000000000..cbbd110510a --- /dev/null +++ b/code/game/objects/effects/spawners/corpsespawner.html @@ -0,0 +1,28 @@ + + + + + + + code/game/objects/effects/spawners/corpsespawner.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/game/objects/effects/spawners/corpsespawner.dm + +

+ + + +
/obj/landmark/corpse/syndicatesoldierLEGACY CORPSES////REPLACE WITH NEW CORPSES IF FOUND IN MAP
/obj/landmark/corpse/pirateEnemies
+ + + diff --git a/code/game/objects/effects/trails.html b/code/game/objects/effects/trails.html new file mode 100644 index 00000000000..dd49295121a --- /dev/null +++ b/code/game/objects/effects/trails.html @@ -0,0 +1,32 @@ + + + + + + + code/game/objects/effects/trails.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/game/objects/effects/trails.dm + +

+ + + + +
/datum/effect/effect/system/trail
/datum/effect/effect/system/trail/jetJetpack Trails +Subtype made to efficiently sync up with a jetpack. +They should always be attached to a jetpack +Does a particle only when the jetpack uses some thrust
/obj/effect/trail_particle
+ + + diff --git a/code/game/objects/items/devices/binoculars.html b/code/game/objects/items/devices/binoculars.html new file mode 100644 index 00000000000..f5aae664758 --- /dev/null +++ b/code/game/objects/items/devices/binoculars.html @@ -0,0 +1,27 @@ + + + + + + + code/game/objects/items/devices/binoculars.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/game/objects/items/devices/binoculars.dm + +

+ + +
/obj/item/device/binoculars/mechspecial subtype for handling
+ + + diff --git a/code/game/objects/items/devices/debugger.html b/code/game/objects/items/devices/debugger.html new file mode 100644 index 00000000000..d9710f8aa22 --- /dev/null +++ b/code/game/objects/items/devices/debugger.html @@ -0,0 +1,28 @@ + + + + + + + code/game/objects/items/devices/debugger.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/game/objects/items/devices/debugger.dm + +

+ + +
/obj/item/device/debuggerMultitool -- A multitool is used for hacking electronic devices. +TO-DO -- Using it as a power measurement tool for cables etc. Nannek.
+ + + diff --git a/code/game/objects/items/devices/radio/radio.html b/code/game/objects/items/devices/radio/radio.html new file mode 100644 index 00000000000..819545da312 --- /dev/null +++ b/code/game/objects/items/devices/radio/radio.html @@ -0,0 +1,27 @@ + + + + + + + code/game/objects/items/devices/radio/radio.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/game/objects/items/devices/radio/radio.dm + +

+ + +
/obj/item/device/radio/borgBorg Radios
+ + + diff --git a/code/game/objects/items/robot/robot_items.html b/code/game/objects/items/robot/robot_items.html new file mode 100644 index 00000000000..5f1f71a7ea3 --- /dev/null +++ b/code/game/objects/items/robot/robot_items.html @@ -0,0 +1,28 @@ + + + + + + + code/game/objects/items/robot/robot_items.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/game/objects/items/robot/robot_items.dm + +

+ + + +
/obj/item/borgCyborg Spec Items
/obj/item/borg/sightHUD/SIGHT things
+ + + diff --git a/code/game/objects/items/weapons/AI_modules.html b/code/game/objects/items/weapons/AI_modules.html new file mode 100644 index 00000000000..efe4ad54879 --- /dev/null +++ b/code/game/objects/items/weapons/AI_modules.html @@ -0,0 +1,49 @@ + + + + + + + code/game/objects/items/weapons/AI_modules.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/game/objects/items/weapons/AI_modules.dm + +

+ + + + + + + + + + + + + + + + + + + + + + + + +
/obj/item/electronics/ai_module/safeguardModules
/obj/item/electronics/ai_module/oneHumanOneMember
/obj/item/electronics/ai_module/protectStationProtectStation
/obj/item/electronics/ai_module/prototypeEngineOfflinePrototypeEngineOffline
/obj/item/electronics/ai_module/teleporterOfflineTeleporterOffline
/obj/item/electronics/ai_module/quarantineQuarantine
/obj/item/electronics/ai_module/oxygenOxygenIsToxicToCrewMembers
/obj/item/electronics/ai_module/freeformNew Freeform
/obj/item/electronics/ai_module/resetReset
/obj/item/electronics/ai_module/purgePurge
/obj/item/electronics/ai_module/asimovAsimov
/obj/item/electronics/ai_module/erisNanoTrasen
/obj/item/electronics/ai_module/corpCorporate
/obj/item/electronics/ai_module/droneDrone
/obj/item/electronics/ai_module/paladinP.A.L.A.D.I.N.
/obj/item/electronics/ai_module/tyrantT.Y.R.A.N.T.
/obj/item/electronics/ai_module/freeformcoreFreeform Core
/obj/item/electronics/ai_module/robocopRobocop
/obj/item/electronics/ai_module/antimovAntimov
/obj/item/electronics/ai_module/partybotPartybot
/obj/item/electronics/ai_module/chefbotChefbot
/obj/item/electronics/ai_module/travelguideTravelGuide
/obj/item/electronics/ai_module/friendbotFriendbot
+ + + diff --git a/code/game/objects/items/weapons/manuals.html b/code/game/objects/items/weapons/manuals.html new file mode 100644 index 00000000000..6c031548059 --- /dev/null +++ b/code/game/objects/items/weapons/manuals.html @@ -0,0 +1,27 @@ + + + + + + + code/game/objects/items/weapons/manuals.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/game/objects/items/weapons/manuals.dm + +

+ + +
/obj/item/book/manualMANUALS (BOOKS)
+ + + diff --git a/code/game/objects/items/weapons/mop.html b/code/game/objects/items/weapons/mop.html new file mode 100644 index 00000000000..4929150a56b --- /dev/null +++ b/code/game/objects/items/weapons/mop.html @@ -0,0 +1,27 @@ + + + + + + + code/game/objects/items/weapons/mop.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/game/objects/items/weapons/mop.dm + +

+ + +
/obj/item/mopif at least one of the people inside is an excel.
+ + + diff --git a/code/game/objects/items/weapons/storage/hardcases.html b/code/game/objects/items/weapons/storage/hardcases.html new file mode 100644 index 00000000000..6101d0f9b82 --- /dev/null +++ b/code/game/objects/items/weapons/storage/hardcases.html @@ -0,0 +1,30 @@ + + + + + + + code/game/objects/items/weapons/storage/hardcases.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/game/objects/items/weapons/storage/hardcases.dm + +

+ + + + + +
/obj/item/storage/hcases/ammoAmmo
/obj/item/storage/hcases/partsParts
/obj/item/storage/hcases/medMedical
/obj/item/storage/hcases/engiEngineering
+ + + diff --git a/code/game/objects/items/weapons/stunbaton.html b/code/game/objects/items/weapons/stunbaton.html new file mode 100644 index 00000000000..ec2bb061e77 --- /dev/null +++ b/code/game/objects/items/weapons/stunbaton.html @@ -0,0 +1,27 @@ + + + + + + + code/game/objects/items/weapons/stunbaton.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/game/objects/items/weapons/stunbaton.dm + +

+ + +
/obj/item/melee/baton/robotWill be inside of mech equipment , which should be inside of a mech.
+ + + diff --git a/code/game/objects/items/weapons/tanks/jetpack.html b/code/game/objects/items/weapons/tanks/jetpack.html new file mode 100644 index 00000000000..f2f8235df06 --- /dev/null +++ b/code/game/objects/items/weapons/tanks/jetpack.html @@ -0,0 +1,29 @@ + + + + + + + code/game/objects/items/weapons/tanks/jetpack.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/game/objects/items/weapons/tanks/jetpack.dm + +

+ + + + +
/obj/item/tank/jetpack/voidJetpack Types
/obj/item/tank/jetpack/rigRig jetpack
/obj/item/tank/jetpack/syntheticSYNTHETIC JETPACK
+ + + diff --git a/code/game/objects/items/weapons/teleportation.html b/code/game/objects/items/weapons/teleportation.html new file mode 100644 index 00000000000..6b6be483d58 --- /dev/null +++ b/code/game/objects/items/weapons/teleportation.html @@ -0,0 +1,27 @@ + + + + + + + code/game/objects/items/weapons/teleportation.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/game/objects/items/weapons/teleportation.dm + +

+ + +
/obj/item/hand_tele/handmadeHANDMADE TELE-STUFF
+ + + diff --git a/code/game/objects/items/weapons/tools/mods/mod_types.html b/code/game/objects/items/weapons/tools/mods/mod_types.html new file mode 100644 index 00000000000..5d60db70c89 --- /dev/null +++ b/code/game/objects/items/weapons/tools/mods/mod_types.html @@ -0,0 +1,27 @@ + + + + + + + code/game/objects/items/weapons/tools/mods/mod_types.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/game/objects/items/weapons/tools/mods/mod_types.dm + +

+ + +
/obj/item/tool_upgrade/reinforcementUPGRADE TYPES
+ + + diff --git a/code/game/objects/items/weapons/tools/multitool.html b/code/game/objects/items/weapons/tools/multitool.html new file mode 100644 index 00000000000..404a7f886e9 --- /dev/null +++ b/code/game/objects/items/weapons/tools/multitool.html @@ -0,0 +1,28 @@ + + + + + + + code/game/objects/items/weapons/tools/multitool.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/game/objects/items/weapons/tools/multitool.dm + +

+ + +
/obj/item/tool/multitoolMultitool -- A multitool is used for hacking electronic devices. +TO-DO -- Using it as a power measurement tool for cables etc. Nannek.
+ + + diff --git a/code/game/objects/items/weapons/traps.html b/code/game/objects/items/weapons/traps.html new file mode 100644 index 00000000000..9a564ba92cc --- /dev/null +++ b/code/game/objects/items/weapons/traps.html @@ -0,0 +1,28 @@ + + + + + + + code/game/objects/items/weapons/traps.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/game/objects/items/weapons/traps.dm + +

+ + + +
/obj/item/beartrap/makeshiftMakeshift Trap
/obj/item/beartrap/armedArmed Subtypes
+ + + diff --git a/code/game/objects/random/encouters.html b/code/game/objects/random/encouters.html new file mode 100644 index 00000000000..b850849a396 --- /dev/null +++ b/code/game/objects/random/encouters.html @@ -0,0 +1,27 @@ + + + + + + + code/game/objects/random/encouters.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/game/objects/random/encouters.dm + +

+ + +
/obj/spawner/encouter/mineENCOUTERS
+ + + diff --git a/code/game/objects/random/exosuit.html b/code/game/objects/random/exosuit.html new file mode 100644 index 00000000000..f8fea0ba343 --- /dev/null +++ b/code/game/objects/random/exosuit.html @@ -0,0 +1,27 @@ + + + + + + + code/game/objects/random/exosuit.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/game/objects/random/exosuit.dm + +

+ + +
/obj/spawner/exosuitENCOUTERS
+ + + diff --git a/code/game/objects/structures/crates_lockers/closets/onestar.html b/code/game/objects/structures/crates_lockers/closets/onestar.html new file mode 100644 index 00000000000..16cd79f6ee6 --- /dev/null +++ b/code/game/objects/structures/crates_lockers/closets/onestar.html @@ -0,0 +1,32 @@ + + + + + + + code/game/objects/structures/crates_lockers/closets/onestar.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/game/objects/structures/crates_lockers/closets/onestar.dm + +

+ + + + + + +
/obj/structure/closet/onestarLoot table on all tiers
/obj/structure/closet/onestar/tier1/normal// Closets +Normal
/obj/structure/closet/onestar/tier1/specialSpecial
/obj/structure/closet/onestar/tier1/mineralMineral
/obj/structure/closet/onestar/tier1/medicalMedical
+ + + diff --git a/code/game/objects/structures/kitchen_spike.html b/code/game/objects/structures/kitchen_spike.html new file mode 100644 index 00000000000..7865b2be97b --- /dev/null +++ b/code/game/objects/structures/kitchen_spike.html @@ -0,0 +1,27 @@ + + + + + + + code/game/objects/structures/kitchen_spike.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/game/objects/structures/kitchen_spike.dm + +

+ + +
/obj/structure/kitchenspikeKitchen Spike
+ + + diff --git a/code/game/objects/structures/salvageable.html b/code/game/objects/structures/salvageable.html new file mode 100644 index 00000000000..5c8791854f1 --- /dev/null +++ b/code/game/objects/structures/salvageable.html @@ -0,0 +1,27 @@ + + + + + + + code/game/objects/structures/salvageable.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/game/objects/structures/salvageable.dm + +

+ + +
/obj/structure/salvageable/osONE STAR
+ + + diff --git a/code/hub.html b/code/hub.html new file mode 100644 index 00000000000..9531828bdbf --- /dev/null +++ b/code/hub.html @@ -0,0 +1,27 @@ + + + + + + + code/hub.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/hub.dm + +

+ + +
/worldTwo possibilities exist: either we are alone in the Universe or we are not. Both are equally terrifying. ~ Arthur C. Clarke
+ + + diff --git a/code/modules/aberrants/organs/design_disks/disks.html b/code/modules/aberrants/organs/design_disks/disks.html new file mode 100644 index 00000000000..213cffeb01d --- /dev/null +++ b/code/modules/aberrants/organs/design_disks/disks.html @@ -0,0 +1,27 @@ + + + + + + + code/modules/aberrants/organs/design_disks/disks.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/aberrants/organs/design_disks/disks.dm + +

+ + +
/obj/item/computer_hardware/hard_drive/portable/design/omg/simpledatum/design/organ/teratoma/input/rare/reagents_spider, // Not enough spider chems in the pool
+ + + diff --git a/code/modules/admin/NewBan.html b/code/modules/admin/NewBan.html new file mode 100644 index 00000000000..ff9211b4f37 --- /dev/null +++ b/code/modules/admin/NewBan.html @@ -0,0 +1,28 @@ + + + + + + + code/modules/admin/NewBan.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/admin/NewBan.dm + +

+ + + +
/proc/CreateBansDEBUG
+ + + diff --git a/code/modules/admin/admin.html b/code/modules/admin/admin.html new file mode 100644 index 00000000000..4bd2fa86b32 --- /dev/null +++ b/code/modules/admin/admin.html @@ -0,0 +1,32 @@ + + + + + + + code/modules/admin/admin.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/admin/admin.dm + +

+ + + + + + + +
/proc/message_adminTicket
/proc/message_mentorTicket
/proc/is_special_characterADMIN HELPER PROCS
+ + + diff --git a/code/modules/admin/admin_secrets.html b/code/modules/admin/admin_secrets.html new file mode 100644 index 00000000000..0f53152e841 --- /dev/null +++ b/code/modules/admin/admin_secrets.html @@ -0,0 +1,28 @@ + + + + + + + code/modules/admin/admin_secrets.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/admin/admin_secrets.dm + +

+ + + +
/datum/admin_secret_category/admin_secretsPre-defined categories
/datum/admin_secret_item/admin_secretPre-defined base items
+ + + diff --git a/code/modules/admin/bluespacetech.html b/code/modules/admin/bluespacetech.html new file mode 100644 index 00000000000..80097b0468c --- /dev/null +++ b/code/modules/admin/bluespacetech.html @@ -0,0 +1,27 @@ + + + + + + + code/modules/admin/bluespacetech.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/admin/bluespacetech.dm + +

+ + +
/obj/item/storage/backpack/holding/bstI T E M S
+ + + diff --git a/code/modules/admin/secrets/random_events/gravity.html b/code/modules/admin/secrets/random_events/gravity.html new file mode 100644 index 00000000000..34ef6ec35f0 --- /dev/null +++ b/code/modules/admin/secrets/random_events/gravity.html @@ -0,0 +1,27 @@ + + + + + + + code/modules/admin/secrets/random_events/gravity.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/admin/secrets/random_events/gravity.dm + +

+ + +
/datum/admin_secret_item/random_event/gravityGravity
+ + + diff --git a/code/modules/assembly/infrared.html b/code/modules/assembly/infrared.html new file mode 100644 index 00000000000..bcd98ac8c8a --- /dev/null +++ b/code/modules/assembly/infrared.html @@ -0,0 +1,27 @@ + + + + + + + code/modules/assembly/infrared.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/assembly/infrared.dm + +

+ + +
/obj/effect/beam/i_beamIBeam
+ + + diff --git a/code/modules/asset_cache.html b/code/modules/asset_cache.html new file mode 100644 index 00000000000..9974d66d8fe --- /dev/null +++ b/code/modules/asset_cache.html @@ -0,0 +1,43 @@ + + + + + + + code/modules/asset_cache/readme.md - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

Asset cache system + +

+ + +

Framework for managing browser assets (javascript,css,images,etc)

+

This manages getting the asset to the client without doing unneeded re-sends, as well as utilizing any configured cdns.

+

There are two frameworks for using this system:

+

Asset datum:

+

Make a datum in asset_list_items.dm with your browser assets for your thing.

+

Checkout asset_list.dm for the helper subclasses

+

The simple subclass will most likely be of use for most cases.

+

Call get_asset_datum() with the type of the datum you created to get your asset cache datum

+

Call .send(client|usr) on that datum to send the asset to the client. Depending on the asset transport this may or may not block.

+

Call .get_url_mappings() to get an associated list with the urls your assets can be found at.

+

Manual backend:

+

See the documentation for /datum/asset_transport for the backend api the asset datums utilize.

+

The global variable SSassets.transport contains the currently configured transport.

+

Notes:

+

Because byond browse() calls use non-blocking queues, if your code uses output() (which bypasses all of these queues) to invoke javascript functions you will need to first have the javascript announce to the server it has loaded before trying to invoke js functions.

+

To make your code work with any CDNs configured by the server, you must make sure assets are referenced from the url returned by get_url_mappings() or by asset_transport's get_asset_url(). (TGUI also has helpers for this.) If this can not be easily done, you can bypass the cdn using legacy assets, see the simple asset datum for details.

+

CSS files that use url() can be made to use the CDN without needing to rewrite all url() calls in code by using the namespaced helper datum. See the documentation for /datum/asset/simple/namespaced for details.

+ + + diff --git a/code/modules/asset_cache/asset_cache_item.html b/code/modules/asset_cache/asset_cache_item.html new file mode 100644 index 00000000000..7364d439698 --- /dev/null +++ b/code/modules/asset_cache/asset_cache_item.html @@ -0,0 +1,27 @@ + + + + + + + code/modules/asset_cache/asset_cache_item.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/asset_cache/asset_cache_item.dm + +

+ + +
/datum/asset_cache_itemAn internal datum containing info on items in the asset cache. Mainly used to cache md5 info for speed.
+ + + diff --git a/code/modules/asset_cache/asset_list.html b/code/modules/asset_cache/asset_list.html new file mode 100644 index 00000000000..c028fa0464f --- /dev/null +++ b/code/modules/asset_cache/asset_list.html @@ -0,0 +1,32 @@ + + + + + + + code/modules/asset_cache/asset_list.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/asset_cache/asset_list.dm + +

+ + + +
/datum/asset/simpleIf you don't need anything complicated.
/datum/asset/simple/namespacedNamespace'ed assets (for static css and html files) +When sent over a cdn transport, all assets in the same asset datum will exist in the same folder, as their plain names. +Used to ensure css files can reference files by url() without having to generate the css at runtime, both the css file and the files it depends on must exist in the same namespace asset datum. (Also works for html) +For example blah.css with asset blah.png will get loaded as namespaces/a3d..14f/f12..d3c.css and namespaces/a3d..14f/blah.png. allowing the css file to load blah.png by a relative url rather then compute the generated url with get_url_mappings(). +The namespace folder's name will change if any of the assets change. (excluding parent assets)
+ + + diff --git a/code/modules/asset_cache/transports/asset_transport.html b/code/modules/asset_cache/transports/asset_transport.html new file mode 100644 index 00000000000..8c1420d8813 --- /dev/null +++ b/code/modules/asset_cache/transports/asset_transport.html @@ -0,0 +1,33 @@ + + + + + + + code/modules/asset_cache/transports/asset_transport.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Define Details
+
+

code/modules/asset_cache/transports/asset_transport.dm + +

+ + + +
ASSET_CACHE_TELL_CLIENT_AMOUNTWhen sending mutiple assets, how many before we give the client a quaint little sending resources message
/datum/asset_transportBase browse_rsc asset transport

Define Details

+

ASSET_CACHE_TELL_CLIENT_AMOUNT + + +

+

When sending mutiple assets, how many before we give the client a quaint little sending resources message

+ + + diff --git a/code/modules/client/preference_setup/global/preferences.html b/code/modules/client/preference_setup/global/preferences.html new file mode 100644 index 00000000000..f1788f76aa0 --- /dev/null +++ b/code/modules/client/preference_setup/global/preferences.html @@ -0,0 +1,30 @@ + + + + + + + code/modules/client/preference_setup/global/preferences.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/client/preference_setup/global/preferences.dm + +

+ + + + + +
/datum/client_preference/play_admin_midisPlayer Preferences
/datum/client_preference/staffGeneral Staff Preferences
/datum/client_preference/staff/show_attack_logsAdmin Preferences
/datum/client_preference/staff/show_debug_logsDebug Preferences
+ + + diff --git a/code/modules/client/preference_setup/options_popup.html b/code/modules/client/preference_setup/options_popup.html new file mode 100644 index 00000000000..b6352a52c75 --- /dev/null +++ b/code/modules/client/preference_setup/options_popup.html @@ -0,0 +1,27 @@ + + + + + + + code/modules/client/preference_setup/options_popup.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/client/preference_setup/options_popup.dm + +

+ + +
/datum/category_item/player_setup_itemCategory Item Setup
+ + + diff --git a/code/modules/client/preference_setup/preference_setup.html b/code/modules/client/preference_setup/preference_setup.html new file mode 100644 index 00000000000..acfeb556850 --- /dev/null +++ b/code/modules/client/preference_setup/preference_setup.html @@ -0,0 +1,28 @@ + + + + + + + code/modules/client/preference_setup/preference_setup.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/client/preference_setup/preference_setup.dm + +

+ + + +
/datum/category_collection/player_setup_collectionCategory Collection Setup
/datum/category_group/player_setup_categoryCategory Category Setup
+ + + diff --git a/code/modules/client/preferences_spawnpoints.html b/code/modules/client/preferences_spawnpoints.html new file mode 100644 index 00000000000..3778a0d87fd --- /dev/null +++ b/code/modules/client/preferences_spawnpoints.html @@ -0,0 +1,28 @@ + + + + + + + code/modules/client/preferences_spawnpoints.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/client/preferences_spawnpoints.dm + +

+ + + +
/datum/spawnpoint/cryoCryostorage Spawning
/datum/spawnpoint/dormitoryDORMITORY SPAWNING
+ + + diff --git a/code/modules/clothing/masks/balaclava.html b/code/modules/clothing/masks/balaclava.html new file mode 100644 index 00000000000..85248355752 --- /dev/null +++ b/code/modules/clothing/masks/balaclava.html @@ -0,0 +1,32 @@ + + + + + + + code/modules/clothing/masks/balaclava.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Define Details
+
+

code/modules/clothing/masks/balaclava.dm + +

+ + +
BALACLAVA_SANITY_COEFF_BUFFobj/item/clothing/head/soft/science

Define Details

+

BALACLAVA_SANITY_COEFF_BUFF + + +

+

obj/item/clothing/head/soft/science

+ + + diff --git a/code/modules/clothing/spacesuits/rig/suits/station.html b/code/modules/clothing/spacesuits/rig/suits/station.html new file mode 100644 index 00000000000..3b09d617c12 --- /dev/null +++ b/code/modules/clothing/spacesuits/rig/suits/station.html @@ -0,0 +1,32 @@ + + + + + + + code/modules/clothing/spacesuits/rig/suits/station.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/clothing/spacesuits/rig/suits/station.dm + +

+ + + + + + + +
/obj/item/rig/industrialIndustrial Suit: For Mining
/obj/item/rig/evaEVA Suit
/obj/item/rig/ceAdvanced Voidsuit: Technomancer Exultant
/obj/item/rig/technoTechnomancer RIG
/obj/item/rig/hazmatHazmat: Moebius Overseer
/obj/item/rig/medicalMedical
+ + + diff --git a/code/modules/clothing/spacesuits/syndi.html b/code/modules/clothing/spacesuits/syndi.html new file mode 100644 index 00000000000..3beb3171449 --- /dev/null +++ b/code/modules/clothing/spacesuits/syndi.html @@ -0,0 +1,27 @@ + + + + + + + code/modules/clothing/spacesuits/syndi.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/clothing/spacesuits/syndi.dm + +

+ + +
/obj/item/clothing/head/space/syndicate/uplinkBlack Market
+ + + diff --git a/code/modules/cooking_with_jane/porting_readme.html b/code/modules/cooking_with_jane/porting_readme.html new file mode 100644 index 00000000000..f9dd99b539c --- /dev/null +++ b/code/modules/cooking_with_jane/porting_readme.html @@ -0,0 +1,49 @@ + + + + + + + code/modules/cooking_with_jane/porting_readme.txt - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/cooking_with_jane/porting_readme.txt + +

+ + +
Things to keep in mind when porting to eris:
+
+- Cooking has to be initialized with initialize_cooking_recipes() in /datum/global_init/New().
+It has to be ran AFTER initialize_chemical_reagents() and initialize_chemical_reactions()!
+
+- The CtrlShiftClickOn, CtrlShiftClick, CtrlClickOn and CtrlClick procs need to be updated to
+recieve the params value from the ClickOn function. This is needed for the stove and grill
+to function.
+
+- Any atom used as an ingredient in cooking needs a 'food_quality' variable.
+
+- Any atom produced by cooking needs a 'food_quality' variable AND a 'cooking_description_modifier' variable.
+
+- Modify slicable food to inherit the food quality of their parent.
+
+- The function call createCookingCatalogs() has to be added at the end of the
+/hook/startup/proc/createCatalogs() function.
+
+- Add # exclusion to the sanitizeFileName function.
+
+- The statment hard_drive.store_file(new/datum/computer_file/program/cook_catalog()) should be
+added to any PDA's install_default_programs() proc if they should have it at round start
+
+ + + diff --git a/code/modules/core_implant/cruciform/machinery/armaments.html b/code/modules/core_implant/cruciform/machinery/armaments.html new file mode 100644 index 00000000000..6e07f794182 --- /dev/null +++ b/code/modules/core_implant/cruciform/machinery/armaments.html @@ -0,0 +1,27 @@ + + + + + + + code/modules/core_implant/cruciform/machinery/armaments.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/core_implant/cruciform/machinery/armaments.dm + +

+ + +
/datum/armament/itemItem summonings
+ + + diff --git a/code/modules/core_implant/cruciform/machinery/cloning.html b/code/modules/core_implant/cruciform/machinery/cloning.html new file mode 100644 index 00000000000..39e3aebfc1c --- /dev/null +++ b/code/modules/core_implant/cruciform/machinery/cloning.html @@ -0,0 +1,27 @@ + + + + + + + code/modules/core_implant/cruciform/machinery/cloning.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/core_implant/cruciform/machinery/cloning.dm + +

+ + +
/obj/machinery/neotheology/biomass_containerBODY
+ + + diff --git a/code/modules/core_implant/cruciform/rituals/machinery.html b/code/modules/core_implant/cruciform/rituals/machinery.html new file mode 100644 index 00000000000..0e78791cf1f --- /dev/null +++ b/code/modules/core_implant/cruciform/rituals/machinery.html @@ -0,0 +1,31 @@ + + + + + + + code/modules/core_implant/cruciform/rituals/machinery.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/core_implant/cruciform/rituals/machinery.dm + +

+ + + + + +
/datum/ritual/cruciform/machines/power_biogen_awake/////////BIOMATTER MANIPULATION MULTI MACHINES RITUALS +>Biogenerator manipulation rite</////////////////
/datum/ritual/cruciform/machines/bioreactorBioreactor commands
/datum/ritual/cruciform/machines/bioreactor/solution
/datum/ritual/cruciform/machines/bioreactor/chamber_doors
+ + + diff --git a/code/modules/core_implant/cruciform/rituals/priest.html b/code/modules/core_implant/cruciform/rituals/priest.html new file mode 100644 index 00000000000..9647b08abd1 --- /dev/null +++ b/code/modules/core_implant/cruciform/rituals/priest.html @@ -0,0 +1,27 @@ + + + + + + + code/modules/core_implant/cruciform/rituals/priest.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/core_implant/cruciform/rituals/priest.dm + +

+ + +
/datum/ritual/cruciform/priest/acolyte/short_boostSHORT BOOST LITANIES
+ + + diff --git a/code/modules/dungeons/crawler/dungeon_gen.html b/code/modules/dungeons/crawler/dungeon_gen.html new file mode 100644 index 00000000000..f5cb634e33c --- /dev/null +++ b/code/modules/dungeons/crawler/dungeon_gen.html @@ -0,0 +1,27 @@ + + + + + + + code/modules/dungeons/crawler/dungeon_gen.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/dungeons/crawler/dungeon_gen.dm + +

+ + +
/obj/crawler/map_makerin order to avoid confusion, we're counting up from 1 and not 0.
+ + + diff --git a/code/modules/economy/Accounts.html b/code/modules/economy/Accounts.html new file mode 100644 index 00000000000..7c5ffa2c55d --- /dev/null +++ b/code/modules/economy/Accounts.html @@ -0,0 +1,27 @@ + + + + + + + code/modules/economy/Accounts.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/economy/Accounts.dm + +

+ + +
/datum/money_accountSCPR 2022
+ + + diff --git a/code/modules/ghosttrap/trap.html b/code/modules/ghosttrap/trap.html new file mode 100644 index 00000000000..95c5da8139b --- /dev/null +++ b/code/modules/ghosttrap/trap.html @@ -0,0 +1,30 @@ + + + + + + + code/modules/ghosttrap/trap.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/ghosttrap/trap.dm + +

+ + + + + +
/datum/ghosttrap/borerCortical Borer
/datum/ghosttrap/droneMaintenance Drone
/datum/ghosttrap/paipersonal AI
/datum/ghosttrap/blitzdroneBlitzshell
+ + + diff --git a/code/modules/hivemind/machines.html b/code/modules/hivemind/machines.html new file mode 100644 index 00000000000..84ed3e798e6 --- /dev/null +++ b/code/modules/hivemind/machines.html @@ -0,0 +1,27 @@ + + + + + + + code/modules/hivemind/machines.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/hivemind/machines.dm + +

+ + +
/obj/machinery/hivemind_machine/node
+ + + diff --git a/code/modules/hivemind/mobs.html b/code/modules/hivemind/mobs.html new file mode 100644 index 00000000000..5cce5caefa2 --- /dev/null +++ b/code/modules/hivemind/mobs.html @@ -0,0 +1,44 @@ + + + + + + + code/modules/hivemind/mobs.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/hivemind/mobs.dm + +

+ + + + + + + + + + + +
/mob/living/simple_animal/hostile/hivemindHive mobs
/mob/living/simple_animal/hostile/hivemind/resurrectedlife's///////////////////////////////////////////// +/////////////////////////////RESURRECTION///////// +////////////////////////////////////////////go on
/mob/living/simple_animal/hostile/hivemind/stingerwe live to/////////////////////////////////////////////////////////////// +/////////////////////////////////SMALL GUYS///////////////////////////// +///////////////////////////////////////////////////////////die for hive +//////////////////////////////////STINGER////////////////////////////////
/mob/living/simple_animal/hostile/hivemind/bomberBOMBER
/mob/living/simple_animal/hostile/hivemind/lobberLobber
/mob/living/simple_animal/hostile/hivemind/hiborghive brings us here to/////////////////////////////////////////////// +////////////////////////////////BIG GUYS//////////////////////////// +/////////////////////////////////////////////////fright and destroy +/////////////////////////////////HIBORG//////////////////////////////
/mob/living/simple_animal/hostile/hivemind/himanHIMAN
/mob/living/simple_animal/hostile/hivemind/mechiverMECHIVER
/mob/living/simple_animal/hostile/hivemind/treaderTreader
/mob/living/simple_animal/hostile/hivemind/phaserPHASER
+ + + diff --git a/code/modules/mechs/_mech_defines.html b/code/modules/mechs/_mech_defines.html new file mode 100644 index 00000000000..a0d4b43be12 --- /dev/null +++ b/code/modules/mechs/_mech_defines.html @@ -0,0 +1,52 @@ + + + + + + + code/modules/mechs/_mech_defines.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Define Details
+
+

code/modules/mechs/_mech_defines.dm + +

+ + + + + + +
MECH_STRAFING_NONEStrafing types
MECH_STRAFING_BACKCan only strafe backwards
MECH_STRAFING_OMNICan strafe in all directions
EQUIPFLAG_UPDTMOVEIt will make update_icon be called on the equipment after every move
EQUIPFLAG_PRETICKIt will have pretick() called on it before the mech checks wheter or not is powered

Define Details

+

EQUIPFLAG_PRETICK + + +

+

It will have pretick() called on it before the mech checks wheter or not is powered

EQUIPFLAG_UPDTMOVE + + +

+

It will make update_icon be called on the equipment after every move

MECH_STRAFING_BACK + + +

+

Can only strafe backwards

MECH_STRAFING_NONE + + +

+

Strafing types

MECH_STRAFING_OMNI + + +

+

Can strafe in all directions

+ + + diff --git a/code/modules/mechs/equipment/combat.html b/code/modules/mechs/equipment/combat.html new file mode 100644 index 00000000000..00fa5e9810e --- /dev/null +++ b/code/modules/mechs/equipment/combat.html @@ -0,0 +1,39 @@ + + + + + + + code/modules/mechs/equipment/combat.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Define Details
+
+

code/modules/mechs/equipment/combat.dm + +

+ + + + +
/obj/item/mech_equipment/mounted_system/sword/plasteelSpawnable subtypes that are findable in maintenance +Plasteel - balanced +Osmium - plasteel+ +Cardboard - meme level with 0 damage +Mettalic hydrogen - great
LOADING_FLEXIBLEThis will always assume the gun loads in single mode, removing bullets from magazines and then loading them in
/obj/item/mech_equipment/shield_generatorYes this also drains power from blocking halloss +Yes i justify it cause it stops by kinetic power and not by lethality / material hardness

Define Details

+

LOADING_FLEXIBLE + + +

+

This will always assume the gun loads in single mode, removing bullets from magazines and then loading them in

+ + + diff --git a/code/modules/mechs/equipment/utility.html b/code/modules/mechs/equipment/utility.html new file mode 100644 index 00000000000..cd2629304c9 --- /dev/null +++ b/code/modules/mechs/equipment/utility.html @@ -0,0 +1,27 @@ + + + + + + + code/modules/mechs/equipment/utility.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/mechs/equipment/utility.dm + +

+ + +
/obj/item/mech_equipment/forklifting_systemFancy way to move someone up a z-level if you think about it..
+ + + diff --git a/code/modules/mechs/mech_movement.html b/code/modules/mechs/mech_movement.html new file mode 100644 index 00000000000..c3d6b8d2d32 --- /dev/null +++ b/code/modules/mechs/mech_movement.html @@ -0,0 +1,27 @@ + + + + + + + code/modules/mechs/mech_movement.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/mechs/mech_movement.dm + +

+ + +
/datum/movement_handler/mob/exosuitmob/living/exosuit/can_ztravel()
+ + + diff --git a/code/modules/media/mediamanager.html b/code/modules/media/mediamanager.html new file mode 100644 index 00000000000..b1d09e28e3f --- /dev/null +++ b/code/modules/media/mediamanager.html @@ -0,0 +1,37 @@ + + + + + + + code/modules/media/mediamanager.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Define Details
+
+

code/modules/media/mediamanager.dm + +

+ + +
MP_DEBUGAWW SHIT IT'S TIME FOR RADIO

Define Details

+

MP_DEBUG + + + +

+

AWW SHIT IT'S TIME FOR RADIO

+

Concept stolen from D2K5 +Rewritten by N3X15 for vgstation +Adapted by Leshana for VOREStation +Stolen for Eris by Nestor

+ + + diff --git a/code/modules/mining/coins.html b/code/modules/mining/coins.html new file mode 100644 index 00000000000..a8a55c7c858 --- /dev/null +++ b/code/modules/mining/coins.html @@ -0,0 +1,27 @@ + + + + + + + code/modules/mining/coins.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/mining/coins.dm + +

+ + +
/obj/item/coinCoin
+ + + diff --git a/code/modules/mining/machine_processing.html b/code/modules/mining/machine_processing.html new file mode 100644 index 00000000000..6632d4ba557 --- /dev/null +++ b/code/modules/mining/machine_processing.html @@ -0,0 +1,28 @@ + + + + + + + code/modules/mining/machine_processing.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/mining/machine_processing.dm + +

+ + + +
/obj/machinery/mineral/processing_unit_consoleMineral processing unit console
/obj/machinery/mineral/processing_unitMineral processing unit
+ + + diff --git a/code/modules/mining/machine_stacking.html b/code/modules/mining/machine_stacking.html new file mode 100644 index 00000000000..bf62e2a0e25 --- /dev/null +++ b/code/modules/mining/machine_stacking.html @@ -0,0 +1,29 @@ + + + + + + + code/modules/mining/machine_stacking.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/mining/machine_stacking.dm + +

+ + + +
/obj/machinery/mineral/stacking_unit_consoleWould've named this ore_data , but it gives infinite cross reference ( and also conflicts with the global version) +Mineral stacking unit console
/obj/machinery/mineral/stacking_machineMineral stacking unit
+ + + diff --git a/code/modules/mining/machine_unloading.html b/code/modules/mining/machine_unloading.html new file mode 100644 index 00000000000..c44cf046aae --- /dev/null +++ b/code/modules/mining/machine_unloading.html @@ -0,0 +1,27 @@ + + + + + + + code/modules/mining/machine_unloading.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/mining/machine_unloading.dm + +

+ + +
/obj/machinery/mineral/unloading_machineUnloading unit
+ + + diff --git a/code/modules/mining/mine_items.html b/code/modules/mining/mine_items.html new file mode 100644 index 00000000000..52e8d19f231 --- /dev/null +++ b/code/modules/mining/mine_items.html @@ -0,0 +1,29 @@ + + + + + + + code/modules/mining/mine_items.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/mining/mine_items.dm + +

+ + + + +
/obj/structure/closet/secure_closet/personal/minerMiner Lockers
/obj/item/device/lighting/toggleable/lanternLantern
/obj/structure/closet/crate/miningcarPickaxe
+ + + diff --git a/code/modules/mining/mine_turfs.html b/code/modules/mining/mine_turfs.html new file mode 100644 index 00000000000..d455292fcff --- /dev/null +++ b/code/modules/mining/mine_turfs.html @@ -0,0 +1,28 @@ + + + + + + + code/modules/mining/mine_turfs.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/mining/mine_turfs.dm + +

+ + + +
/turf/unsimulated/mineralMineral deposits
/turf/simulated/floor/asteroidAsteroid
+ + + diff --git a/code/modules/mining/money_bag.html b/code/modules/mining/money_bag.html new file mode 100644 index 00000000000..114090590b0 --- /dev/null +++ b/code/modules/mining/money_bag.html @@ -0,0 +1,27 @@ + + + + + + + code/modules/mining/money_bag.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/mining/money_bag.dm + +

+ + +
/obj/item/moneybagMoney bag
+ + + diff --git a/code/modules/mining/satchel_ore_boxdm.html b/code/modules/mining/satchel_ore_boxdm.html new file mode 100644 index 00000000000..a27ce20de6e --- /dev/null +++ b/code/modules/mining/satchel_ore_boxdm.html @@ -0,0 +1,27 @@ + + + + + + + code/modules/mining/satchel_ore_boxdm.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/mining/satchel_ore_boxdm.dm + +

+ + +
/obj/structure/ore_boxOre box
+ + + diff --git a/code/modules/mob/animations.html b/code/modules/mob/animations.html new file mode 100644 index 00000000000..042815ea649 --- /dev/null +++ b/code/modules/mob/animations.html @@ -0,0 +1,27 @@ + + + + + + + code/modules/mob/animations.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/mob/animations.dm + +

+ + +
/mob/living/carbonBLOOD SYSTEM
+ + + diff --git a/code/modules/mob/living/carbon/slime/items.html b/code/modules/mob/living/carbon/slime/items.html new file mode 100644 index 00000000000..ca9a59556c3 --- /dev/null +++ b/code/modules/mob/living/carbon/slime/items.html @@ -0,0 +1,27 @@ + + + + + + + code/modules/mob/living/carbon/slime/items.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/mob/living/carbon/slime/items.dm + +

+ + +
/obj/item/slimepotionPet Slime Creation
+ + + diff --git a/code/modules/mob/living/silicon/robot/gripper.html b/code/modules/mob/living/silicon/robot/gripper.html new file mode 100644 index 00000000000..fd0fbea81f1 --- /dev/null +++ b/code/modules/mob/living/silicon/robot/gripper.html @@ -0,0 +1,27 @@ + + + + + + + code/modules/mob/living/silicon/robot/gripper.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/mob/living/silicon/robot/gripper.dm + +

+ + +
/obj/item/gripper/no_useobj/item/reagent_containers/cooking_container //Part of cooking overhaul, not yet ported
+ + + diff --git a/code/modules/mob/living/simple_animal/hostile/syndicate.html b/code/modules/mob/living/simple_animal/hostile/syndicate.html new file mode 100644 index 00000000000..160abb21c25 --- /dev/null +++ b/code/modules/mob/living/simple_animal/hostile/syndicate.html @@ -0,0 +1,27 @@ + + + + + + + code/modules/mob/living/simple_animal/hostile/syndicate.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/mob/living/simple_animal/hostile/syndicate.dm + +

+ + +
/mob/living/simple_animal/hostile/syndicate/meleeSword and shield
+ + + diff --git a/code/modules/multiz/structures.html b/code/modules/multiz/structures.html new file mode 100644 index 00000000000..27b5b91abc0 --- /dev/null +++ b/code/modules/multiz/structures.html @@ -0,0 +1,28 @@ + + + + + + + code/modules/multiz/structures.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/multiz/structures.dm + +

+ + + +
/obj/structure/multiz/ladderLADDER
/obj/structure/multiz/stairsSTAIRS
+ + + diff --git a/code/modules/multiz/ztravel/climb.html b/code/modules/multiz/ztravel/climb.html new file mode 100644 index 00000000000..f9391d23d2c --- /dev/null +++ b/code/modules/multiz/ztravel/climb.html @@ -0,0 +1,27 @@ + + + + + + + code/modules/multiz/ztravel/climb.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/multiz/ztravel/climb.dm + +

+ + +
/datum/vertical_travel_method/climbGeneric climbing, without using any special equipment
+ + + diff --git a/code/modules/nano/nanoui.html b/code/modules/nano/nanoui.html new file mode 100644 index 00000000000..dfe18c601a2 --- /dev/null +++ b/code/modules/nano/nanoui.html @@ -0,0 +1,27 @@ + + + + + + + code/modules/nano/nanoui.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/nano/nanoui.dm + +

+ + +
/datum/nanouiNANO UI FRAMEWORK
+ + + diff --git a/code/modules/organs/body_modifications.html b/code/modules/organs/body_modifications.html new file mode 100644 index 00000000000..be27bed6982 --- /dev/null +++ b/code/modules/organs/body_modifications.html @@ -0,0 +1,28 @@ + + + + + + + code/modules/organs/body_modifications.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/organs/body_modifications.dm + +

+ + + +
/datum/body_modification/limb/organ_moduleOrgan Modules
/datum/body_modification/organ/oneeyeEyes
+ + + diff --git a/code/modules/organs/external/_external.html b/code/modules/organs/external/_external.html new file mode 100644 index 00000000000..07b32578534 --- /dev/null +++ b/code/modules/organs/external/_external.html @@ -0,0 +1,32 @@ + + + + + + + code/modules/organs/external/_external.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Define Details
+
+

code/modules/organs/external/_external.dm + +

+ + +
DROPLIMB_THRESHOLD_EDGEEXTERNAL ORGANS

Define Details

+

DROPLIMB_THRESHOLD_EDGE + + +

+

EXTERNAL ORGANS

+ + + diff --git a/code/modules/organs/external/subtypes/standard.html b/code/modules/organs/external/subtypes/standard.html new file mode 100644 index 00000000000..6bd924e12aa --- /dev/null +++ b/code/modules/organs/external/subtypes/standard.html @@ -0,0 +1,27 @@ + + + + + + + code/modules/organs/external/subtypes/standard.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/organs/external/subtypes/standard.dm + +

+ + +
/obj/item/organ/external/chestORGAN DEFINES
+ + + diff --git a/code/modules/organs/internal/internal_wounds/eyes.html b/code/modules/organs/internal/internal_wounds/eyes.html new file mode 100644 index 00000000000..0ba233f97fe --- /dev/null +++ b/code/modules/organs/internal/internal_wounds/eyes.html @@ -0,0 +1,27 @@ + + + + + + + code/modules/organs/internal/internal_wounds/eyes.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/organs/internal/internal_wounds/eyes.dm + +

+ + +
/datum/component/internal_wound/robotic/eyes_bluntRobotic
+ + + diff --git a/code/modules/organs/organ_description.html b/code/modules/organs/organ_description.html new file mode 100644 index 00000000000..1111b5426cc --- /dev/null +++ b/code/modules/organs/organ_description.html @@ -0,0 +1,28 @@ + + + + + + + code/modules/organs/organ_description.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/organs/organ_description.dm + +

+ + + +
/datum/organ_description/chest/slimeSLIME
/datum/organ_description/chest/skeletalSKELETON
+ + + diff --git a/code/modules/organs/wound.html b/code/modules/organs/wound.html new file mode 100644 index 00000000000..0f0ab9fc5df --- /dev/null +++ b/code/modules/organs/wound.html @@ -0,0 +1,31 @@ + + + + + + + code/modules/organs/wound.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/organs/wound.dm + +

+ + + + + + +
/datum/woundWOUNDS
/proc/get_wound_typeWOUND DEFINITIONS
/datum/wound/burnBURNS
/datum/wound/lost_limbEXTERNAL ORGAN LOSS
+ + + diff --git a/code/modules/overmap/events/movable.html b/code/modules/overmap/events/movable.html new file mode 100644 index 00000000000..ddfa6970bb8 --- /dev/null +++ b/code/modules/overmap/events/movable.html @@ -0,0 +1,27 @@ + + + + + + + code/modules/overmap/events/movable.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/overmap/events/movable.dm + +

+ + +
/obj/effect/overmap_event/movable/comet........::::::%%%SPACE_COMET
+ + + diff --git a/code/modules/overmap/exoplanets/exoplanet.html b/code/modules/overmap/exoplanets/exoplanet.html new file mode 100644 index 00000000000..2da1be8da92 --- /dev/null +++ b/code/modules/overmap/exoplanets/exoplanet.html @@ -0,0 +1,27 @@ + + + + + + + code/modules/overmap/exoplanets/exoplanet.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/overmap/exoplanets/exoplanet.dm + +

+ + +
/obj/effect/overmap/sector/exoplanetSPACE_COMET%%%::::::........
+ + + diff --git a/code/modules/paperwork/photography.html b/code/modules/paperwork/photography.html new file mode 100644 index 00000000000..fa7335fc033 --- /dev/null +++ b/code/modules/paperwork/photography.html @@ -0,0 +1,31 @@ + + + + + + + code/modules/paperwork/photography.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/paperwork/photography.dm + +

+ + + + + + +
/obj/item/device/camera_filmfilm
/var/photo_countphoto
/obj/item/storage/photo_albumphoto album
/obj/item/device/cameracamera
+ + + diff --git a/code/modules/paperwork/silicon_photography.html b/code/modules/paperwork/silicon_photography.html new file mode 100644 index 00000000000..4bc3cac461e --- /dev/null +++ b/code/modules/paperwork/silicon_photography.html @@ -0,0 +1,27 @@ + + + + + + + code/modules/paperwork/silicon_photography.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/paperwork/silicon_photography.dm + +

+ + +
/obj/item/device/camera/siliconcamAI-specific
+ + + diff --git a/code/modules/power/singularity/generator.html b/code/modules/power/singularity/generator.html new file mode 100644 index 00000000000..ede2e2f509c --- /dev/null +++ b/code/modules/power/singularity/generator.html @@ -0,0 +1,27 @@ + + + + + + + code/modules/power/singularity/generator.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/power/singularity/generator.dm + +

+ + +
/obj/machinery/the_singularitygenSINGULARITY SPAWNER
+ + + diff --git a/code/modules/projectiles/ammunition/boxes.html b/code/modules/projectiles/ammunition/boxes.html new file mode 100644 index 00000000000..96b20484954 --- /dev/null +++ b/code/modules/projectiles/ammunition/boxes.html @@ -0,0 +1,32 @@ + + + + + + + code/modules/projectiles/ammunition/boxes.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/projectiles/ammunition/boxes.dm + +

+ + + + + + + +
/obj/item/ammo_magazine/ammobox/magnum. 40
/obj/item/ammo_magazine/ammobox/srifle. 20
/obj/item/ammo_magazine/ammobox/clrifle. 25 CASELESS
/obj/item/ammo_magazine/ammobox/lrifle. 30
/obj/item/ammo_magazine/ammobox/antim.60
/obj/item/ammo_magazine/ammobox/shotgunSHOTGUN
+ + + diff --git a/code/modules/projectiles/ammunition/bullets.html b/code/modules/projectiles/ammunition/bullets.html new file mode 100644 index 00000000000..c52abb31846 --- /dev/null +++ b/code/modules/projectiles/ammunition/bullets.html @@ -0,0 +1,35 @@ + + + + + + + code/modules/projectiles/ammunition/bullets.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/projectiles/ammunition/bullets.dm + +

+ + + + + + + + + + +
/obj/item/ammo_casing/pistol.35
/obj/item/ammo_casing/magnum.40
/obj/item/ammo_casing/srifle.20
/obj/item/ammo_casing/clrifle.25
/obj/item/ammo_casing/lrifle.30
/obj/item/ammo_casing/antim.60
/obj/item/ammo_casing/shotgun.50 Shotgun
/obj/item/ammo_casing/grenadeGrenade Shells
/obj/item/ammo_casing/rocketOther
+ + + diff --git a/code/modules/projectiles/ammunition/magazines.html b/code/modules/projectiles/ammunition/magazines.html new file mode 100644 index 00000000000..e04ebd2a4cc --- /dev/null +++ b/code/modules/projectiles/ammunition/magazines.html @@ -0,0 +1,47 @@ + + + + + + + code/modules/projectiles/ammunition/magazines.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/projectiles/ammunition/magazines.dm + +

+ + + + + + + + + + + + + + + + + + + + + +
/obj/item/ammo_magazine/pistolStandard
/obj/item/ammo_magazine/hpistolHighCap
/obj/item/ammo_magazine/smg.35 SMG
/obj/item/ammo_magazine/msmg.40 SMG
/obj/item/ammo_magazine/magnum.40 pistol
/obj/item/ammo_magazine/srifle.20 RIFLE
/obj/item/ammo_magazine/srifle/long.20 LONG
/obj/item/ammo_magazine/srifle/drum.20 DRUM
/obj/item/ammo_magazine/c10x24.25 RIFLE
/obj/item/ammo_magazine/cspistol.25 PISTOL
/obj/item/ammo_magazine/lrifle.30 RIFLE
/obj/item/ammo_magazine/lrifle/drum.30 DRUM
/obj/item/ammo_magazine/maxim.30 MAXIM
/obj/item/ammo_magazine/slpistol/ SPEEDLOADERS / +.35 SPEEDLOADERS
/obj/item/ammo_magazine/slmagnum.40 SPEEDLOADERS
/obj/item/ammo_magazine/sllrifle.30 RIFLE SPEEDLOADERS
/obj/item/ammo_magazine/slsrifle.20 RIFLE SPEEDLOADERS
/obj/item/ammo_magazine/slclrifle.25 RIFLE SPEEDLOADERS
/obj/item/ammo_magazine/capsOTHER
/obj/item/ammo_magazine/m12Shotguns!
+ + + diff --git a/code/modules/projectiles/guns/energy/charge.html b/code/modules/projectiles/guns/energy/charge.html new file mode 100644 index 00000000000..7a68f592527 --- /dev/null +++ b/code/modules/projectiles/guns/energy/charge.html @@ -0,0 +1,28 @@ + + + + + + + code/modules/projectiles/guns/energy/charge.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/projectiles/guns/energy/charge.dm + +

+ + + +
/datum/firemode/chargeEnergy weapon charge attack
/datum/click_handler/chargeCharge gun click handler
+ + + diff --git a/code/modules/projectiles/guns/projectile/battle_rifle/boltgun.html b/code/modules/projectiles/guns/projectile/battle_rifle/boltgun.html new file mode 100644 index 00000000000..648a9cf3bb5 --- /dev/null +++ b/code/modules/projectiles/guns/projectile/battle_rifle/boltgun.html @@ -0,0 +1,27 @@ + + + + + + + code/modules/projectiles/guns/projectile/battle_rifle/boltgun.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/projectiles/guns/projectile/battle_rifle/boltgun.dm + +

+ + +
/obj/item/gun/projectile/boltgun/obrezOBREZ
+ + + diff --git a/code/modules/projectiles/projectile/beams.html b/code/modules/projectiles/projectile/beams.html new file mode 100644 index 00000000000..f6ee6993727 --- /dev/null +++ b/code/modules/projectiles/projectile/beams.html @@ -0,0 +1,27 @@ + + + + + + + code/modules/projectiles/projectile/beams.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/projectiles/projectile/beams.dm + +

+ + +
/obj/item/projectile/beam/cutterOnly used by the mech plasmacutter ofr now
+ + + diff --git a/code/modules/reagents/bonsai.html b/code/modules/reagents/bonsai.html new file mode 100644 index 00000000000..94765e6c02a --- /dev/null +++ b/code/modules/reagents/bonsai.html @@ -0,0 +1,27 @@ + + + + + + + code/modules/reagents/bonsai.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/reagents/bonsai.dm + +

+ + +
/obj/item/reagent_containers/bonsai
+ + + diff --git a/code/modules/reagents/reagent_containers/dropper.html b/code/modules/reagents/reagent_containers/dropper.html new file mode 100644 index 00000000000..f2affea7f73 --- /dev/null +++ b/code/modules/reagents/reagent_containers/dropper.html @@ -0,0 +1,27 @@ + + + + + + + code/modules/reagents/reagent_containers/dropper.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/reagents/reagent_containers/dropper.dm + +

+ + +
/obj/item/reagent_containers/dropperDroppers.
+ + + diff --git a/code/modules/reagents/reagent_containers/food.html b/code/modules/reagents/reagent_containers/food.html new file mode 100644 index 00000000000..60616b1ca77 --- /dev/null +++ b/code/modules/reagents/reagent_containers/food.html @@ -0,0 +1,27 @@ + + + + + + + code/modules/reagents/reagent_containers/food.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/reagents/reagent_containers/food.dm + +

+ + +
/obj/item/reagent_containers/foodDroppers. END
+ + + diff --git a/code/modules/reagents/reagent_containers/food/condiment.html b/code/modules/reagents/reagent_containers/food/condiment.html new file mode 100644 index 00000000000..9accbc8de34 --- /dev/null +++ b/code/modules/reagents/reagent_containers/food/condiment.html @@ -0,0 +1,27 @@ + + + + + + + code/modules/reagents/reagent_containers/food/condiment.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/reagents/reagent_containers/food/condiment.dm + +

+ + +
/obj/item/reagent_containers/food/condimentCondiments
+ + + diff --git a/code/modules/reagents/reagent_containers/food/drinks.html b/code/modules/reagents/reagent_containers/food/drinks.html new file mode 100644 index 00000000000..708ba03b481 --- /dev/null +++ b/code/modules/reagents/reagent_containers/food/drinks.html @@ -0,0 +1,30 @@ + + + + + + + code/modules/reagents/reagent_containers/food/drinks.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/reagents/reagent_containers/food/drinks.dm + +

+ + + + + +
/obj/item/reagent_containers/food/drinksDrinks.
/obj/item/reagent_containers/food/drinks/golden_cupDrinks. END
/obj/item/reagent_containers/food/drinks/milkDrinks
/obj/item/reagent_containers/food/drinks/shakerpitchers, pots, flasks and cups
+ + + diff --git a/code/modules/reagents/reagent_containers/food/drinks/bottle.html b/code/modules/reagents/reagent_containers/food/drinks/bottle.html new file mode 100644 index 00000000000..9fc05e374ad --- /dev/null +++ b/code/modules/reagents/reagent_containers/food/drinks/bottle.html @@ -0,0 +1,29 @@ + + + + + + + code/modules/reagents/reagent_containers/food/drinks/bottle.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/reagents/reagent_containers/food/drinks/bottle.dm + +

+ + + + +
/obj/item/reagent_containers/food/drinks/bottleAlcohol bottles! -Agouri
/obj/item/reagent_containers/food/drinks/bottle/ginPrecreated bottles
/obj/item/reagent_containers/food/drinks/bottle/orangejuiceJUICES AND STUFF
+ + + diff --git a/code/modules/reagents/reagent_containers/food/snacks.html b/code/modules/reagents/reagent_containers/food/snacks.html new file mode 100644 index 00000000000..dba8568a842 --- /dev/null +++ b/code/modules/reagents/reagent_containers/food/snacks.html @@ -0,0 +1,29 @@ + + + + + + + code/modules/reagents/reagent_containers/food/snacks.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/reagents/reagent_containers/food/snacks.dm + +

+ + + + +
/obj/item/reagent_containers/food/snacks/aesirsalad/////////////////////////////////////////Snacks
/obj/item/reagent_containers/food/snacks/sliceableSliceable
/obj/item/reagent_containers/food/snacks/sliceable/pizzaPIZZA
+ + + diff --git a/code/modules/reagents/reagent_containers/glass.html b/code/modules/reagents/reagent_containers/glass.html new file mode 100644 index 00000000000..b859314c683 --- /dev/null +++ b/code/modules/reagents/reagent_containers/glass.html @@ -0,0 +1,27 @@ + + + + + + + code/modules/reagents/reagent_containers/glass.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/reagents/reagent_containers/glass.dm + +

+ + +
/obj/item/reagent_containers/glass(Mixing)Glass.
+ + + diff --git a/code/modules/reagents/reagent_containers/glass/beaker.html b/code/modules/reagents/reagent_containers/glass/beaker.html new file mode 100644 index 00000000000..001b5f4c4e5 --- /dev/null +++ b/code/modules/reagents/reagent_containers/glass/beaker.html @@ -0,0 +1,31 @@ + + + + + + + code/modules/reagents/reagent_containers/glass/beaker.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/reagents/reagent_containers/glass/beaker.dm + +

+ + + + + + +
/obj/item/reagent_containers/glass/beaker/largeSubtypes
/obj/item/reagent_containers/glass/beaker/hivemindPreloaded beakers
/obj/item/reagent_containers/glass/beaker/vialVial(s)
/obj/item/reagent_containers/glass/beaker/vial/nanitesPreloaded vials
/obj/item/reagent_containers/glass/bucketOther
+ + + diff --git a/code/modules/reagents/reagent_containers/hypospray.html b/code/modules/reagents/reagent_containers/hypospray.html new file mode 100644 index 00000000000..b9ace09ec48 --- /dev/null +++ b/code/modules/reagents/reagent_containers/hypospray.html @@ -0,0 +1,27 @@ + + + + + + + code/modules/reagents/reagent_containers/hypospray.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/reagents/reagent_containers/hypospray.dm + +

+ + +
/obj/item/reagent_containers/hyposprayHYPOSPRAY
+ + + diff --git a/code/modules/reagents/reagent_containers/pill.html b/code/modules/reagents/reagent_containers/pill.html new file mode 100644 index 00000000000..716dfc0cf9d --- /dev/null +++ b/code/modules/reagents/reagent_containers/pill.html @@ -0,0 +1,28 @@ + + + + + + + code/modules/reagents/reagent_containers/pill.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/reagents/reagent_containers/pill.dm + +

+ + + +
/obj/item/reagent_containers/pillPills.
/obj/item/reagent_containers/pill/antitoxPills. END
+ + + diff --git a/code/modules/reagents/reagent_containers/syringes.html b/code/modules/reagents/reagent_containers/syringes.html new file mode 100644 index 00000000000..04569b9c2f5 --- /dev/null +++ b/code/modules/reagents/reagent_containers/syringes.html @@ -0,0 +1,34 @@ + + + + + + + code/modules/reagents/reagent_containers/syringes.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Define Details
+
+

code/modules/reagents/reagent_containers/syringes.dm + +

+ + + + +
SYRINGE_DRAWSyringes.
/obj/item/reagent_containers/syringe/inaprovalineSyringes. END
/obj/item/reagent_containers/syringe/large/antitoxinLarge Syringes.

Define Details

+

SYRINGE_DRAW + + +

+

Syringes.

+ + + diff --git a/code/modules/reagents/reagents/food-Drinks.html b/code/modules/reagents/reagents/food-Drinks.html new file mode 100644 index 00000000000..167be71d798 --- /dev/null +++ b/code/modules/reagents/reagents/food-Drinks.html @@ -0,0 +1,27 @@ + + + + + + + code/modules/reagents/reagents/food-Drinks.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/reagents/reagents/food-Drinks.dm + +

+ + +
/datum/reagent/alcohol/kaiserbeerlose sanity on withdrawal, notify user about this
+ + + diff --git a/code/modules/reagents/reagents/medicine.html b/code/modules/reagents/reagents/medicine.html new file mode 100644 index 00000000000..3fc0821895a --- /dev/null +++ b/code/modules/reagents/reagents/medicine.html @@ -0,0 +1,27 @@ + + + + + + + code/modules/reagents/reagents/medicine.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/reagents/reagents/medicine.dm + +

+ + +
/datum/reagent/medicinelose sanity on withdrawal, notify user about this
+ + + diff --git a/code/modules/reagents/reagents/toxins.html b/code/modules/reagents/reagents/toxins.html new file mode 100644 index 00000000000..78d440a2624 --- /dev/null +++ b/code/modules/reagents/reagents/toxins.html @@ -0,0 +1,27 @@ + + + + + + + code/modules/reagents/reagents/toxins.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/reagents/reagents/toxins.dm + +

+ + +
/datum/reagent/toxin/plasmadatum/reagent/toxin/blattedin is defined in blattedin.dm
+ + + diff --git a/code/modules/recycling/disposal.html b/code/modules/recycling/disposal.html new file mode 100644 index 00000000000..5e9c1bc0d76 --- /dev/null +++ b/code/modules/recycling/disposal.html @@ -0,0 +1,28 @@ + + + + + + + code/modules/recycling/disposal.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/recycling/disposal.dm + +

+ + + +
/obj/structure/disposalpipe/upZ-Level stuff
/obj/structure/disposalpipe/junction/yjunctionZ-Level stuff
+ + + diff --git a/code/modules/research/designs.html b/code/modules/research/designs.html new file mode 100644 index 00000000000..00370ae5157 --- /dev/null +++ b/code/modules/research/designs.html @@ -0,0 +1,27 @@ + + + + + + + code/modules/research/designs.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/research/designs.dm + +

+ + +
/datum/design/research
+ + + diff --git a/code/modules/research/research.html b/code/modules/research/research.html new file mode 100644 index 00000000000..da14e832a45 --- /dev/null +++ b/code/modules/research/research.html @@ -0,0 +1,27 @@ + + + + + + + code/modules/research/research.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/research/research.dm + +

+ + +
/datum/techTechnology Trees
+ + + diff --git a/code/modules/sanity/inspiration_component.html b/code/modules/sanity/inspiration_component.html new file mode 100644 index 00000000000..491fe78c156 --- /dev/null +++ b/code/modules/sanity/inspiration_component.html @@ -0,0 +1,32 @@ + + + + + + + code/modules/sanity/inspiration_component.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/sanity/inspiration_component.dm + +

+ + +
/datum/component/inspirationSimple data container component containing level up statistics. +This does NOT make something a valid inspiration. It simply holds the data in case it gets used as one! +To actually use it, the typepath of the object has to be contained within the sanity datum valid_inspiration list. +Assign this component to an item specifying which statistics should be levelled up, and the item will be able to be used as an inspiration. +The format of statistics is list(STAT_DEFINE = number) or a proc that returns such a list. +(This would've been better as an element instead of a component, but currently elements don't exist on cev eris. F)
+ + + diff --git a/code/modules/shieldgen/sheldwallgen.html b/code/modules/shieldgen/sheldwallgen.html new file mode 100644 index 00000000000..fdb3dfe212a --- /dev/null +++ b/code/modules/shieldgen/sheldwallgen.html @@ -0,0 +1,28 @@ + + + + + + + code/modules/shieldgen/sheldwallgen.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/shieldgen/sheldwallgen.dm + +

+ + + +
/obj/machinery/shieldwallgenFIELD GEN START //shameless copypasta from fieldgen, powersink, and grille
/obj/machinery/shieldwallContainment Field START
+ + + diff --git a/code/modules/synthesized_instruments/docs/Structure.html b/code/modules/synthesized_instruments/docs/Structure.html new file mode 100644 index 00000000000..d16d5277be1 --- /dev/null +++ b/code/modules/synthesized_instruments/docs/Structure.html @@ -0,0 +1,45 @@ + + + + + + + code/modules/synthesized_instruments/docs/Structure.txt - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/synthesized_instruments/docs/Structure.txt + +

+ + +
This module uses 4 components:
+Real instruments -- the physical manifestation of the instrument, the one that is placed in the world
+Virtual instruments -- the definition of an instrument, that is, what samples it uses, name and category
+Sound player -- used to apply modification to all sounds emitted. Represents the actual source of sound (Right now it does little, but if you want to make certain factors
+further modify sound more you'd start from here)
+Synthesized Song - just like /datum/song it's what parses and plays a melody
+---
+Real instruments inherit from either /obj/structure/synthesized_instrument (static musical instrument) or /obj/item/device/synthesized_instrument (handheld musical instrument)
+---
+Virtual instruments all inherit from /datum/instrument. 
+Virtual instruments should follow this structure: /datum/instrument/category_name/instrument_name.
+
+Refer to any file in ./instrument_data to see how it's done.
+---
+Sound player inherits from /datum/sound_player
+---
+For synthesized song only use /datum/synthesized_song
+---```
+
+ + + diff --git a/code/modules/telesci/telepads.html b/code/modules/telesci/telepads.html new file mode 100644 index 00000000000..fbed8c1f0ca --- /dev/null +++ b/code/modules/telesci/telepads.html @@ -0,0 +1,27 @@ + + + + + + + code/modules/telesci/telepads.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/telesci/telepads.dm + +

+ + +
/obj/machinery/telepadSCI TELEPAD
+ + + diff --git a/code/modules/tgui/external.html b/code/modules/tgui/external.html new file mode 100644 index 00000000000..9c1ccae05f6 --- /dev/null +++ b/code/modules/tgui/external.html @@ -0,0 +1,31 @@ + + + + + + + code/modules/tgui/external.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/tgui/external.dm + +

+ + + + +

External tgui definitions, such as src_object APIs.

+

Copyright (c) 2020 Aleksej Komarov +SPDX-License-Identifier: MIT

/proc/tgui_TopicMiddleware for /client/Topic.
+ + + diff --git a/code/modules/tgui/states.html b/code/modules/tgui/states.html new file mode 100644 index 00000000000..fdb3c441734 --- /dev/null +++ b/code/modules/tgui/states.html @@ -0,0 +1,30 @@ + + + + + + + code/modules/tgui/states.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/tgui/states.dm + +

+ + +

Base state and helpers for states. Just does some sanity checks, +implement a proper state for in-depth checks.

+

Copyright (c) 2020 Aleksej Komarov +SPDX-License-Identifier: MIT

+ + + diff --git a/code/modules/tgui/states/always.html b/code/modules/tgui/states/always.html new file mode 100644 index 00000000000..2dfc718854a --- /dev/null +++ b/code/modules/tgui/states/always.html @@ -0,0 +1,28 @@ + + + + + + + code/modules/tgui/states/always.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/tgui/states/always.dm + +

+ + +

Copyright (c) 2020 Aleksej Komarov +SPDX-License-Identifier: MIT

+ + + diff --git a/code/modules/tgui/states/hands.html b/code/modules/tgui/states/hands.html new file mode 100644 index 00000000000..b5c526ef509 --- /dev/null +++ b/code/modules/tgui/states/hands.html @@ -0,0 +1,28 @@ + + + + + + + code/modules/tgui/states/hands.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/tgui/states/hands.dm + +

+ + +

Copyright (c) 2020 Aleksej Komarov +SPDX-License-Identifier: MIT

+ + + diff --git a/code/modules/tgui/states/notcontained.html b/code/modules/tgui/states/notcontained.html new file mode 100644 index 00000000000..d71193104d1 --- /dev/null +++ b/code/modules/tgui/states/notcontained.html @@ -0,0 +1,28 @@ + + + + + + + code/modules/tgui/states/notcontained.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/tgui/states/notcontained.dm + +

+ + +

Copyright (c) 2020 Aleksej Komarov +SPDX-License-Identifier: MIT

+ + + diff --git a/code/modules/tgui/status_composers.html b/code/modules/tgui/status_composers.html new file mode 100644 index 00000000000..c9dd5d9d4e1 --- /dev/null +++ b/code/modules/tgui/status_composers.html @@ -0,0 +1,56 @@ + + + + + + + code/modules/tgui/status_composers.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/tgui/status_composers.dm + +

+ + + + + + + + + + + + + + + + + + + +
/proc/default_ui_stateThe sane defaults for a UI such as a computer or a machine.
/proc/ui_status_user_is_adjacentReturns a UI status such that users adjacent to source will be able to interact, +far away users will be able to see, and anyone farther won't see anything. +Dead users will receive updates no matter what, though you likely want to add +a [ui_status_only_living] check for finer observer interactions.
/proc/ui_status_only_livingReturns a UI status such that the dead will be able to watch, but not interact.
/proc/ui_status_user_is_abledReturns a UI status such that users with debilitating conditions, such as +being dead or not having power for silicons, will not be able to interact. +Being dead will disable UI, being incapacitated will continue updating it, +and anything else will make it interactive.
/proc/ui_status_user_has_free_handsReturns a UI status such that those without blocked hands will be able to interact, +but everyone else can only watch.
/proc/ui_status_user_is_advanced_tool_userReturns a UI status such that advanced tool users will be able to interact, +but everyone else can only watch.
/proc/ui_status_silicon_has_accessReturns a UI status such that silicons will be able to interact with whatever +they would have access to if this was a machine. For example, AIs can +interact if there's cameras with wireless control is enabled.
/proc/ui_status_user_is_conscious_and_lying_downReturns UI_INTERACTIVE if the user is conscious and lying down. +Returns UI_UPDATE otherwise.
/proc/ui_status_user_strictly_adjacentReturn UI_INTERACTIVE if the user is strictly adjacent to the target atom, whether they can see it or not. +Return UI_CLOSE otherwise.
+ + + diff --git a/code/modules/tgui/tgui.html b/code/modules/tgui/tgui.html new file mode 100644 index 00000000000..aa7d6a58c3f --- /dev/null +++ b/code/modules/tgui/tgui.html @@ -0,0 +1,29 @@ + + + + + + + code/modules/tgui/tgui.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/tgui/tgui.dm + +

+ + + +

Copyright (c) 2020 Aleksej Komarov +SPDX-License-Identifier: MIT

/datum/tguitgui datum (represents a UI).
+ + + diff --git a/code/modules/tgui/tgui_window.html b/code/modules/tgui/tgui_window.html new file mode 100644 index 00000000000..f58900d3c2b --- /dev/null +++ b/code/modules/tgui/tgui_window.html @@ -0,0 +1,28 @@ + + + + + + + code/modules/tgui/tgui_window.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/tgui/tgui_window.dm + +

+ + +

Copyright (c) 2020 Aleksej Komarov +SPDX-License-Identifier: MIT

+ + + diff --git a/code/modules/unit_tests.html b/code/modules/unit_tests.html new file mode 100644 index 00000000000..aeb095c5206 --- /dev/null +++ b/code/modules/unit_tests.html @@ -0,0 +1,71 @@ + + + + + + + code/modules/unit_tests/README.md - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

Unit Tests + +

+ + +

What is unit testing?

+

Unit tests are automated code to verify that parts of the game work exactly as they should. For example, a test to make sure that the amputation surgery actually amputates the limb. These are ran every time a PR is made, and thus are very helpful for preventing bugs from cropping up in your code that would've otherwise gone unnoticed. For example, would you have thought to check that beach boys would still work the same after editing pizza? If you value your time, probably not.

+

On their most basic level, when UNIT_TESTS is defined, all subtypes of /datum/unit_test will have their Run proc executed. From here, if Fail is called at any point, then the tests will report as failed.

+

How do I write one?

+
    +
  1. Find a relevant file.
  2. +
+

All unit test related code is in code/modules/unit_tests. If you are adding a new test for a surgery, for example, then you'd open surgeries.dm. If a relevant file does not exist, simply create one in this folder, then #include it in _unit_tests.dm.

+
    +
  1. Create the unit test.
  2. +
+

To make a new unit test, you simply need to define a /datum/unit_test.

+

For example, let's suppose that we are creating a test to make sure a proc square correctly raises inputs to the power of two. We'd start with first:

+
/datum/unit_test/square/Run()
+
+

This defines our new unit test, /datum/unit_test/square. Inside this function, we're then going to run through whatever we want to check. Tests provide a few assertion functions to make this easy. For now, we're going to use TEST_ASSERT_EQUAL.

+
/datum/unit_test/square/Run()
+    TEST_ASSERT_EQUAL(square(3), 9, "square(3) did not return 9")
+    TEST_ASSERT_EQUAL(square(4), 16, "square(4) did not return 16")
+
+

As you can hopefully tell, we're simply checking if the output of square matches the output we are expecting. If the test fails, it'll report the error message given as well as whatever the actual output was.

+
    +
  1. Run the unit test
  2. +
+

Open code/_compile_options.dm and uncomment the following line.

+
//#define UNIT_TESTS			//If this is uncommented, we do a single run though of the game setup and tear down process with unit tests in between
+
+

Then, run tgstation.dmb in Dream Daemon. Don't bother trying to connect, you won't need to. You'll be able to see the outputs of all the tests. You'll get to see which tests failed and for what reason. If they all pass, you're set!

+

How to think about tests

+

Unit tests exist to prevent bugs that would happen in a real game. Thus, they should attempt to emulate the game world wherever possible. For example, the quick swap sanity test emulates a real scenario of the bug it fixed occurring by creating a character and giving it real items. The unrecommended alternative would be to create special test-only items. This isn't a hard rule, the reagent method exposure tests create a test-only reagent for example, but do keep it in mind.

+

Unit tests should also be just that--testing units of code. For example, instead of having one massive test for reagents, there are instead several smaller tests for testing exposure, metabolization, etc.

+

The unit testing API

+

You can find more information about all of these from their respective doc comments, but for a brief overview:

+

/datum/unit_test - The base for all tests to be ran. Subtypes must override Run(). New() and Destroy() can be used for setup and teardown. To fail, use Fail(reason).

+

/datum/unit_test/proc/allocate(type, ...) - Allocates an instance of the provided type with the given arguments. Is automatically destroyed when the test is over. Commonly seen in the form of var/mob/living/carbon/human/human = allocate(/mob/living/carbon/human).

+

TEST_ASSERT(assertion, reason) - Stops the unit test and fails if the assertion is not met. For example: TEST_ASSERT(powered(), "Machine is not powered").

+

TEST_ASSERT_EQUAL(a, b, message) - Same as TEST_ASSERT, but checks if a == b. If not, gives a helpful message showing what both a and b were. For example: TEST_ASSERT_EQUAL(2 + 2, 4, "The universe is falling apart before our eyes!").

+

TEST_ASSERT_NOTEQUAL(a, b, message) - Same as TEST_ASSERT_EQUAL, but reversed.

+

TEST_FOCUS(test_path) - Only run the test provided within the parameters. Useful for reducing noise. For example, if we only want to run our example square test, we can add TEST_FOCUS(/datum/unit_test/square). Should never be pushed in a pull request--you will be laughed at.

+

Final Notes

+
    +
  • Writing tests before you attempt to fix the bug can actually speed up development a lot! It means you don't have to go in game and folllow the same exact steps manually every time. This process is known as "TDD" (test driven development). Write the test first, make sure it fails, then start work on the fix/feature, and you'll know you're done when your tests pass. If you do try this, do make sure to confirm in a non-testing environment just to double check.
  • +
  • Make sure that your tests don't accidentally call RNG functions like prob. Since RNG is seeded during tests, you may not realize you have until someone else makes a PR and the tests fail!
  • +
  • Do your best not to change the behavior of non-testing code during tests. While it may sometimes be necessary in the case of situations such as the above, it is still a slippery slope that can lead to the code you're testing being too different from the production environment to be useful.
  • +
+ + + diff --git a/code/modules/unit_tests/_unit_tests.html b/code/modules/unit_tests/_unit_tests.html new file mode 100644 index 00000000000..961ec26191d --- /dev/null +++ b/code/modules/unit_tests/_unit_tests.html @@ -0,0 +1,101 @@ + + + + + + + code/modules/unit_tests/_unit_tests.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Define Details
+
+

code/modules/unit_tests/_unit_tests.dm + +

+ + + + + + + + + + + + +
TEST_FAILFor advanced cases, fail unconditionally but don't return (so a test can return multiple results)
TEST_ASSERTAsserts that a condition is true +If the condition is not true, fails the test
TEST_ASSERT_NOTNULLAsserts that a parameter is not null
TEST_ASSERT_NULLAsserts that a parameter is null
TEST_ASSERT_EQUALAsserts that the two parameters passed are equal, fails otherwise +Optionally allows an additional message in the case of a failure
TEST_ASSERT_NOTEQUALAsserts that the two parameters passed are not equal, fails otherwise +Optionally allows an additional message in the case of a failure
TEST_FOCUSOnly run the test provided within the parentheses +This is useful for debugging when you want to reduce noise, but should never be pushed +Intended to be used in the manner of TEST_FOCUS(/datum/unit_test/math)
UNIT_TEST_PASSEDConstants indicating unit test completion status
TEST_OUTPUT_REDChange color to red on ANSI terminal output, if enabled with -DANSICOLORS.
TEST_OUTPUT_GREENChange color to green on ANSI terminal output, if enabled with -DANSICOLORS.
TRAIT_SOURCE_UNIT_TESTSA trait source when adding traits through unit tests

Define Details

+

TEST_ASSERT + + + +

+

Asserts that a condition is true +If the condition is not true, fails the test

TEST_ASSERT_EQUAL + + + +

+

Asserts that the two parameters passed are equal, fails otherwise +Optionally allows an additional message in the case of a failure

TEST_ASSERT_NOTEQUAL + + + +

+

Asserts that the two parameters passed are not equal, fails otherwise +Optionally allows an additional message in the case of a failure

TEST_ASSERT_NOTNULL + + + +

+

Asserts that a parameter is not null

TEST_ASSERT_NULL + + + +

+

Asserts that a parameter is null

TEST_FAIL + + + +

+

For advanced cases, fail unconditionally but don't return (so a test can return multiple results)

TEST_FOCUS + + + +

+

Only run the test provided within the parentheses +This is useful for debugging when you want to reduce noise, but should never be pushed +Intended to be used in the manner of TEST_FOCUS(/datum/unit_test/math)

TEST_OUTPUT_GREEN + + + +

+

Change color to green on ANSI terminal output, if enabled with -DANSICOLORS.

TEST_OUTPUT_RED + + + +

+

Change color to red on ANSI terminal output, if enabled with -DANSICOLORS.

TRAIT_SOURCE_UNIT_TESTS + + +

+

A trait source when adding traits through unit tests

UNIT_TEST_PASSED + + +

+

Constants indicating unit test completion status

+ + + diff --git a/code/modules/unit_tests/map_tests.html b/code/modules/unit_tests/map_tests.html new file mode 100644 index 00000000000..ead7191d5de --- /dev/null +++ b/code/modules/unit_tests/map_tests.html @@ -0,0 +1,27 @@ + + + + + + + code/modules/unit_tests/map_tests.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/unit_tests/map_tests.dm + +

+ + +
/datum/unit_test/log_mappingConveys all log_mapping messages as unit test failures, as they all indicate mapping problems.
+ + + diff --git a/code/modules/unit_tests/mob_tests.html b/code/modules/unit_tests/mob_tests.html new file mode 100644 index 00000000000..afe3dcef527 --- /dev/null +++ b/code/modules/unit_tests/mob_tests.html @@ -0,0 +1,27 @@ + + + + + + + code/modules/unit_tests/mob_tests.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/unit_tests/mob_tests.dm + +

+ + +
/datum/unit_test/human_breathUsed to test mob breathing in space
+ + + diff --git a/code/modules/unit_tests/screenshot_basic.html b/code/modules/unit_tests/screenshot_basic.html new file mode 100644 index 00000000000..6c65a2f1b8f --- /dev/null +++ b/code/modules/unit_tests/screenshot_basic.html @@ -0,0 +1,28 @@ + + + + + + + code/modules/unit_tests/screenshot_basic.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/unit_tests/screenshot_basic.dm + +

+ + +
/datum/unit_test/screenshot_basicThis is an example for screenshot tests, and a meta-test to make sure they work in the success case. +It creates a picture that is red on the left side, green on the other.
+ + + diff --git a/code/modules/unit_tests/screenshots.html b/code/modules/unit_tests/screenshots.html new file mode 100644 index 00000000000..b705a536c5d --- /dev/null +++ b/code/modules/unit_tests/screenshots.html @@ -0,0 +1,39 @@ + + + + + + + code/modules/unit_tests/screenshots/README.md - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/unit_tests/screenshots/README.md + +

+ + +

This folder contains the results for screenshot tests. Screenshot tests make sure an icon looks the same as it did before a change to prevent regressions.

+

You can create one by simply using the test_screenshot proc.

+

This example test screenshots a red image and keeps it.

+
/// This is an example for screenshot tests, and a meta-test to make sure they work in the success case.
+/// It creates a picture that is red on the left side, green on the other.
+/datum/unit_test/screenshot_basic
+
+/datum/unit_test/screenshot_basic/Run()
+	var/icon/red = icon('icons/blanks/32x32.dmi', "nothing")
+	red.Blend(COLOR_RED, ICON_OVERLAY)
+	test_screenshot("red", red)
+
+

Unfortunately, screenshot tests are sanest to test through a pull request directly, due to limitations with both DM and GitHub.

+ + + diff --git a/code/modules/unit_tests/step_override.html b/code/modules/unit_tests/step_override.html new file mode 100644 index 00000000000..4aa1e98f748 --- /dev/null +++ b/code/modules/unit_tests/step_override.html @@ -0,0 +1,27 @@ + + + + + + + code/modules/unit_tests/step_override.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/unit_tests/step_override.dm + +

+ + +
/datum/unit_test/step_overrideChecks if the override for step doesn't break the actual parent (byond built in) code
+ + + diff --git a/code/modules/unit_tests/tgui_create_message.html b/code/modules/unit_tests/tgui_create_message.html new file mode 100644 index 00000000000..3f7dac74a23 --- /dev/null +++ b/code/modules/unit_tests/tgui_create_message.html @@ -0,0 +1,27 @@ + + + + + + + code/modules/unit_tests/tgui_create_message.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/unit_tests/tgui_create_message.dm + +

+ + +
/datum/unit_test/tgui_create_messageTest that TGUI_CREATE_MESSAGE is correctly implemented
+ + + diff --git a/code/modules/unit_tests/uniqueness.html b/code/modules/unit_tests/uniqueness.html new file mode 100644 index 00000000000..a8795811b84 --- /dev/null +++ b/code/modules/unit_tests/uniqueness.html @@ -0,0 +1,28 @@ + + + + + + + code/modules/unit_tests/uniqueness.dm - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

code/modules/unit_tests/uniqueness.dm + +

+ + + +
/proc/number_of_issuesUSED BY UNIT TEST: uniqueness.dm
+ + + diff --git a/datum.html b/datum.html new file mode 100644 index 00000000000..1217af3ee11 --- /dev/null +++ b/datum.html @@ -0,0 +1,415 @@ + + + + + + + /datum - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Var Details - Proc Details
+
+

datum + + + +

+ +

The absolute base class for everything

+

A datum instantiated has no physical world prescence, use an atom if you want something +that actually lives in the world

+

Be very mindful about adding variables to this class, they are inherited by every single +thing in the entire game, and so you can easily cause memory usage to rise a lot with careless +use of variables at this level

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Vars

active_timersActive timers with this datum as the target
comp_lookupAny datum registered to receive signals from this datum is in this list
datum_componentsComponents attached to this datum
datum_flagsDatum level flags
gc_destroyedTick count time when this object was destroyed.
signal_procsLazy associated list in the structure of [target][signal] = proc) that are run when the datum receives that signal
tgui_shared_statesglobal
weak_referenceA weak reference to another datum

Procs

GetComponentReturn any component assigned to this datum of the given type
GetComponentsGet all components of a given type that are attached to this datum
GetExactComponentReturn any component assigned to this datum of the exact given type
IsRegisteredChecks if we already are registered onto the object with said proc on said signal
ProcessThis proc is called on a datum on every "cycle" if it is being processed by a subsystem. The time between each cycle is determined by the subsystem's "wait" setting. +You can start and stop processing a datum using the START_PROCESSING and STOP_PROCESSING defines.
RegisterSignalRegister to listen for a signal from the passed in target
RegisterSignalsRegisters multiple signals to the same proc.
TakeComponentTransfer this component to another parent
TransferComponentsTransfer all components to target
UnregisterSignalStop listening to a given signal from target
_AddComponentCreates an instance of new_type in the datum and attaches to it as parent
_AddElementFinds the singleton for the element type given and attaches it to src
_LoadComponentGet existing component of type, or create it and return a reference to it
_RemoveElementFinds the singleton for the element type given and detaches it from src +You only need additional arguments beyond the type if you're using ELEMENT_BESPOKE
_SendSignalInternal proc to handle most all of the signaling procedure
nano_ui_dataData to be sent to the UI. +This must be implemented for a UI to work.
nano_ui_interactThe nano_ui_interact proc is used to open and update Nano UIs +If nano_ui_interact is not used then the UI will not update correctly +nano_ui_interact is currently defined for /atom/movable
ui_actpublic
ui_assetspublic
ui_closepublic
ui_datapublic
ui_hostprivate
ui_interactpublic
ui_stateprivate
ui_static_datapublic
ui_statuspublic
update_static_datapublic
update_static_data_for_all_viewerspublic
+

Var Details

active_timers + + + + +

+

Active timers with this datum as the target

comp_lookup + + + + +

+

Any datum registered to receive signals from this datum is in this list

+

Lazy associated list in the structure of [signal] = list(registered_objects)

datum_components + + + + +

+

Components attached to this datum

+

Lazy associated list in the structure of type:component/list of components

datum_flags + + + + +

+

Datum level flags

gc_destroyed + + + + +

+

Tick count time when this object was destroyed.

+

If this is non zero then the object has been garbage collected and is awaiting either +a hard del by the GC subsystme, or to be autocollected (if it has no references)

signal_procs + + + + +

+

Lazy associated list in the structure of [target][signal] = proc) that are run when the datum receives that signal

tgui_shared_states + + + + +

+

global

+

Associative list of JSON-encoded shared states that were set by +tgui clients.

weak_reference + + + + +

+

A weak reference to another datum

Proc Details

GetComponent +

+

Return any component assigned to this datum of the given type

+

This will throw an error if it's possible to have more than one component of that type on the parent

+

Arguments:

+

GetComponents +

+

Get all components of a given type that are attached to this datum

+

Arguments:

+

GetExactComponent +

+

Return any component assigned to this datum of the exact given type

+

This will throw an error if it's possible to have more than one component of that type on the parent

+

Arguments:

+

IsRegistered +

+

Checks if we already are registered onto the object with said proc on said signal

Process +

+

This proc is called on a datum on every "cycle" if it is being processed by a subsystem. The time between each cycle is determined by the subsystem's "wait" setting. +You can start and stop processing a datum using the START_PROCESSING and STOP_PROCESSING defines.

+

Since the wait setting of a subsystem can be changed at any time, it is important that any rate-of-change that you implement in this proc is multiplied by the delta_time that is sent as a parameter, +Additionally, any "prob" you use in this proc should instead use the DT_PROB define to make sure that the final probability per second stays the same even if the subsystem's wait is altered. +Examples where this must be considered:

+ +

If you override this do not call parent, as it will return PROCESS_KILL. This is done to prevent objects that dont override process() from staying in the processing list

RegisterSignal +

+

Register to listen for a signal from the passed in target

+

This sets up a listening relationship such that when the target object emits a signal +the source datum this proc is called upon, will receive a callback to the given proctype +Use PROC_REF(procname), TYPE_PROC_REF(type,procname) or GLOBAL_PROC_REF(procname) macros to validate the passed in proc at compile time. +PROC_REF for procs defined on current type or it's ancestors, TYPE_PROC_REF for procs defined on unrelated type and GLOBAL_PROC_REF for global procs. +Return values from procs registered must be a bitfield

+

Arguments:

+

RegisterSignals +

+

Registers multiple signals to the same proc.

TakeComponent +

+

Transfer this component to another parent

+

Component is taken from source datum

+

Arguments:

+

TransferComponents +

+

Transfer all components to target

+

All components from source datum are taken

+

Arguments:

+

UnregisterSignal +

+

Stop listening to a given signal from target

+

Breaks the relationship between target and source datum, removing the callback when the signal fires

+

Doesn't care if a registration exists or not

+

Arguments:

+

_AddComponent +

+

Creates an instance of new_type in the datum and attaches to it as parent

+

Sends the COMSIG_COMPONENT_ADDED signal to the datum

+

Returns the component that was created. Or the old component in a dupe situation where COMPONENT_DUPE_UNIQUE was set

+

If this tries to add a component to an incompatible type, the component will be deleted and the result will be null. This is very unperformant, try not to do it

+

Properly handles duplicate situations based on the dupe_mode var

_AddElement +

+

Finds the singleton for the element type given and attaches it to src

_LoadComponent +

+

Get existing component of type, or create it and return a reference to it

+

Use this if the item needs to exist at the time of this call, but may not have been created before now

+

Arguments:

+

_RemoveElement +

+

Finds the singleton for the element type given and detaches it from src +You only need additional arguments beyond the type if you're using ELEMENT_BESPOKE

_SendSignal +

+

Internal proc to handle most all of the signaling procedure

+

Will runtime if used on datums with an empty component list

+

Use the SEND_SIGNAL define instead

nano_ui_data +

+

Data to be sent to the UI. +This must be implemented for a UI to work.

+

@param user /mob The mob who interacting with the UI +@param ui_key string A string key to use for this UI. Allows for multiple unique UIs on one obj/mob (defaut value "main")

+

@return data /list Data to be sent to the UI

nano_ui_interact +

+

The nano_ui_interact proc is used to open and update Nano UIs +If nano_ui_interact is not used then the UI will not update correctly +nano_ui_interact is currently defined for /atom/movable

+

@param user /mob The mob who is interacting with this UI +@param ui_key string A string key to use for this UI. Allows for multiple unique UIs on one obj/mob (defaut value "main") +@param ui /datum/nanoui This parameter is passed by the nanoui process() proc when updating an open UI +@param force_open enum See _defines/nanoui.dm

+

@return nothing

ui_act +

+

public

+

Called on a UI when the UI receieves a href. +Think of this as Topic().

+

required action string The action/button that has been invoked by the user. +required params list A list of parameters attached to the button.

+

return bool If the user's input has been handled and the UI should update.

ui_assets +

+

public

+

Called on an object when a tgui object is being created, allowing you to +push various assets to tgui, for examples spritesheets.

+

return list List of asset datums or file paths.

ui_close +

+

public

+

Called on a UI's object when the UI is closed, not to be confused with +client/verb/uiclose(), which closes the ui window

ui_data +

+

public

+

Data to be sent to the UI. +This must be implemented for a UI to work.

+

required user mob The mob interacting with the UI.

+

return list Data to be sent to the UI.

ui_host +

+

private

+

The UI's host object (usually src_object). +This allows modules/datums to have the UI attached to them, +and be a part of another object.

ui_interact +

+

public

+

Used to open and update UIs. +If this proc is not implemented properly, the UI will not update correctly.

+

required user mob The mob who opened/is using the UI. +optional ui datum/tgui The UI to be updated, if it exists.

ui_state +

+

private

+

The UI's state controller to be used for created uis +This is a proc over a var for memory reasons

ui_static_data +

+

public

+

Static Data to be sent to the UI.

+

Static data differs from normal data in that it's large data that should be +sent infrequently. This is implemented optionally for heavy uis that would +be sending a lot of redundant data frequently. Gets squished into one +object on the frontend side, but the static part is cached.

+

required user mob The mob interacting with the UI.

+

return list Statuic Data to be sent to the UI.

ui_status +

+

public

+

Checks the UI state for a mob.

+

required user mob The mob who opened/is using the UI. +required state datum/ui_state The state to check.

+

return UI_state The state of the UI.

update_static_data +

+

public

+

Forces an update on static data. Should be done manually whenever something +happens to change static data.

+

required user the mob currently interacting with the ui +optional ui ui to be updated

update_static_data_for_all_viewers +

+

public

+

Will force an update on static data for all viewers. +Should be done manually whenever something happens to +change static data.

+ + + diff --git a/datum/admins.html b/datum/admins.html new file mode 100644 index 00000000000..fe377f47af0 --- /dev/null +++ b/datum/admins.html @@ -0,0 +1,42 @@ + + + + + + + /datum/admins - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

admins + + + +

+ + + +

Procs

restartadmins2.dm merge
view_log_panelPanels

Proc Details

restart +

+

admins2.dm merge

view_log_panel +

+

Panels

+ + + diff --git a/datum/ai_laws.html b/datum/ai_laws.html new file mode 100644 index 00000000000..d0557d7390f --- /dev/null +++ b/datum/ai_laws.html @@ -0,0 +1,64 @@ + + + + + + + /datum/ai_laws - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

ai_laws + + + +

+ + + + + + +

Procs

clear_zeroth_lawsClear Laws
delete_lawRemove Laws
get_state_lawStating Laws
set_state_lawSet
set_zeroth_lawAdd Laws

Proc Details

clear_zeroth_laws +

+

Clear Laws

delete_law +

+

Remove Laws

get_state_law +

+

Stating Laws

+

Get

set_state_law +

+

Set

set_zeroth_law +

+

Add Laws

+ + + diff --git a/datum/asset.html b/datum/asset.html new file mode 100644 index 00000000000..9d7baeaaeda --- /dev/null +++ b/datum/asset.html @@ -0,0 +1,35 @@ + + + + + + + /datum/asset - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

asset + + + +

+ + +

Procs

get_serialized_url_mappingsReturns a cached tgui message of URL mappings

Proc Details

get_serialized_url_mappings +

+

Returns a cached tgui message of URL mappings

+ + + diff --git a/datum/asset/simple.html b/datum/asset/simple.html new file mode 100644 index 00000000000..c6214423ef2 --- /dev/null +++ b/datum/asset/simple.html @@ -0,0 +1,56 @@ + + + + + + + /datum/asset/simple - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Var Details
+
+

simple + + + +

+ +

If you don't need anything complicated.

+ + +

Vars

assetslist of assets for this datum in the form of: +asset_filename = asset_file. At runtime the asset_file will be +converted into a asset_cache datum.
keep_local_nameTRUE for keeping local asset names when browse_rsc backend is used
legacySet to true to have this asset also be sent via the legacy browse_rsc +system when cdn transports are enabled?
+

Var Details

assets + + + + +

+

list of assets for this datum in the form of: +asset_filename = asset_file. At runtime the asset_file will be +converted into a asset_cache datum.

keep_local_name + + + + +

+

TRUE for keeping local asset names when browse_rsc backend is used

legacy + + + + +

+

Set to true to have this asset also be sent via the legacy browse_rsc +system when cdn transports are enabled?

+ + + diff --git a/datum/asset/simple/namespaced.html b/datum/asset/simple/namespaced.html new file mode 100644 index 00000000000..28cabe36a07 --- /dev/null +++ b/datum/asset/simple/namespaced.html @@ -0,0 +1,51 @@ + + + + + + + /datum/asset/simple/namespaced - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Var Details - Proc Details
+
+

namespaced + + + +

+ +

Namespace'ed assets (for static css and html files) +When sent over a cdn transport, all assets in the same asset datum will exist in the same folder, as their plain names. +Used to ensure css files can reference files by url() without having to generate the css at runtime, both the css file and the files it depends on must exist in the same namespace asset datum. (Also works for html) +For example blah.css with asset blah.png will get loaded as namespaces/a3d..14f/f12..d3c.css and namespaces/a3d..14f/blah.png. allowing the css file to load blah.png by a relative url rather then compute the generated url with get_url_mappings(). +The namespace folder's name will change if any of the assets change. (excluding parent assets)

+ +

Vars

parentsparents - list of the parent asset or assets (in name = file assoicated format) for this namespace. +parent assets must be referenced by their generated url, but if an update changes a parent asset, it won't change the namespace's identity.

Procs

get_htmlloaderGet a html string that will load a html asset. +Needed because byond doesn't allow you to browse() to a url.
+

Var Details

parents + + + + +

+

parents - list of the parent asset or assets (in name = file assoicated format) for this namespace. +parent assets must be referenced by their generated url, but if an update changes a parent asset, it won't change the namespace's identity.

Proc Details

get_htmlloader +

+

Get a html string that will load a html asset. +Needed because byond doesn't allow you to browse() to a url.

+ + + diff --git a/datum/asset/spritesheet.html b/datum/asset/spritesheet.html new file mode 100644 index 00000000000..f5284a1f5fa --- /dev/null +++ b/datum/asset/spritesheet.html @@ -0,0 +1,59 @@ + + + + + + + /datum/asset/spritesheet - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

spritesheet + + + +

+ + + + +

Procs

ModifyInsertedA simple proc handing the Icon for you to modify before it gets turned into an asset.
create_spritesheetsOverride this proc to start creation of the spritesheet. All of the Insert, +InsertAll and etc. calls go here.
icon_size_idReturns the size class (ex design32x32) for a given sprite's icon

Proc Details

ModifyInserted +

+

A simple proc handing the Icon for you to modify before it gets turned into an asset.

+

Arguments:

+

create_spritesheets +

+

Override this proc to start creation of the spritesheet. All of the Insert, +InsertAll and etc. calls go here.

icon_size_id +

+

Returns the size class (ex design32x32) for a given sprite's icon

+

Arguments:

+
+ + + diff --git a/datum/asset_cache_item.html b/datum/asset_cache_item.html new file mode 100644 index 00000000000..ce7a9d17e0d --- /dev/null +++ b/datum/asset_cache_item.html @@ -0,0 +1,65 @@ + + + + + + + /datum/asset_cache_item - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Var Details
+
+

asset_cache_item + + + +

+ +

An internal datum containing info on items in the asset cache. Mainly used to cache md5 info for speed.

+ + + +

Vars

keep_local_nameTRUE for keeping local asset names when browse_rsc backend is used
legacyShould this file also be sent via the legacy browse_rsc system +when cdn transports are enabled?
namespaceUsed by the cdn system to keep legacy css assets with their parent +css file. (css files resolve urls relative to the css file, so the +legacy system can't be used if the css file itself could go out over +the cdn)
namespace_parentTrue if this is the parent css or html file for an asset's namespace
+

Var Details

keep_local_name + + + + +

+

TRUE for keeping local asset names when browse_rsc backend is used

legacy + + + + +

+

Should this file also be sent via the legacy browse_rsc system +when cdn transports are enabled?

namespace + + + + +

+

Used by the cdn system to keep legacy css assets with their parent +css file. (css files resolve urls relative to the css file, so the +legacy system can't be used if the css file itself could go out over +the cdn)

namespace_parent + + + + +

+

True if this is the parent css or html file for an asset's namespace

+ + + diff --git a/datum/asset_transport.html b/datum/asset_transport.html new file mode 100644 index 00000000000..9bd721d621c --- /dev/null +++ b/datum/asset_transport.html @@ -0,0 +1,109 @@ + + + + + + + /datum/asset_transport - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Var Details - Proc Details
+
+

asset_transport + + + +

+ +

Base browse_rsc asset transport

+ + + + + + + +

Vars

dont_mutate_filenamesDon't mutate the filename of assets when sending via browse_rsc. +This is to make it easier to debug issues with assets, and allow server operators to bypass issues that make it to production. +If turning this on fixes asset issues, something isn't using get_asset_url and the asset isn't marked legacy, fix one of those.

Procs

InitializeInitialize - Called when SSassets initializes.
LoadCalled when the transport is loaded by the config controller, not called on the default transport unless it gets loaded by a config change.
get_asset_urlReturns a url for a given asset. +asset_name - Name of the asset. +asset_cache_item - asset cache item datum for the asset, optional, overrides asset_name
register_assetRegister a browser asset with the asset cache system +asset_name - the identifier of the asset +asset - the actual asset file (or an asset_cache_item datum) +returns a /datum/asset_cache_item. +mutiple calls to register the same asset under the same asset_name return the same datum
send_assetsSends a list of browser assets to a client +client - a client or mob +asset_list - A list of asset filenames to be sent to the client. Can optionally be assoicated with the asset's asset_cache_item datum. +Returns TRUE if any assets were sent.
send_assets_slowPrecache files without clogging up the browse() queue, used for passively sending files on connection start.
validate_configCheck the config is valid to load this transport +Returns TRUE or FALSE
+

Var Details

dont_mutate_filenames + + + + +

+

Don't mutate the filename of assets when sending via browse_rsc. +This is to make it easier to debug issues with assets, and allow server operators to bypass issues that make it to production. +If turning this on fixes asset issues, something isn't using get_asset_url and the asset isn't marked legacy, fix one of those.

Proc Details

Initialize +

+

Initialize - Called when SSassets initializes.

Load +

+

Called when the transport is loaded by the config controller, not called on the default transport unless it gets loaded by a config change.

get_asset_url +

+

Returns a url for a given asset. +asset_name - Name of the asset. +asset_cache_item - asset cache item datum for the asset, optional, overrides asset_name

register_asset +

+

Register a browser asset with the asset cache system +asset_name - the identifier of the asset +asset - the actual asset file (or an asset_cache_item datum) +returns a /datum/asset_cache_item. +mutiple calls to register the same asset under the same asset_name return the same datum

send_assets +

+

Sends a list of browser assets to a client +client - a client or mob +asset_list - A list of asset filenames to be sent to the client. Can optionally be assoicated with the asset's asset_cache_item datum. +Returns TRUE if any assets were sent.

send_assets_slow +

+

Precache files without clogging up the browse() queue, used for passively sending files on connection start.

validate_config +

+

Check the config is valid to load this transport +Returns TRUE or FALSE

+ + + diff --git a/datum/backpack_tweak.html b/datum/backpack_tweak.html new file mode 100644 index 00000000000..2720c3e800b --- /dev/null +++ b/datum/backpack_tweak.html @@ -0,0 +1,35 @@ + + + + + + + /datum/backpack_tweak - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

backpack_tweak + + + +

+ + +

Procs

get_ui_contentBackpack Tweaks

Proc Details

get_ui_content +

+

Backpack Tweaks

+ + + diff --git a/datum/body_modification/organ.html b/datum/body_modification/organ.html new file mode 100644 index 00000000000..e94c7ac7c46 --- /dev/null +++ b/datum/body_modification/organ.html @@ -0,0 +1,35 @@ + + + + + + + /datum/body_modification/organ - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

organ + + + +

+ + +

Procs

create_organInternals

Proc Details

create_organ +

+

Internals

+ + + diff --git a/datum/callback.html b/datum/callback.html new file mode 100644 index 00000000000..14faa657901 --- /dev/null +++ b/datum/callback.html @@ -0,0 +1,117 @@ + + + + + + + /datum/callback - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Var Details - Proc Details
+
+

Callback Datums + + + +

+ +

A datum that holds a proc to be called on another object, used to track proccalls to other objects

+

USAGE

+
var/datum/callback/C = new(object|null, /proc/type/path|"procstring", arg1, arg2, ... argn)
+var/timerid = addtimer(C, time, timertype)
+you can also use the compiler define shorthand
+var/timerid = addtimer(CALLBACK(object|null, /proc/type/path|procstring, arg1, arg2, ... argn), time, timertype)
+
+

Note: proc strings can only be given for datum proc calls, global procs must be proc paths

+

Also proc strings are strongly advised against because they don't compile error if the proc stops existing

+

In some cases you can provide a shortform of the procname, see the proc typepath shortcuts documentation below

+

INVOKING THE CALLBACK

+

var/result = C.Invoke(args, to, add) additional args are added after the ones given when the callback was created

+

var/result = C.InvokeAsync(args, to, add) Asyncronous - returns . on the first sleep then continues on in the background +after the sleep/block ends, otherwise operates normally.

+

PROC TYPEPATH SHORTCUTS

+

(these operate on paths, not types, so to these shortcuts, datum is NOT a parent of atom, etc...)

+

global proc while in another global proc:

+

.procname

+

CALLBACK(GLOBAL_PROC, .some_proc_here)

+

proc defined on current(src) object (when in a /proc/ and not an override) OR overridden at src or any of it's parents:

+

.procname

+

CALLBACK(src, .some_proc_here)

+

when the above doesn't apply:

+

PROC_REF(procname)

+

CALLBACK(src, PROC_REF(some_proc_here))

+

proc defined on a parent of a some type

+

TYPE_PROC_REF(/some/type/, some_proc_here)

+

Otherwise you must always provide the full typepath of the proc (/type/of/thing/proc/procname)

+ + + + + + +

Vars

argumentsA list of arguments to pass into the proc
delegateThe proc we will be calling on the object
objectThe object we will be calling the proc on
userA weak reference to the user who triggered this callback

Procs

InvokeInvoke this callback
InvokeAsyncInvoke this callback async (waitfor=false)
NewCreate a new callback datum
+

Var Details

arguments + + + + +

+

A list of arguments to pass into the proc

delegate + + + + +

+

The proc we will be calling on the object

object + + + + +

+

The object we will be calling the proc on

user + + + + +

+

A weak reference to the user who triggered this callback

Proc Details

Invoke +

+

Invoke this callback

+

Calls the registered proc on the registered object, if the user ref +can be resolved it also inclues that as an arg

+

If the datum being called on is varedited, the call is wrapped via [WrapAdminProcCall][/proc/WrapAdminProcCall]

InvokeAsync +

+

Invoke this callback async (waitfor=false)

+

Calls the registered proc on the registered object, if the user ref +can be resolved it also inclues that as an arg

+

If the datum being called on is varedited, the call is wrapped via WrapAdminProcCall

New +

+

Create a new callback datum

+

Arguments

+
+ + + diff --git a/datum/callback/verb_callback.html b/datum/callback/verb_callback.html new file mode 100644 index 00000000000..c0111cf8b82 --- /dev/null +++ b/datum/callback/verb_callback.html @@ -0,0 +1,36 @@ + + + + + + + /datum/callback/verb_callback - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Var Details
+
+

verb_callback + + + +

+ +

like normal callbacks but they also record their creation time for measurement purposes

+

Vars

creation_timethe REALTIMEOFDAY this callback datum was created in. used for testing latency
+

Var Details

creation_time + + + + +

+

the REALTIMEOFDAY this callback datum was created in. used for testing latency

+ + + diff --git a/datum/category_item/player_setup_item.html b/datum/category_item/player_setup_item.html new file mode 100644 index 00000000000..b57ce06a088 --- /dev/null +++ b/datum/category_item/player_setup_item.html @@ -0,0 +1,36 @@ + + + + + + + /datum/category_item/player_setup_item - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

player_setup_item + + + +

+ +

Category Item Setup

+

Procs

prune_job_prefsPrune a player's job preferences based on current branch, rank and species

Proc Details

prune_job_prefs +

+

Prune a player's job preferences based on current branch, rank and species

+

This proc goes through all the preferred jobs, and removes the ones incompatible with current rank or branch.

+ + + diff --git a/datum/client_interface.html b/datum/client_interface.html new file mode 100644 index 00000000000..7c78ca8477e --- /dev/null +++ b/datum/client_interface.html @@ -0,0 +1,57 @@ + + + + + + + /datum/client_interface - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Var Details
+
+

client_interface + + + +

+ +

This should match the interface of /client wherever necessary.

+ + + +

Vars

mobThe mob the client controls
prefsPlayer preferences datum for the client
screenObjects on the screen of the client
viewThe view of the client, similar to /client/var/view.
+

Var Details

mob + + + + +

+

The mob the client controls

prefs + + + + +

+

Player preferences datum for the client

screen + + + + +

+

Objects on the screen of the client

view + + + + +

+

The view of the client, similar to /client/var/view.

+ + + diff --git a/datum/component.html b/datum/component.html new file mode 100644 index 00000000000..6263989e802 --- /dev/null +++ b/datum/component.html @@ -0,0 +1,190 @@ + + + + + + + /datum/component - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Var Details - Proc Details
+
+

Component + + + +

+ +

The component datum

+

A component should be a single standalone unit +of functionality, that works by receiving signals from it's parent +object to provide some single functionality (i.e a slippery component) +that makes the object it's attached to cause people to slip over. +Useful when you want shared behaviour independent of type inheritance

+ + + + + + + + + + + + + + + + + +

Vars

can_transferOnly set to true if you are able to properly transfer this component
dupe_modeDefines how duplicate existing components are handled when added to a datum
dupe_typeThe type to check for duplication
parentThe datum this components belongs to

Procs

CheckDupeComponentCalled on a component when a component of the same type was added to the same parent with COMPONENT_DUPE_SELECTIVE
ClearFromParentRemoves the component from parent, ends up with a null parent +Used as a helper proc by the component transfer proc, does not clean up the component like Destroy does
DestroyProperly removes the component from parent and cleans up references
InheritComponentCalled on a component when a component of the same type was added to the same parent
InitializeCalled during component creation with the same arguments as in new excluding parent.
NewCreate a new component.
PostTransferCallback Just after a component is transferred
PreTransferCallback Just before this component is transferred
RegisterWithParentRegister the component with the parent object
UnregisterFromParentUnregister from our parent object
_GetInverseTypeListInternal proc to create a list of our type and all parent types
_JoinParentInternal proc to handle behaviour of components when joining a parent
_RemoveFromParentInternal proc to handle behaviour when being removed from a parent
ui_hostReturn the object that is the host of any UI's that this component has
+

Var Details

can_transfer + + + + +

+

Only set to true if you are able to properly transfer this component

+

At a minimum RegisterWithParent and UnregisterFromParent should be used

+

Make sure you also implement PostTransfer for any post transfer handling

dupe_mode + + + + +

+

Defines how duplicate existing components are handled when added to a datum

+

See COMPONENT_DUPE_* definitions for available options

dupe_type + + + + +

+

The type to check for duplication

+

null means exact match on type (default)

+

Any other type means that and all subtypes

parent + + + + +

+

The datum this components belongs to

Proc Details

CheckDupeComponent +

+

Called on a component when a component of the same type was added to the same parent with COMPONENT_DUPE_SELECTIVE

+

See /datum/component/var/dupe_mode

+

C's type will always be the same of the called component

+

return TRUE if you are absorbing the component, otherwise FALSE if you are fine having it exist as a duplicate component

ClearFromParent +

+

Removes the component from parent, ends up with a null parent +Used as a helper proc by the component transfer proc, does not clean up the component like Destroy does

Destroy +

+

Properly removes the component from parent and cleans up references

+

Arguments:

+

InheritComponent +

+

Called on a component when a component of the same type was added to the same parent

+

See /datum/component/var/dupe_mode

+

C's type will always be the same of the called component

Initialize +

+

Called during component creation with the same arguments as in new excluding parent.

+

Do not call qdel(src) from this function, return COMPONENT_INCOMPATIBLE instead

New +

+

Create a new component.

+

Additional arguments are passed to Initialize()

+

Arguments:

+

PostTransfer +

+

Callback Just after a component is transferred

+

Use this to do any special setup you need to do after being moved to a new object

+

Do not call qdel(src) from this function, return COMPONENT_INCOMPATIBLE instead

PreTransfer +

+

Callback Just before this component is transferred

+

Use this to do any special cleanup you might need to do before being deregged from an object

RegisterWithParent +

+

Register the component with the parent object

+

Use this proc to register with your parent object

+

Overridable proc that's called when added to a new parent

UnregisterFromParent +

+

Unregister from our parent object

+

Use this proc to unregister from your parent object

+

Overridable proc that's called when removed from a parent

_GetInverseTypeList +

+

Internal proc to create a list of our type and all parent types

_JoinParent +

+

Internal proc to handle behaviour of components when joining a parent

_RemoveFromParent +

+

Internal proc to handle behaviour when being removed from a parent

ui_host +

+

Return the object that is the host of any UI's that this component has

+ + + diff --git a/datum/component/inspiration.html b/datum/component/inspiration.html new file mode 100644 index 00000000000..4ccb482583f --- /dev/null +++ b/datum/component/inspiration.html @@ -0,0 +1,62 @@ + + + + + + + /datum/component/inspiration - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Var Details - Proc Details
+
+

inspiration + + + +

+ +

Simple data container component containing level up statistics. +This does NOT make something a valid inspiration. It simply holds the data in case it gets used as one! +To actually use it, the typepath of the object has to be contained within the sanity datum valid_inspiration list. +Assign this component to an item specifying which statistics should be levelled up, and the item will be able to be used as an inspiration. +The format of statistics is list(STAT_DEFINE = number) or a proc that returns such a list. +(This would've been better as an element instead of a component, but currently elements don't exist on cev eris. F)

+ + + +

Vars

get_statsCallback used for dynamic calculation of the stats to level up, used if stats is null. It must accept NO arguments, and it needs to return a list shaped like stats.
statsSimple list defined as list(STAT_DEFINE = number).

Procs

InitializeStatistics can be a list (static) or a callback to a proc that returns a list (of the same format)
calculate_statisticsReturns stats if defined, otherwise it returns the return value of get_stats
+

Var Details

get_stats + + + + +

+

Callback used for dynamic calculation of the stats to level up, used if stats is null. It must accept NO arguments, and it needs to return a list shaped like stats.

stats + + + + +

+

Simple list defined as list(STAT_DEFINE = number).

Proc Details

Initialize +

+

Statistics can be a list (static) or a callback to a proc that returns a list (of the same format)

calculate_statistics +

+

Returns stats if defined, otherwise it returns the return value of get_stats

+ + + diff --git a/datum/component/internal_wound/organic/eyes_poisoning.html b/datum/component/internal_wound/organic/eyes_poisoning.html new file mode 100644 index 00000000000..26d2b646e0f --- /dev/null +++ b/datum/component/internal_wound/organic/eyes_poisoning.html @@ -0,0 +1,35 @@ + + + + + + + /datum/component/internal_wound/organic/eyes_poisoning - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

eyes_poisoning + + + +

+ + +

Procs

InheritComponentCheap hack, but prevents unbalanced toxins from killing someone immediately

Proc Details

InheritComponent +

+

Cheap hack, but prevents unbalanced toxins from killing someone immediately

+ + + diff --git a/datum/component/internal_wound/organic/poisoning.html b/datum/component/internal_wound/organic/poisoning.html new file mode 100644 index 00000000000..ee99eac8b16 --- /dev/null +++ b/datum/component/internal_wound/organic/poisoning.html @@ -0,0 +1,35 @@ + + + + + + + /datum/component/internal_wound/organic/poisoning - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

poisoning + + + +

+ + +

Procs

InheritComponentCheap hack, but prevents unbalanced toxins from killing someone immediately

Proc Details

InheritComponent +

+

Cheap hack, but prevents unbalanced toxins from killing someone immediately

+ + + diff --git a/datum/component/jamming.html b/datum/component/jamming.html new file mode 100644 index 00000000000..e2aacfdb1e2 --- /dev/null +++ b/datum/component/jamming.html @@ -0,0 +1,35 @@ + + + + + + + /datum/component/jamming - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

jamming + + + +

+ + +

Procs

InitializeTo do , add a human signal handler

Proc Details

Initialize +

+

To do , add a human signal handler

+ + + diff --git a/datum/computer/file/embedded_program/docking/simple.html b/datum/computer/file/embedded_program/docking/simple.html new file mode 100644 index 00000000000..5df6c2c60e7 --- /dev/null +++ b/datum/computer/file/embedded_program/docking/simple.html @@ -0,0 +1,35 @@ + + + + + + + /datum/computer/file/embedded_program/docking/simple - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

simple + + + +

+ + +

Procs

open_doordatum/computer/file/embedded_program/docking/simple/proc/signal_mech_sensor(var/command)

Proc Details

open_door +

+

datum/computer/file/embedded_program/docking/simple/proc/signal_mech_sensor(var/command)

+ + + diff --git a/datum/controller/global_vars.html b/datum/controller/global_vars.html new file mode 100644 index 00000000000..57f4452b176 --- /dev/null +++ b/datum/controller/global_vars.html @@ -0,0 +1,103 @@ + + + + + + + /datum/controller/global_vars - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Var Details
+
+

global_vars + + + +

+ + + + + + + + + + + +

Vars

always_statetgui state: always_state
current_testIMPORTANT !!! IF YOU ARE CHANGING CC CHANGE THIS TOO
density_set_eventDeath Handling
goonchatbasehtmlFor the main html chat area
hands_statetgui state: hands_state
logged_in_eventLife Handling
notcontained_statetgui state: notcontained_state
sight_set_eventShuttle Moved Handling
turf_changed_eventStat Handling
unit_test_mapping_logsWhen unit testing, all logs sent to log_mapping are stored here and retrieved in log_mapping unit test.
+

Var Details

always_state + + + + +

+

tgui state: always_state

+

Always grants the user UI_INTERACTIVE. Period.

current_test + + + + +

+

IMPORTANT !!! IF YOU ARE CHANGING CC CHANGE THIS TOO

density_set_event + + + + +

+

Death Handling

goonchatbasehtml + + + + +

+

For the main html chat area

hands_state + + + + +

+

tgui state: hands_state

+

Checks that the src_object is in the user's hands.

logged_in_event + + + + +

+

Life Handling

notcontained_state + + + + +

+

tgui state: notcontained_state

+

Checks that the user is not inside src_object, and then makes the +default checks.

sight_set_event + + + + +

+

Shuttle Moved Handling

turf_changed_event + + + + +

+

Stat Handling

unit_test_mapping_logs + + + + +

+

When unit testing, all logs sent to log_mapping are stored here and retrieved in log_mapping unit test.

+ + + diff --git a/datum/controller/master.html b/datum/controller/master.html new file mode 100644 index 00000000000..596748c54c9 --- /dev/null +++ b/datum/controller/master.html @@ -0,0 +1,136 @@ + + + + + + + /datum/controller/master - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Var Details - Proc Details
+
+

master + + + +

+ +

Start of queue linked list +End of queue linked list (used for appending to the list) +Are we loading in a new map? +for scheduling different subsystems for different stages of the round

+ + + + + + + + + + + + + +

Vars

current_initializing_subsystemDuring initialization, will be the instanced subsytem that is currently initializing. +Outside of initialization, returns null.
current_ticklimitcurrent tick limit, assigned before running a subsystem. +used by CHECK_TICK as well so that the procs subsystems call can obey that SS's tick limits
init_stage_completedMost recent init stage to complete init.
iterationHow many times have we ran
last_runworld.time of last fire, for tracking lag outside of the mc
last_type_processedThe type of the last subsystem to be fire()'d.
make_runtimemakes the mc main loop runtime
processingAre we processing (higher values increase the processing delay by n ticks)
skip_ticksOnly run ticker subsystems for the next n ticks.
sleep_deltaHow long is the MC sleeping between runs, read only (set by Loop() based off of anti-tick-contention heuristics)
stack_end_detectorStack end detector to detect stack overflows that kill the mc's main loop
subsystemsList of subsystems to process().

Procs

RunQueueRunQueue - Run thru the queue of subsystems to run, running them while balancing out their allocated tick precentage +Returns 0 if runtimed, a negitive number for logic errors, and a positive number if the operation completed without errors
laggy_byond_map_update_incomingWarns us that the end of tick byond map_update will be laggier then normal, so that we can just skip running subsystems this tick.
+

Var Details

current_initializing_subsystem + + + + +

+

During initialization, will be the instanced subsytem that is currently initializing. +Outside of initialization, returns null.

current_ticklimit + + + + +

+

current tick limit, assigned before running a subsystem. +used by CHECK_TICK as well so that the procs subsystems call can obey that SS's tick limits

init_stage_completed + + + + +

+

Most recent init stage to complete init.

iteration + + + + +

+

How many times have we ran

last_run + + + + +

+

world.time of last fire, for tracking lag outside of the mc

last_type_processed + + + + +

+

The type of the last subsystem to be fire()'d.

make_runtime + + + + +

+

makes the mc main loop runtime

processing + + + + +

+

Are we processing (higher values increase the processing delay by n ticks)

skip_ticks + + + + +

+

Only run ticker subsystems for the next n ticks.

sleep_delta + + + + +

+

How long is the MC sleeping between runs, read only (set by Loop() based off of anti-tick-contention heuristics)

stack_end_detector + + + + +

+

Stack end detector to detect stack overflows that kill the mc's main loop

subsystems + + + + +

+

List of subsystems to process().

Proc Details

RunQueue +

+

RunQueue - Run thru the queue of subsystems to run, running them while balancing out their allocated tick precentage +Returns 0 if runtimed, a negitive number for logic errors, and a positive number if the operation completed without errors

laggy_byond_map_update_incoming +

+

Warns us that the end of tick byond map_update will be laggier then normal, so that we can just skip running subsystems this tick.

+ + + diff --git a/datum/controller/subsystem.html b/datum/controller/subsystem.html new file mode 100644 index 00000000000..0ec9e40185a --- /dev/null +++ b/datum/controller/subsystem.html @@ -0,0 +1,282 @@ + + + + + + + /datum/controller/subsystem - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Var Details - Proc Details
+
+

Subsystem base class + + + +

+ +

Defines a subsystem to be managed by the Master Controller

+

Simply define a child of this subsystem, using the [SUBSYSTEM_DEF] macro, and the MC will handle registration. +Changing the name is required

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Vars

can_fireSet to 0 to prevent fire() calls, mostly for admin use or subsystems that may be resumed later +use the SS_NO_FIRE flag instead for systems that never fire to keep it from even being added to list that is checked every tick
costRunning average of the amount of milliseconds it takes the subsystem to complete a run (including all resumes but not the time spent paused)
failure_strikesHow many times we suspect a subsystem type has crashed the MC, 3 strikes and you're out!
flagsSubsystem Flags to control binary behavior. Flags must be set at compile time or before preinit finishes to take full effect. (You can also restart the mc to force them to process again)
init_orderOrder of initialization. Higher numbers are initialized first, lower numbers later. Use or create defines such as [INIT_ORDER_DEFAULT] so we can see the order in one file.
init_stageWhich stage does this subsystem init at. Earlier stages can fire while later stages init.
initializedThis var is set to TRUE after the subsystem has been initialized.
last_fireLast world.time the subsystem completed a run (as in wasn't paused by [MC_TICK_CHECK])
nameName of the subsystem - you must change this
next_fireScheduled world.time for next fire()
paused_tick_usageTracks how much of a tick the subsystem has consumed in the current run
paused_ticksTracks how many fires the subsystem has consecutively paused on in the current run
postponed_firesHow many fires have we been requested to postpone
priorityPriority Weight: When mutiple subsystems need to run in the same tick, higher priority subsystems will be given a higher share of the tick before MC_TICK_CHECK triggers a sleep, higher priority subsystems also run before lower priority subsystems
queue_nextNext subsystem in the queue of subsystems to run this tick
queue_prevPrevious subsystem in the queue of subsystems to run this tick
queued_priorityPriority at the time the subsystem entered the queue. Needed to avoid changes in priority (by admins and the like) from breaking things.
queued_timeTime the subsystem entered the queue, (for timing and priority reasons)
runlevelsBitmap of what game states can this subsystem fire at. See [RUNLEVELS_DEFAULT] for more details.
stateTracks the current execution state of the subsystem. Used to handle subsystems that sleep in fire so the mc doesn't run them again while they are sleeping
tick_allocation_avgHow much of a tick (in percents of a tick) do we get allocated by the mc on avg.
tick_allocation_lastHow much of a tick (in percents of a tick) were we allocated last fire.
tick_overrunRunning average of the amount of tick usage (in percents of a game tick) the subsystem has spent past its allocated time without pausing
tick_usageRunning average of the amount of tick usage in percents of a tick it takes the subsystem to complete a run
ticksTracks how many fires the subsystem takes to complete a run on average.
times_firedTracks the amount of completed runs for the subsystem
waitTime to wait (in deciseconds) between each call to fire(). Must be a positive integer.

Procs

OnConfigLoadCalled after the config has been loaded or reloaded.
PreInitdatum/controller/subsystem/New()
enqueueQueue it to run. +(we loop thru a linked list until we get to the end or find the right point) +(this lets us sort our run order correctly without having to re-sort the entire already sorted list)
firepreviously, this would have been named 'process()' but that name is used everywhere for different things! +fire() seems more suitable. This is the procedure that gets called every 'wait' deciseconds. +Sleeping in here prevents future fires until returned.
igniteThis is used so the mc knows when the subsystem sleeps. do not override.
postponeCauses the next "cycle" fires to be missed. Effect is accumulative but can reset by calling update_nextfire(reset_time = TRUE)
update_nextfire
+

Var Details

can_fire + + + + +

+

Set to 0 to prevent fire() calls, mostly for admin use or subsystems that may be resumed later +use the SS_NO_FIRE flag instead for systems that never fire to keep it from even being added to list that is checked every tick

cost + + + + +

+

Running average of the amount of milliseconds it takes the subsystem to complete a run (including all resumes but not the time spent paused)

failure_strikes + + + + +

+

How many times we suspect a subsystem type has crashed the MC, 3 strikes and you're out!

flags + + + + +

+

Subsystem Flags to control binary behavior. Flags must be set at compile time or before preinit finishes to take full effect. (You can also restart the mc to force them to process again)

init_order + + + + +

+

Order of initialization. Higher numbers are initialized first, lower numbers later. Use or create defines such as [INIT_ORDER_DEFAULT] so we can see the order in one file.

init_stage + + + + +

+

Which stage does this subsystem init at. Earlier stages can fire while later stages init.

initialized + + + + +

+

This var is set to TRUE after the subsystem has been initialized.

last_fire + + + + +

+

Last world.time the subsystem completed a run (as in wasn't paused by [MC_TICK_CHECK])

name + + + + +

+

Name of the subsystem - you must change this

next_fire + + + + +

+

Scheduled world.time for next fire()

paused_tick_usage + + + + +

+

Tracks how much of a tick the subsystem has consumed in the current run

paused_ticks + + + + +

+

Tracks how many fires the subsystem has consecutively paused on in the current run

postponed_fires + + + + +

+

How many fires have we been requested to postpone

priority + + + + +

+

Priority Weight: When mutiple subsystems need to run in the same tick, higher priority subsystems will be given a higher share of the tick before MC_TICK_CHECK triggers a sleep, higher priority subsystems also run before lower priority subsystems

queue_next + + + + +

+

Next subsystem in the queue of subsystems to run this tick

queue_prev + + + + +

+

Previous subsystem in the queue of subsystems to run this tick

queued_priority + + + + +

+

Priority at the time the subsystem entered the queue. Needed to avoid changes in priority (by admins and the like) from breaking things.

queued_time + + + + +

+

Time the subsystem entered the queue, (for timing and priority reasons)

runlevels + + + + +

+

Bitmap of what game states can this subsystem fire at. See [RUNLEVELS_DEFAULT] for more details.

state + + + + +

+

Tracks the current execution state of the subsystem. Used to handle subsystems that sleep in fire so the mc doesn't run them again while they are sleeping

tick_allocation_avg + + + + +

+

How much of a tick (in percents of a tick) do we get allocated by the mc on avg.

tick_allocation_last + + + + +

+

How much of a tick (in percents of a tick) were we allocated last fire.

tick_overrun + + + + +

+

Running average of the amount of tick usage (in percents of a game tick) the subsystem has spent past its allocated time without pausing

tick_usage + + + + +

+

Running average of the amount of tick usage in percents of a tick it takes the subsystem to complete a run

ticks + + + + +

+

Tracks how many fires the subsystem takes to complete a run on average.

times_fired + + + + +

+

Tracks the amount of completed runs for the subsystem

wait + + + + +

+

Time to wait (in deciseconds) between each call to fire(). Must be a positive integer.

Proc Details

OnConfigLoad +

+

Called after the config has been loaded or reloaded.

PreInit +

+

datum/controller/subsystem/New()

enqueue +

+

Queue it to run. +(we loop thru a linked list until we get to the end or find the right point) +(this lets us sort our run order correctly without having to re-sort the entire already sorted list)

fire +

+

previously, this would have been named 'process()' but that name is used everywhere for different things! +fire() seems more suitable. This is the procedure that gets called every 'wait' deciseconds. +Sleeping in here prevents future fires until returned.

ignite +

+

This is used so the mc knows when the subsystem sleeps. do not override.

postpone +

+

Causes the next "cycle" fires to be missed. Effect is accumulative but can reset by calling update_nextfire(reset_time = TRUE)

update_nextfire +

+
+ + + diff --git a/datum/controller/subsystem/air.html b/datum/controller/subsystem/air.html new file mode 100644 index 00000000000..a860ce83167 --- /dev/null +++ b/datum/controller/subsystem/air.html @@ -0,0 +1,49 @@ + + + + + + + /datum/controller/subsystem/air - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

air + + + +

+ + + + +

Procs

add_zoneProcs, which doesn't get involved in processing directly
process_pipenetsProcessing procs
setup_allturfsSetup procs

Proc Details

add_zone +

+

Procs, which doesn't get involved in processing directly

process_pipenets +

+

Processing procs

setup_allturfs +

+

Setup procs

+ + + diff --git a/datum/controller/subsystem/atoms.html b/datum/controller/subsystem/atoms.html new file mode 100644 index 00000000000..92bbc8f9bc6 --- /dev/null +++ b/datum/controller/subsystem/atoms.html @@ -0,0 +1,43 @@ + + + + + + + /datum/controller/subsystem/atoms - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Var Details - Proc Details
+
+

atoms + + + +

+ + + +

Vars

created_atomsinitAtom() adds the atom its creating to this list iff InitializeAtoms() has been given a list to populate as an argument

Procs

InitAtomInit this specific atom
+

Var Details

created_atoms + + + + +

+

initAtom() adds the atom its creating to this list iff InitializeAtoms() has been given a list to populate as an argument

Proc Details

InitAtom +

+

Init this specific atom

+ + + diff --git a/datum/controller/subsystem/holomaps.html b/datum/controller/subsystem/holomaps.html new file mode 100644 index 00000000000..838f3c6afe7 --- /dev/null +++ b/datum/controller/subsystem/holomaps.html @@ -0,0 +1,35 @@ + + + + + + + /datum/controller/subsystem/holomaps - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

holomaps + + + +

+ + +

Procs

generateHoloMinimapsGenerates all the holo minimaps, initializing it all nicely, probably.

Proc Details

generateHoloMinimaps +

+

Generates all the holo minimaps, initializing it all nicely, probably.

+ + + diff --git a/datum/controller/subsystem/job.html b/datum/controller/subsystem/job.html new file mode 100644 index 00000000000..2caefcd42aa --- /dev/null +++ b/datum/controller/subsystem/job.html @@ -0,0 +1,101 @@ + + + + + + + /datum/controller/subsystem/job - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Var Details - Proc Details
+
+

job + + + +

+ + + + + + + + + + +

Vars

ckey_to_total_playtimeEris specific stuff , playtimes are based off overall hours , and not on hours in said departament.
queries_by_keyDOS Attack prevention by locking off file-reads.

Procs

CheckHeadPositionsThis proc is called at the start of the level loop of DivideOccupations() and will cause head jobs to be checked before any other jobs of the same level
CreateConfigFileNo playtimes registered +return to last dir
DivideOccupations
FillHeadPositionThis proc is called before the level loop of DivideOccupations() and will try to select a head, ignoring ALL non-head preferences for every level until it locates a head or runs out of levels to check
LoadPlaytimeRequirementsBlame linters!!!!
LoadPlaytimesfailsafe for non-existant config folders.
get_spawnpoint_forReturn appropriate /datum/spawnpoint for given client and rank
+

Var Details

ckey_to_total_playtime + + + + +

+

Eris specific stuff , playtimes are based off overall hours , and not on hours in said departament.

queries_by_key + + + + +

+

DOS Attack prevention by locking off file-reads.

Proc Details

CheckHeadPositions +

+

This proc is called at the start of the level loop of DivideOccupations() and will cause head jobs to be checked before any other jobs of the same level

CreateConfigFile +

+

No playtimes registered +return to last dir

DivideOccupations +

+

FillHeadPosition +

+

This proc is called before the level loop of DivideOccupations() and will try to select a head, ignoring ALL non-head preferences for every level until it locates a head or runs out of levels to check

LoadPlaytimeRequirements +

+

Blame linters!!!!

LoadPlaytimes +

+

failsafe for non-existant config folders.

get_spawnpoint_for +

+

Return appropriate /datum/spawnpoint for given client and rank

+

Spawnpoint will be the one set in preferences for the client, unless the +preference is not set, or the preference is not appropriate for the rank, in +which case a fallback will be selected.

+ + + diff --git a/datum/controller/subsystem/migration.html b/datum/controller/subsystem/migration.html new file mode 100644 index 00000000000..94af209a807 --- /dev/null +++ b/datum/controller/subsystem/migration.html @@ -0,0 +1,42 @@ + + + + + + + /datum/controller/subsystem/migration - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

migration + + + +

+ + + +

Procs

InitializeBurrow Creation
handle_plant_spreadingPlant Handling

Proc Details

Initialize +

+

Burrow Creation

handle_plant_spreading +

+

Plant Handling

+ + + diff --git a/datum/controller/subsystem/processing.html b/datum/controller/subsystem/processing.html new file mode 100644 index 00000000000..a1b04ba0e51 --- /dev/null +++ b/datum/controller/subsystem/processing.html @@ -0,0 +1,43 @@ + + + + + + + /datum/controller/subsystem/processing - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Var Details - Proc Details
+
+

processing + + + +

+ + + +

Vars

process_procEris-specific process debugger

Procs

toggle_debugERIS PROCESS DEBUGGER
+

Var Details

process_proc + + + + +

+

Eris-specific process debugger

Proc Details

toggle_debug +

+

ERIS PROCESS DEBUGGER

+ + + diff --git a/datum/controller/subsystem/processing/dcs.html b/datum/controller/subsystem/processing/dcs.html new file mode 100644 index 00000000000..8cdcb1bf6dd --- /dev/null +++ b/datum/controller/subsystem/processing/dcs.html @@ -0,0 +1,41 @@ + + + + + + + /datum/controller/subsystem/processing/dcs - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

dcs + + + +

+ + +

Procs

GetIdFromArgumentsGenerates an id for bespoke elements when given the argument list +Generating the id here is a bit complex because we need to support named arguments +Named arguments can appear in any order and we need them to appear after ordered arguments +We assume that no one will pass in a named argument with a value of null

Proc Details

GetIdFromArguments +

+

Generates an id for bespoke elements when given the argument list +Generating the id here is a bit complex because we need to support named arguments +Named arguments can appear in any order and we need them to appear after ordered arguments +We assume that no one will pass in a named argument with a value of null

+ + + diff --git a/datum/controller/subsystem/processing/nano.html b/datum/controller/subsystem/processing/nano.html new file mode 100644 index 00000000000..70918c791bf --- /dev/null +++ b/datum/controller/subsystem/processing/nano.html @@ -0,0 +1,138 @@ + + + + + + + /datum/controller/subsystem/processing/nano - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

nano + + + +

+ + + + + + + + + + + +

Procs

close_uisClose all /nanoui uis attached to src_object
close_user_uisClose /nanoui uis belonging to user
get_open_uiGet an open /nanoui ui for the current user, src_object and ui_key
try_update_uiGet an open /nanoui ui for the current user, src_object and ui_key and try to update it with data
ui_closedRemove a /nanoui ui from the list of open uis +This is called by the /nanoui close() proc
ui_openedAdd a /nanoui ui to the list of open uis +This is called by the /nanoui open() proc
update_uisUpdate all /nanoui uis attached to src_object
update_user_uisUpdate /nanoui uis belonging to user
user_logoutThis is called on user logout +Closes/clears all uis attached to the user's /mob
user_transferredThis is called when a player transfers from one mob to another +Transfers all open UIs to the new mob

Proc Details

close_uis +

+

Close all /nanoui uis attached to src_object

+

@param src_object /obj|/mob The obj or mob which the uis are attached to

+

@return int The number of uis close

close_user_uis +

+

Close /nanoui uis belonging to user

+

@param user /mob The mob who owns the uis +@param src_object /obj|/mob If src_object is provided, only close uis which are attached to src_object (optional) +@param ui_key string If ui_key is provided, only close uis with a matching ui_key (optional)

+

@return int The number of uis closed

get_open_ui +

+

Get an open /nanoui ui for the current user, src_object and ui_key

+

@param user /mob The mob who opened/owns the ui +@param src_object /obj|/mob The obj or mob which the ui belongs to +@param ui_key string A string key used for the ui

+

@return /nanoui Returns the found ui, or null if none exists

try_update_ui +

+

Get an open /nanoui ui for the current user, src_object and ui_key and try to update it with data

+

@param user /mob The mob who opened/owns the ui +@param src_object /obj|/mob The obj or mob which the ui belongs to +@param ui_key string A string key used for the ui +@param ui /datum/nanoui An existing instance of the ui (can be null) +@param data list The data to be passed to the ui, if it exists +@param force_open boolean The ui is being forced to (re)open, so close ui if it exists (instead of updating)

+

@return /nanoui Returns the found ui, for null if none exists

ui_closed +

+

Remove a /nanoui ui from the list of open uis +This is called by the /nanoui close() proc

+

@param ui /nanoui The ui to remove

+

@return int 0 if no ui was removed, 1 if removed successfully

ui_opened +

+

Add a /nanoui ui to the list of open uis +This is called by the /nanoui open() proc

+

@param ui /nanoui The ui to add

+

@return nothing

update_uis +

+

Update all /nanoui uis attached to src_object

+

@param src_object /obj|/mob The obj or mob which the uis are attached to

+

@return int The number of uis updated

update_user_uis +

+

Update /nanoui uis belonging to user

+

@param user /mob The mob who owns the uis +@param src_object /obj|/mob If src_object is provided, only update uis which are attached to src_object (optional) +@param ui_key string If ui_key is provided, only update uis with a matching ui_key (optional)

+

@return int The number of uis updated

user_logout +

+

This is called on user logout +Closes/clears all uis attached to the user's /mob

+

@param user /mob The user's mob

+

@return nothing

user_transferred +

+

This is called when a player transfers from one mob to another +Transfers all open UIs to the new mob

+

@param oldMob /mob The user's old mob +@param newMob /mob The user's new mob

+

@return nothing

+ + + diff --git a/datum/controller/subsystem/spawn_data.html b/datum/controller/subsystem/spawn_data.html new file mode 100644 index 00000000000..b2a4328711e --- /dev/null +++ b/datum/controller/subsystem/spawn_data.html @@ -0,0 +1,52 @@ + + + + + + + /datum/controller/subsystem/spawn_data - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

spawn_data + + + +

+ + + +

Procs

generate_datadatum/controller/subsystem/spawn_data +datum/controller/subsystem/spawn_data/Initialize()
spawn_by_tagobj/item/stack/get_item_cost(export) +obj/item/ammo_casing/get_item_cost(export) +obj/item/handcuffs/get_item_cost(export) +obj/machinery/get_item_cost(export) +obj/item/ammo_magazine/get_item_cost(export)

Proc Details

generate_data +

+

datum/controller/subsystem/spawn_data +datum/controller/subsystem/spawn_data/Initialize()

spawn_by_tag +

+

obj/item/stack/get_item_cost(export) +obj/item/ammo_casing/get_item_cost(export) +obj/item/handcuffs/get_item_cost(export) +obj/machinery/get_item_cost(export) +obj/item/ammo_magazine/get_item_cost(export)

+ + + diff --git a/datum/controller/subsystem/tgui.html b/datum/controller/subsystem/tgui.html new file mode 100644 index 00000000000..d6e0fd9d121 --- /dev/null +++ b/datum/controller/subsystem/tgui.html @@ -0,0 +1,202 @@ + + + + + + + /datum/controller/subsystem/tgui - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Var Details - Proc Details
+
+

tgui + + + +

+ + + + + + + + + + + + + + + + + + + +

Vars

basehtmlThe HTML base used for all UIs.
current_runA list of UIs scheduled to process
open_uisA list of open UIs
open_uis_by_srcA list of open UIs, grouped by src_object.

Procs

close_all_uispublic
close_uispublic
close_user_uispublic
force_close_all_windowspublic
force_close_windowpublic
get_open_uipublic
on_closeprivate
on_logoutprivate
on_openprivate
on_transferprivate
request_pooled_windowpublic
try_update_uipublic
update_uispublic
update_user_uispublic
+

Var Details

basehtml + + + + +

+

The HTML base used for all UIs.

current_run + + + + +

+

A list of UIs scheduled to process

open_uis + + + + +

+

A list of open UIs

open_uis_by_src + + + + +

+

A list of open UIs, grouped by src_object.

Proc Details

close_all_uis +

+

public

+

Close all UIs regardless of their attachment to src_object.

+

return int The number of UIs closed.

close_uis +

+

public

+

Close all UIs attached to src_object.

+

required src_object datum The object/datum which owns the UIs.

+

return int The number of UIs closed.

close_user_uis +

+

public

+

Close all UIs belonging to a user.

+

required user mob The mob who opened/is using the UI. +optional src_object datum If provided, only close UIs belonging this src_object.

+

return int The number of UIs closed.

force_close_all_windows +

+

public

+

Force closes all tgui windows.

+

required user mob

force_close_window +

+

public

+

Force closes the tgui window by window_id.

+

required user mob +required window_id string

get_open_ui +

+

public

+

Get a open UI given a user and src_object.

+

required user mob The mob who opened/is using the UI. +required src_object datum The object/datum which owns the UI.

+

return datum/tgui The found UI.

on_close +

+

private

+

Remove a UI from the list of open UIs.

+

required ui datum/tgui The UI to be removed.

+

return bool If the UI was removed or not.

on_logout +

+

private

+

Handle client logout, by closing all their UIs.

+

required user mob The mob which logged out.

+

return int The number of UIs closed.

on_open +

+

private

+

Add a UI to the list of open UIs.

+

required ui datum/tgui The UI to be added.

on_transfer +

+

private

+

Handle clients switching mobs, by transferring their UIs.

+

required user source The client's original mob. +required user target The client's new mob.

+

return bool If the UIs were transferred.

request_pooled_window +

+

public

+

Requests a usable tgui window from the pool. +Returns null if pool was exhausted.

+

required user mob +return datum/tgui

try_update_ui +

+

public

+

Try to find an instance of a UI, and push an update to it.

+

required user mob The mob who opened/is using the UI. +required src_object datum The object/datum which owns the UI. +optional ui datum/tgui The UI to be updated, if it exists. +optional force_open bool If the UI should be re-opened instead of updated.

+

return datum/tgui The found UI.

update_uis +

+

public

+

Update all UIs attached to src_object.

+

required src_object datum The object/datum which owns the UIs.

+

return int The number of UIs updated.

update_user_uis +

+

public

+

Update all UIs belonging to a user.

+

required user mob The mob who opened/is using the UI. +optional src_object datum If provided, only update UIs belonging this src_object.

+

return int The number of UIs updated.

+ + + diff --git a/datum/controller/subsystem/ticker.html b/datum/controller/subsystem/ticker.html new file mode 100644 index 00000000000..c3e633f0e3e --- /dev/null +++ b/datum/controller/subsystem/ticker.html @@ -0,0 +1,36 @@ + + + + + + + /datum/controller/subsystem/ticker - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Var Details
+
+

ticker + + + +

+ + +

Vars

excelsior_hijackingSee excelsior_redirector.dm,0 for not happening, 1 for in progress , 2 for finished(And for the round to end immediately)
+

Var Details

excelsior_hijacking + + + + +

+

See excelsior_redirector.dm,0 for not happening, 1 for in progress , 2 for finished(And for the round to end immediately)

+ + + diff --git a/datum/controller/subsystem/tickets.html b/datum/controller/subsystem/tickets.html new file mode 100644 index 00000000000..c59a99fab14 --- /dev/null +++ b/datum/controller/subsystem/tickets.html @@ -0,0 +1,94 @@ + + + + + + + /datum/controller/subsystem/tickets - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Var Details - Proc Details
+
+

tickets + + + +

+ + + + + + + +

Vars

anchor_link_extraText that will be added to the anchor link
other_ticket_nameThe name of the other ticket type to convert to
other_ticket_permissionWhich permission to look for when seeing if there is staff available for the other ticket type

Procs

makeUrlMessageWill add the URLs usable by staff to the message and return it +Arguments: +C - The client who send the message +msg - The raw message +ticketNum - Which ticket number the ticket has
message_staff
newHelpRequestWill either make a new ticket using the given text or will add the text to an existing ticket. +Staff will get a message +Arguments: +C - The client who requests help +text - The text the client send
+

Var Details

+

Text that will be added to the anchor link

other_ticket_name + + + + +

+

The name of the other ticket type to convert to

other_ticket_permission + + + + +

+

Which permission to look for when seeing if there is staff available for the other ticket type

Proc Details

makeUrlMessage +

+

Will add the URLs usable by staff to the message and return it +Arguments: +C - The client who send the message +msg - The raw message +ticketNum - Which ticket number the ticket has

message_staff +

+

newHelpRequest +

+

Will either make a new ticket using the given text or will add the text to an existing ticket. +Staff will get a message +Arguments: +C - The client who requests help +text - The text the client send

+ + + diff --git a/datum/controller/subsystem/timer.html b/datum/controller/subsystem/timer.html new file mode 100644 index 00000000000..c6b100695f2 --- /dev/null +++ b/datum/controller/subsystem/timer.html @@ -0,0 +1,141 @@ + + + + + + + /datum/controller/subsystem/timer - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Var Details - Proc Details
+
+

timer + + + +

+ + + + + + + + + + + + + + + + + +

Vars

bucket_auto_resetBoolean operator controlling if the timer SS will automatically reset buckets if it fails to invoke callbacks for an extended period of time
bucket_countHow many timers are in the buckets
bucket_listList of buckets, each bucket holds every timer that has to run that byond tick
bucket_reset_countHow many times bucket was reset
bucket_resolutionworld.tick_lag the bucket was designed for
clienttime_timersSpecial timers that run in real-time, not BYOND time; these are more expensive to run and maintain
hashesA hashlist dictionary used for storing unique timers
head_offsetworld.time of the first entry in the bucket list, effectively the 'start time' of the current buckets
last_invoke_tickContains the last time that a timer's callback was invoked, or the last tick the SS fired if no timers are being processed
last_invoke_warningContains the last time that a warning was issued for not invoking callbacks
next_clienttime_timer_indexKeeps track of the next index to work on for client timers
practical_offsetIndex of the wrap around pivot for buckets. buckets before this are later running buckets wrapped around from the end of the bucket list.
second_queueQueue used for storing timers that do not fit into the current buckets
timer_id_dictList of all active timers associated to their timer ID (for easy lookup)

Procs

get_timer_debug_stringGenerates a string with details about the timed event for debugging purposes
reset_bucketsDestroys the existing buckets and creates new buckets from the existing timed events
+

Var Details

bucket_auto_reset + + + + +

+

Boolean operator controlling if the timer SS will automatically reset buckets if it fails to invoke callbacks for an extended period of time

bucket_count + + + + +

+

How many timers are in the buckets

bucket_list + + + + +

+

List of buckets, each bucket holds every timer that has to run that byond tick

bucket_reset_count + + + + +

+

How many times bucket was reset

bucket_resolution + + + + +

+

world.tick_lag the bucket was designed for

clienttime_timers + + + + +

+

Special timers that run in real-time, not BYOND time; these are more expensive to run and maintain

hashes + + + + +

+

A hashlist dictionary used for storing unique timers

head_offset + + + + +

+

world.time of the first entry in the bucket list, effectively the 'start time' of the current buckets

last_invoke_tick + + + + +

+

Contains the last time that a timer's callback was invoked, or the last tick the SS fired if no timers are being processed

last_invoke_warning + + + + +

+

Contains the last time that a warning was issued for not invoking callbacks

next_clienttime_timer_index + + + + +

+

Keeps track of the next index to work on for client timers

practical_offset + + + + +

+

Index of the wrap around pivot for buckets. buckets before this are later running buckets wrapped around from the end of the bucket list.

second_queue + + + + +

+

Queue used for storing timers that do not fit into the current buckets

timer_id_dict + + + + +

+

List of all active timers associated to their timer ID (for easy lookup)

Proc Details

get_timer_debug_string +

+

Generates a string with details about the timed event for debugging purposes

reset_buckets +

+

Destroys the existing buckets and creates new buckets from the existing timed events

+ + + diff --git a/datum/controller/subsystem/verb_manager.html b/datum/controller/subsystem/verb_manager.html new file mode 100644 index 00000000000..c15b7026fcd --- /dev/null +++ b/datum/controller/subsystem/verb_manager.html @@ -0,0 +1,114 @@ + + + + + + + /datum/controller/subsystem/verb_manager - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Var Details - Proc Details
+
+

verb_manager + + + +

+ + + + + + + + + + + +

Vars

FOR_ADMINS_IF_VERBS_FUCKED_immediately_execute_all_verbsif this is true all verbs immediately execute and dont queue. in case the mc is fucked or something
always_queuealways queue if possible. overides can_queue_admin_verbs but not FOR_ADMINS_IF_VERBS_FUCKED_immediately_execute_all_verbs
can_queue_admin_verbsif TRUE we treat usr's with holders just like usr's without holders. otherwise they always execute immediately
message_admins_on_queueif TRUE this will... message admins every time a verb is queued to this subsystem for the next tick with stats. +for obvious reasons dont make this be TRUE on the code level this is for admins to turn on
use_default_statsused for subtypes to determine if they use their own stats for the stat entry
verb_queuelist of callbacks to procs called from verbs or verblike procs that were executed when the server was overloaded and had to delay to the next tick. +this list is ran through every tick, and the subsystem does not yield until this queue is finished.
verbs_executed_per_secondrunning average of how many verb callbacks are executed every second. used for the stat entry

Procs

can_queue_verbsubsystem-specific check for whether a callback can be queued. +intended so that subsystem subtypes can verify whether
queue_verbqueue a callback for the given proc, so that it is invoked in the next tick. +intended to only work with verbs or verblike procs called directly from client input, use as part of TRY_QUEUE_VERB()
run_verb_queueruns through all of this subsystems queue of verb callbacks. +goes through the entire verb queue without yielding. +used so you can flush the queue outside of fire() without interfering with anything else subtype subsystems might do in fire().
+

Var Details

FOR_ADMINS_IF_VERBS_FUCKED_immediately_execute_all_verbs + + + + +

+

if this is true all verbs immediately execute and dont queue. in case the mc is fucked or something

always_queue + + + + +

+

always queue if possible. overides can_queue_admin_verbs but not FOR_ADMINS_IF_VERBS_FUCKED_immediately_execute_all_verbs

can_queue_admin_verbs + + + + +

+

if TRUE we treat usr's with holders just like usr's without holders. otherwise they always execute immediately

message_admins_on_queue + + + + +

+

if TRUE this will... message admins every time a verb is queued to this subsystem for the next tick with stats. +for obvious reasons dont make this be TRUE on the code level this is for admins to turn on

use_default_stats + + + + +

+

used for subtypes to determine if they use their own stats for the stat entry

verb_queue + + + + +

+

list of callbacks to procs called from verbs or verblike procs that were executed when the server was overloaded and had to delay to the next tick. +this list is ran through every tick, and the subsystem does not yield until this queue is finished.

verbs_executed_per_second + + + + +

+

running average of how many verb callbacks are executed every second. used for the stat entry

Proc Details

can_queue_verb +

+

subsystem-specific check for whether a callback can be queued. +intended so that subsystem subtypes can verify whether

+

subtypes may include additional arguments here if they need them! you just need to include them properly +in TRY_QUEUE_VERB() and co.

queue_verb +

+

queue a callback for the given proc, so that it is invoked in the next tick. +intended to only work with verbs or verblike procs called directly from client input, use as part of TRY_QUEUE_VERB()

+

returns TRUE if the queuing was successful, FALSE otherwise.

run_verb_queue +

+

runs through all of this subsystems queue of verb callbacks. +goes through the entire verb queue without yielding. +used so you can flush the queue outside of fire() without interfering with anything else subtype subsystems might do in fire().

+ + + diff --git a/datum/craft_step.html b/datum/craft_step.html new file mode 100644 index 00000000000..9ed20df3889 --- /dev/null +++ b/datum/craft_step.html @@ -0,0 +1,36 @@ + + + + + + + /datum/craft_step - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Var Details
+
+

craft_step + + + +

+ + +

Vars

iconfilegets set during asset init
+

Var Details

iconfile + + + + +

+

gets set during asset init

+ + + diff --git a/datum/design/research.html b/datum/design/research.html new file mode 100644 index 00000000000..398387acde3 --- /dev/null +++ b/datum/design/research.html @@ -0,0 +1,30 @@ + + + + + + + /datum/design/research - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

research + + + +

+ +
				Design Datums						 
+
+

All the data for building stuff and tracking reliability.

+ + + diff --git a/datum/effect/effect/system/trail.html b/datum/effect/effect/system/trail.html new file mode 100644 index 00000000000..877bb4b80e5 --- /dev/null +++ b/datum/effect/effect/system/trail.html @@ -0,0 +1,31 @@ + + + + + + + /datum/effect/effect/system/trail - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

trail + + + +

+ +
Trail systems
+
+

These systems register an Observation proc on their target atom, and generate a +particle whenever the target moves

+ + + diff --git a/datum/element.html b/datum/element.html new file mode 100644 index 00000000000..23be2973409 --- /dev/null +++ b/datum/element.html @@ -0,0 +1,63 @@ + + + + + + + /datum/element - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Var Details - Proc Details
+
+

element + + + +

+ +

A holder for simple behaviour that can be attached to many different types

+

Only one element of each type is instanced during game init. +Otherwise acts basically like a lightweight component.

+ + + +

Vars

argument_hash_start_idxThe index of the first attach argument to consider for duplicate elements
element_flagsOption flags for element behaviour

Procs

AttachActivates the functionality defined by the element on the given target datum
DetachDeactivates the functionality defines by the element on the given datum
+

Var Details

argument_hash_start_idx + + + + +

+

The index of the first attach argument to consider for duplicate elements

+

All arguments from this index onwards (1 based) are hashed into the key to determine +if this is a new unique element or one already exists

+

Is only used when flags contains ELEMENT_BESPOKE

+

This is infinity so you must explicitly set this

element_flags + + + + +

+

Option flags for element behaviour

Proc Details

Attach +

+

Activates the functionality defined by the element on the given target datum

Detach +

+

Deactivates the functionality defines by the element on the given datum

+ + + diff --git a/datum/event/camera_damage.html b/datum/event/camera_damage.html new file mode 100644 index 00000000000..5a0720d903a --- /dev/null +++ b/datum/event/camera_damage.html @@ -0,0 +1,35 @@ + + + + + + + /datum/event/camera_damage - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

camera_damage + + + +

+ + +

Procs

start.

Proc Details

start +

+

.

+ + + diff --git a/datum/feed_message.html b/datum/feed_message.html new file mode 100644 index 00000000000..91169384b47 --- /dev/null +++ b/datum/feed_message.html @@ -0,0 +1,71 @@ + + + + + + + /datum/feed_message - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Var Details
+
+

feed_message + + + +

+ + + + + + + +

Vars

authorWho is the author of the full-size article to the feed channel?
bodyBody of the full-size article to the feed channel.
captionIf the message has an image, what is that image's caption?
imgIs there an image tied to the feed message?
photo_fileReferece to the photo used in picture messages.
time_stampAt what time was the full-size article sent? Time is in station time.
+

Var Details

author + + + + +

+

Who is the author of the full-size article to the feed channel?

body + + + + +

+

Body of the full-size article to the feed channel.

caption + + + + +

+

If the message has an image, what is that image's caption?

img + + + + +

+

Is there an image tied to the feed message?

photo_file + + + + +

+

Referece to the photo used in picture messages.

time_stamp + + + + +

+

At what time was the full-size article sent? Time is in station time.

+ + + diff --git a/datum/firemode/charge.html b/datum/firemode/charge.html new file mode 100644 index 00000000000..225e7fd0964 --- /dev/null +++ b/datum/firemode/charge.html @@ -0,0 +1,34 @@ + + + + + + + /datum/firemode/charge - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

charge + + + +

+ +

Energy weapon charge attack

+
+ + + diff --git a/datum/http_request.html b/datum/http_request.html new file mode 100644 index 00000000000..c1c384f50e3 --- /dev/null +++ b/datum/http_request.html @@ -0,0 +1,36 @@ + + + + + + + /datum/http_request - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Var Details
+
+

http_request + + + +

+ + +

Vars

output_fileIf present response body will be saved to this file.
+

Var Details

output_file + + + + +

+

If present response body will be saved to this file.

+ + + diff --git a/datum/job/cargo_tech.html b/datum/job/cargo_tech.html new file mode 100644 index 00000000000..bf94fcd2be3 --- /dev/null +++ b/datum/job/cargo_tech.html @@ -0,0 +1,38 @@ + + + + + + + /datum/job/cargo_tech - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Var Details
+
+

cargo_tech + + + +

+ + +

Vars

descriptiondatum/computer_file/program/supply, +datum/computer_file/program/deck_management,
+

Var Details

description + + + + +

+

datum/computer_file/program/supply, +datum/computer_file/program/deck_management,

+ + + diff --git a/datum/job/merchant.html b/datum/job/merchant.html new file mode 100644 index 00000000000..d97203826f9 --- /dev/null +++ b/datum/job/merchant.html @@ -0,0 +1,38 @@ + + + + + + + /datum/job/merchant - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Var Details
+
+

merchant + + + +

+ + +

Vars

outfit_typedatum/computer_file/program/supply, +datum/computer_file/program/deck_management,
+

Var Details

outfit_type + + + + +

+

datum/computer_file/program/supply, +datum/computer_file/program/deck_management,

+ + + diff --git a/datum/job/rd.html b/datum/job/rd.html new file mode 100644 index 00000000000..23ef649d2c8 --- /dev/null +++ b/datum/job/rd.html @@ -0,0 +1,36 @@ + + + + + + + /datum/job/rd - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Var Details
+
+

rd + + + +

+ + +

Vars

descriptiondatum/computer_file/program/aidiag,
+

Var Details

description + + + + +

+

datum/computer_file/program/aidiag,

+ + + diff --git a/datum/map_template.html b/datum/map_template.html new file mode 100644 index 00000000000..51e57afe6e5 --- /dev/null +++ b/datum/map_template.html @@ -0,0 +1,43 @@ + + + + + + + /datum/map_template - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Var Details
+
+

map_template + + + +

+ + + +

Vars

created_atomsthe list of atoms created by this template being loaded, only populated if returns_created_atoms is TRUE
returns_created_atomsif true, creates a list of all atoms created by this template loading, defaults to FALSE
+

Var Details

created_atoms + + + + +

+

the list of atoms created by this template being loaded, only populated if returns_created_atoms is TRUE

returns_created_atoms + + + + +

+

if true, creates a list of all atoms created by this template loading, defaults to FALSE

+ + + diff --git a/datum/metabolism_effects.html b/datum/metabolism_effects.html new file mode 100644 index 00000000000..49de6dd0aef --- /dev/null +++ b/datum/metabolism_effects.html @@ -0,0 +1,36 @@ + + + + + + + /datum/metabolism_effects - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Var Details
+
+

metabolism_effects + + + +

+ + +

Vars

addiction_chance_multiplierThe final chance for an addiction to manifest is multiplied by this value before being passed to prob.
+

Var Details

addiction_chance_multiplier + + + + +

+

The final chance for an addiction to manifest is multiplied by this value before being passed to prob.

+ + + diff --git a/datum/movement_handler/mob/exosuit.html b/datum/movement_handler/mob/exosuit.html new file mode 100644 index 00000000000..1e73c573f3b --- /dev/null +++ b/datum/movement_handler/mob/exosuit.html @@ -0,0 +1,35 @@ + + + + + + + /datum/movement_handler/mob/exosuit - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

exosuit + + + +

+ +

mob/living/exosuit/can_ztravel()

+

Procs

DoMoveAdded to handle with the case of ballistic shields (and probably other ones in the future.)

Proc Details

DoMove +

+

Added to handle with the case of ballistic shields (and probably other ones in the future.)

+ + + diff --git a/datum/nanoui.html b/datum/nanoui.html new file mode 100644 index 00000000000..76c44d670cb --- /dev/null +++ b/datum/nanoui.html @@ -0,0 +1,318 @@ + + + + + + + /datum/nanoui - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

nanoui + + + +

+ +

NANO UI FRAMEWORK

+

nanoui class (or whatever Byond calls classes)

+

nanoui is used to open and update nano browser uis

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Procs

NewCreate a new nanoui instance.
ProcessThis Process proc is called by SSnano. +Use try_update() to make manual updates.
TopicThis Topic() proc is called whenever a user clicks on a link within a Nano UI +If the UI status is currently STATUS_INTERACTIVE then call the src_object Topic() +If the src_object Topic() returns 1 (true) then update all UIs attached to src_object
add_common_assetsUse this proc to add assets which are common to (and required by) all nano uis
add_scriptAdd a JavsScript script to this UI +These must be added before the UI has been opened, adding after that will have no effect
add_stylesheetAdd a CSS stylesheet to this UI +These must be added before the UI has been opened, adding after that will have no effect
add_templateAdd a template for this UI +Templates are combined with the data sent to the UI to create the rendered view +These must be added before the UI has been opened, adding after that will have no effect
closeClose this UI
focusMove window up front.
get_config_dataGet config data to sent to the ui.
get_htmlReturn the HTML for this UI
get_send_dataGet data to sent to the ui.
openOpen this UI
push_dataPush data to an already open UI window
reinitialiseReinitialise this UI, potentially with a different template and/or initial data
set_auto_updateSet the ui to auto update (every master_controller tick)
set_auto_update_contentSet the ui to update the main content (re-render it) on each update
set_auto_update_layoutSet the ui to update the layout (re-render it) on each update, turning this on will break the map ui (if it's being used)
set_initial_dataSet the initial data for the ui. This is vital as the data structure set here cannot be changed when pushing new updates.
set_layout_keySet the layout key for use in the frontend Javascript +The layout key is the basic layout key for the page +Two files are loaded on the client based on the layout key varable: +-> a template in /nano/templates with the filename "layout_<layout_key>.tmpl +-> a CSS stylesheet in /nano/css with the filename "layout_<layout_key>.css
set_map_z_levelToggle showing the map ui
set_show_mapToggle showing the map ui
set_state_keySet the state key for use in the frontend Javascript
set_statusSet the current status (also known as visibility) of this ui.
set_window_optionsSet the browser window options for this ui
try_updateProcess this UI, updating the entire UI or just the status (aka visibility)
updateUpdate the UI
update_statusUpdate the status (visibility) of this ui based on the user's status
use_on_close_logicSet whether or not to use the "old" on close logic (mainly unset_machine())
verify_openVerify if this UI window is actually open on client's side

Proc Details

New +

+

Create a new nanoui instance.

+

@param nuser /mob The mob who has opened/owns this ui +@param nsrc_object /obj|/mob The obj or mob which this ui belongs to +@param nui_key string A string key to use for this ui. Allows for multiple unique uis on one src_oject +@param ntemplate string The filename of the template file from /nano/templates (e.g. "my_template.tmpl") +@param ntitle string The title of this ui +@param nwidth int the width of the ui window +@param nheight int the height of the ui window +@param nref /atom A custom ref to use if "on_close_logic" is set to 1

+

@return /nanoui new nanoui object

Process +

+

This Process proc is called by SSnano. +Use try_update() to make manual updates.

Topic +

+

This Topic() proc is called whenever a user clicks on a link within a Nano UI +If the UI status is currently STATUS_INTERACTIVE then call the src_object Topic() +If the src_object Topic() returns 1 (true) then update all UIs attached to src_object

+

@return nothing

add_common_assets +

+

Use this proc to add assets which are common to (and required by) all nano uis

+

@return nothing

add_script +

+

Add a JavsScript script to this UI +These must be added before the UI has been opened, adding after that will have no effect

+

@param file string The name of the JavaScript file from /nano/js (e.g. "my_script.js")

+

@return nothing

add_stylesheet +

+

Add a CSS stylesheet to this UI +These must be added before the UI has been opened, adding after that will have no effect

+

@param file string The name of the CSS file from /nano/css (e.g. "my_style.css")

+

@return nothing

add_template +

+

Add a template for this UI +Templates are combined with the data sent to the UI to create the rendered view +These must be added before the UI has been opened, adding after that will have no effect

+

@param key string The key which is used to reference this template in the frontend +@param filename string The name of the template file from /nano/templates (e.g. "my_template.tmpl")

+

@return nothing

close +

+

Close this UI

+

@return nothing

focus +

+

Move window up front.

+

@return nothing

get_config_data +

+

Get config data to sent to the ui.

+

@return /list config data

get_html +

+

Return the HTML for this UI

+

@return string HTML for the UI

get_send_data +

+

Get data to sent to the ui.

+

@param data /list The list of general data for this ui (can be null to use previous data sent)

+

@return /list data to send to the ui

open +

+

Open this UI

+

@return nothing

push_data +

+

Push data to an already open UI window

+

@return nothing

reinitialise +

+

Reinitialise this UI, potentially with a different template and/or initial data

+

@return nothing

set_auto_update +

+

Set the ui to auto update (every master_controller tick)

+

@param state int (bool) Set auto update to 1 or 0 (true/false)

+

@return nothing

set_auto_update_content +

+

Set the ui to update the main content (re-render it) on each update

+

@param state int (bool) Set update to 1 or 0 (true/false) (default 1)

+

@return nothing

set_auto_update_layout +

+

Set the ui to update the layout (re-render it) on each update, turning this on will break the map ui (if it's being used)

+

@param state int (bool) Set update to 1 or 0 (true/false) (default 0)

+

@return nothing

set_initial_data +

+

Set the initial data for the ui. This is vital as the data structure set here cannot be changed when pushing new updates.

+

@param data /list The list of data for this ui

+

@return nothing

set_layout_key +

+

Set the layout key for use in the frontend Javascript +The layout key is the basic layout key for the page +Two files are loaded on the client based on the layout key varable: +-> a template in /nano/templates with the filename "layout_<layout_key>.tmpl +-> a CSS stylesheet in /nano/css with the filename "layout_<layout_key>.css

+

@param nlayout string The layout key to use

+

@return nothing

set_map_z_level +

+

Toggle showing the map ui

+

@param nstate_key boolean 1 to show map, 0 to hide (default is 0)

+

@return nothing

set_show_map +

+

Toggle showing the map ui

+

@param nstate_key boolean 1 to show map, 0 to hide (default is 0)

+

@return nothing

set_state_key +

+

Set the state key for use in the frontend Javascript

+

@param nstate_key string The key of the state to use

+

@return nothing

set_status +

+

Set the current status (also known as visibility) of this ui.

+

@param state int The status to set, see the defines at the top of this file +@param push_update int (bool) Push an update to the ui to update it's status (an update is always sent if the status has changed to red (0))

+

@return nothing

set_window_options +

+

Set the browser window options for this ui

+

@param nwindow_options string The new window options

+

@return nothing

try_update +

+

Process this UI, updating the entire UI or just the status (aka visibility)

+

@param update string For this UI to update

+

@return nothing

update +

+

Update the UI

+

@return nothing

update_status +

+

Update the status (visibility) of this ui based on the user's status

+

@param push_update int (bool) Push an update to the ui to update it's status. This is set to 0/false if an update is going to be pushed anyway (to avoid unnessary updates)

+

@return 1 if closed, null otherwise.

use_on_close_logic +

+

Set whether or not to use the "old" on close logic (mainly unset_machine())

+

@param state int (bool) Set on_close_logic to 1 or 0 (true/false)

+

@return nothing

verify_open +

+

Verify if this UI window is actually open on client's side

+

@return is_open boolean - if the UI is actually open on client.

+ + + diff --git a/datum/nt_blueprint/machinery/biogen_console.html b/datum/nt_blueprint/machinery/biogen_console.html new file mode 100644 index 00000000000..53891b950ef --- /dev/null +++ b/datum/nt_blueprint/machinery/biogen_console.html @@ -0,0 +1,36 @@ + + + + + + + /datum/nt_blueprint/machinery/biogen_console - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Var Details
+
+

biogen_console + + + +

+ + +

Vars

materialsTODO: proper recipe
+

Var Details

materials + + + + +

+

TODO: proper recipe

+ + + diff --git a/datum/nt_blueprint/machinery/bioreactor_metrics.html b/datum/nt_blueprint/machinery/bioreactor_metrics.html new file mode 100644 index 00000000000..f453f897aab --- /dev/null +++ b/datum/nt_blueprint/machinery/bioreactor_metrics.html @@ -0,0 +1,36 @@ + + + + + + + /datum/nt_blueprint/machinery/bioreactor_metrics - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Var Details
+
+

bioreactor_metrics + + + +

+ + +

Vars

materialsTODO: proper recipe
+

Var Details

materials + + + + +

+

TODO: proper recipe

+ + + diff --git a/datum/perk.html b/datum/perk.html new file mode 100644 index 00000000000..35d566b960a --- /dev/null +++ b/datum/perk.html @@ -0,0 +1,61 @@ + + + + + + + /datum/perk - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

perk + + + +

+ +

The root perk datum. All perks inherit properties from this one.

+

A perk is basically a talent that livings may have. This talent could be something like damage reduction, or some other passive benefit. +Some jobs have perks that are assigned to the human during role assignment. +Perks can be assigned or removed. To handle this, use the mob stats datum, with the helper procs addPerk, removePerk and getPerk. +The static effects are given in assign, and removed in remove. +Perks are stored in a list within a stat_holder datum.

+ + + +

Procs

assignProc called when the perk is assigned to a human. Should be the first thing to be called.
check_shared_abilityProc called , a bitflag is always expected.
on_processProc called in human life. Should be the first thing to be called.
removeProc called when the perk is removed from a human. Obviously, in your perks, you should call parent as the last thing you do, since it deletes the perk itself.

Proc Details

assign +

+

Proc called when the perk is assigned to a human. Should be the first thing to be called.

check_shared_ability +

+

Proc called , a bitflag is always expected.

on_process +

+

Proc called in human life. Should be the first thing to be called.

remove +

+

Proc called when the perk is removed from a human. Obviously, in your perks, you should call parent as the last thing you do, since it deletes the perk itself.

+ + + diff --git a/datum/powernet.html b/datum/powernet.html new file mode 100644 index 00000000000..9b8e29ae333 --- /dev/null +++ b/datum/powernet.html @@ -0,0 +1,42 @@ + + + + + + + /datum/powernet - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

powernet + + + +

+ + + +

Procs

add_cable... delete it
add_machine... delete it - qdel

Proc Details

add_cable +

+

... delete it

add_machine +

+

... delete it - qdel

+ + + diff --git a/datum/reagent/alcohol/roachbeer.html b/datum/reagent/alcohol/roachbeer.html new file mode 100644 index 00000000000..b3d34bd4f9b --- /dev/null +++ b/datum/reagent/alcohol/roachbeer.html @@ -0,0 +1,35 @@ + + + + + + + /datum/reagent/alcohol/roachbeer - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

roachbeer + + + +

+ + +

Procs

apply_sanity_effectchecks user for having a vagabond perk,

Proc Details

apply_sanity_effect +

+

checks user for having a vagabond perk,

+ + + diff --git a/datum/reagents.html b/datum/reagents.html new file mode 100644 index 00000000000..59239dc2a0e --- /dev/null +++ b/datum/reagents.html @@ -0,0 +1,42 @@ + + + + + + + /datum/reagents - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

reagents + + + +

+ + + +

Procs

add_reagent_listLike add_reagent but you can enter a list. Format it like this: list(/datum/reagent/toxin = 10, "beer" = 15)
holder_fullIs this holder full or not

Proc Details

add_reagent_list +

+

Like add_reagent but you can enter a list. Format it like this: list(/datum/reagent/toxin = 10, "beer" = 15)

holder_full +

+

Is this holder full or not

+ + + diff --git a/datum/research.html b/datum/research.html new file mode 100644 index 00000000000..5c222d557e8 --- /dev/null +++ b/datum/research.html @@ -0,0 +1,37 @@ + + + + + + + /datum/research - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

research + + + +

+ + +

Procs

adjust_research_points

Proc Details

adjust_research_points +

+
				Master Types						
+
+

Includes all the helper procs and basic tech processing.

+ + + diff --git a/datum/ritual/cruciform/machines/bioreactor/chamber_doors.html b/datum/ritual/cruciform/machines/bioreactor/chamber_doors.html new file mode 100644 index 00000000000..2360bcce39d --- /dev/null +++ b/datum/ritual/cruciform/machines/bioreactor/chamber_doors.html @@ -0,0 +1,30 @@ + + + + + + + /datum/ritual/cruciform/machines/bioreactor/chamber_doors - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

chamber_doors + + + +

+ +
+

Bioreactor chamber opening song<

+
+ + + diff --git a/datum/ritual/cruciform/machines/bioreactor/solution.html b/datum/ritual/cruciform/machines/bioreactor/solution.html new file mode 100644 index 00000000000..76711430f7c --- /dev/null +++ b/datum/ritual/cruciform/machines/bioreactor/solution.html @@ -0,0 +1,30 @@ + + + + + + + /datum/ritual/cruciform/machines/bioreactor/solution - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

solution + + + +

+ +
+

Bioreactor pump solution ritual<

+
+ + + diff --git a/datum/shuttle/autodock/ferry/specops.html b/datum/shuttle/autodock/ferry/specops.html new file mode 100644 index 00000000000..3747b8d882d --- /dev/null +++ b/datum/shuttle/autodock/ferry/specops.html @@ -0,0 +1,35 @@ + + + + + + + /datum/shuttle/autodock/ferry/specops - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

specops + + + +

+ + +

Procs

can_canceldatum/shuttle/autodock/ferry/specops/can_force()

Proc Details

can_cancel +

+

datum/shuttle/autodock/ferry/specops/can_force()

+ + + diff --git a/datum/sortInstance.html b/datum/sortInstance.html new file mode 100644 index 00000000000..6ffd7bf52a7 --- /dev/null +++ b/datum/sortInstance.html @@ -0,0 +1,45 @@ + + + + + + + /datum/sortInstance - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

sortInstance + + + +

+ + +

Procs

gallopRightLike gallopLeft, except that if the range contains an element equal to +key, gallopRight returns the index after the rightmost equal element.

Proc Details

gallopRight +

+

Like gallopLeft, except that if the range contains an element equal to +key, gallopRight returns the index after the rightmost equal element.

+

@param key the key whose insertion point to search for +@param a the array in which to search +@param base the index of the first element in the range +@param len the length of the range; must be > 0 +@param hint the index at which to begin the search, 0 <= hint < n. +The closer hint is to the result, the faster this method will run. +@param c the comparator used to order the range, and to search +@return the int k, 0 <= k <= n such that a[b + k - 1] <= key < a[b + k]

+ + + diff --git a/datum/stack_canary.html b/datum/stack_canary.html new file mode 100644 index 00000000000..74e96024197 --- /dev/null +++ b/datum/stack_canary.html @@ -0,0 +1,35 @@ + + + + + + + /datum/stack_canary - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

stack_canary + + + +

+ +

Stack canary. Will go away if the stack it was primed by is ended by byond for return or stack overflow reasons.

+

Procs

use_variableempty proc to avoid warnings about unused variables. Call this proc on your canary in the stack it's watching.

Proc Details

use_variable +

+

empty proc to avoid warnings about unused variables. Call this proc on your canary in the stack it's watching.

+ + + diff --git a/datum/stack_end_detector.html b/datum/stack_end_detector.html new file mode 100644 index 00000000000..e388937c330 --- /dev/null +++ b/datum/stack_end_detector.html @@ -0,0 +1,47 @@ + + + + + + + /datum/stack_end_detector - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

stack_end_detector + + + +

+ +

Stack End Detector. +Can detect if a given code stack has exited, used by the mc for stack overflow detection.

+ +

Procs

checkReturns true if the stack is still going. Calling before the canary has been primed also returns true
prime_canary

Proc Details

check +

+

Returns true if the stack is still going. Calling before the canary has been primed also returns true

prime_canary +

+
+ + + diff --git a/datum/stash.html b/datum/stash.html new file mode 100644 index 00000000000..e2922c6fef6 --- /dev/null +++ b/datum/stash.html @@ -0,0 +1,42 @@ + + + + + + + /datum/stash - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

stash + + + +

+ + + +

Procs

spawn_noteNote Creation
spawn_stashSpawning

Proc Details

spawn_note +

+

Note Creation

spawn_stash +

+

Spawning

+ + + diff --git a/datum/stat_holder.html b/datum/stat_holder.html new file mode 100644 index 00000000000..844f5facb3a --- /dev/null +++ b/datum/stat_holder.html @@ -0,0 +1,42 @@ + + + + + + + /datum/stat_holder - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

stat_holder + + + +

+ + + +

Procs

addPerkThe main, public proc to add a perk to a mob. Accepts a path or a stringified path.
removePerkThe main, public proc to remove a perk from a mob. Accepts a path or a stringified path.

Proc Details

addPerk +

+

The main, public proc to add a perk to a mob. Accepts a path or a stringified path.

removePerk +

+

The main, public proc to remove a perk from a mob. Accepts a path or a stringified path.

+ + + diff --git a/datum/storyteller.html b/datum/storyteller.html new file mode 100644 index 00000000000..0df823914c5 --- /dev/null +++ b/datum/storyteller.html @@ -0,0 +1,77 @@ + + + + + + + /datum/storyteller - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

storyteller + + + +

+ + + + + + + + +

Procs

ProcessMAIN PROCESS
add_processingSUB PROCESSING: For individual storyevents
build_event_poolsPool and Weight handling
can_startROUNDSTART AND SETUP
handle_eventEvent Handling
modify_pointsPoints Handling
update_objectivesANTAGONIST HANDLING

Proc Details

Process +

+

MAIN PROCESS

add_processing +

+

SUB PROCESSING: For individual storyevents

build_event_pools +

+

Pool and Weight handling

can_start +

+

ROUNDSTART AND SETUP

handle_event +

+

Event Handling

modify_points +

+

Points Handling

update_objectives +

+

ANTAGONIST HANDLING

+ + + diff --git a/datum/tgui.html b/datum/tgui.html new file mode 100644 index 00000000000..c2bc3fe175f --- /dev/null +++ b/datum/tgui.html @@ -0,0 +1,272 @@ + + + + + + + /datum/tgui - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Var Details - Proc Details
+
+

tgui + + + +

+ +

tgui datum (represents a UI).

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Vars

autoupdateUpdate the UI every MC tick.
closingStops further updates when close() was called.
initializedIf the UI has been initialized yet.
interfaceThe interface (template) to be used for this UI.
mouse_hookedAre byond mouse events beyond the window passed in to the ui
opened_atTime of opening the window.
refresh_cooldownRate limit client refreshes to prevent DoS.
refreshingTimed refreshing state
src_objectThe object which owns the UI.
stateTopic state used to determine status/interactability.
statusThe status/visibility of the UI.
titleThe title of te UI.
userThe mob who opened/is using the UI.
windowThe window_id for browse() and onclose().
window_keyKey that is used for remembering the window geometry.
window_sizeDeprecated: Window size.

Procs

Newpublic
Processprivate
closepublic
get_payloadprivate
on_act_messageWrapper for behavior to potentially wait until the next tick if the server is overloaded
on_messageprivate
openpublic
process_statusprivate
send_assetpublic
send_full_updatepublic
send_updatepublic
set_autoupdatepublic
set_mouse_hookpublic
set_statepublic
+

Var Details

autoupdate + + + + +

+

Update the UI every MC tick.

closing + + + + +

+

Stops further updates when close() was called.

initialized + + + + +

+

If the UI has been initialized yet.

interface + + + + +

+

The interface (template) to be used for this UI.

mouse_hooked + + + + +

+

Are byond mouse events beyond the window passed in to the ui

opened_at + + + + +

+

Time of opening the window.

refresh_cooldown + + + + +

+

Rate limit client refreshes to prevent DoS.

refreshing + + + + +

+

Timed refreshing state

src_object + + + + +

+

The object which owns the UI.

state + + + + +

+

Topic state used to determine status/interactability.

status + + + + +

+

The status/visibility of the UI.

title + + + + +

+

The title of te UI.

user + + + + +

+

The mob who opened/is using the UI.

window + + + + +

+

The window_id for browse() and onclose().

window_key + + + + +

+

Key that is used for remembering the window geometry.

window_size + + + + +

+

Deprecated: Window size.

Proc Details

New +

+

public

+

Create a new UI.

+

required user mob The mob who opened/is using the UI. +required src_object datum The object or datum which owns the UI. +required interface string The interface used to render the UI. +optional title string The title of the UI. +optional ui_x int Deprecated: Window width. +optional ui_y int Deprecated: Window height.

+

return datum/tgui The requested UI.

Process +

+

private

+

Run an update cycle for this UI. Called internally by SStgui +every second or so.

close +

+

public

+

Close the UI.

+

optional can_be_suspended bool

get_payload +

+

private

+

Package the data to send to the UI, as JSON.

+

return list

on_act_message +

+

Wrapper for behavior to potentially wait until the next tick if the server is overloaded

on_message +

+

private

+

Callback for handling incoming tgui messages.

open +

+

public

+

Open this UI (and initialize it with data).

+

return bool - TRUE if a new pooled window is opened, FALSE in all other situations including if a new pooled window didn't open because one already exists.

process_status +

+

private

+

Updates the status, and returns TRUE if status has changed.

send_asset +

+

public

+

Makes an asset available to use in tgui.

+

required asset datum/asset

+

return bool - true if an asset was actually sent

send_full_update +

+

public

+

Send a full update to the client (includes static data).

+

optional custom_data list Custom data to send instead of ui_data. +optional force bool Send an update even if UI is not interactive.

send_update +

+

public

+

Send a partial update to the client (excludes static data).

+

optional custom_data list Custom data to send instead of ui_data. +optional force bool Send an update even if UI is not interactive.

set_autoupdate +

+

public

+

Enable/disable auto-updating of the UI.

+

required value bool Enable/disable auto-updating.

set_mouse_hook +

+

public

+

Enable/disable passing through byond mouse events to the window

+

required value bool Enable/disable hooking.

set_state +

+

public

+

Replace current ui.state with a new one.

+

required state datum/ui_state/state Next state

+ + + diff --git a/datum/tgui_window.html b/datum/tgui_window.html new file mode 100644 index 00000000000..b64d419cb58 --- /dev/null +++ b/datum/tgui_window.html @@ -0,0 +1,184 @@ + + + + + + + /datum/tgui_window - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

tgui_window + + + +

+ + + + + + + + + + + + + + + + + +

Procs

Newpublic
acquire_lockpublic
can_be_suspendedpublic
closepublic
flush_message_queueprivate
initializepublic
is_readypublic
on_messageprivate
reinitializepublic
release_lockpublic
replace_htmlpublic
send_assetpublic
send_messagepublic
send_raw_messagepublic
subscribepublic
unsubscribepublic

Proc Details

New +

+

public

+

Create a new tgui window.

+

required client /client +required id string A unique window identifier.

acquire_lock +

+

public

+

Acquire the window lock. Pool will not be able to provide this window +to other UIs for the duration of the lock.

+

Can be given an optional tgui datum, which will be automatically +subscribed to incoming messages via the on_message proc.

+

optional ui /datum/tgui

can_be_suspended +

+

public

+

Checks if the window can be sanely suspended.

+

return bool

close +

+

public

+

Close the UI.

+

optional can_be_suspended bool

flush_message_queue +

+

private

+

Sends queued messages if the queue wasn't empty.

initialize +

+

public

+

Initializes the window with a fresh page. Puts window into the "loading" +state. You can begin sending messages right after initializing. Messages +will be put into the queue until the window finishes loading.

+

optional strict_mode bool - Enables strict error handling and BSOD. +optional fancy bool - If TRUE and if this is NOT a panel, will hide the window titlebar. +optional assets list - List of assets to load during initialization. +optional inline_html string - Custom HTML to inject. +optional inline_js string - Custom JS to inject. +optional inline_css string - Custom CSS to inject.

is_ready +

+

public

+

Checks if the window is ready to receive data.

+

return bool

on_message +

+

private

+

Callback for handling incoming tgui messages.

reinitialize +

+

public

+

Reinitializes the panel with previous data used for initialization.

release_lock +

+

public

+

Release the window lock.

replace_html +

+

public

+

Replaces the inline HTML content.

+

required inline_html string HTML to inject

send_asset +

+

public

+

Makes an asset available to use in tgui.

+

required asset datum/asset

+

return bool - TRUE if any assets had to be sent to the client

send_message +

+

public

+

Sends a message to tgui window.

+

required type string Message type +required payload list Message payload +optional force bool Send regardless of the ready status.

send_raw_message +

+

public

+

Sends a raw payload to tgui window.

+

required message string JSON+urlencoded blob to send. +optional force bool Send regardless of the ready status.

subscribe +

+

public

+

Subscribes the datum to consume window messages on a specified proc.

+

Note, that this supports only one subscriber, because code for that +is simpler and therefore faster. If necessary, this can be rewritten +to support multiple subscribers.

unsubscribe +

+

public

+

Unsubscribes the datum. Do not forget to call this when cleaning up.

+ + + diff --git a/datum/ticket.html b/datum/ticket.html new file mode 100644 index 00000000000..52bf6915b08 --- /dev/null +++ b/datum/ticket.html @@ -0,0 +1,134 @@ + + + + + + + /datum/ticket - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Var Details
+
+

ticket + + + +

+ + + + + + + + + + + + + + + + +

Vars

client_ckeyckey of the client who opened the ticket.
contentContent of the staff help.
lastResponseTimeWhen the staff last responded.
lastStaffResponseLast staff member who responded.
locationSentThe location the player was when they sent the ticket.
mobControlledThe mob the player was controlling when they sent the ticket.
raw_titleThe title without URLs added.
staffAssignedStaff member who has assigned themselves to this ticket.
ticketCooldownCooldown before allowing the user to open another ticket.
ticketNumTicket number.
ticketStateState of the ticket, open, closed, resolved etc.
ticket_convertedHas the ticket been converted to another type? (Mhelp to Ahelp, etc.)
timeOpenedTime the ticket was opened.
timeUntilStaleWhen the ticket goes stale.
titleThe initial message with links.
+

Var Details

client_ckey + + + + +

+

ckey of the client who opened the ticket.

content + + + + +

+

Content of the staff help.

lastResponseTime + + + + +

+

When the staff last responded.

lastStaffResponse + + + + +

+

Last staff member who responded.

locationSent + + + + +

+

The location the player was when they sent the ticket.

mobControlled + + + + +

+

The mob the player was controlling when they sent the ticket.

raw_title + + + + +

+

The title without URLs added.

staffAssigned + + + + +

+

Staff member who has assigned themselves to this ticket.

ticketCooldown + + + + +

+

Cooldown before allowing the user to open another ticket.

ticketNum + + + + +

+

Ticket number.

ticketState + + + + +

+

State of the ticket, open, closed, resolved etc.

ticket_converted + + + + +

+

Has the ticket been converted to another type? (Mhelp to Ahelp, etc.)

timeOpened + + + + +

+

Time the ticket was opened.

timeUntilStale + + + + +

+

When the ticket goes stale.

title + + + + +

+

The initial message with links.

+ + + diff --git a/datum/timedevent.html b/datum/timedevent.html new file mode 100644 index 00000000000..5413abb80af --- /dev/null +++ b/datum/timedevent.html @@ -0,0 +1,156 @@ + + + + + + + /datum/timedevent - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Var Details - Proc Details
+
+

Timed Event + + + +

+ +

This is the actual timer, it contains the callback and necessary data to maintain +the timer.

+

See the documentation for the timer subsystem for an explanation of the buckets referenced +below in next and prev

+ + + + + + + + + + + + + + + + +

Vars

bucket_joinedBoolean indicating if timer joined into bucket
bucket_posInitial bucket position
callBackThe callback to invoke after the timer completes
flagsFlags associated with the timer, see _DEFINES/subsystems.dm
hashUnique hash generated when TIMER_UNIQUE flag is present
idID used for timers when the TIMER_STOPPABLE flag is present
nameAn informative name generated for the timer as its representation in strings, useful for debugging
nextNext timed event in the bucket
prevPrevious timed event in the bucket
sourceThe source of the timedevent, whatever called addtimer
spentTime at which the timer was invoked or destroyed
timeToRunThe time at which the callback should be invoked at
timer_subsystemThe timer subsystem this event is associated with
waitThe length of the timer

Procs

bucketEjectRemoves this timed event from any relevant buckets, or the secondary queue
bucketJoinAttempts to add this timed event to a bucket, will enter the secondary queue +if there are no appropriate buckets at this time.
getcallingtypeReturns a string of the type of the callback for this timer
+

Var Details

bucket_joined + + + + +

+

Boolean indicating if timer joined into bucket

bucket_pos + + + + +

+

Initial bucket position

callBack + + + + +

+

The callback to invoke after the timer completes

flags + + + + +

+

Flags associated with the timer, see _DEFINES/subsystems.dm

hash + + + + +

+

Unique hash generated when TIMER_UNIQUE flag is present

id + + + + +

+

ID used for timers when the TIMER_STOPPABLE flag is present

name + + + + +

+

An informative name generated for the timer as its representation in strings, useful for debugging

next + + + + +

+

Next timed event in the bucket

prev + + + + +

+

Previous timed event in the bucket

source + + + + +

+

The source of the timedevent, whatever called addtimer

spent + + + + +

+

Time at which the timer was invoked or destroyed

timeToRun + + + + +

+

The time at which the callback should be invoked at

timer_subsystem + + + + +

+

The timer subsystem this event is associated with

wait + + + + +

+

The length of the timer

Proc Details

bucketEject +

+

Removes this timed event from any relevant buckets, or the secondary queue

bucketJoin +

+

Attempts to add this timed event to a bucket, will enter the secondary queue +if there are no appropriate buckets at this time.

+

Secondary queueing of timed events will occur when the timespan covered by the existing +buckets is exceeded by the time at which this timed event is scheduled to be invoked. +If the timed event is tracking client time, it will be added to a special bucket.

getcallingtype +

+

Returns a string of the type of the callback for this timer

+ + + diff --git a/datum/trade_station/boozefood.html b/datum/trade_station/boozefood.html new file mode 100644 index 00000000000..412e5325b51 --- /dev/null +++ b/datum/trade_station/boozefood.html @@ -0,0 +1,36 @@ + + + + + + + /datum/trade_station/boozefood - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Var Details
+
+

boozefood + + + +

+ + +

Vars

hidden_inventoryobj/item/reagent_containers/food/drinks/bottle/lemonjuice,
+

Var Details

hidden_inventory + + + + +

+

obj/item/reagent_containers/food/drinks/bottle/lemonjuice,

+ + + diff --git a/datum/ui_state.html b/datum/ui_state.html new file mode 100644 index 00000000000..f60853b83bb --- /dev/null +++ b/datum/ui_state.html @@ -0,0 +1,40 @@ + + + + + + + /datum/ui_state - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

ui_state + + + +

+ + +

Procs

can_use_topicprivate

Proc Details

can_use_topic +

+

private

+

Checks if a user can use src_object's UI, and returns the state. +Can call a mob proc, which allows overrides for each mob.

+

required src_object datum The object/datum which owns the UI. +required user mob The mob who opened/is using the UI.

+

return UI_state The state of the UI.

+ + + diff --git a/datum/unit_test.html b/datum/unit_test.html new file mode 100644 index 00000000000..3d7b11651cd --- /dev/null +++ b/datum/unit_test.html @@ -0,0 +1,59 @@ + + + + + + + /datum/unit_test - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Var Details - Proc Details
+
+

unit_test + + + +

+ + + + + +

Vars

priorityThe priority of the test, the larger it is the later it fires
run_loc_floor_bottom_leftThe bottom left floor turf of the testing zone
run_loc_floor_top_rightThe top right floor turf of the testing zone

Procs

allocateAllocates an instance of the provided type, and places it somewhere in an available loc +Instances allocated through this proc will be destroyed when the test is over
+

Var Details

priority + + + + +

+

The priority of the test, the larger it is the later it fires

run_loc_floor_bottom_left + + + + +

+

The bottom left floor turf of the testing zone

run_loc_floor_top_right + + + + +

+

The top right floor turf of the testing zone

Proc Details

allocate +

+

Allocates an instance of the provided type, and places it somewhere in an available loc +Instances allocated through this proc will be destroyed when the test is over

+ + + diff --git a/datum/unit_test/binary_insert.html b/datum/unit_test/binary_insert.html new file mode 100644 index 00000000000..029ccbbe316 --- /dev/null +++ b/datum/unit_test/binary_insert.html @@ -0,0 +1,35 @@ + + + + + + + /datum/unit_test/binary_insert - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

binary_insert + + + +

+ + +

Procs

RunA test to ensure the sanity of BINARY_INSERT

Proc Details

Run +

+

A test to ensure the sanity of BINARY_INSERT

+ + + diff --git a/datum/uplink_item/item.html b/datum/uplink_item/item.html new file mode 100644 index 00000000000..e1c7e220470 --- /dev/null +++ b/datum/uplink_item/item.html @@ -0,0 +1,35 @@ + + + + + + + /datum/uplink_item/item - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

item + + + +

+ + +

Procs

buyPhysical Uplink Entries

Proc Details

buy +

+

Physical Uplink Entries

+ + + diff --git a/datum/uplink_item/item/neotheology.html b/datum/uplink_item/item/neotheology.html new file mode 100644 index 00000000000..a9f60936b1c --- /dev/null +++ b/datum/uplink_item/item/neotheology.html @@ -0,0 +1,35 @@ + + + + + + + /datum/uplink_item/item/neotheology - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

neotheology + + + +

+ + +

Procs

can_viewNeoTheology: Religious items

Proc Details

can_view +

+

NeoTheology: Religious items

+ + + diff --git a/datum/vertical_travel_method.html b/datum/vertical_travel_method.html new file mode 100644 index 00000000000..3eb11d0cbc9 --- /dev/null +++ b/datum/vertical_travel_method.html @@ -0,0 +1,49 @@ + + + + + + + /datum/vertical_travel_method - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

vertical_travel_method + + + +

+ + + + +

Procs

announce_startAnimation and Messages
cache_valuesData Handling
handle_tickingTicking

Proc Details

announce_start +

+

Animation and Messages

cache_values +

+

Data Handling

handle_ticking +

+

Ticking

+ + + diff --git a/datum/vertical_travel_method/climb.html b/datum/vertical_travel_method/climb.html new file mode 100644 index 00000000000..cb1e7a0b43a --- /dev/null +++ b/datum/vertical_travel_method/climb.html @@ -0,0 +1,29 @@ + + + + + + + /datum/vertical_travel_method/climb - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

climb + + + +

+ +

Generic climbing, without using any special equipment

+

Requires a nearby wall which runs both zlevels

+ + + diff --git a/datum/weakref.html b/datum/weakref.html new file mode 100644 index 00000000000..13ac1ee5473 --- /dev/null +++ b/datum/weakref.html @@ -0,0 +1,67 @@ + + + + + + + /datum/weakref - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

weakref + + + +

+ +

A weakref holds a non-owning reference to a datum. +The datum can be referenced again using resolve().

+

To figure out why this is important, you must understand how deletion in +BYOND works.

+

Imagine a datum as a TV in a living room. When one person enters to watch +TV, they turn it on. Others can come into the room and watch the TV. +When the last person leaves the room, they turn off the TV because it's +no longer being used.

+

A datum being deleted tells everyone who's watching the TV to stop. +If everyone leaves properly (AKA cleaning up their references), then the +last person will turn off the TV, and everything is well. +However, if someone is resistant (holds a hard reference after deletion), +then someone has to walk in, drag them away, and turn off the TV forecefully. +This process is very slow, and it's known as hard deletion.

+

This is where weak references come in. Weak references don't count as someone +watching the TV. Thus, when what it's referencing is destroyed, it will +hopefully clean up properly, and limit hard deletions.

+

A common use case for weak references is holding onto what created itself. +For example, if a machine wanted to know what its last user was, it might +create a var/mob/living/last_user. However, this is a storng reference to +the mob, and thus will force a hard deletion when that mob is deleted. +It is often better in this case to instead create a weakref to the user, +meaning this type definition becomes var/datum/weakref/last_user.

+

A good rule of thumb is that you should hold strong references to things +that you own. For example, a dog holding a chew toy would be the owner +of that chew toy, and thus a var/obj/item/chew_toy reference is fine +(as long as it is cleaned up properly). +However, a chew toy does not own its dog, so a var/mob/living/dog/owner +might be inferior to a weakref. +This is also a good rule of thumb to avoid circular references, such as the +chew toy example. A circular reference that doesn't clean itself up properly +will always hard delete.

+

Procs

resolveRetrieves the datum that this weakref is referencing.

Proc Details

resolve +

+

Retrieves the datum that this weakref is referencing.

+

This will return null if the datum was deleted. This MUST be respected.

+ + + diff --git a/datum/wound/bruise.html b/datum/wound/bruise.html new file mode 100644 index 00000000000..5735edf938c --- /dev/null +++ b/datum/wound/bruise.html @@ -0,0 +1,35 @@ + + + + + + + /datum/wound/bruise - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

bruise + + + +

+ + +

Procs

bleedingBRUISES

Proc Details

bleeding +

+

BRUISES

+ + + diff --git a/datum/wound/cut.html b/datum/wound/cut.html new file mode 100644 index 00000000000..6f6a965143b --- /dev/null +++ b/datum/wound/cut.html @@ -0,0 +1,35 @@ + + + + + + + /datum/wound/cut - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

cut + + + +

+ + +

Procs

bleedingCUTS

Proc Details

bleeding +

+

CUTS

+ + + diff --git a/datum/wound/puncture.html b/datum/wound/puncture.html new file mode 100644 index 00000000000..80fd375704c --- /dev/null +++ b/datum/wound/puncture.html @@ -0,0 +1,35 @@ + + + + + + + /datum/wound/puncture - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

puncture + + + +

+ + +

Procs

can_worsenPUNCTURES

Proc Details

can_worsen +

+

PUNCTURES

+ + + diff --git a/dmdoc.css b/dmdoc.css new file mode 100644 index 00000000000..367f005d2a8 --- /dev/null +++ b/dmdoc.css @@ -0,0 +1,112 @@ +body { + margin: auto; + background: #f4f4f4; + color: #333333; + font-size: 16px; + line-height: 1.3; + max-width: 73%; + overflow-y: scroll; + font-family: Arial, Helvetica, sans-serif; +} +pre, code { + background: white; + tab-size: 4; + -moz-tab-size: 4; +} +pre { + padding: 8px; + white-space: pre-wrap; +} +code { + font-family: Consolas, "DejaVu Sans Mono", "Courier New", Courier, monospace; +} +a { + color: #333333; +} +article { + margin: 2.5% auto; +} +header, footer { + margin: 2.5% -6px; + border: 1px solid #444444; + border-radius: 5px; + padding: 5px; +} +h1 aside, h2 aside, h3 aside, h4 aside, h5 aside { + display: inline; + font-weight: normal; + font-size: smaller; +} +aside.declaration, aside.parent { + display: inline-block; + position: relative; + text-align: right; + width: 100px; + margin-right: -100px; + right: 105px; +} +aside.declaration { + font-style: italic; +} +table.summary tr:first-child > td > :first-child { + margin-top: 0; +} +table.summary tr:last-child > td > :last-child { + margin-bottom: 0; +} +table.summary th, table.summary td { + text-align: left; + vertical-align: top; + padding-left: 0; + padding-right: 1em; +} +table.summary th { + padding-left: 1em; + padding-bottom: 4px; + text-indent: -1em; +} +.no-substance { + color: #888888; +} +:target { + background-color: white; + border-radius: 5px; + padding-left: 3px; + padding-right: 3px; + margin-left: -3px; + margin-right: 3px; +} +img[src="git.png"] { + opacity: 0.8; +} +.expander { + cursor: pointer; + display: inline-block; + position: relative; + text-align: right; + width: 50px; + margin-right: -50px; + right: 53px; +} + +@media (prefers-color-scheme: dark) { + body { + background-color: #151520; + color: #e0e0e0; + } + a { + color: #e0e0e0; + } + header, footer { + border-color: #d0d0d0; + } + .no-substance { + color: #bbbbbb; + } + pre, code, :target { + background-color: #252530; + } + img[src="git.png"] { + filter: invert(1); + } +} diff --git a/dmdoc.js b/dmdoc.js new file mode 100644 index 00000000000..6bf31f7e944 --- /dev/null +++ b/dmdoc.js @@ -0,0 +1,58 @@ +// ---------------------------------------------------------------------------- +// Index page tree browsing + +document.addEventListener("DOMContentLoaded", function() { + var items = document.getElementsByClassName("index-tree"); + var nodes = []; + + for (var i = 0; i < items.length; ++i) { + var node = items[i]; + var parent = node.parentElement; + if (!parent || parent.tagName.toLowerCase() != "li") { + continue; + } + node.hidden = true; + parent.style.listStyle = "none"; + var expander = document.createElement("span"); + expander.className = "expander"; + expander.textContent = "\u2795"; + expander.addEventListener("click", function(node) { + return function(event) { + if (event.target.tagName.toLowerCase() == "a") { + return; + } + event.preventDefault(); + event.stopPropagation(true); + node.hidden = !node.hidden; + this.textContent = node.hidden ? "\u2795" : "\u2796"; + }; + }(node)); + + if (node.parentElement.parentElement.classList.contains("modules")) { + node.hidden = false; + expander.textContent = "\u2796"; + } + + parent.insertBefore(expander, parent.firstChild); + nodes.push({ node, expander }); + } + + if (nodes.length) { + var toggle = document.createElement("a"); + toggle.href = "#"; + toggle.appendChild(document.createTextNode("Toggle All")); + toggle.addEventListener("click", function(event) { + event.preventDefault(); + + var hidden = !nodes[1].node.hidden; + for (var i = 0; i < nodes.length; ++i) { + nodes[i].node.hidden = hidden; + nodes[i].expander.textContent = hidden ? "\u2795" : "\u2796"; + } + }); + + var header = document.getElementsByTagName("header")[0]; + header.appendChild(document.createTextNode(" \u2014 ")); + header.appendChild(toggle); + } +}); diff --git a/dmm_suite.html b/dmm_suite.html new file mode 100644 index 00000000000..43aa82f22d8 --- /dev/null +++ b/dmm_suite.html @@ -0,0 +1,68 @@ + + + + + + + /dmm_suite - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

dmm_suite + + + +

+ + + +

Procs

load_mapConstruct the model map and control the loading process
parse_gridFill a given tile with its area/turf/objects/mobs +Variable model is one full map line (e.g /turf/unsimulated/wall{icon_state = "rock"}, /area/mine/explored)

Proc Details

load_map +

+

Construct the model map and control the loading process

+

WORKING :

+
    +
  1. Makes an associative mapping of model_keys with model +e.g aa = /turf/unsimulated/wall{icon_state = "rock"}
  2. +
  3. Read the map line by line, parsing the result (using parse_grid)
  4. +

parse_grid +

+

Fill a given tile with its area/turf/objects/mobs +Variable model is one full map line (e.g /turf/unsimulated/wall{icon_state = "rock"}, /area/mine/explored)

+

WORKING :

+
    +
  1. +

    Read the model string, member by member (delimiter is ',')

    +
  2. +
  3. +

    Get the path of the atom and store it into a list

    +
  4. +
  5. +

    a) Check if the member has variables (text within '{' and '}')

    +
  6. +
  7. +

    b) Construct an associative list with found variables, if any (the atom index in members is the same as its variables in members_attributes)

    +
  8. +
  9. +

    Instanciates the atom with its variables

    +
  10. +
+ + + diff --git a/explosion_handler.html b/explosion_handler.html new file mode 100644 index 00000000000..38f805dec5e --- /dev/null +++ b/explosion_handler.html @@ -0,0 +1,43 @@ + + + + + + + /explosion_handler - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Var Details
+
+

explosion_handler + + + +

+ + + +

Vars

flagsVarious flags
iterationsUsed for letting us know how many iterations were already ran
+

Var Details

flags + + + + +

+

Various flags

iterations + + + + +

+

Used for letting us know how many iterations were already ran

+ + + diff --git a/git.png b/git.png new file mode 100644 index 0000000000000000000000000000000000000000..c190e8538b5c10d941a5527d6cd86cf088502733 GIT binary patch literal 2383 zcmb_edsGuw8o!ev4?qHLT``Cz^-=7uB0>*HMP}Aw@h!E|Ajk>IT2LP0Er?`BrH9h0 zAoYRZA@+dPvsR@=2?e?{)w(<)gk8jH1rj#6krhZt*yc6K?2PB^>Hf3b)9%js=Kk*d zzTY?B_uYHuo~ex65$od>-~|Bi*}N%c7XT2(-U66m&eui8GY}THZTCh7f9}=DeY=N= z@hjN1<6U41@f)~IqA9peQXQAmZ2Pqk0zlBQIp%k}i=oLspV+q%0wgKdPa#=ZVfPP| z4?kD6%2tQpE79N2Mi!N&CiZvT8#!Gn{p0na_lukQdM_H&zg*Ce-dbQ#C;4h_TMQZX zi!0LVx372fx?09Qct7bvjZ1neD4OepJYL%Golw(H+HGek_{Byu-ADlN066e~{xt)( z2#iUZmJhZ|<^Lu7Pt^9%3C;d!h%o2wXqjZsNANrI$~N%IonO&I{pE6bXku<7I~^6UnH?lSDA3~xW&VC4@aay)c)7xXX< zUu`=E)QcrRBY)2@HnNOB@I#k@!Yu;NV&QpffkwmYUKfBHuEHyMJe}PRB1E{s0M83y zJp2ToIi$q`1uS5x&v_mncFT);T6i9U9_5!&PfvO?PG9f@2atWLMlP11s6suQ5fTkF zvhm^lD4s(V^{#_C<$6`H(aTQ~NZc^r6!|mna_xjUF?!X;(Lxp@a@|KkgErKl;p^;K zT$c+fR*cfAD4tHW=4uc-h$0G0F3b`5ozh0V^DYNQQB zAvA=B1~Zk*@c9xnMsd9kLKQ8kJc<3rAs(>zofqNbs?S7VJfb5F)Mzs=LYov@OIT0u z9MYr#Q8d$U{nS<*yg?rg=(RY%J1t;}q5A`w^)t%;5Q#E%67jjP&0az;M*)HuwXFc6 zs7_*|K*#j8)Wc-4xaV?Mzkubja-dL*A{$t#_*Gn~v{w0%8jUmd=gIkk>W{f5Y(K!o zCM@U2(aK$MNB)BDa4?$y+aN3rFS_YC^x`WR%KPF&cWciVSA?Fx)aZ7DH~Z&8K=DW` zMq?NH0bK>N%D1mT4E0zmPI(>X0IHcl&}?>s6H7tPx+FGL0-MUpUoiQ}>A8kkv%8Vg zbOuuouR2Lz124!|3g>^UM^=)N(+SV!cVh{7XVshUq_v=KJtwpACR)0TJ_h};#u~qO zRSok>$~#VLP>z3J8;j3I(~h%O(fIbsGPnBOY{SJScQn0hy@B&^)IgU!c$!m`fhp-# z>z^%0&wZ`IhVn-}jx=J5e%GbJg|2@DVx^zb!DhvgLE;08RqhDVhr85x)3IChefLb= z4t=tFQH05u;S$ZdjbZ&O-gksH{!S%Mukx z?}sAvfncOUzi<6?Cy;`LjH5PtdD(|?+x=C^3xi&CJY}t!X$d(6_v$uZb zpW={KdWX2Kf6J|P$N!bHjs8t8^cnVlk$EjjF+LgdHC4>1ZXdVZeT@`{l0h$|NrxMd z9K2v6LLJm6UW-Ns9^S^Yo#3TEajqU`4w@N)NWMZsb$Xe=6zdZgTC^*OIdV36A5QdT zunlkQJ*bGr>CT3w5Va3(dJF3inksw-&RERFEKm0P=zIfoXVW}&RU%z=+9I8==yLZR zm;v2+IagP;KvyjfBE=zOu;D!%Nx`c+VH?bQZqDZ0^xU@bWSD`3XCt2MGSfm+m$&3w zC3DP~+);=)1#*=rqRGEo`Angm7%P2lzKJv2;<%EpfsQhft%F1lrJd`$M3v_Xj`lPri4CU zEG)y3OpuZENVU$9{fTxisoE(cnu-4X;r3*R+DhMv_2&yw$ZtdCwqeJuqN&@{*pfJo zeCFYV%u6uvTM6#$g4<*`4yMJvIt9exv|&-WlPeJD+%sU>U-BOX!z*6OavE9jzm4}j z1plLHAGGFMrS*Nc_7mXK+Fxj6$SWzij%Jvyzp>M(+GEx}Dabu?b>t-U#Jv4jrs(YU uu*mfpirO`AcnbGKEqUPIF?8O0O4v1cuzhf6?OOJ?X!FJ$F*i4)9RDY%f@^R9 literal 0 HcmV?d00001 diff --git a/global.html b/global.html new file mode 100644 index 00000000000..ed7339fb315 --- /dev/null +++ b/global.html @@ -0,0 +1,678 @@ + + + + + + + (global) - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Var Details - Proc Details
+
+

(global) + + + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Vars

DebuggerStonedMC
FailsafeFailsafe
SStguitgui subsystem
SStimer
SSverb_managerSSverb_manager, a subsystem that runs every tick and runs through its entire queue without yielding like SSinput. +this exists because of how the byond tick works and where user inputted verbs are put within it.
SSweather
access_cent_generalCentral Command
access_change_medbayAccess Change
access_mercenaryAntag access
access_nt_discipleNeoTheology
access_securityStation access
access_synthMisc
comet_hardcore........::::::%%%SPACE_COMET
default_abstract_uplink_iconAbstract Uplink Entries
photo_countphoto

Procs

Broadcast_MessageHere is the big, bad function that broadcasts a message given the appropriate +parameters.
CreateBansDEBUG
REF\ref behaviour got changed in 512 so this is necesary to replicate old behaviour. +If it ever becomes necesary to get a more performant REF(), this lies here in wait +#define REF(thing) (thing && isdatum(thing) && (thing:datum_flags & DF_USE_TAG) && thing:tag ? "[thing:tag]" : "\ref[thing]")
WEAKREFCreates a weakref to the given input. +See /datum/weakref's documentation for more information.
______qdel_list_wrapperthe underscores are to encourage people not to use this directly.
_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.
_queue_verbqueue a callback for the given verb/verblike proc and any given arguments to the specified verb subsystem, so that they process in the next tick. +intended to only work with verbs or verblike procs called directly from client input, use as part of TRY_QUEUE_VERB() and co.
add_verbhandles adding verbs and updating the stat panel browser
bitfield_to_listConverts a bitfield to a list of numbers (or words if a wordlist is provided)
callHook@file hooks.dm +Implements hooks, a simple way to run code on pre-defined events.
callback_selectRuns a list of callbacks asyncronously, returning only when all have finished
default_ui_stateThe sane defaults for a UI such as a computer or a machine.
delete_all_SS_and_recreate_masterDelete all existing SS to basically start over
deltimerDelete a timer
find_nearby_burrowBurrow Finding and Sorting
generate_asset_nameGenerate a filename for this asset +The same asset will always lead to the same asset name +(Generated names do not include file extention.)
getFlatIconCreate a single [/icon] from a given /atom or /image.
getFlatTypeIconalways_use_defdir IS DEPRICATED
getOPressureDifferentialGets the highest and lowest pressures from the tiles in cardinal directions +around us, then checks the difference.
get_default_outfit_backpackHelpers
get_random_uplink_itemsSupport procs
get_wound_typeWOUND DEFINITIONS
icon2base64Converts an icon to base64. Operates by putting the icon in the iconCache savefile, +exporting it as text, and then parsing the base64 from that. +(This relies on byond automatically storing icons in savefiles as base64)
is_special_characterADMIN HELPER PROCS
log_mappingLogging for mapping errors
log_tguiAppends a tgui-related log entry. All arguments are optional.
makeDatumRefListsInitial Building
md5asfileSave file as an external file then md5 it. +Used because md5ing files stored in the rsc sometimes gives incorrect md5 results.
md5filepathReturns the md5 of a file at a given path.
message_adminTicket
message_mentorTicket
number_of_issuesUSED BY UNIT TEST: uniqueness.dm
qdelShould be treated as a replacement for the 'del' keyword.
recover_all_SS_and_recreate_masterRecreate all SSs which will still cause data survive due to Recover(), the new Master will then find and take them from global.vars
remove_verbhandles removing verb and sending it to browser to update, use this for removing verbs
rustg_get_versionGets the version of rust_g
storyteller_buttondatum/storyteller/proc/trigger_event()
strip_improperStrip out the special beyond characters for \proper and \improper +from text that will be sent to the browser.
tgui_TopicMiddleware for /client/Topic.
timeleftGet the remaining deciseconds on a timer
ui_status_only_livingReturns a UI status such that the dead will be able to watch, but not interact.
ui_status_silicon_has_accessReturns a UI status such that silicons will be able to interact with whatever +they would have access to if this was a machine. For example, AIs can +interact if there's cameras with wireless control is enabled.
ui_status_user_has_free_handsReturns a UI status such that those without blocked hands will be able to interact, +but everyone else can only watch.
ui_status_user_is_abledReturns a UI status such that users with debilitating conditions, such as +being dead or not having power for silicons, will not be able to interact. +Being dead will disable UI, being incapacitated will continue updating it, +and anything else will make it interactive.
ui_status_user_is_adjacentReturns a UI status such that users adjacent to source will be able to interact, +far away users will be able to see, and anyone farther won't see anything. +Dead users will receive updates no matter what, though you likely want to add +a [ui_status_only_living] check for finer observer interactions.
ui_status_user_is_advanced_tool_userReturns a UI status such that advanced tool users will be able to interact, +but everyone else can only watch.
ui_status_user_is_conscious_and_lying_downReturns UI_INTERACTIVE if the user is conscious and lying down. +Returns UI_UPDATE otherwise.
ui_status_user_strictly_adjacentReturn UI_INTERACTIVE if the user is strictly adjacent to the target atom, whether they can see it or not. +Return UI_CLOSE otherwise.
url2htmlloaderReturn html to load a url. +for use inside of browse() calls to html assets that might be loaded on a cdn.
+

Var Details

Debugger + + + + +

+

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

Failsafe + + + + +

+

Failsafe

+

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

SStgui + + + + +

+

tgui subsystem

+

Contains all tgui state and subsystem code.

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 doubly-linked +lists. The object at a given index in bucket_list is a /datum/timedevent, the head of a list, which has prev +and next references for the respective elements in that bucket's list.

SSverb_manager + + + + +

+

SSverb_manager, a subsystem that runs every tick and runs through its entire queue without yielding like SSinput. +this exists because of how the byond tick works and where user inputted verbs are put within it.

+

see TICK_ORDER.md for more info on how the byond tick is structured.

+

The way the MC allots its time is via TICK_LIMIT_RUNNING, it simply subtracts the cost of SendMaps (MAPTICK_LAST_INTERNAL_TICK_USAGE) +plus TICK_BYOND_RESERVE from the tick and uses up to that amount of time (minus the percentage of the tick used by the time it executes subsystems) +on subsystems running cool things like atmospherics or Life or SSInput or whatever.

+

Without this subsystem, verbs are likely to cause overtime if the MC uses all of the time it has alloted for itself in the tick, and SendMaps +uses as much as its expected to, and an expensive verb ends up executing that tick. This is because the MC is completely blind to the cost of +verbs, it can't account for it at all. The only chance for verbs to not cause overtime in a tick where the MC used as much of the tick +as it alloted itself and where SendMaps costed as much as it was expected to is if the verb(s) take less than TICK_BYOND_RESERVE percent of +the tick, which isnt much. Not to mention if SendMaps takes more than 30% of the tick and the MC forces itself to take at least 70% of the +normal tick duration which causes ticks to naturally overrun even in the absence of verbs.

+

With this subsystem, the MC can account for the cost of verbs and thus stop major overruns of ticks. This means that the most important subsystems +like SSinput can start at the same time they were supposed to, leading to a smoother experience for the player since ticks arent riddled with +minor hangs over and over again.

SSweather + + + + +

+
                                      |WEATHER SUBSYSTEM|
+
+

///////// |SUBSYSTEM WEATHER| +//////////////////// -------------------

access_cent_general + + + + +

+

Central Command

access_change_medbay + + + + +

+

Access Change

access_mercenary + + + + +

+

Antag access

access_nt_disciple + + + + +

+

NeoTheology

access_security + + + + +

+

Station access

access_synth + + + + +

+

Misc

comet_hardcore + + + + +

+

........::::::%%%SPACE_COMET

+

Abstract Uplink Entries

photo_count + + + + +

+

photo

Proc Details

Broadcast_Message +

+

Here is the big, bad function that broadcasts a message given the appropriate +parameters.

+

@param connection: +The datum generated in radio.dm, stored in signal.data["connection"].

+

@param M: +Reference to the mob/speaker, stored in signal.data["mob"]

+

@param vmask: +Boolean value if the mob is "hiding" its identity via voice mask, stored in +signal.data["vmask"]

+

@param vmessage: +If specified, will display this as the message; such as "chimpering" +for monkies if the mob is not understood. Stored in signal.data["vmessage"].

+

@param radio: +Reference to the radio broadcasting the message, stored in signal.data["radio"]

+

@param message: +The actual string message to display to mobs who understood mob M. Stored in +signal.data["message"]

+

@param name: +The name to display when a mob receives the message. signal.data["name"]

+

@param job: +The name job to display for the AI when it receives the message. signal.data["job"]

+

@param realname: +The "real" name associated with the mob. signal.data["realname"]

+

@param vname: +If specified, will use this name when mob M is not understood. signal.data["vname"]

+

@param data: +If specified: +1 -- Will only broadcast to intercoms +2 -- Will only broadcast to intercoms and station-bounced radios +3 -- Broadcast to syndicate frequency +4 -- AI can't track down this person. Useful for imitation broadcasts where you can't find the actual mob

+

@param compression: +If 0, the signal is audible +If nonzero, the signal may be partially inaudible or just complete gibberish.

+

@param level: +The list of Z levels that the sending radio is broadcasting to. Having 0 in the list broadcasts on all levels

+

@param freq +The frequency of the signal

CreateBans +

+

DEBUG

REF +

+

\ref behaviour got changed in 512 so this is necesary to replicate old behaviour. +If it ever becomes necesary to get a more performant REF(), this lies here in wait +#define REF(thing) (thing && isdatum(thing) && (thing:datum_flags & DF_USE_TAG) && thing:tag ? "[thing:tag]" : "\ref[thing]")

WEAKREF +

+

Creates a weakref to the given input. +See /datum/weakref's documentation for more information.

______qdel_list_wrapper +

+

the underscores are to encourage people not to use this directly.

_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:

+
    +
  • callback the callback to call on timer finish
  • +
  • wait deciseconds to run the timer for
  • +
  • flags flags for this timer, see: code__DEFINES\subsystems.dm
  • +
  • timer_subsystem the subsystem to insert this timer into
  • +

_queue_verb +

+

queue a callback for the given verb/verblike proc and any given arguments to the specified verb subsystem, so that they process in the next tick. +intended to only work with verbs or verblike procs called directly from client input, use as part of TRY_QUEUE_VERB() and co.

+

returns TRUE if the queuing was successful, FALSE otherwise.

add_verb +

+

handles adding verbs and updating the stat panel browser

+

pass the verb type path to this instead of adding it directly to verbs so the statpanel can update +Arguments:

+
    +
  • target - Who the verb is being added to, client or mob typepath
  • +
  • verb - typepath to a verb, or a list of verbs, supports lists of lists
  • +

bitfield_to_list +

+

Converts a bitfield to a list of numbers (or words if a wordlist is provided)

callHook +

+

@file hooks.dm +Implements hooks, a simple way to run code on pre-defined events.

+
    +
  • +

    @page hooks Code hooks

    +
  • +
  • +

    @section hooks Hooks

    +
  • +
  • +

    A hook is defined under /hook in the type tree.

    +
  • +
  • +

    To add some code to be called by the hook, define a proc under the type, as so:

    +
  • +
  • +

    @code +hook/foo/proc/bar() +if(1) +return 1 //Sucessful +else +return 0 //Error, or runtime.

    +
  • +
  • +

    @endcode

    +
  • +
  • +

    All hooks must return nonzero on success, as runtimes will force return null.

    +
  • +
+

Calls a hook, executing every piece of code that's attached to it. +@param hook Identifier of the hook to call. +@returns 1 if all hooked code runs successfully, 0 otherwise.

callback_select +

+

Runs a list of callbacks asyncronously, returning only when all have finished

+

Callbacks can be repeated, to call it multiple times

+

Arguments:

+
    +
  • list/callbacks the list of callbacks to be called
  • +
  • list/callback_args the list of lists of arguments to pass into each callback
  • +
  • savereturns Optionally save and return the list of returned values from each of the callbacks
  • +
  • resolution The number of byond ticks between each time you check if all callbacks are complete
  • +

default_ui_state +

+

The sane defaults for a UI such as a computer or a machine.

delete_all_SS_and_recreate_master +

+

Delete all existing SS to basically start over

deltimer +

+

Delete a timer

+

Arguments:

+
    +
  • id a timerid or a /datum/timedevent
  • +

find_nearby_burrow +

+

Burrow Finding and Sorting

generate_asset_name +

+

Generate a filename for this asset +The same asset will always lead to the same asset name +(Generated names do not include file extention.)

getFlatIcon +

+

Create a single [/icon] from a given /atom or /image.

+

Very low-performance. Should usually only be used for HTML, where BYOND's +appearance system (overlays/underlays, etc.) is not available.

+

Only the first argument is required.

getFlatTypeIcon +

+

always_use_defdir IS DEPRICATED

getOPressureDifferential +

+

Gets the highest and lowest pressures from the tiles in cardinal directions +around us, then checks the difference.

get_default_outfit_backpack +

+

Helpers

+

Support procs

get_wound_type +

+

WOUND DEFINITIONS

icon2base64 +

+

Converts an icon to base64. Operates by putting the icon in the iconCache savefile, +exporting it as text, and then parsing the base64 from that. +(This relies on byond automatically storing icons in savefiles as base64)

is_special_character +

+

ADMIN HELPER PROCS

log_mapping +

+

Logging for mapping errors

log_tgui +

+

Appends a tgui-related log entry. All arguments are optional.

makeDatumRefLists +

+

Initial Building

md5asfile +

+

Save file as an external file then md5 it. +Used because md5ing files stored in the rsc sometimes gives incorrect md5 results.

md5filepath +

+

Returns the md5 of a file at a given path.

message_adminTicket +

+
    +
  • Sends a message to the staff able to see admin tickets
  • +
  • Arguments:
  • +
  • msg - The message being send
  • +
  • important - If the message is important. If TRUE it will ignore the PREF_HEAR preferences, +send a sound and flash the window. Defaults to FALSE
  • +

message_mentorTicket +

+
    +
  • Sends a message to the staff able to see mentor tickets
  • +
  • Arguments:
  • +
  • msg - The message being send
  • +
  • important - If the message is important. If TRUE it will ignore the PREF_HEAR preferences, +send a sound and flash the window. Defaults to FALSE
  • +

number_of_issues +

+

USED BY UNIT TEST: uniqueness.dm

qdel +

+

Should be treated as a replacement for the 'del' keyword.

+

Datums passed to this will be given a chance to clean up references to allow the GC to collect them.

recover_all_SS_and_recreate_master +

+

Recreate all SSs which will still cause data survive due to Recover(), the new Master will then find and take them from global.vars

remove_verb +

+

handles removing verb and sending it to browser to update, use this for removing verbs

+

pass the verb type path to this instead of removing it from verbs so the statpanel can update +Arguments:

+
    +
  • target - Who the verb is being removed from, client or mob typepath
  • +
  • verb - typepath to a verb, or a list of verbs, supports lists of lists
  • +

rustg_get_version +

+

Gets the version of rust_g

storyteller_button +

+

datum/storyteller/proc/trigger_event()

strip_improper +

+

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

tgui_Topic +

+

Middleware for /client/Topic.

+

return bool If TRUE, prevents propagation of the topic call.

timeleft +

+

Get the remaining deciseconds on a timer

+

Arguments:

+
    +
  • id a timerid or a /datum/timedevent
  • +

ui_status_only_living +

+

Returns a UI status such that the dead will be able to watch, but not interact.

ui_status_silicon_has_access +

+

Returns a UI status such that silicons will be able to interact with whatever +they would have access to if this was a machine. For example, AIs can +interact if there's cameras with wireless control is enabled.

ui_status_user_has_free_hands +

+

Returns a UI status such that those without blocked hands will be able to interact, +but everyone else can only watch.

ui_status_user_is_abled +

+

Returns a UI status such that users with debilitating conditions, such as +being dead or not having power for silicons, will not be able to interact. +Being dead will disable UI, being incapacitated will continue updating it, +and anything else will make it interactive.

ui_status_user_is_adjacent +

+

Returns a UI status such that users adjacent to source will be able to interact, +far away users will be able to see, and anyone farther won't see anything. +Dead users will receive updates no matter what, though you likely want to add +a [ui_status_only_living] check for finer observer interactions.

ui_status_user_is_advanced_tool_user +

+

Returns a UI status such that advanced tool users will be able to interact, +but everyone else can only watch.

ui_status_user_is_conscious_and_lying_down +

+

Returns UI_INTERACTIVE if the user is conscious and lying down. +Returns UI_UPDATE otherwise.

ui_status_user_strictly_adjacent +

+

Return UI_INTERACTIVE if the user is strictly adjacent to the target atom, whether they can see it or not. +Return UI_CLOSE otherwise.

url2htmlloader +

+

Return html to load a url. +for use inside of browse() calls to html assets that might be loaded on a cdn.

+ + + diff --git a/index.html b/index.html new file mode 100644 index 00000000000..ec0d88b2c63 --- /dev/null +++ b/index.html @@ -0,0 +1,1148 @@ + + + + + + + Index - Space Station 13 + + + + + +
+ Space Station 13 - + Modules - + Types +
+
+

Space Station 13

+ + + +

Modules +

+ + + + +

Types +

+
    +
  • (global)
  • +
  • area
  • +
  • atom
      +
    • movable
        +
      • overlay - defines for each slot are above the function def
      • +
    • +
  • +
  • client - Client datum
  • +
  • datum - The absolute base class for everything
      +
    • admin_secret_category/admin_secrets - Pre-defined categories
    • +
    • admin_secret_item
        +
      • admin_secret - Pre-defined base items
      • +
      • random_event/gravity - Gravity
      • +
    • +
    • admins
    • +
    • ai_laws
        +
      • antimov - Antimov
      • +
      • asimov - Asimov
      • +
      • blitzshell - Blitzshell
      • +
      • chefbot - Chefbot
      • +
      • corporate - Corporate
      • +
      • drone - Drone
      • +
      • eris - Nanotrasen/Malf
      • +
      • friendbot - Friendbot
      • +
      • nanotrasen_aggressive - Nanotrasen Aggressive
      • +
      • paladin - P.A.L.A.D.I.N.
      • +
      • partybot - Partybot
      • +
      • robocop - Robocop
      • +
      • syndicate_override - Syndicate
      • +
      • travelguide - TravelGuide
      • +
      • tyrant - T.Y.R.A.N.T.
      • +
    • +
    • armament/item - Item summonings
    • +
    • asset
        +
      • simple - If you don't need anything complicated.
          +
        • namespaced - Namespace'ed assets (for static css and html files) +When sent over a cdn transport, all assets in the same asset datum will exist in the same folder, as their plain names. +Used to ensure css files can reference files by url() without having to generate the css at runtime, both the css file and the files it depends on must exist in the same namespace asset datum. (Also works for html) +For example blah.css with asset blah.png will get loaded as namespaces/a3d..14f/f12..d3c.css and namespaces/a3d..14f/blah.png. allowing the css file to load blah.png by a relative url rather then compute the generated url with get_url_mappings(). +The namespace folder's name will change if any of the assets change. (excluding parent assets)
        • +
      • +
      • spritesheet
      • +
    • +
    • asset_cache_item - An internal datum containing info on items in the asset cache. Mainly used to cache md5 info for speed.
    • +
    • asset_transport - Base browse_rsc asset transport
    • +
    • backpack_setup - Character setup
    • +
    • backpack_tweak
    • +
    • body_modification
        +
      • limb/organ_module - Organ Modules
      • +
      • organ
          +
        • oneeye - Eyes
        • +
      • +
    • +
    • Callback Datums - A datum that holds a proc to be called on another object, used to track proccalls to other objects
        +
      • verb_callback - like normal callbacks but they also record their creation time for measurement purposes
      • +
    • +
    • callback_select - Helper datum for the select callbacks proc
    • +
    • category_collection - Category Collection
        +
      • player_setup_collection - Category Collection Setup
      • +
      • underwear - Category Collection Setup
      • +
    • +
    • category_group - Category Groups
        +
      • player_setup_category - Category Category Setup
      • +
      • underwear - Categories
      • +
    • +
    • category_item - Category Items
    • +
    • chunk - This subsystem is meant for anything that should not be employing byond view() and is generally very constraining to keep track of +For now it only has mobs and hearers, but it should also include sanity , signal receivers , and anything that is very frequently
    • +
    • click_handler
        +
      • ai - AI Control
      • +
      • charge - Charge gun click handler
      • +
      • fullauto - Full auto gunfire
      • +
    • +
    • client_interface - This should match the interface of /client wherever necessary.
    • +
    • client_preference
        +
      • play_admin_midis - Player Preferences
      • +
      • staff - General Staff Preferences
          +
        • show_attack_logs - Admin Preferences
        • +
        • show_debug_logs - Debug Preferences
        • +
      • +
    • +
    • Component - The component datum
        +
      • inspiration - Simple data container component containing level up statistics. +This does NOT make something a valid inspiration. It simply holds the data in case it gets used as one! +To actually use it, the typepath of the object has to be contained within the sanity datum valid_inspiration list. +Assign this component to an item specifying which statistics should be levelled up, and the item will be able to be used as an inspiration. +The format of statistics is list(STAT_DEFINE = number) or a proc that returns such a list. +(This would've been better as an element instead of a component, but currently elements don't exist on cev eris. F)
      • +
      • internal_wound
      • +
      • jamming
      • +
      • overlay_manager - Manages overlays based off a key
      • +
    • +
    • computer/file/embedded_program/docking/simple
    • +
    • controller
    • +
    • craft_recipe
        +
      • furniture/drying_rack - datum/craft_recipe/furniture/campfire
      • +
      • tool/brace - TOOL MODS
      • +
    • +
    • craft_step
    • +
    • data/vending_product - Datum used to hold information about a product in a vending machine
    • +
    • department
        +
      • command - Command
      • +
      • guild - Independant
      • +
      • ironhammer - Retainers
      • +
      • moebius_medical - Benefactors
      • +
    • +
    • design/research
    • +
    • effect/effect/system/trail
        +
      • jet - Jetpack Trails +Subtype made to efficiently sync up with a jetpack. +They should always be attached to a jetpack +Does a particle only when the jetpack uses some thrust
      • +
    • +
    • element - A holder for simple behaviour that can be attached to many different types
    • +
    • event/camera_damage
    • +
    • feed_message
    • +
    • firemode/charge - Energy weapon charge attack
    • +
    • ghosttrap
        +
      • blitzdrone - Blitzshell
      • +
      • borer - Cortical Borer
      • +
      • drone - Maintenance Drone
      • +
      • pai - personal AI
      • +
    • +
    • http_request
    • +
    • job
    • +
    • map_template
    • +
    • metabolism_effects
    • +
    • money_account - SCPR 2022
    • +
    • movement_handler
        +
      • mob - /mob
          +
        • exosuit - mob/living/exosuit/can_ztravel()
        • +
      • +
      • robot - /robot
      • +
    • +
    • nanoui - NANO UI FRAMEWORK
    • +
    • nt_blueprint/machinery
    • +
    • organ_description/chest
        +
      • skeletal - SKELETON
      • +
      • slime - SLIME
      • +
    • +
    • perk - The root perk datum. All perks inherit properties from this one.
        +
      • inspiration - Basically a marker perk. If the user has this perk, another will be given in certain conditions.
      • +
      • nt_oddity - NT ODDITYS PERKS
      • +
    • +
    • poll
        +
      • evac - Evacuate Ship
      • +
      • restart - VOTES
      • +
      • storyteller - Storyteller
      • +
    • +
    • powernet
    • +
    • qdel_item - Qdel Item: Holds statistics on each type that passes thru qdel +Holds the type as a string for this type +Total number of times it's passed thru qdel. +Total amount of milliseconds spent processing this type's Destroy() +Times it was queued for soft deletion but failed to soft delete. +Different from failures because it also includes QDEL_HINT_HARDDEL deletions +Total amount of milliseconds spent hard deleting this type. +Highest time spent hard_deleting this in ms. +Number of times hard deletes took longer than the configured threshold +Number of times it's not respected force=TRUE +Number of times it's not even bother to give a qdel hint +Number of times it's slept in its destroy
    • +
    • reagent
        +
      • alcohol
          +
        • kaiserbeer - lose sanity on withdrawal, notify user about this
        • +
        • roachbeer
        • +
      • +
      • medicine - lose sanity on withdrawal, notify user about this
      • +
      • toxin/plasma - datum/reagent/toxin/blattedin is defined in blattedin.dm
      • +
    • +
    • reagents
    • +
    • research
    • +
    • ritual/cruciform
        +
      • machines
          +
        • bioreactor - Bioreactor commands
        • +
        • power_biogen_awake - /////////BIOMATTER MANIPULATION MULTI MACHINES RITUALS +>Biogenerator manipulation rite</////////////////
        • +
      • +
      • priest/acolyte/short_boost - SHORT BOOST LITANIES
      • +
    • +
    • shuttle/autodock/ferry/specops
    • +
    • sortInstance
    • +
    • spawnpoint
        +
      • cryo - Cryostorage Spawning
      • +
      • dormitory - DORMITORY SPAWNING
      • +
    • +
    • stack_canary - Stack canary. Will go away if the stack it was primed by is ended by byond for return or stack overflow reasons.
    • +
    • stack_end_detector - Stack End Detector. +Can detect if a given code stack has exited, used by the mc for stack overflow detection.
    • +
    • stash
    • +
    • stat_holder
    • +
    • storyteller
    • +
    • tech - Technology Trees
    • +
    • tgui - tgui datum (represents a UI).
    • +
    • tgui_window
    • +
    • ticket
    • +
    • Timed Event - This is the actual timer, it contains the callback and necessary data to maintain +the timer.
    • +
    • trade_station/boozefood
    • +
    • ui_state
    • +
    • unit_test
        +
      • binary_insert
      • +
      • human_breath - Used to test mob breathing in space
      • +
      • log_mapping - Conveys all log_mapping messages as unit test failures, as they all indicate mapping problems.
      • +
      • screenshot_basic - This is an example for screenshot tests, and a meta-test to make sure they work in the success case. +It creates a picture that is red on the left side, green on the other.
      • +
      • step_override - Checks if the override for step doesn't break the actual parent (byond built in) code
      • +
      • tgui_create_message - Test that TGUI_CREATE_MESSAGE is correctly implemented
      • +
    • +
    • universal_state - ENDGAME STUFF
    • +
    • uplink_item
        +
      • abstract/announcements - Announcements
      • +
      • item
          +
        • ammo - Ammunition
            +
          • m12 - .50 Shotguns
          • +
          • pistol/highvelocity - .35 .40 pistols and smgs
          • +
          • pistol_hv - HV ammo packets
          • +
          • slpistol - .35 and .40 revolvers
          • +
          • sniperammo - special
          • +
          • srifle - .20 . 25 .30 Rifles
          • +
        • +
        • badassery - Badassery
            +
          • random_one - Random Item
          • +
          • surplus - Surplus Crate
          • +
        • +
        • grenades - Grenades
        • +
        • hardsuit_modules - Hardsuit Modules
        • +
        • implants - Implants
            +
          • energy_blade - obj/item/implanter/installer/disposable/CYBERNETIC
          • +
        • +
        • medical - Medical
        • +
        • neotheology
        • +
        • stealth_items - Stealth and Camouflage Items
        • +
        • stealthy_weapons - Stealthy and Inconspicuous Weapons
        • +
        • telecrystal - Telecrystals
        • +
        • tools - Devices and Tools
        • +
        • visible_weapons - Highly Visible and Dangerous Weapons
        • +
      • +
    • +
    • vertical_travel_method
        +
      • climb - Generic climbing, without using any special equipment
      • +
    • +
    • weakref - A weakref holds a non-owning reference to a datum. +The datum can be referenced again using resolve().
    • +
    • world_topic/ping - Topics
    • +
    • wound - WOUNDS
    • +
  • +
  • decl
      +
    • backpack_outfit/nothing - Outfit Backpacks
    • +
    • hierarchy/outfit/job - decl/hierarchy/outfit/job/cargo/artist/clown/post_equip(var/mob/living/carbon/human/H)
    • +
  • +
  • dmm_suite
  • +
  • explosion_handler
  • +
  • hook
      +
    • borgify - Borged hook. +Called in robot_parts.dm when someone gets turned into a cyborg. +Parameters: var/mob/living/silicon/robot
    • +
    • change_account_status - Account suspension hook. +Called in Accounts_DB.dm when someone's account is suspended or unsuspended at the Accounts terminal. +Parameters: var/datum/money_account
    • +
    • clone - Cloning hook. +Called in cloning.dm when someone is brought back by the wonders of modern science. +Parameters: var/mob/living/carbon/human
    • +
    • death - Death hook. +Called in death.dm when someone dies. +Parameters: var/mob/living/carbon/human, var/gibbed
    • +
    • debrain - Debrained hook. +Called in brain_item.dm when someone gets debrained. +Parameters: var/obj/item/organ/internal/vital/brain
    • +
    • reassign_employee - Employee reassignment hook. +Called in card.dm when someone's card is reassigned at the HoP's desk. +Parameters: var/obj/item/card/id
    • +
    • revoke_payroll - Payroll revoked hook. +Called in Accounts_DB.dm when someone's payroll is stolen at the Accounts terminal. +Parameters: var/datum/money_account
    • +
    • roundend - Roundend hook. +Called in gameticker.dm when a round ends.
    • +
    • roundstart - Roundstart hook. +Called in gameticker.dm when a round starts.
    • +
    • sell_crate - Crate sold hook. +Called in supplyshuttle.dm when a crate is sold on the shuttle. +Parameters: var/obj/structure/closet/crate/sold, var/area/shuttle
    • +
    • startup - Startup hook. +Called in world.dm when the server starts.
    • +
    • terminate_employee - Employee terminated hook. +Called in card.dm when someone's card is terminated at the HoP's desk. +Parameters: var/obj/item/card/id
    • +
  • +
  • material
  • +
  • mob
      +
    • living
        +
      • carbon - BLOOD SYSTEM
      • +
      • exosuit
      • +
      • silicon
      • +
      • simple_animal
          +
        • borer
        • +
        • hostile
            +
          • hivemind - Hive mobs
              +
            • bomber - BOMBER
            • +
            • hiborg - hive brings us here to/////////////////////////////////////////////// +////////////////////////////////BIG GUYS//////////////////////////// +/////////////////////////////////////////////////fright and destroy +/////////////////////////////////HIBORG//////////////////////////////
            • +
            • himan - HIMAN
            • +
            • lobber - Lobber
            • +
            • mechiver - MECHIVER
            • +
            • phaser - PHASER
            • +
            • resurrected - life's///////////////////////////////////////////// +/////////////////////////////RESURRECTION///////// +////////////////////////////////////////////go on
            • +
            • stinger - we live to/////////////////////////////////////////////////////////////// +/////////////////////////////////SMALL GUYS///////////////////////////// +///////////////////////////////////////////////////////////die for hive +//////////////////////////////////STINGER////////////////////////////////
            • +
            • treader - Treader
            • +
          • +
          • syndicate/melee - Sword and shield
          • +
        • +
      • +
    • +
    • observer/ghost
    • +
  • +
  • obj
      +
    • crawler/map_maker - in order to avoid confusion, we're counting up from 1 and not 0.
    • +
    • effect
        +
      • beam/i_beam - IBeam
      • +
      • blob
      • +
      • decal/cleanable/blood/tracks
      • +
      • effect/smoke - SMOKE SYSTEMS
      • +
      • meteor - SPACE_COMET%%%::::::........
      • +
      • mob_spawn
      • +
      • overmap/sector/exoplanet - SPACE_COMET%%%::::::........
      • +
      • overmap_event/movable/comet - ........::::::%%%SPACE_COMET
      • +
      • plant
      • +
      • portal
      • +
      • trail_particle
      • +
    • +
    • item
        +
      • ammo_casing
          +
        • antim - .60
        • +
        • clrifle - .25
        • +
        • grenade - Grenade Shells
        • +
        • lrifle - .30
        • +
        • magnum - .40
        • +
        • pistol - .35
        • +
        • rocket - Other
        • +
        • shotgun - .50 Shotgun
        • +
        • srifle - .20
        • +
      • +
      • ammo_magazine
          +
        • ammobox
            +
          • antim - .60
          • +
          • clrifle - . 25 CASELESS
          • +
          • lrifle - . 30
          • +
          • magnum - . 40
          • +
          • shotgun - SHOTGUN
          • +
          • srifle - . 20
          • +
        • +
        • c10x24 - .25 RIFLE
        • +
        • caps - OTHER
        • +
        • cspistol - .25 PISTOL
        • +
        • hpistol - HighCap
        • +
        • lrifle - .30 RIFLE
            +
          • drum - .30 DRUM
          • +
        • +
        • m12 - Shotguns!
        • +
        • magnum - .40 pistol
        • +
        • maxim - .30 MAXIM
        • +
        • msmg - .40 SMG
        • +
        • pistol - Standard
        • +
        • slclrifle - .25 RIFLE SPEEDLOADERS
        • +
        • sllrifle - .30 RIFLE SPEEDLOADERS
        • +
        • slmagnum - .40 SPEEDLOADERS
        • +
        • slpistol - / SPEEDLOADERS / +.35 SPEEDLOADERS
        • +
        • slsrifle - .20 RIFLE SPEEDLOADERS
        • +
        • smg - .35 SMG
        • +
        • srifle - .20 RIFLE
            +
          • drum - .20 DRUM
          • +
          • long - .20 LONG
          • +
        • +
      • +
      • beartrap
          +
        • armed - Armed Subtypes
        • +
        • makeshift - Makeshift Trap
        • +
      • +
      • book/manual - MANUALS (BOOKS)
      • +
      • borg - Cyborg Spec Items
          +
        • sight - HUD/SIGHT things
        • +
      • +
      • clothing
      • +
      • coin - Coin
      • +
      • computer_hardware/hard_drive/portable/design/omg/simple - datum/design/organ/teratoma/input/rare/reagents_spider, // Not enough spider chems in the pool
      • +
      • device
          +
        • assembly/signaler/door_controller
        • +
        • binoculars/mech - special subtype for handling
        • +
        • camera - camera
            +
          • siliconcam - AI-specific
          • +
        • +
        • camera_film - film
        • +
        • debugger - Multitool -- A multitool is used for hacking electronic devices. +TO-DO -- Using it as a power measurement tool for cables etc. Nannek.
        • +
        • lighting/toggleable/lantern - Lantern
        • +
        • radio/borg - Borg Radios
        • +
        • t_scanner
        • +
        • techno_tribalism
        • +
      • +
      • electronics
          +
        • ai_module
            +
          • antimov - Antimov
          • +
          • asimov - Asimov
          • +
          • chefbot - Chefbot
          • +
          • corp - Corporate
          • +
          • drone - Drone
          • +
          • eris - NanoTrasen
          • +
          • freeform - New Freeform
          • +
          • freeformcore - Freeform Core
          • +
          • friendbot - Friendbot
          • +
          • oneHuman - OneMember
          • +
          • oxygen - OxygenIsToxicToCrewMembers
          • +
          • paladin - P.A.L.A.D.I.N.
          • +
          • partybot - Partybot
          • +
          • protectStation - ProtectStation
          • +
          • prototypeEngineOffline - PrototypeEngineOffline
          • +
          • purge - Purge
          • +
          • quarantine - Quarantine
          • +
          • reset - Reset
          • +
          • robocop - Robocop
          • +
          • safeguard - Modules
          • +
          • teleporterOffline - TeleporterOffline
          • +
          • travelguide - TravelGuide
          • +
          • tyrant - T.Y.R.A.N.T.
          • +
        • +
        • airlock
        • +
        • circuitboard/air_management
        • +
      • +
      • gripper/no_use - obj/item/reagent_containers/cooking_container //Part of cooking overhaul, not yet ported
      • +
      • gun
          +
        • energy
        • +
        • projectile/boltgun/obrez - OBREZ
        • +
      • +
      • hand_tele/handmade - HANDMADE TELE-STUFF
      • +
      • holder
      • +
      • implant/excelsior
      • +
      • mech_component
      • +
      • mech_equipment
          +
        • forklifting_system - Fancy way to move someone up a z-level if you think about it..
        • +
        • mounted_system
            +
          • ballistic
          • +
          • sword/plasteel - Spawnable subtypes that are findable in maintenance +Plasteel - balanced +Osmium - plasteel+ +Cardboard - meme level with 0 damage +Mettalic hydrogen - great
          • +
        • +
        • power_generator
        • +
        • shield_generator - Yes this also drains power from blocking halloss +Yes i justify it cause it stops by kinetic power and not by lethality / material hardness
        • +
        • thrusters
        • +
        • towing_hook
        • +
      • +
      • melee/baton/robot - Will be inside of mech equipment , which should be inside of a mech.
      • +
      • moneybag - Money bag
      • +
      • mop - if at least one of the people inside is an excel.
      • +
      • organ
      • +
      • pipe
      • +
      • pipe_meter - Z-Level stuff +Z-Level stuff
      • +
      • projectile/beam/cutter - Only used by the mech plasmacutter ofr now
      • +
      • rcd/mounted
      • +
      • reagent_containers
          +
        • bonsai
        • +
        • dropper - Droppers.
        • +
        • food - Droppers. END
            +
          • condiment - Condiments
          • +
          • drinks - Drinks.
              +
            • bottle - Alcohol bottles! -Agouri
                +
              • gin - Precreated bottles
              • +
              • orangejuice - JUICES AND STUFF
              • +
            • +
            • golden_cup - Drinks. END
            • +
            • milk - Drinks
            • +
            • shaker - pitchers, pots, flasks and cups
            • +
          • +
          • snacks
              +
            • aesirsalad - /////////////////////////////////////////Snacks
            • +
            • sliceable - Sliceable
                +
              • pizza - PIZZA
              • +
            • +
          • +
        • +
        • glass - (Mixing)Glass.
            +
          • beaker
              +
            • hivemind - Preloaded beakers
            • +
            • large - Subtypes
            • +
            • vial - Vial(s)
                +
              • nanites - Preloaded vials
              • +
            • +
          • +
          • bucket - Other
          • +
        • +
        • hypospray - HYPOSPRAY
        • +
        • pill - Pills.
            +
          • antitox - Pills. END
          • +
        • +
        • syringe
            +
          • inaprovaline - Syringes. END
          • +
          • large/antitoxin - Large Syringes.
          • +
        • +
      • +
      • rig
          +
        • ce - Advanced Voidsuit: Technomancer Exultant
        • +
        • eva - EVA Suit
        • +
        • hazmat - Hazmat: Moebius Overseer
        • +
        • industrial - Industrial Suit: For Mining
        • +
        • medical - Medical
        • +
        • techno - Technomancer RIG
        • +
      • +
      • rig_module
      • +
      • rpd
      • +
      • slimepotion - Pet Slime Creation
      • +
      • spacecash/bundle
      • +
      • storage
          +
        • backpack/holding/bst - I T E M S
        • +
        • hcases
            +
          • ammo - Ammo
          • +
          • engi - Engineering
          • +
          • med - Medical
          • +
          • parts - Parts
          • +
        • +
        • photo_album - photo album
        • +
      • +
      • tank/jetpack
          +
        • rig - Rig jetpack
        • +
        • synthetic - SYNTHETIC JETPACK
        • +
        • void - Jetpack Types
        • +
      • +
      • tool
          +
        • multitool - Multitool -- A multitool is used for hacking electronic devices. +TO-DO -- Using it as a power measurement tool for cables etc. Nannek.
        • +
      • +
      • tool_upgrade/reinforcement - UPGRADE TYPES
      • +
      • tray
      • +
    • +
    • landmark
        +
      • corpse
          +
        • pirate - Enemies
        • +
        • syndicatesoldier - LEGACY CORPSES////REPLACE WITH NEW CORPSES IF FOUND IN MAP
        • +
      • +
      • join/start/mining - datum/computer_file/program/supply, +datum/computer_file/program/deck_management,
      • +
    • +
    • machinery - Machines in the world, such as computers, pipes, and airlocks.
        +
      • atmospherics/unary/cryo_cell
      • +
      • autolathe
      • +
      • button
      • +
      • cash_register
      • +
      • complant_teleporter
      • +
      • cryopod
      • +
      • door/blast
      • +
      • embedded_controller/radio/docking_port_multi - ** DEBUG VERBS ***
      • +
      • hivemind_machine
      • +
      • holosign - HOLOSIGN
      • +
      • microwave
      • +
      • mineral
          +
        • processing_unit - Mineral processing unit
        • +
        • processing_unit_console - Mineral processing unit console
        • +
        • stacking_machine - Mineral stacking unit
        • +
        • stacking_unit_console - Would've named this ore_data , but it gives infinite cross reference ( and also conflicts with the global version) +Mineral stacking unit console
        • +
        • unloading_machine - Unloading unit
        • +
      • +
      • neotheology/biomass_container - BODY
      • +
      • newscaster
      • +
      • pipedispenser
          +
        • disposal
        • +
        • orderable - Z-Level stuff +Z-Level stuff
        • +
      • +
      • power
      • +
      • repair_station
      • +
      • shieldwall - Containment Field START
      • +
      • shieldwallgen - FIELD GEN START //shameless copypasta from fieldgen, powersink, and grille
      • +
      • smartfridge
          +
        • disks - Disk Storage
        • +
        • drinks - Bar Drinks Showcase
        • +
        • drying_rack - Hydroponics Drying Rack
        • +
        • secure
            +
          • extract - Xenobio Slime Fridge
          • +
          • medbay - Chemistry Medicine Storage
          • +
        • +
        • seeds - Seed Storage
        • +
      • +
      • telecomms/broadcaster
      • +
      • telepad - SCI TELEPAD
      • +
      • the_singularitygen - SINGULARITY SPAWNER
      • +
      • vending - A vending machine
      • +
    • +
    • map_data
    • +
    • procedural/jp_DungeonGenerator
    • +
    • spawner
        +
      • encouter/mine - ENCOUTERS
      • +
      • exosuit - ENCOUTERS
      • +
    • +
    • structure
        +
      • burrow
      • +
      • closet
          +
        • crate/miningcar - Pickaxe
        • +
        • onestar - Loot table on all tiers
            +
          • tier1
              +
            • medical - Medical
            • +
            • mineral - Mineral
            • +
            • normal - // Closets +Normal
            • +
            • special - Special
            • +
          • +
        • +
        • secure_closet/personal/miner - Miner Lockers
        • +
      • +
      • disposalconstruct
      • +
      • disposalpipe
          +
        • junction/yjunction - Z-Level stuff
        • +
        • up - Z-Level stuff
        • +
      • +
      • forklift_platform
      • +
      • kitchenspike - Kitchen Spike
      • +
      • lattice
      • +
      • multiz
          +
        • ladder - LADDER
        • +
        • stairs - STAIRS
        • +
      • +
      • ore_box - Ore box
      • +
      • salvageable/os - ONE STAR
      • +
    • +
  • +
  • procpath - Represents a proc or verb path.
  • +
  • turf
      +
    • simulated
        +
      • floor/asteroid - Asteroid
      • +
      • wall
      • +
    • +
    • unsimulated/mineral - Mineral deposits
    • +
  • +
  • World - Two possibilities exist: either we are alone in the Universe or we are not. Both are equally terrifying. ~ Arthur C. Clarke
  • +
+ + +
+ + + diff --git a/interface/fonts/license.html b/interface/fonts/license.html new file mode 100644 index 00000000000..27b638f672c --- /dev/null +++ b/interface/fonts/license.html @@ -0,0 +1,40 @@ + + + + + + + interface/fonts/license.txt - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

interface/fonts/license.txt + +

+ + +
Grand9K Pixel created by Jayvee Enaguas. Licensed under Creative Commons Attribution 4.0 International (CC BY 4.0)
+(https://creativecommons.org/licenses/by/4.0/) (https://www.dafont.com/grand9k-pixel.font)
+
+Pixellari created by Zacchary Dempsey-Plante. Website indicates free for commercial use.
+(https://www.dafont.com/pixellari.font?fpp=200)
+
+Spess Font created by MTandi (discord) for /tg/station.
+
+Tiny Unicode created by Jakob Riedle/DuffsDevice. Website indicates free for commercial use.
+(https://fontmeme.com/fonts/tiny-unicode-font/)
+
+VCR OSD Mono created by Riciery Leal/mrmanet. Website indicates 100% free, author confirms it's free for all to use.
+(https://www.dafont.com/font-comment.php?file=vcr_osd_mono)
+
+ + + diff --git a/material.html b/material.html new file mode 100644 index 00000000000..bfaed139059 --- /dev/null +++ b/material.html @@ -0,0 +1,36 @@ + + + + + + + /material - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Var Details
+
+

material + + + +

+ + +

Vars

armorArmor values for this material whenever its applied on something.
+

Var Details

armor + + + + +

+

Armor values for this material whenever its applied on something.

+ + + diff --git a/mob.html b/mob.html new file mode 100644 index 00000000000..aed8cc7f0f9 --- /dev/null +++ b/mob.html @@ -0,0 +1,189 @@ + + + + + + + /mob - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Var Details - Proc Details
+
+

mob + + + +

+ + + + + + + + + + + + + + + + + + + + +

Vars

registered_zThe z level this mob is currently registered in
tgui_open_uisglobal

Procs

CanAvoidGravityUsed to determine whether or not a given mob can override gravity when +attempting to Z-move UP.
GenerateTagGenerate the tag for this mob
_pointedpossibly delayed verb that finishes the pointing process starting in [/mob/verb/pointed()]. +either called immediately or in the tick after pointed() was called, as per the [DEFAULT_QUEUE_OR_CALL_VERB()] macro
can_ztravelAn initial check for Z-level travel. Called relatively early in mob/proc/zMove.
chunkOnMoveMob tracking and handling
downVerb for the mob to move down a z-level if possible.
examinateExamine a mob
execute_modeproc version to finish /mob/verb/mode() execution. used in case the proc needs to be queued for the tick after its first called
get_status_tab_itemsAdds this list to the output to the stat browser
modeVerb to activate the object in your held hand
pointedPoint at an atom
set_see_in_darkSee In Dark Set Handling
set_see_invisibleSee Invisible Set Handling
set_sightSight Set Handling
shared_ui_interactionpublic
upVerb for the mob to move up a z-level if possible.
zMoveUsed to check if a mob can move up or down a Z-level and to then actually do the move.
+

Var Details

registered_z + + + + +

+

The z level this mob is currently registered in

tgui_open_uis + + + + +

+

global

+

Tracks open UIs for a user.

Proc Details

CanAvoidGravity +

+

Used to determine whether or not a given mob can override gravity when +attempting to Z-move UP.

+

Returns FALSE in standard mob cases. Exists for carbon/human and other child overrides.

+

@return TRUE if the mob can Z-move up despite gravity. +FALSE otherwise.

GenerateTag +

+

Generate the tag for this mob

+

This is simply "mob_"+ a global incrementing counter that goes up for every mob

_pointed +

+

possibly delayed verb that finishes the pointing process starting in [/mob/verb/pointed()]. +either called immediately or in the tick after pointed() was called, as per the [DEFAULT_QUEUE_OR_CALL_VERB()] macro

can_ztravel +

+

An initial check for Z-level travel. Called relatively early in mob/proc/zMove.

+

Useful for overwriting and special conditions for STOPPING z-level transit.

+

@return TRUE if the mob can move a Z-level of its own volition. +FALSE otherwise.

chunkOnMove +

+

Mob tracking and handling

down +

+

Verb for the mob to move down a z-level if possible.

examinate +

+

Examine a mob

+

mob verbs are faster than object verbs. See +this byond forum post +for why this isn't atom/verb/examine()

execute_mode +

+

proc version to finish /mob/verb/mode() execution. used in case the proc needs to be queued for the tick after its first called

get_status_tab_items +

+

Adds this list to the output to the stat browser

mode +

+

Verb to activate the object in your held hand

+

Calls attack self on the item and updates the inventory hud for hands

pointed +

+

Point at an atom

+

mob verbs are faster than object verbs. See +this byond forum post +for why this isn't atom/verb/pointed()

+

note: ghosts can point, this is intended

+

visible_message will handle invisibility properly

+

overridden here and in /mob/dead/observer for different point span classes and sanity checks

set_see_in_dark +

+

See In Dark Set Handling

set_see_invisible +

+

See Invisible Set Handling

set_sight +

+

Sight Set Handling

shared_ui_interaction +

+

public

+

Standard interaction/sanity checks. Different mob types may have overrides.

+

return UI_state The state of the UI.

up +

+

Verb for the mob to move up a z-level if possible.

zMove +

+

Used to check if a mob can move up or down a Z-level and to then actually do the move.

+

@param direction The direction in which we're moving. Expects defines UP or DOWN.

+

@return TRUE if the mob has been successfully moved a Z-level. +FALSE otherwise.

+ + + diff --git a/mob/living.html b/mob/living.html new file mode 100644 index 00000000000..54ecb094faf --- /dev/null +++ b/mob/living.html @@ -0,0 +1,56 @@ + + + + + + + /mob/living - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

living + + + +

+ + + + +

Procs

DestroyThis proc used to be done in New() and was still somehow random with people having the same real name and name +I think it was random because of Human New calling Initialize and then calling the parent of New() +Hence it kept being random whilst unexpected... -SPCR
create_HUDtechmob/living/proc/create_HUDprocess()
shared_living_ui_distancepublic

Proc Details

Destroy +

+

This proc used to be done in New() and was still somehow random with people having the same real name and name +I think it was random because of Human New calling Initialize and then calling the parent of New() +Hence it kept being random whilst unexpected... -SPCR

create_HUDtech +

+

mob/living/proc/create_HUDprocess()

shared_living_ui_distance +

+

public

+

Distance versus interaction check.

+

required src_object atom/movable The object which owns the UI.

+

return UI_state The state of the UI.

+ + + diff --git a/mob/living/carbon.html b/mob/living/carbon.html new file mode 100644 index 00000000000..e132d943906 --- /dev/null +++ b/mob/living/carbon.html @@ -0,0 +1,35 @@ + + + + + + + /mob/living/carbon - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

carbon + + + +

+ +

BLOOD SYSTEM

+

Procs

take_bloodBLOOD TRANSFERS

Proc Details

take_blood +

+

BLOOD TRANSFERS

+ + + diff --git a/mob/living/carbon/human.html b/mob/living/carbon/human.html new file mode 100644 index 00000000000..034c888aaa7 --- /dev/null +++ b/mob/living/carbon/human.html @@ -0,0 +1,65 @@ + + + + + + + /mob/living/carbon/human - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

human + + + +

+ + + + + + +

Procs

allow_spacemoveNo slowdown for mech pilots , mech already handles movement.
embedGet hit with glass shards , your fibers are on them now, or with a rod idk.
eyecheckeyecheck() +Returns a number between -1 to 2
handle_chemical_smokebreathing
process_scopeThe forklift handles it for us here.

Proc Details

allow_spacemove +

+

No slowdown for mech pilots , mech already handles movement.

embed +

+

Get hit with glass shards , your fibers are on them now, or with a rod idk.

eyecheck +

+

eyecheck() +Returns a number between -1 to 2

handle_chemical_smoke +

+

breathing

process_scope +

+

The forklift handles it for us here.

+ + + diff --git a/mob/living/carbon/slime.html b/mob/living/carbon/slime.html new file mode 100644 index 00000000000..88a89e8b373 --- /dev/null +++ b/mob/living/carbon/slime.html @@ -0,0 +1,36 @@ + + + + + + + /mob/living/carbon/slime - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Var Details
+
+

slime + + + +

+ + +

Vars

colourTIME FOR SUBSPECIES
+

Var Details

colour + + + + +

+

TIME FOR SUBSPECIES

+ + + diff --git a/mob/living/carbon/superior_animal.html b/mob/living/carbon/superior_animal.html new file mode 100644 index 00000000000..3ee54c73a0a --- /dev/null +++ b/mob/living/carbon/superior_animal.html @@ -0,0 +1,35 @@ + + + + + + + /mob/living/carbon/superior_animal - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

superior_animal + + + +

+ + +

Procs

getarmorFire handling , not passing the whole list because thats unefficient.

Proc Details

getarmor +

+

Fire handling , not passing the whole list because thats unefficient.

+ + + diff --git a/mob/living/exosuit.html b/mob/living/exosuit.html new file mode 100644 index 00000000000..a43d63e5b80 --- /dev/null +++ b/mob/living/exosuit.html @@ -0,0 +1,97 @@ + + + + + + + /mob/living/exosuit - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Var Details - Proc Details
+
+

exosuit + + + +

+ + + + + + + + + +

Vars

tickersFor equipment that has a process based on mech Life tick

Procs

attack_toolGun reloading handling +Medical mender handling +Plasma generator handling +REAGENT INSERTION HANDLING +Double negation to turn into 0/1 format since if its more than 1 it doesn't count as true. +welding fuel generator +chemical sprayer
getOreCarrierChecks the mech for places to store the ore.
getShieldReturns the best shield for damage reduction
get_dir_multaiming for soemthing the mech doesnt have
toggle_hatchUsed by hatch toggle mech UI button
toggle_hatch_lockUsed by hatch lock UI button
toggle_sensorsUsed by camera toglge UI button
+

Var Details

tickers + + + + +

+

For equipment that has a process based on mech Life tick

Proc Details

attack_tool +

+

Gun reloading handling +Medical mender handling +Plasma generator handling +REAGENT INSERTION HANDLING +Double negation to turn into 0/1 format since if its more than 1 it doesn't count as true. +welding fuel generator +chemical sprayer

getOreCarrier +

+

Checks the mech for places to store the ore.

getShield +

+

Returns the best shield for damage reduction

get_dir_mult +

+

aiming for soemthing the mech doesnt have

toggle_hatch +

+

Used by hatch toggle mech UI button

toggle_hatch_lock +

+

Used by hatch lock UI button

toggle_sensors +

+

Used by camera toglge UI button

+ + + diff --git a/mob/living/silicon.html b/mob/living/silicon.html new file mode 100644 index 00000000000..a97d9ffb9ef --- /dev/null +++ b/mob/living/silicon.html @@ -0,0 +1,37 @@ + + + + + + + /mob/living/silicon - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

silicon + + + +

+ + +

Procs

get_ui_accessReturns a UI status representing this silicon's capability to access +the given source. Called by ui_status_silicon_has_access.

Proc Details

get_ui_access +

+

Returns a UI status representing this silicon's capability to access +the given source. Called by ui_status_silicon_has_access.

+ + + diff --git a/mob/living/silicon/robot.html b/mob/living/silicon/robot.html new file mode 100644 index 00000000000..04389b3a066 --- /dev/null +++ b/mob/living/silicon/robot.html @@ -0,0 +1,45 @@ + + + + + + + /mob/living/silicon/robot - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Var Details - Proc Details
+
+

robot + + + +

+ + + +

Vars

speedHumans get a -1 by default from any shoe. , robots had a 0.25 added by default.

Procs

slip_chanceFor fellow coders , if you wish to control the conditions for a robot to move , you need to touch movement_handlers in init() proc +I've spent 2 hours looking for them , but hopefully you don't have to go through my pain of going over and over undocumented code.
+

Var Details

speed + + + + +

+

Humans get a -1 by default from any shoe. , robots had a 0.25 added by default.

Proc Details

slip_chance +

+

For fellow coders , if you wish to control the conditions for a robot to move , you need to touch movement_handlers in init() proc +I've spent 2 hours looking for them , but hopefully you don't have to go through my pain of going over and over undocumented code.

+ + + diff --git a/mob/living/simple_animal/borer.html b/mob/living/simple_animal/borer.html new file mode 100644 index 00000000000..6761b3ffce1 --- /dev/null +++ b/mob/living/simple_animal/borer.html @@ -0,0 +1,35 @@ + + + + + + + /mob/living/simple_animal/borer - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

borer + + + +

+ + +

Procs

replace_brainWait for abilities to update THEN move them in due to the afore-mentioned bug.

Proc Details

replace_brain +

+

Wait for abilities to update THEN move them in due to the afore-mentioned bug.

+ + + diff --git a/mob/observer/ghost.html b/mob/observer/ghost.html new file mode 100644 index 00000000000..7771934bac5 --- /dev/null +++ b/mob/observer/ghost.html @@ -0,0 +1,42 @@ + + + + + + + /mob/observer/ghost - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

ghost + + + +

+ + + +

Procs

ManualFollowFollow mobs on list
follow_playerFollow verb in context menu

Proc Details

ManualFollow +

+

Follow mobs on list

follow_player +

+

Follow verb in context menu

+ + + diff --git a/obj.html b/obj.html new file mode 100644 index 00000000000..496dc50efb0 --- /dev/null +++ b/obj.html @@ -0,0 +1,35 @@ + + + + + + + /obj - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

obj + + + +

+ + +

Procs

chunkHearerOnMoveHearer tracking and handling

Proc Details

chunkHearerOnMove +

+

Hearer tracking and handling

+ + + diff --git a/obj/effect/blob.html b/obj/effect/blob.html new file mode 100644 index 00000000000..ded07be9574 --- /dev/null +++ b/obj/effect/blob.html @@ -0,0 +1,56 @@ + + + + + + + /obj/effect/blob - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

blob + + + +

+ + + + + +

Procs

ProcessBasic blob processing. Every tick we will update our neighbors, try to expand, etc
attack_mobsBLOB ATTACKING
bullet_actBLOB DEFENSE
expandEXPANDING!

Proc Details

Process +

+

Basic blob processing. Every tick we will update our neighbors, try to expand, etc

attack_mobs +

+

BLOB ATTACKING

bullet_act +

+

BLOB DEFENSE

expand +

+

EXPANDING!

+ + + diff --git a/obj/effect/decal/cleanable/blood/tracks.html b/obj/effect/decal/cleanable/blood/tracks.html new file mode 100644 index 00000000000..2ad33d286a2 --- /dev/null +++ b/obj/effect/decal/cleanable/blood/tracks.html @@ -0,0 +1,39 @@ + + + + + + + /obj/effect/decal/cleanable/blood/tracks - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

tracks + + + +

+ + +

Procs

AddTracksAdd tracks to an existing trail.

Proc Details

AddTracks +

+

Add tracks to an existing trail.

+

@param DNA bloodDNA to add to collection. +@param comingdir Direction tracks come from, or 0. +@param goingdir Direction tracks are going to (or 0). +@param bloodcolor Color of the blood when wet.

+ + + diff --git a/obj/effect/mob_spawn.html b/obj/effect/mob_spawn.html new file mode 100644 index 00000000000..455cb9e2bc5 --- /dev/null +++ b/obj/effect/mob_spawn.html @@ -0,0 +1,36 @@ + + + + + + + /obj/effect/mob_spawn - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Var Details
+
+

mob_spawn + + + +

+ + +

Vars

factionLazy string list of factions that the spawned mob will be in upon spawn
+

Var Details

faction + + + + +

+

Lazy string list of factions that the spawned mob will be in upon spawn

+ + + diff --git a/obj/effect/plant.html b/obj/effect/plant.html new file mode 100644 index 00000000000..cf2a478c853 --- /dev/null +++ b/obj/effect/plant.html @@ -0,0 +1,42 @@ + + + + + + + /obj/effect/plant - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

plant + + + +

+ + + +

Procs

attack_handAttack procs
explosion_actACT PROCS

Proc Details

attack_hand +

+

Attack procs

explosion_act +

+

ACT PROCS

+ + + diff --git a/obj/effect/plant/hivemind.html b/obj/effect/plant/hivemind.html new file mode 100644 index 00000000000..ee946689eea --- /dev/null +++ b/obj/effect/plant/hivemind.html @@ -0,0 +1,37 @@ + + + + + + + /obj/effect/plant/hivemind - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

hivemind + + + +

+ + +

Procs

attackby

Proc Details

attackby +

+
+

RESPONSE CODE<

+
+ + + diff --git a/obj/effect/portal.html b/obj/effect/portal.html new file mode 100644 index 00000000000..940bed6694e --- /dev/null +++ b/obj/effect/portal.html @@ -0,0 +1,35 @@ + + + + + + + /obj/effect/portal - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

portal + + + +

+ + +

Procs

on_failYou will appear adjacent to the beacon

Proc Details

on_fail +

+

You will appear adjacent to the beacon

+ + + diff --git a/obj/effect/trail_particle.html b/obj/effect/trail_particle.html new file mode 100644 index 00000000000..1e76e66b3e2 --- /dev/null +++ b/obj/effect/trail_particle.html @@ -0,0 +1,31 @@ + + + + + + + /obj/effect/trail_particle - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

trail_particle + + + +

+ +
Trail particles.
+
+

These are spawned by a trail system +Their only special behaviour atm is to delete themselves shortly after creation

+ + + diff --git a/obj/item.html b/obj/item.html new file mode 100644 index 00000000000..3050d07a136 --- /dev/null +++ b/obj/item.html @@ -0,0 +1,63 @@ + + + + + + + /obj/item - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

item + + + +

+ + + + + + +

Procs

consume_resourcesResource Consumption
handle_failure/* Tool Failure */
has_quality/* Data and Checking */
update_wield_iconLet's reserve his other hand~
use_tool/* Tool Usage */

Proc Details

consume_resources +

+

Resource Consumption

handle_failure +

+

/* Tool Failure */

has_quality +

+

/* Data and Checking */

update_wield_icon +

+

Let's reserve his other hand~

use_tool +

+

/* Tool Usage */

+ + + diff --git a/obj/item/ammo_casing.html b/obj/item/ammo_casing.html new file mode 100644 index 00000000000..68967cf2c90 --- /dev/null +++ b/obj/item/ammo_casing.html @@ -0,0 +1,35 @@ + + + + + + + /obj/item/ammo_casing - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

ammo_casing + + + +

+ + +

Procs

Newspecial case where is the location is specified as a ammo_Casing , it will clone all relevant vars

Proc Details

New +

+

special case where is the location is specified as a ammo_Casing , it will clone all relevant vars

+ + + diff --git a/obj/item/beartrap.html b/obj/item/beartrap.html new file mode 100644 index 00000000000..a476718bf47 --- /dev/null +++ b/obj/item/beartrap.html @@ -0,0 +1,49 @@ + + + + + + + /obj/item/beartrap - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

beartrap + + + +

+ + + + +

Procs

attack_selfDeployment
attempt_releaseReleasing Mobs
fail_attemptHurting Mobs

Proc Details

attack_self +

+

Deployment

attempt_release +

+

Releasing Mobs

fail_attempt +

+

Hurting Mobs

+ + + diff --git a/obj/item/clothing.html b/obj/item/clothing.html new file mode 100644 index 00000000000..8ad3d55e9d9 --- /dev/null +++ b/obj/item/clothing.html @@ -0,0 +1,37 @@ + + + + + + + /obj/item/clothing - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

clothing + + + +

+ + +

Procs

attach_accessoryAttach accessory A to src

Proc Details

attach_accessory +

+

Attach accessory A to src

+

user is the user doing the attaching. Can be null, such as when attaching +items on spawn

+ + + diff --git a/obj/item/clothing/glasses/attachable_lenses.html b/obj/item/clothing/glasses/attachable_lenses.html new file mode 100644 index 00000000000..47d96ae2b8c --- /dev/null +++ b/obj/item/clothing/glasses/attachable_lenses.html @@ -0,0 +1,36 @@ + + + + + + + /obj/item/clothing/glasses/attachable_lenses - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Var Details
+
+

attachable_lenses + + + +

+ + +

Vars

saved_last_overlaySaves the overlay of the last goggles converted , just for the sake of not deleting it
+

Var Details

saved_last_overlay + + + + +

+

Saves the overlay of the last goggles converted , just for the sake of not deleting it

+ + + diff --git a/obj/item/device/assembly/signaler/door_controller.html b/obj/item/device/assembly/signaler/door_controller.html new file mode 100644 index 00000000000..f03ce4ebc45 --- /dev/null +++ b/obj/item/device/assembly/signaler/door_controller.html @@ -0,0 +1,42 @@ + + + + + + + /obj/item/device/assembly/signaler/door_controller - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

door_controller + + + +

+ + + +

Procs

AltClickprevent spam if theres multiple doors.
signaldata is expected to be a list

Proc Details

AltClick +

+

prevent spam if theres multiple doors.

signal +

+

data is expected to be a list

+ + + diff --git a/obj/item/device/t_scanner.html b/obj/item/device/t_scanner.html new file mode 100644 index 00000000000..1c876ca02b0 --- /dev/null +++ b/obj/item/device/t_scanner.html @@ -0,0 +1,49 @@ + + + + + + + /obj/item/device/t_scanner - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

t_scanner + + + +

+ + + + +

Procs

ProcessSTATE MANAGEMENT
attack_selfInteraction
update_overlayCORE FUNCTIONALITY: SCANNING AND DRAWING OVERLAYS

Proc Details

Process +

+

STATE MANAGEMENT

attack_self +

+

Interaction

update_overlay +

+

CORE FUNCTIONALITY: SCANNING AND DRAWING OVERLAYS

+ + + diff --git a/obj/item/device/techno_tribalism.html b/obj/item/device/techno_tribalism.html new file mode 100644 index 00000000000..20b3ee56ae4 --- /dev/null +++ b/obj/item/device/techno_tribalism.html @@ -0,0 +1,36 @@ + + + + + + + /obj/item/device/techno_tribalism - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Var Details
+
+

techno_tribalism + + + +

+ + +

Vars

combat_capdouble for taking out combat-oddities (skydriver , sword of truth)
+

Var Details

combat_cap + + + + +

+

double for taking out combat-oddities (skydriver , sword of truth)

+ + + diff --git a/obj/item/electronics/ai_module/safeguard.html b/obj/item/electronics/ai_module/safeguard.html new file mode 100644 index 00000000000..60ffb40fd57 --- /dev/null +++ b/obj/item/electronics/ai_module/safeguard.html @@ -0,0 +1,29 @@ + + + + + + + /obj/item/electronics/ai_module/safeguard - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

safeguard + + + +

+ +

Modules

+

Safeguard

+ + + diff --git a/obj/item/electronics/airlock.html b/obj/item/electronics/airlock.html new file mode 100644 index 00000000000..ee6e951ec94 --- /dev/null +++ b/obj/item/electronics/airlock.html @@ -0,0 +1,36 @@ + + + + + + + /obj/item/electronics/airlock - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Var Details
+
+

airlock + + + +

+ + +

Vars

wifi_idUsed for blast doors and shutters
+

Var Details

wifi_id + + + + +

+

Used for blast doors and shutters

+ + + diff --git a/obj/item/electronics/circuitboard/air_management.html b/obj/item/electronics/circuitboard/air_management.html new file mode 100644 index 00000000000..d07624b5ef5 --- /dev/null +++ b/obj/item/electronics/circuitboard/air_management.html @@ -0,0 +1,42 @@ + + + + + + + /obj/item/electronics/circuitboard/air_management - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

air_management + + + +

+ + + +

Procs

constructConstruct
deconstructDeconstruct

Proc Details

construct +

+

Construct

deconstruct +

+

Deconstruct

+ + + diff --git a/obj/item/gun.html b/obj/item/gun.html new file mode 100644 index 00000000000..16d685ee3fb --- /dev/null +++ b/obj/item/gun.html @@ -0,0 +1,35 @@ + + + + + + + /obj/item/gun - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

gun + + + +

+ + +

Procs

very_unsafe_set_firemodeSet firemode , but without a refresh_upgrades at the start

Proc Details

very_unsafe_set_firemode +

+

Set firemode , but without a refresh_upgrades at the start

+ + + diff --git a/obj/item/gun/energy.html b/obj/item/gun/energy.html new file mode 100644 index 00000000000..5c834a09410 --- /dev/null +++ b/obj/item/gun/energy.html @@ -0,0 +1,35 @@ + + + + + + + /obj/item/gun/energy - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

energy + + + +

+ + +

Procs

begin_chargeThe actual code

Proc Details

begin_charge +

+

The actual code

+ + + diff --git a/obj/item/holder.html b/obj/item/holder.html new file mode 100644 index 00000000000..61204825d11 --- /dev/null +++ b/obj/item/holder.html @@ -0,0 +1,42 @@ + + + + + + + /obj/item/holder - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

holder + + + +

+ + + +

Procs

Initializeobj/machinery/appliance,
post_dropWhen an object is put into a container, drop fires twice.

Proc Details

Initialize +

+

obj/machinery/appliance,

post_drop +

+

When an object is put into a container, drop fires twice.

+ + + diff --git a/obj/item/implant/excelsior.html b/obj/item/implant/excelsior.html new file mode 100644 index 00000000000..abd796e24c6 --- /dev/null +++ b/obj/item/implant/excelsior.html @@ -0,0 +1,35 @@ + + + + + + + /obj/item/implant/excelsior - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

excelsior + + + +

+ + +

Procs

executeRemote execution from failure to defend

Proc Details

execute +

+

Remote execution from failure to defend

+ + + diff --git a/obj/item/mech_component.html b/obj/item/mech_component.html new file mode 100644 index 00000000000..76077f21660 --- /dev/null +++ b/obj/item/mech_component.html @@ -0,0 +1,43 @@ + + + + + + + /obj/item/mech_component - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Var Details
+
+

mech_component + + + +

+ + + +

Vars

can_gibwheter or not this component can just blow up
gib_hits_neededhow many hits do we have to get to gib once we hit max damage
+

Var Details

can_gib + + + + +

+

wheter or not this component can just blow up

gib_hits_needed + + + + +

+

how many hits do we have to get to gib once we hit max damage

+ + + diff --git a/obj/item/mech_component/chassis.html b/obj/item/mech_component/chassis.html new file mode 100644 index 00000000000..fca86c0e4c4 --- /dev/null +++ b/obj/item/mech_component/chassis.html @@ -0,0 +1,64 @@ + + + + + + + /obj/item/mech_component/chassis - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Var Details
+
+

chassis + + + +

+ + + + + + +

Vars

cell_charge_ratedoes this mech chassis have support for charging all cells inside of its storage? if its 0 it doesnt
coverage_multipliersif defined , will have coverage multiplied by the dir the attack is coming from.
has_hatchwheter this chasis has a hatch or not to open/close
opaque_chassisWheter chassis blocks sight from a outside POV (aka can see behind mech or not ?)
strict_arm_typewheter this mech can only take one type of this component. Setting it to true will make it not take any kind of component. False is universal. setting a type will enforce that type as acceptable
+

Var Details

cell_charge_rate + + + + +

+

does this mech chassis have support for charging all cells inside of its storage? if its 0 it doesnt

coverage_multipliers + + + + +

+

if defined , will have coverage multiplied by the dir the attack is coming from.

has_hatch + + + + +

+

wheter this chasis has a hatch or not to open/close

opaque_chassis + + + + +

+

Wheter chassis blocks sight from a outside POV (aka can see behind mech or not ?)

strict_arm_type + + + + +

+

wheter this mech can only take one type of this component. Setting it to true will make it not take any kind of component. False is universal. setting a type will enforce that type as acceptable

+ + + diff --git a/obj/item/mech_component/manipulators.html b/obj/item/mech_component/manipulators.html new file mode 100644 index 00000000000..85b8b29efca --- /dev/null +++ b/obj/item/mech_component/manipulators.html @@ -0,0 +1,36 @@ + + + + + + + /obj/item/mech_component/manipulators - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Var Details
+
+

manipulators + + + +

+ + +

Vars

can_force_doorsif they can force open powered doors
+

Var Details

can_force_doors + + + + +

+

if they can force open powered doors

+ + + diff --git a/obj/item/mech_equipment/forklifting_system.html b/obj/item/mech_equipment/forklifting_system.html new file mode 100644 index 00000000000..5c13e51f014 --- /dev/null +++ b/obj/item/mech_equipment/forklifting_system.html @@ -0,0 +1,39 @@ + + + + + + + /obj/item/mech_equipment/forklifting_system - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

forklifting_system + + + +

+ +

Fancy way to move someone up a z-level if you think about it..

+

Procs

afterattackWe are checking the turf above first +Then the one infront + above +Pick up the first mob , else just get the last atom returned

Proc Details

afterattack +

+

We are checking the turf above first +Then the one infront + above +Pick up the first mob , else just get the last atom returned

+ + + diff --git a/obj/item/mech_equipment/mounted_system/ballistic.html b/obj/item/mech_equipment/mounted_system/ballistic.html new file mode 100644 index 00000000000..35ff5973da0 --- /dev/null +++ b/obj/item/mech_equipment/mounted_system/ballistic.html @@ -0,0 +1,35 @@ + + + + + + + /obj/item/mech_equipment/mounted_system/ballistic - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

ballistic + + + +

+ + +

Procs

loadMagazine-1 for wrong type , 0 for no slot , 1 for succes loading.

Proc Details

loadMagazine +

+

-1 for wrong type , 0 for no slot , 1 for succes loading.

+ + + diff --git a/obj/item/mech_equipment/power_generator.html b/obj/item/mech_equipment/power_generator.html new file mode 100644 index 00000000000..657ea8a0507 --- /dev/null +++ b/obj/item/mech_equipment/power_generator.html @@ -0,0 +1,36 @@ + + + + + + + /obj/item/mech_equipment/power_generator - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Var Details
+
+

power_generator + + + +

+ + +

Vars

generation_rate50 power per mech life tick , adjust for cell RATE
+

Var Details

generation_rate + + + + +

+

50 power per mech life tick , adjust for cell RATE

+ + + diff --git a/obj/item/mech_equipment/power_generator/fueled.html b/obj/item/mech_equipment/power_generator/fueled.html new file mode 100644 index 00000000000..8ec9d5b5b44 --- /dev/null +++ b/obj/item/mech_equipment/power_generator/fueled.html @@ -0,0 +1,48 @@ + + + + + + + /obj/item/mech_equipment/power_generator/fueled - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

fueled + + + +

+ + + +

Procs

get_hardpoint_maptextEco mode , very slow generation but doubled power output ( 20% of power production at cost of 10% of fuel usage) +Default +Turbo mode, 2x fuel usage at 1.6x power output +back to eco.
installedif we had a extremely minimal use

Proc Details

get_hardpoint_maptext +

+

Eco mode , very slow generation but doubled power output ( 20% of power production at cost of 10% of fuel usage) +Default +Turbo mode, 2x fuel usage at 1.6x power output +back to eco.

installed +

+

if we had a extremely minimal use

+ + + diff --git a/obj/item/mech_equipment/power_generator/fueled/welding.html b/obj/item/mech_equipment/power_generator/fueled/welding.html new file mode 100644 index 00000000000..98421702f41 --- /dev/null +++ b/obj/item/mech_equipment/power_generator/fueled/welding.html @@ -0,0 +1,50 @@ + + + + + + + /obj/item/mech_equipment/power_generator/fueled/welding - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Var Details - Proc Details
+
+

welding + + + +

+ + + + +

Vars

chamberReagentThe "explosion" chamber , used for when the fuel is mixed with something else
fuel_maxcan generate 20000 power

Procs

pretickOnly needed when we attack from outside
+

Var Details

chamberReagent + + + + +

+

The "explosion" chamber , used for when the fuel is mixed with something else

fuel_max + + + + +

+

can generate 20000 power

Proc Details

pretick +

+

Only needed when we attack from outside

+ + + diff --git a/obj/item/mech_equipment/shield_generator.html b/obj/item/mech_equipment/shield_generator.html new file mode 100644 index 00000000000..9141101d0e0 --- /dev/null +++ b/obj/item/mech_equipment/shield_generator.html @@ -0,0 +1,58 @@ + + + + + + + /obj/item/mech_equipment/shield_generator - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Var Details
+
+

shield_generator + + + +

+ +

Yes this also drains power from blocking halloss +Yes i justify it cause it stops by kinetic power and not by lethality / material hardness

+ + + +

Vars

damage_to_power_drainDefines the amount of power drained per hit thats blocked
last_togglelast time we toggled ,. stores world.time
onAre we toggled on ?
visual_bluffA object used to show the shield effects
+

Var Details

damage_to_power_drain + + + + +

+

Defines the amount of power drained per hit thats blocked

last_toggle + + + + +

+

last time we toggled ,. stores world.time

on + + + + +

+

Are we toggled on ?

visual_bluff + + + + +

+

A object used to show the shield effects

+ + + diff --git a/obj/item/mech_equipment/shield_generator/ballistic.html b/obj/item/mech_equipment/shield_generator/ballistic.html new file mode 100644 index 00000000000..4cc1073c883 --- /dev/null +++ b/obj/item/mech_equipment/shield_generator/ballistic.html @@ -0,0 +1,53 @@ + + + + + + + /obj/item/mech_equipment/shield_generator/ballistic - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

ballistic + + + +

+ + + + +

Procs

attack_selfNot needed since we already have handling for visual bluffs layering +and since we dont use a shield.
resolve_attackbymovement blocking is handled in MoveBlock() +Pass all attack attempts to afterattack if we're installed
update_iconblocks 66% of damage

Proc Details

attack_self +

+

Not needed since we already have handling for visual bluffs layering +and since we dont use a shield.

resolve_attackby +

+

movement blocking is handled in MoveBlock() +Pass all attack attempts to afterattack if we're installed

update_icon +

+

blocks 66% of damage

+ + + diff --git a/obj/item/mech_equipment/thrusters.html b/obj/item/mech_equipment/thrusters.html new file mode 100644 index 00000000000..5b5baefd6a3 --- /dev/null +++ b/obj/item/mech_equipment/thrusters.html @@ -0,0 +1,36 @@ + + + + + + + /obj/item/mech_equipment/thrusters - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Var Details
+
+

thrusters + + + +

+ + +

Vars

jetpack_fluffNeeded for Z-travel methods
+

Var Details

jetpack_fluff + + + + +

+

Needed for Z-travel methods

+ + + diff --git a/obj/item/mech_equipment/towing_hook.html b/obj/item/mech_equipment/towing_hook.html new file mode 100644 index 00000000000..6f44d830b6d --- /dev/null +++ b/obj/item/mech_equipment/towing_hook.html @@ -0,0 +1,42 @@ + + + + + + + /obj/item/mech_equipment/towing_hook - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

towing_hook + + + +

+ + + +

Procs

onTowingMoveYes you can hook onto other mechs that are hooked onto you, and yes it won't break anything , SPCR-2023
onTowingPullAttemptWe get supreme priority on pulling

Proc Details

onTowingMove +

+

Yes you can hook onto other mechs that are hooked onto you, and yes it won't break anything , SPCR-2023

onTowingPullAttempt +

+

We get supreme priority on pulling

+ + + diff --git a/obj/item/organ/external.html b/obj/item/organ/external.html new file mode 100644 index 00000000000..a08be66a527 --- /dev/null +++ b/obj/item/organ/external.html @@ -0,0 +1,63 @@ + + + + + + + /obj/item/organ/external - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

external + + + +

+ + + + + + +

Procs

droplimbDISMEMBERMENT
is_brokenPROCESSING & UPDATING
is_damageableDAMAGE PROCS
is_stumpHELPERS
update_woundsHandles internal and external wound effects

Proc Details

droplimb +

+

DISMEMBERMENT

is_broken +

+

PROCESSING & UPDATING

is_damageable +

+

DAMAGE PROCS

is_stump +

+

HELPERS

update_wounds +

+

Handles internal and external wound effects

+ + + diff --git a/obj/item/organ/internal/bone.html b/obj/item/organ/internal/bone.html new file mode 100644 index 00000000000..6cace0a544c --- /dev/null +++ b/obj/item/organ/internal/bone.html @@ -0,0 +1,35 @@ + + + + + + + /obj/item/organ/internal/bone - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

bone + + + +

+ + +

Procs

dieBones can be repaired after being destroyed. It's not ideal to have this here instead of in the parent (checking for bone efficiencies), but there are fewer corner cases this way.

Proc Details

die +

+

Bones can be repaired after being destroyed. It's not ideal to have this here instead of in the parent (checking for bone efficiencies), but there are fewer corner cases this way.

+ + + diff --git a/obj/item/organ/internal/vital/brain.html b/obj/item/organ/internal/vital/brain.html new file mode 100644 index 00000000000..3165690fa89 --- /dev/null +++ b/obj/item/organ/internal/vital/brain.html @@ -0,0 +1,35 @@ + + + + + + + /obj/item/organ/internal/vital/brain - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

brain + + + +

+ + +

Procs

handle_bloodBrain blood oxygenation is handled via oxyloss

Proc Details

handle_blood +

+

Brain blood oxygenation is handled via oxyloss

+ + + diff --git a/obj/item/pipe.html b/obj/item/pipe.html new file mode 100644 index 00000000000..345f8553672 --- /dev/null +++ b/obj/item/pipe.html @@ -0,0 +1,63 @@ + + + + + + + /obj/item/pipe - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

pipe + + + +

+ + + + +

Procs

afterattackZ-Level stuff +Z-Level stuff +Supply and scrubbers pipes +Z-Level stuff +Z-Level stuff +Supply and scrubbers pipes
get_pdirZ-Level stuff +Z-Level stuff
updateZ-Level stuff +Z-Level stuff

Proc Details

afterattack +

+

Z-Level stuff +Z-Level stuff +Supply and scrubbers pipes +Z-Level stuff +Z-Level stuff +Supply and scrubbers pipes

get_pdir +

+

Z-Level stuff +Z-Level stuff

update +

+

Z-Level stuff +Z-Level stuff

+ + + diff --git a/obj/item/projectile/beam/cutter.html b/obj/item/projectile/beam/cutter.html new file mode 100644 index 00000000000..177b75b4bbe --- /dev/null +++ b/obj/item/projectile/beam/cutter.html @@ -0,0 +1,36 @@ + + + + + + + /obj/item/projectile/beam/cutter - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Var Details
+
+

cutter + + + +

+ +

Only used by the mech plasmacutter ofr now

+

Vars

rocks_piercedstart with 1 extra since somehow 5 becomes 6
+

Var Details

rocks_pierced + + + + +

+

start with 1 extra since somehow 5 becomes 6

+ + + diff --git a/obj/item/rcd/mounted.html b/obj/item/rcd/mounted.html new file mode 100644 index 00000000000..8f67fad0e9a --- /dev/null +++ b/obj/item/rcd/mounted.html @@ -0,0 +1,37 @@ + + + + + + + /obj/item/rcd/mounted - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

mounted + + + +

+ + +

Procs

attackbyRIG MOUNTED +MECH MOUNTED

Proc Details

attackby +

+

RIG MOUNTED +MECH MOUNTED

+ + + diff --git a/obj/item/reagent_containers/bonsai.html b/obj/item/reagent_containers/bonsai.html new file mode 100644 index 00000000000..1692a25511e --- /dev/null +++ b/obj/item/reagent_containers/bonsai.html @@ -0,0 +1,35 @@ + + + + + + + /obj/item/reagent_containers/bonsai - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

bonsai + + + +

+ +
    +
  • +

    Club's special Bonsai tree, so they can operate somewhat without a garden.

    +

    Every 10 seconds, checks if it has 10+ units of any alcohol. +If it does, removes said alcohol, and spawns a random base fruit or vegetable. +Ratio, 10 alcohol: 1 produce.

    +
  • +
+ + + diff --git a/obj/item/reagent_containers/food.html b/obj/item/reagent_containers/food.html new file mode 100644 index 00000000000..0c02d0a3a47 --- /dev/null +++ b/obj/item/reagent_containers/food.html @@ -0,0 +1,29 @@ + + + + + + + /obj/item/reagent_containers/food - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

food + + + +

+ +

Droppers. END

+

Food.

+ + + diff --git a/obj/item/reagent_containers/food/snacks.html b/obj/item/reagent_containers/food/snacks.html new file mode 100644 index 00000000000..524cbcada19 --- /dev/null +++ b/obj/item/reagent_containers/food/snacks.html @@ -0,0 +1,35 @@ + + + + + + + /obj/item/reagent_containers/food/snacks - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

snacks + + + +

+ + +

Procs

attack_genericFOOD END

Proc Details

attack_generic +

+

FOOD END

+ + + diff --git a/obj/item/reagent_containers/food/snacks/aesirsalad.html b/obj/item/reagent_containers/food/snacks/aesirsalad.html new file mode 100644 index 00000000000..543454e3cbb --- /dev/null +++ b/obj/item/reagent_containers/food/snacks/aesirsalad.html @@ -0,0 +1,29 @@ + + + + + + + /obj/item/reagent_containers/food/snacks/aesirsalad - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

aesirsalad + + + +

+ +

/////////////////////////////////////////Snacks

+

obj/item/reagent_containers/food/snacks/xenoburger //Identification path for the object.

+ + + diff --git a/obj/item/rig_module/modular_injector.html b/obj/item/rig_module/modular_injector.html new file mode 100644 index 00000000000..dc88180bbed --- /dev/null +++ b/obj/item/rig_module/modular_injector.html @@ -0,0 +1,36 @@ + + + + + + + /obj/item/rig_module/modular_injector - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Var Details
+
+

modular_injector + + + +

+ + +

Vars

charges^ Used for initializing with beakers , the format used is list(beaker_type, beaker_reagent_id, beaker_reagent_amount)
+

Var Details

charges + + + + +

+

^ Used for initializing with beakers , the format used is list(beaker_type, beaker_reagent_id, beaker_reagent_amount)

+ + + diff --git a/obj/item/rig_module/storage.html b/obj/item/rig_module/storage.html new file mode 100644 index 00000000000..42449c0b7de --- /dev/null +++ b/obj/item/rig_module/storage.html @@ -0,0 +1,49 @@ + + + + + + + /obj/item/rig_module/storage - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

storage + + + +

+ + + + +

Procs

accepts_itemInternal Handling
attackbyExternal handling
can_installInstallation

Proc Details

accepts_item +

+

Internal Handling

attackby +

+

External handling

can_install +

+

Installation

+ + + diff --git a/obj/item/rpd.html b/obj/item/rpd.html new file mode 100644 index 00000000000..08cb86c5d6d --- /dev/null +++ b/obj/item/rpd.html @@ -0,0 +1,35 @@ + + + + + + + /obj/item/rpd - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

rpd + + + +

+ + +

Procs

TopicZ-Level stuff

Proc Details

Topic +

+

Z-Level stuff

+ + + diff --git a/obj/item/spacecash/bundle.html b/obj/item/spacecash/bundle.html new file mode 100644 index 00000000000..c1d82c74ea1 --- /dev/null +++ b/obj/item/spacecash/bundle.html @@ -0,0 +1,35 @@ + + + + + + + /obj/item/spacecash/bundle - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

bundle + + + +

+ + +

Procs

return_statsReturns a list to use with inspirations. It can be empty if there's not enough money in the bundle. Important side-effects: converts worth to points, thus reducing worth.

Proc Details

return_stats +

+

Returns a list to use with inspirations. It can be empty if there's not enough money in the bundle. Important side-effects: converts worth to points, thus reducing worth.

+ + + diff --git a/obj/item/tank/jetpack.html b/obj/item/tank/jetpack.html new file mode 100644 index 00000000000..6b774a91894 --- /dev/null +++ b/obj/item/tank/jetpack.html @@ -0,0 +1,63 @@ + + + + + + + /obj/item/tank/jetpack - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

jetpack + + + +

+ + + + + + +

Procs

InitializeCore Functionality
allow_thrustThrust Handling
check_thrustChecks
get_gasTank Interface
toggle_rocketsMode Setting

Proc Details

Initialize +

+

Core Functionality

allow_thrust +

+

Thrust Handling

check_thrust +

+

Checks

get_gas +

+

Tank Interface

toggle_rockets +

+

Mode Setting

+ + + diff --git a/obj/item/tool.html b/obj/item/tool.html new file mode 100644 index 00000000000..d727825b161 --- /dev/null +++ b/obj/item/tool.html @@ -0,0 +1,49 @@ + + + + + + + /obj/item/tool - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

tool + + + +

+ + + + +

Procs

New/* Core Procs */
refresh_upgradesTool Upgrades
stickMisc/utility procs

Proc Details

New +

+

/* Core Procs */

refresh_upgrades +

+

Tool Upgrades

stick +

+

Misc/utility procs

+ + + diff --git a/obj/item/tray.html b/obj/item/tray.html new file mode 100644 index 00000000000..423490fc68d --- /dev/null +++ b/obj/item/tray.html @@ -0,0 +1,40 @@ + + + + + + + /obj/item/tray - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Var Details
+
+

tray + + + +

+ + +

Vars

cooldown////////////////////////////////// /Let's have this ready for later. +///////////hitting anything else other than the eyes +Plik plik, the sound of blood
+

Var Details

cooldown + + + + +

+

////////////////////////////////// /Let's have this ready for later. +///////////hitting anything else other than the eyes +Plik plik, the sound of blood

+ + + diff --git a/obj/machinery.html b/obj/machinery.html new file mode 100644 index 00000000000..445986e2794 --- /dev/null +++ b/obj/machinery.html @@ -0,0 +1,96 @@ + + + + + + + /obj/machinery - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

machinery + + + +

+ +

Machines in the world, such as computers, pipes, and airlocks.

+

Overview: +Used to create objects that need a per step proc call. Default definition of 'Initialize()' +stores a reference to src machine in global 'machines list'. Default definition +of 'Destroy' removes reference to src machine in global 'machines list'.

+

Class Variables: +use_power (num) +current state of auto power use. +Possible Values: +NO_POWER_USE -- no auto power use +IDLE_POWER_USE -- machine is using power at its idle power level +ACTIVE_POWER_USE -- machine is using power at its active power level

+

active_power_usage (num) +Value for the amount of power to use when in active power mode

+

idle_power_usage (num) +Value for the amount of power to use when in idle power mode

+

power_channel (num) +What channel to draw from when drawing power for power mode +Possible Values: +AREA_USAGE_EQUIP:1 -- Equipment Channel +AREA_USAGE_LIGHT:2 -- Lighting Channel +AREA_USAGE_ENVIRON:3 -- Environment Channel

+

component_parts (list) +A list of component parts of machine used by frame based machines.

+

stat (bitflag) +Machine status bit flags. +Possible bit flags: +BROKEN -- Machine is broken +NOPOWER -- No power is being supplied to machine. +MAINT -- machine is currently under going maintenance. +EMPED -- temporary broken by EMP pulse

+

Class Procs: +Initialize()

+

Destroy()

+
update_mode_power_usage()
+	updates the static_power_usage var of this machine and makes its static power usage from its area accurate.
+	called after the idle or active power usage has been changed.
+
+update_power_channel()
+	updates the static_power_usage var of this machine and makes its static power usage from its area accurate.
+	called after the power_channel var has been changed or called to change the var itself.
+
+unset_static_power()
+	completely removes the current static power usage of this machine from its area.
+	used in the other power updating procs to then readd the correct power usage.
+
+
+ Default definition uses 'use_power', 'power_channel', 'active_power_usage',
+ 'idle_power_usage', 'powered()', and 'use_power()' implement behavior.
+
+

powered(chan = -1) 'modules/power/power.dm' +Checks to see if area that contains the object has power available for power +channel given in 'chan'. -1 defaults to power_channel

+

use_power(amount, chan=-1) 'modules/power/power.dm' +Deducts 'amount' from the power channel 'chan' of the area that contains the object.

+

power_change() 'modules/power/power.dm' +Called by the area that contains the object when ever that area under goes a +power state change (area runs out of power, or area channel is turned off).

+

RefreshParts() 'game/machinery/machine.dm' +Called to refresh the variables in the machine that are contributed to by parts +contained in the component_parts list. (example: glass and material amounts for +the autolathe)

+
 Default definition does nothing.
+
+

process() 'game/machinery/machine.dm' +Called by the 'machinery subsystem' once per machinery tick for each machine that is listed in its 'machines' list.

+

process_atmos() +Called by the 'air subsystem' once per atmos tick for each machine that is listed in its 'atmos_machines' list. +Compiled by Aygar

+ + + diff --git a/obj/machinery/atmospherics/unary/cryo_cell.html b/obj/machinery/atmospherics/unary/cryo_cell.html new file mode 100644 index 00000000000..b8e1526d9c8 --- /dev/null +++ b/obj/machinery/atmospherics/unary/cryo_cell.html @@ -0,0 +1,43 @@ + + + + + + + /obj/machinery/atmospherics/unary/cryo_cell - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

cryo_cell + + + +

+ + +

Procs

nano_ui_interactThe nano_ui_interact proc is used to open and update Nano UIs +If nano_ui_interact is not used then the UI will not update correctly +nano_ui_interact is currently defined for /atom/movable (which is inherited by /obj and /mob)

Proc Details

nano_ui_interact +

+

The nano_ui_interact proc is used to open and update Nano UIs +If nano_ui_interact is not used then the UI will not update correctly +nano_ui_interact is currently defined for /atom/movable (which is inherited by /obj and /mob)

+

@param user /mob The mob who is interacting with this ui +@param ui_key string A string key to use for this ui. Allows for multiple unique uis on one obj/mob (defaut value "main") +@param ui /datum/nanoui This parameter is passed by the nanoui process() proc when updating an open ui

+

@return nothing

+ + + diff --git a/obj/machinery/autolathe/excelsior.html b/obj/machinery/autolathe/excelsior.html new file mode 100644 index 00000000000..17bc939ffe8 --- /dev/null +++ b/obj/machinery/autolathe/excelsior.html @@ -0,0 +1,49 @@ + + + + + + + /obj/machinery/autolathe/excelsior - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

excelsior + + + +

+ +

** DEBUG VERBS ***

+

/obj/machinery/embedded_controller/radio/simple_docking_controller/verb/view_state() +set category = "Debug" +set src in view(1) +src.program:print_state()

+

/obj/machinery/embedded_controller/radio/simple_docking_controller/verb/spoof_signal(var/command as text, var/sender as text) +set category = "Debug" +set src in view(1) +var/datum/signal/signal = new +signal.data["tag"] = sender +signal.data["command"] = command +signal.data["recipient"] = id_tag

+
src.program:receive_signal(signal)
+
+

/obj/machinery/embedded_controller/radio/simple_docking_controller/verb/debug_init_dock(var/target as text) +set category = "Debug" +set src in view(1) +src.program:initiate_docking(target)

+

/obj/machinery/embedded_controller/radio/simple_docking_controller/verb/debug_init_undock() +set category = "Debug" +set src in view(1) +src.program:initiate_undocking()

+ + + diff --git a/obj/machinery/autolathe/nanoforge.html b/obj/machinery/autolathe/nanoforge.html new file mode 100644 index 00000000000..34f402b300d --- /dev/null +++ b/obj/machinery/autolathe/nanoforge.html @@ -0,0 +1,35 @@ + + + + + + + /obj/machinery/autolathe/nanoforge - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

nanoforge + + + +

+ + +

Procs

RefreshPartsWay too alien to be upgraded , according to lore.

Proc Details

RefreshParts +

+

Way too alien to be upgraded , according to lore.

+ + + diff --git a/obj/machinery/button/remote/blast_door.html b/obj/machinery/button/remote/blast_door.html new file mode 100644 index 00000000000..f3d27793821 --- /dev/null +++ b/obj/machinery/button/remote/blast_door.html @@ -0,0 +1,35 @@ + + + + + + + /obj/machinery/button/remote/blast_door - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

blast_door + + + +

+ + +

Procs

LateInitializeUpdate status at initialization!

Proc Details

LateInitialize +

+

Update status at initialization!

+ + + diff --git a/obj/machinery/cash_register.html b/obj/machinery/cash_register.html new file mode 100644 index 00000000000..bf7bbe57dad --- /dev/null +++ b/obj/machinery/cash_register.html @@ -0,0 +1,35 @@ + + + + + + + /obj/machinery/cash_register - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

cash_register + + + +

+ + +

Procs

reset_memoryVisible confirmation

Proc Details

reset_memory +

+

Visible confirmation

+ + + diff --git a/obj/machinery/complant_teleporter.html b/obj/machinery/complant_teleporter.html new file mode 100644 index 00000000000..65ed429fb67 --- /dev/null +++ b/obj/machinery/complant_teleporter.html @@ -0,0 +1,50 @@ + + + + + + + /obj/machinery/complant_teleporter - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Var Details - Proc Details
+
+

complant_teleporter + + + +

+ + + +

Vars

IKEA_listits expensive so they need to do a few mandates before they manage to get it

Procs

nano_ui_interactThe nano_ui_interact proc is used to open and update Nano UIs +If nano_ui_interact is not used then the UI will not update correctly +nano_ui_interact is currently defined for /atom/movable
+

Var Details

IKEA_list + + + + +

+

its expensive so they need to do a few mandates before they manage to get it

Proc Details

nano_ui_interact +

+

The nano_ui_interact proc is used to open and update Nano UIs +If nano_ui_interact is not used then the UI will not update correctly +nano_ui_interact is currently defined for /atom/movable

+

@param user /mob The mob who is interacting with this ui +@param ui_key string A string key to use for this ui. Allows for multiple unique uis on one obj/mob (defaut value "main")

+

@return nothing

+ + + diff --git a/obj/machinery/cryopod.html b/obj/machinery/cryopod.html new file mode 100644 index 00000000000..dd5e505b660 --- /dev/null +++ b/obj/machinery/cryopod.html @@ -0,0 +1,48 @@ + + + + + + + /obj/machinery/cryopod - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

cryopod + + + +

+ + + +

Procs

affect_grabLocal pod code
go_outWhy isn't it just eject ? because it somehow breaks SSchunks. ForceMoving out of these does not get registered properly +The mob does NOT have a LOC when it gets done by eject() , but this way it does for its forceMove() when we call go_out() from here +I dont know why it is this way , blame Byond ? - SPCR 2023 +I figured it out... its because it used to remove the mob to eject from its contents before actually ejecting them , causing their loc to be null..

Proc Details

affect_grab +

+

Local pod code

go_out +

+

Why isn't it just eject ? because it somehow breaks SSchunks. ForceMoving out of these does not get registered properly +The mob does NOT have a LOC when it gets done by eject() , but this way it does for its forceMove() when we call go_out() from here +I dont know why it is this way , blame Byond ? - SPCR 2023 +I figured it out... its because it used to remove the mob to eject from its contents before actually ejecting them , causing their loc to be null..

+ + + diff --git a/obj/machinery/door/blast.html b/obj/machinery/door/blast.html new file mode 100644 index 00000000000..fa5f7b6804f --- /dev/null +++ b/obj/machinery/door/blast.html @@ -0,0 +1,35 @@ + + + + + + + /obj/machinery/door/blast - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

blast + + + +

+ + +

Procs

Bumpedprevent command spam

Proc Details

Bumped +

+

prevent command spam

+ + + diff --git a/obj/machinery/embedded_controller/radio/docking_port_multi.html b/obj/machinery/embedded_controller/radio/docking_port_multi.html new file mode 100644 index 00000000000..e36d19eae65 --- /dev/null +++ b/obj/machinery/embedded_controller/radio/docking_port_multi.html @@ -0,0 +1,60 @@ + + + + + + + /obj/machinery/embedded_controller/radio/docking_port_multi - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

docking_port_multi + + + +

+ +

** DEBUG VERBS ***

+

/datum/computer/file/embedded_program/docking/proc/print_state() +to_chat(world, "id_tag: [id_tag]") +to_chat(world, "dock_state: [dock_state]") +to_chat(world, "control_mode: [control_mode]") +to_chat(world, "tag_target: [tag_target]") +to_chat(world, "response_sent: [response_sent]")

+

/datum/computer/file/embedded_program/docking/post_signal(datum/signal/signal, comm_line) +to_chat(world, "Program [id_tag] sent a message!") +print_state() +to_chat(world, "[id_tag] sent command "[signal.data["command"]]" to "[signal.data["recipient"]]"") +..(signal)

+

/obj/machinery/embedded_controller/radio/airlock/docking_port/verb/view_state() +set category = "Debug" +set src in view(1) +src.program:print_state()

+

/obj/machinery/embedded_controller/radio/airlock/docking_port/verb/spoof_signal(var/command as text, var/sender as text) +set category = "Debug" +set src in view(1) +var/datum/signal/signal = new +signal.data["tag"] = sender +signal.data["command"] = command +signal.data["recipient"] = id_tag

+
src.program:receive_signal(signal)
+
+

/obj/machinery/embedded_controller/radio/airlock/docking_port/verb/debug_init_dock(var/target as text) +set category = "Debug" +set src in view(1) +src.program:initiate_docking(target)

+

/obj/machinery/embedded_controller/radio/airlock/docking_port/verb/debug_init_undock() +set category = "Debug" +set src in view(1) +src.program:initiate_undocking()

+ + + diff --git a/obj/machinery/hivemind_machine.html b/obj/machinery/hivemind_machine.html new file mode 100644 index 00000000000..daa47de3c9b --- /dev/null +++ b/obj/machinery/hivemind_machine.html @@ -0,0 +1,39 @@ + + + + + + + /obj/machinery/hivemind_machine - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

hivemind_machine + + + +

+ + +

Procs

damage_reaction] [ +>RESPONSE CODE< +/_____________/

Proc Details

damage_reaction +

+

] [ +>RESPONSE CODE< +/_____________/

+ + + diff --git a/obj/machinery/hivemind_machine/node.html b/obj/machinery/hivemind_machine/node.html new file mode 100644 index 00000000000..cf8a84461d5 --- /dev/null +++ b/obj/machinery/hivemind_machine/node.html @@ -0,0 +1,30 @@ + + + + + + + /obj/machinery/hivemind_machine/node - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

node + + + +

+ +
+

MACHINES<

+
+ + + diff --git a/obj/machinery/microwave.html b/obj/machinery/microwave.html new file mode 100644 index 00000000000..a614f11005f --- /dev/null +++ b/obj/machinery/microwave.html @@ -0,0 +1,56 @@ + + + + + + + /obj/machinery/microwave - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

microwave + + + +

+ + + + + +

Procs

NewInitialising
attackbyItem Adding
cookMicrowave Menu Handling/Cooking
interactMicrowave Menu

Proc Details

New +

+

Initialising

attackby +

+

Item Adding

cook +

+

Microwave Menu Handling/Cooking

interact +

+

Microwave Menu

+ + + diff --git a/obj/machinery/newscaster.html b/obj/machinery/newscaster.html new file mode 100644 index 00000000000..94717e505b4 --- /dev/null +++ b/obj/machinery/newscaster.html @@ -0,0 +1,35 @@ + + + + + + + /obj/machinery/newscaster - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

newscaster + + + +

+ + +

Procs

scan_userhelper procs

Proc Details

scan_user +

+

helper procs

+ + + diff --git a/obj/machinery/pipedispenser.html b/obj/machinery/pipedispenser.html new file mode 100644 index 00000000000..887baab4bc5 --- /dev/null +++ b/obj/machinery/pipedispenser.html @@ -0,0 +1,37 @@ + + + + + + + /obj/machinery/pipedispenser - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

pipedispenser + + + +

+ + +

Procs

TopicZ-Level stuff +Z-Level stuff

Proc Details

Topic +

+

Z-Level stuff +Z-Level stuff

+ + + diff --git a/obj/machinery/pipedispenser/disposal.html b/obj/machinery/pipedispenser/disposal.html new file mode 100644 index 00000000000..0906d04cd04 --- /dev/null +++ b/obj/machinery/pipedispenser/disposal.html @@ -0,0 +1,37 @@ + + + + + + + /obj/machinery/pipedispenser/disposal - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

disposal + + + +

+ + +

Procs

TopicZ-Level stuff +Z-Level stuff

Proc Details

Topic +

+

Z-Level stuff +Z-Level stuff

+ + + diff --git a/obj/machinery/power/apc.html b/obj/machinery/power/apc.html new file mode 100644 index 00000000000..bd3160b8aa3 --- /dev/null +++ b/obj/machinery/power/apc.html @@ -0,0 +1,36 @@ + + + + + + + /obj/machinery/power/apc - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Var Details
+
+

apc + + + +

+ + +

Vars

offset_oldOffsets the object by APC_PIXEL_OFFSET (defined in apc_defines.dm) pixels in the direction we want it placed in. This allows the APC to be embedded in a wall, yet still inside an area (like mapping).
+

Var Details

offset_old + + + + +

+

Offsets the object by APC_PIXEL_OFFSET (defined in apc_defines.dm) pixels in the direction we want it placed in. This allows the APC to be embedded in a wall, yet still inside an area (like mapping).

+ + + diff --git a/obj/machinery/power/smes/batteryrack.html b/obj/machinery/power/smes/batteryrack.html new file mode 100644 index 00000000000..fa523549fb3 --- /dev/null +++ b/obj/machinery/power/smes/batteryrack.html @@ -0,0 +1,35 @@ + + + + + + + /obj/machinery/power/smes/batteryrack - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

batteryrack + + + +

+ + +

Procs

InitializeFor any UI related fuckery to NanoUI/Tgui

Proc Details

Initialize +

+

For any UI related fuckery to NanoUI/Tgui

+ + + diff --git a/obj/machinery/repair_station.html b/obj/machinery/repair_station.html new file mode 100644 index 00000000000..b42c7b58f38 --- /dev/null +++ b/obj/machinery/repair_station.html @@ -0,0 +1,36 @@ + + + + + + + /obj/machinery/repair_station - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Var Details
+
+

repair_station + + + +

+ + +

Vars

anchoredPLACEHOLDER
+

Var Details

anchored + + + + +

+

PLACEHOLDER

+ + + diff --git a/obj/machinery/smartfridge.html b/obj/machinery/smartfridge.html new file mode 100644 index 00000000000..80b2d2bba4d --- /dev/null +++ b/obj/machinery/smartfridge.html @@ -0,0 +1,42 @@ + + + + + + + /obj/machinery/smartfridge - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

smartfridge + + + +

+ + + +

Procs

attackbyItem Adding
nano_ui_interactSmartFridge Menu

Proc Details

attackby +

+

Item Adding

nano_ui_interact +

+

SmartFridge Menu

+ + + diff --git a/obj/machinery/smartfridge/secure.html b/obj/machinery/smartfridge/secure.html new file mode 100644 index 00000000000..48287b241da --- /dev/null +++ b/obj/machinery/smartfridge/secure.html @@ -0,0 +1,35 @@ + + + + + + + /obj/machinery/smartfridge/secure - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

secure + + + +

+ + +

Procs

TopicSecure SmartFridges

Proc Details

Topic +

+

Secure SmartFridges

+ + + diff --git a/obj/machinery/telecomms/broadcaster.html b/obj/machinery/telecomms/broadcaster.html new file mode 100644 index 00000000000..9a6fce99873 --- /dev/null +++ b/obj/machinery/telecomms/broadcaster.html @@ -0,0 +1,35 @@ + + + + + + + /obj/machinery/telecomms/broadcaster - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

broadcaster + + + +

+ + +

Procs

Destroy

Proc Details

Destroy +

+

- Normal Broadcast -

- Simple Broadcast -

- Artificial Broadcast -

+ + + diff --git a/obj/machinery/vending.html b/obj/machinery/vending.html new file mode 100644 index 00000000000..cdcf7368fab --- /dev/null +++ b/obj/machinery/vending.html @@ -0,0 +1,98 @@ + + + + + + + /obj/machinery/vending - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

vending + + + +

+ +

A vending machine

+ + + + + + +

Procs

build_inventoryBuild src.produdct_records from the products lists
credit_purchaseAdd money for current purchase to the vendor account.
pay_with_cardScan a card and attempt to transfer payment from associated account.
pay_with_cashReceive payment with cashmoney.
pay_with_ewalletScan a chargecard and deduct payment from it.
stock
ui_interactDisplay the TGUI window for the vending machine.

Proc Details

build_inventory +

+

Build src.produdct_records from the products lists

+

src.products, src.contraband, src.premium, and src.prices allow specifying +products that the vending machine is to carry without manually populating +src.product_records.

credit_purchase +

+

Add money for current purchase to the vendor account.

+

Called after the money has already been taken from the customer.

pay_with_card +

+

Scan a card and attempt to transfer payment from associated account.

+

Takes payment for whatever is the currently_vending item. Returns 1 if +successful, 0 if failed

pay_with_cash +

+

Receive payment with cashmoney.

pay_with_ewallet +

+

Scan a chargecard and deduct payment from it.

+

Takes payment for whatever is the currently_vending item. Returns 1 if +successful, 0 if failed.

stock +

+
    +
  • +

    Add item to the machine

    +
  • +
  • +

    Checks if item is vendable in this machine should be performed before

    +
  • +
  • +

    calling. W is the item being inserted, R is the associated vending_product entry. +R can be null, in which case the user is inserting something that wasnt previously here. +In that case we create a new inventory record for the item

    +
  • +

ui_interact +

+

Display the TGUI window for the vending machine.

+

See TGUI documentation for details.

+ + + diff --git a/obj/machinery/vending/boozeomat.html b/obj/machinery/vending/boozeomat.html new file mode 100644 index 00000000000..daf75b2294c --- /dev/null +++ b/obj/machinery/vending/boozeomat.html @@ -0,0 +1,36 @@ + + + + + + + /obj/machinery/vending/boozeomat - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Var Details
+
+

boozeomat + + + +

+ + +

Vars

icon_deny18 drink entities below, plus the glasses, in case someone wants to edit the number of bottles
+

Var Details

icon_deny + + + + +

+

18 drink entities below, plus the glasses, in case someone wants to edit the number of bottles

+ + + diff --git a/obj/machinery/vending/hydroseeds.html b/obj/machinery/vending/hydroseeds.html new file mode 100644 index 00000000000..c677194ff84 --- /dev/null +++ b/obj/machinery/vending/hydroseeds.html @@ -0,0 +1,37 @@ + + + + + + + /obj/machinery/vending/hydroseeds - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

hydroseeds + + + +

+ + +

Procs

build_inventoryPopulate hydroseeds product_records

Proc Details

build_inventory +

+

Populate hydroseeds product_records

+

This needs to be customized to fetch the actual names of the seeds, otherwise +the machine would simply list "packet of seeds" times 20

+ + + diff --git a/obj/map_data.html b/obj/map_data.html new file mode 100644 index 00000000000..a1eb6c74df5 --- /dev/null +++ b/obj/map_data.html @@ -0,0 +1,36 @@ + + + + + + + /obj/map_data - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Var Details
+
+

map_data + + + +

+ + +

Vars

holomap_offset_x< The number of Z-Levels in the map.
+

Var Details

holomap_offset_x + + + + +

+

< The number of Z-Levels in the map.

+ + + diff --git a/obj/procedural/jp_DungeonGenerator.html b/obj/procedural/jp_DungeonGenerator.html new file mode 100644 index 00000000000..530de5bb7ab --- /dev/null +++ b/obj/procedural/jp_DungeonGenerator.html @@ -0,0 +1,56 @@ + + + + + + + /obj/procedural/jp_DungeonGenerator - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

jp_DungeonGenerator + + + +

+ + + + +

Procs

errStringExternal procedures, intended to be used by user code.
regionCreate
updateWallConnectionsInternal procedures. Might be useful if you're writing a /jp_DungeonRoom datum. +Probably not useful if you just want to make a simple dungeon

Proc Details

errString +

+

External procedures, intended to be used by user code.

regionCreate +

+
The remaining procedures are seriously internal, and I strongly suggest not    *
+
+

touching them unless you're certain you know what you're doing. That includes * +calling them, unless you've figured out what the side-effects and assumptions * +of the procedure are. These may not work except in the context of a generate() * +call.

updateWallConnections +

+

Internal procedures. Might be useful if you're writing a /jp_DungeonRoom datum. +Probably not useful if you just want to make a simple dungeon

+ + + diff --git a/obj/structure.html b/obj/structure.html new file mode 100644 index 00000000000..2cab22b45df --- /dev/null +++ b/obj/structure.html @@ -0,0 +1,40 @@ + + + + + + + /obj/structure - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

structure + + + +

+ + +

Procs

get_fall_damageAn overridable proc used by SSfalling to determine whether if the object deals +mimimal dmg or their w_class * 10

Proc Details

get_fall_damage +

+

An overridable proc used by SSfalling to determine whether if the object deals +mimimal dmg or their w_class * 10

+

@return ITEM_SIZE_TINY * 10 if w_class is not defined in subtypes structures +w_class * 10 if w_class is set

+

Values are found in code/__defines/inventory_sizes.dm

+ + + diff --git a/obj/structure/burrow.html b/obj/structure/burrow.html new file mode 100644 index 00000000000..8c296619a91 --- /dev/null +++ b/obj/structure/burrow.html @@ -0,0 +1,71 @@ + + + + + + + /obj/structure/burrow - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

burrow + + + +

+ + + + + + +

Procs

attackbyCollapsing burrows. Slow and hard work, but failure will make the next attempt easier, +so you'll get it eventually. +Uses digging quality, and user's robust or mechanical stats
audioAudio Management
break_openBreaking and rubble
enter_burrowBurrow entering
spread_plantsPlant Management

Proc Details

attackby +

+

Collapsing burrows. Slow and hard work, but failure will make the next attempt easier, +so you'll get it eventually. +Uses digging quality, and user's robust or mechanical stats

+

While burrow is still emerging (cracks) player can attempt to weld it +Hole can be closed easely with metal sheets

+

Breaking a hole with a crowbar is theoretically possible, but extremely slow and difficult. You are strongly +advised to use proper mining tools. A pickaxe or a drill will do the job in a reasonable time

audio +

+

Audio Management

break_open +

+

Breaking and rubble

enter_burrow +

+

Burrow entering

spread_plants +

+

Plant Management

+ + + diff --git a/obj/structure/closet.html b/obj/structure/closet.html new file mode 100644 index 00000000000..b17ea198371 --- /dev/null +++ b/obj/structure/closet.html @@ -0,0 +1,35 @@ + + + + + + + /obj/structure/closet - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

closet + + + +

+ + +

Procs

MouseDrop_TSo mechs dont open these when attacking.

Proc Details

MouseDrop_T +

+

So mechs dont open these when attacking.

+ + + diff --git a/obj/structure/closet/crate/miningcar.html b/obj/structure/closet/crate/miningcar.html new file mode 100644 index 00000000000..f916605c692 --- /dev/null +++ b/obj/structure/closet/crate/miningcar.html @@ -0,0 +1,29 @@ + + + + + + + /obj/structure/closet/crate/miningcar - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types +
+
+

miningcar + + + +

+ +

Pickaxe

+

Mining car (Crate like thing, not the rail car)

+ + + diff --git a/obj/structure/disposalconstruct.html b/obj/structure/disposalconstruct.html new file mode 100644 index 00000000000..632fd918a7e --- /dev/null +++ b/obj/structure/disposalconstruct.html @@ -0,0 +1,50 @@ + + + + + + + /obj/structure/disposalconstruct - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

disposalconstruct + + + +

+ + + +

Procs

attackbyZ-Level stuff +Z-Level stuff
hideZ-Level stuff +Z-Level stuff +Z-Level stuff +Z-Level stuff

Proc Details

attackby +

+

Z-Level stuff +Z-Level stuff

hide +

+

Z-Level stuff +Z-Level stuff +Z-Level stuff +Z-Level stuff

+ + + diff --git a/obj/structure/disposalpipe.html b/obj/structure/disposalpipe.html new file mode 100644 index 00000000000..625dfed36a9 --- /dev/null +++ b/obj/structure/disposalpipe.html @@ -0,0 +1,37 @@ + + + + + + + /obj/structure/disposalpipe - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

disposalpipe + + + +

+ + +

Procs

DestroyZ-Level stuff +Z-Level stuff end

Proc Details

Destroy +

+

Z-Level stuff +Z-Level stuff end

+ + + diff --git a/obj/structure/forklift_platform.html b/obj/structure/forklift_platform.html new file mode 100644 index 00000000000..7c9ea015166 --- /dev/null +++ b/obj/structure/forklift_platform.html @@ -0,0 +1,35 @@ + + + + + + + /obj/structure/forklift_platform - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

forklift_platform + + + +

+ + +

Procs

can_prevent_fallWe can prevent the fall of humans and structures , but everything else will just fall down

Proc Details

can_prevent_fall +

+

We can prevent the fall of humans and structures , but everything else will just fall down

+ + + diff --git a/obj/structure/lattice.html b/obj/structure/lattice.html new file mode 100644 index 00000000000..5d2ced84f8c --- /dev/null +++ b/obj/structure/lattice.html @@ -0,0 +1,37 @@ + + + + + + + /obj/structure/lattice - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

lattice + + + +

+ + +

Procs

DestroyZ-Level Stuff +Z-Level Stuff

Proc Details

Destroy +

+

Z-Level Stuff +Z-Level Stuff

+ + + diff --git a/procpath.html b/procpath.html new file mode 100644 index 00000000000..fc920392581 --- /dev/null +++ b/procpath.html @@ -0,0 +1,73 @@ + + + + + + + /procpath - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Var Details
+
+

procpath + + + +

+ +

Represents a proc or verb path.

+

Despite having no DM-defined static type, proc paths have some variables, +listed below. These are not modifiable, but for a given procpath P, +new P(null, "Name", "Desc") can be used to create a new procpath with the +same code but new name and desc values. The other variables cannot be +changed in this way.

+

This type exists only to act as an annotation, providing reasonable static +typing for procpaths. Previously, types like /atom/verb were used, with +the name and desc vars of /atom thus being accessible. Proc and verb +paths will fail istype and ispath checks against /procpath.

+ + + + +

Vars

categoryThe category or tab the verb will appear in.
descThe verb's help text or description.
hiddenWhether or not the verb appears in statpanel and commandbar when you press space
invisibilityOnly clients/mobs with see_invisibility higher can use the verb.
nameA text string of the verb's name.
+

Var Details

category + + + + +

+

The category or tab the verb will appear in.

desc + + + + +

+

The verb's help text or description.

hidden + + + + +

+

Whether or not the verb appears in statpanel and commandbar when you press space

invisibility + + + + +

+

Only clients/mobs with see_invisibility higher can use the verb.

name + + + + +

+

A text string of the verb's name.

+ + + diff --git a/turf.html b/turf.html new file mode 100644 index 00000000000..1678760dd09 --- /dev/null +++ b/turf.html @@ -0,0 +1,44 @@ + + + + + + + /turf - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

turf + + + +

+ + + +

Procs

ChangeTurfTurf Changed Handling
fallThroughIf anything on our turf stops falls downwards +If anything below stops falls from above

Proc Details

ChangeTurf +

+

Turf Changed Handling

fallThrough +

+

If anything on our turf stops falls downwards +If anything below stops falls from above

+ + + diff --git a/turf/simulated/wall.html b/turf/simulated/wall.html new file mode 100644 index 00000000000..d78ae401c0c --- /dev/null +++ b/turf/simulated/wall.html @@ -0,0 +1,35 @@ + + + + + + + /turf/simulated/wall - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

wall + + + +

+ + +

Procs

melt!OH SHIT!!

Proc Details

melt +

+

!OH SHIT!!

+ + + diff --git a/world.html b/world.html new file mode 100644 index 00000000000..07d864cf93c --- /dev/null +++ b/world.html @@ -0,0 +1,76 @@ + + + + + + + /world - Space Station 13 + + +
+ Space Station 13 - + Modules - + Types + — Proc Details
+
+

World + + + +

+ +

Two possibilities exist: either we are alone in the Universe or we are not. Both are equally terrifying. ~ Arthur C. Clarke

+

The byond world object stores some basic byond level config, and has a few hub specific procs for managing hub visiblity

+

The world /New() is the root of where a round itself begins

+ + +

Procs

ImmediateInvokeAsyncImmediately Invoke proctocall on thingtocall, with waitfor set to false
NewWorld creation
push_usrMakes a call in the context of a different usr. Use sparingly

Proc Details

ImmediateInvokeAsync +

+

Immediately Invoke proctocall on thingtocall, with waitfor set to false

+

Arguments:

+
    +
  • thingtocall Object to call on
  • +
  • proctocall Proc to call on that object
  • +
  • ... optional list of arguments to pass as arguments to the proc being called
  • +

New +

+

World creation

+

Here is where a round itself is actually begun and setup.

+
    +
  • db connection setup
  • +
  • config loaded from files
  • +
  • loads admins
  • +
  • and most importantly, calls initialize on the master subsystem, starting the game loop that causes the rest of the game to begin processing and setting up
  • +
+

Nothing happens until something moves. ~Albert Einstein

+

For clarity, this proc gets triggered later in the initialization pipeline, it is not the first thing to happen, as it might seem.

+

Initialization Pipeline: +Global vars are new()'ed, (including config, glob, and the master controller will also new and preinit all subsystems when it gets new()ed) +Compiled in maps are loaded (mainly centcom). all areas/turfs/objs/mobs(ATOMs) in these maps will be new()ed +world/New() (You are here) +Once world/New() returns, client's can connect. +1 second sleep +Master Controller initialization. +Subsystem initialization. +Non-compiled-in maps are maploaded, all atoms are new()ed +All atoms in both compiled and uncompiled maps are initialized()

push_usr +

+

Makes a call in the context of a different usr. Use sparingly

+ + +