From 3550a78a2ca957b72b6b62a46b60343b6ab826e2 Mon Sep 17 00:00:00 2001 From: robuddybot Date: Sat, 26 Oct 2024 19:12:02 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20=20@=208934c?= =?UTF-8?q?fd38f9f842b21a7e595c7714ec0f38952d2=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .nojekyll | 1 + CNAME | 1 + _is_abstract/area/shuttle.html | 9 + _is_abstract/datum/component/pitfall.html | 35 + _is_abstract/mob/living/critter/human.html | 4 + .../obj/mapping_helper/turf/floor.html | 8 + _std.html | 10 + _std/__build.html | 3 + _std/color.html | 11 + _std/compatibility.html | 1 + _std/copy.html | 1 + _std/datum.html | 1 + _std/defines/_units.html | 1 + _std/defines/abilities.html | 5 + _std/defines/access.html | 1 + _std/defines/actions.html | 1 + _std/defines/admin.html | 1 + _std/defines/ailments.html | 1 + _std/defines/atom.html | 17 + _std/defines/burning.html | 1 + _std/defines/chemistry.html | 1 + _std/defines/clothing.html | 3 + _std/defines/combat.html | 5 + .../_component_defines_integral.html | 11 + .../component_defines_atom.html | 3 + .../component_defines_datum.html | 1 + .../component_defines_global.html | 37 + .../component_defines_mechcomp.html | 1 + .../component_defines_special.html | 1 + _std/defines/construction.html | 1 + _std/defines/crew_credits.html | 1 + _std/defines/critter.html | 1 + _std/defines/economy.html | 1 + _std/defines/ephemeral.html | 11 + _std/defines/events.html | 1 + _std/defines/food.html | 1 + _std/defines/gang.html | 3 + _std/defines/hydroponics.html | 1 + _std/defines/item.html | 3 + _std/defines/lag.html | 1 + _std/defines/landmarks.html | 1 + _std/defines/layer.html | 1 + _std/defines/logging.html | 1 + _std/defines/materials.html | 1 + _std/defines/mechanics.html | 1 + _std/defines/medical.html | 1 + _std/defines/mob.html | 2 + _std/defines/obj.html | 1 + _std/defines/process.html | 1 + _std/defines/radio.html | 1 + _std/defines/reagents.html | 1 + _std/defines/robot.html | 1 + _std/defines/shuttle.html | 1 + _std/defines/sound.html | 1 + _std/defines/spacebee_extension.html | 3 + _std/defines/stamina.html | 1 + _std/defines/status_display.html | 1 + _std/defines/status_effects.html | 1 + _std/defines/storage.html | 1 + _std/defines/surgery.html | 1 + _std/defines/temperatures.html | 1 + _std/defines/time.html | 1 + _std/defines/traits.html | 1 + _std/defines/turf.html | 1 + _std/defines/vehicles.html | 1 + _std/defines/wages.html | 1 + _std/defines/worldgen.html | 1 + _std/filesystem.html | 1 + _std/lists.html | 1 + _std/machinery.html | 1 + _std/macros/_metamacros.html | 1 + _std/macros/actions.html | 18 + _std/macros/antag_popups.html | 1 + _std/macros/appearance.html | 7 + _std/macros/area.html | 1 + _std/macros/atmos.html | 1 + _std/macros/atom_properties.html | 3 + _std/macros/chat_output.html | 20 + _std/macros/client.html | 1 + _std/macros/cooldown.html | 12 + _std/macros/debug.html | 7 + _std/macros/dir.html | 5 + _std/macros/dist.html | 3 + _std/macros/factions.html | 1 + _std/macros/flags.html | 1 + _std/macros/flock.html | 1 + _std/macros/fluid_defines.html | 1 + _std/macros/hud.html | 1 + _std/macros/ismob.html | 3 + _std/macros/items.html | 1 + _std/macros/job_xp.html | 6 + _std/macros/list.html | 1 + _std/macros/maps.html | 1 + _std/macros/matrix.html | 9 + _std/macros/movable.html | 1 + _std/macros/process.html | 1 + _std/macros/procs.html | 1 + _std/macros/qdel.html | 1 + _std/macros/strings.html | 1 + _std/macros/time.html | 1 + _std/macros/transfers.html | 1 + _std/macros/turf.html | 21 + _std/map.html | 5 + _std/math.html | 27 + _std/packets.html | 1 + _std/parallax.html | 1 + _std/pathfinding.html | 6 + _std/plain_data.html | 1 + _std/plane.html | 1 + _std/procpath.html | 2 + _std/promises.html | 5 + _std/rust_g.html | 131 +++ _std/setup.html | 1 + _std/sorting.html | 3 + _std/spatial_hashing.html | 1 + _std/text.html | 2 + _std/tgs.html | 1 + _std/tgui.html | 1 + _std/types.html | 26 + _std/unionfind.html | 1 + _std/weakref.html | 4 + _std/zlevel.html | 1 + area.html | 44 + area/iomoon.html | 1 + area/unconnected_zone.html | 5 + area/upper_arctic.html | 9 + atom.html | 100 +++ atom/movable.html | 7 + atom/movable/minimap_ui_handler.html | 2 + .../minimap_controller.html | 1 + atom/movable/screen.html | 7 + atom/movable/screen/control_point.html | 1 + atom/movable/screen/hud/relay.html | 1 + atom/movable/screen/hud/score_board.html | 1 + atom/movable/screen/parallax_layer.html | 1 + .../screen/parallax_render_source.html | 10 + atom/movable/screen/plane_parent.html | 1 + client.html | 76 ++ code/WorkInProgress/AbilityItem.html | 1 + code/WorkInProgress/GerhazoStuff.html | 5 + code/WorkInProgress/Hydrothings.html | 1 + code/WorkInProgress/MarqStuff.html | 1 + code/WorkInProgress/SpyGuyStuff.html | 1 + code/WorkInProgress/aloe_stuff_public.html | 1 + .../artemis/GeneratePlanets.html | 1 + code/WorkInProgress/artemis/artemis.html | 2 + code/WorkInProgress/blueprints.html | 1 + code/WorkInProgress/chess.html | 1 + code/WorkInProgress/cloner_defects.html | 2 + code/WorkInProgress/golf.html | 1 + code/WorkInProgress/nadir_antenna.html | 1 + code/WorkInProgress/pali/pali.html | 1 + code/WorkInProgress/racing.html | 1 + code/WorkInProgress/tarmStuff.html | 1 + code/WorkInProgress/warcrimes.html | 1 + code/_placeholder.html | 1 + code/area.html | 1 + code/atom/UpdateOverlays.html | 1 + code/chui/chui.html | 1 + code/datums/abilities/brassgauntlet.html | 1 + code/datums/abilities/critter/arc.html | 1 + code/datums/abilities/critter/powerkick.html | 2 + code/datums/abilities/diabolical.html | 1 + code/datums/actions/actions.html | 2 + code/datums/banking.html | 7 + code/datums/browserOutput.html | 1 + code/datums/character_preview.html | 3 + code/datums/client_image_group.html | 1 + code/datums/cloud_saves.html | 15 + code/datums/components/_component.html | 1 + code/datums/components/analyzable.html | 3 + code/datums/components/arable.html | 1 + code/datums/components/assembly_comp.html | 3 + code/datums/components/bloodflick.html | 1 + code/datums/components/bullet_holes.html | 1 + .../complexsignal/complexsignal.html | 8 + code/datums/components/conveyor_lay.html | 1 + .../components/extradimensional_storage.html | 1 + .../components/flock/flockprotection.html | 1 + code/datums/components/flock/ping.html | 1 + code/datums/components/food_stuff.html | 1 + code/datums/components/fragile_item.html | 1 + code/datums/components/ghost_observable.html | 1 + code/datums/components/hallucinations.html | 1 + code/datums/components/mechComp_signals.html | 1 + code/datums/components/pitfall.html | 1 + code/datums/components/seedy.html | 1 + code/datums/components/transfers.html | 1 + .../components/transform_on_pickup.html | 1 + code/datums/controllers/action_controls.html | 1 + code/datums/controllers/job_controls.html | 1 + code/datums/controllers/process/_process.html | 1 + code/datums/controllers/process/actions.html | 1 + .../controllers/process/ai_tracking.html | 1 + .../controllers/process/air_system.html | 1 + .../controllers/process/area_process.html | 3 + code/datums/controllers/process/arena.html | 1 + code/datums/controllers/process/blob.html | 1 + code/datums/controllers/process/camnet.html | 1 + .../datums/controllers/process/chemistry.html | 1 + code/datums/controllers/process/critters.html | 1 + .../process/cross_server_sync.html | 1 + .../controllers/process/delete_queue.html | 1 + .../controllers/process/explosions.html | 1 + code/datums/controllers/process/flock.html | 1 + code/datums/controllers/process/fluid.html | 1 + .../controllers/process/fluid_spawner.html | 1 + .../controllers/process/forcedMovement.html | 1 + .../process/ghost_notifications.html | 1 + .../controllers/process/healthupdates.html | 1 + code/datums/controllers/process/items.html | 1 + code/datums/controllers/process/kudzu.html | 1 + code/datums/controllers/process/lighting.html | 1 + code/datums/controllers/process/machines.html | 1 + code/datums/controllers/process/mob_ai.html | 2 + code/datums/controllers/process/mob_ui.html | 1 + code/datums/controllers/process/mobs.html | 1 + .../datums/controllers/process/particles.html | 1 + .../datums/controllers/process/poll_sync.html | 1 + code/datums/controllers/process/railway.html | 1 + .../controllers/process/random_events.html | 1 + code/datums/controllers/process/respawn.html | 1 + .../controllers/process/shipping_market.html | 1 + .../controllers/process/stamina_updates.html | 1 + .../controllers/process/statusEffects.html | 1 + .../controllers/process/stock_market.html | 1 + .../datums/controllers/process/telescope.html | 1 + code/datums/controllers/process/tgui.html | 1 + code/datums/controllers/process/ticker.html | 1 + code/datums/controllers/process/world.html | 1 + code/datums/customization_styles.html | 1 + code/datums/datacore.html | 2 + code/datums/digital_filter.html | 4 + code/datums/disjoint_turf.html | 1 + .../effects/system/bad_smoke_spread.html | 1 + .../effects/system/harmless_smoke_spread.html | 1 + .../effects/system/mustard_gas_spread.html | 1 + code/datums/ehjax.html | 2 + code/datums/flock/flock.html | 1 + code/datums/flock/flockstats.html | 8 + code/datums/flock/flockunlockable.html | 3 + code/datums/gamemodes/gangwar.html | 1 + code/datums/gamemodes/nuclear.html | 1 + code/datums/gamemodes/pod_wars.html | 1 + .../gamemodes/pod_wars/pw_manufacturing_.html | 1 + .../gamemodes/pod_wars/pw_misc_objects.html | 1 + .../gamemodes/pod_wars/pw_stats_manager.html | 1 + .../datums/gamemodes/pod_wars/pw_weapons.html | 1 + code/datums/http.html | 1 + code/datums/hud/critter.html | 1 + code/datums/hud/silicon.html | 1 + code/datums/ircbot.html | 1 + code/datums/jsErrorHandler.html | 1 + code/datums/limb.html | 2 + code/datums/manufacturing.html | 1 + code/datums/manufacturing_requirements.html | 3 + code/datums/mutantraces.html | 1 + code/datums/named_colors.html | 3 + code/datums/part_customization.html | 1 + code/datums/pda_ringtones.html | 1 + code/datums/rand.html | 1 + code/datums/round_management.html | 1 + code/datums/spawn_rules.html | 1 + code/datums/syndicate_buylist.html | 1 + code/datums/teg_transform.html | 2 + code/datums/titlecard.html | 1 + code/datums/zoldorfitems.html | 1 + code/del.html | 1 + code/global.html | 2 + code/map.html | 2 + code/mob/living/carbon/human/gimmick.html | 1 + code/mob/living/carbon/human/npc.html | 1 + code/mob/living/carbon/human/virtual.html | 1 + code/mob/living/critter.html | 1 + code/mob/living/critter/adventure.html | 1 + .../living/critter/ai/flock/flocktasks.html | 1 + .../living/critter/ai/generic_aiholders.html | 1 + .../living/critter/ai/generic_critter.html | 1 + code/mob/living/critter/ai/mimic.html | 1 + .../mob/living/critter/humanoid/brullbar.html | 1 + code/mob/living/critter/humanoid/human.html | 1 + .../mob/living/critter/humanoid/skeleton.html | 1 + code/mob/living/critter/martian.html | 1 + code/mob/living/critter/mob_bots.html | 1 + code/mob/living/critter/small_animal.html | 1 + .../living/intangible/flockmob_parent.html | 1 + .../living/intangible/wraith/poltergeist.html | 1 + .../silicon/hivebot/hivebot_statusupdate.html | 1 + code/mob/melee_attack_procs.html | 1 + code/modules/admin/admin.html | 5 + .../antagonist_panel/antagonist_panel.html | 3 + .../antagonist_panel_data.html | 4 + .../antagonist_panel_tab.html | 2 + code/modules/admin/ban_panel.html | 1 + .../adventure/elements/proccaller.html | 1 + .../adventure/elements/vareditor.html | 1 + code/modules/admin/centcomviewer.html | 1 + code/modules/admin/data_input.html | 2 + code/modules/admin/jobban.html | 1 + code/modules/admin/player_panel.html | 1 + code/modules/admin/playernotes.html | 1 + .../modules/admin/region_allocator_panel.html | 1 + .../admin/spacebee_extension/arguments.html | 1 + .../spacebee_extension/command_structure.html | 6 + .../admin/spacebee_extension/system.html | 1 + .../viewvariables/color_matrix_editor.html | 1 + .../admin/viewvariables/filterrific.html | 7 + .../particool_serialization.html | 2 + code/modules/animation/AnimationLibrary.html | 6 + .../antagonists/antagonist_helpers.html | 2 + .../abilities/_arcfiend_ability_holder.html | 1 + .../arcfiend/abilities/arc_flash.html | 1 + .../arcfiend/abilities/discharge.html | 1 + .../antagonists/arcfiend/abilities/flash.html | 1 + .../arcfiend/abilities/jamming_field.html | 1 + .../antagonists/arcfiend/abilities/jolt.html | 3 + .../arcfiend/abilities/polarize.html | 1 + .../abilities/ride_the_lightning.html | 2 + .../arcfiend/abilities/sap_power.html | 2 + .../changeling/abilities/regeneration.html | 1 + .../abilities/_grinch_ability_holder.html | 1 + code/modules/antagonists/hunter/hunter.html | 1 + .../antagonists/traitor/sleeper_agent.html | 1 + .../abilities/_vampire_ability_holder.html | 1 + .../abilities/_werewolf_ability_holder.html | 1 + .../abilities/_wizard_ability_holder.html | 1 + .../wraith/objs/item/spirit_candle.html | 1 + .../status_system/skeleton_commander.html | 1 + .../abilities/_wrestler_ability_holder.html | 1 + code/modules/atmospherics/FEA_airgroup.html | 3 + code/modules/atmospherics/FEA_fire.html | 1 + .../modules/atmospherics/FEA_gas_mixture.html | 1 + code/modules/atmospherics/FEA_turf_tile.html | 1 + code/modules/atmospherics/machinery.html | 6 + .../atmospherics/machinery/binary/pump.html | 1 + .../atmospherics/machinery/binary/valve.html | 1 + .../machinery/binary/volume_pump.html | 3 + code/modules/atmospherics/machinery/pipe.html | 1 + .../atmospherics/machinery/trinary/mixer.html | 1 + .../machinery/unary/vent_scrubber.html | 1 + .../portable/portable_pressurizer.html | 1 + code/modules/barber/barber_shop.html | 1 + code/modules/camera/camera.html | 1 + code/modules/camera/network.html | 1 + .../chemistry/Chemistry-Machinery.html | 1 + .../chemistry/Chemistry-Reactions.html | 1 + .../modules/chemistry/Chemistry-Reagents.html | 1 + code/modules/chemistry/Chemistry-Recipes.html | 1 + code/modules/chemistry/Chemistry-Tools.html | 2 + code/modules/chemistry/Reagents-Misc.html | 1 + .../modules/chemistry/Reagents-PoisonEtc.html | 1 + .../chemistry/Reagents-Transmutation.html | 2 + .../modules/chemistry/chemicompiler_core.html | 1 + code/modules/chemistry/tools/bottles.html | 1 + .../chemistry/tools/emergency_injectors.html | 2 + code/modules/chemistry/tools/jars.html | 1 + code/modules/config/ckey_configs.html | 3 + code/modules/disposals/conveyor.html | 1 + code/modules/disposals/disposal.html | 1 + code/modules/disposals/mail_chute.html | 1 + code/modules/economy/commodity.html | 1 + code/modules/economy/requisition/rc_aid.html | 4 + .../economy/requisition/rc_civilian.html | 3 + .../economy/requisition/rc_scientific.html | 3 + .../economy/requisition/rc_special.html | 4 + .../requisition/requisition_contracts.html | 5 + code/modules/economy/shippingmarket.html | 1 + code/modules/economy/stocks/stock_borrow.html | 1 + code/modules/economy/stocks/stock_events.html | 1 + .../modules/economy/stocks/stock_helpers.html | 1 + .../economy/stocks/stock_industries.html | 1 + .../modules/economy/stocks/stock_tickers.html | 1 + code/modules/economy/trader.html | 1 + code/modules/events/gimmick/bigfart.html | 1 + code/modules/events/law_corruption.html | 1 + code/modules/events/meteor_shower.html | 1 + code/modules/fishing/fishing_gear.html | 1 + code/modules/fishing/fishing_lootpools.html | 8 + code/modules/fishing/fishing_spots.html | 1 + code/modules/fluids/fluid_core.html | 1 + code/modules/fluids/fluid_groups.html | 1 + code/modules/fluids/fluid_objects.html | 1 + code/modules/fluids/fluid_turf.html | 1 + code/modules/food_and_drink/ingredients.html | 1 + code/modules/goonhub/api/api.html | 1 + code/modules/goonhub/api/apiGuide.html | 178 ++++ code/modules/goonhub/api/models/Error.html | 1 + code/modules/goonhub/api/models/Message.html | 1 + .../goonhub/api/models/_Paginated.html | 2 + .../goonhub/api/models/_PlayerResParent.html | 2 + code/modules/goonhub/api/models/_Tracked.html | 2 + code/modules/goonhub/api/models/apiModel.html | 2 + .../goonhub/api/models/bans/BanDetail.html | 1 + .../goonhub/api/models/bans/BanResource.html | 1 + .../api/models/bans/BanResourceList.html | 1 + .../api/models/bans/JobBanResource.html | 1 + .../api/models/bans/JobBanResourceList.html | 1 + .../api/models/bans/JobBansForPlayer.html | 1 + .../models/dectalk/DectalkPlayResource.html | 1 + .../api/models/events/EventAiLawResource.html | 1 + .../api/models/events/EventFineResource.html | 1 + .../events/EventStationNameResource.html | 1 + .../models/events/EventTicketResource.html | 1 + .../api/models/gameadmins/GameAdmin.html | 1 + .../api/models/gameadmins/GameAdminRank.html | 1 + .../models/gameadmins/GameAdminResource.html | 1 + .../models/gauntlet/PreviousGauntlets.html | 1 + .../goonhub/api/models/maps/MapSwitch.html | 1 + .../api/models/medals/HasMedalResource.html | 1 + .../api/models/medals/MedalResource.html | 1 + .../NumbersStationPasswordResource.html | 1 + .../api/models/players/GetPlayerSaves.html | 1 + .../models/players/PlayerAntagResource.html | 1 + .../models/players/PlayerCompIdsResource.html | 1 + .../api/models/players/PlayerConnection.html | 1 + .../models/players/PlayerDataResource.html | 1 + .../api/models/players/PlayerIpsResource.html | 1 + .../models/players/PlayerMedalResource.html | 1 + .../players/PlayerMedalResourceList.html | 1 + .../models/players/PlayerMetadataArray.html | 1 + .../models/players/PlayerMetadataList.html | 1 + .../players/PlayerMetadataResource.html | 1 + .../models/players/PlayerNoteResource.html | 1 + .../players/PlayerNoteResourceList.html | 1 + .../players/PlayerParticipationResource.html | 1 + .../api/models/players/PlayerResource.html | 1 + .../models/players/PlayerSaveResource.html | 1 + .../models/players/PlayerStatsResource.html | 1 + .../players/weird/PlayerSearchResource.html | 1 + .../api/models/polls/PollAnswerResource.html | 1 + .../api/models/polls/PollOptionResource.html | 1 + .../api/models/polls/PollResource.html | 1 + .../api/models/polls/PollResourceList.html | 1 + .../models/randomentries/RandomEntries.html | 1 + .../goonhub/api/models/rounds/GameRound.html | 1 + .../api/models/vpn/VpnCheckResource.html | 1 + .../api/models/vpn/VpnWhitelistResource.html | 1 + .../api/models/vpn/VpnWhitelistSearch.html | 1 + .../modules/goonhub/api/requests/apiBody.html | 2 + .../goonhub/api/routes/RandomEntries.html | 2 + .../goonhub/api/routes/RemoteMusic.html | 2 + .../modules/goonhub/api/routes/TestRoute.html | 2 + code/modules/goonhub/api/routes/apiRoute.html | 3 + .../api/routes/bans/AddBanDetails.html | 2 + .../goonhub/api/routes/bans/AddBans.html | 2 + .../goonhub/api/routes/bans/CheckBans.html | 2 + .../goonhub/api/routes/bans/DeleteBans.html | 2 + .../goonhub/api/routes/bans/GetBans.html | 2 + .../api/routes/bans/RemoveBanDetails.html | 2 + .../goonhub/api/routes/bans/UpdateBans.html | 2 + .../api/routes/dectalk/PlayDectalk.html | 2 + .../gameadminranks/AddGameAdminRanks.html | 2 + .../gameadminranks/DeleteGameAdminRanks.html | 2 + .../gameadminranks/GetGameAdminRanks.html | 2 + .../gameadminranks/UpdateGameAdminRanks.html | 2 + .../api/routes/gameadmins/AddGameAdmins.html | 2 + .../routes/gameadmins/DeleteGameAdmins.html | 2 + .../api/routes/gameadmins/GetGameAdmins.html | 2 + .../routes/gameadmins/UpdateGameAdmins.html | 2 + .../routes/gauntlet/GetPreviousGauntlets.html | 2 + .../api/routes/jobbans/AddJobBans.html | 2 + .../api/routes/jobbans/CheckJobBans.html | 2 + .../api/routes/jobbans/DeleteJobBans.html | 2 + .../api/routes/jobbans/GetJobBans.html | 2 + .../api/routes/jobbans/GetPlayerJobBans.html | 2 + .../api/routes/jobbans/UpdateJobBans.html | 2 + .../goonhub/api/routes/maps/MapSwitches.html | 2 + .../GetNumbersStationNumbers.html | 2 + .../api/routes/players/PlayerAntags.html | 2 + .../api/routes/players/PlayerCompIds.html | 2 + .../goonhub/api/routes/players/PlayerIps.html | 2 + .../api/routes/players/PlayerLogin.html | 2 + .../routes/players/PlayerParticipations.html | 2 + .../players/PlayerParticipationsBulk.html | 2 + .../api/routes/players/PlayerPlaytime.html | 2 + .../api/routes/players/PlayerStats.html | 2 + .../routes/players/medals/AddPlayerMedal.html | 2 + .../players/medals/DeletePlayerMedal.html | 2 + .../players/medals/GetPlayerMedals.html | 2 + .../routes/players/medals/HasPlayerMedal.html | 2 + .../players/medals/TransferPlayerMedals.html | 2 + .../players/metadata/AddPlayerMetadata.html | 2 + .../metadata/DeleteFromPlayerMetadata.html | 2 + .../metadata/DeletePlayerMetadata.html | 2 + .../players/metadata/GetMetadataByPlayer.html | 2 + .../players/metadata/GetPlayerMetadata.html | 2 + .../metadata/GetPlayersByMetadata.html | 2 + .../routes/players/notes/AddPlayerNotes.html | 2 + .../players/notes/DeletePlayerNotes.html | 2 + .../routes/players/notes/GetPlayerNotes.html | 2 + .../players/notes/UpdatePlayerNotes.html | 2 + .../players/saves/AddBulkDataPlayerSaves.html | 2 + .../players/saves/AddDataPlayerSaves.html | 2 + .../players/saves/AddFilePlayerSaves.html | 2 + .../players/saves/DeleteDataPlayerSaves.html | 2 + .../players/saves/DeleteSavePlayerSaves.html | 2 + .../routes/players/saves/GetPlayerSaves.html | 2 + .../saves/TransferDataPlayerSaves.html | 3 + .../goonhub/api/routes/polls/AddPoll.html | 2 + .../api/routes/polls/AddPollOption.html | 2 + .../goonhub/api/routes/polls/DeletePoll.html | 2 + .../api/routes/polls/DeletePollOption.html | 2 + .../goonhub/api/routes/polls/EditPoll.html | 2 + .../api/routes/polls/EditPollOption.html | 2 + .../goonhub/api/routes/polls/GetPoll.html | 2 + .../goonhub/api/routes/polls/GetPolls.html | 2 + .../goonhub/api/routes/polls/PickOption.html | 2 + .../api/routes/polls/UnpickOption.html | 2 + .../api/routes/rounds/AddGameRound.html | 2 + .../api/routes/rounds/EndGameRound.html | 2 + .../api/routes/rounds/UpdateGameRound.html | 2 + .../api/routes/vpn/AddVpnWhitelist.html | 2 + .../goonhub/api/routes/vpn/CheckVpn.html | 2 + .../api/routes/vpn/DeleteVpnWhitelist.html | 2 + .../api/routes/vpn/SearchVpnWhitelist.html | 2 + .../goonhub/event_recording/events/AILaw.html | 1 + .../goonhub/event_recording/events/Antag.html | 1 + .../events/AntagItemPurchase.html | 1 + .../events/AntagObjective.html | 1 + .../event_recording/events/BeeSpawn.html | 1 + .../events/CyborgModuleSelection.html | 1 + .../goonhub/event_recording/events/Death.html | 1 + .../goonhub/event_recording/events/Error.html | 1 + .../goonhub/event_recording/events/Fine.html | 1 + .../events/GauntletHighScore.html | 1 + .../goonhub/event_recording/events/Log.html | 1 + .../event_recording/events/StationName.html | 1 + .../event_recording/events/Ticket.html | 1 + .../event_recording/events/eventRecord.html | 3 + .../event_recording/types/_TracksPlayer.html | 1 + .../event_recording/types/eventBody.html | 1 + code/modules/holiday/halloween.html | 1 + .../hydroponics/hydroponics_growth_ticks.html | 3 + .../hydroponics/hydroponics_misc_procs.html | 1 + code/modules/hydroponics/plants_herb.html | 1 + .../interface/action_associations.html | 1 + code/modules/interface/hudzones.html | 30 + .../interface/hudzones/hud_elements.html | 1 + .../modules/interface/hudzones/hud_zones.html | 1 + code/modules/interface/keybind_style.html | 1 + .../multiContext/context_actions.html | 1 + .../multiContext/context_layouts.html | 1 + code/modules/interface/skin_input_box.html | 1 + code/modules/items/specials/ItemSpecials.html | 1 + code/modules/jobxp/JobXPRewards.html | 1 + code/modules/lasers/_laser_sink.html | 1 + code/modules/localassets/localasset.html | 1 + .../modules/localassets/localassets_tgui.html | 1 + .../modules/mapping/helpers/access_spawn.html | 1 + code/modules/mapping/helpers/mob_spawn.html | 1 + .../modules/mapping/helpers/turf_helpers.html | 1 + code/modules/materials/Mat_FabParts.html | 2 + code/modules/materials/Mat_FabRecipes.html | 2 + code/modules/materials/Mat_Fabrication.html | 1 + code/modules/materials/Mat_Materials.html | 1 + code/modules/materials/Mat_Mining.html | 1 + code/modules/materials/Mat_ProcsDefines.html | 2 + code/modules/materials/Mat_Properties.html | 1 + code/modules/materials/Mat_RawMaterials.html | 1 + code/modules/materials/Mat_Recipes.html | 1 + code/modules/materials/materials.html | 27 + code/modules/mechanics/MechanicMadness.html | 1 + code/modules/medals/rewardsLocker.html | 1 + .../medical/genetics/bioEffects/powers.html | 1 + code/modules/medical/genetics/bioHolder.html | 1 + code/modules/medical/surgery_procs.html | 1 + .../markers/_minimap_marker_parent.html | 2 + .../_minimap_controller_parent.html | 2 + .../minimap/minimap_objects/minimap_ui.html | 2 + .../objects/_minimap_object_parent.html | 2 + .../minimap/minimaps/__minimap_parent.html | 2 + .../minimap/renderer/minimap_renderer.html | 5 + .../renderer/modifiers/_modifier_parent.html | 3 + code/modules/mining/mining_encounters.html | 1 + .../modules/networks/computer3/computer3.html | 1 + .../computer3/mainframe2/_base_os.html | 137 ++++ .../computer3/mainframe2/base_program.html | 5 + .../computer3/mainframe2/misc_terms.html | 1 + .../modules/networks/computer3/textfiles.html | 1 + .../parallax_render_source_group_parent.html | 9 + .../parallax_render_source_parent.html | 3 + .../parallax_render_sources.html | 1 + code/modules/polling/poll_manager.html | 1 + code/modules/power/TEG.html | 1 + code/modules/power/cable.html | 1 + code/modules/power/lighting.html | 1 + code/modules/power/pt_laser.html | 1 + code/modules/power/solar.html | 1 + code/modules/projectiles/energy_bolt.html | 1 + .../projectiles/projectile_parent.html | 3 + code/modules/robotics/bot/bot_parent.html | 1 + code/modules/robotics/bot/cleanbot.html | 1 + code/modules/robotics/bot/floorbot.html | 1 + code/modules/robotics/bot/mining.html | 1 + code/modules/robotics/bot/secbot.html | 3 + code/modules/robotics/robot/module/empty.html | 1 + .../modules/robotics/robot/module/parent.html | 1 + .../robot/module_tool_creator/parent.html | 1 + .../robotics/robot/robot_docking_station.html | 3 + code/modules/siphon/siphon_controls.html | 1 + code/modules/sound/djpanel.html | 1 + code/modules/sound/playsound.html | 3 + code/modules/sound/sound.html | 6 + code/modules/speech/logged_phrases.html | 26 + code/modules/status_system/statusEffects.html | 2 + code/modules/status_system/statusSystem.html | 2 + code/modules/status_system/status_system.html | 37 + code/modules/storage/machine.html | 1 + code/modules/storage/storage.html | 34 + code/modules/telescience/radiostation.html | 1 + .../telescience/telescope/telescopeMisc.html | 1 + code/modules/tgs.html | 13 + code/modules/tgs/core.html | 8 + code/modules/tgs/v4.html | 5 + code/modules/tgs/v5.html | 12 + code/modules/tgui/external.html | 3 + code/modules/tgui/states/admin.html | 1 + code/modules/tgui/states/always.html | 1 + code/modules/tgui/states/conscious.html | 1 + code/modules/tgui/states/contained.html | 1 + code/modules/tgui/states/deep_inventory.html | 1 + code/modules/tgui/states/default.html | 1 + code/modules/tgui/states/hands.html | 1 + code/modules/tgui/states/human_adjacent.html | 1 + code/modules/tgui/states/inventory.html | 1 + code/modules/tgui/states/not_broken.html | 1 + .../tgui/states/not_incapacitated.html | 1 + code/modules/tgui/states/notcontained.html | 1 + code/modules/tgui/states/observer.html | 1 + code/modules/tgui/states/physical.html | 1 + code/modules/tgui/states/self.html | 1 + code/modules/tgui/states/zlevel.html | 1 + code/modules/tgui/tgui.html | 2 + code/modules/tgui/tgui_alert.html | 2 + code/modules/tgui/tgui_color_picker.html | 1 + code/modules/tgui/tgui_input_bitfield.html | 2 + code/modules/tgui/tgui_input_list.html | 2 + code/modules/tgui/tgui_input_number.html | 2 + code/modules/tgui/tgui_input_pin.html | 2 + code/modules/tgui/tgui_input_text.html | 2 + code/modules/tgui/tgui_message.html | 4 + code/modules/tgui/tgui_window.html | 2 + code/modules/transport/pods/life_support.html | 1 + code/modules/transport/pods/locomotion.html | 1 + .../transport/pods/shipcomponents.html | 1 + code/modules/transport/pods/ships.html | 1 + code/modules/transport/pods/warp_travel.html | 2 + .../transport/shuttle/shuttle_controller.html | 1 + .../transport/shuttle/shuttle_turfobjs.html | 1 + code/modules/unit_tests.html | 46 ++ code/modules/unit_tests/_unit_tests.html | 7 + code/modules/unit_tests/deletions.html | 2 + .../worldgen/PrefabRuntimeChecker.html | 1 + .../worldgen/RandomRoomRuntimeChecker.html | 1 + .../worldgen/mapgen/DesertGenerator.html | 1 + .../worldgen/mapgen/IceMoonGenerator.html | 1 + .../worldgen/mapgen/JungleGenerator.html | 1 + .../worldgen/mapgen/LavaMoonGenerator.html | 1 + .../worldgen/mapgen/MarsGenerator.html | 1 + .../worldgen/mapgen/_MapGenerator.html | 1 + .../worldgen/mapgen/biomes/_biome.html | 1 + code/modules/worldgen/prefab/mapPrefab.html | 3 + .../region_allocator/region_allocator.html | 22 + code/modules/worldgen/worldgen_parent.html | 3 + code/modules/writing/paper.html | 1 + code/modules/writing/papers.html | 1 + code/obj/critter/automaton.html | 1 + code/obj/effects/ion_trail.html | 4 + code/obj/effects/particles.html | 1 + .../structure/flock_structure_parent.html | 1 + code/obj/flock/structure/gnesisturret.html | 1 + code/obj/flock/structure/sentinel.html | 1 + code/obj/item.html | 1 + code/obj/item/ai_modules.html | 1 + code/obj/item/assembly/misc_assemblies.html | 1 + code/obj/item/assembly/single_tank_bomb.html | 1 + code/obj/item/boardgame.html | 14 + code/obj/item/boardgame/boardgame.html | 5 + code/obj/item/book.html | 1 + code/obj/item/cable_coil.html | 1 + code/obj/item/clothing/fruithat.html | 1 + code/obj/item/clothing/gimmick.html | 1 + code/obj/item/clothing/shoes.html | 1 + code/obj/item/device/chemicompiler.html | 8 + code/obj/item/device/infrared_stuff.html | 1 + code/obj/item/device/pda2/ringtone.html | 1 + code/obj/item/device/radio.html | 4 + code/obj/item/device/radios/intercoms.html | 1 + code/obj/item/device/scanners.html | 1 + code/obj/item/device/studio_monitor.html | 1 + code/obj/item/device/transfer_valve.html | 1 + code/obj/item/generic_box.html | 1 + code/obj/item/grenades.html | 1 + code/obj/item/gun/ammo.html | 1 + code/obj/item/gun/energy.html | 3 + code/obj/item/hydroponics.html | 1 + code/obj/item/implant.html | 1 + code/obj/item/kitchen.html | 4 + code/obj/item/manufacturing_blueprints.html | 1 + code/obj/item/material.html | 1 + code/obj/item/misc_weapons.html | 1 + code/obj/item/misc_wizard_stuff.html | 1 + code/obj/item/mob_parts/human_parts.html | 18 + code/obj/item/neon_lining.html | 1 + .../item/nuclear_operative/designator.html | 1 + code/obj/item/organs/tail.html | 4 + code/obj/item/paint.html | 1 + code/obj/item/pet_carrier.html | 1 + code/obj/item/pinpointer.html | 1 + code/obj/item/plants.html | 1 + code/obj/item/playing_cards.html | 1 + code/obj/item/power_stones.html | 1 + code/obj/item/rcd/rcd.html | 1 + code/obj/item/rcd/rcd_construction.html | 1 + code/obj/item/rcd/rcd_gimmicks.html | 1 + code/obj/item/sec_tape.html | 1 + code/obj/item/storage/ammo_pouches.html | 1 + code/obj/item/storage/lunchboxes.html | 1 + code/obj/item/stun_baton.html | 1 + code/obj/item/tank.html | 1 + code/obj/item/tool/electronics.html | 1 + code/obj/item/tool/omnitool.html | 1 + code/obj/item/uplinks.html | 1 + code/obj/item/zoldorfmisc.html | 3 + code/obj/landmark.html | 1 + code/obj/lattice.html | 2 + code/obj/machinery/computer/QM_supply.html | 1 + code/obj/machinery/computer/announcement.html | 1 + code/obj/machinery/computer/cloning.html | 3 + code/obj/machinery/door/airlock.html | 1 + code/obj/machinery/door/door_control.html | 1 + code/obj/machinery/door/door_parent.html | 1 + code/obj/machinery/door/window.html | 1 + code/obj/machinery/food_and_drink/mixer.html | 1 + code/obj/machinery/lightswitch.html | 1 + code/obj/machinery/manufacturer.html | 1 + code/obj/machinery/manufacturer_subtypes.html | 1 + code/obj/machinery/medimulcher.html | 1 + code/obj/machinery/porters.html | 2 + code/obj/machinery/printing_press.html | 1 + code/obj/machinery/recharger.html | 1 + .../shield_generators/energy_shield.html | 1 + code/obj/machinery/singularity.html | 2 + code/obj/machinery/status_display.html | 1 + code/obj/machinery/tv_vis.html | 1 + code/obj/mining.html | 1 + code/obj/portal.html | 1 + code/obj/posters.html | 1 + code/obj/rack.html | 1 + code/obj/storage/gang_crate.html | 1 + code/obj/storage/pryable.html | 1 + code/obj/submachine/cooking.html | 1 + code/obj/torpedoes.html | 1 + code/obj/vehicle.html | 1 + code/obj/zoldorf.html | 1 + code/player.html | 1 + code/procs/Get_Flat_Icon.html | 1 + code/procs/accents.html | 1 + code/procs/access.html | 1 + code/procs/antagonist_procs.html | 1 + code/procs/datetime.html | 2 + code/procs/fireflash.html | 2 + code/procs/gamehelpers.html | 3 + code/procs/helpers.html | 9 + code/procs/logging.html | 1 + code/procs/mob_procs.html | 1 + code/procs/mobprocs/chatprocs.html | 6 + code/procs/resourceManagement.html | 1 + code/procs/scanprocs.html | 1 + code/turf/floors.html | 2 + code/turf/floors_airless.html | 1 + code/world/initialization/0_genesis.html | 1 + code/z_adventurezones/biodome.html | 1 + code/z_adventurezones/carcosa.html | 10 + code/z_adventurezones/debris.html | 1 + code/z_adventurezones/earth.html | 10 + code/z_adventurezones/gannets_dojozone.html | 39 + code/z_adventurezones/icemoon.html | 10 + code/z_adventurezones/luna.html | 9 + code/z_adventurezones/meatland.html | 11 + code/z_adventurezones/precursor.html | 1 + code/z_adventurezones/solarium.html | 1 + code/z_adventurezones/timeship.html | 1 + datum.html | 140 ++++ datum/SWFuplinkspell.html | 1 + datum/abilityHolder.html | 1 + datum/abilityHolder/arcfiend.html | 1 + datum/abilityHolder/changeling.html | 1 + datum/abilityHolder/vampire.html | 1 + datum/abilityHolder/vampiric_thrall.html | 1 + datum/abilityHolder/wraith.html | 1 + datum/achievementReward.html | 1 + datum/achievementReward/contributor.html | 1 + datum/action.html | 1 + datum/action/bar.html | 1 + datum/action/bar/construction_field.html | 1 + datum/action/bar/icon.html | 1 + datum/action/bar/icon/buddy_cuff.html | 1 + datum/action/bar/icon/build.html | 5 + datum/action/bar/icon/callback.html | 2 + datum/action/bar/icon/filthyPickpocket.html | 1 + datum/action/bar/icon/furniture_build.html | 1 + datum/action/bar/icon/hitthingwithitem.html | 1 + datum/action/bar/icon/railing_jump.html | 1 + datum/action/bar/icon/remove_organ.html | 1 + datum/action/bar/icon/spray_gang_tag.html | 1 + datum/action/bar/icon/spray_graffiti.html | 1 + datum/action/bar/private/flash.html | 1 + datum/action/bar/private/icon/callback.html | 3 + datum/action/bar/private/icon/jolt.html | 1 + datum/action/bar/private/icon/sap_power.html | 1 + datum/action/bar/private/welding.html | 1 + datum/action/bar/private/welding/loop.html | 1 + datum/action/bar/quickload.html | 1 + datum/action/bar/syndie_fishing.html | 3 + datum/action/fishing.html | 1 + datum/action_controller.html | 1 + datum/admins.html | 1 + datum/aiHolder.html | 1 + datum/aiTask.html | 5 + datum/aiTask/prioritizer/critter.html | 1 + datum/aiTask/sequence/goalbased.html | 1 + datum/aiTask/sequence/goalbased/flock.html | 1 + .../succeedable/critter/range_attack.html | 1 + datum/aiTask/succeedable/retaliate.html | 3 + .../aiTask/timed/targeted/living_object.html | 1 + datum/ailment.html | 1 + datum/ailment_data.html | 1 + datum/air_group.html | 13 + datum/allocated_region.html | 12 + datum/antagWeighter.html | 27 + datum/antagonist.html | 5 + datum/antagonist/arcfiend.html | 1 + datum/antagonist/changeling.html | 1 + datum/antagonist/floor_goblin.html | 1 + datum/antagonist/gang_leader.html | 1 + datum/antagonist/grinch.html | 1 + datum/antagonist/head_revolutionary.html | 1 + datum/antagonist/hunter.html | 1 + datum/antagonist/mob/intangible/blob.html | 1 + datum/antagonist/spy_thief.html | 4 + datum/antagonist/subordinate.html | 1 + datum/antagonist/subordinate/gang_member.html | 1 + .../mob/intangible/flocktrace.html | 1 + datum/antagonist/subordinate/thrall.html | 1 + datum/antagonist/traitor.html | 1 + datum/antagonist/vampire.html | 1 + datum/antagonist/werewolf.html | 1 + datum/antagonist/wizard.html | 1 + datum/antagonist/wrestler.html | 1 + datum/antagonist_panel.html | 3 + datum/antagonist_panel_data.html | 4 + datum/antagonist_panel_tab.html | 2 + datum/antagonist_panel_tab/bundled.html | 1 + datum/antagonist_panel_tab/generic.html | 1 + datum/apiBody.html | 2 + datum/apiHandler.html | 11 + datum/apiModel.html | 2 + datum/apiRoute.html | 7 + datum/appearanceHolder.html | 22 + datum/artifact.html | 41 + datum/artifact/madness.html | 1 + datum/artifact_controller.html | 5 + datum/asset/basic.html | 1 + datum/ban_panel.html | 1 + datum/bansHandler.html | 1 + datum/bioEffect.html | 5 + datum/bioHolder.html | 1 + datum/bioluminescent_algae.html | 1 + datum/biome.html | 1 + datum/blob_ability/plant_nucleus.html | 1 + datum/bsp_tree.html | 1 + datum/bsp_tree/maze.html | 1 + datum/cargo_pad_manager.html | 1 + datum/cell_grid.html | 1 + datum/centcomviewer.html | 1 + datum/changelog.html | 3 + datum/chatOutput.html | 1 + datum/chemical_reaction.html | 17 + datum/chemicompiler_core.html | 8 + datum/chemicompiler_executor.html | 21 + datum/client_image_group.html | 1 + datum/cloner_defect.html | 5 + datum/cloner_defect/random_mutantrace.html | 1 + datum/cloner_defect_holder.html | 1 + datum/cloudSaves.html | 1 + datum/cobalt_tools.html | 2 + datum/color_matrix_editor.html | 1 + datum/command_argument.html | 1 + datum/commodity.html | 3 + datum/component.html | 34 + datum/component/analyzable.html | 3 + datum/component/arable.html | 3 + datum/component/assembly.html | 5 + datum/component/auto_reagent.html | 1 + datum/component/bloodflick.html | 1 + datum/component/bullet_holes.html | 1 + datum/component/complexsignal.html | 16 + datum/component/cord.html | 1 + datum/component/flock_interest.html | 1 + datum/component/flock_protection.html | 1 + datum/component/fragile_item.html | 3 + datum/component/hallucination.html | 1 + datum/component/holdertargeting/fullauto.html | 1 + .../holdertargeting/sniper_scope.html | 1 + datum/component/mechanics_connector.html | 1 + datum/component/mechanics_holder.html | 5 + datum/component/pitfall.html | 1 + datum/component/pitfall/target_area.html | 1 + .../component/pitfall/target_coordinates.html | 1 + datum/component/pitfall/target_landmark.html | 1 + datum/component/proximity.html | 1 + datum/component/radioactive.html | 1 + datum/component/reagent_overlay.html | 1 + datum/component/secbot_command.html | 1 + datum/component/transfer_input.html | 1 + datum/component/waddling.html | 1 + .../wearertargeting/energy_shield.html | 15 + datum/computer.html | 1 + datum/computer/file/mainframe_program.html | 4 + datum/computer/file/mainframe_program/os.html | 40 + .../file/mainframe_program/os/kernel.html | 3 + datum/computer/file/pda_program.html | 1 + datum/computer/file/pda_program/gps.html | 1 + .../computer/file/pda_program/os/main_os.html | 8 + datum/computer/file/pda_program/ringtone.html | 1 + datum/computer/file/terminal_program.html | 3 + datum/configuration.html | 1 + datum/contextAction.html | 1 + datum/contextLayout/experimentalcircle.html | 1 + datum/controller/air_system.html | 28 + datum/controller/camera_coverage.html | 1 + datum/controller/gameticker.html | 1 + datum/controller/process.html | 14 + datum/controller/process/tgui.html | 47 ++ datum/controller/processScheduler.html | 13 + datum/cookingrecipe.html | 1 + datum/crewCredits.html | 1 + datum/cross_server_message.html | 3 + datum/customizationHolder.html | 1 + datum/customization_style.html | 1 + datum/db_record.html | 1 + datum/debugFileOutput.html | 6 + datum/digital_filter.html | 3 + .../exponential_moving_average.html | 6 + datum/disjoint_turf.html | 11 + datum/dj_panel.html | 8 + datum/dnaBlocks.html | 1 + datum/effects/system/foam_spread.html | 1 + datum/ehjax.html | 26 + datum/eventRecord.html | 3 + datum/eventRecordBody.html | 1 + datum/eventRecorder.html | 1 + datum/explosion.html | 1 + datum/figure_info/patreon.html | 1 + datum/fishing_lootpool.html | 7 + datum/fishing_spot.html | 3 + datum/flock.html | 1 + datum/game_mode.html | 35 + datum/game_mode/conspiracy.html | 1 + datum/game_mode/gang.html | 1 + datum/game_mode/nuclear.html | 1 + datum/game_mode/revolution.html | 1 + datum/game_server.html | 1 + datum/gang.html | 5 + datum/gang_item.html | 1 + datum/gangtileclaim.html | 1 + datum/gas_mixture.html | 54 ++ datum/hallucinated_sound.html | 1 + datum/handHolder.html | 1 + datum/heap.html | 5 + datum/http_request.html | 24 + datum/http_response.html | 3 + datum/hud.html | 19 + datum/hud/critter.html | 1 + datum/hud/critter/flock/drone.html | 1 + datum/hud/storage.html | 1 + datum/hud_element.html | 1 + datum/hud_zone.html | 9 + datum/interruptible_sleep.html | 5 + datum/ion_category.html | 1 + datum/ircbot.html | 3 + datum/item_special/graffiti.html | 1 + datum/item_special/launch_projectile.html | 1 + datum/item_special/massacre.html | 1 + datum/item_special/swipe.html | 1 + datum/job.html | 3 + datum/job/special/syndicate_weak.html | 1 + datum/job_controller.html | 1 + datum/jps_node.html | 1 + datum/keymap.html | 9 + datum/lifeprocess.html | 1 + datum/lifeprocess/blood.html | 1 + datum/lifeprocess/breath.html | 1 + datum/limb.html | 3 + datum/limb/gun.html | 1 + datum/limb/mouth/maneater.html | 1 + datum/limb/zombie.html | 1 + datum/lineResult.html | 1 + datum/loot_crate_manager.html | 1 + datum/loot_generator.html | 3 + datum/loot_grid.html | 1 + datum/loot_spawner_info.html | 1 + datum/manufacture.html | 11 + datum/manufacture/mechanics.html | 1 + datum/manufacturing_requirement.html | 1 + .../match_flags.html | 1 + .../match_material.html | 1 + .../match_property.html | 1 + .../match_subtypes.html | 1 + datum/manufacturing_requirement/mixed.html | 1 + datum/mapPrefab.html | 1 + datum/mapPrefab/mining.html | 1 + datum/mapPrefab/random_room.html | 10 + datum/map_generator.html | 1 + datum/map_generator/cave_generator.html | 1 + .../cave_generator/adventure.html | 1 + .../cave_generator/asteroid.html | 1 + datum/map_generator/desert_generator.html | 1 + datum/map_generator/forest_generator.html | 1 + datum/map_generator/icemoon_generator.html | 1 + datum/map_generator/jungle_generator.html | 1 + datum/map_generator/lavamoon_generator.html | 1 + datum/map_generator/mars_generator.html | 1 + .../mars_generator/duststorm.html | 1 + datum/map_generator/room_maze_generator.html | 3 + datum/map_generator/snow_generator.html | 1 + datum/map_generator/void_generator.html | 1 + datum/map_settings.html | 1 + datum/material.html | 7 + datum/material/interpolated.html | 1 + datum/materialProc.html | 1 + datum/material_property.html | 1 + datum/material_recipe.html | 4 + datum/matfab_part.html | 2 + datum/matfab_recipe.html | 2 + datum/matfab_recipe/simple.html | 3 + datum/mind.html | 5 + datum/mind_mob_overlay.html | 1 + datum/minimap.html | 2 + datum/minimap/area_map.html | 1 + datum/minimap_marker.html | 2 + datum/minimap_marker/minimap.html | 1 + datum/minimap_render_modifier.html | 3 + datum/minimap_renderer.html | 5 + datum/movable_preview.html | 7 + datum/movable_preview/character.html | 5 + .../character/multiclient.html | 3 + datum/movable_preview/character/window.html | 2 + datum/mutantrace.html | 80 ++ datum/mutantrace/werewolf.html | 3 + datum/objective.html | 3 + datum/ore/event/geode.html | 1 + datum/organHolder.html | 1 + datum/parallax_controller.html | 1 + datum/parallax_render_source_group.html | 3 + .../parallax_render_source_group/planet.html | 3 + datum/part_customization.html | 1 + datum/pathfind.html | 21 + datum/phrase_log.html | 3 + datum/pid.html | 3 + datum/pipe_network.html | 4 + datum/pipeline.html | 3 + datum/plant.html | 1 + datum/plant_gene_strain.html | 15 + datum/plantgenes.html | 1 + datum/plantgrowth_tick.html | 3 + datum/plantmutation.html | 1 + datum/player.html | 1 + datum/poll_ballot.html | 1 + datum/poll_manager.html | 1 + datum/powernet.html | 1 + datum/preferences.html | 1 + datum/proccall_editor.html | 3 + datum/processSchedulerView.html | 3 + datum/projectile.html | 7 + datum/projectile/bullet.html | 1 + datum/projectile/laser/makeshift.html | 1 + datum/projectile/special/shotchem.html | 3 + datum/projectile/special/shotchem/wave.html | 1 + datum/projectile/special/spawner.html | 1 + datum/promise.html | 10 + datum/pump_ui.html | 1 + datum/random_event/major/ion_storm.html | 1 + .../major/law_rack_corruption.html | 1 + datum/random_event/major/player_spawn.html | 1 + datum/random_event/minor/trader.html | 1 + datum/rc_entry.html | 8 + datum/rc_entry/artifact.html | 1 + datum/rc_entry/food.html | 9 + datum/rc_entry/item.html | 1 + datum/rc_entry/reagent.html | 1 + datum/rc_entry/seed.html | 8 + datum/rc_entry/stack.html | 1 + datum/rc_itemreward.html | 4 + datum/reagent.html | 1 + datum/reagent/blood.html | 1 + datum/reagent/harmful/acid.html | 1 + datum/reagent/harmful/hyper_vomitium.html | 1 + datum/reagents.html | 15 + datum/recoil_controller.html | 1 + datum/region_allocator.html | 9 + datum/req_contract.html | 18 + datum/req_contract/aid.html | 6 + datum/req_contract/special.html | 4 + datum/ringtone.html | 3 + datum/robot/module_tool_creator.html | 35 + .../robot/module_tool_creator/item_type.html | 11 + .../module_tool_creator/item_type/amount.html | 7 + .../module_tool_creator/item_type/random.html | 12 + .../robot/module_tool_creator/item_types.html | 11 + .../robot/module_tool_creator/recursive.html | 23 + datum/roundManagement.html | 1 + datum/score_tracker.html | 1 + datum/shipping_market.html | 3 + datum/shuttle_controller.html | 9 + datum/signal.html | 1 + datum/siphon_mineral.html | 1 + datum/sort_instance.html | 50 ++ datum/spacebee_extension_command.html | 1 + datum/spacebee_extension_system.html | 1 + datum/spatial_hashmap.html | 9 + datum/spawn_event.html | 1 + datum/spawn_event_editor.html | 1 + datum/spawn_rule.html | 1 + datum/spawn_rule/proc_call.html | 1 + datum/spawn_rules_controller.html | 1 + datum/special_sprint.html | 1 + datum/statusEffect.html | 10 + datum/statusEffect/changeling_regrow.html | 1 + datum/statusEffect/oiled/fresh.html | 1 + datum/statusEffect/transparium.html | 5 + datum/stock/article.html | 1 + datum/stock/ticker.html | 1 + datum/storage.html | 5 + datum/storage/no_hud.html | 1 + datum/storage/terminus.html | 1 + datum/storage/unholdable.html | 1 + datum/supply_packs.html | 1 + datum/syndicate_buylist.html | 6 + datum/targetable.html | 9 + datum/targetable/arcfiend.html | 1 + datum/targetable/arcfiend/arcFlash.html | 1 + datum/targetable/arcfiend/discharge.html | 1 + datum/targetable/arcfiend/jolt.html | 3 + datum/targetable/arcfiend/sap_power.html | 9 + datum/targetable/arcfiend/voltron.html | 2 + datum/targetable/changeling/critter.html | 1 + datum/targetable/critter.html | 1 + datum/targetable/critter/arcflash.html | 1 + datum/targetable/critter/bot/spray_foam.html | 1 + .../flockmindAbility/partitionMind.html | 1 + datum/targetable/geneticsAbility/empath.html | 2 + datum/teg_transformation.html | 7 + datum/teg_transformation_mngr.html | 5 + datum/tgs_api/v5.html | 1 + datum/tgs_chat_channel.html | 1 + datum/tgs_chat_command.html | 3 + datum/tgs_chat_embed/footer.html | 1 + datum/tgs_chat_embed/media.html | 1 + datum/tgs_chat_embed/structure.html | 1 + datum/tgs_chat_user.html | 1 + datum/tgs_event_handler.html | 2 + datum/tgs_message_content.html | 1 + datum/tgs_revision_information.html | 1 + .../tgs_revision_information/test_merge.html | 1 + datum/tgs_version.html | 1 + datum/tgui.html | 34 + datum/tgui_bug_report_form.html | 1 + datum/tgui_color_picker.html | 3 + datum/tgui_color_picker/async.html | 1 + datum/tgui_input_bitfield.html | 3 + datum/tgui_input_bitfield/async.html | 1 + datum/tgui_input_number.html | 4 + datum/tgui_input_number/async.html | 1 + datum/tgui_input_pin.html | 4 + datum/tgui_input_pin/async.html | 1 + datum/tgui_input_text.html | 4 + datum/tgui_input_text/async.html | 1 + datum/tgui_message.html | 1 + datum/tgui_modal.html | 4 + datum/tgui_modal/list_input.html | 2 + datum/tgui_modal/list_input/async.html | 1 + datum/tgui_window.html | 48 ++ datum/trader.html | 1 + datum/trait.html | 1 + datum/trait/job/chaplain.html | 1 + datum/traitHolder.html | 1 + datum/ui_state.html | 6 + datum/unionfind.html | 7 + datum/unit_test.html | 3 + datum/unit_test/passability_cache.html | 5 + datum/unlockable_flock_structure.html | 3 + datum/vis_storage_controller.html | 1 + datum/xor_rand_generator.html | 1 + datum/zlevel.html | 1 + datum/zoldorfitem.html | 1 + dmdoc.css | 112 +++ dmdoc.js | 58 ++ git.png | Bin 0 -> 2383 bytes global.html | 758 ++++++++++++++++++ index.html | 333 ++++++++ mob.html | 38 + mob/dead.html | 1 + mob/dead/observer.html | 1 + mob/dead/target_observer.html | 1 + .../target_observer/hivemind_observer.html | 1 + mob/living.html | 16 + mob/living/carbon/human.html | 22 + .../human/normal/assistant/the_template.html | 1 + mob/living/carbon/human/npc/monkey.html | 1 + .../human/npc/monkey/extremely_fast.html | 1 + mob/living/carbon/human/slasher.html | 1 + mob/living/critter.html | 3 + mob/living/critter/changeling.html | 1 + mob/living/critter/flock/drone.html | 1 + mob/living/critter/human.html | 1 + mob/living/critter/mimic.html | 1 + mob/living/critter/plant.html | 1 + mob/living/critter/plant/maneater.html | 1 + mob/living/critter/robotic.html | 1 + mob/living/critter/robotic/bot.html | 1 + mob/living/critter/small_animal.html | 1 + mob/living/critter/small_animal/dog.html | 1 + mob/living/critter/wraith/plaguerat.html | 1 + mob/living/critter/wraith/spiker.html | 1 + mob/living/intangible/flock/flockmind.html | 1 + mob/living/intangible/wraith.html | 1 + .../intangible/wraith/wraith_trickster.html | 1 + mob/living/object.html | 1 + mob/living/silicon.html | 1 + mob/living/silicon/ai.html | 5 + mob/living/silicon/robot.html | 1 + mob/new_player.html | 1 + obj.html | 10 + obj/ability_button.html | 1 + obj/ability_button/stomper_boot_stomp.html | 1 + obj/blob.html | 1 + obj/bomb_decoy.html | 1 + obj/cable.html | 9 + obj/cable/auto.html | 1 + obj/computerframe.html | 1 + obj/critter/domestic_bee_larva.html | 1 + obj/critter/sword.html | 1 + obj/cryotron.html | 3 + obj/decal/cleanable.html | 1 + obj/decal/exhibit.html | 1 + obj/decal/gangtag.html | 1 + obj/decal/poster/flag.html | 1 + obj/deployable_turret.html | 1 + obj/disjoint_connector.html | 3 + obj/disposalholder.html | 1 + obj/disposalpipe.html | 1 + obj/disposalpipe/segment.html | 1 + obj/effects/foam.html | 1 + obj/fake_attacker.html | 1 + obj/fakeobject/nuclear_reactor_destroyed.html | 1 + obj/flock_structure.html | 1 + obj/flock_structure/collector.html | 1 + obj/flock_structure/gnesisturret.html | 1 + obj/flock_structure/interceptor.html | 1 + obj/flock_structure/relay.html | 1 + obj/flock_structure/sentinel.html | 1 + obj/forcefield/energyshield.html | 1 + obj/ganglocker.html | 1 + obj/geode.html | 1 + obj/geode/crystal.html | 3 + obj/grille.html | 1 + obj/hotspot.html | 5 + obj/hotspot/gasfire.html | 1 + obj/icecube.html | 1 + obj/item.html | 9 + obj/item/SWF_uplink.html | 1 + obj/item/aiModule/asimov1.html | 2 + obj/item/ai_plating_kit.html | 1 + obj/item/ammo/bullets.html | 1 + obj/item/artifact/bag_of_holding.html | 1 + obj/item/assembly/prox_ignite.html | 1 + obj/item/assembly/rad_ignite.html | 1 + obj/item/assembly/time_ignite.html | 1 + obj/item/barrier.html | 1 + obj/item/bat.html | 1 + obj/item/baton.html | 1 + obj/item/bible.html | 1 + obj/item/boardgame.html | 37 + obj/item/bunsen_burner.html | 1 + obj/item/cable_coil.html | 1 + obj/item/card/id.html | 1 + obj/item/card_group.html | 1 + obj/item/cargotele.html | 1 + obj/item/cargotele/traitor.html | 1 + obj/item/catalytic_rod.html | 1 + obj/item/chem_grenade.html | 1 + obj/item/chem_grenade/custom.html | 1 + obj/item/chem_pill_bottle.html | 1 + obj/item/clothing.html | 1 + obj/item/clothing/glasses/thermal.html | 1 + obj/item/clothing/gloves.html | 1 + obj/item/clothing/head/helmet/welding.html | 1 + obj/item/clothing/head/wig.html | 1 + obj/item/clothing/suit.html | 1 + obj/item/clothing/suit/hazard.html | 1 + obj/item/device/analyzer.html | 1 + obj/item/device/analyzer/atmospheric.html | 1 + obj/item/device/analyzer/healthanalyzer.html | 1 + obj/item/device/detective_scanner.html | 1 + obj/item/device/event_beacon.html | 1 + obj/item/device/fingerprinter.html | 1 + obj/item/device/flash/conspiracy.html | 1 + obj/item/device/gps.html | 1 + obj/item/device/infra.html | 1 + obj/item/device/infra_sensor.html | 1 + obj/item/device/laser_designator.html | 1 + obj/item/device/light/zippo.html | 1 + obj/item/device/nukeop_commander_uplink.html | 1 + obj/item/device/pda2.html | 1 + obj/item/device/prisoner_scanner.html | 1 + obj/item/device/radio.html | 1 + obj/item/device/reagentscanner.html | 1 + obj/item/device/speech_pro.html | 1 + obj/item/device/t_scanner.html | 1 + obj/item/device/timer.html | 1 + obj/item/device/transfer_valve.html | 1 + obj/item/device/transfer_valve/vr.html | 1 + obj/item/disk/data/floppy/manudrive.html | 1 + obj/item/engivac.html | 3 + obj/item/extinguisher.html | 1 + obj/item/fishing_rod.html | 1 + obj/item/flag.html | 1 + obj/item/furniture_parts.html | 1 + obj/item/gang_loot.html | 1 + obj/item/gardentrowel.html | 1 + obj/item/gimmickbomb.html | 1 + obj/item/grab.html | 1 + obj/item/gun.html | 9 + obj/item/gun/energy.html | 1 + obj/item/gun/energy/antique.html | 1 + obj/item/gun/energy/blaster_pistol.html | 1 + obj/item/gun/energy/blaster_pod_wars.html | 1 + obj/item/gun/energy/crossbow.html | 1 + obj/item/gun/energy/egun.html | 1 + obj/item/gun/energy/ghost.html | 1 + obj/item/gun/energy/makeshift.html | 1 + obj/item/gun/energy/pickpocket.html | 1 + obj/item/gun/energy/plasma_gun.html | 1 + obj/item/gun/energy/teleport.html | 1 + obj/item/gun/energy/vuvuzela_gun.html | 1 + obj/item/gun/energy/wasp.html | 1 + obj/item/gun/flamethrower.html | 1 + obj/item/gun/kinetic.html | 1 + obj/item/gun/kinetic/foamdartgun/borg.html | 1 + obj/item/gun/kinetic/pumpweapon.html | 1 + obj/item/gun/reagent.html | 1 + obj/item/halberd.html | 1 + obj/item/hand_tele.html | 1 + obj/item/implant/marionette.html | 15 + obj/item/implant/revenge.html | 3 + obj/item/instrument.html | 1 + obj/item/interdictor_rod.html | 1 + obj/item/lamp_manufacturer.html | 1 + obj/item/light.html | 1 + obj/item/lotteryTicket.html | 1 + obj/item/material_piece.html | 1 + obj/item/mechanics.html | 1 + obj/item/mechanics/hangman.html | 1 + obj/item/mechanics/movement.html | 3 + obj/item/mechanics/textmanip.html | 1 + obj/item/megaphone.html | 1 + obj/item/old_grenade.html | 1 + obj/item/ore_scoop.html | 1 + obj/item/organ.html | 1 + obj/item/organ/head.html | 7 + obj/item/organ/kidney.html | 1 + obj/item/organ/lung.html | 1 + obj/item/organ/stomach.html | 1 + obj/item/organ/tail.html | 4 + obj/item/paper.html | 1 + .../paper/book/from_file/pocketguide.html | 2 + obj/item/paper/manufacturer_blueprint.html | 1 + obj/item/paper/newspaper.html | 1 + obj/item/paper_bin.html | 1 + obj/item/parts.html | 1 + obj/item/parts/human_parts.html | 1 + .../human_parts/arm/left/abomination.html | 1 + .../parts/human_parts/arm/left/brullbar.html | 1 + obj/item/parts/human_parts/arm/left/item.html | 1 + .../parts/human_parts/arm/left/synth.html | 1 + .../parts/human_parts/arm/left/zombie.html | 1 + .../parts/human_parts/arm/right/brullbar.html | 1 + .../parts/human_parts/arm/right/item.html | 1 + obj/item/parts/robot_parts.html | 1 + obj/item/parts/robot_parts/head.html | 1 + obj/item/parts/robot_parts/robot_frame.html | 1 + obj/item/pen.html | 3 + obj/item/pet_carrier.html | 6 + obj/item/photo.html | 1 + obj/item/pinpointer.html | 1 + obj/item/pipebomb/bomb.html | 1 + obj/item/pipebomb/frame.html | 1 + obj/item/plant/flower/rose/poisoned.html | 1 + obj/item/plant/flower/sunflower.html | 1 + obj/item/plant/tumbling_creeper.html | 1 + obj/item/plantanalyzer.html | 1 + obj/item/plate.html | 9 + obj/item/playing_card.html | 1 + obj/item/pocketwatch.html | 1 + obj/item/raw_material.html | 1 + obj/item/rcd.html | 19 + obj/item/rcd/material.html | 1 + obj/item/rcd/material/viscerite.html | 1 + obj/item/reactor_component.html | 1 + obj/item/reactor_component/control_rod.html | 1 + obj/item/reagent_containers.html | 1 + obj/item/reagent_containers/balloon.html | 1 + .../emergency_injector.html | 1 + obj/item/reagent_containers/food.html | 1 + obj/item/reagent_containers/food/drinks.html | 1 + .../food/drinks/drinkingglass.html | 1 + obj/item/reagent_containers/food/fish.html | 1 + obj/item/reagent_containers/food/snacks.html | 1 + .../food/snacks/breadloaf.html | 1 + .../reagent_containers/food/snacks/candy.html | 1 + .../food/snacks/candy/lollipop.html | 1 + .../food/snacks/ingredient/pizza_base.html | 1 + .../reagent_containers/food/snacks/pie.html | 1 + .../reagent_containers/food/snacks/plant.html | 7 + .../food/snacks/spaghetti/spicy.html | 1 + obj/item/reagent_containers/glass.html | 1 + .../reagent_containers/glass/condenser.html | 1 + .../glass/condenser/fractional.html | 1 + .../synthflesh_pustule.html | 1 + obj/item/reagent_containers/syringe.html | 1 + obj/item/remote/marionette_implant.html | 1 + obj/item/robospray.html | 1 + obj/item/robot_module.html | 1 + obj/item/roboupgrade.html | 1 + obj/item/room_planner.html | 1 + obj/item/salvager.html | 1 + obj/item/satchel.html | 1 + obj/item/saw.html | 1 + obj/item/seed.html | 1 + obj/item/sheet.html | 1 + obj/item/shipcomponent.html | 3 + obj/item/shipcomponent/engine.html | 1 + obj/item/shipcomponent/mainweapon.html | 1 + .../shipcomponent/mainweapon/constructor.html | 3 + .../secondary_system/orescoop.html | 1 + obj/item/spray_paint_gang.html | 1 + obj/item/sticker/postit/artifact_paper.html | 1 + obj/item/storage/backpack/recharge_bay.html | 1 + obj/item/storage/pill_bottle.html | 3 + obj/item/storage/secure.html | 1 + obj/item/swingsignfolded.html | 1 + obj/item/sword.html | 1 + obj/item/swords.html | 1 + obj/item/syndie_fishing_rod.html | 1 + obj/item/tank.html | 1 + obj/item/tank/jetpack.html | 1 + obj/item/tool/janktanktwo.html | 1 + obj/item/tool/omnitool.html | 1 + obj/item/toolbox_tiles.html | 1 + obj/item/uplink.html | 1 + obj/item/uplink/integrated/pda/spy.html | 1 + obj/item/wall_trophy.html | 1 + obj/item/weldingtool.html | 5 + obj/ladder.html | 1 + obj/landmark/random_room.html | 1 + obj/landmark/spawner.html | 1 + obj/landmark/viscontents_spawn.html | 1 + obj/laser_sink.html | 3 + obj/lattice.html | 1 + obj/lattice/auto.html | 2 + obj/linked_laser.html | 5 + obj/linked_laser/h7_beam.html | 1 + obj/loot_spawner.html | 1 + obj/loot_spawner/random.html | 1 + obj/machinery.html | 3 + obj/machinery/activation_button.html | 1 + obj/machinery/alarm.html | 3 + obj/machinery/arc_electroplater.html | 7 + obj/machinery/atmospherics.html | 16 + .../atmospherics/binary/dp_vent_pump.html | 1 + .../atmospherics/binary/nuclear_reactor.html | 1 + obj/machinery/atmospherics/binary/pump.html | 1 + .../atmospherics/binary/reactor_turbine.html | 1 + obj/machinery/atmospherics/binary/valve.html | 1 + .../atmospherics/binary/volume_pump.html | 1 + obj/machinery/atmospherics/pipe.html | 3 + obj/machinery/atmospherics/pipe/simple.html | 1 + obj/machinery/atmospherics/trinary.html | 1 + .../atmospherics/trinary/filter.html | 1 + .../atmospherics/trinary/manifold_valve.html | 1 + obj/machinery/atmospherics/trinary/mixer.html | 1 + .../atmospherics/trinary/retrofilter.html | 1 + obj/machinery/atmospherics/unary.html | 1 + .../atmospherics/unary/cold_sink.html | 1 + .../atmospherics/unary/cryo_cell.html | 1 + .../atmospherics/unary/outlet_injector.html | 1 + .../atmospherics/unary/vent_pump.html | 1 + .../atmospherics/unary/vent_scrubber.html | 1 + obj/machinery/bot.html | 11 + obj/machinery/bot/buttbot.html | 1 + obj/machinery/bot/cambot.html | 1 + obj/machinery/bot/chefbot.html | 1 + obj/machinery/bot/cleanbot.html | 1 + obj/machinery/bot/duckbot.html | 1 + obj/machinery/bot/firebot.html | 1 + obj/machinery/bot/floorbot.html | 3 + obj/machinery/bot/guardbot.html | 1 + obj/machinery/bot/medbot.html | 1 + obj/machinery/bot/mulebot.html | 1 + obj/machinery/bot/secbot.html | 3 + obj/machinery/bot/skullbot.html | 1 + obj/machinery/broadside_gun.html | 1 + obj/machinery/camera.html | 1 + obj/machinery/cashreg.html | 1 + obj/machinery/catalytic_rod_unit.html | 1 + obj/machinery/chem_dispenser.html | 1 + obj/machinery/chem_master.html | 1 + obj/machinery/chem_shaker.html | 1 + obj/machinery/clonepod.html | 1 + obj/machinery/clothingbooth.html | 1 + .../communications_dish/transception.html | 1 + obj/machinery/computer.html | 1 + obj/machinery/computer/announcement.html | 1 + .../computer/atmosphere/pumpcontrol.html | 1 + .../computer/battlecruiser_podbay.html | 1 + obj/machinery/computer/genetics.html | 1 + obj/machinery/computer/riotgear.html | 1 + obj/machinery/computer/siphon_control.html | 1 + obj/machinery/computer/siphon_db.html | 1 + obj/machinery/computer/transception.html | 1 + obj/machinery/computer3.html | 1 + obj/machinery/conveyor.html | 1 + obj/machinery/conveyor_switch.html | 1 + obj/machinery/deep_fryer.html | 1 + obj/machinery/defib_mount.html | 1 + obj/machinery/dialysis.html | 1 + obj/machinery/dispenser.html | 1 + obj/machinery/disposal.html | 1 + obj/machinery/disposal/chemlink.html | 1 + obj/machinery/door.html | 1 + obj/machinery/door/airlock.html | 1 + obj/machinery/door_control.html | 1 + obj/machinery/door_control/antagscanner.html | 1 + obj/machinery/drainage.html | 1 + obj/machinery/emitter.html | 1 + obj/machinery/field_generator.html | 1 + obj/machinery/firealarm.html | 1 + obj/machinery/fluid_canister.html | 1 + obj/machinery/hair_dye_dispenser.html | 1 + obj/machinery/interdictor.html | 12 + obj/machinery/launcher_loader.html | 1 + obj/machinery/lawrack.html | 40 + obj/machinery/light_switch.html | 1 + obj/machinery/manufacturer.html | 31 + obj/machinery/maptext_monitor.html | 3 + obj/machinery/medimulcher.html | 1 + obj/machinery/microwave.html | 1 + obj/machinery/nanofab.html | 1 + obj/machinery/navbeacon.html | 1 + .../networked/storage/bomb_tester.html | 1 + obj/machinery/nuclearbomb.html | 1 + obj/machinery/plantpot.html | 1 + obj/machinery/plantpot/bareplant.html | 1 + obj/machinery/playerzoldorf.html | 1 + obj/machinery/port_a_brig.html | 1 + .../portable_atmospherics/canister.html | 1 + .../portable_atmospherics/pressurizer.html | 6 + .../portable_atmospherics/scrubber.html | 1 + obj/machinery/power.html | 3 + obj/machinery/power/apc.html | 1 + obj/machinery/power/catalytic_generator.html | 1 + obj/machinery/power/pt_laser.html | 6 + obj/machinery/power/solar.html | 1 + obj/machinery/power/tracker.html | 1 + obj/machinery/printing_press.html | 1 + obj/machinery/r_door_control.html | 2 + obj/machinery/recharge_station.html | 3 + obj/machinery/rkit.html | 1 + obj/machinery/shieldgenerator.html | 1 + .../shieldgenerator/energy_shield.html | 5 + obj/machinery/shower.html | 1 + obj/machinery/shuttle/weapon.html | 1 + obj/machinery/siphon.html | 1 + obj/machinery/siphon/core.html | 1 + obj/machinery/siphon/resonator.html | 1 + obj/machinery/sleep_console.html | 1 + obj/machinery/sleeper.html | 1 + obj/machinery/sleeper/port_a_medbay.html | 1 + obj/machinery/space_heater.html | 1 + obj/machinery/status_display.html | 1 + obj/machinery/the_singularity.html | 1 + obj/machinery/the_singularitygen.html | 1 + obj/machinery/transception_pad.html | 1 + obj/machinery/traymachine.html | 1 + obj/machinery/vehicle.html | 5 + obj/machinery/vending.html | 1 + obj/machinery/vending/player.html | 1 + obj/machinery/vending/player/chemicals.html | 1 + obj/machinery/vending/port_a_nanomed.html | 1 + obj/machinery/wraith/runetrap.html | 1 + obj/mapping_helper/airlock/cycler.html | 1 + obj/mapping_helper/mob_spawn.html | 1 + .../mob_spawn/corpse/human.html | 1 + obj/merge_conflict_marker.html | 1 + obj/minimap.html | 2 + obj/minimap_controller.html | 2 + obj/newmeteor/massive.html | 1 + obj/npc/station_trader.html | 1 + obj/npc/trader.html | 3 + obj/overlay/construction_field.html | 1 + obj/placeholder.html | 4 + obj/projectile.html | 13 + obj/racing_clowncar/kart.html | 1 + obj/rack/organized.html | 1 + obj/shrub.html | 1 + obj/solar_control.html | 1 + obj/statue.html | 1 + obj/storage.html | 1 + obj/storage/closet.html | 1 + obj/storage/secure/closet.html | 1 + obj/submachine/ATM.html | 1 + obj/submachine/cargopad.html | 1 + obj/submachine/chem_extractor.html | 1 + obj/submachine/laundry_machine.html | 1 + obj/submachine/slot_machine.html | 1 + obj/swingsign.html | 1 + obj/table.html | 1 + obj/vehicle.html | 1 + obj/vehicle/adminbus.html | 1 + obj/vehicle/clowncar.html | 1 + obj/vehicle/floorbuffer.html | 1 + obj/vehicle/forklift.html | 1 + obj/vehicle/segway.html | 1 + obj/warp_beacon.html | 2 + obj/warp_portal.html | 1 + obj/window/auto.html | 1 + obj/xmastree.html | 3 + particles.html | 3 + plain_data.html | 3 + procpath.html | 7 + turf.html | 18 + turf/simulated.html | 21 + turf/simulated/floor.html | 3 + turf/simulated/floor/auto.html | 1 + turf/simulated/floor/marslike.html | 1 + turf/simulated/wall/auto.html | 1 + turf/unsimulated.html | 1 + turf/unsimulated/floor/auto.html | 1 + turf/unsimulated/wall/auto.html | 1 + typeinfo/atom.html | 1 + typeinfo/atom/movable.html | 3 + typeinfo/datum/customization_style.html | 1 + typeinfo/datum/mutantrace.html | 3 + typeinfo/obj/item/clothing/suit/hazard.html | 1 + typeinfo/obj/table.html | 1 + typeinfo/turf/simulated/floor/auto.html | 3 + typeinfo/turf/simulated/wall/auto.html | 3 + typeinfo/turf/unsimulated/floor/auto.html | 1 + typeinfo/turf/unsimulated/wall/auto.html | 1 + world.html | 15 + 1662 files changed, 6565 insertions(+) create mode 100644 .nojekyll create mode 100644 CNAME create mode 100644 _is_abstract/area/shuttle.html create mode 100644 _is_abstract/datum/component/pitfall.html create mode 100644 _is_abstract/mob/living/critter/human.html create mode 100644 _is_abstract/obj/mapping_helper/turf/floor.html create mode 100644 _std.html create mode 100644 _std/__build.html create mode 100644 _std/color.html create mode 100644 _std/compatibility.html create mode 100644 _std/copy.html create mode 100644 _std/datum.html create mode 100644 _std/defines/_units.html create mode 100644 _std/defines/abilities.html create mode 100644 _std/defines/access.html create mode 100644 _std/defines/actions.html create mode 100644 _std/defines/admin.html create mode 100644 _std/defines/ailments.html create mode 100644 _std/defines/atom.html create mode 100644 _std/defines/burning.html create mode 100644 _std/defines/chemistry.html create mode 100644 _std/defines/clothing.html create mode 100644 _std/defines/combat.html create mode 100644 _std/defines/component_defines/_component_defines_integral.html create mode 100644 _std/defines/component_defines/component_defines_atom.html create mode 100644 _std/defines/component_defines/component_defines_datum.html create mode 100644 _std/defines/component_defines/component_defines_global.html create mode 100644 _std/defines/component_defines/component_defines_mechcomp.html create mode 100644 _std/defines/component_defines/component_defines_special.html create mode 100644 _std/defines/construction.html create mode 100644 _std/defines/crew_credits.html create mode 100644 _std/defines/critter.html create mode 100644 _std/defines/economy.html create mode 100644 _std/defines/ephemeral.html create mode 100644 _std/defines/events.html create mode 100644 _std/defines/food.html create mode 100644 _std/defines/gang.html create mode 100644 _std/defines/hydroponics.html create mode 100644 _std/defines/item.html create mode 100644 _std/defines/lag.html create mode 100644 _std/defines/landmarks.html create mode 100644 _std/defines/layer.html create mode 100644 _std/defines/logging.html create mode 100644 _std/defines/materials.html create mode 100644 _std/defines/mechanics.html create mode 100644 _std/defines/medical.html create mode 100644 _std/defines/mob.html create mode 100644 _std/defines/obj.html create mode 100644 _std/defines/process.html create mode 100644 _std/defines/radio.html create mode 100644 _std/defines/reagents.html create mode 100644 _std/defines/robot.html create mode 100644 _std/defines/shuttle.html create mode 100644 _std/defines/sound.html create mode 100644 _std/defines/spacebee_extension.html create mode 100644 _std/defines/stamina.html create mode 100644 _std/defines/status_display.html create mode 100644 _std/defines/status_effects.html create mode 100644 _std/defines/storage.html create mode 100644 _std/defines/surgery.html create mode 100644 _std/defines/temperatures.html create mode 100644 _std/defines/time.html create mode 100644 _std/defines/traits.html create mode 100644 _std/defines/turf.html create mode 100644 _std/defines/vehicles.html create mode 100644 _std/defines/wages.html create mode 100644 _std/defines/worldgen.html create mode 100644 _std/filesystem.html create mode 100644 _std/lists.html create mode 100644 _std/machinery.html create mode 100644 _std/macros/_metamacros.html create mode 100644 _std/macros/actions.html create mode 100644 _std/macros/antag_popups.html create mode 100644 _std/macros/appearance.html create mode 100644 _std/macros/area.html create mode 100644 _std/macros/atmos.html create mode 100644 _std/macros/atom_properties.html create mode 100644 _std/macros/chat_output.html create mode 100644 _std/macros/client.html create mode 100644 _std/macros/cooldown.html create mode 100644 _std/macros/debug.html create mode 100644 _std/macros/dir.html create mode 100644 _std/macros/dist.html create mode 100644 _std/macros/factions.html create mode 100644 _std/macros/flags.html create mode 100644 _std/macros/flock.html create mode 100644 _std/macros/fluid_defines.html create mode 100644 _std/macros/hud.html create mode 100644 _std/macros/ismob.html create mode 100644 _std/macros/items.html create mode 100644 _std/macros/job_xp.html create mode 100644 _std/macros/list.html create mode 100644 _std/macros/maps.html create mode 100644 _std/macros/matrix.html create mode 100644 _std/macros/movable.html create mode 100644 _std/macros/process.html create mode 100644 _std/macros/procs.html create mode 100644 _std/macros/qdel.html create mode 100644 _std/macros/strings.html create mode 100644 _std/macros/time.html create mode 100644 _std/macros/transfers.html create mode 100644 _std/macros/turf.html create mode 100644 _std/map.html create mode 100644 _std/math.html create mode 100644 _std/packets.html create mode 100644 _std/parallax.html create mode 100644 _std/pathfinding.html create mode 100644 _std/plain_data.html create mode 100644 _std/plane.html create mode 100644 _std/procpath.html create mode 100644 _std/promises.html create mode 100644 _std/rust_g.html create mode 100644 _std/setup.html create mode 100644 _std/sorting.html create mode 100644 _std/spatial_hashing.html create mode 100644 _std/text.html create mode 100644 _std/tgs.html create mode 100644 _std/tgui.html create mode 100644 _std/types.html create mode 100644 _std/unionfind.html create mode 100644 _std/weakref.html create mode 100644 _std/zlevel.html create mode 100644 area.html create mode 100644 area/iomoon.html create mode 100644 area/unconnected_zone.html create mode 100644 area/upper_arctic.html create mode 100644 atom.html create mode 100644 atom/movable.html create mode 100644 atom/movable/minimap_ui_handler.html create mode 100644 atom/movable/minimap_ui_handler/minimap_controller.html create mode 100644 atom/movable/screen.html create mode 100644 atom/movable/screen/control_point.html create mode 100644 atom/movable/screen/hud/relay.html create mode 100644 atom/movable/screen/hud/score_board.html create mode 100644 atom/movable/screen/parallax_layer.html create mode 100644 atom/movable/screen/parallax_render_source.html create mode 100644 atom/movable/screen/plane_parent.html create mode 100644 client.html create mode 100644 code/WorkInProgress/AbilityItem.html create mode 100644 code/WorkInProgress/GerhazoStuff.html create mode 100644 code/WorkInProgress/Hydrothings.html create mode 100644 code/WorkInProgress/MarqStuff.html create mode 100644 code/WorkInProgress/SpyGuyStuff.html create mode 100644 code/WorkInProgress/aloe_stuff_public.html create mode 100644 code/WorkInProgress/artemis/GeneratePlanets.html create mode 100644 code/WorkInProgress/artemis/artemis.html create mode 100644 code/WorkInProgress/blueprints.html create mode 100644 code/WorkInProgress/chess.html create mode 100644 code/WorkInProgress/cloner_defects.html create mode 100644 code/WorkInProgress/golf.html create mode 100644 code/WorkInProgress/nadir_antenna.html create mode 100644 code/WorkInProgress/pali/pali.html create mode 100644 code/WorkInProgress/racing.html create mode 100644 code/WorkInProgress/tarmStuff.html create mode 100644 code/WorkInProgress/warcrimes.html create mode 100644 code/_placeholder.html create mode 100644 code/area.html create mode 100644 code/atom/UpdateOverlays.html create mode 100644 code/chui/chui.html create mode 100644 code/datums/abilities/brassgauntlet.html create mode 100644 code/datums/abilities/critter/arc.html create mode 100644 code/datums/abilities/critter/powerkick.html create mode 100644 code/datums/abilities/diabolical.html create mode 100644 code/datums/actions/actions.html create mode 100644 code/datums/banking.html create mode 100644 code/datums/browserOutput.html create mode 100644 code/datums/character_preview.html create mode 100644 code/datums/client_image_group.html create mode 100644 code/datums/cloud_saves.html create mode 100644 code/datums/components/_component.html create mode 100644 code/datums/components/analyzable.html create mode 100644 code/datums/components/arable.html create mode 100644 code/datums/components/assembly_comp.html create mode 100644 code/datums/components/bloodflick.html create mode 100644 code/datums/components/bullet_holes.html create mode 100644 code/datums/components/complexsignal/complexsignal.html create mode 100644 code/datums/components/conveyor_lay.html create mode 100644 code/datums/components/extradimensional_storage.html create mode 100644 code/datums/components/flock/flockprotection.html create mode 100644 code/datums/components/flock/ping.html create mode 100644 code/datums/components/food_stuff.html create mode 100644 code/datums/components/fragile_item.html create mode 100644 code/datums/components/ghost_observable.html create mode 100644 code/datums/components/hallucinations.html create mode 100644 code/datums/components/mechComp_signals.html create mode 100644 code/datums/components/pitfall.html create mode 100644 code/datums/components/seedy.html create mode 100644 code/datums/components/transfers.html create mode 100644 code/datums/components/transform_on_pickup.html create mode 100644 code/datums/controllers/action_controls.html create mode 100644 code/datums/controllers/job_controls.html create mode 100644 code/datums/controllers/process/_process.html create mode 100644 code/datums/controllers/process/actions.html create mode 100644 code/datums/controllers/process/ai_tracking.html create mode 100644 code/datums/controllers/process/air_system.html create mode 100644 code/datums/controllers/process/area_process.html create mode 100644 code/datums/controllers/process/arena.html create mode 100644 code/datums/controllers/process/blob.html create mode 100644 code/datums/controllers/process/camnet.html create mode 100644 code/datums/controllers/process/chemistry.html create mode 100644 code/datums/controllers/process/critters.html create mode 100644 code/datums/controllers/process/cross_server_sync.html create mode 100644 code/datums/controllers/process/delete_queue.html create mode 100644 code/datums/controllers/process/explosions.html create mode 100644 code/datums/controllers/process/flock.html create mode 100644 code/datums/controllers/process/fluid.html create mode 100644 code/datums/controllers/process/fluid_spawner.html create mode 100644 code/datums/controllers/process/forcedMovement.html create mode 100644 code/datums/controllers/process/ghost_notifications.html create mode 100644 code/datums/controllers/process/healthupdates.html create mode 100644 code/datums/controllers/process/items.html create mode 100644 code/datums/controllers/process/kudzu.html create mode 100644 code/datums/controllers/process/lighting.html create mode 100644 code/datums/controllers/process/machines.html create mode 100644 code/datums/controllers/process/mob_ai.html create mode 100644 code/datums/controllers/process/mob_ui.html create mode 100644 code/datums/controllers/process/mobs.html create mode 100644 code/datums/controllers/process/particles.html create mode 100644 code/datums/controllers/process/poll_sync.html create mode 100644 code/datums/controllers/process/railway.html create mode 100644 code/datums/controllers/process/random_events.html create mode 100644 code/datums/controllers/process/respawn.html create mode 100644 code/datums/controllers/process/shipping_market.html create mode 100644 code/datums/controllers/process/stamina_updates.html create mode 100644 code/datums/controllers/process/statusEffects.html create mode 100644 code/datums/controllers/process/stock_market.html create mode 100644 code/datums/controllers/process/telescope.html create mode 100644 code/datums/controllers/process/tgui.html create mode 100644 code/datums/controllers/process/ticker.html create mode 100644 code/datums/controllers/process/world.html create mode 100644 code/datums/customization_styles.html create mode 100644 code/datums/datacore.html create mode 100644 code/datums/digital_filter.html create mode 100644 code/datums/disjoint_turf.html create mode 100644 code/datums/effects/system/bad_smoke_spread.html create mode 100644 code/datums/effects/system/harmless_smoke_spread.html create mode 100644 code/datums/effects/system/mustard_gas_spread.html create mode 100644 code/datums/ehjax.html create mode 100644 code/datums/flock/flock.html create mode 100644 code/datums/flock/flockstats.html create mode 100644 code/datums/flock/flockunlockable.html create mode 100644 code/datums/gamemodes/gangwar.html create mode 100644 code/datums/gamemodes/nuclear.html create mode 100644 code/datums/gamemodes/pod_wars.html create mode 100644 code/datums/gamemodes/pod_wars/pw_manufacturing_.html create mode 100644 code/datums/gamemodes/pod_wars/pw_misc_objects.html create mode 100644 code/datums/gamemodes/pod_wars/pw_stats_manager.html create mode 100644 code/datums/gamemodes/pod_wars/pw_weapons.html create mode 100644 code/datums/http.html create mode 100644 code/datums/hud/critter.html create mode 100644 code/datums/hud/silicon.html create mode 100644 code/datums/ircbot.html create mode 100644 code/datums/jsErrorHandler.html create mode 100644 code/datums/limb.html create mode 100644 code/datums/manufacturing.html create mode 100644 code/datums/manufacturing_requirements.html create mode 100644 code/datums/mutantraces.html create mode 100644 code/datums/named_colors.html create mode 100644 code/datums/part_customization.html create mode 100644 code/datums/pda_ringtones.html create mode 100644 code/datums/rand.html create mode 100644 code/datums/round_management.html create mode 100644 code/datums/spawn_rules.html create mode 100644 code/datums/syndicate_buylist.html create mode 100644 code/datums/teg_transform.html create mode 100644 code/datums/titlecard.html create mode 100644 code/datums/zoldorfitems.html create mode 100644 code/del.html create mode 100644 code/global.html create mode 100644 code/map.html create mode 100644 code/mob/living/carbon/human/gimmick.html create mode 100644 code/mob/living/carbon/human/npc.html create mode 100644 code/mob/living/carbon/human/virtual.html create mode 100644 code/mob/living/critter.html create mode 100644 code/mob/living/critter/adventure.html create mode 100644 code/mob/living/critter/ai/flock/flocktasks.html create mode 100644 code/mob/living/critter/ai/generic_aiholders.html create mode 100644 code/mob/living/critter/ai/generic_critter.html create mode 100644 code/mob/living/critter/ai/mimic.html create mode 100644 code/mob/living/critter/humanoid/brullbar.html create mode 100644 code/mob/living/critter/humanoid/human.html create mode 100644 code/mob/living/critter/humanoid/skeleton.html create mode 100644 code/mob/living/critter/martian.html create mode 100644 code/mob/living/critter/mob_bots.html create mode 100644 code/mob/living/critter/small_animal.html create mode 100644 code/mob/living/intangible/flockmob_parent.html create mode 100644 code/mob/living/intangible/wraith/poltergeist.html create mode 100644 code/mob/living/silicon/hivebot/hivebot_statusupdate.html create mode 100644 code/mob/melee_attack_procs.html create mode 100644 code/modules/admin/admin.html create mode 100644 code/modules/admin/antagonist_panel/antagonist_panel.html create mode 100644 code/modules/admin/antagonist_panel/antagonist_panel_data.html create mode 100644 code/modules/admin/antagonist_panel/antagonist_panel_tab.html create mode 100644 code/modules/admin/ban_panel.html create mode 100644 code/modules/admin/buildmodes/adventure/elements/proccaller.html create mode 100644 code/modules/admin/buildmodes/adventure/elements/vareditor.html create mode 100644 code/modules/admin/centcomviewer.html create mode 100644 code/modules/admin/data_input.html create mode 100644 code/modules/admin/jobban.html create mode 100644 code/modules/admin/player_panel.html create mode 100644 code/modules/admin/playernotes.html create mode 100644 code/modules/admin/region_allocator_panel.html create mode 100644 code/modules/admin/spacebee_extension/arguments.html create mode 100644 code/modules/admin/spacebee_extension/command_structure.html create mode 100644 code/modules/admin/spacebee_extension/system.html create mode 100644 code/modules/admin/viewvariables/color_matrix_editor.html create mode 100644 code/modules/admin/viewvariables/filterrific.html create mode 100644 code/modules/admin/viewvariables/particool_serialization.html create mode 100644 code/modules/animation/AnimationLibrary.html create mode 100644 code/modules/antagonists/antagonist_helpers.html create mode 100644 code/modules/antagonists/arcfiend/abilities/_arcfiend_ability_holder.html create mode 100644 code/modules/antagonists/arcfiend/abilities/arc_flash.html create mode 100644 code/modules/antagonists/arcfiend/abilities/discharge.html create mode 100644 code/modules/antagonists/arcfiend/abilities/flash.html create mode 100644 code/modules/antagonists/arcfiend/abilities/jamming_field.html create mode 100644 code/modules/antagonists/arcfiend/abilities/jolt.html create mode 100644 code/modules/antagonists/arcfiend/abilities/polarize.html create mode 100644 code/modules/antagonists/arcfiend/abilities/ride_the_lightning.html create mode 100644 code/modules/antagonists/arcfiend/abilities/sap_power.html create mode 100644 code/modules/antagonists/changeling/abilities/regeneration.html create mode 100644 code/modules/antagonists/grinch/abilities/_grinch_ability_holder.html create mode 100644 code/modules/antagonists/hunter/hunter.html create mode 100644 code/modules/antagonists/traitor/sleeper_agent.html create mode 100644 code/modules/antagonists/vampire/abilities/_vampire_ability_holder.html create mode 100644 code/modules/antagonists/werewolf/abilities/_werewolf_ability_holder.html create mode 100644 code/modules/antagonists/wizard/abilities/_wizard_ability_holder.html create mode 100644 code/modules/antagonists/wraith/objs/item/spirit_candle.html create mode 100644 code/modules/antagonists/wraith/status_system/skeleton_commander.html create mode 100644 code/modules/antagonists/wrestler/abilities/_wrestler_ability_holder.html create mode 100644 code/modules/atmospherics/FEA_airgroup.html create mode 100644 code/modules/atmospherics/FEA_fire.html create mode 100644 code/modules/atmospherics/FEA_gas_mixture.html create mode 100644 code/modules/atmospherics/FEA_turf_tile.html create mode 100644 code/modules/atmospherics/machinery.html create mode 100644 code/modules/atmospherics/machinery/binary/pump.html create mode 100644 code/modules/atmospherics/machinery/binary/valve.html create mode 100644 code/modules/atmospherics/machinery/binary/volume_pump.html create mode 100644 code/modules/atmospherics/machinery/pipe.html create mode 100644 code/modules/atmospherics/machinery/trinary/mixer.html create mode 100644 code/modules/atmospherics/machinery/unary/vent_scrubber.html create mode 100644 code/modules/atmospherics/portable/portable_pressurizer.html create mode 100644 code/modules/barber/barber_shop.html create mode 100644 code/modules/camera/camera.html create mode 100644 code/modules/camera/network.html create mode 100644 code/modules/chemistry/Chemistry-Machinery.html create mode 100644 code/modules/chemistry/Chemistry-Reactions.html create mode 100644 code/modules/chemistry/Chemistry-Reagents.html create mode 100644 code/modules/chemistry/Chemistry-Recipes.html create mode 100644 code/modules/chemistry/Chemistry-Tools.html create mode 100644 code/modules/chemistry/Reagents-Misc.html create mode 100644 code/modules/chemistry/Reagents-PoisonEtc.html create mode 100644 code/modules/chemistry/Reagents-Transmutation.html create mode 100644 code/modules/chemistry/chemicompiler_core.html create mode 100644 code/modules/chemistry/tools/bottles.html create mode 100644 code/modules/chemistry/tools/emergency_injectors.html create mode 100644 code/modules/chemistry/tools/jars.html create mode 100644 code/modules/config/ckey_configs.html create mode 100644 code/modules/disposals/conveyor.html create mode 100644 code/modules/disposals/disposal.html create mode 100644 code/modules/disposals/mail_chute.html create mode 100644 code/modules/economy/commodity.html create mode 100644 code/modules/economy/requisition/rc_aid.html create mode 100644 code/modules/economy/requisition/rc_civilian.html create mode 100644 code/modules/economy/requisition/rc_scientific.html create mode 100644 code/modules/economy/requisition/rc_special.html create mode 100644 code/modules/economy/requisition/requisition_contracts.html create mode 100644 code/modules/economy/shippingmarket.html create mode 100644 code/modules/economy/stocks/stock_borrow.html create mode 100644 code/modules/economy/stocks/stock_events.html create mode 100644 code/modules/economy/stocks/stock_helpers.html create mode 100644 code/modules/economy/stocks/stock_industries.html create mode 100644 code/modules/economy/stocks/stock_tickers.html create mode 100644 code/modules/economy/trader.html create mode 100644 code/modules/events/gimmick/bigfart.html create mode 100644 code/modules/events/law_corruption.html create mode 100644 code/modules/events/meteor_shower.html create mode 100644 code/modules/fishing/fishing_gear.html create mode 100644 code/modules/fishing/fishing_lootpools.html create mode 100644 code/modules/fishing/fishing_spots.html create mode 100644 code/modules/fluids/fluid_core.html create mode 100644 code/modules/fluids/fluid_groups.html create mode 100644 code/modules/fluids/fluid_objects.html create mode 100644 code/modules/fluids/fluid_turf.html create mode 100644 code/modules/food_and_drink/ingredients.html create mode 100644 code/modules/goonhub/api/api.html create mode 100644 code/modules/goonhub/api/apiGuide.html create mode 100644 code/modules/goonhub/api/models/Error.html create mode 100644 code/modules/goonhub/api/models/Message.html create mode 100644 code/modules/goonhub/api/models/_Paginated.html create mode 100644 code/modules/goonhub/api/models/_PlayerResParent.html create mode 100644 code/modules/goonhub/api/models/_Tracked.html create mode 100644 code/modules/goonhub/api/models/apiModel.html create mode 100644 code/modules/goonhub/api/models/bans/BanDetail.html create mode 100644 code/modules/goonhub/api/models/bans/BanResource.html create mode 100644 code/modules/goonhub/api/models/bans/BanResourceList.html create mode 100644 code/modules/goonhub/api/models/bans/JobBanResource.html create mode 100644 code/modules/goonhub/api/models/bans/JobBanResourceList.html create mode 100644 code/modules/goonhub/api/models/bans/JobBansForPlayer.html create mode 100644 code/modules/goonhub/api/models/dectalk/DectalkPlayResource.html create mode 100644 code/modules/goonhub/api/models/events/EventAiLawResource.html create mode 100644 code/modules/goonhub/api/models/events/EventFineResource.html create mode 100644 code/modules/goonhub/api/models/events/EventStationNameResource.html create mode 100644 code/modules/goonhub/api/models/events/EventTicketResource.html create mode 100644 code/modules/goonhub/api/models/gameadmins/GameAdmin.html create mode 100644 code/modules/goonhub/api/models/gameadmins/GameAdminRank.html create mode 100644 code/modules/goonhub/api/models/gameadmins/GameAdminResource.html create mode 100644 code/modules/goonhub/api/models/gauntlet/PreviousGauntlets.html create mode 100644 code/modules/goonhub/api/models/maps/MapSwitch.html create mode 100644 code/modules/goonhub/api/models/medals/HasMedalResource.html create mode 100644 code/modules/goonhub/api/models/medals/MedalResource.html create mode 100644 code/modules/goonhub/api/models/numbersstation/NumbersStationPasswordResource.html create mode 100644 code/modules/goonhub/api/models/players/GetPlayerSaves.html create mode 100644 code/modules/goonhub/api/models/players/PlayerAntagResource.html create mode 100644 code/modules/goonhub/api/models/players/PlayerCompIdsResource.html create mode 100644 code/modules/goonhub/api/models/players/PlayerConnection.html create mode 100644 code/modules/goonhub/api/models/players/PlayerDataResource.html create mode 100644 code/modules/goonhub/api/models/players/PlayerIpsResource.html create mode 100644 code/modules/goonhub/api/models/players/PlayerMedalResource.html create mode 100644 code/modules/goonhub/api/models/players/PlayerMedalResourceList.html create mode 100644 code/modules/goonhub/api/models/players/PlayerMetadataArray.html create mode 100644 code/modules/goonhub/api/models/players/PlayerMetadataList.html create mode 100644 code/modules/goonhub/api/models/players/PlayerMetadataResource.html create mode 100644 code/modules/goonhub/api/models/players/PlayerNoteResource.html create mode 100644 code/modules/goonhub/api/models/players/PlayerNoteResourceList.html create mode 100644 code/modules/goonhub/api/models/players/PlayerParticipationResource.html create mode 100644 code/modules/goonhub/api/models/players/PlayerResource.html create mode 100644 code/modules/goonhub/api/models/players/PlayerSaveResource.html create mode 100644 code/modules/goonhub/api/models/players/PlayerStatsResource.html create mode 100644 code/modules/goonhub/api/models/players/weird/PlayerSearchResource.html create mode 100644 code/modules/goonhub/api/models/polls/PollAnswerResource.html create mode 100644 code/modules/goonhub/api/models/polls/PollOptionResource.html create mode 100644 code/modules/goonhub/api/models/polls/PollResource.html create mode 100644 code/modules/goonhub/api/models/polls/PollResourceList.html create mode 100644 code/modules/goonhub/api/models/randomentries/RandomEntries.html create mode 100644 code/modules/goonhub/api/models/rounds/GameRound.html create mode 100644 code/modules/goonhub/api/models/vpn/VpnCheckResource.html create mode 100644 code/modules/goonhub/api/models/vpn/VpnWhitelistResource.html create mode 100644 code/modules/goonhub/api/models/vpn/VpnWhitelistSearch.html create mode 100644 code/modules/goonhub/api/requests/apiBody.html create mode 100644 code/modules/goonhub/api/routes/RandomEntries.html create mode 100644 code/modules/goonhub/api/routes/RemoteMusic.html create mode 100644 code/modules/goonhub/api/routes/TestRoute.html create mode 100644 code/modules/goonhub/api/routes/apiRoute.html create mode 100644 code/modules/goonhub/api/routes/bans/AddBanDetails.html create mode 100644 code/modules/goonhub/api/routes/bans/AddBans.html create mode 100644 code/modules/goonhub/api/routes/bans/CheckBans.html create mode 100644 code/modules/goonhub/api/routes/bans/DeleteBans.html create mode 100644 code/modules/goonhub/api/routes/bans/GetBans.html create mode 100644 code/modules/goonhub/api/routes/bans/RemoveBanDetails.html create mode 100644 code/modules/goonhub/api/routes/bans/UpdateBans.html create mode 100644 code/modules/goonhub/api/routes/dectalk/PlayDectalk.html create mode 100644 code/modules/goonhub/api/routes/gameadminranks/AddGameAdminRanks.html create mode 100644 code/modules/goonhub/api/routes/gameadminranks/DeleteGameAdminRanks.html create mode 100644 code/modules/goonhub/api/routes/gameadminranks/GetGameAdminRanks.html create mode 100644 code/modules/goonhub/api/routes/gameadminranks/UpdateGameAdminRanks.html create mode 100644 code/modules/goonhub/api/routes/gameadmins/AddGameAdmins.html create mode 100644 code/modules/goonhub/api/routes/gameadmins/DeleteGameAdmins.html create mode 100644 code/modules/goonhub/api/routes/gameadmins/GetGameAdmins.html create mode 100644 code/modules/goonhub/api/routes/gameadmins/UpdateGameAdmins.html create mode 100644 code/modules/goonhub/api/routes/gauntlet/GetPreviousGauntlets.html create mode 100644 code/modules/goonhub/api/routes/jobbans/AddJobBans.html create mode 100644 code/modules/goonhub/api/routes/jobbans/CheckJobBans.html create mode 100644 code/modules/goonhub/api/routes/jobbans/DeleteJobBans.html create mode 100644 code/modules/goonhub/api/routes/jobbans/GetJobBans.html create mode 100644 code/modules/goonhub/api/routes/jobbans/GetPlayerJobBans.html create mode 100644 code/modules/goonhub/api/routes/jobbans/UpdateJobBans.html create mode 100644 code/modules/goonhub/api/routes/maps/MapSwitches.html create mode 100644 code/modules/goonhub/api/routes/numbersstation/GetNumbersStationNumbers.html create mode 100644 code/modules/goonhub/api/routes/players/PlayerAntags.html create mode 100644 code/modules/goonhub/api/routes/players/PlayerCompIds.html create mode 100644 code/modules/goonhub/api/routes/players/PlayerIps.html create mode 100644 code/modules/goonhub/api/routes/players/PlayerLogin.html create mode 100644 code/modules/goonhub/api/routes/players/PlayerParticipations.html create mode 100644 code/modules/goonhub/api/routes/players/PlayerParticipationsBulk.html create mode 100644 code/modules/goonhub/api/routes/players/PlayerPlaytime.html create mode 100644 code/modules/goonhub/api/routes/players/PlayerStats.html create mode 100644 code/modules/goonhub/api/routes/players/medals/AddPlayerMedal.html create mode 100644 code/modules/goonhub/api/routes/players/medals/DeletePlayerMedal.html create mode 100644 code/modules/goonhub/api/routes/players/medals/GetPlayerMedals.html create mode 100644 code/modules/goonhub/api/routes/players/medals/HasPlayerMedal.html create mode 100644 code/modules/goonhub/api/routes/players/medals/TransferPlayerMedals.html create mode 100644 code/modules/goonhub/api/routes/players/metadata/AddPlayerMetadata.html create mode 100644 code/modules/goonhub/api/routes/players/metadata/DeleteFromPlayerMetadata.html create mode 100644 code/modules/goonhub/api/routes/players/metadata/DeletePlayerMetadata.html create mode 100644 code/modules/goonhub/api/routes/players/metadata/GetMetadataByPlayer.html create mode 100644 code/modules/goonhub/api/routes/players/metadata/GetPlayerMetadata.html create mode 100644 code/modules/goonhub/api/routes/players/metadata/GetPlayersByMetadata.html create mode 100644 code/modules/goonhub/api/routes/players/notes/AddPlayerNotes.html create mode 100644 code/modules/goonhub/api/routes/players/notes/DeletePlayerNotes.html create mode 100644 code/modules/goonhub/api/routes/players/notes/GetPlayerNotes.html create mode 100644 code/modules/goonhub/api/routes/players/notes/UpdatePlayerNotes.html create mode 100644 code/modules/goonhub/api/routes/players/saves/AddBulkDataPlayerSaves.html create mode 100644 code/modules/goonhub/api/routes/players/saves/AddDataPlayerSaves.html create mode 100644 code/modules/goonhub/api/routes/players/saves/AddFilePlayerSaves.html create mode 100644 code/modules/goonhub/api/routes/players/saves/DeleteDataPlayerSaves.html create mode 100644 code/modules/goonhub/api/routes/players/saves/DeleteSavePlayerSaves.html create mode 100644 code/modules/goonhub/api/routes/players/saves/GetPlayerSaves.html create mode 100644 code/modules/goonhub/api/routes/players/saves/TransferDataPlayerSaves.html create mode 100644 code/modules/goonhub/api/routes/polls/AddPoll.html create mode 100644 code/modules/goonhub/api/routes/polls/AddPollOption.html create mode 100644 code/modules/goonhub/api/routes/polls/DeletePoll.html create mode 100644 code/modules/goonhub/api/routes/polls/DeletePollOption.html create mode 100644 code/modules/goonhub/api/routes/polls/EditPoll.html create mode 100644 code/modules/goonhub/api/routes/polls/EditPollOption.html create mode 100644 code/modules/goonhub/api/routes/polls/GetPoll.html create mode 100644 code/modules/goonhub/api/routes/polls/GetPolls.html create mode 100644 code/modules/goonhub/api/routes/polls/PickOption.html create mode 100644 code/modules/goonhub/api/routes/polls/UnpickOption.html create mode 100644 code/modules/goonhub/api/routes/rounds/AddGameRound.html create mode 100644 code/modules/goonhub/api/routes/rounds/EndGameRound.html create mode 100644 code/modules/goonhub/api/routes/rounds/UpdateGameRound.html create mode 100644 code/modules/goonhub/api/routes/vpn/AddVpnWhitelist.html create mode 100644 code/modules/goonhub/api/routes/vpn/CheckVpn.html create mode 100644 code/modules/goonhub/api/routes/vpn/DeleteVpnWhitelist.html create mode 100644 code/modules/goonhub/api/routes/vpn/SearchVpnWhitelist.html create mode 100644 code/modules/goonhub/event_recording/events/AILaw.html create mode 100644 code/modules/goonhub/event_recording/events/Antag.html create mode 100644 code/modules/goonhub/event_recording/events/AntagItemPurchase.html create mode 100644 code/modules/goonhub/event_recording/events/AntagObjective.html create mode 100644 code/modules/goonhub/event_recording/events/BeeSpawn.html create mode 100644 code/modules/goonhub/event_recording/events/CyborgModuleSelection.html create mode 100644 code/modules/goonhub/event_recording/events/Death.html create mode 100644 code/modules/goonhub/event_recording/events/Error.html create mode 100644 code/modules/goonhub/event_recording/events/Fine.html create mode 100644 code/modules/goonhub/event_recording/events/GauntletHighScore.html create mode 100644 code/modules/goonhub/event_recording/events/Log.html create mode 100644 code/modules/goonhub/event_recording/events/StationName.html create mode 100644 code/modules/goonhub/event_recording/events/Ticket.html create mode 100644 code/modules/goonhub/event_recording/events/eventRecord.html create mode 100644 code/modules/goonhub/event_recording/types/_TracksPlayer.html create mode 100644 code/modules/goonhub/event_recording/types/eventBody.html create mode 100644 code/modules/holiday/halloween.html create mode 100644 code/modules/hydroponics/hydroponics_growth_ticks.html create mode 100644 code/modules/hydroponics/hydroponics_misc_procs.html create mode 100644 code/modules/hydroponics/plants_herb.html create mode 100644 code/modules/interface/action_associations.html create mode 100644 code/modules/interface/hudzones.html create mode 100644 code/modules/interface/hudzones/hud_elements.html create mode 100644 code/modules/interface/hudzones/hud_zones.html create mode 100644 code/modules/interface/keybind_style.html create mode 100644 code/modules/interface/multiContext/context_actions.html create mode 100644 code/modules/interface/multiContext/context_layouts.html create mode 100644 code/modules/interface/skin_input_box.html create mode 100644 code/modules/items/specials/ItemSpecials.html create mode 100644 code/modules/jobxp/JobXPRewards.html create mode 100644 code/modules/lasers/_laser_sink.html create mode 100644 code/modules/localassets/localasset.html create mode 100644 code/modules/localassets/localassets_tgui.html create mode 100644 code/modules/mapping/helpers/access_spawn.html create mode 100644 code/modules/mapping/helpers/mob_spawn.html create mode 100644 code/modules/mapping/helpers/turf_helpers.html create mode 100644 code/modules/materials/Mat_FabParts.html create mode 100644 code/modules/materials/Mat_FabRecipes.html create mode 100644 code/modules/materials/Mat_Fabrication.html create mode 100644 code/modules/materials/Mat_Materials.html create mode 100644 code/modules/materials/Mat_Mining.html create mode 100644 code/modules/materials/Mat_ProcsDefines.html create mode 100644 code/modules/materials/Mat_Properties.html create mode 100644 code/modules/materials/Mat_RawMaterials.html create mode 100644 code/modules/materials/Mat_Recipes.html create mode 100644 code/modules/materials/materials.html create mode 100644 code/modules/mechanics/MechanicMadness.html create mode 100644 code/modules/medals/rewardsLocker.html create mode 100644 code/modules/medical/genetics/bioEffects/powers.html create mode 100644 code/modules/medical/genetics/bioHolder.html create mode 100644 code/modules/medical/surgery_procs.html create mode 100644 code/modules/minimap/markers/_minimap_marker_parent.html create mode 100644 code/modules/minimap/minimap_objects/controllers/_minimap_controller_parent.html create mode 100644 code/modules/minimap/minimap_objects/minimap_ui.html create mode 100644 code/modules/minimap/minimap_objects/objects/_minimap_object_parent.html create mode 100644 code/modules/minimap/minimaps/__minimap_parent.html create mode 100644 code/modules/minimap/renderer/minimap_renderer.html create mode 100644 code/modules/minimap/renderer/modifiers/_modifier_parent.html create mode 100644 code/modules/mining/mining_encounters.html create mode 100644 code/modules/networks/computer3/computer3.html create mode 100644 code/modules/networks/computer3/mainframe2/_base_os.html create mode 100644 code/modules/networks/computer3/mainframe2/base_program.html create mode 100644 code/modules/networks/computer3/mainframe2/misc_terms.html create mode 100644 code/modules/networks/computer3/textfiles.html create mode 100644 code/modules/parallax/parallax_render_sources/parallax_render_source_group_parent.html create mode 100644 code/modules/parallax/parallax_render_sources/parallax_render_source_parent.html create mode 100644 code/modules/parallax/parallax_render_sources/parallax_render_sources.html create mode 100644 code/modules/polling/poll_manager.html create mode 100644 code/modules/power/TEG.html create mode 100644 code/modules/power/cable.html create mode 100644 code/modules/power/lighting.html create mode 100644 code/modules/power/pt_laser.html create mode 100644 code/modules/power/solar.html create mode 100644 code/modules/projectiles/energy_bolt.html create mode 100644 code/modules/projectiles/projectile_parent.html create mode 100644 code/modules/robotics/bot/bot_parent.html create mode 100644 code/modules/robotics/bot/cleanbot.html create mode 100644 code/modules/robotics/bot/floorbot.html create mode 100644 code/modules/robotics/bot/mining.html create mode 100644 code/modules/robotics/bot/secbot.html create mode 100644 code/modules/robotics/robot/module/empty.html create mode 100644 code/modules/robotics/robot/module/parent.html create mode 100644 code/modules/robotics/robot/module_tool_creator/parent.html create mode 100644 code/modules/robotics/robot/robot_docking_station.html create mode 100644 code/modules/siphon/siphon_controls.html create mode 100644 code/modules/sound/djpanel.html create mode 100644 code/modules/sound/playsound.html create mode 100644 code/modules/sound/sound.html create mode 100644 code/modules/speech/logged_phrases.html create mode 100644 code/modules/status_system/statusEffects.html create mode 100644 code/modules/status_system/statusSystem.html create mode 100644 code/modules/status_system/status_system.html create mode 100644 code/modules/storage/machine.html create mode 100644 code/modules/storage/storage.html create mode 100644 code/modules/telescience/radiostation.html create mode 100644 code/modules/telescience/telescope/telescopeMisc.html create mode 100644 code/modules/tgs.html create mode 100644 code/modules/tgs/core.html create mode 100644 code/modules/tgs/v4.html create mode 100644 code/modules/tgs/v5.html create mode 100644 code/modules/tgui/external.html create mode 100644 code/modules/tgui/states/admin.html create mode 100644 code/modules/tgui/states/always.html create mode 100644 code/modules/tgui/states/conscious.html create mode 100644 code/modules/tgui/states/contained.html create mode 100644 code/modules/tgui/states/deep_inventory.html create mode 100644 code/modules/tgui/states/default.html create mode 100644 code/modules/tgui/states/hands.html create mode 100644 code/modules/tgui/states/human_adjacent.html create mode 100644 code/modules/tgui/states/inventory.html create mode 100644 code/modules/tgui/states/not_broken.html create mode 100644 code/modules/tgui/states/not_incapacitated.html create mode 100644 code/modules/tgui/states/notcontained.html create mode 100644 code/modules/tgui/states/observer.html create mode 100644 code/modules/tgui/states/physical.html create mode 100644 code/modules/tgui/states/self.html create mode 100644 code/modules/tgui/states/zlevel.html create mode 100644 code/modules/tgui/tgui.html create mode 100644 code/modules/tgui/tgui_alert.html create mode 100644 code/modules/tgui/tgui_color_picker.html create mode 100644 code/modules/tgui/tgui_input_bitfield.html create mode 100644 code/modules/tgui/tgui_input_list.html create mode 100644 code/modules/tgui/tgui_input_number.html create mode 100644 code/modules/tgui/tgui_input_pin.html create mode 100644 code/modules/tgui/tgui_input_text.html create mode 100644 code/modules/tgui/tgui_message.html create mode 100644 code/modules/tgui/tgui_window.html create mode 100644 code/modules/transport/pods/life_support.html create mode 100644 code/modules/transport/pods/locomotion.html create mode 100644 code/modules/transport/pods/shipcomponents.html create mode 100644 code/modules/transport/pods/ships.html create mode 100644 code/modules/transport/pods/warp_travel.html create mode 100644 code/modules/transport/shuttle/shuttle_controller.html create mode 100644 code/modules/transport/shuttle/shuttle_turfobjs.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/deletions.html create mode 100644 code/modules/worldgen/PrefabRuntimeChecker.html create mode 100644 code/modules/worldgen/RandomRoomRuntimeChecker.html create mode 100644 code/modules/worldgen/mapgen/DesertGenerator.html create mode 100644 code/modules/worldgen/mapgen/IceMoonGenerator.html create mode 100644 code/modules/worldgen/mapgen/JungleGenerator.html create mode 100644 code/modules/worldgen/mapgen/LavaMoonGenerator.html create mode 100644 code/modules/worldgen/mapgen/MarsGenerator.html create mode 100644 code/modules/worldgen/mapgen/_MapGenerator.html create mode 100644 code/modules/worldgen/mapgen/biomes/_biome.html create mode 100644 code/modules/worldgen/prefab/mapPrefab.html create mode 100644 code/modules/worldgen/region_allocator/region_allocator.html create mode 100644 code/modules/worldgen/worldgen_parent.html create mode 100644 code/modules/writing/paper.html create mode 100644 code/modules/writing/papers.html create mode 100644 code/obj/critter/automaton.html create mode 100644 code/obj/effects/ion_trail.html create mode 100644 code/obj/effects/particles.html create mode 100644 code/obj/flock/structure/flock_structure_parent.html create mode 100644 code/obj/flock/structure/gnesisturret.html create mode 100644 code/obj/flock/structure/sentinel.html create mode 100644 code/obj/item.html create mode 100644 code/obj/item/ai_modules.html create mode 100644 code/obj/item/assembly/misc_assemblies.html create mode 100644 code/obj/item/assembly/single_tank_bomb.html create mode 100644 code/obj/item/boardgame.html create mode 100644 code/obj/item/boardgame/boardgame.html create mode 100644 code/obj/item/book.html create mode 100644 code/obj/item/cable_coil.html create mode 100644 code/obj/item/clothing/fruithat.html create mode 100644 code/obj/item/clothing/gimmick.html create mode 100644 code/obj/item/clothing/shoes.html create mode 100644 code/obj/item/device/chemicompiler.html create mode 100644 code/obj/item/device/infrared_stuff.html create mode 100644 code/obj/item/device/pda2/ringtone.html create mode 100644 code/obj/item/device/radio.html create mode 100644 code/obj/item/device/radios/intercoms.html create mode 100644 code/obj/item/device/scanners.html create mode 100644 code/obj/item/device/studio_monitor.html create mode 100644 code/obj/item/device/transfer_valve.html create mode 100644 code/obj/item/generic_box.html create mode 100644 code/obj/item/grenades.html create mode 100644 code/obj/item/gun/ammo.html create mode 100644 code/obj/item/gun/energy.html create mode 100644 code/obj/item/hydroponics.html create mode 100644 code/obj/item/implant.html create mode 100644 code/obj/item/kitchen.html create mode 100644 code/obj/item/manufacturing_blueprints.html create mode 100644 code/obj/item/material.html create mode 100644 code/obj/item/misc_weapons.html create mode 100644 code/obj/item/misc_wizard_stuff.html create mode 100644 code/obj/item/mob_parts/human_parts.html create mode 100644 code/obj/item/neon_lining.html create mode 100644 code/obj/item/nuclear_operative/designator.html create mode 100644 code/obj/item/organs/tail.html create mode 100644 code/obj/item/paint.html create mode 100644 code/obj/item/pet_carrier.html create mode 100644 code/obj/item/pinpointer.html create mode 100644 code/obj/item/plants.html create mode 100644 code/obj/item/playing_cards.html create mode 100644 code/obj/item/power_stones.html create mode 100644 code/obj/item/rcd/rcd.html create mode 100644 code/obj/item/rcd/rcd_construction.html create mode 100644 code/obj/item/rcd/rcd_gimmicks.html create mode 100644 code/obj/item/sec_tape.html create mode 100644 code/obj/item/storage/ammo_pouches.html create mode 100644 code/obj/item/storage/lunchboxes.html create mode 100644 code/obj/item/stun_baton.html create mode 100644 code/obj/item/tank.html create mode 100644 code/obj/item/tool/electronics.html create mode 100644 code/obj/item/tool/omnitool.html create mode 100644 code/obj/item/uplinks.html create mode 100644 code/obj/item/zoldorfmisc.html create mode 100644 code/obj/landmark.html create mode 100644 code/obj/lattice.html create mode 100644 code/obj/machinery/computer/QM_supply.html create mode 100644 code/obj/machinery/computer/announcement.html create mode 100644 code/obj/machinery/computer/cloning.html create mode 100644 code/obj/machinery/door/airlock.html create mode 100644 code/obj/machinery/door/door_control.html create mode 100644 code/obj/machinery/door/door_parent.html create mode 100644 code/obj/machinery/door/window.html create mode 100644 code/obj/machinery/food_and_drink/mixer.html create mode 100644 code/obj/machinery/lightswitch.html create mode 100644 code/obj/machinery/manufacturer.html create mode 100644 code/obj/machinery/manufacturer_subtypes.html create mode 100644 code/obj/machinery/medimulcher.html create mode 100644 code/obj/machinery/porters.html create mode 100644 code/obj/machinery/printing_press.html create mode 100644 code/obj/machinery/recharger.html create mode 100644 code/obj/machinery/shield_generators/energy_shield.html create mode 100644 code/obj/machinery/singularity.html create mode 100644 code/obj/machinery/status_display.html create mode 100644 code/obj/machinery/tv_vis.html create mode 100644 code/obj/mining.html create mode 100644 code/obj/portal.html create mode 100644 code/obj/posters.html create mode 100644 code/obj/rack.html create mode 100644 code/obj/storage/gang_crate.html create mode 100644 code/obj/storage/pryable.html create mode 100644 code/obj/submachine/cooking.html create mode 100644 code/obj/torpedoes.html create mode 100644 code/obj/vehicle.html create mode 100644 code/obj/zoldorf.html create mode 100644 code/player.html create mode 100644 code/procs/Get_Flat_Icon.html create mode 100644 code/procs/accents.html create mode 100644 code/procs/access.html create mode 100644 code/procs/antagonist_procs.html create mode 100644 code/procs/datetime.html create mode 100644 code/procs/fireflash.html create mode 100644 code/procs/gamehelpers.html create mode 100644 code/procs/helpers.html create mode 100644 code/procs/logging.html create mode 100644 code/procs/mob_procs.html create mode 100644 code/procs/mobprocs/chatprocs.html create mode 100644 code/procs/resourceManagement.html create mode 100644 code/procs/scanprocs.html create mode 100644 code/turf/floors.html create mode 100644 code/turf/floors_airless.html create mode 100644 code/world/initialization/0_genesis.html create mode 100644 code/z_adventurezones/biodome.html create mode 100644 code/z_adventurezones/carcosa.html create mode 100644 code/z_adventurezones/debris.html create mode 100644 code/z_adventurezones/earth.html create mode 100644 code/z_adventurezones/gannets_dojozone.html create mode 100644 code/z_adventurezones/icemoon.html create mode 100644 code/z_adventurezones/luna.html create mode 100644 code/z_adventurezones/meatland.html create mode 100644 code/z_adventurezones/precursor.html create mode 100644 code/z_adventurezones/solarium.html create mode 100644 code/z_adventurezones/timeship.html create mode 100644 datum.html create mode 100644 datum/SWFuplinkspell.html create mode 100644 datum/abilityHolder.html create mode 100644 datum/abilityHolder/arcfiend.html create mode 100644 datum/abilityHolder/changeling.html create mode 100644 datum/abilityHolder/vampire.html create mode 100644 datum/abilityHolder/vampiric_thrall.html create mode 100644 datum/abilityHolder/wraith.html create mode 100644 datum/achievementReward.html create mode 100644 datum/achievementReward/contributor.html create mode 100644 datum/action.html create mode 100644 datum/action/bar.html create mode 100644 datum/action/bar/construction_field.html create mode 100644 datum/action/bar/icon.html create mode 100644 datum/action/bar/icon/buddy_cuff.html create mode 100644 datum/action/bar/icon/build.html create mode 100644 datum/action/bar/icon/callback.html create mode 100644 datum/action/bar/icon/filthyPickpocket.html create mode 100644 datum/action/bar/icon/furniture_build.html create mode 100644 datum/action/bar/icon/hitthingwithitem.html create mode 100644 datum/action/bar/icon/railing_jump.html create mode 100644 datum/action/bar/icon/remove_organ.html create mode 100644 datum/action/bar/icon/spray_gang_tag.html create mode 100644 datum/action/bar/icon/spray_graffiti.html create mode 100644 datum/action/bar/private/flash.html create mode 100644 datum/action/bar/private/icon/callback.html create mode 100644 datum/action/bar/private/icon/jolt.html create mode 100644 datum/action/bar/private/icon/sap_power.html create mode 100644 datum/action/bar/private/welding.html create mode 100644 datum/action/bar/private/welding/loop.html create mode 100644 datum/action/bar/quickload.html create mode 100644 datum/action/bar/syndie_fishing.html create mode 100644 datum/action/fishing.html create mode 100644 datum/action_controller.html create mode 100644 datum/admins.html create mode 100644 datum/aiHolder.html create mode 100644 datum/aiTask.html create mode 100644 datum/aiTask/prioritizer/critter.html create mode 100644 datum/aiTask/sequence/goalbased.html create mode 100644 datum/aiTask/sequence/goalbased/flock.html create mode 100644 datum/aiTask/succeedable/critter/range_attack.html create mode 100644 datum/aiTask/succeedable/retaliate.html create mode 100644 datum/aiTask/timed/targeted/living_object.html create mode 100644 datum/ailment.html create mode 100644 datum/ailment_data.html create mode 100644 datum/air_group.html create mode 100644 datum/allocated_region.html create mode 100644 datum/antagWeighter.html create mode 100644 datum/antagonist.html create mode 100644 datum/antagonist/arcfiend.html create mode 100644 datum/antagonist/changeling.html create mode 100644 datum/antagonist/floor_goblin.html create mode 100644 datum/antagonist/gang_leader.html create mode 100644 datum/antagonist/grinch.html create mode 100644 datum/antagonist/head_revolutionary.html create mode 100644 datum/antagonist/hunter.html create mode 100644 datum/antagonist/mob/intangible/blob.html create mode 100644 datum/antagonist/spy_thief.html create mode 100644 datum/antagonist/subordinate.html create mode 100644 datum/antagonist/subordinate/gang_member.html create mode 100644 datum/antagonist/subordinate/mob/intangible/flocktrace.html create mode 100644 datum/antagonist/subordinate/thrall.html create mode 100644 datum/antagonist/traitor.html create mode 100644 datum/antagonist/vampire.html create mode 100644 datum/antagonist/werewolf.html create mode 100644 datum/antagonist/wizard.html create mode 100644 datum/antagonist/wrestler.html create mode 100644 datum/antagonist_panel.html create mode 100644 datum/antagonist_panel_data.html create mode 100644 datum/antagonist_panel_tab.html create mode 100644 datum/antagonist_panel_tab/bundled.html create mode 100644 datum/antagonist_panel_tab/generic.html create mode 100644 datum/apiBody.html create mode 100644 datum/apiHandler.html create mode 100644 datum/apiModel.html create mode 100644 datum/apiRoute.html create mode 100644 datum/appearanceHolder.html create mode 100644 datum/artifact.html create mode 100644 datum/artifact/madness.html create mode 100644 datum/artifact_controller.html create mode 100644 datum/asset/basic.html create mode 100644 datum/ban_panel.html create mode 100644 datum/bansHandler.html create mode 100644 datum/bioEffect.html create mode 100644 datum/bioHolder.html create mode 100644 datum/bioluminescent_algae.html create mode 100644 datum/biome.html create mode 100644 datum/blob_ability/plant_nucleus.html create mode 100644 datum/bsp_tree.html create mode 100644 datum/bsp_tree/maze.html create mode 100644 datum/cargo_pad_manager.html create mode 100644 datum/cell_grid.html create mode 100644 datum/centcomviewer.html create mode 100644 datum/changelog.html create mode 100644 datum/chatOutput.html create mode 100644 datum/chemical_reaction.html create mode 100644 datum/chemicompiler_core.html create mode 100644 datum/chemicompiler_executor.html create mode 100644 datum/client_image_group.html create mode 100644 datum/cloner_defect.html create mode 100644 datum/cloner_defect/random_mutantrace.html create mode 100644 datum/cloner_defect_holder.html create mode 100644 datum/cloudSaves.html create mode 100644 datum/cobalt_tools.html create mode 100644 datum/color_matrix_editor.html create mode 100644 datum/command_argument.html create mode 100644 datum/commodity.html create mode 100644 datum/component.html create mode 100644 datum/component/analyzable.html create mode 100644 datum/component/arable.html create mode 100644 datum/component/assembly.html create mode 100644 datum/component/auto_reagent.html create mode 100644 datum/component/bloodflick.html create mode 100644 datum/component/bullet_holes.html create mode 100644 datum/component/complexsignal.html create mode 100644 datum/component/cord.html create mode 100644 datum/component/flock_interest.html create mode 100644 datum/component/flock_protection.html create mode 100644 datum/component/fragile_item.html create mode 100644 datum/component/hallucination.html create mode 100644 datum/component/holdertargeting/fullauto.html create mode 100644 datum/component/holdertargeting/sniper_scope.html create mode 100644 datum/component/mechanics_connector.html create mode 100644 datum/component/mechanics_holder.html create mode 100644 datum/component/pitfall.html create mode 100644 datum/component/pitfall/target_area.html create mode 100644 datum/component/pitfall/target_coordinates.html create mode 100644 datum/component/pitfall/target_landmark.html create mode 100644 datum/component/proximity.html create mode 100644 datum/component/radioactive.html create mode 100644 datum/component/reagent_overlay.html create mode 100644 datum/component/secbot_command.html create mode 100644 datum/component/transfer_input.html create mode 100644 datum/component/waddling.html create mode 100644 datum/component/wearertargeting/energy_shield.html create mode 100644 datum/computer.html create mode 100644 datum/computer/file/mainframe_program.html create mode 100644 datum/computer/file/mainframe_program/os.html create mode 100644 datum/computer/file/mainframe_program/os/kernel.html create mode 100644 datum/computer/file/pda_program.html create mode 100644 datum/computer/file/pda_program/gps.html create mode 100644 datum/computer/file/pda_program/os/main_os.html create mode 100644 datum/computer/file/pda_program/ringtone.html create mode 100644 datum/computer/file/terminal_program.html create mode 100644 datum/configuration.html create mode 100644 datum/contextAction.html create mode 100644 datum/contextLayout/experimentalcircle.html create mode 100644 datum/controller/air_system.html create mode 100644 datum/controller/camera_coverage.html create mode 100644 datum/controller/gameticker.html create mode 100644 datum/controller/process.html create mode 100644 datum/controller/process/tgui.html create mode 100644 datum/controller/processScheduler.html create mode 100644 datum/cookingrecipe.html create mode 100644 datum/crewCredits.html create mode 100644 datum/cross_server_message.html create mode 100644 datum/customizationHolder.html create mode 100644 datum/customization_style.html create mode 100644 datum/db_record.html create mode 100644 datum/debugFileOutput.html create mode 100644 datum/digital_filter.html create mode 100644 datum/digital_filter/exponential_moving_average.html create mode 100644 datum/disjoint_turf.html create mode 100644 datum/dj_panel.html create mode 100644 datum/dnaBlocks.html create mode 100644 datum/effects/system/foam_spread.html create mode 100644 datum/ehjax.html create mode 100644 datum/eventRecord.html create mode 100644 datum/eventRecordBody.html create mode 100644 datum/eventRecorder.html create mode 100644 datum/explosion.html create mode 100644 datum/figure_info/patreon.html create mode 100644 datum/fishing_lootpool.html create mode 100644 datum/fishing_spot.html create mode 100644 datum/flock.html create mode 100644 datum/game_mode.html create mode 100644 datum/game_mode/conspiracy.html create mode 100644 datum/game_mode/gang.html create mode 100644 datum/game_mode/nuclear.html create mode 100644 datum/game_mode/revolution.html create mode 100644 datum/game_server.html create mode 100644 datum/gang.html create mode 100644 datum/gang_item.html create mode 100644 datum/gangtileclaim.html create mode 100644 datum/gas_mixture.html create mode 100644 datum/hallucinated_sound.html create mode 100644 datum/handHolder.html create mode 100644 datum/heap.html create mode 100644 datum/http_request.html create mode 100644 datum/http_response.html create mode 100644 datum/hud.html create mode 100644 datum/hud/critter.html create mode 100644 datum/hud/critter/flock/drone.html create mode 100644 datum/hud/storage.html create mode 100644 datum/hud_element.html create mode 100644 datum/hud_zone.html create mode 100644 datum/interruptible_sleep.html create mode 100644 datum/ion_category.html create mode 100644 datum/ircbot.html create mode 100644 datum/item_special/graffiti.html create mode 100644 datum/item_special/launch_projectile.html create mode 100644 datum/item_special/massacre.html create mode 100644 datum/item_special/swipe.html create mode 100644 datum/job.html create mode 100644 datum/job/special/syndicate_weak.html create mode 100644 datum/job_controller.html create mode 100644 datum/jps_node.html create mode 100644 datum/keymap.html create mode 100644 datum/lifeprocess.html create mode 100644 datum/lifeprocess/blood.html create mode 100644 datum/lifeprocess/breath.html create mode 100644 datum/limb.html create mode 100644 datum/limb/gun.html create mode 100644 datum/limb/mouth/maneater.html create mode 100644 datum/limb/zombie.html create mode 100644 datum/lineResult.html create mode 100644 datum/loot_crate_manager.html create mode 100644 datum/loot_generator.html create mode 100644 datum/loot_grid.html create mode 100644 datum/loot_spawner_info.html create mode 100644 datum/manufacture.html create mode 100644 datum/manufacture/mechanics.html create mode 100644 datum/manufacturing_requirement.html create mode 100644 datum/manufacturing_requirement/match_flags.html create mode 100644 datum/manufacturing_requirement/match_material.html create mode 100644 datum/manufacturing_requirement/match_property.html create mode 100644 datum/manufacturing_requirement/match_subtypes.html create mode 100644 datum/manufacturing_requirement/mixed.html create mode 100644 datum/mapPrefab.html create mode 100644 datum/mapPrefab/mining.html create mode 100644 datum/mapPrefab/random_room.html create mode 100644 datum/map_generator.html create mode 100644 datum/map_generator/cave_generator.html create mode 100644 datum/map_generator/cave_generator/adventure.html create mode 100644 datum/map_generator/cave_generator/asteroid.html create mode 100644 datum/map_generator/desert_generator.html create mode 100644 datum/map_generator/forest_generator.html create mode 100644 datum/map_generator/icemoon_generator.html create mode 100644 datum/map_generator/jungle_generator.html create mode 100644 datum/map_generator/lavamoon_generator.html create mode 100644 datum/map_generator/mars_generator.html create mode 100644 datum/map_generator/mars_generator/duststorm.html create mode 100644 datum/map_generator/room_maze_generator.html create mode 100644 datum/map_generator/snow_generator.html create mode 100644 datum/map_generator/void_generator.html create mode 100644 datum/map_settings.html create mode 100644 datum/material.html create mode 100644 datum/material/interpolated.html create mode 100644 datum/materialProc.html create mode 100644 datum/material_property.html create mode 100644 datum/material_recipe.html create mode 100644 datum/matfab_part.html create mode 100644 datum/matfab_recipe.html create mode 100644 datum/matfab_recipe/simple.html create mode 100644 datum/mind.html create mode 100644 datum/mind_mob_overlay.html create mode 100644 datum/minimap.html create mode 100644 datum/minimap/area_map.html create mode 100644 datum/minimap_marker.html create mode 100644 datum/minimap_marker/minimap.html create mode 100644 datum/minimap_render_modifier.html create mode 100644 datum/minimap_renderer.html create mode 100644 datum/movable_preview.html create mode 100644 datum/movable_preview/character.html create mode 100644 datum/movable_preview/character/multiclient.html create mode 100644 datum/movable_preview/character/window.html create mode 100644 datum/mutantrace.html create mode 100644 datum/mutantrace/werewolf.html create mode 100644 datum/objective.html create mode 100644 datum/ore/event/geode.html create mode 100644 datum/organHolder.html create mode 100644 datum/parallax_controller.html create mode 100644 datum/parallax_render_source_group.html create mode 100644 datum/parallax_render_source_group/planet.html create mode 100644 datum/part_customization.html create mode 100644 datum/pathfind.html create mode 100644 datum/phrase_log.html create mode 100644 datum/pid.html create mode 100644 datum/pipe_network.html create mode 100644 datum/pipeline.html create mode 100644 datum/plant.html create mode 100644 datum/plant_gene_strain.html create mode 100644 datum/plantgenes.html create mode 100644 datum/plantgrowth_tick.html create mode 100644 datum/plantmutation.html create mode 100644 datum/player.html create mode 100644 datum/poll_ballot.html create mode 100644 datum/poll_manager.html create mode 100644 datum/powernet.html create mode 100644 datum/preferences.html create mode 100644 datum/proccall_editor.html create mode 100644 datum/processSchedulerView.html create mode 100644 datum/projectile.html create mode 100644 datum/projectile/bullet.html create mode 100644 datum/projectile/laser/makeshift.html create mode 100644 datum/projectile/special/shotchem.html create mode 100644 datum/projectile/special/shotchem/wave.html create mode 100644 datum/projectile/special/spawner.html create mode 100644 datum/promise.html create mode 100644 datum/pump_ui.html create mode 100644 datum/random_event/major/ion_storm.html create mode 100644 datum/random_event/major/law_rack_corruption.html create mode 100644 datum/random_event/major/player_spawn.html create mode 100644 datum/random_event/minor/trader.html create mode 100644 datum/rc_entry.html create mode 100644 datum/rc_entry/artifact.html create mode 100644 datum/rc_entry/food.html create mode 100644 datum/rc_entry/item.html create mode 100644 datum/rc_entry/reagent.html create mode 100644 datum/rc_entry/seed.html create mode 100644 datum/rc_entry/stack.html create mode 100644 datum/rc_itemreward.html create mode 100644 datum/reagent.html create mode 100644 datum/reagent/blood.html create mode 100644 datum/reagent/harmful/acid.html create mode 100644 datum/reagent/harmful/hyper_vomitium.html create mode 100644 datum/reagents.html create mode 100644 datum/recoil_controller.html create mode 100644 datum/region_allocator.html create mode 100644 datum/req_contract.html create mode 100644 datum/req_contract/aid.html create mode 100644 datum/req_contract/special.html create mode 100644 datum/ringtone.html create mode 100644 datum/robot/module_tool_creator.html create mode 100644 datum/robot/module_tool_creator/item_type.html create mode 100644 datum/robot/module_tool_creator/item_type/amount.html create mode 100644 datum/robot/module_tool_creator/item_type/random.html create mode 100644 datum/robot/module_tool_creator/item_types.html create mode 100644 datum/robot/module_tool_creator/recursive.html create mode 100644 datum/roundManagement.html create mode 100644 datum/score_tracker.html create mode 100644 datum/shipping_market.html create mode 100644 datum/shuttle_controller.html create mode 100644 datum/signal.html create mode 100644 datum/siphon_mineral.html create mode 100644 datum/sort_instance.html create mode 100644 datum/spacebee_extension_command.html create mode 100644 datum/spacebee_extension_system.html create mode 100644 datum/spatial_hashmap.html create mode 100644 datum/spawn_event.html create mode 100644 datum/spawn_event_editor.html create mode 100644 datum/spawn_rule.html create mode 100644 datum/spawn_rule/proc_call.html create mode 100644 datum/spawn_rules_controller.html create mode 100644 datum/special_sprint.html create mode 100644 datum/statusEffect.html create mode 100644 datum/statusEffect/changeling_regrow.html create mode 100644 datum/statusEffect/oiled/fresh.html create mode 100644 datum/statusEffect/transparium.html create mode 100644 datum/stock/article.html create mode 100644 datum/stock/ticker.html create mode 100644 datum/storage.html create mode 100644 datum/storage/no_hud.html create mode 100644 datum/storage/terminus.html create mode 100644 datum/storage/unholdable.html create mode 100644 datum/supply_packs.html create mode 100644 datum/syndicate_buylist.html create mode 100644 datum/targetable.html create mode 100644 datum/targetable/arcfiend.html create mode 100644 datum/targetable/arcfiend/arcFlash.html create mode 100644 datum/targetable/arcfiend/discharge.html create mode 100644 datum/targetable/arcfiend/jolt.html create mode 100644 datum/targetable/arcfiend/sap_power.html create mode 100644 datum/targetable/arcfiend/voltron.html create mode 100644 datum/targetable/changeling/critter.html create mode 100644 datum/targetable/critter.html create mode 100644 datum/targetable/critter/arcflash.html create mode 100644 datum/targetable/critter/bot/spray_foam.html create mode 100644 datum/targetable/flockmindAbility/partitionMind.html create mode 100644 datum/targetable/geneticsAbility/empath.html create mode 100644 datum/teg_transformation.html create mode 100644 datum/teg_transformation_mngr.html create mode 100644 datum/tgs_api/v5.html create mode 100644 datum/tgs_chat_channel.html create mode 100644 datum/tgs_chat_command.html create mode 100644 datum/tgs_chat_embed/footer.html create mode 100644 datum/tgs_chat_embed/media.html create mode 100644 datum/tgs_chat_embed/structure.html create mode 100644 datum/tgs_chat_user.html create mode 100644 datum/tgs_event_handler.html create mode 100644 datum/tgs_message_content.html create mode 100644 datum/tgs_revision_information.html create mode 100644 datum/tgs_revision_information/test_merge.html create mode 100644 datum/tgs_version.html create mode 100644 datum/tgui.html create mode 100644 datum/tgui_bug_report_form.html create mode 100644 datum/tgui_color_picker.html create mode 100644 datum/tgui_color_picker/async.html create mode 100644 datum/tgui_input_bitfield.html create mode 100644 datum/tgui_input_bitfield/async.html create mode 100644 datum/tgui_input_number.html create mode 100644 datum/tgui_input_number/async.html create mode 100644 datum/tgui_input_pin.html create mode 100644 datum/tgui_input_pin/async.html create mode 100644 datum/tgui_input_text.html create mode 100644 datum/tgui_input_text/async.html create mode 100644 datum/tgui_message.html create mode 100644 datum/tgui_modal.html create mode 100644 datum/tgui_modal/list_input.html create mode 100644 datum/tgui_modal/list_input/async.html create mode 100644 datum/tgui_window.html create mode 100644 datum/trader.html create mode 100644 datum/trait.html create mode 100644 datum/trait/job/chaplain.html create mode 100644 datum/traitHolder.html create mode 100644 datum/ui_state.html create mode 100644 datum/unionfind.html create mode 100644 datum/unit_test.html create mode 100644 datum/unit_test/passability_cache.html create mode 100644 datum/unlockable_flock_structure.html create mode 100644 datum/vis_storage_controller.html create mode 100644 datum/xor_rand_generator.html create mode 100644 datum/zlevel.html create mode 100644 datum/zoldorfitem.html create mode 100644 dmdoc.css create mode 100644 dmdoc.js create mode 100644 git.png create mode 100644 global.html create mode 100644 index.html create mode 100644 mob.html create mode 100644 mob/dead.html create mode 100644 mob/dead/observer.html create mode 100644 mob/dead/target_observer.html create mode 100644 mob/dead/target_observer/hivemind_observer.html create mode 100644 mob/living.html create mode 100644 mob/living/carbon/human.html create mode 100644 mob/living/carbon/human/normal/assistant/the_template.html create mode 100644 mob/living/carbon/human/npc/monkey.html create mode 100644 mob/living/carbon/human/npc/monkey/extremely_fast.html create mode 100644 mob/living/carbon/human/slasher.html create mode 100644 mob/living/critter.html create mode 100644 mob/living/critter/changeling.html create mode 100644 mob/living/critter/flock/drone.html create mode 100644 mob/living/critter/human.html create mode 100644 mob/living/critter/mimic.html create mode 100644 mob/living/critter/plant.html create mode 100644 mob/living/critter/plant/maneater.html create mode 100644 mob/living/critter/robotic.html create mode 100644 mob/living/critter/robotic/bot.html create mode 100644 mob/living/critter/small_animal.html create mode 100644 mob/living/critter/small_animal/dog.html create mode 100644 mob/living/critter/wraith/plaguerat.html create mode 100644 mob/living/critter/wraith/spiker.html create mode 100644 mob/living/intangible/flock/flockmind.html create mode 100644 mob/living/intangible/wraith.html create mode 100644 mob/living/intangible/wraith/wraith_trickster.html create mode 100644 mob/living/object.html create mode 100644 mob/living/silicon.html create mode 100644 mob/living/silicon/ai.html create mode 100644 mob/living/silicon/robot.html create mode 100644 mob/new_player.html create mode 100644 obj.html create mode 100644 obj/ability_button.html create mode 100644 obj/ability_button/stomper_boot_stomp.html create mode 100644 obj/blob.html create mode 100644 obj/bomb_decoy.html create mode 100644 obj/cable.html create mode 100644 obj/cable/auto.html create mode 100644 obj/computerframe.html create mode 100644 obj/critter/domestic_bee_larva.html create mode 100644 obj/critter/sword.html create mode 100644 obj/cryotron.html create mode 100644 obj/decal/cleanable.html create mode 100644 obj/decal/exhibit.html create mode 100644 obj/decal/gangtag.html create mode 100644 obj/decal/poster/flag.html create mode 100644 obj/deployable_turret.html create mode 100644 obj/disjoint_connector.html create mode 100644 obj/disposalholder.html create mode 100644 obj/disposalpipe.html create mode 100644 obj/disposalpipe/segment.html create mode 100644 obj/effects/foam.html create mode 100644 obj/fake_attacker.html create mode 100644 obj/fakeobject/nuclear_reactor_destroyed.html create mode 100644 obj/flock_structure.html create mode 100644 obj/flock_structure/collector.html create mode 100644 obj/flock_structure/gnesisturret.html create mode 100644 obj/flock_structure/interceptor.html create mode 100644 obj/flock_structure/relay.html create mode 100644 obj/flock_structure/sentinel.html create mode 100644 obj/forcefield/energyshield.html create mode 100644 obj/ganglocker.html create mode 100644 obj/geode.html create mode 100644 obj/geode/crystal.html create mode 100644 obj/grille.html create mode 100644 obj/hotspot.html create mode 100644 obj/hotspot/gasfire.html create mode 100644 obj/icecube.html create mode 100644 obj/item.html create mode 100644 obj/item/SWF_uplink.html create mode 100644 obj/item/aiModule/asimov1.html create mode 100644 obj/item/ai_plating_kit.html create mode 100644 obj/item/ammo/bullets.html create mode 100644 obj/item/artifact/bag_of_holding.html create mode 100644 obj/item/assembly/prox_ignite.html create mode 100644 obj/item/assembly/rad_ignite.html create mode 100644 obj/item/assembly/time_ignite.html create mode 100644 obj/item/barrier.html create mode 100644 obj/item/bat.html create mode 100644 obj/item/baton.html create mode 100644 obj/item/bible.html create mode 100644 obj/item/boardgame.html create mode 100644 obj/item/bunsen_burner.html create mode 100644 obj/item/cable_coil.html create mode 100644 obj/item/card/id.html create mode 100644 obj/item/card_group.html create mode 100644 obj/item/cargotele.html create mode 100644 obj/item/cargotele/traitor.html create mode 100644 obj/item/catalytic_rod.html create mode 100644 obj/item/chem_grenade.html create mode 100644 obj/item/chem_grenade/custom.html create mode 100644 obj/item/chem_pill_bottle.html create mode 100644 obj/item/clothing.html create mode 100644 obj/item/clothing/glasses/thermal.html create mode 100644 obj/item/clothing/gloves.html create mode 100644 obj/item/clothing/head/helmet/welding.html create mode 100644 obj/item/clothing/head/wig.html create mode 100644 obj/item/clothing/suit.html create mode 100644 obj/item/clothing/suit/hazard.html create mode 100644 obj/item/device/analyzer.html create mode 100644 obj/item/device/analyzer/atmospheric.html create mode 100644 obj/item/device/analyzer/healthanalyzer.html create mode 100644 obj/item/device/detective_scanner.html create mode 100644 obj/item/device/event_beacon.html create mode 100644 obj/item/device/fingerprinter.html create mode 100644 obj/item/device/flash/conspiracy.html create mode 100644 obj/item/device/gps.html create mode 100644 obj/item/device/infra.html create mode 100644 obj/item/device/infra_sensor.html create mode 100644 obj/item/device/laser_designator.html create mode 100644 obj/item/device/light/zippo.html create mode 100644 obj/item/device/nukeop_commander_uplink.html create mode 100644 obj/item/device/pda2.html create mode 100644 obj/item/device/prisoner_scanner.html create mode 100644 obj/item/device/radio.html create mode 100644 obj/item/device/reagentscanner.html create mode 100644 obj/item/device/speech_pro.html create mode 100644 obj/item/device/t_scanner.html create mode 100644 obj/item/device/timer.html create mode 100644 obj/item/device/transfer_valve.html create mode 100644 obj/item/device/transfer_valve/vr.html create mode 100644 obj/item/disk/data/floppy/manudrive.html create mode 100644 obj/item/engivac.html create mode 100644 obj/item/extinguisher.html create mode 100644 obj/item/fishing_rod.html create mode 100644 obj/item/flag.html create mode 100644 obj/item/furniture_parts.html create mode 100644 obj/item/gang_loot.html create mode 100644 obj/item/gardentrowel.html create mode 100644 obj/item/gimmickbomb.html create mode 100644 obj/item/grab.html create mode 100644 obj/item/gun.html create mode 100644 obj/item/gun/energy.html create mode 100644 obj/item/gun/energy/antique.html create mode 100644 obj/item/gun/energy/blaster_pistol.html create mode 100644 obj/item/gun/energy/blaster_pod_wars.html create mode 100644 obj/item/gun/energy/crossbow.html create mode 100644 obj/item/gun/energy/egun.html create mode 100644 obj/item/gun/energy/ghost.html create mode 100644 obj/item/gun/energy/makeshift.html create mode 100644 obj/item/gun/energy/pickpocket.html create mode 100644 obj/item/gun/energy/plasma_gun.html create mode 100644 obj/item/gun/energy/teleport.html create mode 100644 obj/item/gun/energy/vuvuzela_gun.html create mode 100644 obj/item/gun/energy/wasp.html create mode 100644 obj/item/gun/flamethrower.html create mode 100644 obj/item/gun/kinetic.html create mode 100644 obj/item/gun/kinetic/foamdartgun/borg.html create mode 100644 obj/item/gun/kinetic/pumpweapon.html create mode 100644 obj/item/gun/reagent.html create mode 100644 obj/item/halberd.html create mode 100644 obj/item/hand_tele.html create mode 100644 obj/item/implant/marionette.html create mode 100644 obj/item/implant/revenge.html create mode 100644 obj/item/instrument.html create mode 100644 obj/item/interdictor_rod.html create mode 100644 obj/item/lamp_manufacturer.html create mode 100644 obj/item/light.html create mode 100644 obj/item/lotteryTicket.html create mode 100644 obj/item/material_piece.html create mode 100644 obj/item/mechanics.html create mode 100644 obj/item/mechanics/hangman.html create mode 100644 obj/item/mechanics/movement.html create mode 100644 obj/item/mechanics/textmanip.html create mode 100644 obj/item/megaphone.html create mode 100644 obj/item/old_grenade.html create mode 100644 obj/item/ore_scoop.html create mode 100644 obj/item/organ.html create mode 100644 obj/item/organ/head.html create mode 100644 obj/item/organ/kidney.html create mode 100644 obj/item/organ/lung.html create mode 100644 obj/item/organ/stomach.html create mode 100644 obj/item/organ/tail.html create mode 100644 obj/item/paper.html create mode 100644 obj/item/paper/book/from_file/pocketguide.html create mode 100644 obj/item/paper/manufacturer_blueprint.html create mode 100644 obj/item/paper/newspaper.html create mode 100644 obj/item/paper_bin.html create mode 100644 obj/item/parts.html create mode 100644 obj/item/parts/human_parts.html create mode 100644 obj/item/parts/human_parts/arm/left/abomination.html create mode 100644 obj/item/parts/human_parts/arm/left/brullbar.html create mode 100644 obj/item/parts/human_parts/arm/left/item.html create mode 100644 obj/item/parts/human_parts/arm/left/synth.html create mode 100644 obj/item/parts/human_parts/arm/left/zombie.html create mode 100644 obj/item/parts/human_parts/arm/right/brullbar.html create mode 100644 obj/item/parts/human_parts/arm/right/item.html create mode 100644 obj/item/parts/robot_parts.html create mode 100644 obj/item/parts/robot_parts/head.html create mode 100644 obj/item/parts/robot_parts/robot_frame.html create mode 100644 obj/item/pen.html create mode 100644 obj/item/pet_carrier.html create mode 100644 obj/item/photo.html create mode 100644 obj/item/pinpointer.html create mode 100644 obj/item/pipebomb/bomb.html create mode 100644 obj/item/pipebomb/frame.html create mode 100644 obj/item/plant/flower/rose/poisoned.html create mode 100644 obj/item/plant/flower/sunflower.html create mode 100644 obj/item/plant/tumbling_creeper.html create mode 100644 obj/item/plantanalyzer.html create mode 100644 obj/item/plate.html create mode 100644 obj/item/playing_card.html create mode 100644 obj/item/pocketwatch.html create mode 100644 obj/item/raw_material.html create mode 100644 obj/item/rcd.html create mode 100644 obj/item/rcd/material.html create mode 100644 obj/item/rcd/material/viscerite.html create mode 100644 obj/item/reactor_component.html create mode 100644 obj/item/reactor_component/control_rod.html create mode 100644 obj/item/reagent_containers.html create mode 100644 obj/item/reagent_containers/balloon.html create mode 100644 obj/item/reagent_containers/emergency_injector.html create mode 100644 obj/item/reagent_containers/food.html create mode 100644 obj/item/reagent_containers/food/drinks.html create mode 100644 obj/item/reagent_containers/food/drinks/drinkingglass.html create mode 100644 obj/item/reagent_containers/food/fish.html create mode 100644 obj/item/reagent_containers/food/snacks.html create mode 100644 obj/item/reagent_containers/food/snacks/breadloaf.html create mode 100644 obj/item/reagent_containers/food/snacks/candy.html create mode 100644 obj/item/reagent_containers/food/snacks/candy/lollipop.html create mode 100644 obj/item/reagent_containers/food/snacks/ingredient/pizza_base.html create mode 100644 obj/item/reagent_containers/food/snacks/pie.html create mode 100644 obj/item/reagent_containers/food/snacks/plant.html create mode 100644 obj/item/reagent_containers/food/snacks/spaghetti/spicy.html create mode 100644 obj/item/reagent_containers/glass.html create mode 100644 obj/item/reagent_containers/glass/condenser.html create mode 100644 obj/item/reagent_containers/glass/condenser/fractional.html create mode 100644 obj/item/reagent_containers/synthflesh_pustule.html create mode 100644 obj/item/reagent_containers/syringe.html create mode 100644 obj/item/remote/marionette_implant.html create mode 100644 obj/item/robospray.html create mode 100644 obj/item/robot_module.html create mode 100644 obj/item/roboupgrade.html create mode 100644 obj/item/room_planner.html create mode 100644 obj/item/salvager.html create mode 100644 obj/item/satchel.html create mode 100644 obj/item/saw.html create mode 100644 obj/item/seed.html create mode 100644 obj/item/sheet.html create mode 100644 obj/item/shipcomponent.html create mode 100644 obj/item/shipcomponent/engine.html create mode 100644 obj/item/shipcomponent/mainweapon.html create mode 100644 obj/item/shipcomponent/mainweapon/constructor.html create mode 100644 obj/item/shipcomponent/secondary_system/orescoop.html create mode 100644 obj/item/spray_paint_gang.html create mode 100644 obj/item/sticker/postit/artifact_paper.html create mode 100644 obj/item/storage/backpack/recharge_bay.html create mode 100644 obj/item/storage/pill_bottle.html create mode 100644 obj/item/storage/secure.html create mode 100644 obj/item/swingsignfolded.html create mode 100644 obj/item/sword.html create mode 100644 obj/item/swords.html create mode 100644 obj/item/syndie_fishing_rod.html create mode 100644 obj/item/tank.html create mode 100644 obj/item/tank/jetpack.html create mode 100644 obj/item/tool/janktanktwo.html create mode 100644 obj/item/tool/omnitool.html create mode 100644 obj/item/toolbox_tiles.html create mode 100644 obj/item/uplink.html create mode 100644 obj/item/uplink/integrated/pda/spy.html create mode 100644 obj/item/wall_trophy.html create mode 100644 obj/item/weldingtool.html create mode 100644 obj/ladder.html create mode 100644 obj/landmark/random_room.html create mode 100644 obj/landmark/spawner.html create mode 100644 obj/landmark/viscontents_spawn.html create mode 100644 obj/laser_sink.html create mode 100644 obj/lattice.html create mode 100644 obj/lattice/auto.html create mode 100644 obj/linked_laser.html create mode 100644 obj/linked_laser/h7_beam.html create mode 100644 obj/loot_spawner.html create mode 100644 obj/loot_spawner/random.html create mode 100644 obj/machinery.html create mode 100644 obj/machinery/activation_button.html create mode 100644 obj/machinery/alarm.html create mode 100644 obj/machinery/arc_electroplater.html create mode 100644 obj/machinery/atmospherics.html create mode 100644 obj/machinery/atmospherics/binary/dp_vent_pump.html create mode 100644 obj/machinery/atmospherics/binary/nuclear_reactor.html create mode 100644 obj/machinery/atmospherics/binary/pump.html create mode 100644 obj/machinery/atmospherics/binary/reactor_turbine.html create mode 100644 obj/machinery/atmospherics/binary/valve.html create mode 100644 obj/machinery/atmospherics/binary/volume_pump.html create mode 100644 obj/machinery/atmospherics/pipe.html create mode 100644 obj/machinery/atmospherics/pipe/simple.html create mode 100644 obj/machinery/atmospherics/trinary.html create mode 100644 obj/machinery/atmospherics/trinary/filter.html create mode 100644 obj/machinery/atmospherics/trinary/manifold_valve.html create mode 100644 obj/machinery/atmospherics/trinary/mixer.html create mode 100644 obj/machinery/atmospherics/trinary/retrofilter.html create mode 100644 obj/machinery/atmospherics/unary.html create mode 100644 obj/machinery/atmospherics/unary/cold_sink.html create mode 100644 obj/machinery/atmospherics/unary/cryo_cell.html create mode 100644 obj/machinery/atmospherics/unary/outlet_injector.html create mode 100644 obj/machinery/atmospherics/unary/vent_pump.html create mode 100644 obj/machinery/atmospherics/unary/vent_scrubber.html create mode 100644 obj/machinery/bot.html create mode 100644 obj/machinery/bot/buttbot.html create mode 100644 obj/machinery/bot/cambot.html create mode 100644 obj/machinery/bot/chefbot.html create mode 100644 obj/machinery/bot/cleanbot.html create mode 100644 obj/machinery/bot/duckbot.html create mode 100644 obj/machinery/bot/firebot.html create mode 100644 obj/machinery/bot/floorbot.html create mode 100644 obj/machinery/bot/guardbot.html create mode 100644 obj/machinery/bot/medbot.html create mode 100644 obj/machinery/bot/mulebot.html create mode 100644 obj/machinery/bot/secbot.html create mode 100644 obj/machinery/bot/skullbot.html create mode 100644 obj/machinery/broadside_gun.html create mode 100644 obj/machinery/camera.html create mode 100644 obj/machinery/cashreg.html create mode 100644 obj/machinery/catalytic_rod_unit.html create mode 100644 obj/machinery/chem_dispenser.html create mode 100644 obj/machinery/chem_master.html create mode 100644 obj/machinery/chem_shaker.html create mode 100644 obj/machinery/clonepod.html create mode 100644 obj/machinery/clothingbooth.html create mode 100644 obj/machinery/communications_dish/transception.html create mode 100644 obj/machinery/computer.html create mode 100644 obj/machinery/computer/announcement.html create mode 100644 obj/machinery/computer/atmosphere/pumpcontrol.html create mode 100644 obj/machinery/computer/battlecruiser_podbay.html create mode 100644 obj/machinery/computer/genetics.html create mode 100644 obj/machinery/computer/riotgear.html create mode 100644 obj/machinery/computer/siphon_control.html create mode 100644 obj/machinery/computer/siphon_db.html create mode 100644 obj/machinery/computer/transception.html create mode 100644 obj/machinery/computer3.html create mode 100644 obj/machinery/conveyor.html create mode 100644 obj/machinery/conveyor_switch.html create mode 100644 obj/machinery/deep_fryer.html create mode 100644 obj/machinery/defib_mount.html create mode 100644 obj/machinery/dialysis.html create mode 100644 obj/machinery/dispenser.html create mode 100644 obj/machinery/disposal.html create mode 100644 obj/machinery/disposal/chemlink.html create mode 100644 obj/machinery/door.html create mode 100644 obj/machinery/door/airlock.html create mode 100644 obj/machinery/door_control.html create mode 100644 obj/machinery/door_control/antagscanner.html create mode 100644 obj/machinery/drainage.html create mode 100644 obj/machinery/emitter.html create mode 100644 obj/machinery/field_generator.html create mode 100644 obj/machinery/firealarm.html create mode 100644 obj/machinery/fluid_canister.html create mode 100644 obj/machinery/hair_dye_dispenser.html create mode 100644 obj/machinery/interdictor.html create mode 100644 obj/machinery/launcher_loader.html create mode 100644 obj/machinery/lawrack.html create mode 100644 obj/machinery/light_switch.html create mode 100644 obj/machinery/manufacturer.html create mode 100644 obj/machinery/maptext_monitor.html create mode 100644 obj/machinery/medimulcher.html create mode 100644 obj/machinery/microwave.html create mode 100644 obj/machinery/nanofab.html create mode 100644 obj/machinery/navbeacon.html create mode 100644 obj/machinery/networked/storage/bomb_tester.html create mode 100644 obj/machinery/nuclearbomb.html create mode 100644 obj/machinery/plantpot.html create mode 100644 obj/machinery/plantpot/bareplant.html create mode 100644 obj/machinery/playerzoldorf.html create mode 100644 obj/machinery/port_a_brig.html create mode 100644 obj/machinery/portable_atmospherics/canister.html create mode 100644 obj/machinery/portable_atmospherics/pressurizer.html create mode 100644 obj/machinery/portable_atmospherics/scrubber.html create mode 100644 obj/machinery/power.html create mode 100644 obj/machinery/power/apc.html create mode 100644 obj/machinery/power/catalytic_generator.html create mode 100644 obj/machinery/power/pt_laser.html create mode 100644 obj/machinery/power/solar.html create mode 100644 obj/machinery/power/tracker.html create mode 100644 obj/machinery/printing_press.html create mode 100644 obj/machinery/r_door_control.html create mode 100644 obj/machinery/recharge_station.html create mode 100644 obj/machinery/rkit.html create mode 100644 obj/machinery/shieldgenerator.html create mode 100644 obj/machinery/shieldgenerator/energy_shield.html create mode 100644 obj/machinery/shower.html create mode 100644 obj/machinery/shuttle/weapon.html create mode 100644 obj/machinery/siphon.html create mode 100644 obj/machinery/siphon/core.html create mode 100644 obj/machinery/siphon/resonator.html create mode 100644 obj/machinery/sleep_console.html create mode 100644 obj/machinery/sleeper.html create mode 100644 obj/machinery/sleeper/port_a_medbay.html create mode 100644 obj/machinery/space_heater.html create mode 100644 obj/machinery/status_display.html create mode 100644 obj/machinery/the_singularity.html create mode 100644 obj/machinery/the_singularitygen.html create mode 100644 obj/machinery/transception_pad.html create mode 100644 obj/machinery/traymachine.html create mode 100644 obj/machinery/vehicle.html create mode 100644 obj/machinery/vending.html create mode 100644 obj/machinery/vending/player.html create mode 100644 obj/machinery/vending/player/chemicals.html create mode 100644 obj/machinery/vending/port_a_nanomed.html create mode 100644 obj/machinery/wraith/runetrap.html create mode 100644 obj/mapping_helper/airlock/cycler.html create mode 100644 obj/mapping_helper/mob_spawn.html create mode 100644 obj/mapping_helper/mob_spawn/corpse/human.html create mode 100644 obj/merge_conflict_marker.html create mode 100644 obj/minimap.html create mode 100644 obj/minimap_controller.html create mode 100644 obj/newmeteor/massive.html create mode 100644 obj/npc/station_trader.html create mode 100644 obj/npc/trader.html create mode 100644 obj/overlay/construction_field.html create mode 100644 obj/placeholder.html create mode 100644 obj/projectile.html create mode 100644 obj/racing_clowncar/kart.html create mode 100644 obj/rack/organized.html create mode 100644 obj/shrub.html create mode 100644 obj/solar_control.html create mode 100644 obj/statue.html create mode 100644 obj/storage.html create mode 100644 obj/storage/closet.html create mode 100644 obj/storage/secure/closet.html create mode 100644 obj/submachine/ATM.html create mode 100644 obj/submachine/cargopad.html create mode 100644 obj/submachine/chem_extractor.html create mode 100644 obj/submachine/laundry_machine.html create mode 100644 obj/submachine/slot_machine.html create mode 100644 obj/swingsign.html create mode 100644 obj/table.html create mode 100644 obj/vehicle.html create mode 100644 obj/vehicle/adminbus.html create mode 100644 obj/vehicle/clowncar.html create mode 100644 obj/vehicle/floorbuffer.html create mode 100644 obj/vehicle/forklift.html create mode 100644 obj/vehicle/segway.html create mode 100644 obj/warp_beacon.html create mode 100644 obj/warp_portal.html create mode 100644 obj/window/auto.html create mode 100644 obj/xmastree.html create mode 100644 particles.html create mode 100644 plain_data.html create mode 100644 procpath.html create mode 100644 turf.html create mode 100644 turf/simulated.html create mode 100644 turf/simulated/floor.html create mode 100644 turf/simulated/floor/auto.html create mode 100644 turf/simulated/floor/marslike.html create mode 100644 turf/simulated/wall/auto.html create mode 100644 turf/unsimulated.html create mode 100644 turf/unsimulated/floor/auto.html create mode 100644 turf/unsimulated/wall/auto.html create mode 100644 typeinfo/atom.html create mode 100644 typeinfo/atom/movable.html create mode 100644 typeinfo/datum/customization_style.html create mode 100644 typeinfo/datum/mutantrace.html create mode 100644 typeinfo/obj/item/clothing/suit/hazard.html create mode 100644 typeinfo/obj/table.html create mode 100644 typeinfo/turf/simulated/floor/auto.html create mode 100644 typeinfo/turf/simulated/wall/auto.html create mode 100644 typeinfo/turf/unsimulated/floor/auto.html create mode 100644 typeinfo/turf/unsimulated/wall/auto.html create mode 100644 world.html diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 0000000000000..8b137891791fe --- /dev/null +++ b/.nojekyll @@ -0,0 +1 @@ + diff --git a/CNAME b/CNAME new file mode 100644 index 0000000000000..35dd7a2d5e988 --- /dev/null +++ b/CNAME @@ -0,0 +1 @@ +docs.goonhub.com \ No newline at end of file diff --git a/_is_abstract/area/shuttle.html b/_is_abstract/area/shuttle.html new file mode 100644 index 0000000000000..38d2c2751a647 --- /dev/null +++ b/_is_abstract/area/shuttle.html @@ -0,0 +1,9 @@ +/_is_abstract/area/shuttle - Goonstation 13
Goonstation 13 - Modules - Types

/_is_abstract/area/shuttle

\ No newline at end of file diff --git a/_is_abstract/datum/component/pitfall.html b/_is_abstract/datum/component/pitfall.html new file mode 100644 index 0000000000000..bd3405cd0812e --- /dev/null +++ b/_is_abstract/datum/component/pitfall.html @@ -0,0 +1,35 @@ +/_is_abstract/datum/component/pitfall - Goonstation 13
Goonstation 13 - Modules - Types

/_is_abstract/datum/component/pitfall

\ No newline at end of file diff --git a/_is_abstract/mob/living/critter/human.html b/_is_abstract/mob/living/critter/human.html new file mode 100644 index 0000000000000..757a113b91396 --- /dev/null +++ b/_is_abstract/mob/living/critter/human.html @@ -0,0 +1,4 @@ +/_is_abstract/mob/living/critter/human - Goonstation 13
Goonstation 13 - Modules - Types

/_is_abstract/mob/living/critter/human

A file for human mob critters

+

The idea is to use a temporary mob equip them and copy the appearance for the critter +Inhands are handled on the handholder just set object_for_inhand as an object path.

+

Subtypes should always set a human to copy but don't need to set a corpse spawner.

\ No newline at end of file diff --git a/_is_abstract/obj/mapping_helper/turf/floor.html b/_is_abstract/obj/mapping_helper/turf/floor.html new file mode 100644 index 0000000000000..a3b9f931a76fc --- /dev/null +++ b/_is_abstract/obj/mapping_helper/turf/floor.html @@ -0,0 +1,8 @@ +/_is_abstract/obj/mapping_helper/turf/floor - Goonstation 13
Goonstation 13 - Modules - Types

/_is_abstract/obj/mapping_helper/turf/floor

\ No newline at end of file diff --git a/_std.html b/_std.html new file mode 100644 index 0000000000000..26e3979c69950 --- /dev/null +++ b/_std.html @@ -0,0 +1,10 @@ +_std/README.md - Goonstation 13
Goonstation 13 - Modules - Types

_std/README.md

Holds standard macros and defines for Goonstation. First in the compile order. See __std.dme for details on compilation.

+

if your file is BROADLY meant to just be a list of defines for value replacement, put it in the defines folder. +even if it has a few macros or a global list, the purpse of the file is more important for organisation! +if it doesnt fit in either, then leave it in the _std folder. (*scream) +also: please see if any of the existing files work for your defines or macros. +if they dont, please make a new file. i dont want to have to de-bloat another setup.dm :'(

+

TODO: +add a procs folder, and move most of our generic helper procs there (from the random places theyre scattered across the codebase) +add a globals folder, and move most of our global stuff there? not sure about this. +identify files withs similar purposes across defines, macros, lists, procs, globals, whatever. then make a file in main std folder with that content and delete the others.

\ No newline at end of file diff --git a/_std/__build.html b/_std/__build.html new file mode 100644 index 0000000000000..8fe9b976bcf2c --- /dev/null +++ b/_std/__build.html @@ -0,0 +1,3 @@ +_std/__build.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/__build.dm

VCS_REVISION///--- CONVENIENCE OPTIONS FOR TESTING ETC ---// +The literal current commit hash the server is running off of
VCS_AUTHORThe literal current author of the commit the server is runing off of
ORIGIN_REVISIONThe latest commit on the origin at the time of the server build, for display
ORIGIN_AUTHORThe latest commit author on the origin at the time of the server build, for display

Define Details

ORIGIN_AUTHOR

The latest commit author on the origin at the time of the server build, for display

ORIGIN_REVISION

The latest commit on the origin at the time of the server build, for display

VCS_AUTHOR

The literal current author of the commit the server is runing off of

VCS_REVISION

///--- CONVENIENCE OPTIONS FOR TESTING ETC ---// +The literal current commit hash the server is running off of

\ No newline at end of file diff --git a/_std/color.html b/_std/color.html new file mode 100644 index 0000000000000..5f3c6b58b9a2a --- /dev/null +++ b/_std/color.html @@ -0,0 +1,11 @@ +_std/color.dm - Goonstation 13
Goonstation 13 - Modules - Types

_std/color.dm

/proc/mult_color_matrixTakes two 20-length lists, turns them into 5x4 matrices, multiplies them together, and returns a 20-length list
/proc/normalize_color_to_matrixTakes a possible value of the color var and returns a length 20 color matrix doing the same thing. +Available inputs: +null, "#rgb", "#rrggbb", "#rgba", "#rrggbbaa", all forms of color matrices
/proc/color_mapping_matrixTakes two lists, inp=list(i1, i2, i3), out=(o1, o2, o3). +Creates a color matrix which maps color i1 to o2, i2 to o2, i3 to o3. (Ignores alpha values.) +Keep the i1, i2, i3 vectors linearly independent. +The colors can be either be color hex strings or lists as returned from hex_to_rgb_list. +You need to supply all arguments. If you don't care about the third just set i3 = o3 to something linearly independent of i1 and i2.
/proc/affine_color_mapping_matrixThe same thing as [proc/color_mapping_matrix] but with 4 mapped colors. +The first color is used as the origin in the affine transform.
/proc/hsv_transform_color_matrixGenerates a color matrix which performs an approximation of the HSV-space transform. +Hue is in degrees and is applied additively. +Saturation is in a 0-1 range and is applied multiplicatively. +Value is in a 0-1 range and is applied multiplicatively.
/proc/get_average_colorTakes an icon and optionally two non-zero Pixel Intervals and returns the average color of the icon.
/proc/derive_color_from_hue_offset
/proc/derive_complementary_color
/proc/derive_analogous_colors
/proc/derive_triadic_colors
/proc/derive_square_colors
\ No newline at end of file diff --git a/_std/compatibility.html b/_std/compatibility.html new file mode 100644 index 0000000000000..a3d8ddce802d3 --- /dev/null +++ b/_std/compatibility.html @@ -0,0 +1 @@ +_std/compatibility.dme - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/compatibility.dme

PROC_REFCall by name proc reference, checks if the proc exists on this type or as a global proc
VERB_REFCall by name verb references, checks if the verb exists on either this type or as a global verb.
TYPE_VERB_REFCall by name verb reference, checks if the verb exists on either the given type or as a global verb
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

TYPE_VERB_REF

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

VERB_REF

Call by name verb references, checks if the verb exists on either this type or as a global verb.

\ No newline at end of file diff --git a/_std/copy.html b/_std/copy.html new file mode 100644 index 0000000000000..229c7696d1352 --- /dev/null +++ b/_std/copy.html @@ -0,0 +1 @@ +_std/copy.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/copy.dm

SEMI_DEEP_COPYmakes a sorta deep copy of a thing

Define Details

SEMI_DEEP_COPY

makes a sorta deep copy of a thing

\ No newline at end of file diff --git a/_std/datum.html b/_std/datum.html new file mode 100644 index 0000000000000..999094a7fd1da --- /dev/null +++ b/_std/datum.html @@ -0,0 +1 @@ +_std/datum.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/datum.dm

hasvarReturns true if Datum has the given variable, false if not. Null if A doesn't exist.
istype_exactIstype, but exact. Thing must be a datum.

Define Details

hasvar

Returns true if Datum has the given variable, false if not. Null if A doesn't exist.

istype_exact

Istype, but exact. Thing must be a datum.

\ No newline at end of file diff --git a/_std/defines/_units.html b/_std/defines/_units.html new file mode 100644 index 0000000000000..38ad3f52e1409 --- /dev/null +++ b/_std/defines/_units.html @@ -0,0 +1 @@ +_std/defines/_units.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/defines/_units.dm

INFINITYEvaluates to an actual IEEE 754 infinity!

Define Details

INFINITY

Evaluates to an actual IEEE 754 infinity!

\ No newline at end of file diff --git a/_std/defines/abilities.html b/_std/defines/abilities.html new file mode 100644 index 0000000000000..f92cd12581e00 --- /dev/null +++ b/_std/defines/abilities.html @@ -0,0 +1,5 @@ +_std/defines/abilities.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/defines/abilities.dm

CAST_ATTEMPT_SUCCESSCast was successful, deduct points, modify cooldowns, etc
CAST_ATTEMPT_FAIL_CAST_FAILURE
CAST_ATTEMPT_FAIL_DO_COOLDOWNCast failed, but we want to put it on cooldown. This is the only return which will cause a cooldown.
CAST_ATTEMPT_FAIL_NO_COOLDOWNCast failed for some reason, we don't want to start the cooldown
ABILITY_AREA_CHECK_ALL_RESTRICTED_ZCannot cast on restricted Z levels (mostly Z2 and Z4)
ABILITY_AREA_CHECK_VR_ONLYCannot cast in VR

Define Details

ABILITY_AREA_CHECK_ALL_RESTRICTED_Z

Cannot cast on restricted Z levels (mostly Z2 and Z4)

ABILITY_AREA_CHECK_VR_ONLY

Cannot cast in VR

CAST_ATTEMPT_FAIL_CAST_FAILURE

CAST_ATTEMPT_FAIL_DO_COOLDOWN

Cast failed, but we want to put it on cooldown. This is the only return which will cause a cooldown.

CAST_ATTEMPT_FAIL_NO_COOLDOWN

Cast failed for some reason, we don't want to start the cooldown

CAST_ATTEMPT_SUCCESS

Cast was successful, deduct points, modify cooldowns, etc

\ No newline at end of file diff --git a/_std/defines/access.html b/_std/defines/access.html new file mode 100644 index 0000000000000..7a6c464b77d3f --- /dev/null +++ b/_std/defines/access.html @@ -0,0 +1 @@ +_std/defines/access.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/defines/access.dm

access_fuck_allThis is useful for scenarios where login is required but no particular access is needed.

Define Details

access_fuck_all

This is useful for scenarios where login is required but no particular access is needed.

\ No newline at end of file diff --git a/_std/defines/actions.html b/_std/defines/actions.html new file mode 100644 index 0000000000000..05b41af9b43e5 --- /dev/null +++ b/_std/defines/actions.html @@ -0,0 +1 @@ +_std/defines/actions.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/defines/actions.dm

INTERRUPT_ALWAYSInternal flag that will always interrupt any action, and disables action resumability
INTERRUPT_NONEdont
INTERRUPT_MOVEInterrupted when object moves
INTERRUPT_ACTInterrupted when object does anything
INTERRUPT_ATTACKEDInterrupted when object is attacked
INTERRUPT_STUNNEDInterrupted when owner is stunned or knocked out etc.
INTERRUPT_ACTIONInterrupted when another action is started.
ACTIONSTATE_STOPPEDAction has not been started yet.
ACTIONSTATE_RUNNINGAction is in progress
ACTIONSTATE_INTERRUPTEDAction was interrupted
ACTIONSTATE_ENDEDAction ended succesfully
ACTIONSTATE_DELETEAction is ready to be deleted.
ACTIONSTATE_FINISHWill finish action after next process.
ACTIONSTATE_INFINITEWill not finish unless interrupted.

Define Details

ACTIONSTATE_DELETE

Action is ready to be deleted.

ACTIONSTATE_ENDED

Action ended succesfully

ACTIONSTATE_FINISH

Will finish action after next process.

ACTIONSTATE_INFINITE

Will not finish unless interrupted.

ACTIONSTATE_INTERRUPTED

Action was interrupted

ACTIONSTATE_RUNNING

Action is in progress

ACTIONSTATE_STOPPED

Action has not been started yet.

INTERRUPT_ACT

Interrupted when object does anything

INTERRUPT_ACTION

Interrupted when another action is started.

INTERRUPT_ALWAYS

Internal flag that will always interrupt any action, and disables action resumability

INTERRUPT_ATTACKED

Interrupted when object is attacked

INTERRUPT_MOVE

Interrupted when object moves

INTERRUPT_NONE

dont

INTERRUPT_STUNNED

Interrupted when owner is stunned or knocked out etc.

\ No newline at end of file diff --git a/_std/defines/admin.html b/_std/defines/admin.html new file mode 100644 index 0000000000000..cafd30ab6d1b5 --- /dev/null +++ b/_std/defines/admin.html @@ -0,0 +1 @@ +_std/defines/admin.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/defines/admin.dm

AUDIT_ACCESS_DENIEDWhether or not a potentially suspicious action gets denied by the code.
AUDIT_VIEW_VARIABLESLogged whenever you try to View Variables a thing
PM_NO_ALERTfor audible and dectalk PM's

Define Details

AUDIT_ACCESS_DENIED

Whether or not a potentially suspicious action gets denied by the code.

AUDIT_VIEW_VARIABLES

Logged whenever you try to View Variables a thing

PM_NO_ALERT

for audible and dectalk PM's

\ No newline at end of file diff --git a/_std/defines/ailments.html b/_std/defines/ailments.html new file mode 100644 index 0000000000000..027766217a08e --- /dev/null +++ b/_std/defines/ailments.html @@ -0,0 +1 @@ +_std/defines/ailments.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/defines/ailments.dm

CURE_INCURABLEailment is incurable
CURE_UNKNOWNailment cure is unknown. same as incurable. just no known cures
CURE_TIMEailment may cure itself as time passes
CURE_ELEC_SHOCKailment cure is electric shock
CURE_ANTIBIOTICSailment cure is antibiotics
CURE_SURGERYailment cure is some form of surgery
CURE_SLEEPailment cure is by sleeping
CURE_HEART_TRANSPLANTailment cure is by removal of heart
CURE_CUSTOMailment cure is determined by the ailment

Define Details

CURE_ANTIBIOTICS

ailment cure is antibiotics

CURE_CUSTOM

ailment cure is determined by the ailment

CURE_ELEC_SHOCK

ailment cure is electric shock

CURE_HEART_TRANSPLANT

ailment cure is by removal of heart

CURE_INCURABLE

ailment is incurable

CURE_SLEEP

ailment cure is by sleeping

CURE_SURGERY

ailment cure is some form of surgery

CURE_TIME

ailment may cure itself as time passes

CURE_UNKNOWN

ailment cure is unknown. same as incurable. just no known cures

\ No newline at end of file diff --git a/_std/defines/atom.html b/_std/defines/atom.html new file mode 100644 index 0000000000000..a60bbec616ec2 --- /dev/null +++ b/_std/defines/atom.html @@ -0,0 +1,17 @@ +_std/defines/atom.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/defines/atom.dm

isatomIs this an atom? idk ask mr. molecule man
isobjbuilt-in isobj returns true for /atom/movable
opposite_dir_toThis is relevant to atoms so it goes here!!!! do not @ me
ADMIN_INTERACT_PROCSMakes the given procs available for use with the admin interact menu +Example: ADMIN_INTERACT_PROCS(/obj/machinery/nuclearbomb, proc/arm, proc/disarm) +would add the *arm and *disarm options to the admin interact menu for nuclear bombs. +Will display the "name" of the proc if it has one, for example set name = "foo" will result in the proc's entry in the interact menu being "Foo".
SPACE_PUSHINGused for removing us from mantapush list when we get deleted
MANTA_PUSHINGused for removing us from spacepush list when we get beleted
HAS_PARTICLESYSTEMatom has a particlesystem right now - used for clean gc to clear refs to itself etc blah
HAS_PARTICLESYSTEM_TARGETatom is a particlesystem target - " "
HAS_BAD_SMOKEatom has a bad smoke pointing to it right now - used for clean gc to clear refs to itself etc blah
IS_LIMB_ITEMim a limb
HAS_KUDZUif a turf has kudzu.
HAS_NBGGif a turf has NBGG.
BEING_CRUSHEREDif an atom/movable is in the crusher (so conveyors don't push it around)
USE_FLUID_ENTERAtom implements EnteredFluid() call in some way.
USE_GRAB_CHOKEAtom can be held as an item and have a grab inside it to choke somebuddy
HANDLE_STICKERAtom implements var/active = XXX and responds to sticker removal methods (burn-off + acetone). this atom MUST have an 'active' var. im sory.
IMMUNE_MANTA_PUSHcannot be pushed by MANTAwaters
IS_TRINKETused for trinkets GC
NO_MOUSEDROP_QOLoverrides the click drag mousedrop pickup QOL kinda stuff
IMMUNE_TRENCH_WARPAtom won't get warped to z5 via floor holes on underwater maps
UNCROSS_BUMP_CHECKUncross should call this after setting . to make sure Bump gets called if needed
HELP_MESSAGE_OVERRIDEUse this to override the help message instead of doing it directly
RegisterHelpMessageHandlerWrapper around RegisterSignal for help messages. Use this when you want a component to add a custom help message to its parent. +Makes it so the target is given the Help verb +Note that we never remove the help verb and this is mostly because it's easier, unlikely to happen often and also not a big deal +as the help verb just says that there's no help message if there's no help message. +The reason why we skip mob is that mob.verbs is different from obj.verbs etc. Basically if you are trying to do this to a mob +probably you will need to include HELP_MESSAGE_OVERRIDE on the mob to give it the static help verb. Sorry.
UnregisterHelpMessageHandlerWrapper around UnregisterSignal for help messages, identical to UnregisterSignal but here for parity
UNANCHOREDFor an unanchored movable atom
ANCHOREDFor an atom that can't be moved by player actions
ANCHORED_ALWAYSFor an atom that's always immovable, even by stuff like black holes and gravity artifacts.
UNDERFLOORThe atom is below the floor tiles.
OVERFLOORThe atom is above the floor tiles.

Define Details

ADMIN_INTERACT_PROCS

Makes the given procs available for use with the admin interact menu +Example: ADMIN_INTERACT_PROCS(/obj/machinery/nuclearbomb, proc/arm, proc/disarm) +would add the *arm and *disarm options to the admin interact menu for nuclear bombs. +Will display the "name" of the proc if it has one, for example set name = "foo" will result in the proc's entry in the interact menu being "Foo".

ANCHORED

For an atom that can't be moved by player actions

ANCHORED_ALWAYS

For an atom that's always immovable, even by stuff like black holes and gravity artifacts.

BEING_CRUSHERED

if an atom/movable is in the crusher (so conveyors don't push it around)

HANDLE_STICKER

Atom implements var/active = XXX and responds to sticker removal methods (burn-off + acetone). this atom MUST have an 'active' var. im sory.

HAS_BAD_SMOKE

atom has a bad smoke pointing to it right now - used for clean gc to clear refs to itself etc blah

HAS_KUDZU

if a turf has kudzu.

HAS_NBGG

if a turf has NBGG.

HAS_PARTICLESYSTEM

atom has a particlesystem right now - used for clean gc to clear refs to itself etc blah

HAS_PARTICLESYSTEM_TARGET

atom is a particlesystem target - " "

HELP_MESSAGE_OVERRIDE

Use this to override the help message instead of doing it directly

IMMUNE_MANTA_PUSH

cannot be pushed by MANTAwaters

IMMUNE_TRENCH_WARP

Atom won't get warped to z5 via floor holes on underwater maps

IS_LIMB_ITEM

im a limb

IS_TRINKET

used for trinkets GC

MANTA_PUSHING

used for removing us from spacepush list when we get beleted

NO_MOUSEDROP_QOL

overrides the click drag mousedrop pickup QOL kinda stuff

OVERFLOOR

The atom is above the floor tiles.

RegisterHelpMessageHandler

Wrapper around RegisterSignal for help messages. Use this when you want a component to add a custom help message to its parent. +Makes it so the target is given the Help verb +Note that we never remove the help verb and this is mostly because it's easier, unlikely to happen often and also not a big deal +as the help verb just says that there's no help message if there's no help message. +The reason why we skip mob is that mob.verbs is different from obj.verbs etc. Basically if you are trying to do this to a mob +probably you will need to include HELP_MESSAGE_OVERRIDE on the mob to give it the static help verb. Sorry.

SPACE_PUSHING

used for removing us from mantapush list when we get deleted

UNANCHORED

For an unanchored movable atom

UNCROSS_BUMP_CHECK

Uncross should call this after setting . to make sure Bump gets called if needed

UNDERFLOOR

The atom is below the floor tiles.

USE_FLUID_ENTER

Atom implements EnteredFluid() call in some way.

USE_GRAB_CHOKE

Atom can be held as an item and have a grab inside it to choke somebuddy

UnregisterHelpMessageHandler

Wrapper around UnregisterSignal for help messages, identical to UnregisterSignal but here for parity

isatom

Is this an atom? idk ask mr. molecule man

isobj

built-in isobj returns true for /atom/movable

opposite_dir_to

This is relevant to atoms so it goes here!!!! do not @ me

\ No newline at end of file diff --git a/_std/defines/burning.html b/_std/defines/burning.html new file mode 100644 index 0000000000000..2472ab0e61fae --- /dev/null +++ b/_std/defines/burning.html @@ -0,0 +1 @@ +_std/defines/burning.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/defines/burning.dm

BURN_REMAINS_NONELeaves nothing behind when burned
BURN_REMAINS_ASHLeaves an ash pile behind when burned
BURN_REMAINS_MELTLeaves a molten mess behind when burned

Define Details

BURN_REMAINS_ASH

Leaves an ash pile behind when burned

BURN_REMAINS_MELT

Leaves a molten mess behind when burned

BURN_REMAINS_NONE

Leaves nothing behind when burned

\ No newline at end of file diff --git a/_std/defines/chemistry.html b/_std/defines/chemistry.html new file mode 100644 index 0000000000000..6c64fcaae01cc --- /dev/null +++ b/_std/defines/chemistry.html @@ -0,0 +1 @@ +_std/defines/chemistry.dm - Goonstation 13
Goonstation 13 - Modules - Types

_std/defines/chemistry.dm

/var/non_vital_organ_stringsThis contains a list with organ strings that not instantly kill someone when lost.
\ No newline at end of file diff --git a/_std/defines/clothing.html b/_std/defines/clothing.html new file mode 100644 index 0000000000000..fb963ed3f467d --- /dev/null +++ b/_std/defines/clothing.html @@ -0,0 +1,3 @@ +_std/defines/clothing.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/defines/clothing.dm

SPACEWEARprotects you from the dangers of space
MASKINTERNALSmask allows internals to be used
COVERSEYEScovers the person's eyes
NOSLIPfor galoshes/magic sandals/etc that prevent slipping on things
SLEEVELESSain't got no sleeeeeves
BLOCKSMOKEblock smoke inhalations (gas mask)
BLOCKCHOKEblocks choking, also a very silly flag name
IS_JETPACKis this clothing a jetpack
EQUIPPED_WHILE_HELDdoesn't need to be worn to appear in the 'get_equipped_items' list and apply itemproperties (protections resistances etc)! for stuff like shields
HAS_GRAB_EQUIPunused flag +if we currently have a grab (or by extention, a block) attached to us
BLOCK_TOOLTIPwhether or not we should show extra tooltip info about blocking with this item
BLOCK_CUTblock an extra point of cut damage when used to block
BLOCK_STABblock an extra point of stab damage when used to block
BLOCK_BURNblock an extra point of burn damage when used to block
BLOCK_BLUNTblock an extra point of blunt damage when used to block
ONBACKcan be worn on the back
ONBELTcan be work on the belt
BLOCKMIASMAblock miasma inhalations (sterile mask)

Define Details

BLOCKCHOKE

blocks choking, also a very silly flag name

BLOCKMIASMA

block miasma inhalations (sterile mask)

BLOCKSMOKE

block smoke inhalations (gas mask)

BLOCK_BLUNT

block an extra point of blunt damage when used to block

BLOCK_BURN

block an extra point of burn damage when used to block

BLOCK_CUT

block an extra point of cut damage when used to block

BLOCK_STAB

block an extra point of stab damage when used to block

BLOCK_TOOLTIP

whether or not we should show extra tooltip info about blocking with this item

COVERSEYES

covers the person's eyes

EQUIPPED_WHILE_HELD

doesn't need to be worn to appear in the 'get_equipped_items' list and apply itemproperties (protections resistances etc)! for stuff like shields

HAS_GRAB_EQUIP

unused flag +if we currently have a grab (or by extention, a block) attached to us

IS_JETPACK

is this clothing a jetpack

MASKINTERNALS

mask allows internals to be used

NOSLIP

for galoshes/magic sandals/etc that prevent slipping on things

ONBACK

can be worn on the back

ONBELT

can be work on the belt

SLEEVELESS

ain't got no sleeeeeves

SPACEWEAR

protects you from the dangers of space

\ No newline at end of file diff --git a/_std/defines/combat.html b/_std/defines/combat.html new file mode 100644 index 0000000000000..21bbadb7da8eb --- /dev/null +++ b/_std/defines/combat.html @@ -0,0 +1,5 @@ +_std/defines/combat.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/defines/combat.dm

GRAB_PASSIVERegular old grab to pull someone
GRAB_STRONGSpecial case grab for limbs which grab 'aggressively' immediately, but don't want to pull the person to their tile like a neck grab would. +Allows you to do 'aggressive' maneuvers like throwing people or suplexing them, but people can still just walk out of the grab. +Most mobs skip this step entirely; only limbs which use it as a base use it at all.
GRAB_AGGRESSIVEBasically carrying someone. Allows you to suplex/throw/etc them, needs to be resisted out of.
GRAB_CHOKEChoking someone.
GRAB_PINPinned someone.

Define Details

GRAB_AGGRESSIVE

Basically carrying someone. Allows you to suplex/throw/etc them, needs to be resisted out of.

GRAB_CHOKE

Choking someone.

GRAB_PASSIVE

Regular old grab to pull someone

GRAB_PIN

Pinned someone.

GRAB_STRONG

Special case grab for limbs which grab 'aggressively' immediately, but don't want to pull the person to their tile like a neck grab would. +Allows you to do 'aggressive' maneuvers like throwing people or suplexing them, but people can still just walk out of the grab. +Most mobs skip this step entirely; only limbs which use it as a base use it at all.

\ No newline at end of file diff --git a/_std/defines/component_defines/_component_defines_integral.html b/_std/defines/component_defines/_component_defines_integral.html new file mode 100644 index 0000000000000..2dd45986f05bb --- /dev/null +++ b/_std/defines/component_defines/_component_defines_integral.html @@ -0,0 +1,11 @@ +_std/defines/component_defines/_component_defines_integral.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/defines/component_defines/_component_defines_integral.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_GLOBAL_SIGNALtarget to use for signals that are global and not tied to a single datum.
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
IS_COMPLEX_SIGNALChecks if a signal is "complex", i.e. it is handled by adding a special component and registering may have side effects and overhead
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.
COMPONENT_NOTRANSFERReturned in PostTransfer to prevent transfer, similar to COMPONENT_INCOMPATIBLE
ARG_INFOarginfo handling TODO: document
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

ARG_INFO

arginfo handling TODO: document

AddComponent

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

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

IS_COMPLEX_SIGNAL

Checks if a signal is "complex", i.e. it is handled by adding a special component and registering may have side effects and overhead

LoadComponent

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

SEND_GLOBAL_SIGNAL

target to use for signals that are global and not tied to a single datum.

+

Note that this does NOT work with SEND_SIGNAL because of preprocessor weirdness. +Use SEND_GLOBAL_SIGNAL instead.

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

\ No newline at end of file diff --git a/_std/defines/component_defines/component_defines_atom.html b/_std/defines/component_defines/component_defines_atom.html new file mode 100644 index 0000000000000..4e3e3bc7750f4 --- /dev/null +++ b/_std/defines/component_defines/component_defines_atom.html @@ -0,0 +1,3 @@ +_std/defines/component_defines/component_defines_atom.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/defines/component_defines/component_defines_atom.dm

COMSIG_ATOM_DIR_CHANGEDwhen an atom changes dir (olddir, newdir)
COMSIG_ATOM_HITBY_PROJwhen an atom is collided by a projectile (/obj/projectile)
COMSIG_ATOM_HITBY_THROWNwhen an atom is hit by a thrown thing (hit_target, thrown_atom, /datum/thrown_thing)
COMSIG_ATOM_EXAMINEwhen an atom is examined (/mob/examiner, /list/lines), append to lines for more description
COMSIG_ATOM_HELP_MESSAGEWhen an atom is examined for its help message (/mob/examiner, /list/lines), append to lines for more description +Use RegisterHelpMessageHandler instead as it adds the help verb on registration
COMSIG_UPDATE_ICONwhen something happens that should trigger an icon update. Or something.
COMSIG_ATOM_CROSSEDwhen something triggers Crossed by entering this atom's turf (/atom/movable)
COMSIG_ATOM_UNCROSSEDwhen something triggers Uncrossed by exiting this atom's turf (/atom/movable)
COMSIG_ATOM_PRE_UPDATE_ICONWhen something calls UpdateIcon, before the icon is updated
COMSIG_ATOM_POST_UPDATE_ICONWhen something calls UpdateIcon, after the icon is updated
COMSIG_ATOM_REAGENT_CHANGEWhen reagents change
COMSIG_ATOM_MOUSEDROPWhen an atom is dragged onto something (usr, over_object, src_location, over_location, src_control, over_control, params)
COMSIG_ATOM_MOUSEDROP_TWhen something is dragged onto an atom (object, usr, src_location, over_location, over_control, params)
COMSIG_ATOM_EXPLODEWhen the atom is a source of an explosion (object, args_to_explode_at)
COMSIG_ATOM_EXPLODE_INSIDEWhen the atom somewhere (possibly nested deep) in contents is a source of an explosion (object, args_to_explode_at)
COMSIG_ATOM_PROJECTILE_REFLECTEDWhen the atom reflects a projectile
COMSIG_ATOM_ENTEREDWhen something enters the contents of this atom (i.e. Entered()'s args: atom/movable, atom/OldLoc)
COMSIG_ATOM_ANALYZEWhen this atom is analyzed with a device analyzer (item, user)
COMSIG_ATTACKBYAttacking with an item in-hand (item, attacker, params, is_special)
COMSIG_ATTACKHANDAttacking without an item in-hand (attacker)
COMSIG_ATOM_SET_OPACITYwhen an atom changes its opacity (thing, previous_opacity)
COMSIG_ATOM_RADIOACTIVITYget radioactivity level of atom (0 if signal not registered - ie, has no radioactive component) (return_val as a list)
COMSIG_ATOM_CLEANEDwhen this atom has clean_forensic called, send this signal.
COMSIG_CORD_RETRACTsent to the parent object when its handset retracts, see /datum/component/cord
COMSIG_NEW_MINIMAP_MARKERWhen an atom requires to create a single minimap marker for a specific minimap.
COMSIG_MOVABLE_MOVEDwhen an AM moves on the map (thing, previous_loc, direction)
COMSIG_MOVABLE_PRE_MOVEwhen a movable is about to move, return true to prevent (thing, new_loc, direction)
COMSIG_MOVABLE_SET_LOCwhen an AM changes its loc (thing, previous_loc)
COMSIG_MOVABLE_THROW_ENDwhen an AM ends throw (thing, /datum/thrown_thing)
COMSIG_MOVABLE_RECEIVE_PACKETwhen an AM receives a packet (datum/signal/signal, receive_method, receive_param / range, connection_id)
COMSIG_MOVABLE_POST_RADIO_PACKETsend this signal to send a radio packet (datum/signal/signal, receive_param / range, frequency), if frequency is null all registered frequencies are used
COMSIG_MOVABLE_HIT_THROWNwhen an atom hits something when being thrown (thrown_atom, hit_target, /datum/thrown_thing)
COMSIG_MOVABLE_TELEPORTEDwhen an AM is teleported by do_teleport
COMSIG_MOVABLE_CONTRABAND_CHANGEDwhen an AM changes contraband level (self_applied)
COMSIG_MOVABLE_FLOOR_REVEALEDwhen an AM is revealed from under a floor tile (turf revealed from)
XSIG_OUTERMOST_MOVABLE_CHANGEDwhen the outermost movable in the .loc chain changes (thing, old_outermost_movable, new_outermost_movable)
XSIG_MOVABLE_AREA_CHANGEDWhen the outermost movable in the .loc chain moves to a new area. (thing, old_area, new_area)
XSIG_MOVABLE_TURF_CHANGEDWhen the outermost movable in the .loc chain moves to a new turf. (thing, old_turf, new_turf)
XSIG_MOVABLE_Z_CHANGEDwhen the z-level of a movable changes (works in nested contents) (thing, old_z_level, new_z_level)
COMSIG_TURF_CONTENTS_SET_OPACITYwhen an atom inside the turfs contents changes opacity (turf, previous_opacity, thing)
COMSIG_TURF_CONTENTS_SET_OPACITY_SMARTwhen an atom inside the turfs contents changes opacity, but only called when it would actually do a meaningful change (turf, previous_opacity, thing)
COMSIG_TURF_REPLACEDwhen a turf is replaced by another turf (what)
COMSIG_TURF_CONTENTS_SET_DENSITYwhen an atom inside the turfs contents changes density (turf, previous_density, thing)
COMSIG_OBJ_STORAGE_CLOSEDWhen the storage closes
COMSIG_OBJ_PROJ_COLLIDEAfter a projectile makes a valid hit on an atom (after immunity/other early returns, before other effects)
COMSIG_ITEM_EQUIPPEDWhen an item is equipped (user, slot)
COMSIG_ITEM_UNEQUIPPEDWhen an item is unequipped (user)
COMSIG_ITEM_PICKUPWhen an item is picked up (user)
COMSIG_ITEM_DROPPEDWhen an item is picked dropped (user)
COMSIG_ITEM_ATTACK_POSTWhen an item is used to attack a mob
COMSIG_ITEM_CONSUMED_PREJust before an item is eaten (eater,item)
COMSIG_ITEM_CONSUMEDWhen an item is eaten (eater,item)
COMSIG_ITEM_CONSUMED_PARTIALAfter an item's been eaten, but there's still some left (eater,item)
COMSIG_ITEM_ATTACKBY_PRECalled before an attackby that uses this item (target, user)
COMSIG_ITEM_ATTACK_PREWhen an item is used to attack a mob before it actually hurts the mob
COMSIG_ITEM_ATTACK_SELFWhen an item is used in-hand
COMSIG_ITEM_SWAP_TOWhen an item is swapped to [does not include being picked up/taken out of bags/etc] (user)
COMSIG_ITEM_SWAP_AWAYWhen an item is swapped away from [does not include being picked up/taken out of bags/etc] (user)
COMSIG_ITEM_SPECIAL_POSTAfter an item's itemspecial is used (user)
COMSIG_ITEM_PROCESSWhen items process ticks on an item
COMSIG_ITEM_AFTERATTACKAfter attacking any atom (not just mob) with this item (item, atom/target, mob/user, reach, params)
COMSIG_ITEM_TWIRLEDWhen the item in hand is twirl emoted and spun in hand. (user, item)
COMSIG_ITEM_BOMB_SIGNAL_STARTTriggers on the start of signalling the opening of an assembly bomb
COMSIG_ITEM_BOMB_SIGNAL_CANCELTriggers when an assembly bomb's signalling is cancelled
COMSIG_ITEM_IMPLANT_IMPLANTEDWhen implanted
COMSIG_ITEM_IMPLANT_REMOVEDWhen removed
COMSIG_MOB_LOGINWhen a client logs into a mob
COMSIG_MOB_LOGOUTWhen a client logs out of a mob
COMSIG_MOB_ATTACKED_PREAt the beginning of when an attackresults datum is being set up
COMSIG_MOB_DEATHWhen a mob dies
COMSIG_MOB_FAKE_DEATHWhen a mob fakes death
COMSIG_MOB_PICKUPWhen a mob picks up an item
COMSIG_MOB_DROPPEDWhen a mob drops an item
COMSIG_MOB_ITEM_CONSUMED_PREJust before an item is eaten (feeder,item)
COMSIG_MOB_ITEM_CONSUMEDWhen an item is eaten (feeder,item)
COMSIG_MOB_THROW_ITEMSent when a mob throws something (target, params)
COMSIG_MOB_THROW_ITEM_NEARBYSent when a mob throws something that lands nearby
COMSIG_MOB_SET_A_INTENTSent when a mob sets their a_intent var, returning anything will cancel the intent change (mob, intent)
COMSIG_MOB_GEIGER_TICKSent when radiation status ticks on mob (stage)
COMSIG_MOB_VOMITWhen the mob vomits
COMSIG_MOB_SHOCKED_DEFIBSent when defibbed status is added to a mob
COMSIG_MOB_MOUSEUPSent to mob when client lifts the mouse button
COMSIG_MOB_GRABBEDSent when a mob is grabbed by another mob (grab object)
COMSIG_MOB_EMOTESent when a mob emotes (emote, voluntary, emote target)
COMSIG_MOB_SHIELD_ACTIVATESent when a mob is checking for an active energy shield
COMSIG_MOB_FLIPSent when a mob flips, return TRUE to skip the rest of the flip emote coded, argument is (voluntary)
COMSIG_MOB_UPDATE_DAMAGESent when UpdateDamage() is called (prev_health)
COMSIG_MOB_RESISTSent when a mob resists, return TRUE to prevent other resist code from running
COMSIG_MOB_EX_ACTSent when the mob is affected by an explosion
COMSIG_MOB_POINTSent when the mob points at something (point target)
COMSIG_MOB_SPRINTSent when the mob starts sprinting, return TRUE to prevent other sprint code from running
COMSIG_MOB_SAYSent when the mob says something (message)
COMSIG_MOB_TRIGGER_THREATSent when the mob should trigger a threat grab (yes this is really specific but shush)
COMSIG_MOB_CLOAKING_DEVICE_DEACTIVATEMake cloaking devices turn off - sent to the mob
COMSIG_CREATE_TYPINGCreate typing indicator
COMSIG_REMOVE_TYPINGRemove typing indicator
COMSIG_SPEECH_BUBBLESpeech bubble
COMSIG_MOB_DISGUISER_DEACTIVATEMake disguiser devices turn off - sent to the mob
COMSIG_SERVER_DATA_SYNCEDSent when a server sync response is received

Define Details

COMSIG_ATOM_ANALYZE

When this atom is analyzed with a device analyzer (item, user)

COMSIG_ATOM_CLEANED

when this atom has clean_forensic called, send this signal.

COMSIG_ATOM_CROSSED

when something triggers Crossed by entering this atom's turf (/atom/movable)

COMSIG_ATOM_DIR_CHANGED

when an atom changes dir (olddir, newdir)

COMSIG_ATOM_ENTERED

When something enters the contents of this atom (i.e. Entered()'s args: atom/movable, atom/OldLoc)

COMSIG_ATOM_EXAMINE

when an atom is examined (/mob/examiner, /list/lines), append to lines for more description

COMSIG_ATOM_EXPLODE

When the atom is a source of an explosion (object, args_to_explode_at)

COMSIG_ATOM_EXPLODE_INSIDE

When the atom somewhere (possibly nested deep) in contents is a source of an explosion (object, args_to_explode_at)

COMSIG_ATOM_HELP_MESSAGE

When an atom is examined for its help message (/mob/examiner, /list/lines), append to lines for more description +Use RegisterHelpMessageHandler instead as it adds the help verb on registration

COMSIG_ATOM_HITBY_PROJ

when an atom is collided by a projectile (/obj/projectile)

COMSIG_ATOM_HITBY_THROWN

when an atom is hit by a thrown thing (hit_target, thrown_atom, /datum/thrown_thing)

COMSIG_ATOM_MOUSEDROP

When an atom is dragged onto something (usr, over_object, src_location, over_location, src_control, over_control, params)

COMSIG_ATOM_MOUSEDROP_T

When something is dragged onto an atom (object, usr, src_location, over_location, over_control, params)

COMSIG_ATOM_POST_UPDATE_ICON

When something calls UpdateIcon, after the icon is updated

COMSIG_ATOM_PRE_UPDATE_ICON

When something calls UpdateIcon, before the icon is updated

COMSIG_ATOM_PROJECTILE_REFLECTED

When the atom reflects a projectile

COMSIG_ATOM_RADIOACTIVITY

get radioactivity level of atom (0 if signal not registered - ie, has no radioactive component) (return_val as a list)

COMSIG_ATOM_REAGENT_CHANGE

When reagents change

COMSIG_ATOM_SET_OPACITY

when an atom changes its opacity (thing, previous_opacity)

COMSIG_ATOM_UNCROSSED

when something triggers Uncrossed by exiting this atom's turf (/atom/movable)

COMSIG_ATTACKBY

Attacking with an item in-hand (item, attacker, params, is_special)

COMSIG_ATTACKHAND

Attacking without an item in-hand (attacker)

COMSIG_CORD_RETRACT

sent to the parent object when its handset retracts, see /datum/component/cord

COMSIG_CREATE_TYPING

Create typing indicator

COMSIG_ITEM_AFTERATTACK

After attacking any atom (not just mob) with this item (item, atom/target, mob/user, reach, params)

COMSIG_ITEM_ATTACKBY_PRE

Called before an attackby that uses this item (target, user)

COMSIG_ITEM_ATTACK_POST

When an item is used to attack a mob

COMSIG_ITEM_ATTACK_PRE

When an item is used to attack a mob before it actually hurts the mob

COMSIG_ITEM_ATTACK_SELF

When an item is used in-hand

COMSIG_ITEM_BOMB_SIGNAL_CANCEL

Triggers when an assembly bomb's signalling is cancelled

COMSIG_ITEM_BOMB_SIGNAL_START

Triggers on the start of signalling the opening of an assembly bomb

COMSIG_ITEM_CONSUMED

When an item is eaten (eater,item)

COMSIG_ITEM_CONSUMED_PARTIAL

After an item's been eaten, but there's still some left (eater,item)

COMSIG_ITEM_CONSUMED_PRE

Just before an item is eaten (eater,item)

COMSIG_ITEM_DROPPED

When an item is picked dropped (user)

COMSIG_ITEM_EQUIPPED

When an item is equipped (user, slot)

COMSIG_ITEM_IMPLANT_IMPLANTED

When implanted

COMSIG_ITEM_IMPLANT_REMOVED

When removed

COMSIG_ITEM_PICKUP

When an item is picked up (user)

COMSIG_ITEM_PROCESS

When items process ticks on an item

COMSIG_ITEM_SPECIAL_POST

After an item's itemspecial is used (user)

COMSIG_ITEM_SWAP_AWAY

When an item is swapped away from [does not include being picked up/taken out of bags/etc] (user)

COMSIG_ITEM_SWAP_TO

When an item is swapped to [does not include being picked up/taken out of bags/etc] (user)

COMSIG_ITEM_TWIRLED

When the item in hand is twirl emoted and spun in hand. (user, item)

COMSIG_ITEM_UNEQUIPPED

When an item is unequipped (user)

COMSIG_MOB_ATTACKED_PRE

At the beginning of when an attackresults datum is being set up

COMSIG_MOB_CLOAKING_DEVICE_DEACTIVATE

Make cloaking devices turn off - sent to the mob

COMSIG_MOB_DEATH

When a mob dies

COMSIG_MOB_DISGUISER_DEACTIVATE

Make disguiser devices turn off - sent to the mob

COMSIG_MOB_DROPPED

When a mob drops an item

COMSIG_MOB_EMOTE

Sent when a mob emotes (emote, voluntary, emote target)

COMSIG_MOB_EX_ACT

Sent when the mob is affected by an explosion

COMSIG_MOB_FAKE_DEATH

When a mob fakes death

COMSIG_MOB_FLIP

Sent when a mob flips, return TRUE to skip the rest of the flip emote coded, argument is (voluntary)

COMSIG_MOB_GEIGER_TICK

Sent when radiation status ticks on mob (stage)

COMSIG_MOB_GRABBED

Sent when a mob is grabbed by another mob (grab object)

COMSIG_MOB_ITEM_CONSUMED

When an item is eaten (feeder,item)

COMSIG_MOB_ITEM_CONSUMED_PRE

Just before an item is eaten (feeder,item)

COMSIG_MOB_LOGIN

When a client logs into a mob

COMSIG_MOB_LOGOUT

When a client logs out of a mob

COMSIG_MOB_MOUSEUP

Sent to mob when client lifts the mouse button

COMSIG_MOB_PICKUP

When a mob picks up an item

COMSIG_MOB_POINT

Sent when the mob points at something (point target)

COMSIG_MOB_RESIST

Sent when a mob resists, return TRUE to prevent other resist code from running

COMSIG_MOB_SAY

Sent when the mob says something (message)

COMSIG_MOB_SET_A_INTENT

Sent when a mob sets their a_intent var, returning anything will cancel the intent change (mob, intent)

COMSIG_MOB_SHIELD_ACTIVATE

Sent when a mob is checking for an active energy shield

COMSIG_MOB_SHOCKED_DEFIB

Sent when defibbed status is added to a mob

COMSIG_MOB_SPRINT

Sent when the mob starts sprinting, return TRUE to prevent other sprint code from running

COMSIG_MOB_THROW_ITEM

Sent when a mob throws something (target, params)

COMSIG_MOB_THROW_ITEM_NEARBY

Sent when a mob throws something that lands nearby

COMSIG_MOB_TRIGGER_THREAT

Sent when the mob should trigger a threat grab (yes this is really specific but shush)

COMSIG_MOB_UPDATE_DAMAGE

Sent when UpdateDamage() is called (prev_health)

COMSIG_MOB_VOMIT

When the mob vomits

COMSIG_MOVABLE_CONTRABAND_CHANGED

when an AM changes contraband level (self_applied)

COMSIG_MOVABLE_FLOOR_REVEALED

when an AM is revealed from under a floor tile (turf revealed from)

COMSIG_MOVABLE_HIT_THROWN

when an atom hits something when being thrown (thrown_atom, hit_target, /datum/thrown_thing)

COMSIG_MOVABLE_MOVED

when an AM moves on the map (thing, previous_loc, direction)

COMSIG_MOVABLE_POST_RADIO_PACKET

send this signal to send a radio packet (datum/signal/signal, receive_param / range, frequency), if frequency is null all registered frequencies are used

COMSIG_MOVABLE_PRE_MOVE

when a movable is about to move, return true to prevent (thing, new_loc, direction)

COMSIG_MOVABLE_RECEIVE_PACKET

when an AM receives a packet (datum/signal/signal, receive_method, receive_param / range, connection_id)

COMSIG_MOVABLE_SET_LOC

when an AM changes its loc (thing, previous_loc)

COMSIG_MOVABLE_TELEPORTED

when an AM is teleported by do_teleport

COMSIG_MOVABLE_THROW_END

when an AM ends throw (thing, /datum/thrown_thing)

COMSIG_NEW_MINIMAP_MARKER

When an atom requires to create a single minimap marker for a specific minimap.

COMSIG_OBJ_PROJ_COLLIDE

After a projectile makes a valid hit on an atom (after immunity/other early returns, before other effects)

COMSIG_OBJ_STORAGE_CLOSED

When the storage closes

COMSIG_REMOVE_TYPING

Remove typing indicator

COMSIG_SERVER_DATA_SYNCED

Sent when a server sync response is received

COMSIG_SPEECH_BUBBLE

Speech bubble

COMSIG_TURF_CONTENTS_SET_DENSITY

when an atom inside the turfs contents changes density (turf, previous_density, thing)

COMSIG_TURF_CONTENTS_SET_OPACITY

when an atom inside the turfs contents changes opacity (turf, previous_opacity, thing)

COMSIG_TURF_CONTENTS_SET_OPACITY_SMART

when an atom inside the turfs contents changes opacity, but only called when it would actually do a meaningful change (turf, previous_opacity, thing)

COMSIG_TURF_REPLACED

when a turf is replaced by another turf (what)

COMSIG_UPDATE_ICON

when something happens that should trigger an icon update. Or something.

XSIG_MOVABLE_AREA_CHANGED

When the outermost movable in the .loc chain moves to a new area. (thing, old_area, new_area)

XSIG_MOVABLE_TURF_CHANGED

When the outermost movable in the .loc chain moves to a new turf. (thing, old_turf, new_turf)

XSIG_MOVABLE_Z_CHANGED

when the z-level of a movable changes (works in nested contents) (thing, old_z_level, new_z_level)

XSIG_OUTERMOST_MOVABLE_CHANGED

when the outermost movable in the .loc chain changes (thing, old_outermost_movable, new_outermost_movable)

\ No newline at end of file diff --git a/_std/defines/component_defines/component_defines_datum.html b/_std/defines/component_defines/component_defines_datum.html new file mode 100644 index 0000000000000..f1ae32ea5ea32 --- /dev/null +++ b/_std/defines/component_defines/component_defines_datum.html @@ -0,0 +1 @@ +_std/defines/component_defines/component_defines_datum.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/defines/component_defines/component_defines_datum.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 RemoveComponent: (/datum/component)
COMSIG_PARENT_PRE_DISPOSINGjust before a datum's disposing()
COMSIG_VARIABLE_CHANGEDwhen a variable is changed by admin varedit
COMSIG_PROC_CALLEDwhen a proc is called by admin proc-call
COMSIG_MIND_ATTACH_TO_MOBwhen a mind attaches to a mob (mind, new_mob, old_mob)
COMSIG_MIND_DETACH_FROM_MOBwhen a mind detaches from a mob (mind, old_mob, new_mob)
COMSIG_MIND_UPDATE_MEMORYwhen a mind should update the contents of its memory
COMSIG_AREA_ACTIVATEDarea's active var set to true (when a client enters)
COMSIG_AREA_DEACTIVATEDarea's active var set to false (when all clients leave)
COMSIG_TGUI_WINDOW_OPENA TGUI window was opened by a user (receives tgui datum)
COMSIG_REAGENTS_ANALYZEDWhen reagent scanned

Define Details

COMSIG_AREA_ACTIVATED

area's active var set to true (when a client enters)

COMSIG_AREA_DEACTIVATED

area's active var set to false (when all clients leave)

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 RemoveComponent: (/datum/component)

COMSIG_MIND_ATTACH_TO_MOB

when a mind attaches to a mob (mind, new_mob, old_mob)

COMSIG_MIND_DETACH_FROM_MOB

when a mind detaches from a mob (mind, old_mob, new_mob)

COMSIG_MIND_UPDATE_MEMORY

when a mind should update the contents of its memory

COMSIG_PARENT_PRE_DISPOSING

just before a datum's disposing()

COMSIG_PROC_CALLED

when a proc is called by admin proc-call

COMSIG_REAGENTS_ANALYZED

When reagent scanned

COMSIG_TGUI_WINDOW_OPEN

A TGUI window was opened by a user (receives tgui datum)

COMSIG_VARIABLE_CHANGED

when a variable is changed by admin varedit

\ No newline at end of file diff --git a/_std/defines/component_defines/component_defines_global.html b/_std/defines/component_defines/component_defines_global.html new file mode 100644 index 0000000000000..01488d19637ca --- /dev/null +++ b/_std/defines/component_defines/component_defines_global.html @@ -0,0 +1,37 @@ +_std/defines/component_defines/component_defines_global.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/defines/component_defines/component_defines_global.dm

COMSIG_GLOBAL_REBOOTSent when the world is rebooted- used for persistence
COMSIG_GLOBAL_DRONE_DEATHWhen a drone dies. Y'know, the critter ones.
COMSIG_GLOBAL_CARGO_PAD_DISABLEDWhen a cargo pad is destroyed, deconstructed, or turned off
COMSIG_GLOBAL_CARGO_PAD_ENABLEDWhen a cargo pad is built or turned on
COMSIG_GLOBAL_ARMORY_AUTHArmory computer authorized
COMSIG_GLOBAL_ARMORY_UNAUTHArmory computer unauthorized
COMSIG_GLOBAL_SUSSY_PHRASE⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣠⣤⣤⣤⣤⣤⣶⣦⣤⣄⡀⠀⠀⠀⠀⠀⠀⠀⠀ +⠀⠀⠀⠀⠀⠀⠀⠀⢀⣴⣿⡿⠛⠉⠙⠛⠛⠛⠛⠻⢿⣿⣷⣤⡀⠀⠀⠀⠀⠀ +⠀⠀⠀⠀⠀⠀⠀⠀⣼⣿⠋⠀⠀⠀⠀⠀⠀⠀⢀⣀⣀⠈⢻⣿⣿⡄⠀⠀⠀⠀ +⠀⠀⠀⠀⠀⠀⠀⣸⣿⡏⠀⠀⠀⣠⣶⣾⣿⣿⣿⠿⠿⠿⢿⣿⣿⣿⣄⠀⠀⠀ +⠀⠀⠀⠀⠀⠀⠀⣿⣿⠁⠀⠀⢰⣿⣿⣯⠁⠀⠀⠀⠀⠀⠀⠀⠈⠙⢿⣷⡄⠀ +⠀⠀⣀⣤⣴⣶⣶⣿⡟⠀⠀⠀⢸⣿⣿⣿⣆⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣿⣷⠀ +⠀⢰⣿⡟⠋⠉⣹⣿⡇⠀⠀⠀⠘⣿⣿⣿⣿⣷⣦⣤⣤⣤⣶⣶⣶⣶⣿⣿⣿⠀ +⠀⢸⣿⡇⠀⠀⣿⣿⡇⠀⠀⠀⠀⠹⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠃⠀ +⠀⣸⣿⡇⠀⠀⣿⣿⡇⠀⠀⠀⠀⠀⠉⠻⠿⣿⣿⣿⣿⡿⠿⠿⠛⢻⣿⡇⠀⠀ +⠀⣿⣿⠁⠀⠀⣿⣿⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⣿⣧⠀⠀ +⠀⣿⣿⠀⠀⠀⣿⣿⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⣿⣿⠀⠀ +⠀⣿⣿⠀⠀⠀⣿⣿⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⣿⣿⠀⠀ +⠀⢿⣿⡆⠀⠀⣿⣿⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⣿⡇⠀⠀ +⠀⠸⣿⣧⡀⠀⣿⣿⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣿⣿⠃⠀⠀ +⠀⠀⠛⢿⣿⣿⣿⣿⣇⠀⠀⠀⠀⠀⣰⣿⣿⣷⣶⣶ ⣿⣿⠀⠀⠀ +⠀⠀⠀⠀⠀⠀⠀⣿⣿⠀⠀⠀⠀⠀⣿⣿⡇⠀⣽⣿⡏ ⠀⠀⢸⣿⡇⠀⠀⠀ +⠀⠀⠀⠀⠀⠀⠀⣿⣿⠀⠀⠀⠀⠀⣿⣿⡇⠀⢹⣿⡆⠀⠀⠀⣸⣿⠇⠀⠀⠀ +⠀⠀⠀⠀⠀⠀⠀⢿⣿⣦⣄⣀⣠⣴⣿⣿⠁⠀⠈⠻⣿⣿⣿⣿⡿⠏⠀⠀⠀⠀ +⠀⠀⠀⠀⠀⠀⠀⠈⠛⠻⠿⠿⠿⠿⠋⠁⠀⠀⠀⠀

Define Details

COMSIG_GLOBAL_ARMORY_AUTH

Armory computer authorized

COMSIG_GLOBAL_ARMORY_UNAUTH

Armory computer unauthorized

COMSIG_GLOBAL_CARGO_PAD_DISABLED

When a cargo pad is destroyed, deconstructed, or turned off

COMSIG_GLOBAL_CARGO_PAD_ENABLED

When a cargo pad is built or turned on

COMSIG_GLOBAL_DRONE_DEATH

When a drone dies. Y'know, the critter ones.

COMSIG_GLOBAL_REBOOT

Sent when the world is rebooted- used for persistence

COMSIG_GLOBAL_SUSSY_PHRASE

⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣠⣤⣤⣤⣤⣤⣶⣦⣤⣄⡀⠀⠀⠀⠀⠀⠀⠀⠀ +⠀⠀⠀⠀⠀⠀⠀⠀⢀⣴⣿⡿⠛⠉⠙⠛⠛⠛⠛⠻⢿⣿⣷⣤⡀⠀⠀⠀⠀⠀ +⠀⠀⠀⠀⠀⠀⠀⠀⣼⣿⠋⠀⠀⠀⠀⠀⠀⠀⢀⣀⣀⠈⢻⣿⣿⡄⠀⠀⠀⠀ +⠀⠀⠀⠀⠀⠀⠀⣸⣿⡏⠀⠀⠀⣠⣶⣾⣿⣿⣿⠿⠿⠿⢿⣿⣿⣿⣄⠀⠀⠀ +⠀⠀⠀⠀⠀⠀⠀⣿⣿⠁⠀⠀⢰⣿⣿⣯⠁⠀⠀⠀⠀⠀⠀⠀⠈⠙⢿⣷⡄⠀ +⠀⠀⣀⣤⣴⣶⣶⣿⡟⠀⠀⠀⢸⣿⣿⣿⣆⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣿⣷⠀ +⠀⢰⣿⡟⠋⠉⣹⣿⡇⠀⠀⠀⠘⣿⣿⣿⣿⣷⣦⣤⣤⣤⣶⣶⣶⣶⣿⣿⣿⠀ +⠀⢸⣿⡇⠀⠀⣿⣿⡇⠀⠀⠀⠀⠹⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠃⠀ +⠀⣸⣿⡇⠀⠀⣿⣿⡇⠀⠀⠀⠀⠀⠉⠻⠿⣿⣿⣿⣿⡿⠿⠿⠛⢻⣿⡇⠀⠀ +⠀⣿⣿⠁⠀⠀⣿⣿⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⣿⣧⠀⠀ +⠀⣿⣿⠀⠀⠀⣿⣿⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⣿⣿⠀⠀ +⠀⣿⣿⠀⠀⠀⣿⣿⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⣿⣿⠀⠀ +⠀⢿⣿⡆⠀⠀⣿⣿⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⣿⡇⠀⠀ +⠀⠸⣿⣧⡀⠀⣿⣿⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣿⣿⠃⠀⠀ +⠀⠀⠛⢿⣿⣿⣿⣿⣇⠀⠀⠀⠀⠀⣰⣿⣿⣷⣶⣶ ⣿⣿⠀⠀⠀ +⠀⠀⠀⠀⠀⠀⠀⣿⣿⠀⠀⠀⠀⠀⣿⣿⡇⠀⣽⣿⡏ ⠀⠀⢸⣿⡇⠀⠀⠀ +⠀⠀⠀⠀⠀⠀⠀⣿⣿⠀⠀⠀⠀⠀⣿⣿⡇⠀⢹⣿⡆⠀⠀⠀⣸⣿⠇⠀⠀⠀ +⠀⠀⠀⠀⠀⠀⠀⢿⣿⣦⣄⣀⣠⣴⣿⣿⠁⠀⠈⠻⣿⣿⣿⣿⡿⠏⠀⠀⠀⠀ +⠀⠀⠀⠀⠀⠀⠀⠈⠛⠻⠿⠿⠿⠿⠋⠁⠀⠀⠀⠀

\ No newline at end of file diff --git a/_std/defines/component_defines/component_defines_mechcomp.html b/_std/defines/component_defines/component_defines_mechcomp.html new file mode 100644 index 0000000000000..8c9fd4756eb08 --- /dev/null +++ b/_std/defines/component_defines/component_defines_mechcomp.html @@ -0,0 +1 @@ +_std/defines/component_defines/component_defines_mechcomp.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/defines/component_defines/component_defines_mechcomp.dm

COMSIG_MECHCOMP_ADD_INPUTAdd an input chanel for a device to send into
COMSIG_MECHCOMP_ADD_CONFIGConnect two mechcomp devices together
COMSIG_MECHCOMP_ALLOW_MANUAL_SIGNALConnect two mechcomp devices together
COMSIG_MECHCOMP_RM_ALL_CONNECTIONSRemove all connected devices
COMSIG_MECHCOMP_TRANSMIT_SIGNALPassing the signal of a message to all connected mechcomp devices for handling (message will be instatiated by the component)
COMSIG_MECHCOMP_TRANSMIT_MSGPassing a message to all connected mechcomp devices for handling
COMSIG_MECHCOMP_TRANSMIT_DEFAULT_MSGPassing the stored message to all connected mechcomp devices for handling
_COMSIG_MECHCOMP_DISPATCH_ADD_FILTERAdd a filtered connection, getting user input on the filter
_COMSIG_MECHCOMP_DISPATCH_RM_OUTGOINGRemove a filtered connection
_COMSIG_MECHCOMP_DISPATCH_VALIDATETest a signal to be sent to a connection
_COMSIG_MECHCOMP_RECEIVE_MSGReceiving a message from a mechcomp device for handling
_COMSIG_MECHCOMP_RM_INCOMINGRemove {the caller} from the list of transmitting devices
_COMSIG_MECHCOMP_RM_OUTGOINGRemove {the caller} from the list of receiving devices
_COMSIG_MECHCOMP_GET_OUTGOINGReturn the component's outgoing connections
_COMSIG_MECHCOMP_GET_INCOMINGReturn the component's incoming connections
_COMSIG_MECHCOMP_DROPCONNECTBegin to connect two mechcomp devices together
_COMSIG_MECHCOMP_LINKConnect one MechComp compatible device as a receiver to a trigger. (This is meant to be a private method)
_COMSIG_MECHCOMP_COMPATIBLEReturns 1

Define Details

COMSIG_MECHCOMP_ADD_CONFIG

Connect two mechcomp devices together

COMSIG_MECHCOMP_ADD_INPUT

Add an input chanel for a device to send into

COMSIG_MECHCOMP_ALLOW_MANUAL_SIGNAL

Connect two mechcomp devices together

COMSIG_MECHCOMP_RM_ALL_CONNECTIONS

Remove all connected devices

COMSIG_MECHCOMP_TRANSMIT_DEFAULT_MSG

Passing the stored message to all connected mechcomp devices for handling

COMSIG_MECHCOMP_TRANSMIT_MSG

Passing a message to all connected mechcomp devices for handling

COMSIG_MECHCOMP_TRANSMIT_SIGNAL

Passing the signal of a message to all connected mechcomp devices for handling (message will be instatiated by the component)

_COMSIG_MECHCOMP_COMPATIBLE

Returns 1

_COMSIG_MECHCOMP_DISPATCH_ADD_FILTER

Add a filtered connection, getting user input on the filter

_COMSIG_MECHCOMP_DISPATCH_RM_OUTGOING

Remove a filtered connection

_COMSIG_MECHCOMP_DISPATCH_VALIDATE

Test a signal to be sent to a connection

_COMSIG_MECHCOMP_DROPCONNECT

Begin to connect two mechcomp devices together

_COMSIG_MECHCOMP_GET_INCOMING

Return the component's incoming connections

_COMSIG_MECHCOMP_GET_OUTGOING

Return the component's outgoing connections

Connect one MechComp compatible device as a receiver to a trigger. (This is meant to be a private method)

_COMSIG_MECHCOMP_RECEIVE_MSG

Receiving a message from a mechcomp device for handling

_COMSIG_MECHCOMP_RM_INCOMING

Remove {the caller} from the list of transmitting devices

_COMSIG_MECHCOMP_RM_OUTGOING

Remove {the caller} from the list of receiving devices

\ No newline at end of file diff --git a/_std/defines/component_defines/component_defines_special.html b/_std/defines/component_defines/component_defines_special.html new file mode 100644 index 0000000000000..08b5c8fba2fe4 --- /dev/null +++ b/_std/defines/component_defines/component_defines_special.html @@ -0,0 +1 @@ +_std/defines/component_defines/component_defines_special.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/defines/component_defines/component_defines_special.dm

COMSIG_ITEM_BLOCK_BEGINAfter an item block is set up
COMSIG_ITEM_BLOCK_ENDWhen an item block is disposed
COMSIG_ITEM_BLOCK_TOOLTIP_BLOCKING_APPENDAppend to the end of the blocking section of tooltip (list/tooltip)
COMSIG_UNARMED_BLOCK_BEGINAfter an unarmed block is set up
COMSIG_UNARMED_BLOCK_ENDWhen an item block is created
COMSIG_BLOCK_BLOCKEDWhen a block blocks damage at all
COMSIG_DRONE_BEACON_DESTROYEDTriggers on destruction of a drone beacon
COMSIG_FULLAUTO_MOUSEDOWNMouse down while shooting full auto
COMSIG_FULLAUTO_MOUSEDRAGMouse down when shooting full auto
COMSIG_FULLAUTO_MOUSEMOVEMouseMove over a fullauto hud object
COMSIG_GUN_PROJECTILE_CHANGEDGun projectile changed while in fullauto mode
COMSIG_GUN_TRY_SHOOTbefore ...gun/shoot() - return truthy to cancel shoot() - (target, start, shooter, POX, POY, is_dual_wield, called_target)
COMSIG_GUN_TRY_POINTBLANKbefore ...gun/shoot_point_blank() - return truthy to cancel shoot_point_blank() - (target, user, second_shot)
COMSIG_CELL_SWAPWhen the cell in a uses_cell component should be swapped out (cell, user)
COMSIG_CELL_TRY_SWAPWhen a cell is attacked, try to initiate a cellswap on the attacking obj (cell, user)
COMSIG_CELL_CAN_CHARGEIf an item can be charged
COMSIG_CELL_CHARGECharge a small-cell (amount)
COMSIG_CELL_USEUse some charge from a small-cell (amount, bypass)
COMSIG_CELL_IS_CELLCheck if thing is a power cell
COMSIG_CELL_CHECK_CHARGEGet the current charge and max charge of a power cell (list(charge)), or check if charge is higher than an amount (charge), or just check if there is a cell at all (null)
COMSIG_CELL_FORCE_NEW_CELLForce an update to the cellholder's cell. Takes an atom/movable that is a powercell, a powercell component, or a list of args for the powercell to inherit
CELL_CHARGEABLECell can be charged in a recharger
CELL_UNCHARGEABLECell cannot be charged in a recharger
CELL_INSUFFICIENT_CHARGECell has insufficient charge to do the requested action
CELL_SUFFICIENT_CHARGECell has sufficient charge to do the requested action
CELL_RETURNED_LISTReturned an assoc list
CELL_FULLCell is fully charged
COMSIG_SHIELD_TOGGLESent by the itemability to toggle the energyshield component
COMSIG_ATOM_PROP_MOB_INVISIBILITYWhen invisibility of a mob gets updated (old_value)
COMSIG_SEND_TO_MOBSend item to a mob
COMSIG_TRANSFER_INCOMINGWhen a movable is requested to be transfered to the output target (/atom/movable/)
COMSIG_TRANSFER_OUTGOINGWhen the target wants to send a movable to an output (/atom/movable/)
COMSIG_TRANSFER_CAN_LINKReturn whether the target should allow receiving items from the given atom (/atom)
COMSIG_FLOCK_ATTACKReturn whether an action by a thing (/atom) that can optionally be intentional (boolean) is denied because it would harm a flock.
DOCK_EVENT_INCOMINGShuttle is about to arrive at a dock
DOCK_EVENT_ARRIVEDShuttle has arrived
DOCK_EVENT_OUTGOINGShuttle is about to depart
DOCK_EVENT_DEPARTEDShuttle has departed
COMSIG_DOCK_TRADER_WESTThe 'left' trading area on-station
COMSIG_DOCK_TRADER_EASTThe 'right' trading area on-station
COMSIG_DOCK_TRADER_DINERThe diner trading area
COMSIG_LIGHT_ENABLESend to a thing to enable component lights on it
COMSIG_LIGHT_DISABLESend to a thing to disable component lights on it
COMSIG_DOOR_OPENEDWhen the door was bumped open, send the movable that opened it
COMSIG_SCOPE_TOGGLEDSent to an item when its sniper_scope components scope is toggled, TRUE if on and FALSE if off
COMSIG_MOB_SCOPE_MOVEDSent to a mob when its client pixel offset is changed by a scope (delta_x, delta_y)
COMSIG_CLIENT_LOGINWhen a client logs into a mob. (client, mob)
COMSIG_CLIENT_LOGOUTWhen a client logs out of a mob. (client, mob)

Define Details

CELL_CHARGEABLE

Cell can be charged in a recharger

CELL_FULL

Cell is fully charged

CELL_INSUFFICIENT_CHARGE

Cell has insufficient charge to do the requested action

CELL_RETURNED_LIST

Returned an assoc list

CELL_SUFFICIENT_CHARGE

Cell has sufficient charge to do the requested action

CELL_UNCHARGEABLE

Cell cannot be charged in a recharger

COMSIG_ATOM_PROP_MOB_INVISIBILITY

When invisibility of a mob gets updated (old_value)

COMSIG_BLOCK_BLOCKED

When a block blocks damage at all

COMSIG_CELL_CAN_CHARGE

If an item can be charged

COMSIG_CELL_CHARGE

Charge a small-cell (amount)

COMSIG_CELL_CHECK_CHARGE

Get the current charge and max charge of a power cell (list(charge)), or check if charge is higher than an amount (charge), or just check if there is a cell at all (null)

COMSIG_CELL_FORCE_NEW_CELL

Force an update to the cellholder's cell. Takes an atom/movable that is a powercell, a powercell component, or a list of args for the powercell to inherit

COMSIG_CELL_IS_CELL

Check if thing is a power cell

COMSIG_CELL_SWAP

When the cell in a uses_cell component should be swapped out (cell, user)

COMSIG_CELL_TRY_SWAP

When a cell is attacked, try to initiate a cellswap on the attacking obj (cell, user)

COMSIG_CELL_USE

Use some charge from a small-cell (amount, bypass)

COMSIG_CLIENT_LOGIN

When a client logs into a mob. (client, mob)

COMSIG_CLIENT_LOGOUT

When a client logs out of a mob. (client, mob)

COMSIG_DOCK_TRADER_DINER

The diner trading area

COMSIG_DOCK_TRADER_EAST

The 'right' trading area on-station

COMSIG_DOCK_TRADER_WEST

The 'left' trading area on-station

COMSIG_DOOR_OPENED

When the door was bumped open, send the movable that opened it

COMSIG_DRONE_BEACON_DESTROYED

Triggers on destruction of a drone beacon

COMSIG_FLOCK_ATTACK

Return whether an action by a thing (/atom) that can optionally be intentional (boolean) is denied because it would harm a flock.

COMSIG_FULLAUTO_MOUSEDOWN

Mouse down while shooting full auto

COMSIG_FULLAUTO_MOUSEDRAG

Mouse down when shooting full auto

COMSIG_FULLAUTO_MOUSEMOVE

MouseMove over a fullauto hud object

COMSIG_GUN_PROJECTILE_CHANGED

Gun projectile changed while in fullauto mode

COMSIG_GUN_TRY_POINTBLANK

before ...gun/shoot_point_blank() - return truthy to cancel shoot_point_blank() - (target, user, second_shot)

COMSIG_GUN_TRY_SHOOT

before ...gun/shoot() - return truthy to cancel shoot() - (target, start, shooter, POX, POY, is_dual_wield, called_target)

COMSIG_ITEM_BLOCK_BEGIN

After an item block is set up

COMSIG_ITEM_BLOCK_END

When an item block is disposed

COMSIG_ITEM_BLOCK_TOOLTIP_BLOCKING_APPEND

Append to the end of the blocking section of tooltip (list/tooltip)

COMSIG_LIGHT_DISABLE

Send to a thing to disable component lights on it

COMSIG_LIGHT_ENABLE

Send to a thing to enable component lights on it

COMSIG_MOB_SCOPE_MOVED

Sent to a mob when its client pixel offset is changed by a scope (delta_x, delta_y)

COMSIG_SCOPE_TOGGLED

Sent to an item when its sniper_scope components scope is toggled, TRUE if on and FALSE if off

COMSIG_SEND_TO_MOB

Send item to a mob

COMSIG_SHIELD_TOGGLE

Sent by the itemability to toggle the energyshield component

Return whether the target should allow receiving items from the given atom (/atom)

COMSIG_TRANSFER_INCOMING

When a movable is requested to be transfered to the output target (/atom/movable/)

COMSIG_TRANSFER_OUTGOING

When the target wants to send a movable to an output (/atom/movable/)

COMSIG_UNARMED_BLOCK_BEGIN

After an unarmed block is set up

COMSIG_UNARMED_BLOCK_END

When an item block is created

DOCK_EVENT_ARRIVED

Shuttle has arrived

DOCK_EVENT_DEPARTED

Shuttle has departed

DOCK_EVENT_INCOMING

Shuttle is about to arrive at a dock

DOCK_EVENT_OUTGOING

Shuttle is about to depart

\ No newline at end of file diff --git a/_std/defines/construction.html b/_std/defines/construction.html new file mode 100644 index 0000000000000..97586399cfee6 --- /dev/null +++ b/_std/defines/construction.html @@ -0,0 +1 @@ +_std/defines/construction.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/defines/construction.dm

DECON_SIMPLEno reqs, just deconstruct!
DECON_BUILTflag added to something that is player-built
DECON_NULL_ACCESScan only be deconstructed if access required is null
DECON_DESTRUCTitem will be saved by path instead of stored in the frame
DECON_NO_ACCESScan be deconstructed without has access

Define Details

DECON_BUILT

flag added to something that is player-built

DECON_DESTRUCT

item will be saved by path instead of stored in the frame

DECON_NO_ACCESS

can be deconstructed without has access

DECON_NULL_ACCESS

can only be deconstructed if access required is null

DECON_SIMPLE

no reqs, just deconstruct!

\ No newline at end of file diff --git a/_std/defines/crew_credits.html b/_std/defines/crew_credits.html new file mode 100644 index 0000000000000..524a28999dcfa --- /dev/null +++ b/_std/defines/crew_credits.html @@ -0,0 +1 @@ +_std/defines/crew_credits.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/defines/crew_credits.dm

CREW_TAB_SECTION_CAPTAINDEBUG: Populates the end-game crew credits with fake names and antagonists. Note that some data entries will be nonsensical.

Define Details

CREW_TAB_SECTION_CAPTAIN

DEBUG: Populates the end-game crew credits with fake names and antagonists. Note that some data entries will be nonsensical.

\ No newline at end of file diff --git a/_std/defines/critter.html b/_std/defines/critter.html new file mode 100644 index 0000000000000..cf55719ae3fdf --- /dev/null +++ b/_std/defines/critter.html @@ -0,0 +1 @@ +_std/defines/critter.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/defines/critter.dm

BUDDY_HATSAllowed buddy hat iconstates

Define Details

BUDDY_HATS

Allowed buddy hat iconstates

\ No newline at end of file diff --git a/_std/defines/economy.html b/_std/defines/economy.html new file mode 100644 index 0000000000000..bd387da058d16 --- /dev/null +++ b/_std/defines/economy.html @@ -0,0 +1 @@ +_std/defines/economy.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/defines/economy.dm

CREDIT_SIGNSymbol for credits, used AFTER the number

Define Details

CREDIT_SIGN

Symbol for credits, used AFTER the number

\ No newline at end of file diff --git a/_std/defines/ephemeral.html b/_std/defines/ephemeral.html new file mode 100644 index 0000000000000..d7988e0d2c48c --- /dev/null +++ b/_std/defines/ephemeral.html @@ -0,0 +1,11 @@ +_std/defines/ephemeral.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/defines/ephemeral.dm

EPHEMERAL_HIDDENIf used inside a type definition, defines an "ephemeral" subtype which overrides New() to remove itself without calling parents. +A secondary EPHEMERAL_SHOWN define exists, which also defines an "ephemeral" subtype but one that doesn't override anything. +Example use-case: +An EPHEMERAL_XMAS define, which depending on whether it's christmas is #ifdef-ined at compile time to be either EPHEMERAL_SHOWN or EPHEMERAL_HIDDEN. +Placing that EPHEMERAL_XMAS define in a type's definition will define an "ephemeral" subtype for it that will either do nothing or remove itself respectively.
EPHEMERAL_SHOWNGenerates an "ephemeral" subtype which doesn't override anything. +See EPHEMERAL_HIDDEN define's documentation for its purpose.

Define Details

EPHEMERAL_HIDDEN

If used inside a type definition, defines an "ephemeral" subtype which overrides New() to remove itself without calling parents. +A secondary EPHEMERAL_SHOWN define exists, which also defines an "ephemeral" subtype but one that doesn't override anything. +Example use-case: +An EPHEMERAL_XMAS define, which depending on whether it's christmas is #ifdef-ined at compile time to be either EPHEMERAL_SHOWN or EPHEMERAL_HIDDEN. +Placing that EPHEMERAL_XMAS define in a type's definition will define an "ephemeral" subtype for it that will either do nothing or remove itself respectively.

EPHEMERAL_SHOWN

Generates an "ephemeral" subtype which doesn't override anything. +See EPHEMERAL_HIDDEN define's documentation for its purpose.

\ No newline at end of file diff --git a/_std/defines/events.html b/_std/defines/events.html new file mode 100644 index 0000000000000..d47bc8b3e88fd --- /dev/null +++ b/_std/defines/events.html @@ -0,0 +1 @@ +_std/defines/events.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/defines/events.dm

EVENT_INFOarginfo handling TODO: document

Define Details

EVENT_INFO

arginfo handling TODO: document

\ No newline at end of file diff --git a/_std/defines/food.html b/_std/defines/food.html new file mode 100644 index 0000000000000..ae2ffab5b088a --- /dev/null +++ b/_std/defines/food.html @@ -0,0 +1 @@ +_std/defines/food.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/defines/food.dm

REQUIRED_UTENSIL_FORKNeed a fork to eat this
REQUIRED_UTENSIL_SPOONNeed a spoon to eat this
REQUIRED_UTENSIL_FORK_OR_SPOONNeed a fork or spoon to eat this

Define Details

REQUIRED_UTENSIL_FORK

Need a fork to eat this

REQUIRED_UTENSIL_FORK_OR_SPOON

Need a fork or spoon to eat this

REQUIRED_UTENSIL_SPOON

Need a spoon to eat this

\ No newline at end of file diff --git a/_std/defines/gang.html b/_std/defines/gang.html new file mode 100644 index 0000000000000..d71772c0d3c46 --- /dev/null +++ b/_std/defines/gang.html @@ -0,0 +1,3 @@ +_std/defines/gang.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/defines/gang.dm

GANG_CRYO_LOCKOUTHow long the leader must cryo before gang members can take their role
GANG_LEADER_SOFT_DEATH_TIMEHow long into the shift gang leadership is transferable, in the case of the leader's suicide/death.
GANG_LEADER_SOFT_DEATH_DELAYIf a gang locker exists, how long to wait before picing a new leader
GANG_STARTING_POINTSAmount of points a gang member starts with
GANG_STARTING_SPRAYPAINTnumber of spray bottles gangs start with in their locker, excluding the 2 in the recruitment briefcase
GANG_SPRAYPAINT_REGENtime in seconds between gangs gaining spray bottles
GANG_SPRAYPAINT_REGEN_QUANTITYnumber of spray paints that are granted in this interval
GANG_DRUG_BONUS_CAPDrug points: +/// Each drug is worth GANG_DRUG_BONUS_MULT * their value until this many units are provided
GANG_WEED_LIMITHow many weed leaves provide a points bonus
GANG_DRUG_LIMITEach drug then has this much market behind it after GANG_DRUG_BONUS_CAP is used up.
GANG_DRUG_BONUS_MULTThe multiplier for drugs that a gang has handed in less than GANG_DRUG_BONUS_CAP units of
JANKTANK2_DESIRED_HEALTH_PCTwhat % of max HP a janktank revives people at
JANKTANK2_CHANNEL_TIMEHow long the JankTank must be prepared while using it on a gang member
JANKTANK2_PAUSE_TIMEHow long the janktank 2 sits in the corpse before revival - where it may be removed.
GANG_CRATE_INITIAL_DROPwhen the first gang crate drops on classic
GANG_CRATE_DROP_FREQUENCYhow often gang crates are dropped on classic
GANG_LOOT_INITIAL_DROPwhen the first gang duffel bag spawns on classic
GANG_LOOT_DROP_FREQUENCYhow often gang duffel bags are dropped on classic
GANG_LOOT_DROP_VOLUME_PER_GANGhow many duffel bags spawn, per gang
GANG_LAUNDER_DELAYhow often gangs launder the money in their locker, in seconds
GANG_LAUNDER_RATEhow much cash gets turned into points every elapsed GANG_LAUNDER_DELAY,
GANG_LAUNDER_CAPhow much cash can be in a locker at any given time?
GANG_CASH_DIVISORHow much cash is required for 1 gang point?
GANG_NEW_MEMBER_COSTCost of buying a new gang member from the locker
GANG_NEW_MEMBER_COST_MULTHow much buying a new gang member increases the price
GANG_REVIVE_COSTCost of buying a revival syringe (JankTank II) from the locker
GANG_REVIVE_COST_MULTHow much buying a revival syringe increases its' price
GANG_CRATE_SCOREhow many points gang crates grant to each member, when opened
GANG_CRATE_DROP_TIMEHow long it takes for gang crates to arrive after being announced
GANG_CRATE_LOCK_TIMEHow long it takes for gang crates to unlock after arriving
GANG_LOOT_SCOREhow many points gang duffel bags grant to each member when opened
GANG_TAG_SCAN_RATEhow often gang tags search for nearby people
GANG_TAG_SCORE_INTERVALhow often tags calculate their heat & score
GANG_TAG_POINTS_PER_HEATHow many points a tag gives for each heat rating it has
GANG_TAG_HEAT_DECAY_MULHow much heat gang tags retain every score interval
GANG_VANDALISM_REQUIRED_SCOREThe total vandalism 'score' required to complete the objective.
GANG_VANDALISM_PER_GRAFFITI_TILEHow much graffiti is worth, per tile
GANG_VANDALISM_GRAFFITI_MAXHow many tiles of graffiti spawns in graffiti bottles
GANG_VANDALISM_LIGHT_BREAK_POINTSHow many points light breaks are worth
GANG_VANDALISM_VENDOR_KOHow many points throwing a person into a vending machine is worth
GANG_VANDALISM_TABLINGHow many points throwing a person into a glass table
GANG_VANDALISM_FLOORTILE_POINTSHow many points ripped up floor tiles are worth
GANG_VANDALISM_VIOLENCE_NPC_MULTIPLIERHow many points each point of damage is worth, for violence
GANG_VANDALISM_VIOLENCE_PLAYER_MULTIPLIERHow many points each point of damage is worth, for violence
GANG_TAG_INFLUENCE_LOCKERRadius of the circle that tags claim
GANG_TAG_SIGHT_RANGE_LOCKERRadius of the circle that gang tags can see inside (can't be sprayed inside)

Define Details

GANG_CASH_DIVISOR

How much cash is required for 1 gang point?

GANG_CRATE_DROP_FREQUENCY

how often gang crates are dropped on classic

GANG_CRATE_DROP_TIME

How long it takes for gang crates to arrive after being announced

GANG_CRATE_INITIAL_DROP

when the first gang crate drops on classic

GANG_CRATE_LOCK_TIME

How long it takes for gang crates to unlock after arriving

GANG_CRATE_SCORE

how many points gang crates grant to each member, when opened

GANG_CRYO_LOCKOUT

How long the leader must cryo before gang members can take their role

GANG_DRUG_BONUS_CAP

Drug points: +/// Each drug is worth GANG_DRUG_BONUS_MULT * their value until this many units are provided

GANG_DRUG_BONUS_MULT

The multiplier for drugs that a gang has handed in less than GANG_DRUG_BONUS_CAP units of

GANG_DRUG_LIMIT

Each drug then has this much market behind it after GANG_DRUG_BONUS_CAP is used up.

GANG_LAUNDER_CAP

how much cash can be in a locker at any given time?

GANG_LAUNDER_DELAY

how often gangs launder the money in their locker, in seconds

GANG_LAUNDER_RATE

how much cash gets turned into points every elapsed GANG_LAUNDER_DELAY,

GANG_LEADER_SOFT_DEATH_DELAY

If a gang locker exists, how long to wait before picing a new leader

GANG_LEADER_SOFT_DEATH_TIME

How long into the shift gang leadership is transferable, in the case of the leader's suicide/death.

GANG_LOOT_DROP_FREQUENCY

how often gang duffel bags are dropped on classic

GANG_LOOT_DROP_VOLUME_PER_GANG

how many duffel bags spawn, per gang

GANG_LOOT_INITIAL_DROP

when the first gang duffel bag spawns on classic

GANG_LOOT_SCORE

how many points gang duffel bags grant to each member when opened

GANG_NEW_MEMBER_COST

Cost of buying a new gang member from the locker

GANG_NEW_MEMBER_COST_MULT

How much buying a new gang member increases the price

GANG_REVIVE_COST

Cost of buying a revival syringe (JankTank II) from the locker

GANG_REVIVE_COST_MULT

How much buying a revival syringe increases its' price

GANG_SPRAYPAINT_REGEN

time in seconds between gangs gaining spray bottles

GANG_SPRAYPAINT_REGEN_QUANTITY

number of spray paints that are granted in this interval

GANG_STARTING_POINTS

Amount of points a gang member starts with

GANG_STARTING_SPRAYPAINT

number of spray bottles gangs start with in their locker, excluding the 2 in the recruitment briefcase

GANG_TAG_HEAT_DECAY_MUL

How much heat gang tags retain every score interval

GANG_TAG_INFLUENCE_LOCKER

Radius of the circle that tags claim

GANG_TAG_POINTS_PER_HEAT

How many points a tag gives for each heat rating it has

GANG_TAG_SCAN_RATE

how often gang tags search for nearby people

GANG_TAG_SCORE_INTERVAL

how often tags calculate their heat & score

GANG_TAG_SIGHT_RANGE_LOCKER

Radius of the circle that gang tags can see inside (can't be sprayed inside)

GANG_VANDALISM_FLOORTILE_POINTS

How many points ripped up floor tiles are worth

GANG_VANDALISM_GRAFFITI_MAX

How many tiles of graffiti spawns in graffiti bottles

GANG_VANDALISM_LIGHT_BREAK_POINTS

How many points light breaks are worth

GANG_VANDALISM_PER_GRAFFITI_TILE

How much graffiti is worth, per tile

GANG_VANDALISM_REQUIRED_SCORE

The total vandalism 'score' required to complete the objective.

GANG_VANDALISM_TABLING

How many points throwing a person into a glass table

GANG_VANDALISM_VENDOR_KO

How many points throwing a person into a vending machine is worth

GANG_VANDALISM_VIOLENCE_NPC_MULTIPLIER

How many points each point of damage is worth, for violence

GANG_VANDALISM_VIOLENCE_PLAYER_MULTIPLIER

How many points each point of damage is worth, for violence

GANG_WEED_LIMIT

How many weed leaves provide a points bonus

JANKTANK2_CHANNEL_TIME

How long the JankTank must be prepared while using it on a gang member

JANKTANK2_DESIRED_HEALTH_PCT

what % of max HP a janktank revives people at

JANKTANK2_PAUSE_TIME

How long the janktank 2 sits in the corpse before revival - where it may be removed.

\ No newline at end of file diff --git a/_std/defines/hydroponics.html b/_std/defines/hydroponics.html new file mode 100644 index 0000000000000..dfbbcba1aaa7c --- /dev/null +++ b/_std/defines/hydroponics.html @@ -0,0 +1 @@ +_std/defines/hydroponics.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/defines/hydroponics.dm

HYP_GROWTH_DEADdead/no plant
HYP_GROWTH_PLANTEDfreshly planted
HYP_GROWTH_GROWINGsecond growthstage, not fully matured, but on the way there
HYP_GROWTH_MATUREDmatured, but not harvestable right now
HYP_GROWTH_HARVESTABLEcompletely harvestable plant

Define Details

HYP_GROWTH_DEAD

dead/no plant

HYP_GROWTH_GROWING

second growthstage, not fully matured, but on the way there

HYP_GROWTH_HARVESTABLE

completely harvestable plant

HYP_GROWTH_MATURED

matured, but not harvestable right now

HYP_GROWTH_PLANTED

freshly planted

\ No newline at end of file diff --git a/_std/defines/item.html b/_std/defines/item.html new file mode 100644 index 0000000000000..02e8187f021a8 --- /dev/null +++ b/_std/defines/item.html @@ -0,0 +1,3 @@ +_std/defines/item.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/defines/item.dm

TABLEPASSunused +can pass by a table or rack
NODRIFTthing doesn't drift in space
USEDELAYput this on either a thing you don't want to be hit rapidly, or a thing you don't want people to hit other stuff rapidly with
EXTRADELAY1 second extra delay on use
NOSHIELDweapon not affected by shield. MBC also put this flag on cloak/shield device to minimize istype checking, so consider this more SHIELD_ACT (rename? idk)
CONDUCTconducts electricity (metal etc.)
ACCEPTS_MOUSEDROP_REAGENTScan mousedrop reagents into from a reagent_container
NOFPRINTdoesn't record fingerprints
ON_BORDERitem has priority to check when entering or leaving
DOORPASScan pass through a closed door
TALK_INTO_HANDautomagically talk into this object when a human is holding it (Phone handset!)
OPENCONTAINERis an open container for chemistry purposes. don't check this flag directly, use obj.is_open_container()
NOSPLASHNo beaker etc. splashing. For Chem machines etc.
SUPPRESSATTACKNo attack when hitting stuff with this item.
FLUID_SUBMERGEgets an overlay when submerged in fluid
IS_PERSPECTIVE_FLUIDgets a perspective overlay from adjacent fluids
FLUID_DENSEthis object is solid to fluids as long as it is also dense (think doors)
HAS_EQUIP_CLICKCalls equipment_click from hand_range_attack on items worn with this flag set.
TGUI_INTERACTIVEHas the possibility for a TGUI interface
ATTACK_SELF_DELAYHas a click delay for attack_self()
FLUID_DENSE_ALWAYSThis object is solid to fluids regardless of density (think fluid forcefields)
CLICK_DELAY_IN_CONTENTSIf click delay should be applied even if atom is in user's contents (e.g.: postit notes)
UNCRUSHABLEIf an item cannot be crushed by the crusher
USE_INTENT_SWITCH_TRIGGERapply to an item's flags to use the item's intent_switch_trigger() proc. This will be called when intent is switched while this item is in hand.
USE_SPECIALS_ON_ALL_INTENTSallows special attacks to be performed on help and grab intent with this item
SMOKELESSprevents items from creating smoke while burning
IMMUNE_TO_ACIDmakes items immune to acid
COLD_BURNprevents items from heating anything up while burning
UNSTORABLEPrevents an item from being placed inside of a storage container, regardless of the item's w_class or the storage's can_hold list.
OBVIOUS_INTERACTION_BARPrevents the action bar when this item is put on someone/interacting with the item of someone to be hidden
REBUILD_ALWAYSrebuild tooltip every single time without exception
REBUILD_DISTforce rebuild if dist does not match cache
REBUILD_USERforce rebuild if viewer has changed at all
REBUILD_SPECTROforce rebuild if spectrospec status of viewer has changed
DAMAGE_CRUSHcrushing damage is technically blunt damage, but it causes bleeding
ATTACK_PRE_DONT_ATTACKThe pre-attack signal doesnt want the attack to continue, so don't
LIMB_MUTANTLimb typically belongs to one of the normal-ass mutantraces
LIMB_ROBOTLimb is robotic in nature
LIMB_LIGHTLimb lighter than the average limb
LIMB_HEAVYLimb heavier than the average limb
LIMB_HEAVIERLimb is really heavy
LIMB_TREADSLimb is actually tank treads
LIMB_ABOMLimb typically belongs to a shambling abomination
LIMB_PLANTLimb is made of plants
LIMB_HOTLimb is whatever the heck a hot limb is
LIMB_ZOMBIELimb typically belongs to the restless undead
LIMB_HUNTERLimb typically belongs to hunters
LIMB_ITEMLimb is actually an item stuck to a stump
LIMB_STONELimb is made of stone
LIMB_BEARLimb typically belongs to a vicious bear
LIMB_BRULLBARLimb typically belongs to a brullbar
LIMB_WOLFLimb typically belongs to a large angry dog
LIMB_SKELLYLimb is kinda boney
LIMB_ARTIFACTLimb is an artifact limb
FIRESOURCE_OPEN_FLAMEFiresource is capable of starting fires on its own when dropped
FIRESOURCE_IGNITERFiresource can not cause fires on its own when dropped
ATTACK_VISIBLEThe default, the attack is animated, a message is given, and particles are shown (most items)
ATTACK_FULLY_HIDDENThe attack is fully hidden. No animation, no message, no particles (sleepy pen, silenced .22)
ATTACK_PARTIALLY_HIDDENNo attack message is shown and no particles are displayed, but the animation of the attacker still plays (genetics analyzer, autoinjectors)
MATCH_UNLITfor matches
MATCH_INERTbroken or burn out
PAPER_IMAGE_RENDERmacro for rendering an image fullsize on paper

Define Details

ACCEPTS_MOUSEDROP_REAGENTS

can mousedrop reagents into from a reagent_container

ATTACK_FULLY_HIDDEN

The attack is fully hidden. No animation, no message, no particles (sleepy pen, silenced .22)

ATTACK_PARTIALLY_HIDDEN

No attack message is shown and no particles are displayed, but the animation of the attacker still plays (genetics analyzer, autoinjectors)

ATTACK_PRE_DONT_ATTACK

The pre-attack signal doesnt want the attack to continue, so don't

ATTACK_SELF_DELAY

Has a click delay for attack_self()

ATTACK_VISIBLE

The default, the attack is animated, a message is given, and particles are shown (most items)

CLICK_DELAY_IN_CONTENTS

If click delay should be applied even if atom is in user's contents (e.g.: postit notes)

COLD_BURN

prevents items from heating anything up while burning

CONDUCT

conducts electricity (metal etc.)

DAMAGE_CRUSH

crushing damage is technically blunt damage, but it causes bleeding

DOORPASS

can pass through a closed door

EXTRADELAY

1 second extra delay on use

FIRESOURCE_IGNITER

Firesource can not cause fires on its own when dropped

FIRESOURCE_OPEN_FLAME

Firesource is capable of starting fires on its own when dropped

FLUID_DENSE

this object is solid to fluids as long as it is also dense (think doors)

FLUID_DENSE_ALWAYS

This object is solid to fluids regardless of density (think fluid forcefields)

FLUID_SUBMERGE

gets an overlay when submerged in fluid

HAS_EQUIP_CLICK

Calls equipment_click from hand_range_attack on items worn with this flag set.

IMMUNE_TO_ACID

makes items immune to acid

IS_PERSPECTIVE_FLUID

gets a perspective overlay from adjacent fluids

LIMB_ABOM

Limb typically belongs to a shambling abomination

LIMB_ARTIFACT

Limb is an artifact limb

LIMB_BEAR

Limb typically belongs to a vicious bear

LIMB_BRULLBAR

Limb typically belongs to a brullbar

LIMB_HEAVIER

Limb is really heavy

LIMB_HEAVY

Limb heavier than the average limb

LIMB_HOT

Limb is whatever the heck a hot limb is

LIMB_HUNTER

Limb typically belongs to hunters

LIMB_ITEM

Limb is actually an item stuck to a stump

LIMB_LIGHT

Limb lighter than the average limb

LIMB_MUTANT

Limb typically belongs to one of the normal-ass mutantraces

LIMB_PLANT

Limb is made of plants

LIMB_ROBOT

Limb is robotic in nature

LIMB_SKELLY

Limb is kinda boney

LIMB_STONE

Limb is made of stone

LIMB_TREADS

Limb is actually tank treads

LIMB_WOLF

Limb typically belongs to a large angry dog

LIMB_ZOMBIE

Limb typically belongs to the restless undead

MATCH_INERT

broken or burn out

MATCH_UNLIT

for matches

NODRIFT

thing doesn't drift in space

NOFPRINT

doesn't record fingerprints

NOSHIELD

weapon not affected by shield. MBC also put this flag on cloak/shield device to minimize istype checking, so consider this more SHIELD_ACT (rename? idk)

NOSPLASH

No beaker etc. splashing. For Chem machines etc.

OBVIOUS_INTERACTION_BAR

Prevents the action bar when this item is put on someone/interacting with the item of someone to be hidden

ON_BORDER

item has priority to check when entering or leaving

OPENCONTAINER

is an open container for chemistry purposes. don't check this flag directly, use obj.is_open_container()

PAPER_IMAGE_RENDER

macro for rendering an image fullsize on paper

REBUILD_ALWAYS

rebuild tooltip every single time without exception

REBUILD_DIST

force rebuild if dist does not match cache

REBUILD_SPECTRO

force rebuild if spectrospec status of viewer has changed

REBUILD_USER

force rebuild if viewer has changed at all

SMOKELESS

prevents items from creating smoke while burning

SUPPRESSATTACK

No attack when hitting stuff with this item.

TABLEPASS

unused +can pass by a table or rack

TALK_INTO_HAND

automagically talk into this object when a human is holding it (Phone handset!)

TGUI_INTERACTIVE

Has the possibility for a TGUI interface

UNCRUSHABLE

If an item cannot be crushed by the crusher

UNSTORABLE

Prevents an item from being placed inside of a storage container, regardless of the item's w_class or the storage's can_hold list.

USEDELAY

put this on either a thing you don't want to be hit rapidly, or a thing you don't want people to hit other stuff rapidly with

USE_INTENT_SWITCH_TRIGGER

apply to an item's flags to use the item's intent_switch_trigger() proc. This will be called when intent is switched while this item is in hand.

USE_SPECIALS_ON_ALL_INTENTS

allows special attacks to be performed on help and grab intent with this item

\ No newline at end of file diff --git a/_std/defines/lag.html b/_std/defines/lag.html new file mode 100644 index 0000000000000..631d435b9be94 --- /dev/null +++ b/_std/defines/lag.html @@ -0,0 +1 @@ +_std/defines/lag.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/defines/lag.dm

UNTILWaits until a given condition is true, tg-style async
MIN_TICKLAGmin value ticklag can be
OVERLOADED_WORLD_TICKLAGmax value ticklag can be
SEMIOVERLOADED_WORLD_TICKLAGwhere to start ticklag if many players present
TICKLAG_DILATION_INChow ticklag much to increase by when appropriate
TICKLAG_DILATION_DEChow much to decrease by when appropriate //MBCX I DONT KNOW WHY BUT MOST VALUES CAUSE ROUNDING ERRORS, ITS VERY IMPORTANT THAT THIS REMAINS 0.2 FIOR NOW
TICKLAG_CPU_MAXwhat cpu percent is too high in the dilation check
TICKLAG_CPU_MINwhat cpu percent is low enough in the dilation check
TICKLAG_MAPCPU_MAXwhat map_cpu percent is too high in the dilation check
TICKLAG_MAPCPU_MINwhat map_cpu percent is low enough in the dilation check
TICKLAG_INCREASE_THRESHOLDnumber of times the dilation check needs to see lag in a row to slow down the ticker
TICKLAG_DECREASE_THRESHOLDnumber of times to see no lag in a row to speed up the ticker
TICKLAG_DILATE_INTERVALhow often to check for time dilation, against world.time, so counted in game ticks.
PRE_PROFILING_ENABLEDwhether we want to profile in advance of a lagspike every tick to catch relevant lagspike info
CPU_START_PROFILING_THRESHOLDwhat value must world.cpu cross upwards to trigger automatic profiling
CPU_START_PROFILING_IMMEDIATELY_THRESHOLDwhat value must world.cpu cross upwards to trigger automatic profiling but this one ignores CPU_START_PROFILING_COUNT
CPU_STOP_PROFILING_THRESHOLDwhat value must world.cpu cross downwards to stop automatic profiling
CPU_START_PROFILING_COUNThow many ticks in a row does world.cpu needs to be above the threshold to start profiling
CPU_STOP_PROFILING_COUNThow many ticks in a row does world.cpu needs to be below the threshold to stop profiling
CPU_PROFILING_ROUNDSTART_GRACE_PERIODhow long the round needs to be in progress before we can start profiling
TICK_TIME_PROFILING_THRESHOLDeven if world.cpu is normal if tick took this amount of time profiling will start
OVERLOAD_PLAYERCOUNTwhen pcount is above this number on round start, increase ticklag to OVERLOADED_WORLD_TICKLAG to try to maintain smoothness
SEMIOVERLOAD_PLAYERCOUNTwhen pcount is above this number on round start, increase ticklag to SEMIOVERLOADED_WORLD_TICKLAG to try to maintain smoothness
OSHAN_LIGHT_OVERLOADwhen pcount is above this number on game load, dont generate lighting surrounding the station because it lags the map to heck
SLOW_LIFE_PLAYERCOUNTwhenn pcount is >= this number, slow Life() processing a bit
SLOWEST_LIFE_PLAYERCOUNTwhenn pcount is >= this number, slow Life() processing a lot
DEFAULT_POOL_SIZEHow much stuff is allowed in the pools before the lifeguard throws them into the deletequeue instead. A shameful lifeguard.

Define Details

CPU_PROFILING_ROUNDSTART_GRACE_PERIOD

how long the round needs to be in progress before we can start profiling

CPU_START_PROFILING_COUNT

how many ticks in a row does world.cpu needs to be above the threshold to start profiling

CPU_START_PROFILING_IMMEDIATELY_THRESHOLD

what value must world.cpu cross upwards to trigger automatic profiling but this one ignores CPU_START_PROFILING_COUNT

CPU_START_PROFILING_THRESHOLD

what value must world.cpu cross upwards to trigger automatic profiling

CPU_STOP_PROFILING_COUNT

how many ticks in a row does world.cpu needs to be below the threshold to stop profiling

CPU_STOP_PROFILING_THRESHOLD

what value must world.cpu cross downwards to stop automatic profiling

DEFAULT_POOL_SIZE

How much stuff is allowed in the pools before the lifeguard throws them into the deletequeue instead. A shameful lifeguard.

MIN_TICKLAG

min value ticklag can be

OSHAN_LIGHT_OVERLOAD

when pcount is above this number on game load, dont generate lighting surrounding the station because it lags the map to heck

OVERLOADED_WORLD_TICKLAG

max value ticklag can be

OVERLOAD_PLAYERCOUNT

when pcount is above this number on round start, increase ticklag to OVERLOADED_WORLD_TICKLAG to try to maintain smoothness

PRE_PROFILING_ENABLED

whether we want to profile in advance of a lagspike every tick to catch relevant lagspike info

SEMIOVERLOADED_WORLD_TICKLAG

where to start ticklag if many players present

SEMIOVERLOAD_PLAYERCOUNT

when pcount is above this number on round start, increase ticklag to SEMIOVERLOADED_WORLD_TICKLAG to try to maintain smoothness

SLOWEST_LIFE_PLAYERCOUNT

whenn pcount is >= this number, slow Life() processing a lot

SLOW_LIFE_PLAYERCOUNT

whenn pcount is >= this number, slow Life() processing a bit

TICKLAG_CPU_MAX

what cpu percent is too high in the dilation check

TICKLAG_CPU_MIN

what cpu percent is low enough in the dilation check

TICKLAG_DECREASE_THRESHOLD

number of times to see no lag in a row to speed up the ticker

TICKLAG_DILATE_INTERVAL

how often to check for time dilation, against world.time, so counted in game ticks.

TICKLAG_DILATION_DEC

how much to decrease by when appropriate //MBCX I DONT KNOW WHY BUT MOST VALUES CAUSE ROUNDING ERRORS, ITS VERY IMPORTANT THAT THIS REMAINS 0.2 FIOR NOW

TICKLAG_DILATION_INC

how ticklag much to increase by when appropriate

TICKLAG_INCREASE_THRESHOLD

number of times the dilation check needs to see lag in a row to slow down the ticker

TICKLAG_MAPCPU_MAX

what map_cpu percent is too high in the dilation check

TICKLAG_MAPCPU_MIN

what map_cpu percent is low enough in the dilation check

TICK_TIME_PROFILING_THRESHOLD

even if world.cpu is normal if tick took this amount of time profiling will start

UNTIL

Waits until a given condition is true, tg-style async

\ No newline at end of file diff --git a/_std/defines/landmarks.html b/_std/defines/landmarks.html new file mode 100644 index 0000000000000..f923a1f1cba2b --- /dev/null +++ b/_std/defines/landmarks.html @@ -0,0 +1 @@ +_std/defines/landmarks.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/defines/landmarks.dm

LANDMARK_TWITCHY_BILL_RESPAWNTwitch Plays Shitty Bill respawn points
LANDMARK_TELESCIallowed turfs for telesci

Define Details

LANDMARK_TELESCI

allowed turfs for telesci

LANDMARK_TWITCHY_BILL_RESPAWN

Twitch Plays Shitty Bill respawn points

\ No newline at end of file diff --git a/_std/defines/layer.html b/_std/defines/layer.html new file mode 100644 index 0000000000000..3c2865744f75f --- /dev/null +++ b/_std/defines/layer.html @@ -0,0 +1 @@ +_std/defines/layer.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/defines/layer.dm

SUB_TAG_LAYERGraffiti that's been sprayed over sits here
TAG_LAYERGraffiti layer for gangs, this is the topmost (ie. most recent) tag on a turf
MOB_LAYER_OVER_FUCKING_EVERYTHING_LAYER! Boxes
MOB_OVER_TOP_LAYER! For things which are draped over the top of all other clothing
MOB_BACK_SUIT_LAYER! For capes and scarves and stuff. Technically on back, but we want to layer over almost everything else
MOB_FULL_SUIT_LAYER! For things which fully cover the body, but are still normal-ish clothes (cult robes, mechanicus robe)

Define Details

MOB_BACK_SUIT_LAYER

! For capes and scarves and stuff. Technically on back, but we want to layer over almost everything else

MOB_FULL_SUIT_LAYER

! For things which fully cover the body, but are still normal-ish clothes (cult robes, mechanicus robe)

MOB_LAYER_OVER_FUCKING_EVERYTHING_LAYER

! Boxes

MOB_OVER_TOP_LAYER

! For things which are draped over the top of all other clothing

SUB_TAG_LAYER

Graffiti that's been sprayed over sits here

TAG_LAYER

Graffiti layer for gangs, this is the topmost (ie. most recent) tag on a turf

\ No newline at end of file diff --git a/_std/defines/logging.html b/_std/defines/logging.html new file mode 100644 index 0000000000000..72c410b04dc4d --- /dev/null +++ b/_std/defines/logging.html @@ -0,0 +1 @@ +_std/defines/logging.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/defines/logging.dm

LOG_FLUSHING_THRESHOLDThresholds for admin logs & other log stuff.
LOG_ACCESSDiary only
LOG_ADMINAdmin actions
LOG_AHELPAhelps and admin responses
LOG_AUDITAdmin auditing stuff
LOG_BOMBINGExplosions
LOG_COMBATPeople fighting or smashing shit
LOG_DEBUGDebug information
LOG_DIARYDiary
LOG_GAMEDiary only
LOG_MHELPUsed for diary too
LOG_OOCOOC
LOG_PDAMSGPDA messaging
LOG_SAYIC Speech
LOG_SPEECHIngame logs only, say + whisper
LOG_SIGNALERSRemote signallers
LOG_STATIONInteractions with/between inanimate objects, as well as the station as a whole
LOG_TELEPATHYTelepathy gene messages
LOG_VEHICLEVehicle stuff
LOG_WHISPERWhisper messages
LOG_TOPICTopic() logs
LOG_GAMEMODECore gamemode stuff like game mode selection, blob starts, flock planting, etc
LOG_CHEMISTRYNon-combat chemistry interactions
LOG_TGUITGUI interactions

Define Details

LOG_ACCESS

Diary only

LOG_ADMIN

Admin actions

LOG_AHELP

Ahelps and admin responses

LOG_AUDIT

Admin auditing stuff

LOG_BOMBING

Explosions

LOG_CHEMISTRY

Non-combat chemistry interactions

LOG_COMBAT

People fighting or smashing shit

LOG_DEBUG

Debug information

LOG_DIARY

Diary

LOG_FLUSHING_THRESHOLD

Thresholds for admin logs & other log stuff.

LOG_GAME

Diary only

LOG_GAMEMODE

Core gamemode stuff like game mode selection, blob starts, flock planting, etc

LOG_MHELP

Used for diary too

LOG_OOC

OOC

LOG_PDAMSG

PDA messaging

LOG_SAY

IC Speech

LOG_SIGNALERS

Remote signallers

LOG_SPEECH

Ingame logs only, say + whisper

LOG_STATION

Interactions with/between inanimate objects, as well as the station as a whole

LOG_TELEPATHY

Telepathy gene messages

LOG_TGUI

TGUI interactions

LOG_TOPIC

Topic() logs

LOG_VEHICLE

Vehicle stuff

LOG_WHISPER

Whisper messages

\ No newline at end of file diff --git a/_std/defines/materials.html b/_std/defines/materials.html new file mode 100644 index 0000000000000..0b47a7d42c179 --- /dev/null +++ b/_std/defines/materials.html @@ -0,0 +1 @@ +_std/defines/materials.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/defines/materials.dm

MATERIAL_CRYSTALCrystals, Minerals
MATERIAL_METALMetals
MATERIAL_CLOTHCloth or cloth-like
MATERIAL_ORGANICCoal, meat and whatnot.
MATERIAL_ENERGYIs energy or outputs energy.
MATERIAL_RUBBERRubber , latex etc
MATERIAL_WOODWood, or wood-like
/var/RARITY_COLORGlobal static list of rarity color associations
/var/triggerVarsThis contains the names of the trigger lists on materials. Required for copying materials. Remember to keep this updated if you add new triggers.

Define Details

MATERIAL_CLOTH

Cloth or cloth-like

MATERIAL_CRYSTAL

Crystals, Minerals

MATERIAL_ENERGY

Is energy or outputs energy.

MATERIAL_METAL

Metals

MATERIAL_ORGANIC

Coal, meat and whatnot.

MATERIAL_RUBBER

Rubber , latex etc

MATERIAL_WOOD

Wood, or wood-like

\ No newline at end of file diff --git a/_std/defines/mechanics.html b/_std/defines/mechanics.html new file mode 100644 index 0000000000000..0732d57c900e5 --- /dev/null +++ b/_std/defines/mechanics.html @@ -0,0 +1 @@ +_std/defines/mechanics.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/defines/mechanics.dm

MECHANICS_INTERACTION_ALLOWEDThis atom can be scanned normally with a device analyzer.
MECHANICS_INTERACTION_SKIP_IF_FAILThis atom can be scanned, but if scanning would fail, it does the normal attackby logic. Used for putting things on tables, etc.
MECHANICS_INTERACTION_BLACKLISTEDThis atom cannot be scanned at all.
MECHANICS_ANALYSIS_SUCCESSThe scan attempt succeeded.
MECHANICS_ANALYSIS_INCOMPATIBLEThe atom cannot be scanned by the scanner, probably due to lacking materials.
MECHANICS_ANALYSIS_ALREADY_SCANNEDThe atom has already been scanned by the device analyzer being used on it.

Define Details

MECHANICS_ANALYSIS_ALREADY_SCANNED

The atom has already been scanned by the device analyzer being used on it.

MECHANICS_ANALYSIS_INCOMPATIBLE

The atom cannot be scanned by the scanner, probably due to lacking materials.

MECHANICS_ANALYSIS_SUCCESS

The scan attempt succeeded.

MECHANICS_INTERACTION_ALLOWED

This atom can be scanned normally with a device analyzer.

MECHANICS_INTERACTION_BLACKLISTED

This atom cannot be scanned at all.

MECHANICS_INTERACTION_SKIP_IF_FAIL

This atom can be scanned, but if scanning would fail, it does the normal attackby logic. Used for putting things on tables, etc.

\ No newline at end of file diff --git a/_std/defines/medical.html b/_std/defines/medical.html new file mode 100644 index 0000000000000..939b028c99fc5 --- /dev/null +++ b/_std/defines/medical.html @@ -0,0 +1 @@ +_std/defines/medical.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/defines/medical.dm

DEFAULT_LUNG_AIR_TEMP_TOLERANCE_MAXMaximum air temperature before default lungs start taking damage

Define Details

DEFAULT_LUNG_AIR_TEMP_TOLERANCE_MAX

Maximum air temperature before default lungs start taking damage

\ No newline at end of file diff --git a/_std/defines/mob.html b/_std/defines/mob.html new file mode 100644 index 0000000000000..91f5924742b66 --- /dev/null +++ b/_std/defines/mob.html @@ -0,0 +1,2 @@ +_std/defines/mob.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/defines/mob.dm

MOB_HEARS_ALLFor mobs who can hear everything (mainly observer ghossts)
MIN_EFFECTIVE_RADHow many rads after resistances before it actually does anything.
FIRE_DAMAGE_MODIFIERHigher values result in more external fire damage to the skin
AIR_DAMAGE_MODIFIERMore means less damage from hot air scalding lungs, less = more damage.
BURNING_LV1Burning Lv1 starts at this duration.
BURNING_LV2Burning Lv2 starts at this duration.
BURNING_LV3Burning Lv3 starts at this duration.
HEARING_ANTIDEAFcures deafness when worn
BUTCHER_YOU_MONSTERExtra "WHAT A MONSTER" message on butchering

Define Details

AIR_DAMAGE_MODIFIER

More means less damage from hot air scalding lungs, less = more damage.

BURNING_LV1

Burning Lv1 starts at this duration.

BURNING_LV2

Burning Lv2 starts at this duration.

BURNING_LV3

Burning Lv3 starts at this duration.

BUTCHER_YOU_MONSTER

Extra "WHAT A MONSTER" message on butchering

FIRE_DAMAGE_MODIFIER

Higher values result in more external fire damage to the skin

HEARING_ANTIDEAF

cures deafness when worn

MIN_EFFECTIVE_RAD

How many rads after resistances before it actually does anything.

+

Example: This is set to 3, someone takes rad damage that is reduced to 2 by resistances. Nothing happens as its below the min. of 3.

MOB_HEARS_ALL

For mobs who can hear everything (mainly observer ghossts)

\ No newline at end of file diff --git a/_std/defines/obj.html b/_std/defines/obj.html new file mode 100644 index 0000000000000..4246534756b69 --- /dev/null +++ b/_std/defines/obj.html @@ -0,0 +1 @@ +_std/defines/obj.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/defines/obj.dm

BOTS_DIRBLOCKbot considers this solid object that can be opened with a bump() in pathfinding DirBlockedWithAccess
NO_ARM_ATTACHillegal for arm attaching
CAN_REPROGRAM_ACCESSaccess gun can reprog
HAS_DIRECTIONAL_BLOCKINGthis object only blocks things in certain directions, e.g. railings, thindows
NO_GHOSTCRITTERprevents ghost critter interaction. On obj so it can cover machinery, items etc...
MATERIAL_ALPHA_OPACITYAt which alpha do opague objects become see-through?

Define Details

BOTS_DIRBLOCK

bot considers this solid object that can be opened with a bump() in pathfinding DirBlockedWithAccess

CAN_REPROGRAM_ACCESS

access gun can reprog

HAS_DIRECTIONAL_BLOCKING

this object only blocks things in certain directions, e.g. railings, thindows

MATERIAL_ALPHA_OPACITY

At which alpha do opague objects become see-through?

NO_ARM_ATTACH

illegal for arm attaching

NO_GHOSTCRITTER

prevents ghost critter interaction. On obj so it can cover machinery, items etc...

\ No newline at end of file diff --git a/_std/defines/process.html b/_std/defines/process.html new file mode 100644 index 0000000000000..2d1b0f2f4c5ee --- /dev/null +++ b/_std/defines/process.html @@ -0,0 +1 @@ +_std/defines/process.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/defines/process.dm

PROCESS_DEFAULT_TICK_ALLOWANCEtry to use no more than this percentage of a tick

Define Details

PROCESS_DEFAULT_TICK_ALLOWANCE

try to use no more than this percentage of a tick

\ No newline at end of file diff --git a/_std/defines/radio.html b/_std/defines/radio.html new file mode 100644 index 0000000000000..8223a7f636bcd --- /dev/null +++ b/_std/defines/radio.html @@ -0,0 +1 @@ +_std/defines/radio.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/defines/radio.dm

R_FREQ_MINIMUMMinimum "selectable" freq
R_FREQ_MAXIMUMMaximum "selectable" freq

Define Details

R_FREQ_MAXIMUM

Maximum "selectable" freq

R_FREQ_MINIMUM

Minimum "selectable" freq

\ No newline at end of file diff --git a/_std/defines/reagents.html b/_std/defines/reagents.html new file mode 100644 index 0000000000000..ab3d2f04f41db --- /dev/null +++ b/_std/defines/reagents.html @@ -0,0 +1 @@ +_std/defines/reagents.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/defines/reagents.dm

FLUID_BANNEDBanned from existing in fluid puddles
FLUID_STACKING_BANNEDBanned from stacking from cleanables into fluid puddles
FLUID_SMOKE_BANNEDBanned from existing in smoke clouds

Define Details

FLUID_BANNED

Banned from existing in fluid puddles

FLUID_SMOKE_BANNED

Banned from existing in smoke clouds

FLUID_STACKING_BANNED

Banned from stacking from cleanables into fluid puddles

\ No newline at end of file diff --git a/_std/defines/robot.html b/_std/defines/robot.html new file mode 100644 index 0000000000000..d844885e44b36 --- /dev/null +++ b/_std/defines/robot.html @@ -0,0 +1 @@ +_std/defines/robot.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/defines/robot.dm

ROBOT_MISSING_LEG_MOVEMENT_ADJUSTAdditive slowdown added dur to a missing leg
ROBOT_MISSING_LEG_ARM_OFFSETAmount an arm on the same side as a missing leg will offset the missing leg penalty
ROBOT_MISSING_ARM_MOVEMENT_ADJUSTAmount a missing arm will speed you up (as long as you have legs)

Define Details

ROBOT_MISSING_ARM_MOVEMENT_ADJUST

Amount a missing arm will speed you up (as long as you have legs)

ROBOT_MISSING_LEG_ARM_OFFSET

Amount an arm on the same side as a missing leg will offset the missing leg penalty

ROBOT_MISSING_LEG_MOVEMENT_ADJUST

Additive slowdown added dur to a missing leg

\ No newline at end of file diff --git a/_std/defines/shuttle.html b/_std/defines/shuttle.html new file mode 100644 index 0000000000000..858e82b44c4aa --- /dev/null +++ b/_std/defines/shuttle.html @@ -0,0 +1 @@ +_std/defines/shuttle.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/defines/shuttle.dm

SHUTTLE_TRANSITIf true, the shuttle spends time in transit. If false, it instantly teleports.
SHUTTLEARRIVETIMETime the shuttle takes to get to SS13
SHUTTLELEAVETIMETime the shuttle takes to leave SS13
SHUTTLETRANSITTIMETime the shuttle spends in transit away from SS13
SHUTTLE_CALL_ENABLEDDefault; shuttle can be called or auto-calls
SHUTTLE_CALL_MANUAL_CALL_DISABLEDShuttle cannot be called manually, only automatically or by admins
SHUTTLE_CALL_FULLY_DISABLEDShuttle will not be called, period

Define Details

SHUTTLEARRIVETIME

Time the shuttle takes to get to SS13

SHUTTLELEAVETIME

Time the shuttle takes to leave SS13

SHUTTLETRANSITTIME

Time the shuttle spends in transit away from SS13

SHUTTLE_CALL_ENABLED

Default; shuttle can be called or auto-calls

SHUTTLE_CALL_FULLY_DISABLED

Shuttle will not be called, period

SHUTTLE_CALL_MANUAL_CALL_DISABLED

Shuttle cannot be called manually, only automatically or by admins

SHUTTLE_TRANSIT

If true, the shuttle spends time in transit. If false, it instantly teleports.

\ No newline at end of file diff --git a/_std/defines/sound.html b/_std/defines/sound.html new file mode 100644 index 0000000000000..d0c1cdec9b3c4 --- /dev/null +++ b/_std/defines/sound.html @@ -0,0 +1 @@ +_std/defines/sound.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/defines/sound.dm

SOUND_SKIP_OBSERVERSOnly applies to local playsound(s)
SOUND_LIMITER_GRID_SIZEthe world gets split into a K-by-K grid and each tick each sound can only be played once in each big tile of this grid
BOTTALK_VOLUMEhow loud are dectalk bots

Define Details

BOTTALK_VOLUME

how loud are dectalk bots

SOUND_LIMITER_GRID_SIZE

the world gets split into a K-by-K grid and each tick each sound can only be played once in each big tile of this grid

SOUND_SKIP_OBSERVERS

Only applies to local playsound(s)

\ No newline at end of file diff --git a/_std/defines/spacebee_extension.html b/_std/defines/spacebee_extension.html new file mode 100644 index 0000000000000..5c70a51e3e4ed --- /dev/null +++ b/_std/defines/spacebee_extension.html @@ -0,0 +1,3 @@ +_std/defines/spacebee_extension.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/defines/spacebee_extension.dm

SPACEBEE_EXTENSION_ASAY_PREFIXfrom the Discord the command will need this prefix in asay (that is after the base ; prefix) to be recognized
SPACEBEE_EXTENSION_MAIN_SERVERserver id of the server that processes commands with server_targeting = COMMAND_TARGETING_MAIN_SERVER
COMMAND_TARGETING_SINGLE_SERVERvalues for the server_targeting var of commands, picks which server processes a given command +command requires a server key at the end - e.g. ;;gib2 pali6
COMMAND_TARGETING_MAIN_SERVERcommand is always ran on the main server
COMMAND_TARGETING_ALL_SERVERScommand is always ran on all servers at once
COMMAND_TARGETING_LIVE_SERVERScommand is run on each of the 1-4 live servers

Define Details

COMMAND_TARGETING_ALL_SERVERS

command is always ran on all servers at once

COMMAND_TARGETING_LIVE_SERVERS

command is run on each of the 1-4 live servers

COMMAND_TARGETING_MAIN_SERVER

command is always ran on the main server

COMMAND_TARGETING_SINGLE_SERVER

values for the server_targeting var of commands, picks which server processes a given command +command requires a server key at the end - e.g. ;;gib2 pali6

SPACEBEE_EXTENSION_ASAY_PREFIX

from the Discord the command will need this prefix in asay (that is after the base ; prefix) to be recognized

SPACEBEE_EXTENSION_MAIN_SERVER

server id of the server that processes commands with server_targeting = COMMAND_TARGETING_MAIN_SERVER

\ No newline at end of file diff --git a/_std/defines/stamina.html b/_std/defines/stamina.html new file mode 100644 index 0000000000000..09604dab31df9 --- /dev/null +++ b/_std/defines/stamina.html @@ -0,0 +1 @@ +_std/defines/stamina.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/defines/stamina.dm

STAMINA_MAXDefault max stamina value
STAMINA_REGENDefault stamina regeneration rate.
STAMINA_ITEM_DMGDefault stamina damage objects do.
STAMINA_ITEM_COSTDefault attack cost on user for attacking with items.
STAMINA_HTH_DMGDefault hand-to-hand (punch, kick) stamina damage.
STAMINA_HTH_COSTDefault hand-to-hand (punch, kick) stamina cost
STAMINA_MIN_ATTACKThe minimum amount of stamina required to attack.
STAMINA_NEG_CAPHow far into the negative we can take stamina. (People will be stunned while stamina regens up to > 0 - so this can lead to long stuns if set too high)
STAMINA_NEG_CAP_STUN_TIMEWhen we reach the neg cap, how long to paralyze?
STAMINA_STUN_TIMEHow long we will be stunned for, for being <= 0 stamina
STAMINA_STUN_CRIT_TIMEHow long we will be stunned for, for being <= NEGCAP stamina
STAMINA_GRAB_COSTHow much grabbing someone costs.
STAMINA_DISARM_COSTHow much disarming someone costs.
STAMINA_DISARM_DMGStamina damage of disarming someone with bare hands.
STAMINA_FLIP_COSTHow much flipping / suplexing costs.
STAMINA_CRIT_CHANCEBase chance of landing a critical hit to stamina.
STAMINA_P_GRAB_RESIST_CHANCEChance to resist out of passive grabs.
STAMINA_S_GRAB_RESIST_CHANCEChance to resist out of a strong grab (i.e. werewolves)
STAMINA_U_GRAB_RESIST_CHANCEChance to resist out of upgraded grabs.
STAMINA_DEFAULT_BLOCK_COSTCost of blocking an attack.
STAMINA_LOW_COST_KICKDoes kicking people on the ground cost less stamina ? (Right now it doesnt cost less but rather refunds some because kicking people on the ground is very relaxing OKAY)
STAMINA_NO_ATTACK_CAPAttacks only cost stamina up to the min atttack cap. after that they are free
STAMINA_NEG_CRIT_KNOCKOUTGetting crit below or at 0 stamina will always knock out
STAMINA_WINDED_SPEAK_MINCan't speak below this point.
STAMINA_SPRINTcan only sprint above this number
STAMINA_COST_SPRINTcost of moving in sprint
SUSTAINED_RUN_GRACEgrace period where sustained run can be sustained
SUSTAINED_RUN_REQhow many tiles to start sustained run
STAMINA_CRIT_DAMAGEhow much additional stamina damage on crit
STAMINA_MIN_WEIGHT_CLASSMinimum weightclass (w_class) of an item that allows for knock-outs and critical hits.
STAMINA_STUN_ON_CRITGetting crit stuns the affected person for a short moment?
STAMINA_STUN_ON_CRIT_SEVHow long people get stunned on crits
STAMINA_CRIT_DROP_NUMAmount of stamina to drop to on a crit if [STAMINA_CRIT_DROP] is set.
STAMINA_SCALING_KNOCKOUT_BASEBase chance at 0 stamina to be knocked out by an attack - scales up the lower stamina goes.
STAMINA_SCALING_KNOCKOUT_SCALERUp to which additional value the chance will scale with lower stamina nearly the negative cap
STAMINA_EXHAUSTED_STRThe message tired people get when they try to attack.
STAMINA_DEFAULT_FART_COSTHow much farting costs. I am not even kidding.

Define Details

STAMINA_COST_SPRINT

cost of moving in sprint

STAMINA_CRIT_CHANCE

Base chance of landing a critical hit to stamina.

STAMINA_CRIT_DAMAGE

how much additional stamina damage on crit

STAMINA_CRIT_DROP_NUM

Amount of stamina to drop to on a crit if [STAMINA_CRIT_DROP] is set.

STAMINA_DEFAULT_BLOCK_COST

Cost of blocking an attack.

STAMINA_DEFAULT_FART_COST

How much farting costs. I am not even kidding.

STAMINA_DISARM_COST

How much disarming someone costs.

STAMINA_DISARM_DMG

Stamina damage of disarming someone with bare hands.

STAMINA_EXHAUSTED_STR

The message tired people get when they try to attack.

STAMINA_FLIP_COST

How much flipping / suplexing costs.

STAMINA_GRAB_COST

How much grabbing someone costs.

STAMINA_HTH_COST

Default hand-to-hand (punch, kick) stamina cost

STAMINA_HTH_DMG

Default hand-to-hand (punch, kick) stamina damage.

STAMINA_ITEM_COST

Default attack cost on user for attacking with items.

STAMINA_ITEM_DMG

Default stamina damage objects do.

STAMINA_LOW_COST_KICK

Does kicking people on the ground cost less stamina ? (Right now it doesnt cost less but rather refunds some because kicking people on the ground is very relaxing OKAY)

STAMINA_MAX

Default max stamina value

STAMINA_MIN_ATTACK

The minimum amount of stamina required to attack.

STAMINA_MIN_WEIGHT_CLASS

Minimum weightclass (w_class) of an item that allows for knock-outs and critical hits.

STAMINA_NEG_CAP

How far into the negative we can take stamina. (People will be stunned while stamina regens up to > 0 - so this can lead to long stuns if set too high)

STAMINA_NEG_CAP_STUN_TIME

When we reach the neg cap, how long to paralyze?

STAMINA_NEG_CRIT_KNOCKOUT

Getting crit below or at 0 stamina will always knock out

STAMINA_NO_ATTACK_CAP

Attacks only cost stamina up to the min atttack cap. after that they are free

STAMINA_P_GRAB_RESIST_CHANCE

Chance to resist out of passive grabs.

STAMINA_REGEN

Default stamina regeneration rate.

STAMINA_SCALING_KNOCKOUT_BASE

Base chance at 0 stamina to be knocked out by an attack - scales up the lower stamina goes.

STAMINA_SCALING_KNOCKOUT_SCALER

Up to which additional value the chance will scale with lower stamina nearly the negative cap

STAMINA_SPRINT

can only sprint above this number

STAMINA_STUN_CRIT_TIME

How long we will be stunned for, for being <= NEGCAP stamina

STAMINA_STUN_ON_CRIT

Getting crit stuns the affected person for a short moment?

STAMINA_STUN_ON_CRIT_SEV

How long people get stunned on crits

STAMINA_STUN_TIME

How long we will be stunned for, for being <= 0 stamina

STAMINA_S_GRAB_RESIST_CHANCE

Chance to resist out of a strong grab (i.e. werewolves)

STAMINA_U_GRAB_RESIST_CHANCE

Chance to resist out of upgraded grabs.

STAMINA_WINDED_SPEAK_MIN

Can't speak below this point.

SUSTAINED_RUN_GRACE

grace period where sustained run can be sustained

SUSTAINED_RUN_REQ

how many tiles to start sustained run

\ No newline at end of file diff --git a/_std/defines/status_display.html b/_std/defines/status_display.html new file mode 100644 index 0000000000000..13d1354eea81d --- /dev/null +++ b/_std/defines/status_display.html @@ -0,0 +1 @@ +_std/defines/status_display.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/defines/status_display.dm

STATUS_DISPLAY_BLANKNothing Displayed
STATUS_DISPLAY_SHUTTLEShuttle ETA/ETD/ETC timer
STATUS_DISPLAY_MESSAGECustom text message
STATUS_DISPLAY_PICTUREAlert image
STATUS_DISPLAY_MARKETShipping Market timer
STATUS_DISPLAY_SELFDESZeta station self-destruct
STATUS_DISPLAY_ROCKBOXMining score (unimplemented)
STATUS_DISPLAY_NUCLEARNuclear Operatives Nuke timer
STATUS_DISPLAY_PACKET_MODE_DISPLAY_DEFAULTDefault status display message, dependent on type
STATUS_DISPLAY_PACKET_MODE_DISPLAY_BLANKBlank/NT Logo
STATUS_DISPLAY_PACKET_MODE_DISPLAY_SHUTTLEShuttle ETA/ETD/ETC timer
STATUS_DISPLAY_PACKET_MODE_MESSAGECustom Text Message
STATUS_DISPLAY_PACKET_MODE_DISPLAY_MARKETShipping Market timer
STATUS_DISPLAY_PACKET_MODE_DISPLAY_ALERTSelectable images
STATUS_DISPLAY_PACKET_MODE_DISPLAY_SELFDESZeta station self destruct
STATUS_DISPLAY_PACKET_MODE_DISPLAY_NUCLEARNuclear Operatives mode nuclear bomb timer

Define Details

STATUS_DISPLAY_BLANK

Nothing Displayed

STATUS_DISPLAY_MARKET

Shipping Market timer

STATUS_DISPLAY_MESSAGE

Custom text message

STATUS_DISPLAY_NUCLEAR

Nuclear Operatives Nuke timer

STATUS_DISPLAY_PACKET_MODE_DISPLAY_ALERT

Selectable images

STATUS_DISPLAY_PACKET_MODE_DISPLAY_BLANK

Blank/NT Logo

STATUS_DISPLAY_PACKET_MODE_DISPLAY_DEFAULT

Default status display message, dependent on type

STATUS_DISPLAY_PACKET_MODE_DISPLAY_MARKET

Shipping Market timer

STATUS_DISPLAY_PACKET_MODE_DISPLAY_NUCLEAR

Nuclear Operatives mode nuclear bomb timer

STATUS_DISPLAY_PACKET_MODE_DISPLAY_SELFDES

Zeta station self destruct

STATUS_DISPLAY_PACKET_MODE_DISPLAY_SHUTTLE

Shuttle ETA/ETD/ETC timer

STATUS_DISPLAY_PACKET_MODE_MESSAGE

Custom Text Message

STATUS_DISPLAY_PICTURE

Alert image

STATUS_DISPLAY_ROCKBOX

Mining score (unimplemented)

STATUS_DISPLAY_SELFDES

Zeta station self-destruct

STATUS_DISPLAY_SHUTTLE

Shuttle ETA/ETD/ETC timer

\ No newline at end of file diff --git a/_std/defines/status_effects.html b/_std/defines/status_effects.html new file mode 100644 index 0000000000000..24d987120b686 --- /dev/null +++ b/_std/defines/status_effects.html @@ -0,0 +1 @@ +_std/defines/status_effects.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/defines/status_effects.dm

INFINITE_STATUSFor status effects. This is just for clarity. Null-duration statuses are defined as infinite duration.
STATUS_QUALITY_POSITIVEEffect is good (stamina/health buffs, stat buffs)
STATUS_QUALITY_NEGATIVEEffect is bad (stamina/health debuffs, stat debuffs)
STATUS_QUALITY_NEUTRALMisc stuff which isn't inherently good or bad

Define Details

INFINITE_STATUS

For status effects. This is just for clarity. Null-duration statuses are defined as infinite duration.

STATUS_QUALITY_NEGATIVE

Effect is bad (stamina/health debuffs, stat debuffs)

STATUS_QUALITY_NEUTRAL

Misc stuff which isn't inherently good or bad

STATUS_QUALITY_POSITIVE

Effect is good (stamina/health buffs, stat buffs)

\ No newline at end of file diff --git a/_std/defines/storage.html b/_std/defines/storage.html new file mode 100644 index 0000000000000..1c36c0d458b30 --- /dev/null +++ b/_std/defines/storage.html @@ -0,0 +1 @@ +_std/defines/storage.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/defines/storage.dm

STORAGE_CAN_HOLDstorage can hold the item
STORAGE_CAN_HOLD_SOMEthere is room for some of the item, but not all
STORAGE_CANT_HOLDstorage can't hold the item, due to it being an unallowable type
STORAGE_WONT_FITstorage can't hold the item, due to it being too large
STORAGE_RESTRICTED_TYPEstorage is restricted from holding the item, due to it being an explicitly restricted type
STORAGE_IS_FULLstorage can't hold the item, due to it being too full
STORAGE_NO_HUD_QUEUEitems are stored in queue order
STORAGE_NO_HUD_STACKitems are stored in stack order
STORAGE_NO_HUD_RANDOMitems pulled out are random picked

Define Details

STORAGE_CANT_HOLD

storage can't hold the item, due to it being an unallowable type

STORAGE_CAN_HOLD

storage can hold the item

STORAGE_CAN_HOLD_SOME

there is room for some of the item, but not all

STORAGE_IS_FULL

storage can't hold the item, due to it being too full

STORAGE_NO_HUD_QUEUE

items are stored in queue order

STORAGE_NO_HUD_RANDOM

items pulled out are random picked

STORAGE_NO_HUD_STACK

items are stored in stack order

STORAGE_RESTRICTED_TYPE

storage is restricted from holding the item, due to it being an explicitly restricted type

STORAGE_WONT_FIT

storage can't hold the item, due to it being too large

\ No newline at end of file diff --git a/_std/defines/surgery.html b/_std/defines/surgery.html new file mode 100644 index 0000000000000..375f2d99250df --- /dev/null +++ b/_std/defines/surgery.html @@ -0,0 +1 @@ +_std/defines/surgery.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/defines/surgery.dm

SURGERY_CUTTINGsurgery requires a scalpel or other cutting tool
SURGERY_SNIPPINGsurgery requires a pair of scissors or other sniping tool
SURGERY_SAWINGsurgery requires a saw or other sawing tool

Define Details

SURGERY_CUTTING

surgery requires a scalpel or other cutting tool

SURGERY_SAWING

surgery requires a saw or other sawing tool

SURGERY_SNIPPING

surgery requires a pair of scissors or other sniping tool

\ No newline at end of file diff --git a/_std/defines/temperatures.html b/_std/defines/temperatures.html new file mode 100644 index 0000000000000..3714ed721516f --- /dev/null +++ b/_std/defines/temperatures.html @@ -0,0 +1 @@ +_std/defines/temperatures.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/defines/temperatures.dm

T0C0 degrees celsius. Freezing point of liquid water.
T20C20 degrees celsius. Room temperature.
TCMB-270.3 degrees celsius. Temperature of cosmic background radiation.
T100C100 degrees celsius. Boiling point of liquid water.
T0F0 degrees fahrenheit.
OCEAN_TEMP48 degrees celsius. Not super realistic, but there's underwater hot vents!
TRENCH_TEMP0.85 degrees celsius. Right above the freezing point of liquid water.
TO_CELSIUSConverts a temperature in kelvin to celsius.
TO_FAHRENHEITConverts a temperature in kelvin to fahrenheit.
FROM_CELSIUSConverts a temperature in celsius to kelvin.
FROM_FAHRENHEITConverts a temperature in fahrenheit to kelvin.

Define Details

FROM_CELSIUS

Converts a temperature in celsius to kelvin.

FROM_FAHRENHEIT

Converts a temperature in fahrenheit to kelvin.

OCEAN_TEMP

48 degrees celsius. Not super realistic, but there's underwater hot vents!

T0C

0 degrees celsius. Freezing point of liquid water.

T0F

0 degrees fahrenheit.

T100C

100 degrees celsius. Boiling point of liquid water.

T20C

20 degrees celsius. Room temperature.

TCMB

-270.3 degrees celsius. Temperature of cosmic background radiation.

TO_CELSIUS

Converts a temperature in kelvin to celsius.

TO_FAHRENHEIT

Converts a temperature in kelvin to fahrenheit.

TRENCH_TEMP

0.85 degrees celsius. Right above the freezing point of liquid water.

\ No newline at end of file diff --git a/_std/defines/time.html b/_std/defines/time.html new file mode 100644 index 0000000000000..76e126c7366d9 --- /dev/null +++ b/_std/defines/time.html @@ -0,0 +1 @@ +_std/defines/time.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/defines/time.dm

TRENCH_LIGHTtrench has no light cycle! all dark, all the time

Define Details

TRENCH_LIGHT

trench has no light cycle! all dark, all the time

\ No newline at end of file diff --git a/_std/defines/traits.html b/_std/defines/traits.html new file mode 100644 index 0000000000000..84dc39e4faba7 --- /dev/null +++ b/_std/defines/traits.html @@ -0,0 +1 @@ +_std/defines/traits.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/defines/traits.dm

TRAIT_FRAIL_ORGAN_DAMAGE_MULTThe organ damage multiplier applied to frail humans
TRAIT_DISABILITY_NONETrait that is not a disability
TRAIT_DISABILITY_MAJORTrait that is also a major disability
TRAIT_DISABILITY_MINORTrait that is also a minor disability
TRAIT_STARTING_POINTSHow many "free" points you get
TRAIT_MAXHow many traits people can select at most.

Define Details

TRAIT_DISABILITY_MAJOR

Trait that is also a major disability

TRAIT_DISABILITY_MINOR

Trait that is also a minor disability

TRAIT_DISABILITY_NONE

Trait that is not a disability

TRAIT_FRAIL_ORGAN_DAMAGE_MULT

The organ damage multiplier applied to frail humans

TRAIT_MAX

How many traits people can select at most.

TRAIT_STARTING_POINTS

How many "free" points you get

\ No newline at end of file diff --git a/_std/defines/turf.html b/_std/defines/turf.html new file mode 100644 index 0000000000000..d1c1110ad96a0 --- /dev/null +++ b/_std/defines/turf.html @@ -0,0 +1 @@ +_std/defines/turf.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/defines/turf.dm

MOB_SLIPsimulated floor slippage
MOB_STEPsimulated floor steppage
IS_TYPE_SIMULATEDlol idk this kind of sucks, but i guess i can avoid some type checks in atmos processing
CAN_BE_SPACE_SAMPLEcan atmos use this tile as a space sample?
MANTA_PUSHturf is pushy. for manta
FLUID_MOVEfluid move gear suffers no penalty on these turfs
SPACE_MOVEspace move gear suffers no penalty on these turfs
DISJOINT_TURF_CONNECTION_DISPOSALAllows connections for disposal pipes
DISJOINT_TURF_CONNECTION_ATMOS_MACHINERYAllows connections for atmos machinery (nodes)
DISJOINT_TURF_CONNECTION_POWERNETSAllows for connections for powernets

Define Details

CAN_BE_SPACE_SAMPLE

can atmos use this tile as a space sample?

DISJOINT_TURF_CONNECTION_ATMOS_MACHINERY

Allows connections for atmos machinery (nodes)

DISJOINT_TURF_CONNECTION_DISPOSAL

Allows connections for disposal pipes

DISJOINT_TURF_CONNECTION_POWERNETS

Allows for connections for powernets

FLUID_MOVE

fluid move gear suffers no penalty on these turfs

IS_TYPE_SIMULATED

lol idk this kind of sucks, but i guess i can avoid some type checks in atmos processing

MANTA_PUSH

turf is pushy. for manta

MOB_SLIP

simulated floor slippage

MOB_STEP

simulated floor steppage

SPACE_MOVE

space move gear suffers no penalty on these turfs

\ No newline at end of file diff --git a/_std/defines/vehicles.html b/_std/defines/vehicles.html new file mode 100644 index 0000000000000..6c5bc1c6b5c65 --- /dev/null +++ b/_std/defines/vehicles.html @@ -0,0 +1 @@ +_std/defines/vehicles.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/defines/vehicles.dm

CRUISER_FIREMODE_LEFTFire only left weapon
CRUISER_FIREMODE_RIGHTFire only right weapon
CRUISER_FIREMODE_BOTHFire both weapons
CRUISER_FIREMODE_ALTAlternate between the weapons.

Define Details

CRUISER_FIREMODE_ALT

Alternate between the weapons.

CRUISER_FIREMODE_BOTH

Fire both weapons

CRUISER_FIREMODE_LEFT

Fire only left weapon

CRUISER_FIREMODE_RIGHT

Fire only right weapon

\ No newline at end of file diff --git a/_std/defines/wages.html b/_std/defines/wages.html new file mode 100644 index 0000000000000..4420208b90a03 --- /dev/null +++ b/_std/defines/wages.html @@ -0,0 +1 @@ +_std/defines/wages.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/defines/wages.dm

PAY_DUMBCLOWNe.g. clown
PAY_UNTRAINEDe.g. staffie
PAY_DOCTORATEe.g. scientist
PAY_IMPORTANTe.g. head
PAY_EXECUTIVEe.g. captain
PAY_EMBEZZLEDe.g. you cheated somehow
PAY_DONTBUYITe.g we actually don't want you to buy this

Define Details

PAY_DOCTORATE

e.g. scientist

PAY_DONTBUYIT

e.g we actually don't want you to buy this

PAY_DUMBCLOWN

e.g. clown

PAY_EMBEZZLED

e.g. you cheated somehow

PAY_EXECUTIVE

e.g. captain

PAY_IMPORTANT

e.g. head

PAY_UNTRAINED

e.g. staffie

\ No newline at end of file diff --git a/_std/defines/worldgen.html b/_std/defines/worldgen.html new file mode 100644 index 0000000000000..60cbf97b6c6a1 --- /dev/null +++ b/_std/defines/worldgen.html @@ -0,0 +1 @@ +_std/defines/worldgen.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/defines/worldgen.dm

AST_MINSIZEMin range before rng kicks in
AST_REDUCTIONprob reduction per 1 tile over min size
AST_SIZERANGE+- mod on asteroid size, i.e. 4 = 4 tiles smaller to 4 tiles larger.
AST_TILERNG+- range of flat rng applied to tile placement
AST_SEEDSBase amount of asteroid seeds. Actual amount of asteroids works out to be significantly less.
AST_RNGWALKCNTAmount of asteroid tiles to dig out during random walk.
AST_RNGWALKINSTHow many random walks should we do per asteroid.
AST_NUMPREFABSHow many prefabs to place. It'll try it's hardest to place this many at the very least. You're basically guaranteed this amount of prefabs.
AST_NUMPREFABSEXTRAUp to how many extra prefabs to place randomly. You might or might not get these extra ones.
AST_MAPSEEDBORDERMin distance from map edge for seeds.
AST_MAPBORDERAbsolute map border around generated content
AST_ZLEVELZlevel for generation.
PREFAB_ANYWHEREPrefabs that spawn anywhere
PREFAB_SPACEPrefabs that spawn in space
PREFAB_PLANETPrefabs that spawn on planets
PREFAB_NADIR_SAFEPrefabs that spawn on nadir and other water maps
PREFAB_NADIR_UNSAFEPrefabs that spawn on water maps barring nadir
PREFAB_NADIRPrefabs that only spawn on Nadir
PREFAB_OSHANPrefabs that only spawn on Oshan
PREFAB_MANTAPrefabs that only spawn on Manta

Define Details

AST_MAPBORDER

Absolute map border around generated content

AST_MAPSEEDBORDER

Min distance from map edge for seeds.

AST_MINSIZE

Min range before rng kicks in

AST_NUMPREFABS

How many prefabs to place. It'll try it's hardest to place this many at the very least. You're basically guaranteed this amount of prefabs.

AST_NUMPREFABSEXTRA

Up to how many extra prefabs to place randomly. You might or might not get these extra ones.

AST_REDUCTION

prob reduction per 1 tile over min size

AST_RNGWALKCNT

Amount of asteroid tiles to dig out during random walk.

AST_RNGWALKINST

How many random walks should we do per asteroid.

AST_SEEDS

Base amount of asteroid seeds. Actual amount of asteroids works out to be significantly less.

AST_SIZERANGE

+- mod on asteroid size, i.e. 4 = 4 tiles smaller to 4 tiles larger.

AST_TILERNG

+- range of flat rng applied to tile placement

AST_ZLEVEL

Zlevel for generation.

PREFAB_ANYWHERE

Prefabs that spawn anywhere

PREFAB_MANTA

Prefabs that only spawn on Manta

PREFAB_NADIR

Prefabs that only spawn on Nadir

PREFAB_NADIR_SAFE

Prefabs that spawn on nadir and other water maps

PREFAB_NADIR_UNSAFE

Prefabs that spawn on water maps barring nadir

PREFAB_OSHAN

Prefabs that only spawn on Oshan

PREFAB_PLANET

Prefabs that spawn on planets

PREFAB_SPACE

Prefabs that spawn in space

\ No newline at end of file diff --git a/_std/filesystem.html b/_std/filesystem.html new file mode 100644 index 0000000000000..c0c13650d14dc --- /dev/null +++ b/_std/filesystem.html @@ -0,0 +1 @@ +_std/filesystem.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/filesystem.dm

IS_DIR_FNAMEChecks if a filename is a directory in BYOND context (i.e. ends with /)
/proc/filename_from_pathGets the filaname from a filesystem path. Optionally strips extension too
/proc/recursive_flistLists all files recursively in a given dir, refer to builtin flist() for details
/proc/stringify_file_nameReturns a file objects name as a string with or without the exstension stripped

Define Details

IS_DIR_FNAME

Checks if a filename is a directory in BYOND context (i.e. ends with /)

\ No newline at end of file diff --git a/_std/lists.html b/_std/lists.html new file mode 100644 index 0000000000000..3d654810aa524 --- /dev/null +++ b/_std/lists.html @@ -0,0 +1 @@ +_std/lists.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/lists.dm

/proc/move_elementMove a single element from position from_index within a list, to position to_index
/proc/move_rangeMove elements [from_index,from_index+len) to [to_index-len, to_index)
/proc/swap_rangeMove elements from [from_index, from_index+len) to [to_index, to_index+len)
/proc/reverse_list_rangeReverses a given list within the given range
/proc/flatten_listFlattens a keyed list into a list of it's contents
/proc/make_associativeMake a normal list an associative one
/proc/typecacheofLike typesof() or subtypesof(), but returns a typecache instead of a list.
is_type_in_typecacheChecks for specific types in specifically structured (Assoc "type" = TRUE|FALSE) lists ('typecaches')
/proc/typecache_filter_listRurns a new list with only atoms that are in the typecache list
/proc/typecache_filter_list_reverseReturn a new list with atoms that are not in the typecache list
/proc/typecache_filter_multi_list_exclusionSimilar to typecache_filter_list and typecache_filter_list_reverse but it supports an inclusion list and and exclusion list
/proc/weighted_pickPicks a random element from a list based on a weighting system.
/proc/english_listReturns a list in plain english as a string
reverse_listReverses a list in place

Define Details

is_type_in_typecache

Checks for specific types in specifically structured (Assoc "type" = TRUE|FALSE) lists ('typecaches')

reverse_list

Reverses a list in place

\ No newline at end of file diff --git a/_std/machinery.html b/_std/machinery.html new file mode 100644 index 0000000000000..c381a3d1a0dad --- /dev/null +++ b/_std/machinery.html @@ -0,0 +1 @@ +_std/machinery.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/machinery.dm

NETWORK_MACHINE_RESET_DELAYTime (in 1/10 of a second) before we can be manually reset again (machines).
EQUIPPower Channel: Equipment
LIGHTPower Channel: Lighting
ENVIRONPower Channel: Enviroment
TOTALFor total power used only
BROKENStatus flag: machine non-functional
NOPOWERStatus flag: no available power
POWEROFFStatus flag: machine shut down, but may still draw a trace amount
MAINTStatus flag: under maintainance
HIGHLOADStatus flag: using a lot of power
EMP_SHORTStatus flag: 1 second long emp duration, avoid stacking emp faster than 1Hz
REQ_PHYSICAL_ACCESSCan only be interacted with if adjacent and physical
CELLRATEmultiplier for watts per tick != cell storage (eg: .002 means if there is a load of 1000 watts, 20 units will be taken from a cell per second)
CHARGELEVELCap for how fast cells charge, as a percentage-per-tick (.001 means cellcharge is capped to 1% per second)
PROCESSING_TIER_MULTIScalar to behave as if it were running at full speed

Define Details

BROKEN

Status flag: machine non-functional

CELLRATE

multiplier for watts per tick != cell storage (eg: .002 means if there is a load of 1000 watts, 20 units will be taken from a cell per second)

CHARGELEVEL

Cap for how fast cells charge, as a percentage-per-tick (.001 means cellcharge is capped to 1% per second)

EMP_SHORT

Status flag: 1 second long emp duration, avoid stacking emp faster than 1Hz

ENVIRON

Power Channel: Enviroment

EQUIP

Power Channel: Equipment

HIGHLOAD

Status flag: using a lot of power

LIGHT

Power Channel: Lighting

MAINT

Status flag: under maintainance

NETWORK_MACHINE_RESET_DELAY

Time (in 1/10 of a second) before we can be manually reset again (machines).

NOPOWER

Status flag: no available power

POWEROFF

Status flag: machine shut down, but may still draw a trace amount

PROCESSING_TIER_MULTI

Scalar to behave as if it were running at full speed

REQ_PHYSICAL_ACCESS

Can only be interacted with if adjacent and physical

TOTAL

For total power used only

\ No newline at end of file diff --git a/_std/macros/_metamacros.html b/_std/macros/_metamacros.html new file mode 100644 index 0000000000000..58ab201c7bd43 --- /dev/null +++ b/_std/macros/_metamacros.html @@ -0,0 +1 @@ +_std/macros/_metamacros.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/macros/_metamacros.dm

INCLUDEUseful for when you need to include in a macro, can't use #include directly due to # being interpreted as stringification
IDENTITYGiven x, evaluates to x.
NOTHINGEvaluates to nothing.
DUMMYNo operation dummy thing for atom property purposes, most of the stuff is there to suppress warnings, does nothing
APPLY_PREFIXGiven a prefix and a list of arguments, adds the prefix to each argument

Define Details

APPLY_PREFIX

Given a prefix and a list of arguments, adds the prefix to each argument

DUMMY

No operation dummy thing for atom property purposes, most of the stuff is there to suppress warnings, does nothing

IDENTITY

Given x, evaluates to x.

INCLUDE

Useful for when you need to include in a macro, can't use #include directly due to # being interpreted as stringification

NOTHING

Evaluates to nothing.

\ No newline at end of file diff --git a/_std/macros/actions.html b/_std/macros/actions.html new file mode 100644 index 0000000000000..c7e183af95108 --- /dev/null +++ b/_std/macros/actions.html @@ -0,0 +1,18 @@ +_std/macros/actions.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/macros/actions.dm

SETUP_GENERIC_ACTIONBARCreates an actionbar that calls the specified proc_path on -either- owner or target if the duration passes without interruption.
SETUP_GENERIC_PRIVATE_ACTIONBARThe same thing but only the owner can see it

Define Details

SETUP_GENERIC_ACTIONBAR

Creates an actionbar that calls the specified proc_path on -either- owner or target if the duration passes without interruption.

+

icon / icon_state can also be set. duration should be in seconds. end_message is a string that displays once the action succeeds.

+

You can also directly instantiate a callback actionbar if you need to modify variables on it that the macro doesnt easily let you do. +For instance, callback actionbars have an args variable you can modify to call the callback proc with arguements. Just make sure to start it once its been made!

+

Example:

+
/obj/item/foo
+	name = "foo"
+	icon = 'icons/obj/foo.dmi'
+	icon_state = "foo"
+
+	attack_self(var/mob/M)
+		M.visible_message("[M] starts fiddling with \the [src].")
+		SETUP_GENERIC_ACTIONBAR(M, src, 5 SECONDS, /obj/item/foo/proc/cool_proc, list(M, src), src.icon, src.icon_state,\
+		"[M] finishes fiddling with \the [src]", null)
+
+	proc/cool_proc(var/mob/arg_1, var/obj/item/arg_2)
+		boutput(world, "[arg_1.name] farted, [arg_2.name]!")
+

SETUP_GENERIC_PRIVATE_ACTIONBAR

The same thing but only the owner can see it

\ No newline at end of file diff --git a/_std/macros/antag_popups.html b/_std/macros/antag_popups.html new file mode 100644 index 0000000000000..3a4677c5c30d3 --- /dev/null +++ b/_std/macros/antag_popups.html @@ -0,0 +1 @@ +_std/macros/antag_popups.dm - Goonstation 13
Goonstation 13 - Modules - Types

_std/macros/antag_popups.dm

/datum/antagPopupsSingleton that handles antag popups, use get_singleton
\ No newline at end of file diff --git a/_std/macros/appearance.html b/_std/macros/appearance.html new file mode 100644 index 0000000000000..8e820237dc82c --- /dev/null +++ b/_std/macros/appearance.html @@ -0,0 +1,7 @@ +_std/macros/appearance.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/macros/appearance.dm

CUST_1appearanceholder color vars. Tells mutant races to stick this color into the specified special hair / limb overlay color slot
NOT_DIMORPHICWe only have male torso/groin sprites, so only use those. +Without this flag, your mutant race sprite must include a chest_m and groin_m state, or your women will be a bunch of floating limbs
HAS_HUMAN_SKINTONESkin tone defined through the usual route
HAS_NO_SKINTONEPlease dont tint my mob it looks weird
HAS_PARTIAL_SKINTONESome parts are skintoned, some are not. Define these with the color flags!
HAS_HUMAN_HAIRused in appearance holder +Hair sprites are roughly what you set in the prefs
HAS_SPECIAL_HAIRHair sprites are there, but they're supposed to be different. Like a lizard head thing or cow horns
TORSO_HAS_SKINTONEApply the skintone to the torso, so chickens can have both gross human skin and gross chicken feathers
HAS_HUMAN_EYESWe have normal human eyes of human color where human eyes tend to be
HAS_NO_EYESWe have no eyes and yet must see (cus they're baked into the sprite or something)
HAS_NO_HEADDon't show their head, its already baked into their icon override
BUILT_FROM_PIECESUse humanlike body rendering process, otherwise use a static icon or something
HAS_EXTRA_DETAILSHas a non-head something in their detail slot they want to show off, like lizard splotches. non-tail oversuits count!
WEARS_UNDERPANTSDraw underwear on them. can be overridden with human var underpants_override. dont actually do this though
USES_STATIC_ICONMob's body is drawn using a single, flat image and not several flat images slapped together
HAS_OVERSUIT_DETAILSMob has some things that're supposed to show up over their outersuit, like a cute little cow muzzle
SKINTONE_USES_PREF_COLOR_1Used primarilly by mutantraces when overwriting the skintone +Skintone is determined by the character's first custom color
SKINTONE_USES_PREF_COLOR_2Skintone is determined by the character's second custom color
SKINTONE_USES_PREF_COLOR_3Skintone is determined by the character's third custom color
FIX_COLORSClamp customization RBG vals between 50 and 190, lizard-style
HEAD_HAS_OWN_COLORSOur head has its own colors that would look weird if tinted
HUMAN_APPEARANCE_FLAGSDefault normal standard human appearance flags

Define Details

BUILT_FROM_PIECES

Use humanlike body rendering process, otherwise use a static icon or something

CUST_1

appearanceholder color vars. Tells mutant races to stick this color into the specified special hair / limb overlay color slot

FIX_COLORS

Clamp customization RBG vals between 50 and 190, lizard-style

HAS_EXTRA_DETAILS

Has a non-head something in their detail slot they want to show off, like lizard splotches. non-tail oversuits count!

HAS_HUMAN_EYES

We have normal human eyes of human color where human eyes tend to be

HAS_HUMAN_HAIR

used in appearance holder +Hair sprites are roughly what you set in the prefs

HAS_HUMAN_SKINTONE

Skin tone defined through the usual route

HAS_NO_EYES

We have no eyes and yet must see (cus they're baked into the sprite or something)

HAS_NO_HEAD

Don't show their head, its already baked into their icon override

HAS_NO_SKINTONE

Please dont tint my mob it looks weird

HAS_OVERSUIT_DETAILS

Mob has some things that're supposed to show up over their outersuit, like a cute little cow muzzle

HAS_PARTIAL_SKINTONE

Some parts are skintoned, some are not. Define these with the color flags!

HAS_SPECIAL_HAIR

Hair sprites are there, but they're supposed to be different. Like a lizard head thing or cow horns

HEAD_HAS_OWN_COLORS

Our head has its own colors that would look weird if tinted

HUMAN_APPEARANCE_FLAGS

Default normal standard human appearance flags

NOT_DIMORPHIC

We only have male torso/groin sprites, so only use those. +Without this flag, your mutant race sprite must include a chest_m and groin_m state, or your women will be a bunch of floating limbs

SKINTONE_USES_PREF_COLOR_1

Used primarilly by mutantraces when overwriting the skintone +Skintone is determined by the character's first custom color

SKINTONE_USES_PREF_COLOR_2

Skintone is determined by the character's second custom color

SKINTONE_USES_PREF_COLOR_3

Skintone is determined by the character's third custom color

TORSO_HAS_SKINTONE

Apply the skintone to the torso, so chickens can have both gross human skin and gross chicken feathers

USES_STATIC_ICON

Mob's body is drawn using a single, flat image and not several flat images slapped together

WEARS_UNDERPANTS

Draw underwear on them. can be overridden with human var underpants_override. dont actually do this though

\ No newline at end of file diff --git a/_std/macros/area.html b/_std/macros/area.html new file mode 100644 index 0000000000000..b85e81e30539b --- /dev/null +++ b/_std/macros/area.html @@ -0,0 +1 @@ +_std/macros/area.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/macros/area.dm

get_areaReturns the area of a passed atom
IS_ARRIVALSReturns true if this area is considered part of arrivals. Otherwise false.

Define Details

IS_ARRIVALS

Returns true if this area is considered part of arrivals. Otherwise false.

get_area

Returns the area of a passed atom

\ No newline at end of file diff --git a/_std/macros/atmos.html b/_std/macros/atmos.html new file mode 100644 index 0000000000000..a01df5321c37d --- /dev/null +++ b/_std/macros/atmos.html @@ -0,0 +1 @@ +_std/macros/atmos.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/macros/atmos.dm

R_IDEAL_GAS_EQUATIONin kPa * L/(K * mol)
ONE_ATMOSPHERE1atm, now in kPa
MOLES_O2STANDARDO2 standard value (21%)
MOLES_N2STANDARDN2 standard value (79%)
MOLES_GAS_VISIBLEMoles in a standard cell after which visible gases are visible
GAS_IMG_PLASMAPlasma Tile Overlay Id
GAS_IMG_N2ON20 Tile Overlay Id
GAS_IMG_RADRad Particles Tile Overlay Id
ALPHA_GAS_OVERLAYSEnables gas overlays to have continuous opacity based on molarity
ALPHA_GAS_COMPRESSIONFactor that reduces the number of gas opacity levels, higher = better performance and worse visuals
UPDATE_GAS_MIXTURE_GRAPHICGiven gas mixture's graphics var and gas overlay id and gas moles sets the graphics so the gas is rendered if there are right conditions
UPDATE_TILE_GAS_OVERLAYGiven the VISUALS_STATE bit field and gas overlay id as defined above it possibly adds the right overlay to TILE_GRAPHIC
BREATH_VOLUMEliters in a normal breath
BREATH_PERCENTAGEAmount of air to take a from a tile
HUMAN_NEEDED_OXYGENAmount of air needed before pass out/suffocation commences
MINIMUM_AIR_RATIO_TO_SUSPENDMinimum ratio of air that must move to/from a tile to suspend group processing
MINIMUM_AIR_TO_SUSPENDMinimum amount of air that has to move before a group processing can be suspended
SELF_CHECK_FAILOur group processing check failed. We will suspend group processing.
SHARER_CHECK_FAILSharer group processing check failed. The sharer will suspend group processing.
GROUP_CHECK_PASSAll group processing checks passed. Group processing can be preserved.
MINIMUM_TEMPERATURE_DELTA_TO_SUSPENDMinimum temperature difference before group processing is suspended
MINIMUM_TEMPERATURE_DELTA_TO_CONSIDERMinimum temperature difference before the gas temperatures are just set to be equa
FIRE_CARBON_ENERGY_RELEASEDAmount of heat released per mole of burnt carbon into the tile
FIRE_PLASMA_ENERGY_RELEASEDAmount of heat released per mole of burnt plasma into the tile
HOTSPOT_MAX_NOCAT_TEMPERATUREHotspot Maximum Temperature without a catalyst
HOTSPOT_MAX_CAT_TEMPERATUREHotspot Maximum Temperature to maintain maths works to 1e35-sh in practice)
REACTION_ACTIVEReaction is Active
COMBUSTION_ACTIVECombustion is Active
CATALYST_ACTIVEHotspot Catalyst is Active
TANK_LEAK_PRESSURETank starts leaking
TANK_RUPTURE_PRESSURETank spills all contents into atmosphere
/proc/gas_text_colorReturns the color of a given gas ID.
ZERO_GASESGiven a gas mixture, zeroes it.
ZERO_ARCHIVED_GASESGiven a gas mixture, zeroes it's archived gases.
TOTAL_MOLESReturns total moles of a given gas mixture
MIXTURE_PRESSUREReturns the mixture pressure.
ADD_MIXTURE_PRESSUREAdd the pressure of the mixture to VAR.
HEAT_CAPACITYReturns the total heat capacity of the given mixture
HEAT_CAPACITY_ARCHIVEDReturns the total heat capacity of the given mixture's archived gases.
THERMAL_ENERGYReturns the total heat energy of the given mixture

Define Details

ADD_MIXTURE_PRESSURE

Add the pressure of the mixture to VAR.

ALPHA_GAS_COMPRESSION

Factor that reduces the number of gas opacity levels, higher = better performance and worse visuals

ALPHA_GAS_OVERLAYS

Enables gas overlays to have continuous opacity based on molarity

BREATH_PERCENTAGE

Amount of air to take a from a tile

BREATH_VOLUME

liters in a normal breath

CATALYST_ACTIVE

Hotspot Catalyst is Active

COMBUSTION_ACTIVE

Combustion is Active

FIRE_CARBON_ENERGY_RELEASED

Amount of heat released per mole of burnt carbon into the tile

FIRE_PLASMA_ENERGY_RELEASED

Amount of heat released per mole of burnt plasma into the tile

GAS_IMG_N2O

N20 Tile Overlay Id

GAS_IMG_PLASMA

Plasma Tile Overlay Id

GAS_IMG_RAD

Rad Particles Tile Overlay Id

GROUP_CHECK_PASS

All group processing checks passed. Group processing can be preserved.

HEAT_CAPACITY

Returns the total heat capacity of the given mixture

HEAT_CAPACITY_ARCHIVED

Returns the total heat capacity of the given mixture's archived gases.

HOTSPOT_MAX_CAT_TEMPERATURE

Hotspot Maximum Temperature to maintain maths works to 1e35-sh in practice)

HOTSPOT_MAX_NOCAT_TEMPERATURE

Hotspot Maximum Temperature without a catalyst

HUMAN_NEEDED_OXYGEN

Amount of air needed before pass out/suffocation commences

MINIMUM_AIR_RATIO_TO_SUSPEND

Minimum ratio of air that must move to/from a tile to suspend group processing

MINIMUM_AIR_TO_SUSPEND

Minimum amount of air that has to move before a group processing can be suspended

MINIMUM_TEMPERATURE_DELTA_TO_CONSIDER

Minimum temperature difference before the gas temperatures are just set to be equa

MINIMUM_TEMPERATURE_DELTA_TO_SUSPEND

Minimum temperature difference before group processing is suspended

MIXTURE_PRESSURE

Returns the mixture pressure.

MOLES_GAS_VISIBLE

Moles in a standard cell after which visible gases are visible

MOLES_N2STANDARD

N2 standard value (79%)

MOLES_O2STANDARD

O2 standard value (21%)

ONE_ATMOSPHERE

1atm, now in kPa

REACTION_ACTIVE

Reaction is Active

R_IDEAL_GAS_EQUATION

in kPa * L/(K * mol)

SELF_CHECK_FAIL

Our group processing check failed. We will suspend group processing.

SHARER_CHECK_FAIL

Sharer group processing check failed. The sharer will suspend group processing.

TANK_LEAK_PRESSURE

Tank starts leaking

TANK_RUPTURE_PRESSURE

Tank spills all contents into atmosphere

THERMAL_ENERGY

Returns the total heat energy of the given mixture

TOTAL_MOLES

Returns total moles of a given gas mixture

UPDATE_GAS_MIXTURE_GRAPHIC

Given gas mixture's graphics var and gas overlay id and gas moles sets the graphics so the gas is rendered if there are right conditions

UPDATE_TILE_GAS_OVERLAY

Given the VISUALS_STATE bit field and gas overlay id as defined above it possibly adds the right overlay to TILE_GRAPHIC

ZERO_ARCHIVED_GASES

Given a gas mixture, zeroes it's archived gases.

ZERO_GASES

Given a gas mixture, zeroes it.

\ No newline at end of file diff --git a/_std/macros/atom_properties.html b/_std/macros/atom_properties.html new file mode 100644 index 0000000000000..ef4a412f39814 --- /dev/null +++ b/_std/macros/atom_properties.html @@ -0,0 +1,3 @@ +_std/macros/atom_properties.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/macros/atom_properties.dm

PROP_UPDATE_DEBUGDefines of property update actions +Sends a debug action about the property changing whenever it changes
PROP_MOB_CAN_CONSTRUCT_WITHOUT_HOLDINGMob can bulid furniture without holding them (for borgs)
PROP_MOB_BLOODGIB_IMMUNEMob won't gib from having 1000+ effective blood
PROP_MOB_HIDE_ICONSHides med/sec HUDs and name tags from the mob
PROP_MOVABLE_VISIBLE_CONTRABANDThe visible contraband level of this movable
PROP_MOVABLE_VISIBLE_GUNSThe visible firearm contraband level of this movable
PROP_MOVABLE_CONTRABAND_OVERRIDEThing is considered to have this contraband value, takes max if has multiple of these props
PROP_ATOM_DO_LIQUID_CLICKSThing will redirect clicks to a fluid on its tile when clicked by a relevant item (beaker mop etc)
PROP_ATOM_ROUNDSTART_BORGfor tracking if a borg/cyborg frame was a roundstart one, for stats purposes

Define Details

PROP_ATOM_DO_LIQUID_CLICKS

Thing will redirect clicks to a fluid on its tile when clicked by a relevant item (beaker mop etc)

PROP_ATOM_ROUNDSTART_BORG

for tracking if a borg/cyborg frame was a roundstart one, for stats purposes

PROP_MOB_BLOODGIB_IMMUNE

Mob won't gib from having 1000+ effective blood

PROP_MOB_CAN_CONSTRUCT_WITHOUT_HOLDING

Mob can bulid furniture without holding them (for borgs)

PROP_MOB_HIDE_ICONS

Hides med/sec HUDs and name tags from the mob

PROP_MOVABLE_CONTRABAND_OVERRIDE

Thing is considered to have this contraband value, takes max if has multiple of these props

PROP_MOVABLE_VISIBLE_CONTRABAND

The visible contraband level of this movable

PROP_MOVABLE_VISIBLE_GUNS

The visible firearm contraband level of this movable

PROP_UPDATE_DEBUG

Defines of property update actions +Sends a debug action about the property changing whenever it changes

\ No newline at end of file diff --git a/_std/macros/chat_output.html b/_std/macros/chat_output.html new file mode 100644 index 0000000000000..cb52409fa9584 --- /dev/null +++ b/_std/macros/chat_output.html @@ -0,0 +1,20 @@ +_std/macros/chat_output.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/macros/chat_output.dm

SPAN_REGULARlight: color "#000000" | dark: color "#dfdfcf"
SPAN_NOTICElight: color "#0000ff" | dark: color "#7996ff"
SPAN_COMBATlight: color "#ff0000" | dark: color "#e20000"
SPAN_MEDALlight: color "#808000" | dark: color "#caca20"
SPAN_SUCCESSlight: color "#008000" | dark: color "#92e592"
SPAN_SUBTLElight: color "#888888" | dark: color "#7a7471"
SPAN_HINTlight: color "#0000ff" | dark: color "#7996ff"
SPAN_ARTHINTlight: color "#a97da9" | dark: color "#5A1D8A"
SPAN_BLOBALERTboth: bold / larger font | light: color "#4c00ff" | dark: "#9c74fc"
SPAN_ALERTlight: color "#ff0000" | dark: color "#ff6d6d"
SPAN_INTERNALlight: color "#002fff" | dark: color "#92b4ff"
SPAN_SAYwrapper class for filtering
SPAN_FLOCKSAYcolor "#488276"
SPAN_DEADSAYlight: color "#5c00e6" | dark: color "#b27eff"
SPAN_HIVESAYlight: color "#663500" | dark: color "#e2a059"
SPAN_THRALLSAYboth: color "#ffffff" | light: / background-color "#580283" | dark: background-color "#6f00a7"
SPAN_KUDZUSAYboth: color "#ffffff" | light: background-color "#566B44" | dark: background-color "#7B8F68"
SPAN_ROBOTICSAY
SPAN_GHOSTDRONESAYlight: color "#d81aef" | dark: color "#ca4ed8"
SPAN_BLOBSAYlight: color "#ffffff" / background-color "#226622" | dark: color "#111" background-color "#4ec44e"
SPAN_MARTIANSAYcolor "#E89235"
SPAN_EMOTElight: color "#605b59" | dark: color "#888888"
SPAN_HELPboth: bold | light: color "#349E00" | dark: color "#42CC00"
SPAN_DISARMboth: bold | light: color "#EAC300" | dark: color "#FFFF00"
SPAN_GRABbold / color "#FF6A00"
SPAN_HARMboth: bold | light: color "#B51214" | dark: color "#D01416"
SPAN_ADMINOOClight: color "#b82e00" | dark: color "#be6e53"
SPAN_MHELPlight: color "#9a0eea" | dark: color "#e75ae0"
SPAN_AHELPlight: color "#0000ff" | dark: color "#ffa135"
SPAN_ADMINlight: color "#386aff" | dark: color "#ecc300"
SPAN_NAMEWrapper class bold
SPAN_MESSAGEWrapper class
SPAN_PREFIXcentered text / float left

Define Details

SPAN_ADMIN

light: color "#386aff" | dark: color "#ecc300"

SPAN_ADMINOOC

light: color "#b82e00" | dark: color "#be6e53"

SPAN_AHELP

light: color "#0000ff" | dark: color "#ffa135"

SPAN_ALERT

light: color "#ff0000" | dark: color "#ff6d6d"

SPAN_ARTHINT

light: color "#a97da9" | dark: color "#5A1D8A"

SPAN_BLOBALERT

both: bold / larger font | light: color "#4c00ff" | dark: "#9c74fc"

SPAN_BLOBSAY

light: color "#ffffff" / background-color "#226622" | dark: color "#111" background-color "#4ec44e"

SPAN_COMBAT

light: color "#ff0000" | dark: color "#e20000"

SPAN_DEADSAY

light: color "#5c00e6" | dark: color "#b27eff"

SPAN_DISARM

both: bold | light: color "#EAC300" | dark: color "#FFFF00"

SPAN_EMOTE

light: color "#605b59" | dark: color "#888888"

SPAN_FLOCKSAY

color "#488276"

SPAN_GHOSTDRONESAY

light: color "#d81aef" | dark: color "#ca4ed8"

SPAN_GRAB

bold / color "#FF6A00"

SPAN_HARM

both: bold | light: color "#B51214" | dark: color "#D01416"

SPAN_HELP

both: bold | light: color "#349E00" | dark: color "#42CC00"

SPAN_HINT

light: color "#0000ff" | dark: color "#7996ff"

SPAN_HIVESAY

light: color "#663500" | dark: color "#e2a059"

SPAN_INTERNAL

light: color "#002fff" | dark: color "#92b4ff"

SPAN_KUDZUSAY

both: color "#ffffff" | light: background-color "#566B44" | dark: background-color "#7B8F68"

SPAN_MARTIANSAY

color "#E89235"

SPAN_MEDAL

light: color "#808000" | dark: color "#caca20"

SPAN_MESSAGE

Wrapper class

SPAN_MHELP

light: color "#9a0eea" | dark: color "#e75ae0"

SPAN_NAME

Wrapper class bold

SPAN_NOTICE

light: color "#0000ff" | dark: color "#7996ff"

SPAN_PREFIX

centered text / float left

SPAN_REGULAR

light: color "#000000" | dark: color "#dfdfcf"

SPAN_ROBOTICSAY

SPAN_SAY

wrapper class for filtering

SPAN_SUBTLE

light: color "#888888" | dark: color "#7a7471"

SPAN_SUCCESS

light: color "#008000" | dark: color "#92e592"

SPAN_THRALLSAY

both: color "#ffffff" | light: / background-color "#580283" | dark: background-color "#6f00a7"

\ No newline at end of file diff --git a/_std/macros/client.html b/_std/macros/client.html new file mode 100644 index 0000000000000..5121e2ce7865c --- /dev/null +++ b/_std/macros/client.html @@ -0,0 +1 @@ +_std/macros/client.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/macros/client.dm

isclientReturns true if given is a client
ismindReturns true if the given is a mind datum

Define Details

isclient

Returns true if given is a client

ismind

Returns true if the given is a mind datum

\ No newline at end of file diff --git a/_std/macros/cooldown.html b/_std/macros/cooldown.html new file mode 100644 index 0000000000000..272285d475345 --- /dev/null +++ b/_std/macros/cooldown.html @@ -0,0 +1,12 @@ +_std/macros/cooldown.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/macros/cooldown.dm

ON_COOLDOWN
GET_COOLDOWNlike ON_COOLDOWN but only gets the cooldown, doesn't refresh it
OVERRIDE_COOLDOWNoverrides cooldown to this value
EXTEND_COOLDOWNoverrides cooldown to the maximum of the current cooldown and this value

Define Details

EXTEND_COOLDOWN

overrides cooldown to the maximum of the current cooldown and this value

GET_COOLDOWN

like ON_COOLDOWN but only gets the cooldown, doesn't refresh it

ON_COOLDOWN

Simple Cooldown System

+

Easy way to set cooldowns on an object.

+

Arguments:

+ +

Usage:

+
   if(!ON_COOLDOWN(global, "butt_talker", src.butt_cooldown))
+   	speak(pick("butts", "butt"))
+

OVERRIDE_COOLDOWN

overrides cooldown to this value

\ No newline at end of file diff --git a/_std/macros/debug.html b/_std/macros/debug.html new file mode 100644 index 0000000000000..37252e03f79d7 --- /dev/null +++ b/_std/macros/debug.html @@ -0,0 +1,7 @@ +_std/macros/debug.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/macros/debug.dm

/obj/merge_conflict_markerDO NOT USE THIS IN NORMAL MAPPING!!! Linters WILL fail.
TEST_FOCUSFor unit test support +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)

Define Details

TEST_FOCUS

For unit test support +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)

\ No newline at end of file diff --git a/_std/macros/dir.html b/_std/macros/dir.html new file mode 100644 index 0000000000000..0c0850ef32faf --- /dev/null +++ b/_std/macros/dir.html @@ -0,0 +1,5 @@ +_std/macros/dir.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/macros/dir.dm

/var/cardinalNever Soggy Eat Waffles
/var/ordinalDiagonal directions
/var/alldirsEvery direction known to 2D tile-grid-locked spessmen
/var/dirnamesAssoc. list of dirs like "north"=NORTH
/var/dirvaluesAssoc. list of dirs like "[NORTH]" = "NORTH", useful for screen_loc
/proc/dir_to_dirnameReturns the lowercase english word for a direction (num)
/proc/dirname_to_dirReturns the direction (num) of a given lowercase english direction
is_cardinalReturns true if a direction is cardinal
angle2dirGiven an angle, matches it to the closest direction and returns it.
/proc/vector_magnitudeReturns the vector magnitude of an x value and a y value
/proc/vector_to_dirTransforms a supplied vector x & y to a direction
/proc/angle_to_dirTransforms a given angle to a cardinal/ordinal direction
/proc/dir_to_angleTransforms a cardinal/ordinal direction to an angle
/proc/angle_inbetweenChecks if an angle is between two other angles
/proc/angle_to_vectorTransforms a given angle to vec2 in a list
turn_neededCalculates the angle you need to pass to the turn proc to get dir_to from dir_from +turn(dir, turn_needed(dir, dir_to)) = dir_to
get_step_truly_randBYOND's default get_step_rand() is not actually uniformly random (heavily biased towards dir). +This is a replacement that is actually uniformly random.
get_step_rand_cardinalReturns a tile in a random cardinal direction

Define Details

angle2dir

Given an angle, matches it to the closest direction and returns it.

get_step_rand_cardinal

Returns a tile in a random cardinal direction

get_step_truly_rand

BYOND's default get_step_rand() is not actually uniformly random (heavily biased towards dir). +This is a replacement that is actually uniformly random.

is_cardinal

Returns true if a direction is cardinal

turn_needed

Calculates the angle you need to pass to the turn proc to get dir_to from dir_from +turn(dir, turn_needed(dir, dir_to)) = dir_to

\ No newline at end of file diff --git a/_std/macros/dist.html b/_std/macros/dist.html new file mode 100644 index 0000000000000..a7a3169118ab1 --- /dev/null +++ b/_std/macros/dist.html @@ -0,0 +1,3 @@ +_std/macros/dist.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/macros/dist.dm

GET_DISTReturns distance of two objects in tiles like get_dist but being inside another object doesn't break it and being on a different z-level returns INFINITY
BOUNDS_DISTReturns 0 if A and B are on adjacent turfs, through any amount of nested objs/mobs. Otherwise returns bounds_dist.
IN_RANGEReturns if A is in range of B given range
GET_MANHATTAN_DISTReturns the manhattan distance between two turfs or movable objects
GET_SQUARED_EUCLIDEAN_DISTReturns the squared euclidean distance between two turfs or movable objects +This is helpful in cases where the exact distance is not needed, so you can avoid the sqrt
GET_EUCLIDEAN_DISTReturns the euclidean distance between two turfs or movable objects
IN_EUCLIDEAN_RANGEReturns if A is in range of B given range using the euclidean metric

Define Details

BOUNDS_DIST

Returns 0 if A and B are on adjacent turfs, through any amount of nested objs/mobs. Otherwise returns bounds_dist.

GET_DIST

Returns distance of two objects in tiles like get_dist but being inside another object doesn't break it and being on a different z-level returns INFINITY

GET_EUCLIDEAN_DIST

Returns the euclidean distance between two turfs or movable objects

GET_MANHATTAN_DIST

Returns the manhattan distance between two turfs or movable objects

GET_SQUARED_EUCLIDEAN_DIST

Returns the squared euclidean distance between two turfs or movable objects +This is helpful in cases where the exact distance is not needed, so you can avoid the sqrt

IN_EUCLIDEAN_RANGE

Returns if A is in range of B given range using the euclidean metric

IN_RANGE

Returns if A is in range of B given range

\ No newline at end of file diff --git a/_std/macros/factions.html b/_std/macros/factions.html new file mode 100644 index 0000000000000..37a4a561e47fc --- /dev/null +++ b/_std/macros/factions.html @@ -0,0 +1 @@ +_std/macros/factions.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/macros/factions.dm

FACTION_NEUTRALFaction which is not targeted by default
FACTION_GENERICGeneric faction for groups you don't want killing eachother
FACTION_WRAITHWraith critters and summons
FACTION_BOTANYManeaters, Tomatoes, Wasps, Plasmaspores and Botanists
FACTION_AQUATICTrench and Ocean mobs
FACTION_SYNDICATERobots and Drones
FACTION_NANOTRASENNT persons of interest and assets
FACTION_WIZARDWizard & summons
FACTION_SPONGESponge capsule spawns
FACTION_ICEMOONIce moon critters
FACTION_CLOWNClowns and other clown like entities
FACTION_DERELICTVoid stuff / disaster portal / old robots
FACTION_FERMIDSpace Ants
/proc/faction_checkReturns TRUE if ourguy is enemies with otherguy FALSE otherwise

Define Details

FACTION_AQUATIC

Trench and Ocean mobs

FACTION_BOTANY

Maneaters, Tomatoes, Wasps, Plasmaspores and Botanists

FACTION_CLOWN

Clowns and other clown like entities

FACTION_DERELICT

Void stuff / disaster portal / old robots

FACTION_FERMID

Space Ants

FACTION_GENERIC

Generic faction for groups you don't want killing eachother

FACTION_ICEMOON

Ice moon critters

FACTION_NANOTRASEN

NT persons of interest and assets

FACTION_NEUTRAL

Faction which is not targeted by default

FACTION_SPONGE

Sponge capsule spawns

FACTION_SYNDICATE

Robots and Drones

FACTION_WIZARD

Wizard & summons

FACTION_WRAITH

Wraith critters and summons

\ No newline at end of file diff --git a/_std/macros/flags.html b/_std/macros/flags.html new file mode 100644 index 0000000000000..7bc8689b12319 --- /dev/null +++ b/_std/macros/flags.html @@ -0,0 +1 @@ +_std/macros/flags.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/macros/flags.dm

HAS_FLAGchecks if a flags variable (x) has a specific bitflag
HAS_ANY_FLAGSchecks if a flags variable (x) has a specific bitflag
HAS_ALL_FLAGSchecks if a flags variable (x) has all of flags in the flags variable
ADD_FLAGadds a flag to a flags variable (x). if the flag is already added, nothing happens
REMOVE_FLAGremoves a flag from a flags variable (x). if the flag is not in the flags variable, nothing happens
TOGGLE_FLAGtoggles a flag in a flags variable (x)

Define Details

ADD_FLAG

adds a flag to a flags variable (x). if the flag is already added, nothing happens

HAS_ALL_FLAGS

checks if a flags variable (x) has all of flags in the flags variable

HAS_ANY_FLAGS

checks if a flags variable (x) has a specific bitflag

HAS_FLAG

checks if a flags variable (x) has a specific bitflag

REMOVE_FLAG

removes a flag from a flags variable (x). if the flag is not in the flags variable, nothing happens

TOGGLE_FLAG

toggles a flag in a flags variable (x)

\ No newline at end of file diff --git a/_std/macros/flock.html b/_std/macros/flock.html new file mode 100644 index 0000000000000..301488e21e9cf --- /dev/null +++ b/_std/macros/flock.html @@ -0,0 +1 @@ +_std/macros/flock.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/macros/flock.dm

isflockvalidenemyChecks if something could potentially be considered an enemy of the flock

Define Details

isflockvalidenemy

Checks if something could potentially be considered an enemy of the flock

\ No newline at end of file diff --git a/_std/macros/fluid_defines.html b/_std/macros/fluid_defines.html new file mode 100644 index 0000000000000..93b10b86fdaa8 --- /dev/null +++ b/_std/macros/fluid_defines.html @@ -0,0 +1 @@ +_std/macros/fluid_defines.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/macros/fluid_defines.dm

IS_VALID_SUBMERGE_OBJCheck if object or mobs gets a submerge overlay

Define Details

IS_VALID_SUBMERGE_OBJ

Check if object or mobs gets a submerge overlay

\ No newline at end of file diff --git a/_std/macros/hud.html b/_std/macros/hud.html new file mode 100644 index 0000000000000..db29226043d3e --- /dev/null +++ b/_std/macros/hud.html @@ -0,0 +1 @@ +_std/macros/hud.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/macros/hud.dm

HUD_ZONE_LENGTHreturns the length of a hud zone, adds 1 because these are coordinates of a cell in a grid, and not a corner of a cell in a grid
HUD_ZONE_HEIGHTreturns the height of a hud zone, adds 1 because these are coordinates of a cell in a grid, and not a corner of a cell in a grid
HUD_ZONE_AREAreturns the area of a hud zone (total amount of 32px x 32px tiles in the hud zone)
HUD_ZONE_EMPTYThe hudzone still has horizontal space available
HUD_ZONE_WRAPAROUNDThe hudzone wrapped around to a new vertical layer
HUD_ZONE_FULLThe hudzone is completely full of elements

Define Details

HUD_ZONE_AREA

returns the area of a hud zone (total amount of 32px x 32px tiles in the hud zone)

HUD_ZONE_EMPTY

The hudzone still has horizontal space available

HUD_ZONE_FULL

The hudzone is completely full of elements

HUD_ZONE_HEIGHT

returns the height of a hud zone, adds 1 because these are coordinates of a cell in a grid, and not a corner of a cell in a grid

HUD_ZONE_LENGTH

returns the length of a hud zone, adds 1 because these are coordinates of a cell in a grid, and not a corner of a cell in a grid

HUD_ZONE_WRAPAROUND

The hudzone wrapped around to a new vertical layer

\ No newline at end of file diff --git a/_std/macros/ismob.html b/_std/macros/ismob.html new file mode 100644 index 0000000000000..e153fd5789c58 --- /dev/null +++ b/_std/macros/ismob.html @@ -0,0 +1,3 @@ +_std/macros/ismob.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/macros/ismob.dm

isobserverReturns true if the given x is an observer
isadminghostReturns true if the given x is an observer and an admin
islivingReturns true if the given x is a mob/living type
islivingobjectIs a possessed object
isnewplayerReturns true if x is a new player mob (what u r if ur in the lobby screen, usually)
issmokeimmuneReturns true if this mob immune to breathing in smoke?
ismiasmaimmuneReturns true if this mob immune to breathing in miasma
IS_LIVING_OBJECT_USING_SELFThis is for objects which have some sort of prerequisite for people to use them. Allows you to bypass those checks if +the user is the possessed version of the object being interacted with

Define Details

IS_LIVING_OBJECT_USING_SELF

This is for objects which have some sort of prerequisite for people to use them. Allows you to bypass those checks if +the user is the possessed version of the object being interacted with

isadminghost

Returns true if the given x is an observer and an admin

isliving

Returns true if the given x is a mob/living type

islivingobject

Is a possessed object

ismiasmaimmune

Returns true if this mob immune to breathing in miasma

isnewplayer

Returns true if x is a new player mob (what u r if ur in the lobby screen, usually)

isobserver

Returns true if the given x is an observer

issmokeimmune

Returns true if this mob immune to breathing in smoke?

\ No newline at end of file diff --git a/_std/macros/items.html b/_std/macros/items.html new file mode 100644 index 0000000000000..3299f59c0294c --- /dev/null +++ b/_std/macros/items.html @@ -0,0 +1 @@ +_std/macros/items.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/macros/items.dm

isitemReturns true if the given x is an item.
isgrabReturns true if the given x is a grab (obj/item/grab)
equipped_or_holdingReturns true if x is equipped or inside & usable in what's equipped (currently only applicable to magtractors)
IS_WORN_BY_SOMEONE_OTHER_THANReturns TRUE if item is worn by a human other than user, FALSE otherwise

Define Details

IS_WORN_BY_SOMEONE_OTHER_THAN

Returns TRUE if item is worn by a human other than user, FALSE otherwise

equipped_or_holding

Returns true if x is equipped or inside & usable in what's equipped (currently only applicable to magtractors)

isgrab

Returns true if the given x is a grab (obj/item/grab)

isitem

Returns true if the given x is an item.

\ No newline at end of file diff --git a/_std/macros/job_xp.html b/_std/macros/job_xp.html new file mode 100644 index 0000000000000..613e7d24211ef --- /dev/null +++ b/_std/macros/job_xp.html @@ -0,0 +1,6 @@ +_std/macros/job_xp.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/macros/job_xp.dm

XP_ROUND_CAPHard CAP on XP earned per round, used to prevent exploiting.
XP_GLOBAL_MODGlobal multiplier for xp earned. normalXP * XP_GLOBAL_MOD. For events or adjustments.
XP_CONSTANTConstant for scaling the XP curve.
XP_FOR_LEVELReturns XP required for the given level.
LEVEL_FOR_XPReturns the level for the given amount of XP.
XP_THROTTLE_TICKSDefines the range of time that is throttled, see below. Currently very roughly one minute "game time".
XP_THROTTLE_AMTThis much XP is allowed per XP_THROTTLE_TICKS. Should prevent people from exploiting certain things. +This cap is ignored if a person if awarded XP in excess of this cap in one burst.
USR_JOB_XPGives USR in the current context XP amount if they have the appropriate job.
JOB_XPGives TRG, XP amount if they have the appropriate job.

Define Details

JOB_XP

Gives TRG, XP amount if they have the appropriate job.

+

JOB_XP(someMobHere, "Clown", 5) would give someMobHere 5xp if they are a clown.

LEVEL_FOR_XP

Returns the level for the given amount of XP.

USR_JOB_XP

Gives USR in the current context XP amount if they have the appropriate job.

+

USR_JOB_XP("Clown", 5) would give usr 5xp if they are a clown.

XP_CONSTANT

Constant for scaling the XP curve.

XP_FOR_LEVEL

Returns XP required for the given level.

XP_GLOBAL_MOD

Global multiplier for xp earned. normalXP * XP_GLOBAL_MOD. For events or adjustments.

XP_ROUND_CAP

Hard CAP on XP earned per round, used to prevent exploiting.

XP_THROTTLE_AMT

This much XP is allowed per XP_THROTTLE_TICKS. Should prevent people from exploiting certain things. +This cap is ignored if a person if awarded XP in excess of this cap in one burst.

+

Roughly 2 times the expected XP per minute, currently.

XP_THROTTLE_TICKS

Defines the range of time that is throttled, see below. Currently very roughly one minute "game time".

\ No newline at end of file diff --git a/_std/macros/list.html b/_std/macros/list.html new file mode 100644 index 0000000000000..7d7ff35820a34 --- /dev/null +++ b/_std/macros/list.html @@ -0,0 +1 @@ +_std/macros/list.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/macros/list.dm

LAZYLISTORAdd an item to the list if not already present, if the list is null it will initialize it
LAZYLISTSETLENSets the length of a lazylist
LAZYLISTADDASSOCAdds the value V to the key K - if the list is null it will initialize it
LAZYLISTREMOVEASSOCRemoves the value V from the key K, if the key K is empty will remove it from the list, if the list is empty will set the list to null
LAZYLISTACCESSASSOCAccesses an associative list, returns null if nothing is found

Define Details

LAZYLISTACCESSASSOC

Accesses an associative list, returns null if nothing is found

LAZYLISTADDASSOC

Adds the value V to the key K - if the list is null it will initialize it

LAZYLISTOR

Add an item to the list if not already present, if the list is null it will initialize it

LAZYLISTREMOVEASSOC

Removes the value V from the key K, if the key K is empty will remove it from the list, if the list is empty will set the list to null

LAZYLISTSETLEN

Sets the length of a lazylist

\ No newline at end of file diff --git a/_std/macros/maps.html b/_std/macros/maps.html new file mode 100644 index 0000000000000..b6c695d2304c0 --- /dev/null +++ b/_std/macros/maps.html @@ -0,0 +1 @@ +_std/macros/maps.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/macros/maps.dm

ismapGiven a map type, returns true if it is that map.
in_centcomReturns true if the atom is inside of centcom
isgenplanetReturns true if the atom is on a generated planet
area_space_nopowerareas where we will skip searching for shit like APCs and that do not have innate power

Define Details

area_space_nopower

areas where we will skip searching for shit like APCs and that do not have innate power

in_centcom

Returns true if the atom is inside of centcom

isgenplanet

Returns true if the atom is on a generated planet

ismap

Given a map type, returns true if it is that map.

\ No newline at end of file diff --git a/_std/macros/matrix.html b/_std/macros/matrix.html new file mode 100644 index 0000000000000..20a5db252968e --- /dev/null +++ b/_std/macros/matrix.html @@ -0,0 +1,9 @@ +_std/macros/matrix.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/macros/matrix.dm

UNDO_TRANSFORMATIONReturns a matrix representing what you get if you undo a series of transformations that happened at some point in the past.

Define Details

UNDO_TRANSFORMATION

Returns a matrix representing what you get if you undo a series of transformations that happened at some point in the past.

+

Relies on the fact that no one resets the matrix in the meantime and also on the fact that the transformations are reversible.

+

Example:

+
var/matrix/orignal = matrix(src.transform)
+src.transform = src.Transform.Turn(180)
+var/matrix/after = matrix(src.transform)
+sleep(10 SECONDS) // more transformations might happen here!
+src.transform = UNDO_TRANSFORMATION(original, after, src.transform)
+
\ No newline at end of file diff --git a/_std/macros/movable.html b/_std/macros/movable.html new file mode 100644 index 0000000000000..5ccc1c18adff9 --- /dev/null +++ b/_std/macros/movable.html @@ -0,0 +1 @@ +_std/macros/movable.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/macros/movable.dm

MOVE_OUT_TO_TURF_SAFEMoves mover from inside thing loc to loc's turf, iff mover is inside loc

Define Details

MOVE_OUT_TO_TURF_SAFE

Moves mover from inside thing loc to loc's turf, iff mover is inside loc

\ No newline at end of file diff --git a/_std/macros/process.html b/_std/macros/process.html new file mode 100644 index 0000000000000..6676a61fb6271 --- /dev/null +++ b/_std/macros/process.html @@ -0,0 +1 @@ +_std/macros/process.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/macros/process.dm

Macros related to the process scheduler

SET_LAST_TASKIn hot loops prefer this over process.setLastTask(task, object)

Define Details

SET_LAST_TASK

In hot loops prefer this over process.setLastTask(task, object)

\ No newline at end of file diff --git a/_std/macros/procs.html b/_std/macros/procs.html new file mode 100644 index 0000000000000..04c5789eb846e --- /dev/null +++ b/_std/macros/procs.html @@ -0,0 +1 @@ +_std/macros/procs.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/macros/procs.dm

return_if_overlay_or_effectreturns early if x is an overlay or effect

Define Details

return_if_overlay_or_effect

returns early if x is an overlay or effect

\ No newline at end of file diff --git a/_std/macros/qdel.html b/_std/macros/qdel.html new file mode 100644 index 0000000000000..71f460e60705d --- /dev/null +++ b/_std/macros/qdel.html @@ -0,0 +1 @@ +_std/macros/qdel.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/macros/qdel.dm

QDELETEDif thing is null or has been qdeled

Define Details

QDELETED

if thing is null or has been qdeled

\ No newline at end of file diff --git a/_std/macros/strings.html b/_std/macros/strings.html new file mode 100644 index 0000000000000..01136ee1030f6 --- /dev/null +++ b/_std/macros/strings.html @@ -0,0 +1 @@ +_std/macros/strings.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/macros/strings.dm

TEXT_TO_MACROTakes an input string like "A" and turns it into a macro A

Define Details

TEXT_TO_MACRO

Takes an input string like "A" and turns it into a macro A

\ No newline at end of file diff --git a/_std/macros/time.html b/_std/macros/time.html new file mode 100644 index 0000000000000..5d52737c9bb63 --- /dev/null +++ b/_std/macros/time.html @@ -0,0 +1 @@ +_std/macros/time.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/macros/time.dm

TIMEreplacement for world.timeofday that shouldn't break around midnight, please use this
TimeOfHourgets the hour (1-24) of the day it is

Define Details

TIME

replacement for world.timeofday that shouldn't break around midnight, please use this

TimeOfHour

gets the hour (1-24) of the day it is

\ No newline at end of file diff --git a/_std/macros/transfers.html b/_std/macros/transfers.html new file mode 100644 index 0000000000000..ded8d68a51034 --- /dev/null +++ b/_std/macros/transfers.html @@ -0,0 +1 @@ +_std/macros/transfers.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/macros/transfers.dm

TRANSFER_OR_DROPTransfer AM to the output target of T if possible. If this fails, set AM to the loc of T.

Define Details

TRANSFER_OR_DROP

Transfer AM to the output target of T if possible. If this fails, set AM to the loc of T.

\ No newline at end of file diff --git a/_std/macros/turf.html b/_std/macros/turf.html new file mode 100644 index 0000000000000..4abaf30d50130 --- /dev/null +++ b/_std/macros/turf.html @@ -0,0 +1,21 @@ +_std/macros/turf.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/macros/turf.dm

get_turfReturns the curent turf atom/x is on, through any number of nested layers
get_zGets the z-level of the turf an atom is on
getneighboursreturns a list of all neighboring turfs in cardinal directions.
issimulatedturfReturns true if x is a simulated turf
isfloorReturns true if x is a floor type
iswallReturns true if x is a any kind of wall
isrwallReturns true if x is a reinforced wall
DEFINE_FLOORSCreates typepaths for an unsimulated turf, a simulated turf, an airless simulated turf, and an airless unsimulated turf at compile time.
DEFINE_FLOORS_SIMMEDCreates typepaths for a /turf/simulated/floor/_PATH and a /turf/simulated/floor/airless/_PATH with vars from _VARS
DEFINE_FLOORS_UNSIMMEDCreates typepaths for a /turf/unsimulated/floor/_PATH and a /turf/unsimulated/floor/airless/_PATH with vars from _VARS
DEFINE_FLOORS_SIMMED_UNSIMMEDCreates typepaths for a /turf/simulated/floor/_PATH and a /turf/unsimulated/floor/_PATH with vars from _VARS
DEFINE_FLOORS_AIRLESSCreates typepaths for a /turf/simulated/floor/airless/_PATH and a /turf/unsimulated/floor/airless/_PATH with vars from _VARS
DEFINE_FLOOR_SIMMEDCreates a typepath for a /turf/simulated/floor/_PATH with vars from _VARS
DEFINE_FLOOR_UNSIMMEDCreates a typepath for a /turf/unsimulated/floor/_PATH with vars from _VARS
DEFINE_FLOOR_SIMMED_AIRLESSCreates a typepath for a /turf/simulated/floor/airless/_PATH with vars from _VARS
DEFINE_FLOOR_UNSIMMED_AIRLESSCreates a typepath for a /turf/unsimulated/floor/airless/_PATH with vars from _VARS

Define Details

DEFINE_FLOORS

Creates typepaths for an unsimulated turf, a simulated turf, an airless simulated turf, and an airless unsimulated turf at compile time.

+

_PATH should be an incomplete typepath like purple/checker or orangeblack/side/white

+

It will automatically be formatted into a correct typepath, like /turf/simulated/floor/purple/checker

+

_VARS should be variables/values that the defined type should have.

+

It should be formatted like:

+
	foo = 1\
+	bar = "baz")
+
+

EXAMPLE USAGES:

+
	DEFINE_FLOORS(orangeblack/side/white,
+		icon_state = "cautionwhite")
+
+
	DEFINE_FLOORS(damaged1,
+		icon_state = "damaged1";\
+		step_material = "step_plating";\
+		step_priority = STEP_PRIORITY_MED)
+
+

NOTE: this macro isnt for every situation. if you need to define some procs on a turf, don't use this +macro and make sure to mirror your changes across turf/floors_airless.dm, turf/floors_unsimulated.dm +and turf/floors.dm.

DEFINE_FLOORS_AIRLESS

Creates typepaths for a /turf/simulated/floor/airless/_PATH and a /turf/unsimulated/floor/airless/_PATH with vars from _VARS

DEFINE_FLOORS_SIMMED

Creates typepaths for a /turf/simulated/floor/_PATH and a /turf/simulated/floor/airless/_PATH with vars from _VARS

DEFINE_FLOORS_SIMMED_UNSIMMED

Creates typepaths for a /turf/simulated/floor/_PATH and a /turf/unsimulated/floor/_PATH with vars from _VARS

DEFINE_FLOORS_UNSIMMED

Creates typepaths for a /turf/unsimulated/floor/_PATH and a /turf/unsimulated/floor/airless/_PATH with vars from _VARS

DEFINE_FLOOR_SIMMED

Creates a typepath for a /turf/simulated/floor/_PATH with vars from _VARS

DEFINE_FLOOR_SIMMED_AIRLESS

Creates a typepath for a /turf/simulated/floor/airless/_PATH with vars from _VARS

DEFINE_FLOOR_UNSIMMED

Creates a typepath for a /turf/unsimulated/floor/_PATH with vars from _VARS

DEFINE_FLOOR_UNSIMMED_AIRLESS

Creates a typepath for a /turf/unsimulated/floor/airless/_PATH with vars from _VARS

get_turf

Returns the curent turf atom/x is on, through any number of nested layers

+

See: http://www.byond.com/forum/?post=2110095

get_z

Gets the z-level of the turf an atom is on

getneighbours

returns a list of all neighboring turfs in cardinal directions.

isfloor

Returns true if x is a floor type

isrwall

Returns true if x is a reinforced wall

issimulatedturf

Returns true if x is a simulated turf

iswall

Returns true if x is a any kind of wall

\ No newline at end of file diff --git a/_std/map.html b/_std/map.html new file mode 100644 index 0000000000000..3d4462724d7eb --- /dev/null +++ b/_std/map.html @@ -0,0 +1,5 @@ +_std/map.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/map.dm

Z_LEVEL_NULLNullspace/Z0/The Darkness
Z_LEVEL_STATIONThe station Z-level.
Z_LEVEL_ADVENTUREThe Z-level used for Adventure Zones.
Z_LEVEL_DEBRISThe debris Z-level. Blank on underwater maps.
Z_LEVEL_SECRETThe Z-level used for secret things.
Z_LEVEL_MININGThe mining Z-level. Trench on underwater maps
Z_LEVEL_DYNAMICThe Z-level used for dynamically loaded maps. See: region_allocator
PERLIN_LAYER_HEIGHTMap generation defines
REGION_TILESLets you iterate over things in an allocated region.
REGION_TURFSProvides a list of all turfs in allocated region.
/proc/random_nonrestrictedz_turfReturns a random turf on a non-restricted z-level.
/proc/random_space_turfTries to return a random space turf. Tries a given number of times and if it fails it returns null instead.

Define Details

PERLIN_LAYER_HEIGHT

Map generation defines

REGION_TILES

Lets you iterate over things in an allocated region.

+

Example:

+
for(var/mob/M in REGION_TILES(src.region))
+	M.gib()
+

REGION_TURFS

Provides a list of all turfs in allocated region.

Z_LEVEL_ADVENTURE

The Z-level used for Adventure Zones.

Z_LEVEL_DEBRIS

The debris Z-level. Blank on underwater maps.

Z_LEVEL_DYNAMIC

The Z-level used for dynamically loaded maps. See: region_allocator

Z_LEVEL_MINING

The mining Z-level. Trench on underwater maps

Z_LEVEL_NULL

Nullspace/Z0/The Darkness

Z_LEVEL_SECRET

The Z-level used for secret things.

Z_LEVEL_STATION

The station Z-level.

\ No newline at end of file diff --git a/_std/math.html b/_std/math.html new file mode 100644 index 0000000000000..637ffa7acd220 --- /dev/null +++ b/_std/math.html @@ -0,0 +1,27 @@ +_std/math.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/math.dm

eulerse
piπ
ceil2ceil, with second argument being the multiple to use for rounding
nroundrounds down to the nearest integer, note that the built-in round() function alwys roundsd to the lower integer
posfractdecimal part of a number but always positive. Basically modulo 1 in a way
fractmodulox % y but without rounding x first (i.e. fractmodulo(5.7, 2) = 1.7), also always positive
signReturns the sign of the given number (1 or -1)
cotcotangent
percentmultTakes a probability 'x' (0-100) and returns the probability (0-100) of seeing at least 1 success were you to test 'x' 'mult' times. +Used for lag-compensating prob rolls.
angledifferencedifference in degrees from angle x to angle y
isnum_safeNaN isn't a number, damn it. Infinity is a problem too.
/proc/text2num_safeParses a number except for NaNs and infinities
randfloatrand() but for floats, returns a random floating point number between L and H
EXTRACT_BITprovides the bit at a position (starting from 0) in a binary number +example: EXTRACT_BIT(9, 1)
TOGGLE_BITtoggles the bit at a position (starting from 0) in a binary number +example: TOGGLE_BIT(9, 1)
CREATE_FULL_BINARY_NUMcreates a binary number that is length bits long. all bits in the number are turned on
CREATE_EMPTY_BINARY_NUMcreates a binary number that is length bits long. all bits in the number are turned off
lerpLinearly interpolates a and b based on t
/proc/fixed_randompseudorandom number based on x, y in range 0 to 1

Define Details

CREATE_EMPTY_BINARY_NUM

creates a binary number that is length bits long. all bits in the number are turned off

CREATE_FULL_BINARY_NUM

creates a binary number that is length bits long. all bits in the number are turned on

EXTRACT_BIT

provides the bit at a position (starting from 0) in a binary number +example: EXTRACT_BIT(9, 1)

+

9 in binary is 1001 +if i want to check the value of the 2nd bit in 9, i would use a value of 1 for position +this is because binary numbers start at 0 and bits are counted from right to left +then the << operator shifts that bit a number of bits to the left +in this case, it shifts it 1 bit to the left, turning 1 into 10 (in binary) +so what the macro looks like now (in binary) is 1001 & 0010 +the binary and operator (&) multiplies the values of the bits together +so doing 1001 & 0010 returns a value of 0000 +this tells us that the 2nd bit of 1001 is 0 (off) +if we did this with 11 (1011) instead, it would be 1011 & 0010, which would return 0010, which tells us that the 2nd bit of 1001 is 1 (on)

TOGGLE_BIT

toggles the bit at a position (starting from 0) in a binary number +example: TOGGLE_BIT(9, 1)

+

9 in binary is 1001 +if i want to toggle the value of the 2nd bit in 9, i would use a value of 1 for position +this is because binary numbers start at 0 and bits are counted from right to left +then the << operator shifts that bit a number of bits to the left +in this case, it shifts it 1 bit to the left, turning 1 into 10 (in binary) +so what the macro looks like now (in binary) is 1001 ^ 0010 +the binary xor operator (^) sets a bit to 0 if the values of the bits are the same and sets a bit to 1 if the values are different +so doing 1001 & 0010 returns a value of 1011 +this just toggles the 2nd bit in the number from 0 to 1, or from 1 to 0 +if we did this with 11 (1011) instead, it would be 1011 & 0010, which would return 1001

angledifference

difference in degrees from angle x to angle y

ceil2

ceil, with second argument being the multiple to use for rounding

cot

cotangent

eulers

e

fractmodulo

x % y but without rounding x first (i.e. fractmodulo(5.7, 2) = 1.7), also always positive

isnum_safe

NaN isn't a number, damn it. Infinity is a problem too.

lerp

Linearly interpolates a and b based on t

nround

rounds down to the nearest integer, note that the built-in round() function alwys roundsd to the lower integer

percentmult

Takes a probability 'x' (0-100) and returns the probability (0-100) of seeing at least 1 success were you to test 'x' 'mult' times. +Used for lag-compensating prob rolls.

pi

π

posfract

decimal part of a number but always positive. Basically modulo 1 in a way

randfloat

rand() but for floats, returns a random floating point number between L and H

sign

Returns the sign of the given number (1 or -1)

\ No newline at end of file diff --git a/_std/packets.html b/_std/packets.html new file mode 100644 index 0000000000000..de9631688abcc --- /dev/null +++ b/_std/packets.html @@ -0,0 +1 @@ +_std/packets.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/packets.dm

TRANSMISSION_INVALIDpacket transmission types
FREQ_FREEfrequency for "free packet communication", default for nerd stuff
FREQ_DOOR_CONTROLpods open podbay doors with this frequency but in theory more general

Define Details

FREQ_DOOR_CONTROL

pods open podbay doors with this frequency but in theory more general

FREQ_FREE

frequency for "free packet communication", default for nerd stuff

TRANSMISSION_INVALID

packet transmission types

\ No newline at end of file diff --git a/_std/parallax.html b/_std/parallax.html new file mode 100644 index 0000000000000..a69f3c83d14f4 --- /dev/null +++ b/_std/parallax.html @@ -0,0 +1 @@ +_std/parallax.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/parallax.dm

/var/parallax_enabledWhether parallax has been enabled or disabled globally.
/var/z_level_parallax_render_source_groupsAn associative list of each z-level define and its corresponding parallax layer render source group. See code\map\map_settings.dm for the default parallax render sources for each z-level.
/var/area_parallax_render_source_groupsAn associative list of parallax render source group types and the corresponding instance of that type.
/var/planet_parallax_render_source_groupsAn list of parallax render source group instances that are used within procedurally generated planets.
/proc/setup_z_level_parallax_render_sourcesInitialises z_level_parallax_render_source_groups by populating it with z-level parallax render source groups.
/proc/get_parallax_render_source_groupReturns a reference to the parallax render source group datum belonging to either an area or z-level.
UPDATE_TESSELLATION_ALIGNMENTRealigns the parallax layer so that the centremost tessellated tile occupies the position of the tessellated tile closest to the player.

Define Details

UPDATE_TESSELLATION_ALIGNMENT

Realigns the parallax layer so that the centremost tessellated tile occupies the position of the tessellated tile closest to the player.

\ No newline at end of file diff --git a/_std/pathfinding.html b/_std/pathfinding.html new file mode 100644 index 0000000000000..f1dbfa398a873 --- /dev/null +++ b/_std/pathfinding.html @@ -0,0 +1,6 @@ +_std/pathfinding.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/pathfinding.dm

POP_MAX_DISTPathfind option key; The maximum number of steps we can take in a given path to search (default: 30, 0 = infinite)
POP_MAX_SEENPathfind option key; The maximum number of actual tiles seen. Sometimes a better limiter maybe?
POP_MIN_DISTPathfind option key; Minimum distance to the target before path returns, could be used to get near a target, but not right to it - for an AI mob with a gun, for example.
POP_IDPathfind option key; An ID card representing what access we have and what doors we can open. Its location relative to the pathing atom is irrelevant
POP_SIMULATED_ONLYPathfind option key; Whether we consider turfs without atmos simulation (AKA do we want to ignore space)
POP_EXCLUDEPathfind option key; If we want to avoid a specific turf, like if we're a mulebot who already got blocked by some turf
POP_CARDINAL_ONLYPathfind option key; Whether to find only paths consisting of cardinal steps.
POP_DOOR_CHECKPathfind option key; Whether or not to check if doors are blocked (welded, out of power, locked, etc...)
POP_IGNORE_CACHEPathfind option key; Whether to ignore passability caching (for extremely weird cases; like pods.)
/proc/get_path_toThis is the proc you use whenever you want to have pathfinding more complex than "try stepping towards the thing".
CAN_STEPA helper macro to see if it's possible to step from the first turf into the second one, minding things like door access and directional windows. +Note that this can only be used inside the [datum/pathfind][pathfind datum] since it uses variables from said datum. +If you really want to optimize things, optimize this, cuz this gets called a lot.
STEP_NOT_HERE_BUT_THEREAnother helper macro for JPS, for telling when a node has forced neighbors that need expanding
/datum/jps_nodeThe JPS Node datum represents a turf that we find interesting enough to add to the open list and possibly search for new tiles from
/proc/HeapPathWeightCompareTODO: Macro this to reduce proc overhead
/datum/pathfindThe datum used to handle the JPS pathfinding, completely self-contained
/proc/jpsTurfPassablethis is a slight modification of /proc/checkTurfPassable to avoid indirect proc call overhead +Returns false if there is a dense atom on the turf, unless a custom hueristic is passed.
/proc/checkTurfPassableReturns false if there is a dense atom on the turf, unless a custom hueristic is passed.

Define Details

CAN_STEP

A helper macro to see if it's possible to step from the first turf into the second one, minding things like door access and directional windows. +Note that this can only be used inside the [datum/pathfind][pathfind datum] since it uses variables from said datum. +If you really want to optimize things, optimize this, cuz this gets called a lot.

POP_CARDINAL_ONLY

Pathfind option key; Whether to find only paths consisting of cardinal steps.

POP_DOOR_CHECK

Pathfind option key; Whether or not to check if doors are blocked (welded, out of power, locked, etc...)

POP_EXCLUDE

Pathfind option key; If we want to avoid a specific turf, like if we're a mulebot who already got blocked by some turf

POP_ID

Pathfind option key; An ID card representing what access we have and what doors we can open. Its location relative to the pathing atom is irrelevant

POP_IGNORE_CACHE

Pathfind option key; Whether to ignore passability caching (for extremely weird cases; like pods.)

POP_MAX_DIST

Pathfind option key; The maximum number of steps we can take in a given path to search (default: 30, 0 = infinite)

POP_MAX_SEEN

Pathfind option key; The maximum number of actual tiles seen. Sometimes a better limiter maybe?

POP_MIN_DIST

Pathfind option key; Minimum distance to the target before path returns, could be used to get near a target, but not right to it - for an AI mob with a gun, for example.

POP_SIMULATED_ONLY

Pathfind option key; Whether we consider turfs without atmos simulation (AKA do we want to ignore space)

STEP_NOT_HERE_BUT_THERE

Another helper macro for JPS, for telling when a node has forced neighbors that need expanding

\ No newline at end of file diff --git a/_std/plain_data.html b/_std/plain_data.html new file mode 100644 index 0000000000000..4097d0bbad0b0 --- /dev/null +++ b/_std/plain_data.html @@ -0,0 +1 @@ +_std/plain_data.dm - Goonstation 13
Goonstation 13 - Modules - Types

_std/plain_data.dm

/plain_dataData type for storing just data, without any procs or other fanciness. Meant to be used instead of deeply nested lists for e.g. TGUI ui_data.
/proc/normalize_plain_data_listRecursively normalizes a list of plain_data and primitive values. Plain_data values are converted to lists, recursively.
\ No newline at end of file diff --git a/_std/plane.html b/_std/plane.html new file mode 100644 index 0000000000000..a7ed1a8a18242 --- /dev/null +++ b/_std/plane.html @@ -0,0 +1 @@ +_std/plane.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/plane.dm

PLANE_MUL_OVERLAY_EFFECTSMultiplicative blend mode

Define Details

PLANE_MUL_OVERLAY_EFFECTS

Multiplicative blend mode

\ No newline at end of file diff --git a/_std/procpath.html b/_std/procpath.html new file mode 100644 index 0000000000000..2fb2ef36c195a --- /dev/null +++ b/_std/procpath.html @@ -0,0 +1,2 @@ +_std/procpath.dm - Goonstation 13
Goonstation 13 - Modules - Types

_std/procpath.dm

/procpathType used to sanely access vars on a proc. +Example:
\ No newline at end of file diff --git a/_std/promises.html b/_std/promises.html new file mode 100644 index 0000000000000..c3f61522531b5 --- /dev/null +++ b/_std/promises.html @@ -0,0 +1,5 @@ +_std/promises.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/promises.dm

/datum/interruptible_sleepRepresents something akin to a sleep() call that can be interrupted.
INTERRUPT_SLEEPInterrupts an /datum/interruptible_sleep. +For best performance make sure there are as few references to this datum as possible.
/datum/promiseRepresents a promised value that can then be fulfilled (likely by some other execution context). +Supports waiting for fulfillment.

Define Details

INTERRUPT_SLEEP

Interrupts an /datum/interruptible_sleep. +For best performance make sure there are as few references to this datum as possible.

+

@param ISLEEP The sleep to interrupt.

\ No newline at end of file diff --git a/_std/rust_g.html b/_std/rust_g.html new file mode 100644 index 0000000000000..a10bdec840b79 --- /dev/null +++ b/_std/rust_g.html @@ -0,0 +1,131 @@ +_std/rust_g.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/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.
rustg_dbp_generateThis proc generates a grid of perlin-like noise
rustg_dmi_icon_statesinput: must be a path, not an /icon; you have to do your own handling if it is one, as icon objects can't be directly passed to rustg.
rustg_git_revparseReturns the git hash of the given revision, ex. "HEAD".
rustg_git_commit_dateReturns the date of the given revision in the format YYYY-MM-DD. +Returns null if the revision is invalid.
rustg_encode_base64Encode a given string into base64
rustg_decode_base64Decode a given base64 string
rustg_iconforge_generateGenerates a spritesheet at: [file_path][spritesheet_name]_[size_id].png +The resulting spritesheet arranges icons in a random order, with the position being denoted in the "sprites" return value. +All icons have the same y coordinate, and their x coordinate is equal to icon_width * position.
rustg_iconforge_generate_asyncReturns a job_id for use with rustg_iconforge_check()
rustg_iconforge_checkReturns the status of an async job_id, or its result if it is completed. See RUSTG_JOB DEFINEs.
rustg_iconforge_cleanupClears all cached DMIs and images, freeing up memory. +This should be used after spritesheets are done being generated.
rustg_iconforge_cache_validTakes in a set of hashes, generate inputs, and DMI filepaths, and compares them to determine cache validity. +input_hash: xxh64 hash of "sprites" from the cache. +dmi_hashes: xxh64 hashes of the DMIs in a spritesheet, given by rustg_iconforge_generate with hash_icons enabled. From the cache. +sprites: The new input that will be passed to rustg_iconforge_generate(). +Returns a CacheResult with the following structure: list( +"result": "1" (if cache is valid) or "0" (if cache is invalid) +"fail_reason": "" (emtpy string if valid, otherwise a string containing the invalidation reason or an error with ERROR: prefixed.) +) +In the case of an unrecoverable panic from within Rust, this function ONLY returns a string containing the error.
rustg_iconforge_cache_valid_asyncReturns a job_id for use with rustg_iconforge_check()
rustg_redis_connect_rqConnects to a given redis server.
/proc/rustg_redis_disconnect_rqDisconnects from a previously connected redis server
rustg_redis_lpushhttps://redis.io/commands/lpush/
rustg_redis_lrangehttps://redis.io/commands/lrange/
rustg_redis_lpophttps://redis.io/commands/lpop/
/proc/rustg_unix_timestampReturns the timestamp as a string
rustg_worley_generateThis proc generates a noise grid using worley noise algorithm

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_dbp_generate

This proc generates a grid of perlin-like noise

+

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

+

Arguments:

+

rustg_decode_base64

Decode a given base64 string

rustg_dmi_icon_states

input: must be a path, not an /icon; you have to do your own handling if it is one, as icon objects can't be directly passed to rustg.

+

output: json_encode'd list. json_decode to get a flat list with icon states in the order they're in inside the .dmi

rustg_encode_base64

Encode a given string into base64

rustg_git_commit_date

Returns the date of the given revision in the format YYYY-MM-DD. +Returns null if the revision is invalid.

rustg_git_revparse

Returns the git hash of the given revision, ex. "HEAD".

rustg_iconforge_cache_valid

Takes in a set of hashes, generate inputs, and DMI filepaths, and compares them to determine cache validity. +input_hash: xxh64 hash of "sprites" from the cache. +dmi_hashes: xxh64 hashes of the DMIs in a spritesheet, given by rustg_iconforge_generate with hash_icons enabled. From the cache. +sprites: The new input that will be passed to rustg_iconforge_generate(). +Returns a CacheResult with the following structure: list( +"result": "1" (if cache is valid) or "0" (if cache is invalid) +"fail_reason": "" (emtpy string if valid, otherwise a string containing the invalidation reason or an error with ERROR: prefixed.) +) +In the case of an unrecoverable panic from within Rust, this function ONLY returns a string containing the error.

rustg_iconforge_cache_valid_async

Returns a job_id for use with rustg_iconforge_check()

rustg_iconforge_check

Returns the status of an async job_id, or its result if it is completed. See RUSTG_JOB DEFINEs.

rustg_iconforge_cleanup

Clears all cached DMIs and images, freeing up memory. +This should be used after spritesheets are done being generated.

rustg_iconforge_generate

Generates a spritesheet at: [file_path][spritesheet_name]_[size_id].png +The resulting spritesheet arranges icons in a random order, with the position being denoted in the "sprites" return value. +All icons have the same y coordinate, and their x coordinate is equal to icon_width * position.

+

hash_icons is a boolean (0 or 1), and determines if the generator will spend time creating hashes for the output field dmi_hashes. +These hashes can be heplful for 'smart' caching (see rustg_iconforge_cache_valid), but require extra computation.

+

Spritesheet will contain all sprites listed within "sprites". +"sprites" format: +list( +"sprite_name" = list( // <--- this list is a [SPRITE_OBJECT] +icon_file = 'icons/path_to/an_icon.dmi', +icon_state = "some_icon_state", +dir = SOUTH, +frame = 1, +transform = list([TRANSFORM_OBJECT], ...) +), +..., +) +TRANSFORM_OBJECT format: +list("type" = RUSTG_ICONFORGE_BLEND_COLOR, "color" = "#ff0000", "blend_mode" = ICON_MULTIPLY) +list("type" = RUSTG_ICONFORGE_BLEND_ICON, "icon" = [SPRITE_OBJECT], "blend_mode" = ICON_OVERLAY) +list("type" = RUSTG_ICONFORGE_SCALE, "width" = 32, "height" = 32) +list("type" = RUSTG_ICONFORGE_CROP, "x1" = 1, "y1" = 1, "x2" = 32, "y2" = 32) // (BYOND icons index from 1,1 to the upper bound, inclusive)

+

Returns a SpritesheetResult as JSON, containing fields: +list( +"sizes" = list("32x32", "64x64", ...), +"sprites" = list("sprite_name" = list("size_id" = "32x32", "position" = 0), ...), +"dmi_hashes" = list("icons/path_to/an_icon.dmi" = "d6325c5b4304fb03", ...), +"sprites_hash" = "a2015e5ff403fb5c", // This is the xxh64 hash of the INPUT field "sprites". +"error" = "[A string, empty if there were no errors.]" +) +In the case of an unrecoverable panic from within Rust, this function ONLY returns a string containing the error.

rustg_iconforge_generate_async

Returns a job_id for use with rustg_iconforge_check()

rustg_redis_connect_rq

Connects to a given redis server.

+

Arguments:

+

rustg_redis_lpop

https://redis.io/commands/lpop/

+

Arguments

+ +

Note: count was added in Redis version 6.2.0

rustg_redis_lpush

https://redis.io/commands/lpush/

+

Arguments

+

rustg_redis_lrange

https://redis.io/commands/lrange/

+

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:

+

rustg_worley_generate

This proc generates a noise grid using worley noise algorithm

+

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:

+
\ No newline at end of file diff --git a/_std/setup.html b/_std/setup.html new file mode 100644 index 0000000000000..2049df91fed22 --- /dev/null +++ b/_std/setup.html @@ -0,0 +1 @@ +_std/setup.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/setup.dm

GAME_STATE_INVALIDvalues for the current_state var
GAME_STATE_WORLD_INITunused currently, probably convert to WORLD_NEW
NON_EUCLIDEANActivates the viscontents warps

Define Details

GAME_STATE_INVALID

values for the current_state var

GAME_STATE_WORLD_INIT

unused currently, probably convert to WORLD_NEW

NON_EUCLIDEAN

Activates the viscontents warps

\ No newline at end of file diff --git a/_std/sorting.html b/_std/sorting.html new file mode 100644 index 0000000000000..9ca0065b045eb --- /dev/null +++ b/_std/sorting.html @@ -0,0 +1,3 @@ +_std/sorting.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/sorting.dm

/proc/sortListsortList - To sort lists via TimSort (in place)
/proc/sortListCopyJust like /proc/sortList, but return a sorted copy of the given list
MIN_MERGEMinimum sized sequence that will be merged. Anything smaller than this will use binary-insertion sort. +Should be a power of 2
MIN_GALLOPWhen we get into galloping mode, we stay there until both runs win less often than MIN_GALLOP consecutive times.
/var/sortInstanceThis is a global instance to allow much of this code to be reused. The interfaces are kept separately

Define Details

MIN_GALLOP

When we get into galloping mode, we stay there until both runs win less often than MIN_GALLOP consecutive times.

MIN_MERGE

Minimum sized sequence that will be merged. Anything smaller than this will use binary-insertion sort. +Should be a power of 2

\ No newline at end of file diff --git a/_std/spatial_hashing.html b/_std/spatial_hashing.html new file mode 100644 index 0000000000000..72d6073ea5dbf --- /dev/null +++ b/_std/spatial_hashing.html @@ -0,0 +1 @@ +_std/spatial_hashing.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/spatial_hashing.dm

GET_NEARBYGet cliented mobs from a given atom within a given range. Careful, because range is actually max(CELL_SIZE, range)

Define Details

GET_NEARBY

Get cliented mobs from a given atom within a given range. Careful, because range is actually max(CELL_SIZE, range)

\ No newline at end of file diff --git a/_std/text.html b/_std/text.html new file mode 100644 index 0000000000000..cc43eda247e69 --- /dev/null +++ b/_std/text.html @@ -0,0 +1,2 @@ +_std/text.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/text.dm

/proc/isVowelReturns true if the given string has a vowel
/var/is_blank_string_regexReturns true if given string is just space characters +The explicitly defined entries are various blank unicode characters that don't get included as white space by \s
/proc/random_emojiGenerates a random Unicode emoji that will look ok in the chat
/proc/md5_to_more_pronouncableTakes a hash generated by md5() and turns it into a string of alternating consonants and vowels
/proc/strip_prefixRemoves a given prefix from a string.
/proc/newline_html_encodeReturns a string with all HTML special characters encoded and newlines replaced with
/proc/newline_html_decodeReturns a string with all HTML special characters decoded and
replaced with newlines
stripTextMacrosRemoves the special data inserted via use of \improper etc in strings

Define Details

stripTextMacros

Removes the special data inserted via use of \improper etc in strings

\ No newline at end of file diff --git a/_std/tgs.html b/_std/tgs.html new file mode 100644 index 0000000000000..56288e7d02055 --- /dev/null +++ b/_std/tgs.html @@ -0,0 +1 @@ +_std/tgs.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/tgs.dm

TGS_FILE2TEXT_NATIVECreate this define if you want to do TGS configuration outside of this file.
TGS_EVENT_REBOOT_MODE_CHANGEBefore a reboot mode change, extras parameters are the current and new reboot mode enums.
TGS_EVENT_PORT_SWAPBefore a port change is about to happen, extra parameters is new port.
TGS_EVENT_INSTANCE_RENAMEDBefore the instance is renamed, extra parameter is the new name.
TGS_EVENT_WATCHDOG_REATTACHAfter the watchdog reattaches to DD, extra parameter is the new /datum/tgs_version of the server.
TGS_EVENT_HEALTH_CHECKWhen the watchdog sends a health check to DD. No parameters.
TGS_EVENT_REPO_RESET_ORIGINWhen the repository is reset to its origin reference. Parameters: Reference name, Commit SHA.
TGS_EVENT_REPO_CHECKOUTWhen the repository performs a checkout. Parameters: Checkout git object.
TGS_EVENT_REPO_FETCHWhen the repository performs a fetch operation. No parameters.
TGS_EVENT_REPO_MERGE_PULL_REQUESTWhen the repository test merges. Parameters: PR Number, PR Sha, (Nullable) Comment made by TGS user.
TGS_EVENT_REPO_PRE_SYNCHRONIZEBefore the repository makes a sychronize operation. Parameters: Absolute repostiory path.
TGS_EVENT_ENGINE_INSTALL_STARTBefore a engine install operation begins. Parameters: Version string of the installing engine.
TGS_EVENT_ENGINE_INSTALL_FAILWhen a engine install operation fails. Parameters: Error message
TGS_EVENT_ENGINE_ACTIVE_VERSION_CHANGEWhen the active engine version changes. Parameters: (Nullable) Version string of the current engine, version string of the new engine.
TGS_EVENT_COMPILE_STARTWhen the compiler starts running. Parameters: Game directory path, origin commit SHA.
TGS_EVENT_COMPILE_CANCELLEDWhen a compile is cancelled. No parameters.
TGS_EVENT_COMPILE_FAILUREWhen a compile fails. Parameters: Game directory path, [TRUE]/[FALSE] based on if the cause for failure was DMAPI validation.
TGS_EVENT_COMPILE_COMPLETEWhen a compile operation completes. Note, this event fires before the new .dmb is loaded into the watchdog. Consider using the TGS_EVENT_DEPLOYMENT_COMPLETE instead. Parameters: Game directory path.
TGS_EVENT_INSTANCE_AUTO_UPDATE_STARTWhen an automatic update for the current instance begins. No parameters.
TGS_EVENT_REPO_MERGE_CONFLICTWhen the repository encounters a merge conflict: Parameters: Base SHA, target SHA, base reference, target reference.
TGS_EVENT_DEPLOYMENT_COMPLETEWhen a deployment completes. No Parameters.
TGS_EVENT_WATCHDOG_SHUTDOWNBefore the watchdog shuts down. Not sent for graceful shutdowns. No parameters.
TGS_EVENT_WATCHDOG_DETACHBefore the watchdog detaches for a TGS update/restart. No parameters.
TGS_EVENT_WORLD_PRIMEWatchdog event when TgsInitializationComplete() is called. No parameters.
TGS_EVENT_REPO_SUBMODULE_UPDATEAfter a single submodule update is performed. Parameters: Updated submodule name.
TGS_EVENT_PRE_DREAM_MAKERAfter CodeModifications are applied, before DreamMaker is run. Parameters: Game directory path, origin commit sha, version string of the used engine.
TGS_EVENT_DEPLOYMENT_CLEANUPWhenever a deployment folder is deleted from disk. Parameters: Game directory path.
TGS_REBOOT_MODE_NORMALThe server will reboot normally.
TGS_REBOOT_MODE_SHUTDOWNThe server will stop running on reboot.
TGS_REBOOT_MODE_RESTARTThe watchdog will restart on reboot.
TGS_SECURITY_TRUSTEDDreamDaemon Trusted security level.
TGS_SECURITY_SAFEDreamDaemon Safe security level.
TGS_SECURITY_ULTRASAFEDreamDaemon Ultrasafe security level.
TGS_VISIBILITY_PUBLICDreamDaemon public visibility level.
TGS_VISIBILITY_PRIVATEDreamDaemon private visibility level.
TGS_VISIBILITY_INVISIBLEDreamDaemon invisible visibility level.
TGS_ENGINE_TYPE_BYONDThe Build Your Own Net Dream engine.
TGS_ENGINE_TYPE_OPENDREAMThe OpenDream engine.
TGS_TOPICPut this at the start of /world/proc/Topic.
/datum/tgs_revision_informationRepresents git revision information.
/datum/tgs_versionRepresents a version.
/datum/tgs_revision_information/test_mergeRepresents a merge of a GitHub pull request.
/datum/tgs_chat_channelRepresents a connected chat channel.
/datum/tgs_event_handlerUser definable handler for TGS events.
/datum/tgs_chat_commandUser definable chat command.
/datum/tgs_message_contentUser definable chat message.
/datum/tgs_chat_embed/structureUser definable chat embed. Currently mirrors Discord chat embeds. See https://discord.com/developers/docs/resources/channel#embed-object-embed-structure for details.
/datum/tgs_chat_embed/mediaCommon datum for similar discord embed medias.
/datum/tgs_chat_embed/footerSee https://discord.com/developers/docs/resources/channel#embed-object-embed-footer-structure for details.
/datum/tgs_chat_embed/providerSee https://discord.com/developers/docs/resources/channel#embed-object-embed-provider-structure for details.
/datum/tgs_chat_embed/provider/authorSee https://discord.com/developers/docs/resources/channel#embed-object-embed-author-structure for details. Must have name set in New().
/datum/tgs_chat_embed/fieldSee https://discord.com/developers/docs/resources/channel#embed-object-embed-field-structure for details. Must have name and value set in New().

Define Details

TGS_ENGINE_TYPE_BYOND

The Build Your Own Net Dream engine.

TGS_ENGINE_TYPE_OPENDREAM

The OpenDream engine.

TGS_EVENT_COMPILE_CANCELLED

When a compile is cancelled. No parameters.

TGS_EVENT_COMPILE_COMPLETE

When a compile operation completes. Note, this event fires before the new .dmb is loaded into the watchdog. Consider using the TGS_EVENT_DEPLOYMENT_COMPLETE instead. Parameters: Game directory path.

TGS_EVENT_COMPILE_FAILURE

When a compile fails. Parameters: Game directory path, [TRUE]/[FALSE] based on if the cause for failure was DMAPI validation.

TGS_EVENT_COMPILE_START

When the compiler starts running. Parameters: Game directory path, origin commit SHA.

TGS_EVENT_DEPLOYMENT_CLEANUP

Whenever a deployment folder is deleted from disk. Parameters: Game directory path.

TGS_EVENT_DEPLOYMENT_COMPLETE

When a deployment completes. No Parameters.

TGS_EVENT_ENGINE_ACTIVE_VERSION_CHANGE

When the active engine version changes. Parameters: (Nullable) Version string of the current engine, version string of the new engine.

TGS_EVENT_ENGINE_INSTALL_FAIL

When a engine install operation fails. Parameters: Error message

TGS_EVENT_ENGINE_INSTALL_START

Before a engine install operation begins. Parameters: Version string of the installing engine.

TGS_EVENT_HEALTH_CHECK

When the watchdog sends a health check to DD. No parameters.

TGS_EVENT_INSTANCE_AUTO_UPDATE_START

When an automatic update for the current instance begins. No parameters.

TGS_EVENT_INSTANCE_RENAMED

Before the instance is renamed, extra parameter is the new name.

TGS_EVENT_PORT_SWAP

Before a port change is about to happen, extra parameters is new port.

TGS_EVENT_PRE_DREAM_MAKER

After CodeModifications are applied, before DreamMaker is run. Parameters: Game directory path, origin commit sha, version string of the used engine.

TGS_EVENT_REBOOT_MODE_CHANGE

Before a reboot mode change, extras parameters are the current and new reboot mode enums.

TGS_EVENT_REPO_CHECKOUT

When the repository performs a checkout. Parameters: Checkout git object.

TGS_EVENT_REPO_FETCH

When the repository performs a fetch operation. No parameters.

TGS_EVENT_REPO_MERGE_CONFLICT

When the repository encounters a merge conflict: Parameters: Base SHA, target SHA, base reference, target reference.

TGS_EVENT_REPO_MERGE_PULL_REQUEST

When the repository test merges. Parameters: PR Number, PR Sha, (Nullable) Comment made by TGS user.

TGS_EVENT_REPO_PRE_SYNCHRONIZE

Before the repository makes a sychronize operation. Parameters: Absolute repostiory path.

TGS_EVENT_REPO_RESET_ORIGIN

When the repository is reset to its origin reference. Parameters: Reference name, Commit SHA.

TGS_EVENT_REPO_SUBMODULE_UPDATE

After a single submodule update is performed. Parameters: Updated submodule name.

TGS_EVENT_WATCHDOG_DETACH

Before the watchdog detaches for a TGS update/restart. No parameters.

TGS_EVENT_WATCHDOG_REATTACH

After the watchdog reattaches to DD, extra parameter is the new /datum/tgs_version of the server.

TGS_EVENT_WATCHDOG_SHUTDOWN

Before the watchdog shuts down. Not sent for graceful shutdowns. No parameters.

TGS_EVENT_WORLD_PRIME

Watchdog event when TgsInitializationComplete() is called. No parameters.

TGS_FILE2TEXT_NATIVE

Create this define if you want to do TGS configuration outside of this file.

TGS_REBOOT_MODE_NORMAL

The server will reboot normally.

TGS_REBOOT_MODE_RESTART

The watchdog will restart on reboot.

TGS_REBOOT_MODE_SHUTDOWN

The server will stop running on reboot.

TGS_SECURITY_SAFE

DreamDaemon Safe security level.

TGS_SECURITY_TRUSTED

DreamDaemon Trusted security level.

TGS_SECURITY_ULTRASAFE

DreamDaemon Ultrasafe security level.

TGS_TOPIC

Put this at the start of /world/proc/Topic.

TGS_VISIBILITY_INVISIBLE

DreamDaemon invisible visibility level.

TGS_VISIBILITY_PRIVATE

DreamDaemon private visibility level.

TGS_VISIBILITY_PUBLIC

DreamDaemon public visibility level.

\ No newline at end of file diff --git a/_std/tgui.html b/_std/tgui.html new file mode 100644 index 0000000000000..fef8ccecb9c20 --- /dev/null +++ b/_std/tgui.html @@ -0,0 +1 @@ +_std/tgui.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/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

\ No newline at end of file diff --git a/_std/types.html b/_std/types.html new file mode 100644 index 0000000000000..622fa34cdf048 --- /dev/null +++ b/_std/types.html @@ -0,0 +1,26 @@ +_std/types.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/types.dm

ENSURE_TYPEnulls a var if its value doesn't match the var's type
/proc/concrete_typesof[/proc/typesof()] but only for concrete (not abstract) types, +it caches the result so you don't need to worry about doing that manually +so subsequent calls on the same type will be very fast.
/proc/filtered_concrete_typesofThe same thing but now you can filter the types using a proc. Also cached. +The filter proc takes a type and should return 1 if we want to include it and 0 otherwise. +That proc should also be pure (always return the same thing for the same arguments) because of the caching. +If you want to use non-pure proc do the filtering manually yourself and don't use this. +Note that the first call to filtered_concrete_typesof with a given type and filter will be (possibly a lot) +slower than doing it manually. The benefit of this proc only shows itself for future calls which are +very fast due to caching.
/proc/get_singletonGets the instance of a singleton type (or a non-singleton type if you decide to use it on one).
/proc/predecessor_path_in_listFind predecessor of a type
/proc/maximal_subtypeReturns the maximal subtype (i.e. the most subby) in a list of given types
/var/by_typecontains lists of objects indexed by their type based on [START_TRACKING] / [STOP_TRACKING]
for_by_tclLoops over all instances of a type that's tracked via the [START_TRACKING] and [STOP_TRACKING] macros. +Example: for_by_tcl(gnome, /obj/item/gnomechompski) qdel(gnome)
/var/by_catcontains lists of objects indexed by a category string based on START_TRACKING_CAT / STOP_TRACKING_CAT
/typeinfotype-level information type
TYPEINFODeclares typeinfo for some type.
/proc/get_type_typeinfoRetrieves the typeinfo datum for a given type.
/proc/type2parentReturns the parent type of a given type. +Assumes that parent_type was not overriden.
/proc/find_first_by_typeFinds some instance of a type in the world. Returns null if none found.
/proc/find_all_by_typeFinds all instance of a type in the world. +Returns a list of the instances if no procedure is given. +Otherwise, calls the procedure for each instance and returns an assoc list of the form list(instance = procedure(instance, arguments...), ...) +procedure_src is the src for the proc call. If it is null, a global proc is called. +If it is the string "instance" the output list will be instead list(instance = instance.procedure(arguments...), ...)
/proc/istypesistype but for checking a list of types
/proc/get_random_subtypeReturns a random subtype when an atom has TYPEINFO with a random_subtypes list
/proc/string_type_of_anythingthing.type but it also returns "num" for numbers etc.

Define Details

ENSURE_TYPE

nulls a var if its value doesn't match the var's type

TYPEINFO

Declares typeinfo for some type.

+

Example:

+
TYPEINFO(/atom)
+	var/monkeys_hate = FALSE
+
+TYPEINFO(/obj/item/clothing/glasses/blindfold)
+	monkeys_hate = TRUE
+
+

Treat this as if you were defining a type. You can add vars and procs, override vars and procs etc. +There might be minor issues if you define TYPEINFO of one type multiple times. Consider using /typeinfo/THE_TYPE for subsequent additions +to the object's typeinfo if you know it has already been declared once using TYPEINFO.

for_by_tcl

Loops over all instances of a type that's tracked via the [START_TRACKING] and [STOP_TRACKING] macros. +Example: for_by_tcl(gnome, /obj/item/gnomechompski) qdel(gnome)

\ No newline at end of file diff --git a/_std/unionfind.html b/_std/unionfind.html new file mode 100644 index 0000000000000..c5c3ab111f8d2 --- /dev/null +++ b/_std/unionfind.html @@ -0,0 +1 @@ +_std/unionfind.dm - Goonstation 13
Goonstation 13 - Modules - Types

_std/unionfind.dm

/datum/unionfindUnion-find data structure.
\ No newline at end of file diff --git a/_std/weakref.html b/_std/weakref.html new file mode 100644 index 0000000000000..d7d0bbc94ebbc --- /dev/null +++ b/_std/weakref.html @@ -0,0 +1,4 @@ +_std/weakref.dm - Goonstation 13
Goonstation 13 - Modules - Types

_std/weakref.dm

/proc/get_weakrefGets a weak reference to the given datum. +This is a basically a reference that will not prevent garbage collection of the datum. Useful when you don't want to "own" the datum in question. +For example a mob holding a reference to its trinket. In that case it doesn't make sense to prevent garbage collection of the trinket. If the +trinket gets destroyed in-game we are fine if this weak reference to the trinket turns to null.
\ No newline at end of file diff --git a/_std/zlevel.html b/_std/zlevel.html new file mode 100644 index 0000000000000..98eb6fa2ebc32 --- /dev/null +++ b/_std/zlevel.html @@ -0,0 +1 @@ +_std/zlevel.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

_std/zlevel.dm

INCLUDE_MAPInstead of #include "foo.dmm" use the following macro which will also store information about the loaded z-level
/var/zlevelsList containing all z-level datums indexed by their z coordinate
/datum/zlevelDatum representing a single z-level

Define Details

INCLUDE_MAP

Instead of #include "foo.dmm" use the following macro which will also store information about the loaded z-level

\ No newline at end of file diff --git a/area.html b/area.html new file mode 100644 index 0000000000000..c90cbb8d2fba1 --- /dev/null +++ b/area.html @@ -0,0 +1,44 @@ +/area - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

Space

Vars

activeTRUE if a dude is here (DOES NOT APPLY TO THE "SPACE" AREA)
allowed_restricted_zAre mobs normally excluded from restricted Z levels allowed to exist here even on restricted Z levels?
area_parallax_render_source_groupThe parallax layer render source group that this area should use.
being_capturedIs the area currently being captured/tagged in gang mode
blockedset to TRUE to inhibit entrance into this area, may not work completely yet.
do_not_irradiate
dont_log_combatDon't combat/explosion log this area (for VR and other gimmicks)
dynamic_map_colour_groupWhether this area should be rendered separately to allow for the map colour to be changed during the game, and if so what area group to be rendered with.
filler_turfif set, replacewithspace in this area instead replaces with this turf type
gang_baseis this a gang's base (uncaptureable)?
gang_ownersgang that owns this area in gang mode
irradiatedspace blowouts use this, should always be 0
is_centcomfor escape checks
machinesLocal list of obj/machines found in the area
map_generatorThis datum, if set, allows terrain generation behavior to be ran on world/proc/init()
may_eat_here_in_restricted_zIf the area is on a restricted z leve, this controls if people can eat within it. (The reason for this might shock you!)
minimaps_to_render_onA flag system for determining which minimap types this area should be rendered on. For available flags, see _std/defines/minimap.dm.
occlude_foreground_parallax_layersWhether foreground parallax layers should be occluded from rendering over the contents of this area.
permaradsBlowouts don't set irradiated on this area back to zero.
populationList of all dudes who are here
sanctuaryset to TRUE to inhibit attacks in this area.
sound_environmentdefault environment for sounds - see sound datum vars documentation for the presets.
sound_loopSet to a sound you want to loop in an area
sound_loop_volVolume for [sound_loop]
station_map_colourWhat colour should be displayed for this tile on the station map?
stormingfor Battle Royale gamemode
teleport_blockedCannot teleport into this area without some explicit set_loc thing. 1 for most things, 2 for definitely everything.
typeinfo_type
workplaceDo people work here?

Procs

EnteredGets called when a movable atom enters an area.
ExitedGets called when a movable atom exits an area.
area_processCalled by /datum/controller/process/area_process. +Runs while area is active, every (gaussian distrib. centered on 12 from 6 to 18) SECONDS
cancel_sound_loopCancel a mob's ambient sound loop when leaving an area
clear_usagesets all current usage of power to 0
find_middleReturns the turf in the middle of the area. Returns null if none can be found.
firealertCauses a fire alert in the area if there is not one already set. Notifies AIs.
fireresetResets the fire alert in the area. Notifies AIs.
get_typereturns a list of objects matching type in an area
get_z_levelThis might be really stupid, but I can't think of a better way
power_changeCalled when power status changes. Updates machinery and the icon of the area.
poweralertCauses a power alert in the area. Notifies AIs.
poweredDetermines is an area is powered or not.
update_iconUpdates the icon of the area. Mainly used for flashing it red or blue. See: old party lights
usageReturns the current usage of the specified channel
use_powerUses the specified ammount of power for the specified channel

Var Details

active

TRUE if a dude is here (DOES NOT APPLY TO THE "SPACE" AREA)

allowed_restricted_z

Are mobs normally excluded from restricted Z levels allowed to exist here even on restricted Z levels?

area_parallax_render_source_group

The parallax layer render source group that this area should use.

being_captured

Is the area currently being captured/tagged in gang mode

blocked

set to TRUE to inhibit entrance into this area, may not work completely yet.

do_not_irradiate

dont_log_combat

Don't combat/explosion log this area (for VR and other gimmicks)

dynamic_map_colour_group

Whether this area should be rendered separately to allow for the map colour to be changed during the game, and if so what area group to be rendered with.

filler_turf

if set, replacewithspace in this area instead replaces with this turf type

gang_base

is this a gang's base (uncaptureable)?

gang_owners

gang that owns this area in gang mode

irradiated

space blowouts use this, should always be 0

is_centcom

for escape checks

machines

Local list of obj/machines found in the area

map_generator

This datum, if set, allows terrain generation behavior to be ran on world/proc/init()

may_eat_here_in_restricted_z

If the area is on a restricted z leve, this controls if people can eat within it. (The reason for this might shock you!)

minimaps_to_render_on

A flag system for determining which minimap types this area should be rendered on. For available flags, see _std/defines/minimap.dm.

occlude_foreground_parallax_layers

Whether foreground parallax layers should be occluded from rendering over the contents of this area.

permarads

Blowouts don't set irradiated on this area back to zero.

population

List of all dudes who are here

sanctuary

set to TRUE to inhibit attacks in this area.

sound_environment

default environment for sounds - see sound datum vars documentation for the presets.

sound_loop

Set to a sound you want to loop in an area

sound_loop_vol

Volume for [sound_loop]

station_map_colour

What colour should be displayed for this tile on the station map?

storming

for Battle Royale gamemode

teleport_blocked

Cannot teleport into this area without some explicit set_loc thing. 1 for most things, 2 for definitely everything.

typeinfo_type

area

+

A grouping of tiles into a logical space. The sworn enemy of mappers.

workplace

Do people work here?

Proc Details

Entered

Gets called when a movable atom enters an area.

Exited

Gets called when a movable atom exits an area.

area_process

Called by /datum/controller/process/area_process. +Runs while area is active, every (gaussian distrib. centered on 12 from 6 to 18) SECONDS

cancel_sound_loop

Cancel a mob's ambient sound loop when leaving an area

clear_usage

sets all current usage of power to 0

find_middle

Returns the turf in the middle of the area. Returns null if none can be found.

firealert

Causes a fire alert in the area if there is not one already set. Notifies AIs.

firereset

Resets the fire alert in the area. Notifies AIs.

get_type

returns a list of objects matching type in an area

get_z_level

This might be really stupid, but I can't think of a better way

power_change

Called when power status changes. Updates machinery and the icon of the area.

poweralert

Causes a power alert in the area. Notifies AIs.

powered

Determines is an area is powered or not.

+

update_icon

Updates the icon of the area. Mainly used for flashing it red or blue. See: old party lights

usage

Returns the current usage of the specified channel

+

use_power

Uses the specified ammount of power for the specified channel

+
\ No newline at end of file diff --git a/area/iomoon.html b/area/iomoon.html new file mode 100644 index 0000000000000..8a7f74230f6e3 --- /dev/null +++ b/area/iomoon.html @@ -0,0 +1 @@ +/area/iomoon - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Lava Moon Surface

Vars

radiation_levelValue to set irradiated to during the mini-blowout.

Var Details

radiation_level

Value to set irradiated to during the mini-blowout.

\ No newline at end of file diff --git a/area/unconnected_zone.html b/area/unconnected_zone.html new file mode 100644 index 0000000000000..0f7d2c51883bc --- /dev/null +++ b/area/unconnected_zone.html @@ -0,0 +1,5 @@ +/area/unconnected_zone - Goonstation 13
Goonstation 13 - Modules - Types

Unconnected Zone

\ No newline at end of file diff --git a/area/upper_arctic.html b/area/upper_arctic.html new file mode 100644 index 0000000000000..0de28cf72a22a --- /dev/null +++ b/area/upper_arctic.html @@ -0,0 +1,9 @@ +/area/upper_arctic - Goonstation 13
Goonstation 13 - Modules - Types

/area/upper_arctic

/// cogwerks - stuff for the precursor ruins and some other various solarium-related puzzles ///////

+

contents: - THERE IS A LOT MORE THAN JUST THIS

+

horrible saxophone thing +orb-teleporter +sound-reactive doors +sound-reactive artifacts +creepy sound triggers

+

////////////////////////////////putting ice moon stuff in here also +//////////// ice moon, hell, and precursor ruins areas

\ No newline at end of file diff --git a/atom.html b/atom.html new file mode 100644 index 0000000000000..4239ac245357f --- /dev/null +++ b/atom.html @@ -0,0 +1,100 @@ +/atom - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/atom

Vars

chat_textAnything can speak... if it can speak
default_materialMaterial id of this object as a material id (lowercase string), set on New()
filter_data@file +@copyright 2020 +@author actioninja (https://github.com/actioninja ) +@license MIT
gas_impermeableIf atmos should be blocked by this - special behaviours handled in gas_cross() overrides
help_messageThe message displayed when the atom is alt+doubleclicked, should contain a description of the atom's functionality. +You can also override get_help_message() to return a message dynamically (based on atom state or the user etc.) +Try to highlight the tools used to do stuff with tags. +DO NOT override this directly, use HELP_MESSAGE_OVERRIDE instead. +Example: HELP_MESSAGE_OVERRIDE("Use a screwdriver to unscrew the cover.")
levelAre we above or below the floor tile?
mat_changeappearanceChange the appearance of this atom when a material is applied?
mat_changedescChange the desc of this atom when a material is applied?
mat_changenameChange the name of this atom when a material is applied?
material_applied_appearanceWhether the last material applied updated appearance. Used for re-applying material appearance on icon update
open_to_soundIf hear_talk is triggered on this object, make my contents hear_talk as well
pass_unstableWhether pathfinding is forbidden from caching the passability of this atom. See /turf/passability_cache
pixel_pointShould points thrown at this take into account the click pixel value
reagentsChemistry.
rest_multA multiplier that changes how an atom stands up from resting. Yes.
statusEffectsList of status effects
storageStorage for items
texture_sizeOverride for the texture size used by setTexture.
typeinfo_typeThe base type for nearly all physical objects in SS13
uses_default_material_appearanceDoes this object use appearance from the default material?
uses_default_material_nameDoes this object use the default material's name?

Procs

Attackbywrapper proc for /atom/proc/attackby so that signals are always sent. Call this, but do not override it.
Attackhandwrapper proc for /atom/proc/attack_hand so that signals are always sent. Call this, but do not override it.
CheckExitWrapper around Uncross for when you want to call it manually with a target turf
CrossThis is the proc to check if a movable can cross this atom. +DO NOT put side effects in this proc, it is called for pathfinding +Seriously I mean it, you think it'll be fine and then it causes the teleporting gene booth bug
MouseDropOverride mouse_drop instead of this. Call this instead of mouse_drop, but you probably shouldn't!
UncrossOverride and return FALSE to prevent O from moving out of the tile where src is. +In order to override this properly be sure to have the do_bump = TRUE default argument AND +to call UNCROSS_BUMP_CHECK(O) in all branches where the return value can be FALSE (assign this return +value to . instead of doing an explicit return).
UpdateIconCall this proc inplace of update_icon(...)
_MouseDrop_TOverride MouseDrop_T instead of this. Call this instead of MouseDrop_T, but you probably shouldn't!
add_fingerprintAdd a mob's fingerprint to something. If hidden_only is TRUE, only add to admin-visible prints.
add_fingerprint_directAdd a fingerprint to an atom directly. Doesn't interact with hidden prints at all
admin_visible_nameA proc to give this item a special name when viewed in an admin context (just the tilde-rightclick menu for now but probably other places later)
attack_handinternal proc for when an atom is attacked by a user's hand. Override this, but do not call it,
attackbyinternal proc for when an atom is attacked by an item. Override this, but do not call it,
blob_actBLOB RELATED PROCS
changeStatusIf atom has status with {statusId}, change by {duration}.
containsReturns true if the given atom is within src's contents (deeply/recursively)
contents_ui_distancepublic
create_reagentsConvenience proc to create a reagents holder for an atom +Max vol is maximum volume of holder
create_storageadd storage to an atom
damage_bluntDoes x blunt damage to the atom
damage_coldDoes x cold damage to the atom
damage_corrosiveDoes x corrosive damage to the atom
damage_electricityDoes x electricity damage to the atom
damage_heatdoes x heat damage to the atom
damage_piercingDoes x piercing damage to the atom
damage_radiationDoes x radiation damage to the atom
damage_slashingDoes x slashing damage to the atom
delStatusDeletes the given status from the atom.
gas_crossChecks whether or not gases can pass through. Called by /turf/gas_cross for all atoms within the turf. +Returns: TRUE for allowed pass and FALSE for denied pass.
getStatusDurationReturns duration of status with given {statusId}, or null if not found.
getStatusListReturns a list of all the datum/statusEffect on source atom.
getStatusPrototypeReturns prototype of status effect from the globalStatusPrototypes list with given {statusId}, or null if not found
get_connected_directions_bitflagReturn a bitflag that represents all potential connected icon_states
get_help_messageOverride this if you want the alt+doubleclick help message to be dynamic (for example based on the state of deconstruction). +For consistency you should always also override help_message at least to a placeholder never-to-be-seen string, this is important +for the context menu functionality. Use the HELP_MESSAGE_OVERRIDE macro to do that.
hasStatusReturns first status with given {statusId} or null if not found.
help_verb_dynamicSame as help_verb but this one except visible, added dynamically when requested by signals
is_open_containerConvenience proc to see if a container is open for chemistry handling +Takes an argument of whether this openness is for the purpose of pouring something in or not (this should maybe just be a separate flag but we ran out of bits okay) +returns true if open, false if closed
material_on_attack_useCalled when an atom is used for an attack a atom for mat effects
material_trigger_on_blob_attackedCalled when an atom or someone wearing the material is attacked for mat effects
material_trigger_on_bulletCalled when an atom is hit by a bullet for mat effects
material_trigger_on_chemsCalled when an atom is hit by a bullet for mat effects
material_trigger_on_explosionCalled when an atom is caught in an explosion
material_trigger_on_mob_attackedCalled when a mob holding this atom is attacked for mat effects
material_trigger_on_tempCalled when an atom is affected by a heat change
material_trigger_when_attackedCalled when the item is attacked with another atom for mat effects. +If someone is smashed against the item or with hands, the mob itself is expected to be passed as attackatom
onMaterialChangedCalled AFTER the material of the object was changed.
removeMaterialSimply removes a material from an object.
remove_storageremove atom's storage
return_airif direct then only return gas ACTUALLY inside the thing rather than surrounding air
setMaterialSets the material of an object. PLEASE USE THIS TO SET MATERIALS UNLESS YOU KNOW WHAT YOU'RE DOING.
setMaterialAppearancesets the appearance of a material, but does not trigger any tiggerOnAdd or onMaterialChanged behaviour +Order of precedence is as follows: +if the material is in the list of appearences to ignore, do nothing +If an iconstate exists in the icon for iconstate$$materialID, that is chosen +If the material has mat_changeappaerance set, then first texture is applied, then color (including alpha)
setMaterialAppearanceForImageApplies material icon_state override to an /image based on this atom's material (or the material provided)
setStatusIf atom has status with {statusId}, set it to {duration}.
set_icon_stateChanges the icon state and returns TRUE if the icon state changed.
set_open_containerSet a container to be open or closed and handle chemistry reactions that might happen as a result
should_auto_connectCheck a turf and its contents to see if they're a valid auto-connection target
special_desc
temperature_exposeExposes our reagents and material to some temperature, letting them figure out how to react to it.
tri_messageUsed in messages with three separate parties that should receive different messages +second_target - the second individual involved in the interaction, with the source atom being the first individual +viewer_message - the message shown to observers that aren't specified targets +first_message - the message shown to the atom this proc is called from +second_message - the message shown to second_target +blind_message (optional) is what blind people will hear, e.g. "You hear something!" +Observers in range of either target will see the message, so the proc can be called on either target
try_set_icon_stateChecks if the icon state in question exists. If it does it sets it and returns true. Otherwise returns false and doesn't change the icon state. +You can supply the new_icon argument to also override src.icon. This will again only be overriden if the icon state + icon combination exists. +Not intended for normal use. Current intended use is stuff like src.try_set_icon_state(src.icon_state + "-autumn") for seasonal modifiers etc.
updateStatusUiStub. Override for objects that need to update their ui with status effect information.
update_iconDO NOT CALL THIS PROC - Call UpdateIcon(...) Instead!

Var Details

chat_text

Anything can speak... if it can speak

default_material

Material id of this object as a material id (lowercase string), set on New()

filter_data

@file +@copyright 2020 +@author actioninja (https://github.com/actioninja ) +@license MIT

gas_impermeable

If atmos should be blocked by this - special behaviours handled in gas_cross() overrides

help_message

The message displayed when the atom is alt+doubleclicked, should contain a description of the atom's functionality. +You can also override get_help_message() to return a message dynamically (based on atom state or the user etc.) +Try to highlight the tools used to do stuff with tags. +DO NOT override this directly, use HELP_MESSAGE_OVERRIDE instead. +Example: HELP_MESSAGE_OVERRIDE("Use a screwdriver to unscrew the cover.")

level

Are we above or below the floor tile?

mat_changeappearance

Change the appearance of this atom when a material is applied?

mat_changedesc

Change the desc of this atom when a material is applied?

mat_changename

Change the name of this atom when a material is applied?

material_applied_appearance

Whether the last material applied updated appearance. Used for re-applying material appearance on icon update

open_to_sound

If hear_talk is triggered on this object, make my contents hear_talk as well

pass_unstable

Whether pathfinding is forbidden from caching the passability of this atom. See /turf/passability_cache

pixel_point

Should points thrown at this take into account the click pixel value

reagents

Chemistry.

rest_mult

A multiplier that changes how an atom stands up from resting. Yes.

statusEffects

List of status effects

storage

Storage for items

texture_size

Override for the texture size used by setTexture.

typeinfo_type

The base type for nearly all physical objects in SS13

+

Lots of functionality resides in this type.

uses_default_material_appearance

Does this object use appearance from the default material?

uses_default_material_name

Does this object use the default material's name?

Proc Details

Attackby

wrapper proc for /atom/proc/attackby so that signals are always sent. Call this, but do not override it.

Attackhand

wrapper proc for /atom/proc/attack_hand so that signals are always sent. Call this, but do not override it.

CheckExit

Wrapper around Uncross for when you want to call it manually with a target turf

Cross

This is the proc to check if a movable can cross this atom. +DO NOT put side effects in this proc, it is called for pathfinding +Seriously I mean it, you think it'll be fine and then it causes the teleporting gene booth bug

MouseDrop

Override mouse_drop instead of this. Call this instead of mouse_drop, but you probably shouldn't!

Uncross

Override and return FALSE to prevent O from moving out of the tile where src is. +In order to override this properly be sure to have the do_bump = TRUE default argument AND +to call UNCROSS_BUMP_CHECK(O) in all branches where the return value can be FALSE (assign this return +value to . instead of doing an explicit return).

UpdateIcon

Call this proc inplace of update_icon(...)

_MouseDrop_T

Override MouseDrop_T instead of this. Call this instead of MouseDrop_T, but you probably shouldn't!

add_fingerprint

Add a mob's fingerprint to something. If hidden_only is TRUE, only add to admin-visible prints.

add_fingerprint_direct

Add a fingerprint to an atom directly. Doesn't interact with hidden prints at all

admin_visible_name

A proc to give this item a special name when viewed in an admin context (just the tilde-rightclick menu for now but probably other places later)

attack_hand

internal proc for when an atom is attacked by a user's hand. Override this, but do not call it,

attackby

internal proc for when an atom is attacked by an item. Override this, but do not call it,

blob_act

BLOB RELATED PROCS

changeStatus

If atom has status with {statusId}, change by {duration}.

+

(The change is relative to the current value, think +=) +If atom does not have status, add it with given {duration}. +In both cases {optional} will be passed into either .onAdd or .onChange on the status effect. Useful for custom behaviour.

+

contains

Returns true if the given atom is within src's contents (deeply/recursively)

contents_ui_distance

public

+

Check the distance for a living mob. +Really only used for checks outside the context of a mob. +Otherwise, use shared_living_ui_distance().

+

required src_object The object which owns the UI. +required user mob The mob who opened/is using the UI.

+

return UI_state The state of the UI.

create_reagents

Convenience proc to create a reagents holder for an atom +Max vol is maximum volume of holder

create_storage

add storage to an atom

damage_blunt

Does x blunt damage to the atom

damage_cold

Does x cold damage to the atom

damage_corrosive

Does x corrosive damage to the atom

damage_electricity

Does x electricity damage to the atom

damage_heat

does x heat damage to the atom

damage_piercing

Does x piercing damage to the atom

damage_radiation

Does x radiation damage to the atom

damage_slashing

Does x slashing damage to the atom

delStatus

Deletes the given status from the atom.

+

{status} can either be a reference to a status effect or a status effect ID.

gas_cross

Checks whether or not gases can pass through. Called by /turf/gas_cross for all atoms within the turf. +Returns: TRUE for allowed pass and FALSE for denied pass.

getStatusDuration

Returns duration of status with given {statusId}, or null if not found.

getStatusList

Returns a list of all the datum/statusEffect on source atom.

+

{statusId} optional status ID to match, otherwise matches any status type +{optionalArgs} can be passed in for additional checks that are handled in the effects .onCheck proc. +Useful if you want to check some custom conditions on status effects.

getStatusPrototype

Returns prototype of status effect from the globalStatusPrototypes list with given {statusId}, or null if not found

get_connected_directions_bitflag

Return a bitflag that represents all potential connected icon_states

+

connecting with diagonal tiles require additional bitflags +i.e. there is a difference between N & E, and N & E & NE

+

N, S, E, W, NE, SE, SW, NW

+

1, 2, 4, 8, 16, 32, 64, 128

+

connect_diagonals 0 = no diagonal sprites, 1 = diagonal only if both adjacent cardinals are present, 2 = always allow diagonals

get_help_message

Override this if you want the alt+doubleclick help message to be dynamic (for example based on the state of deconstruction). +For consistency you should always also override help_message at least to a placeholder never-to-be-seen string, this is important +for the context menu functionality. Use the HELP_MESSAGE_OVERRIDE macro to do that.

hasStatus

Returns first status with given {statusId} or null if not found.

+

{optionalArgs} can be passed in for additional checks that are handled in the effects .onCheck proc. +Useful if you want to check some custom conditions on status effects.

help_verb_dynamic

Same as help_verb but this one except visible, added dynamically when requested by signals

is_open_container

Convenience proc to see if a container is open for chemistry handling +Takes an argument of whether this openness is for the purpose of pouring something in or not (this should maybe just be a separate flag but we ran out of bits okay) +returns true if open, false if closed

material_on_attack_use

Called when an atom is used for an attack a atom for mat effects

material_trigger_on_blob_attacked

Called when an atom or someone wearing the material is attacked for mat effects

material_trigger_on_bullet

Called when an atom is hit by a bullet for mat effects

material_trigger_on_chems

Called when an atom is hit by a bullet for mat effects

material_trigger_on_explosion

Called when an atom is caught in an explosion

material_trigger_on_mob_attacked

Called when a mob holding this atom is attacked for mat effects

material_trigger_on_temp

Called when an atom is affected by a heat change

material_trigger_when_attacked

Called when the item is attacked with another atom for mat effects. +If someone is smashed against the item or with hands, the mob itself is expected to be passed as attackatom

onMaterialChanged

Called AFTER the material of the object was changed.

removeMaterial

Simply removes a material from an object.

remove_storage

remove atom's storage

return_air

if direct then only return gas ACTUALLY inside the thing rather than surrounding air

setMaterial

Sets the material of an object. PLEASE USE THIS TO SET MATERIALS UNLESS YOU KNOW WHAT YOU'RE DOING.

setMaterialAppearance

sets the appearance of a material, but does not trigger any tiggerOnAdd or onMaterialChanged behaviour +Order of precedence is as follows: +if the material is in the list of appearences to ignore, do nothing +If an iconstate exists in the icon for iconstate$$materialID, that is chosen +If the material has mat_changeappaerance set, then first texture is applied, then color (including alpha)

setMaterialAppearanceForImage

Applies material icon_state override to an /image based on this atom's material (or the material provided)

setStatus

If atom has status with {statusId}, set it to {duration}.

+

(The change is absolute, think =)

+

If atom does not have status, add it with given {duration}.

+

In both cases {optional} will be passed into either .onAdd or .onChange on the status effect. Useful for custom behaviour.

+

set_icon_state

Changes the icon state and returns TRUE if the icon state changed.

set_open_container

Set a container to be open or closed and handle chemistry reactions that might happen as a result

should_auto_connect

Check a turf and its contents to see if they're a valid auto-connection target

special_desc

temperature_expose

Exposes our reagents and material to some temperature, letting them figure out how to react to it.

tri_message

Used in messages with three separate parties that should receive different messages +second_target - the second individual involved in the interaction, with the source atom being the first individual +viewer_message - the message shown to observers that aren't specified targets +first_message - the message shown to the atom this proc is called from +second_message - the message shown to second_target +blind_message (optional) is what blind people will hear, e.g. "You hear something!" +Observers in range of either target will see the message, so the proc can be called on either target

try_set_icon_state

Checks if the icon state in question exists. If it does it sets it and returns true. Otherwise returns false and doesn't change the icon state. +You can supply the new_icon argument to also override src.icon. This will again only be overriden if the icon state + icon combination exists. +Not intended for normal use. Current intended use is stuff like src.try_set_icon_state(src.icon_state + "-autumn") for seasonal modifiers etc.

updateStatusUi

Stub. Override for objects that need to update their ui with status effect information.

update_icon

DO NOT CALL THIS PROC - Call UpdateIcon(...) Instead!

+

Only override this proc!

\ No newline at end of file diff --git a/atom/movable.html b/atom/movable.html new file mode 100644 index 0000000000000..b66692d7c3f01 --- /dev/null +++ b/atom/movable.html @@ -0,0 +1,7 @@ +/atom/movable - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/atom/movable

Vars

always_slow_pullwhether it uses p_class regardless of pull_slowing.
attached_objsList of attached objects. Objects in this list will follow this atom around as it moves.
is_syndicateCan this only be scanned with a syndicate mech scanner?
mechanics_interactionDictates how this object behaves when scanned with a device analyzer or equivalent - see "_std/defines/mechanics.dm" for docs
mechanics_type_overrideIf defined, device analyzer scans will yield this typepath (instead of the default, which is just the object's type itself)
movement_newlocTemporary value to smuggle newloc to Uncross during Move-related procs
no_gravityContinue moving until a wall or solid object is hit.
p_classhow much it slows you down while pulling it, changed this from w_class because that's gunna cause issues with items that shouldn't fit in backpacks but also shouldn't slow you down to pull (sorry grayshift)
pulled_byWhich mob is pulling this movable currently

Procs

OnMovecalled once per player-invoked move, regardless of diagonal etc +called via pulls and mob steps
experience_pressure_differenceIf the pressure delta is higher than our pressure resistance, move in the direction of the pressure differential as long as we are not anchored. +Returns: TRUE on successful movement. FALSE if aborted.
hologram_effectTurns the atom into a transparent, blueish, flickering hologram +if you want to ignore lighting you also have to render above EVERYTHING ELSE so use with caution
pullBase pull proc, returns 1 if the various checks for pulling fail, so that it can be overriden to add extra functionality without rewriting all the conditions.

Var Details

always_slow_pull

whether it uses p_class regardless of pull_slowing.

attached_objs

List of attached objects. Objects in this list will follow this atom around as it moves.

is_syndicate

Can this only be scanned with a syndicate mech scanner?

mechanics_interaction

Dictates how this object behaves when scanned with a device analyzer or equivalent - see "_std/defines/mechanics.dm" for docs

mechanics_type_override

If defined, device analyzer scans will yield this typepath (instead of the default, which is just the object's type itself)

movement_newloc

Temporary value to smuggle newloc to Uncross during Move-related procs

no_gravity

Continue moving until a wall or solid object is hit.

p_class

how much it slows you down while pulling it, changed this from w_class because that's gunna cause issues with items that shouldn't fit in backpacks but also shouldn't slow you down to pull (sorry grayshift)

pulled_by

Which mob is pulling this movable currently

Proc Details

OnMove

called once per player-invoked move, regardless of diagonal etc +called via pulls and mob steps

experience_pressure_difference

If the pressure delta is higher than our pressure resistance, move in the direction of the pressure differential as long as we are not anchored. +Returns: TRUE on successful movement. FALSE if aborted.

hologram_effect

Turns the atom into a transparent, blueish, flickering hologram +if you want to ignore lighting you also have to render above EVERYTHING ELSE so use with caution

pull

Base pull proc, returns 1 if the various checks for pulling fail, so that it can be overriden to add extra functionality without rewriting all the conditions.

\ No newline at end of file diff --git a/atom/movable/minimap_ui_handler.html b/atom/movable/minimap_ui_handler.html new file mode 100644 index 0000000000000..4aaebe4ee90fb --- /dev/null +++ b/atom/movable/minimap_ui_handler.html @@ -0,0 +1,2 @@ +/atom/movable/minimap_ui_handler - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/atom/movable/minimap_ui_handler

Minimap UI handles are responsible for all TGUI logic pertaining to minimaps and minimap controllers. This typically +involves setting up the ByondUI to display the minimap and passing other parameters to the UI.

Vars

handlerThe screen handler which the minimap object is placed into.
minimapThe "minimap" object which will be displayed onto the client's screen. Not explicitly defined, as it may also be of type obj/minimap_controller.
minimap_idThe current unique ID of the minimap, used for rendering it in a ByondUI component.
tgui_themeThe theme that the tgui window should use. For a list of all themes, see tgui/packages/tgui/styles/themes.
tgui_titleThe title that the tgui window should display.
viewersAll clients who currently have the minimap ui open.

Procs

add_clientAdds a subscribed client.
remove_clientRemoves a subscribed client.

Var Details

handler

The screen handler which the minimap object is placed into.

minimap

The "minimap" object which will be displayed onto the client's screen. Not explicitly defined, as it may also be of type obj/minimap_controller.

minimap_id

The current unique ID of the minimap, used for rendering it in a ByondUI component.

tgui_theme

The theme that the tgui window should use. For a list of all themes, see tgui/packages/tgui/styles/themes.

tgui_title

The title that the tgui window should display.

viewers

All clients who currently have the minimap ui open.

Proc Details

add_client

Adds a subscribed client.

remove_client

Removes a subscribed client.

\ No newline at end of file diff --git a/atom/movable/minimap_ui_handler/minimap_controller.html b/atom/movable/minimap_ui_handler/minimap_controller.html new file mode 100644 index 0000000000000..2f732408abd4b --- /dev/null +++ b/atom/movable/minimap_ui_handler/minimap_controller.html @@ -0,0 +1 @@ +/atom/movable/minimap_ui_handler/minimap_controller - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/atom/movable/minimap_ui_handler/minimap_controller

Vars

markers_visibleWhether the next call of "toggle_visibility_all" will turn all markers opaque or transparent. Does not reflect whether the markers are opaque or transparent.
minimap_controllerThe minimap controller object, containing data on selected coordinates and the controlled minimap.
minimap_markers_listAn associative list of data for each minimap marker, so that the UI may read it.

Var Details

markers_visible

Whether the next call of "toggle_visibility_all" will turn all markers opaque or transparent. Does not reflect whether the markers are opaque or transparent.

minimap_controller

The minimap controller object, containing data on selected coordinates and the controlled minimap.

minimap_markers_list

An associative list of data for each minimap marker, so that the UI may read it.

\ No newline at end of file diff --git a/atom/movable/screen.html b/atom/movable/screen.html new file mode 100644 index 0000000000000..5edd2bc88a4e6 --- /dev/null +++ b/atom/movable/screen.html @@ -0,0 +1,7 @@ +/atom/movable/screen - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

screen

Procs

set_positionSets screen_loc of this screen object, in form of point coordinates, +with optional pixel offset (px, py).

Proc Details

set_position

Sets screen_loc of this screen object, in form of point coordinates, +with optional pixel offset (px, py).

+

There's finer equivalents below this for hud datums

+

If applicable, "assigned_map" has to be assigned before this proc call.

+

Code Snippet licensed under MIT from /tg/station (#49960) +Copyright (c) 2020 Aleksej Komarov

\ No newline at end of file diff --git a/atom/movable/screen/control_point.html b/atom/movable/screen/control_point.html new file mode 100644 index 0000000000000..c782fa763611f --- /dev/null +++ b/atom/movable/screen/control_point.html @@ -0,0 +1 @@ +/atom/movable/screen/control_point - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

Score

Procs

change_colorteam, neutral = 0, NT = 1, SY = 2

Proc Details

change_color

team, neutral = 0, NT = 1, SY = 2

\ No newline at end of file diff --git a/atom/movable/screen/hud/relay.html b/atom/movable/screen/hud/relay.html new file mode 100644 index 0000000000000..ee8db06158a63 --- /dev/null +++ b/atom/movable/screen/hud/relay.html @@ -0,0 +1 @@ +/atom/movable/screen/hud/relay - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

Relay Progress

Relay HUD icon for flockminds and player-controlled flockdrones to show progress towards objective

Procs

update_valueUpdate everything about the icon and description

Proc Details

update_value

Update everything about the icon and description

\ No newline at end of file diff --git a/atom/movable/screen/hud/score_board.html b/atom/movable/screen/hud/score_board.html new file mode 100644 index 0000000000000..e658a07975da5 --- /dev/null +++ b/atom/movable/screen/hud/score_board.html @@ -0,0 +1 @@ +/atom/movable/screen/hud/score_board - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

Score

SCOREBOARD STUFF

Procs

change_control_point_ownertakes the control point screen object's true_name var and the team_num of the new owner: NT=1, SY=2

Proc Details

change_control_point_owner

takes the control point screen object's true_name var and the team_num of the new owner: NT=1, SY=2

\ No newline at end of file diff --git a/atom/movable/screen/parallax_layer.html b/atom/movable/screen/parallax_layer.html new file mode 100644 index 0000000000000..cc8eb4f4aea29 --- /dev/null +++ b/atom/movable/screen/parallax_layer.html @@ -0,0 +1 @@ +/atom/movable/screen/parallax_layer - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/atom/movable/screen/parallax_layer

Vars

animation_pixel_x_offsetThe x pixel offset required for a scrolling layer to remain within the boundaries of a client's screen.
animation_pixel_y_offsetThe y pixel offset required for a scrolling layer to remain within the boundaries of a client's screen.
initial_pixel_x_offsetThe initial x pixel offset required to centre the layer on the client's screen.
initial_pixel_y_offsetThe initial y pixel offset required to centre the layer on the client's screen.
ownerThe client that this parallax layer belongs to.
parallax_render_sourceThe parallax render source that this layer should use, containing data on appearance, parallax value, scroll speed, and so forth.

Procs

offset_layerOffsets the parallax layer using a transformation to either appear in the centre of the client's screen, or appear centred when the client is at the initial x and y coordinates.
scroll_layerAnimates the parallax layer so that it appears to be infinitely moving in one direction, using the scroll_speed, parallax_value, and scroll_angle variables.

Var Details

animation_pixel_x_offset

The x pixel offset required for a scrolling layer to remain within the boundaries of a client's screen.

animation_pixel_y_offset

The y pixel offset required for a scrolling layer to remain within the boundaries of a client's screen.

initial_pixel_x_offset

The initial x pixel offset required to centre the layer on the client's screen.

initial_pixel_y_offset

The initial y pixel offset required to centre the layer on the client's screen.

owner

The client that this parallax layer belongs to.

parallax_render_source

The parallax render source that this layer should use, containing data on appearance, parallax value, scroll speed, and so forth.

Proc Details

offset_layer

Offsets the parallax layer using a transformation to either appear in the centre of the client's screen, or appear centred when the client is at the initial x and y coordinates.

scroll_layer

Animates the parallax layer so that it appears to be infinitely moving in one direction, using the scroll_speed, parallax_value, and scroll_angle variables.

\ No newline at end of file diff --git a/atom/movable/screen/parallax_render_source.html b/atom/movable/screen/parallax_render_source.html new file mode 100644 index 0000000000000..2b8011348b4c0 --- /dev/null +++ b/atom/movable/screen/parallax_render_source.html @@ -0,0 +1,10 @@ +/atom/movable/screen/parallax_render_source - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/atom/movable/screen/parallax_render_source

Parallax render sources are screens that hold the appearance data for a specific type of parallax layer; this appearance +is then drawn to client parallax layers using render targets and sources. This permits the appearance of a specific parallax +layer to be edited at runtime and efficiently distributed across all applicable clients.

Vars

icon_heightThe height of the icon to be used for each tile of the parallax layer, stored as to save processing time.
icon_widthThe width of the icon to be used for each tile of the parallax layer, stored as to save processing time.
initial_x_coordinateThe x coordinate at which the parallax layer will be centred in the x-axis on the client's screen. Has no effect on layers set to tessellate.
initial_y_coordinateThe y coordinate at which the parallax layer will be centred in the y-axis on the client's screen. Has no effect on layers set to tessellate.
parallax_iconThe icon file that the icon for each tile of the parallax layer will draw from.
parallax_icon_stateThe icon state that the icon for each tile of the parallax layer will use.
parallax_valueHow much the parallax layer should move in response to the player moving;
scroll_angleThe compass bearing, in degrees, in which the parallax layer is to move. North: 0/360, East: 90, South: 180, West: 270.
scroll_speedThe non-parallax-adjusted speed at which the parallax layer should move. The real speed may be derived through scroll_speed * parallax_value.
static_colourIf set to TRUE, the parallax layer render source will retain its original colour when /proc/recolour_parallax_render_sources() is called.
tessellateWhether the selected icon for the parallax layer should tessellate across the client's screen.
visible_to_gpsIs this a celestial feature that shows up on PDA space GPS programs

Procs

tessellateIf the parallax render source is set to tessellate, duplicates and offsets the selected icon for the parallax render source, so that the render source appears as a seamless image.

Var Details

icon_height

The height of the icon to be used for each tile of the parallax layer, stored as to save processing time.

icon_width

The width of the icon to be used for each tile of the parallax layer, stored as to save processing time.

initial_x_coordinate

The x coordinate at which the parallax layer will be centred in the x-axis on the client's screen. Has no effect on layers set to tessellate.

initial_y_coordinate

The y coordinate at which the parallax layer will be centred in the y-axis on the client's screen. Has no effect on layers set to tessellate.

parallax_icon

The icon file that the icon for each tile of the parallax layer will draw from.

parallax_icon_state

The icon state that the icon for each tile of the parallax layer will use.

parallax_value

How much the parallax layer should move in response to the player moving;

+

scroll_angle

The compass bearing, in degrees, in which the parallax layer is to move. North: 0/360, East: 90, South: 180, West: 270.

scroll_speed

The non-parallax-adjusted speed at which the parallax layer should move. The real speed may be derived through scroll_speed * parallax_value.

static_colour

If set to TRUE, the parallax layer render source will retain its original colour when /proc/recolour_parallax_render_sources() is called.

tessellate

Whether the selected icon for the parallax layer should tessellate across the client's screen.

visible_to_gps

Is this a celestial feature that shows up on PDA space GPS programs

Proc Details

tessellate

If the parallax render source is set to tessellate, duplicates and offsets the selected icon for the parallax render source, so that the render source appears as a seamless image.

\ No newline at end of file diff --git a/atom/movable/screen/plane_parent.html b/atom/movable/screen/plane_parent.html new file mode 100644 index 0000000000000..41e3dce387d12 --- /dev/null +++ b/atom/movable/screen/plane_parent.html @@ -0,0 +1 @@ +/atom/movable/screen/plane_parent - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/atom/movable/screen/plane_parent

Vars

distortDetermines whether this plane is affected by the distortion filter

Var Details

distort

Determines whether this plane is affected by the distortion filter

\ No newline at end of file diff --git a/client.html b/client.html new file mode 100644 index 0000000000000..b5e8954f63209 --- /dev/null +++ b/client.html @@ -0,0 +1,76 @@ +/client - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/client

Vars

applied_keybind_stylesList on each client containing the styles we've applied so we don't double-apply.
refresh_varedit_onchangecontrols whether or not the varedit page is refreshed after altering variables
saturation_matrixsaturation_matrix: the client's game saturation +color_matrix: the client's game color (tint)
tgui_cache_reloadedglobal
tgui_windowsglobal

Procs

TestMarketReqProc to test a standard market contract for functionality. Test special orders with random event trigger instead.
apply_keybind
apply_keys
build_listIteratively build a new list, then return it.
check_newbeemarks a player as a newbee if they are below the newbee rounds threshold. Grants them various new player indicators.
cmd_admin_show_player_statsA bunch of procs for showing admins player data from the central API databases
enable_waterflowmob/EnteredAirborneFluid(obj/fluid/F as obj, atom/oldloc)
flash_windowFlashes the window in the Windows titlebar
getDefaultVolumeReturns the default volume for a channel, unattenuated for the master channel (0-1)
getMasterVolumeReturns the master volume (0-1)
getRealVolumeReturns the true volume for a channel, unattenuated for the master channel (0-1)
getVolumeReturns the volume to set /sound/var/volume to for the given channel(so 0-100)
getVolumeChannelDescriptionGet the friendly description for a specific sound channel.
getVolumeDescriptionsReturns a list of friendly descriptions for available sound channels
getVolumeNamesReturns a list of friendly names for available sound channels
get_keybind_style_datum
has_login_notice_pendingReturns 1 if a login message is pending, 0 otherwise
input_dataFor inputting data for things like edit-variables, proccall, etc +Generally you should only use the associated defines for allowed_types. However, you CAN display anything as a choice for the user, allowing for +custom prompts for specific cases. Just make sure the caller can handle the case! +@param allowed_types The types of input which are allowed, which the user selects from. The selected type is returned as part of the data_input_result +@param custom_title If not null, set as the title for the input +@param custom_text If not null, set as the text for the input +@param default The default value, if default_type is chosen as the input type +@param default_type The default input type +@param custom_type_title If not null, set as the title for input type selection +@param custom_type_message If not null, set as the text for input type selection +@return A data_input_result with the parsed input and the selected input type, or both null if we didn't get any data
playAmbience
setVolumeSets and applies the volume for a channel (0-1)
show_login_noticeShows a login notice, if one exists
spawn_custom_transmutationSpawn custom reagent that can transform turfs and objs to whatever material you desire.
suggest_input_typeGet a suggested input type based on the thing you're editing +@param var_value The value to evaluate +@param varname The name of the variable +@return Suggested input type for input_data()
uicloseverb
viewnewvote/mob/verb/vote_new() +set name = "Initiate Vote"
vpn_bonkboots player and displays VPN message

Var Details

applied_keybind_styles

List on each client containing the styles we've applied so we don't double-apply.

refresh_varedit_onchange

controls whether or not the varedit page is refreshed after altering variables

saturation_matrix

saturation_matrix: the client's game saturation +color_matrix: the client's game color (tint)

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.

Proc Details

TestMarketReq

Proc to test a standard market contract for functionality. Test special orders with random event trigger instead.

+

Will add the contract to requisitions list and pin the contract, ignoring the one-pin limit or any contract type pin restrictions. +Don't use this in live rounds, pin behavior will be wonky.

apply_keybind

apply_keys

build_list

Iteratively build a new list, then return it.

check_newbee

marks a player as a newbee if they are below the newbee rounds threshold. Grants them various new player indicators.

cmd_admin_show_player_stats

A bunch of procs for showing admins player data from the central API databases

+

Verbs

enable_waterflow

mob/EnteredAirborneFluid(obj/fluid/F as obj, atom/oldloc)

flash_window

Flashes the window in the Windows titlebar

getDefaultVolume

Returns the default volume for a channel, unattenuated for the master channel (0-1)

getMasterVolume

Returns the master volume (0-1)

getRealVolume

Returns the true volume for a channel, unattenuated for the master channel (0-1)

getVolume

Returns the volume to set /sound/var/volume to for the given channel(so 0-100)

getVolumeChannelDescription

Get the friendly description for a specific sound channel.

getVolumeDescriptions

Returns a list of friendly descriptions for available sound channels

getVolumeNames

Returns a list of friendly names for available sound channels

get_keybind_style_datum

has_login_notice_pending

Returns 1 if a login message is pending, 0 otherwise

input_data

For inputting data for things like edit-variables, proccall, etc +Generally you should only use the associated defines for allowed_types. However, you CAN display anything as a choice for the user, allowing for +custom prompts for specific cases. Just make sure the caller can handle the case! +@param allowed_types The types of input which are allowed, which the user selects from. The selected type is returned as part of the data_input_result +@param custom_title If not null, set as the title for the input +@param custom_text If not null, set as the text for the input +@param default The default value, if default_type is chosen as the input type +@param default_type The default input type +@param custom_type_title If not null, set as the title for input type selection +@param custom_type_message If not null, set as the text for input type selection +@return A data_input_result with the parsed input and the selected input type, or both null if we didn't get any data

playAmbience

* Client part of the Area Ambience Project
+
+* Calling this proc is handled by the Area our client is in, see [area/proc/Exited()] and [area/proc/Entered()]
+
+* LOOPING channel sound will keep playing until fed a pass_volume of 0 (done automagically)
+* For FX sounds, they will play once.
+
+* FX_1 is area-specific background noise handled by area/pickAmbience(), FX_2 is more noticeable stuff directly triggered, normally shorter
+

setVolume

Sets and applies the volume for a channel (0-1)

show_login_notice

Shows a login notice, if one exists

spawn_custom_transmutation

Spawn custom reagent that can transform turfs and objs to whatever material you desire.

suggest_input_type

Get a suggested input type based on the thing you're editing +@param var_value The value to evaluate +@param varname The name of the variable +@return Suggested input type for input_data()

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.

viewnewvote

/mob/verb/vote_new() +set name = "Initiate Vote"

+
//if(!config.allow_vote_restart && !config.allow_vote_mode && !src.client.holder)
+//	boutput(src, SPAN_ALERT("Player voting disabled."))
+//	return
+if(!ticker)
+	boutput(src, SPAN_ALERT("Can not start votes before the game starts."))
+	return
+if(!vote_manager) return //shits hitting the fan at ludicrous speeds
+if(vote_manager.active_vote) vote_manager.show_vote(src.client)
+else
+	if(src.ckey in vote_log)
+		if(vote_log[src.ckey] < max_votes_per_round)
+			if(vote_manager.show_vote_selection(src.client)) vote_log[src.ckey]++
+		else
+			boutput(src, SPAN_ALERT("You may not start any more votes this round. (Maximum reached : [max_votes_per_round])"))
+	else
+		if(vote_manager.show_vote_selection(src.client)) vote_log[src.ckey] = 1
+

vpn_bonk

boots player and displays VPN message

\ No newline at end of file diff --git a/code/WorkInProgress/AbilityItem.html b/code/WorkInProgress/AbilityItem.html new file mode 100644 index 0000000000000..0c5529731969f --- /dev/null +++ b/code/WorkInProgress/AbilityItem.html @@ -0,0 +1 @@ +code/WorkInProgress/AbilityItem.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/WorkInProgress/AbilityItem.dm

/obj/ability_button/shoerocketSonic + Rocket Shoe Abilities & Smoke
\ No newline at end of file diff --git a/code/WorkInProgress/GerhazoStuff.html b/code/WorkInProgress/GerhazoStuff.html new file mode 100644 index 0000000000000..2cfec77ca03f7 --- /dev/null +++ b/code/WorkInProgress/GerhazoStuff.html @@ -0,0 +1,5 @@ +code/WorkInProgress/GerhazoStuff.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/WorkInProgress/GerhazoStuff.dm

/mob/living/carbon/human/cyalume_knightCyalume knight stuff
/datum/abilityHolder/cyalume_knightAbility holder
/mob/living/silicon/robot/buddy/responsiveCyalume knight stuff +Guardbuddy stuff
/datum/mutation_orb_mutdataGuardbuddy stuff +Mutation orb stuff //
/obj/item/rejuvenation_featherMutation orb stuff +Generic unique items stuff
/datum/property_setter_propertyGeneric unique items stuff +Clothing properties stuff
\ No newline at end of file diff --git a/code/WorkInProgress/Hydrothings.html b/code/WorkInProgress/Hydrothings.html new file mode 100644 index 0000000000000..ad82066013147 --- /dev/null +++ b/code/WorkInProgress/Hydrothings.html @@ -0,0 +1 @@ +code/WorkInProgress/Hydrothings.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/WorkInProgress/Hydrothings.dm

/obj/critter/hooteningALTERNATE HOOTENING ATTEMPT
/obj/npc/trader/gregGREG THE COOL AWESOME ROBOT TRADER
\ No newline at end of file diff --git a/code/WorkInProgress/MarqStuff.html b/code/WorkInProgress/MarqStuff.html new file mode 100644 index 0000000000000..021a52ec006f2 --- /dev/null +++ b/code/WorkInProgress/MarqStuff.html @@ -0,0 +1 @@ +code/WorkInProgress/MarqStuff.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/WorkInProgress/MarqStuff.dm

/proc/bash_explodeBASH explode: Splits a string into string pieces the same way BASH handles this.
\ No newline at end of file diff --git a/code/WorkInProgress/SpyGuyStuff.html b/code/WorkInProgress/SpyGuyStuff.html new file mode 100644 index 0000000000000..921b638f7f276 --- /dev/null +++ b/code/WorkInProgress/SpyGuyStuff.html @@ -0,0 +1 @@ +code/WorkInProgress/SpyGuyStuff.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

code/WorkInProgress/SpyGuyStuff.dm

/obj/item/gun/energy/tommy_gunTommy Gun
/datum/spectro_analysisAnalysis datum for the spectrometer
/obj/triggerTrigger
/datum/projectile/energy_bolt_v/trumpetDonald Trumpet
/obj/machinery/power/debug_generatorPower machine
INIT_CHECKSpy GUI (ha ha ha ha)
/obj/solar_controlSolar Panel thingamajig
/obj/item/garroteFibre wire

Define Details

INIT_CHECK

Spy GUI (ha ha ha ha)

\ No newline at end of file diff --git a/code/WorkInProgress/aloe_stuff_public.html b/code/WorkInProgress/aloe_stuff_public.html new file mode 100644 index 0000000000000..1a78145c0b14e --- /dev/null +++ b/code/WorkInProgress/aloe_stuff_public.html @@ -0,0 +1 @@ +code/WorkInProgress/aloe_stuff_public.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/WorkInProgress/aloe_stuff_public.dm

/obj/machinery/shipalert/billButton 4 bill office
/obj/machinery/maptext_monitor/staminaStamina monitor for target dummies.
\ No newline at end of file diff --git a/code/WorkInProgress/artemis/GeneratePlanets.html b/code/WorkInProgress/artemis/GeneratePlanets.html new file mode 100644 index 0000000000000..3b3d047ec3329 --- /dev/null +++ b/code/WorkInProgress/artemis/GeneratePlanets.html @@ -0,0 +1 @@ +code/WorkInProgress/artemis/GeneratePlanets.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/WorkInProgress/artemis/GeneratePlanets.dm

/var/planetZLevelThe following is based on GenerateMining.dm
\ No newline at end of file diff --git a/code/WorkInProgress/artemis/artemis.html b/code/WorkInProgress/artemis/artemis.html new file mode 100644 index 0000000000000..9b85f36e9f286 --- /dev/null +++ b/code/WorkInProgress/artemis/artemis.html @@ -0,0 +1,2 @@ +code/WorkInProgress/artemis/artemis.txt - Goonstation 13
Goonstation 13 - Modules - Types

code/WorkInProgress/artemis/artemis.txt

As of writing, all artemis development is happening in the github branch `development/artemis`.```
+
\ No newline at end of file diff --git a/code/WorkInProgress/blueprints.html b/code/WorkInProgress/blueprints.html new file mode 100644 index 0000000000000..8f47bcf8530f7 --- /dev/null +++ b/code/WorkInProgress/blueprints.html @@ -0,0 +1 @@ +code/WorkInProgress/blueprints.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/WorkInProgress/blueprints.dm

/proc/is_valid_abcu_objectChecks if a thing should be allowed to be saved / loaded by the ABCU. Currently does not do the whitelist / blacklist filtering.
\ No newline at end of file diff --git a/code/WorkInProgress/chess.html b/code/WorkInProgress/chess.html new file mode 100644 index 0000000000000..ddb4c98060918 --- /dev/null +++ b/code/WorkInProgress/chess.html @@ -0,0 +1 @@ +code/WorkInProgress/chess.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/WorkInProgress/chess.dm

/var/chessboard
\ No newline at end of file diff --git a/code/WorkInProgress/cloner_defects.html b/code/WorkInProgress/cloner_defects.html new file mode 100644 index 0000000000000..ba2f425fa8bb9 --- /dev/null +++ b/code/WorkInProgress/cloner_defects.html @@ -0,0 +1,2 @@ +code/WorkInProgress/cloner_defects.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/WorkInProgress/cloner_defects.dm

/datum/cloner_defect_holderHolds all the cloner defects for a person, as well as the weighted list of possible defects
/datum/cloner_defect/ouchSome random brute/burn damage after cloning.
/datum/cloner_defect/missing_limbLose a random limb after cloning
/datum/cloner_defect/allergicGet some histamine after cloning
/_is_abstract/datum/cloner_defect/missing_organLose a random organ after cloning
/datum/cloner_defect/random_mutantraceSet to a random (safe) mutantrace after cloning
/_is_abstract/datum/cloner_defect/maxhealth_downMax health decrease
/datum/cloner_defect/puritanYou become a puritan- no more clonings for you! (unless the docs are really solid)
/datum/cloner_defect/arm_swapLeft and right arms are swapped, making them both initially useless TODO actually implement
/datum/cloner_defect/explosiveJust fucking explode. probably a bad idea. TODO maybe make it so if they're healed to max they don't explode? +CURRENTLY DISABLED
/datum/cloner_defect/clumsyAdd some kind of 'clumsy' mutation/trait
/datum/cloner_defect/face_disfiguredSets seen name to 'unknown' (until repaired with synthflesh)
/datum/cloner_defect/voice_disfiguredSets heard voice to 'unknown' (until repaired with synthflesh)
/datum/cloner_defect/sprint_flopMakes you fall over when you sprint too hard (pug thing)
/proc/record_cloner_defectsWrite current cloner defects to an existing datacore medical record
\ No newline at end of file diff --git a/code/WorkInProgress/golf.html b/code/WorkInProgress/golf.html new file mode 100644 index 0000000000000..3b6a640ae125d --- /dev/null +++ b/code/WorkInProgress/golf.html @@ -0,0 +1 @@ +code/WorkInProgress/golf.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/WorkInProgress/golf.dm

/obj/item/golf_clubClothing properties stuff
\ No newline at end of file diff --git a/code/WorkInProgress/nadir_antenna.html b/code/WorkInProgress/nadir_antenna.html new file mode 100644 index 0000000000000..45c5c3de2ebee --- /dev/null +++ b/code/WorkInProgress/nadir_antenna.html @@ -0,0 +1 @@ +code/WorkInProgress/nadir_antenna.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/WorkInProgress/nadir_antenna.dm

/var/transception_arrayStation's transception anrray, used for cargo I/O operations on maps that include one
\ No newline at end of file diff --git a/code/WorkInProgress/pali/pali.html b/code/WorkInProgress/pali/pali.html new file mode 100644 index 0000000000000..c6aabbc70ec49 --- /dev/null +++ b/code/WorkInProgress/pali/pali.html @@ -0,0 +1 @@ +code/WorkInProgress/pali/pali.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/WorkInProgress/pali/pali.dm

/obj/item/basketball/catballcatball
\ No newline at end of file diff --git a/code/WorkInProgress/racing.html b/code/WorkInProgress/racing.html new file mode 100644 index 0000000000000..9ce73e2e4ac73 --- /dev/null +++ b/code/WorkInProgress/racing.html @@ -0,0 +1 @@ +code/WorkInProgress/racing.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/WorkInProgress/racing.dm

/datum/abilityHolder/kart_racingThis holds all of your abilities for kart racing
/_is_abstract/datum/targetable/kart_powerupthe base kart ability
\ No newline at end of file diff --git a/code/WorkInProgress/tarmStuff.html b/code/WorkInProgress/tarmStuff.html new file mode 100644 index 0000000000000..24148abefbb5e --- /dev/null +++ b/code/WorkInProgress/tarmStuff.html @@ -0,0 +1 @@ +code/WorkInProgress/tarmStuff.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/WorkInProgress/tarmStuff.dm

/obj/suggestion_boxOffice stuff
\ No newline at end of file diff --git a/code/WorkInProgress/warcrimes.html b/code/WorkInProgress/warcrimes.html new file mode 100644 index 0000000000000..507142d52b7a9 --- /dev/null +++ b/code/WorkInProgress/warcrimes.html @@ -0,0 +1 @@ +code/WorkInProgress/warcrimes.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/WorkInProgress/warcrimes.dm

/obj/machinery/vending/meat/stationThis is currently unused as it was intended for use in PR 6684, but it was removed upon request. This might be a temporary removal, so it's staying here.
\ No newline at end of file diff --git a/code/_placeholder.html b/code/_placeholder.html new file mode 100644 index 0000000000000..3e694d341e54b --- /dev/null +++ b/code/_placeholder.html @@ -0,0 +1 @@ +code/_placeholder.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/_placeholder.dm

/obj/placeholder
\ No newline at end of file diff --git a/code/area.html b/code/area.html new file mode 100644 index 0000000000000..09c52d93078ed --- /dev/null +++ b/code/area.html @@ -0,0 +1 @@ +code/area.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/area.dm

/area/cordonUnless you are an admin, you may not pass GO nor collect $200
/area/build_zonecurrently for z4 just so people don't teleport in there randomly
/_is_abstract/area/shuttle
/proc/get_accessible_station_areasReturns a list of all areas on a station
/_is_abstract/area/stationBase station area
/area/research_outpostOff-station research outpost. Used for Cog2.
/area/listeningpostNukeops listening post
/area/salvager_spaceUsed to allow the exterior of the Magpie to render parallax layers.
/area/syndicate_stationNukeops spawn station
/area/syndicate_station_spaceUsed to allow the exterior of the Cairngorm to render parallax layers.
/area/wizard_stationWizard den area for the wizard shuttle spawn
/_is_abstract/area/station/turret_protectedTurret protected areas, will activate AI turrets to pop up when entered, and vice-versa when exited.
/_is_abstract/area/miningold mining outpost
/area/prison/cell_block/wardsUsed for the admin holding cells.
/area/shamecubeShamecube area, applied on the admin command. Blocks entry.
/area/shamecube/unshamefulcubeUnshame cube area, replaces the previous shamecube area.
/area/unconnected_zone
/area/built_zoneCreated when an APC is installed in an unconnected zone.
/area/janitor_setpieceadhara setpiece
/area/reginanew merchant areas
/area/pawnshopAreas That Walp Uses For Gimmick Maps To Load In
/area/syndicate_baseSyndicate base that is radproof and not Hadar-blocked, for Trench Warfare
/area/station/devzoneFor Devtest testing purposes
\ No newline at end of file diff --git a/code/atom/UpdateOverlays.html b/code/atom/UpdateOverlays.html new file mode 100644 index 0000000000000..ebbd8f6bdbc7e --- /dev/null +++ b/code/atom/UpdateOverlays.html @@ -0,0 +1 @@ +code/atom/UpdateOverlays.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/atom/UpdateOverlays.dm

/proc/copy_overlaysCopies the overlay data from one atom to another
\ No newline at end of file diff --git a/code/chui/chui.html b/code/chui/chui.html new file mode 100644 index 0000000000000..727e5dab9558b --- /dev/null +++ b/code/chui/chui.html @@ -0,0 +1 @@ +code/chui/chui.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/chui/chui.dm

/chuidepreceated, bye
\ No newline at end of file diff --git a/code/datums/abilities/brassgauntlet.html b/code/datums/abilities/brassgauntlet.html new file mode 100644 index 0000000000000..065439b4d298d --- /dev/null +++ b/code/datums/abilities/brassgauntlet.html @@ -0,0 +1 @@ +code/datums/abilities/brassgauntlet.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/abilities/brassgauntlet.dm

/obj/ability_button/stone_owlGimmick Stones
\ No newline at end of file diff --git a/code/datums/abilities/critter/arc.html b/code/datums/abilities/critter/arc.html new file mode 100644 index 0000000000000..01fb0bd13c187 --- /dev/null +++ b/code/datums/abilities/critter/arc.html @@ -0,0 +1 @@ +code/datums/abilities/critter/arc.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/abilities/critter/arc.dm

/datum/targetable/critter/arcflashRanged chain lightning attack. Bounces between up to chain_count extra mobs within chain_range tiles of the initial target.
\ No newline at end of file diff --git a/code/datums/abilities/critter/powerkick.html b/code/datums/abilities/critter/powerkick.html new file mode 100644 index 0000000000000..a83fa57ea77d0 --- /dev/null +++ b/code/datums/abilities/critter/powerkick.html @@ -0,0 +1,2 @@ +code/datums/abilities/critter/powerkick.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/abilities/critter/powerkick.dm

/datum/targetable/critter/powerkickobj/overlay/tile_effect/cracks/trilobite +obj/overlay/tile_effect/cracks/pikaia
\ No newline at end of file diff --git a/code/datums/abilities/diabolical.html b/code/datums/abilities/diabolical.html new file mode 100644 index 0000000000000..e9f13e3902e24 --- /dev/null +++ b/code/datums/abilities/diabolical.html @@ -0,0 +1 @@ +code/datums/abilities/diabolical.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/abilities/diabolical.dm

/datum/targetable/merchantMerchant spell parent
/datum/targetable/merchant/summon_contractContract Summoning Spell
/datum/abilityHolder/gimmickRandom Satan Gimmick Spells
/datum/targetable/gimmick/JestershiftKill Jesta
/datum/targetable/gimmick/revealDumb Floorclown stuff
/datum/targetable/gimmick/scribbleCrayon-related stuff
\ No newline at end of file diff --git a/code/datums/actions/actions.html b/code/datums/actions/actions.html new file mode 100644 index 0000000000000..7ddb3a94bc612 --- /dev/null +++ b/code/datums/actions/actions.html @@ -0,0 +1,2 @@ +code/datums/actions/actions.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/actions/actions.dm

/datum/action/bar/private/icon/callbackCalls a specified proc if it finishes without interruptions. Only displayed to the user. +Heavily copy pasted from /datum/action/bar/icon/callback.
/datum/action/bar/private/welding/loopA looping weld action bar. Duration and cost are per cycle.
/datum/action/bar/private/welding/loop/vehicleWeld-repairing vehicles/pods hulls
/datum/action/bar/icon/anchor_or_unanchorgeneral purpose action to anchor or unanchor stuff
\ No newline at end of file diff --git a/code/datums/banking.html b/code/datums/banking.html new file mode 100644 index 0000000000000..2068ca2da42f3 --- /dev/null +++ b/code/datums/banking.html @@ -0,0 +1,7 @@ +code/datums/banking.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

code/datums/banking.dm

STATE_LOGGEDOFFRecords multiple antag selections at once, reduces API usage
/proc/FindBankAccountsByJobsGiven a list of jobs, return the associated bank account records. Does not de-duplicate bank account records.

Define Details

STATE_LOGGEDOFF

Records multiple antag selections at once, reduces API usage

+

@param list players Specially formatted list of players to record selection for. e.g. +players = list( +"ckeyforadude1" = "traitor", +"ckeyforadude2" = "wraith" +) +@return null

\ No newline at end of file diff --git a/code/datums/browserOutput.html b/code/datums/browserOutput.html new file mode 100644 index 0000000000000..15aa5fab35ac2 --- /dev/null +++ b/code/datums/browserOutput.html @@ -0,0 +1 @@ +code/datums/browserOutput.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

code/datums/browserOutput.dm

CTX_PMFor the main html chat area

Define Details

CTX_PM

For the main html chat area

\ No newline at end of file diff --git a/code/datums/character_preview.html b/code/datums/character_preview.html new file mode 100644 index 0000000000000..6af65554c757e --- /dev/null +++ b/code/datums/character_preview.html @@ -0,0 +1,3 @@ +code/datums/character_preview.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/character_preview.dm

/datum/movable_previewEssentially, it creates a movable on a 1x1 map and gives you access to the it for modification.
/mob/living/carbon/human/previewsubtype of human for character previews so we can filter them out from some logging
/datum/movable_preview/characterThis is intended only for use with humans. preview_thing will be a subtype of generic human.
/datum/movable_preview/character/windowManages its own window. +Basically a simplified version for when you don't need to put other stuff in the preview window.
/datum/movable_preview/character/multiclientA shared character preview between multiple clients. +Again, use winset() to position the control.
\ No newline at end of file diff --git a/code/datums/client_image_group.html b/code/datums/client_image_group.html new file mode 100644 index 0000000000000..51a9be5d444f4 --- /dev/null +++ b/code/datums/client_image_group.html @@ -0,0 +1 @@ +code/datums/client_image_group.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/client_image_group.dm

/proc/get_image_groupReturns the client image group for a given "key" argument. If one doesn't yet exist, creates it.
\ No newline at end of file diff --git a/code/datums/cloud_saves.html b/code/datums/cloud_saves.html new file mode 100644 index 0000000000000..67fe30b65458c --- /dev/null +++ b/code/datums/cloud_saves.html @@ -0,0 +1,15 @@ +code/datums/cloud_saves.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

code/datums/cloud_saves.dm

CLOUD_SAVES_SIMULATED_CLOUDManage cloud save files and data for a player
/proc/cloud_saves_put_data_bulkMass save a collection of cloud data for various players +Input format: +list( +list( +"player_id" = 1, +"key" = "foo", +"value" = "bar" +), +list( +"player_id" = 2, +"key" = "foo2", +"value" = "bar2" +) +)
/proc/cloud_saves_transferTransfer all cloud save files from one player to another +WARNING: This overwrites all the saves for the target

Define Details

CLOUD_SAVES_SIMULATED_CLOUD

Manage cloud save files and data for a player

\ No newline at end of file diff --git a/code/datums/components/_component.html b/code/datums/components/_component.html new file mode 100644 index 0000000000000..8dd5f381ac955 --- /dev/null +++ b/code/datums/components/_component.html @@ -0,0 +1 @@ +code/datums/components/_component.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/components/_component.dm

/datum/componentThe component datum
/datum/signal_holderDummy datum used for holding onto global signals, initialized in preMapLoad
\ No newline at end of file diff --git a/code/datums/components/analyzable.html b/code/datums/components/analyzable.html new file mode 100644 index 0000000000000..4679f05b81ee1 --- /dev/null +++ b/code/datums/components/analyzable.html @@ -0,0 +1,3 @@ +code/datums/components/analyzable.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/components/analyzable.dm

/datum/component/analyzableMakes an object scannable by the device analyzer. +The result type is drawn from either the parent's typepath or its mechanics_type_override. +Syndicate objects can't be scanned by non-Syndicate scanners.
\ No newline at end of file diff --git a/code/datums/components/arable.html b/code/datums/components/arable.html new file mode 100644 index 0000000000000..ec8bda77754c2 --- /dev/null +++ b/code/datums/components/arable.html @@ -0,0 +1 @@ +code/datums/components/arable.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/components/arable.dm

/datum/component/arableMakes a turf or atom/movable hold a plant datum by attaching an invisible plantpot (/obj/machinery/plantpot/bareplant)
/datum/component/arable/single_useComponent will destoy itself after plantpot is destroyed
/datum/component/arable/manual_waterPlantpot must be watered manually (interacted with like a hydroponics tray clicking directly on the plant)
\ No newline at end of file diff --git a/code/datums/components/assembly_comp.html b/code/datums/components/assembly_comp.html new file mode 100644 index 0000000000000..cdb55a2560dd5 --- /dev/null +++ b/code/datums/components/assembly_comp.html @@ -0,0 +1,3 @@ +code/datums/components/assembly_comp.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/components/assembly_comp.dm

/datum/component/assemblyThis component calls a procref with a assembly_information string on the atom it was added to when it gets attacked with an object specified in the to_combine_item +This component can be used to get the convulent if-then-else trees of assemblies under control +Make the proc you call on sucessfull assembly return TRUE. Else the attack will go through!
\ No newline at end of file diff --git a/code/datums/components/bloodflick.html b/code/datums/components/bloodflick.html new file mode 100644 index 0000000000000..5130ef6777037 --- /dev/null +++ b/code/datums/components/bloodflick.html @@ -0,0 +1 @@ +code/datums/components/bloodflick.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/components/bloodflick.dm

/datum/component/bloodflicka component that makes items flick blood off them and onto the ground when twirled.
\ No newline at end of file diff --git a/code/datums/components/bullet_holes.html b/code/datums/components/bullet_holes.html new file mode 100644 index 0000000000000..dfc5e5214e700 --- /dev/null +++ b/code/datums/components/bullet_holes.html @@ -0,0 +1 @@ +code/datums/components/bullet_holes.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

code/datums/components/bullet_holes.dm

MAX_OFFSETMaximum pixel distance from 0 that a bullet hole can appear at
/datum/component/bullet_holesA component which makes bullet holes appear on a thing when it gets shot

Define Details

MAX_OFFSET

Maximum pixel distance from 0 that a bullet hole can appear at

\ No newline at end of file diff --git a/code/datums/components/complexsignal/complexsignal.html b/code/datums/components/complexsignal/complexsignal.html new file mode 100644 index 0000000000000..c51c1fe9cd373 --- /dev/null +++ b/code/datums/components/complexsignal/complexsignal.html @@ -0,0 +1,8 @@ +code/datums/components/complexsignal/complexsignal.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/components/complexsignal/complexsignal.dm

/datum/component/complexsignalHandler for a complex singal, that is a signal that requires some additional handling. +You define such signal for example as: +#define XSIG_OUTERMOST_MOVABLE_CHANGED list(/datum/component/complexsignal/outermost_movable, "mov_outermost_changed") +When this signal gets registered at least once once to a datum the appropriate complex signal component will get registered to it. +When all instances of this signal get unregistered then the component will qdel itself unless [qdel_when_unneeded] is unset. +The intended use is for this component to keep some more complex and resource intensive handling (possibly using other signals) and then send the +actual complex signal when some conditions are met. That signal should be set to src like this: +SEND_COMPLEX_SIGNAL(src, X_OUTERMOST_MOVABLE_CHANGED, old_outermost, new_outermost)
\ No newline at end of file diff --git a/code/datums/components/conveyor_lay.html b/code/datums/components/conveyor_lay.html new file mode 100644 index 0000000000000..c8b3ad6429f92 --- /dev/null +++ b/code/datums/components/conveyor_lay.html @@ -0,0 +1 @@ +code/datums/components/conveyor_lay.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/components/conveyor_lay.dm

/datum/component/conveyorplacerconveyor placing component
\ No newline at end of file diff --git a/code/datums/components/extradimensional_storage.html b/code/datums/components/extradimensional_storage.html new file mode 100644 index 0000000000000..300327b81a202 --- /dev/null +++ b/code/datums/components/extradimensional_storage.html @@ -0,0 +1 @@ +code/datums/components/extradimensional_storage.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/components/extradimensional_storage.dm

/datum/component/extradimensional_storage/storagesubtype of the component that handles storage
/datum/component/extradimensional_storage/laddersubtype of the component that instead handles ladders
\ No newline at end of file diff --git a/code/datums/components/flock/flockprotection.html b/code/datums/components/flock/flockprotection.html new file mode 100644 index 0000000000000..e5563e1b7452a --- /dev/null +++ b/code/datums/components/flock/flockprotection.html @@ -0,0 +1 @@ +code/datums/components/flock/flockprotection.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/components/flock/flockprotection.dm

/datum/component/flock_interestMark a specific flock as interested in this
/datum/component/flock_protectionRaise COMSIG_FLOCK_ATTACK on common sources of damage (projectiles, items, fists, etc.)
\ No newline at end of file diff --git a/code/datums/components/flock/ping.html b/code/datums/components/flock/ping.html new file mode 100644 index 0000000000000..2c55df1ba332d --- /dev/null +++ b/code/datums/components/flock/ping.html @@ -0,0 +1 @@ +code/datums/components/flock/ping.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/components/flock/ping.dm

/datum/component/flock_pingPing component, for highlighting something to the flock
/datum/component/flock_ping/obstructionUsed to mark objects blocking the construction of a flock tealprint
\ No newline at end of file diff --git a/code/datums/components/food_stuff.html b/code/datums/components/food_stuff.html new file mode 100644 index 0000000000000..79370c488f023 --- /dev/null +++ b/code/datums/components/food_stuff.html @@ -0,0 +1 @@ +code/datums/components/food_stuff.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/components/food_stuff.dm

/datum/component/consumehandles various overrides regarding eating things, like making certain inedible things edible, or eaten organs restore health
/datum/component/consume/food_effectsApplies some status effects when eaten
/datum/component/consume/can_eat_raw_materialsEating rocks
\ No newline at end of file diff --git a/code/datums/components/fragile_item.html b/code/datums/components/fragile_item.html new file mode 100644 index 0000000000000..bb433bcd318f1 --- /dev/null +++ b/code/datums/components/fragile_item.html @@ -0,0 +1 @@ +code/datums/components/fragile_item.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/components/fragile_item.dm

/datum/component/fragile_itemDefines a "fragile item" component.
\ No newline at end of file diff --git a/code/datums/components/ghost_observable.html b/code/datums/components/ghost_observable.html new file mode 100644 index 0000000000000..dd34eb01fad86 --- /dev/null +++ b/code/datums/components/ghost_observable.html @@ -0,0 +1 @@ +code/datums/components/ghost_observable.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/components/ghost_observable.dm

/datum/component/ghost_observableDO NOT USE THIS IF YOU'RE CODING SOMETHING. For use at runtime only. Use START_TRACKING_CAT.
\ No newline at end of file diff --git a/code/datums/components/hallucinations.html b/code/datums/components/hallucinations.html new file mode 100644 index 0000000000000..957697735cb12 --- /dev/null +++ b/code/datums/components/hallucinations.html @@ -0,0 +1 @@ +code/datums/components/hallucinations.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/components/hallucinations.dm

/_is_abstract/datum/component/hallucinationGeneric hallucination effects - subclass for fancy effects
/datum/component/hallucination/trippy_colorsTrippy colors - apply an RGB swap to client's vision
/datum/component/hallucination/random_soundRandom sound - play a sound from a list with a prob per life tick
/datum/component/hallucination/random_imageRandom image - hallucinate an image on a visible tile with prob per life tick
/datum/component/hallucination/fake_attackFake attack - hallucinate being attacked by something
/datum/component/hallucination/random_image_overrideRandom image override - hallucinate an image on a filtered atom either in or out of view in range with prob per life tick, with an option to add as overlay or replace the icon
/datum/component/hallucination/fake_singuloFake singulo - hallucinate a loose singularity approaching you and eating the station
/proc/fake_bloodHelper procs
\ No newline at end of file diff --git a/code/datums/components/mechComp_signals.html b/code/datums/components/mechComp_signals.html new file mode 100644 index 0000000000000..413a20ab70a3a --- /dev/null +++ b/code/datums/components/mechComp_signals.html @@ -0,0 +1 @@ +code/datums/components/mechComp_signals.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/components/mechComp_signals.dm

/datum/component/mechanics_connectorcomponent for pulsing tools that will connect mechcomponents the user clicks on to the specified mechcomponent
\ No newline at end of file diff --git a/code/datums/components/pitfall.html b/code/datums/components/pitfall.html new file mode 100644 index 0000000000000..6edecf6ca8cda --- /dev/null +++ b/code/datums/components/pitfall.html @@ -0,0 +1 @@ +code/datums/components/pitfall.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/components/pitfall.dm

/_is_abstract/datum/component/pitfall
/datum/component/pitfallA component for turfs which make movable atoms "fall down a pit"
/datum/component/pitfall/target_landmarka pitfall that targets a pitfall landmark
/datum/component/pitfall/target_areaa pitfall that targets an area
/datum/component/pitfall/target_coordinatesa pitfall which targets a coordinate. At the moment only supports targeting a z level and picking a range around current coordinates.
\ No newline at end of file diff --git a/code/datums/components/seedy.html b/code/datums/components/seedy.html new file mode 100644 index 0000000000000..eff863abbb510 --- /dev/null +++ b/code/datums/components/seedy.html @@ -0,0 +1 @@ +code/datums/components/seedy.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/components/seedy.dm

/datum/component/seedyMakes a /obj/item hold a seed data so it can be used on a plantpot
\ No newline at end of file diff --git a/code/datums/components/transfers.html b/code/datums/components/transfers.html new file mode 100644 index 0000000000000..95761ec702294 --- /dev/null +++ b/code/datums/components/transfers.html @@ -0,0 +1 @@ +code/datums/components/transfers.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

code/datums/components/transfers.dm

cant_do_shitComponents for common machine item tasks (setting output turf, filtering attackby, etc.)
/datum/component/transfer_outputProvides ability to output items directly into item transfer-supporting things.
/datum/component/transfer_inputProvides many common item input features.

Define Details

cant_do_shit

Components for common machine item tasks (setting output turf, filtering attackby, etc.)

\ No newline at end of file diff --git a/code/datums/components/transform_on_pickup.html b/code/datums/components/transform_on_pickup.html new file mode 100644 index 0000000000000..05708066445a8 --- /dev/null +++ b/code/datums/components/transform_on_pickup.html @@ -0,0 +1 @@ +code/datums/components/transform_on_pickup.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/components/transform_on_pickup.dm

/datum/component/reset_transform_on_pickupResets the transformation on an item when it's picked up. Used for resizing things coming out of gang crates.
\ No newline at end of file diff --git a/code/datums/controllers/action_controls.html b/code/datums/controllers/action_controls.html new file mode 100644 index 0000000000000..33e6d2e2211b7 --- /dev/null +++ b/code/datums/controllers/action_controls.html @@ -0,0 +1 @@ +code/datums/controllers/action_controls.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/controllers/action_controls.dm

/datum/action/barThis subclass has a progressbar that attaches to the owner to show how long we need to wait.
/datum/action/bar/icon/callbackcalls a specified proc if it finishes without interruptions.
\ No newline at end of file diff --git a/code/datums/controllers/job_controls.html b/code/datums/controllers/job_controls.html new file mode 100644 index 0000000000000..48d17a4e50a07 --- /dev/null +++ b/code/datums/controllers/job_controls.html @@ -0,0 +1 @@ +code/datums/controllers/job_controls.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/controllers/job_controls.dm

/proc/find_job_in_controller_by_stringSoft supresses logging on failing to find a job
\ No newline at end of file diff --git a/code/datums/controllers/process/_process.html b/code/datums/controllers/process/_process.html new file mode 100644 index 0000000000000..1b81b780db92d --- /dev/null +++ b/code/datums/controllers/process/_process.html @@ -0,0 +1 @@ +code/datums/controllers/process/_process.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/controllers/process/_process.dm

/datum/controller/processBase definition of a process controller
\ No newline at end of file diff --git a/code/datums/controllers/process/actions.html b/code/datums/controllers/process/actions.html new file mode 100644 index 0000000000000..678d3ebe0d7f8 --- /dev/null +++ b/code/datums/controllers/process/actions.html @@ -0,0 +1 @@ +code/datums/controllers/process/actions.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/controllers/process/actions.dm

/datum/controller/process/actionshandles timed player actions
\ No newline at end of file diff --git a/code/datums/controllers/process/ai_tracking.html b/code/datums/controllers/process/ai_tracking.html new file mode 100644 index 0000000000000..137a19517e275 --- /dev/null +++ b/code/datums/controllers/process/ai_tracking.html @@ -0,0 +1 @@ +code/datums/controllers/process/ai_tracking.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/controllers/process/ai_tracking.dm

/datum/controller/process/ai_trackingHandles the AI camera tracking players
\ No newline at end of file diff --git a/code/datums/controllers/process/air_system.html b/code/datums/controllers/process/air_system.html new file mode 100644 index 0000000000000..7f366f55fbd19 --- /dev/null +++ b/code/datums/controllers/process/air_system.html @@ -0,0 +1 @@ +code/datums/controllers/process/air_system.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/controllers/process/air_system.dm

/datum/controller/process/air_systemhandles air processing.
\ No newline at end of file diff --git a/code/datums/controllers/process/area_process.html b/code/datums/controllers/process/area_process.html new file mode 100644 index 0000000000000..5a90d37b8391d --- /dev/null +++ b/code/datums/controllers/process/area_process.html @@ -0,0 +1,3 @@ +code/datums/controllers/process/area_process.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/controllers/process/area_process.dm

/datum/controller/process/area_processController for misc. processing on areas +Areas will only process when active (player inside) +Calls /area/proc/area_process, register your area to [TR_CAT_AREA_PROCESS]
\ No newline at end of file diff --git a/code/datums/controllers/process/arena.html b/code/datums/controllers/process/arena.html new file mode 100644 index 0000000000000..1e7629ba1aa4a --- /dev/null +++ b/code/datums/controllers/process/arena.html @@ -0,0 +1 @@ +code/datums/controllers/process/arena.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/controllers/process/arena.dm

/datum/controller/process/arenaHandles the gauntlet
\ No newline at end of file diff --git a/code/datums/controllers/process/blob.html b/code/datums/controllers/process/blob.html new file mode 100644 index 0000000000000..074b5664c3196 --- /dev/null +++ b/code/datums/controllers/process/blob.html @@ -0,0 +1 @@ +code/datums/controllers/process/blob.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/controllers/process/blob.dm

/datum/controller/process/blobHandles blobs without being pissy about it
\ No newline at end of file diff --git a/code/datums/controllers/process/camnet.html b/code/datums/controllers/process/camnet.html new file mode 100644 index 0000000000000..121550d836353 --- /dev/null +++ b/code/datums/controllers/process/camnet.html @@ -0,0 +1 @@ +code/datums/controllers/process/camnet.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/controllers/process/camnet.dm

/datum/controller/process/camnetsHandles rebuilding of camnets if needed
\ No newline at end of file diff --git a/code/datums/controllers/process/chemistry.html b/code/datums/controllers/process/chemistry.html new file mode 100644 index 0000000000000..689cfc0c29888 --- /dev/null +++ b/code/datums/controllers/process/chemistry.html @@ -0,0 +1 @@ +code/datums/controllers/process/chemistry.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/controllers/process/chemistry.dm

/datum/controller/process/chemistryHandles chemistry reactions
\ No newline at end of file diff --git a/code/datums/controllers/process/critters.html b/code/datums/controllers/process/critters.html new file mode 100644 index 0000000000000..ae6c20bfdd79f --- /dev/null +++ b/code/datums/controllers/process/critters.html @@ -0,0 +1 @@ +code/datums/controllers/process/critters.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/controllers/process/critters.dm

/datum/controller/process/crittershandles critters
\ No newline at end of file diff --git a/code/datums/controllers/process/cross_server_sync.html b/code/datums/controllers/process/cross_server_sync.html new file mode 100644 index 0000000000000..d3e4872610e89 --- /dev/null +++ b/code/datums/controllers/process/cross_server_sync.html @@ -0,0 +1 @@ +code/datums/controllers/process/cross_server_sync.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/controllers/process/cross_server_sync.dm

/datum/controller/process/cross_server_syncproocess for cross server data syncing
\ No newline at end of file diff --git a/code/datums/controllers/process/delete_queue.html b/code/datums/controllers/process/delete_queue.html new file mode 100644 index 0000000000000..5610821baa595 --- /dev/null +++ b/code/datums/controllers/process/delete_queue.html @@ -0,0 +1 @@ +code/datums/controllers/process/delete_queue.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/controllers/process/delete_queue.dm

/datum/controller/process/delete_queueThe process controller for queued deletion
\ No newline at end of file diff --git a/code/datums/controllers/process/explosions.html b/code/datums/controllers/process/explosions.html new file mode 100644 index 0000000000000..9541435b1ba02 --- /dev/null +++ b/code/datums/controllers/process/explosions.html @@ -0,0 +1 @@ +code/datums/controllers/process/explosions.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/controllers/process/explosions.dm

/datum/controller/process/explosionshandles EXPLOSIONS
\ No newline at end of file diff --git a/code/datums/controllers/process/flock.html b/code/datums/controllers/process/flock.html new file mode 100644 index 0000000000000..938216644f725 --- /dev/null +++ b/code/datums/controllers/process/flock.html @@ -0,0 +1 @@ +code/datums/controllers/process/flock.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/controllers/process/flock.dm

/datum/controller/process/flockproocess for flock_structure objects
\ No newline at end of file diff --git a/code/datums/controllers/process/fluid.html b/code/datums/controllers/process/fluid.html new file mode 100644 index 0000000000000..e0fb541cf06ee --- /dev/null +++ b/code/datums/controllers/process/fluid.html @@ -0,0 +1 @@ +code/datums/controllers/process/fluid.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/controllers/process/fluid.dm

/datum/controller/process/fluid_groupController for fluids
\ No newline at end of file diff --git a/code/datums/controllers/process/fluid_spawner.html b/code/datums/controllers/process/fluid_spawner.html new file mode 100644 index 0000000000000..24ca6dfb39c9e --- /dev/null +++ b/code/datums/controllers/process/fluid_spawner.html @@ -0,0 +1 @@ +code/datums/controllers/process/fluid_spawner.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/controllers/process/fluid_spawner.dm

/datum/controller/process/fluid_turfsProcesses fluid turfs
\ No newline at end of file diff --git a/code/datums/controllers/process/forcedMovement.html b/code/datums/controllers/process/forcedMovement.html new file mode 100644 index 0000000000000..940b6e11f502a --- /dev/null +++ b/code/datums/controllers/process/forcedMovement.html @@ -0,0 +1 @@ +code/datums/controllers/process/forcedMovement.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/controllers/process/forcedMovement.dm

/datum/controller/process/fMoveControls forced movements
\ No newline at end of file diff --git a/code/datums/controllers/process/ghost_notifications.html b/code/datums/controllers/process/ghost_notifications.html new file mode 100644 index 0000000000000..db9b3c87f0db6 --- /dev/null +++ b/code/datums/controllers/process/ghost_notifications.html @@ -0,0 +1 @@ +code/datums/controllers/process/ghost_notifications.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/controllers/process/ghost_notifications.dm

/datum/controller/process/ghost_notificationsHandles sending ghost notifications to players
\ No newline at end of file diff --git a/code/datums/controllers/process/healthupdates.html b/code/datums/controllers/process/healthupdates.html new file mode 100644 index 0000000000000..0aff10df6adfe --- /dev/null +++ b/code/datums/controllers/process/healthupdates.html @@ -0,0 +1 @@ +code/datums/controllers/process/healthupdates.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/controllers/process/healthupdates.dm

/datum/controller/process/healthupdateshandles health updates
\ No newline at end of file diff --git a/code/datums/controllers/process/items.html b/code/datums/controllers/process/items.html new file mode 100644 index 0000000000000..c8f67e93aa7de --- /dev/null +++ b/code/datums/controllers/process/items.html @@ -0,0 +1 @@ +code/datums/controllers/process/items.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/controllers/process/items.dm

/datum/controller/process/itemshandles item/process()
\ No newline at end of file diff --git a/code/datums/controllers/process/kudzu.html b/code/datums/controllers/process/kudzu.html new file mode 100644 index 0000000000000..5b46e3be0e583 --- /dev/null +++ b/code/datums/controllers/process/kudzu.html @@ -0,0 +1 @@ +code/datums/controllers/process/kudzu.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/controllers/process/kudzu.dm

/datum/controller/process/kudzuControlls the kudzu process
\ No newline at end of file diff --git a/code/datums/controllers/process/lighting.html b/code/datums/controllers/process/lighting.html new file mode 100644 index 0000000000000..bbac33b8f08c5 --- /dev/null +++ b/code/datums/controllers/process/lighting.html @@ -0,0 +1 @@ +code/datums/controllers/process/lighting.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/controllers/process/lighting.dm

/var/light_update_queueList of items that want to be deleted
/datum/controller/process/lightingControls the LIGHTS
\ No newline at end of file diff --git a/code/datums/controllers/process/machines.html b/code/datums/controllers/process/machines.html new file mode 100644 index 0000000000000..4e1eb38bda7a6 --- /dev/null +++ b/code/datums/controllers/process/machines.html @@ -0,0 +1 @@ +code/datums/controllers/process/machines.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/controllers/process/machines.dm

/datum/controller/process/machineshandles machines processing
\ No newline at end of file diff --git a/code/datums/controllers/process/mob_ai.html b/code/datums/controllers/process/mob_ai.html new file mode 100644 index 0000000000000..7f63a7f9d79ae --- /dev/null +++ b/code/datums/controllers/process/mob_ai.html @@ -0,0 +1,2 @@ +code/datums/controllers/process/mob_ai.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

code/datums/controllers/process/mob_ai.dm

MOBAI_STUCK_THRESHOLDHow many ticks a mobAI can skip before we decide it needs interupting and reporting
/datum/controller/process/mob_aiUncomment to remove mobai loop runtime safety for debugging +handles mobcritters

Define Details

MOBAI_STUCK_THRESHOLD

How many ticks a mobAI can skip before we decide it needs interupting and reporting

\ No newline at end of file diff --git a/code/datums/controllers/process/mob_ui.html b/code/datums/controllers/process/mob_ui.html new file mode 100644 index 0000000000000..92f14d071b91f --- /dev/null +++ b/code/datums/controllers/process/mob_ui.html @@ -0,0 +1 @@ +code/datums/controllers/process/mob_ui.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/controllers/process/mob_ui.dm

/datum/controller/process/mob_uiControls mob UI, like abilityholders
\ No newline at end of file diff --git a/code/datums/controllers/process/mobs.html b/code/datums/controllers/process/mobs.html new file mode 100644 index 0000000000000..393555d63dc02 --- /dev/null +++ b/code/datums/controllers/process/mobs.html @@ -0,0 +1 @@ +code/datums/controllers/process/mobs.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/controllers/process/mobs.dm

/datum/controller/process/mobshandles mobs
\ No newline at end of file diff --git a/code/datums/controllers/process/particles.html b/code/datums/controllers/process/particles.html new file mode 100644 index 0000000000000..e88667241659f --- /dev/null +++ b/code/datums/controllers/process/particles.html @@ -0,0 +1 @@ +code/datums/controllers/process/particles.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/controllers/process/particles.dm

/datum/controller/process/particlesControls the particle system
\ No newline at end of file diff --git a/code/datums/controllers/process/poll_sync.html b/code/datums/controllers/process/poll_sync.html new file mode 100644 index 0000000000000..e87fefb178f96 --- /dev/null +++ b/code/datums/controllers/process/poll_sync.html @@ -0,0 +1 @@ +code/datums/controllers/process/poll_sync.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/controllers/process/poll_sync.dm

/datum/controller/process/poll_syncSyncs poll data with API every minute
\ No newline at end of file diff --git a/code/datums/controllers/process/railway.html b/code/datums/controllers/process/railway.html new file mode 100644 index 0000000000000..e9f18a7e7cbb7 --- /dev/null +++ b/code/datums/controllers/process/railway.html @@ -0,0 +1 @@ +code/datums/controllers/process/railway.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/controllers/process/railway.dm

/datum/controller/process/railwayControls railway movement
\ No newline at end of file diff --git a/code/datums/controllers/process/random_events.html b/code/datums/controllers/process/random_events.html new file mode 100644 index 0000000000000..d486b8bad5d7b --- /dev/null +++ b/code/datums/controllers/process/random_events.html @@ -0,0 +1 @@ +code/datums/controllers/process/random_events.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/controllers/process/random_events.dm

/datum/controller/process/randomeventshandles random events
\ No newline at end of file diff --git a/code/datums/controllers/process/respawn.html b/code/datums/controllers/process/respawn.html new file mode 100644 index 0000000000000..8195efe8f44ec --- /dev/null +++ b/code/datums/controllers/process/respawn.html @@ -0,0 +1 @@ +code/datums/controllers/process/respawn.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/controllers/process/respawn.dm

/datum/controller/process/respawnControls the respawn controller
\ No newline at end of file diff --git a/code/datums/controllers/process/shipping_market.html b/code/datums/controllers/process/shipping_market.html new file mode 100644 index 0000000000000..970a00be009ce --- /dev/null +++ b/code/datums/controllers/process/shipping_market.html @@ -0,0 +1 @@ +code/datums/controllers/process/shipping_market.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/controllers/process/shipping_market.dm

/datum/controller/process/shipping_marketHandles updating the shipping market
\ No newline at end of file diff --git a/code/datums/controllers/process/stamina_updates.html b/code/datums/controllers/process/stamina_updates.html new file mode 100644 index 0000000000000..8790e5e996a33 --- /dev/null +++ b/code/datums/controllers/process/stamina_updates.html @@ -0,0 +1 @@ +code/datums/controllers/process/stamina_updates.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/controllers/process/stamina_updates.dm

/datum/controller/process/stamina_updatesHandles mob stamina recovery
\ No newline at end of file diff --git a/code/datums/controllers/process/statusEffects.html b/code/datums/controllers/process/statusEffects.html new file mode 100644 index 0000000000000..b258d98c13e18 --- /dev/null +++ b/code/datums/controllers/process/statusEffects.html @@ -0,0 +1 @@ +code/datums/controllers/process/statusEffects.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/controllers/process/statusEffects.dm

/datum/controller/process/statusEffectshandles status effects
\ No newline at end of file diff --git a/code/datums/controllers/process/stock_market.html b/code/datums/controllers/process/stock_market.html new file mode 100644 index 0000000000000..c5acc2886049c --- /dev/null +++ b/code/datums/controllers/process/stock_market.html @@ -0,0 +1 @@ +code/datums/controllers/process/stock_market.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/controllers/process/stock_market.dm

/datum/controller/process/stock_marketHandles updating the stock exchange
\ No newline at end of file diff --git a/code/datums/controllers/process/telescope.html b/code/datums/controllers/process/telescope.html new file mode 100644 index 0000000000000..7282d5c053fac --- /dev/null +++ b/code/datums/controllers/process/telescope.html @@ -0,0 +1 @@ +code/datums/controllers/process/telescope.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/controllers/process/telescope.dm

/datum/controller/process/telescopehandles telescope signals and whatnot
\ No newline at end of file diff --git a/code/datums/controllers/process/tgui.html b/code/datums/controllers/process/tgui.html new file mode 100644 index 0000000000000..0a75dc2bb73ab --- /dev/null +++ b/code/datums/controllers/process/tgui.html @@ -0,0 +1 @@ +code/datums/controllers/process/tgui.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/controllers/process/tgui.dm

/datum/controller/process/tguihandles tgui interfaces
\ No newline at end of file diff --git a/code/datums/controllers/process/ticker.html b/code/datums/controllers/process/ticker.html new file mode 100644 index 0000000000000..22587eb36b5a7 --- /dev/null +++ b/code/datums/controllers/process/ticker.html @@ -0,0 +1 @@ +code/datums/controllers/process/ticker.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/controllers/process/ticker.dm

/datum/controller/process/tickerhandles the game ticker, for gamemodes and such
\ No newline at end of file diff --git a/code/datums/controllers/process/world.html b/code/datums/controllers/process/world.html new file mode 100644 index 0000000000000..eb90d261afc6f --- /dev/null +++ b/code/datums/controllers/process/world.html @@ -0,0 +1 @@ +code/datums/controllers/process/world.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/controllers/process/world.dm

/datum/controller/process/worldHandles various global init and the position of the sun.
\ No newline at end of file diff --git a/code/datums/customization_styles.html b/code/datums/customization_styles.html new file mode 100644 index 0000000000000..fa54cd606bf73 --- /dev/null +++ b/code/datums/customization_styles.html @@ -0,0 +1 @@ +code/datums/customization_styles.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/customization_styles.dm

/proc/get_available_custom_style_typesGets all the customization_styles which are available to a given client. Can be filtered by providing a gender flag or a type
\ No newline at end of file diff --git a/code/datums/datacore.html b/code/datums/datacore.html new file mode 100644 index 0000000000000..c3ae2993d17eb --- /dev/null +++ b/code/datums/datacore.html @@ -0,0 +1,2 @@ +code/datums/datacore.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/datacore.dm

/proc/get_manifestReturns the crew manifest, but sorted according to the individual's rank. include_cryo includes a list of individuals in cryogenic storage +Set synd_int_request_device to the object calling the proc to get Syndicate Intelligence.
\ No newline at end of file diff --git a/code/datums/digital_filter.html b/code/datums/digital_filter.html new file mode 100644 index 0000000000000..d375b3ae127cf --- /dev/null +++ b/code/datums/digital_filter.html @@ -0,0 +1,4 @@ +code/datums/digital_filter.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/digital_filter.dm

/datum/digital_filterProvide support for IIR filters to perform all your standard filtering needs! +Previous inputs and outputs of the function will be summed together and output
/datum/digital_filter/window_averageSum equally weighted previous inputs of window_size
/datum/digital_filter/exponential_moving_averageSum weighted current input and weighted previous output to achieve output +input weight will be ratio of weight assigned to input value while remaining goes to previous output
/datum/pidProvide support for basic PID Controller +Allows for dampening an approach to a target value
\ No newline at end of file diff --git a/code/datums/disjoint_turf.html b/code/datums/disjoint_turf.html new file mode 100644 index 0000000000000..5b2c9ecbd2da7 --- /dev/null +++ b/code/datums/disjoint_turf.html @@ -0,0 +1 @@ +code/datums/disjoint_turf.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/disjoint_turf.dm

/datum/disjoint_turf
/obj/disjoint_connectorHelper object to define how disjoint connections are formed.
\ No newline at end of file diff --git a/code/datums/effects/system/bad_smoke_spread.html b/code/datums/effects/system/bad_smoke_spread.html new file mode 100644 index 0000000000000..d98a33fb9fdd9 --- /dev/null +++ b/code/datums/effects/system/bad_smoke_spread.html @@ -0,0 +1 @@ +code/datums/effects/system/bad_smoke_spread.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/effects/system/bad_smoke_spread.dm

/proc/ClearBadsmokeRefsSMOKE SYSTEMS
\ No newline at end of file diff --git a/code/datums/effects/system/harmless_smoke_spread.html b/code/datums/effects/system/harmless_smoke_spread.html new file mode 100644 index 0000000000000..f51a03c4c5918 --- /dev/null +++ b/code/datums/effects/system/harmless_smoke_spread.html @@ -0,0 +1 @@ +code/datums/effects/system/harmless_smoke_spread.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/effects/system/harmless_smoke_spread.dm

/datum/effects/system/harmless_smoke_spreadSMOKE SYSTEMS
\ No newline at end of file diff --git a/code/datums/effects/system/mustard_gas_spread.html b/code/datums/effects/system/mustard_gas_spread.html new file mode 100644 index 0000000000000..3d4a1a4a70d62 --- /dev/null +++ b/code/datums/effects/system/mustard_gas_spread.html @@ -0,0 +1 @@ +code/datums/effects/system/mustard_gas_spread.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/effects/system/mustard_gas_spread.dm

/datum/effects/system/mustard_gas_spreadSMOKE SYSTEMS
\ No newline at end of file diff --git a/code/datums/ehjax.html b/code/datums/ehjax.html new file mode 100644 index 0000000000000..5fd3d68bdc994 --- /dev/null +++ b/code/datums/ehjax.html @@ -0,0 +1,2 @@ +code/datums/ehjax.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/ehjax.dm

/var/ehjaxEHJAX - Like ajax but for byond +A framework for browser popups to interact with the byond server, async (client-side)
\ No newline at end of file diff --git a/code/datums/flock/flock.html b/code/datums/flock/flock.html new file mode 100644 index 0000000000000..067677d7f96b2 --- /dev/null +++ b/code/datums/flock/flock.html @@ -0,0 +1 @@ +code/datums/flock/flock.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

code/datums/flock/flock.dm

STAGE_UNBUILTThe relay is under construction
STAGE_BUILTThe relay has been built
STAGE_CRITICALThe relay is about to transmit the Signal
STAGE_DESTROYEDThe relay either transmitted the Signal, or was otherwise destroyed
/var/flocksassociative list of flock names to their flock
/var/flock_signal_unleashedHas a flock relay been unleashed yet this round
/proc/get_default_flockGimmick flock with infinite compute that lone structures and units automatically connect to
/datum/flockmanages and holds information for a flock

Define Details

STAGE_BUILT

The relay has been built

STAGE_CRITICAL

The relay is about to transmit the Signal

STAGE_DESTROYED

The relay either transmitted the Signal, or was otherwise destroyed

STAGE_UNBUILT

The relay is under construction

\ No newline at end of file diff --git a/code/datums/flock/flockstats.html b/code/datums/flock/flockstats.html new file mode 100644 index 0000000000000..2f81b75888adf --- /dev/null +++ b/code/datums/flock/flockstats.html @@ -0,0 +1,8 @@ +code/datums/flock/flockstats.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

code/datums/flock/flockstats.dm

FLOCK_ROUNDS_SAVEDDatum for storing and processing stats from flock rounds. +Each flock spawned will grab an instance of this +At round end, the stats will be collated and stored +Config for the last X rounds we save the stats for.
/var/flockstats_globalGlobal list to handle multiple flocks existing
/proc/save_flock_statsIn a sensible language, this would be a static class proc. Alas this is DM. +This proc saves all the stats for all flocks in this round, and rotates the log so only the last FLOCK_ROUNDS_SAVED flock rounds are stored

Define Details

FLOCK_ROUNDS_SAVED

Datum for storing and processing stats from flock rounds. +Each flock spawned will grab an instance of this +At round end, the stats will be collated and stored +Config for the last X rounds we save the stats for.

\ No newline at end of file diff --git a/code/datums/flock/flockunlockable.html b/code/datums/flock/flockunlockable.html new file mode 100644 index 0000000000000..6cd7dbb3d827c --- /dev/null +++ b/code/datums/flock/flockunlockable.html @@ -0,0 +1,3 @@ +code/datums/flock/flockunlockable.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/flock/flockunlockable.dm

/datum/unlockable_flock_structureSubclass this for every new building type you add +Override the check_unlocked() function to do whatever unlock logic you have +If you're looking for a specific event, I recommend /datum/flock.hasAchieved()
\ No newline at end of file diff --git a/code/datums/gamemodes/gangwar.html b/code/datums/gamemodes/gangwar.html new file mode 100644 index 0000000000000..fe2610c27bcd6 --- /dev/null +++ b/code/datums/gamemodes/gangwar.html @@ -0,0 +1 @@ +code/datums/gamemodes/gangwar.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/gamemodes/gangwar.dm

/datum/gangtileclaimFor a given tile, this contains the number of gang tags that see or influence this tile for a gang. Used to track overlays.
/datum/gang_item/weapon/discount_katanaNINJA
/datum/gang_item/weapon/discount_csaberSPACE
/datum/gang_item/country_western/colt_saaCOUNTRY WESTERN
\ No newline at end of file diff --git a/code/datums/gamemodes/nuclear.html b/code/datums/gamemodes/nuclear.html new file mode 100644 index 0000000000000..313b59a6352af --- /dev/null +++ b/code/datums/gamemodes/nuclear.html @@ -0,0 +1 @@ +code/datums/gamemodes/nuclear.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

code/datums/gamemodes/nuclear.dm

AMOUNT_OF_VALID_NUKE_PLANT_LOCATIONSThis amount of potential target locations are picked, up to every defined plant spot for the map

Define Details

AMOUNT_OF_VALID_NUKE_PLANT_LOCATIONS

This amount of potential target locations are picked, up to every defined plant spot for the map

\ No newline at end of file diff --git a/code/datums/gamemodes/pod_wars.html b/code/datums/gamemodes/pod_wars.html new file mode 100644 index 0000000000000..7380fd18f3cd8 --- /dev/null +++ b/code/datums/gamemodes/pod_wars.html @@ -0,0 +1 @@ +code/datums/gamemodes/pod_wars.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/gamemodes/pod_wars.dm

/turf/simulated/wall/auto/asteroid/pod_warspod_wars asteroids
/atom/movable/screen/hud/score_boardSCOREBOARD STUFF
/_is_abstract/obj/machinery/macrofab/pod_warsEND of SCOREBOARD STUFF
/atom/movable/screen/ability/topBar/pod_pilotABILITY HOLDER
\ No newline at end of file diff --git a/code/datums/gamemodes/pod_wars/pw_manufacturing_.html b/code/datums/gamemodes/pod_wars/pw_manufacturing_.html new file mode 100644 index 0000000000000..0078062ae6f4e --- /dev/null +++ b/code/datums/gamemodes/pod_wars/pw_manufacturing_.html @@ -0,0 +1 @@ +code/datums/gamemodes/pod_wars/pw_manufacturing_.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/gamemodes/pod_wars/pw_manufacturing_.dm

/datum/manufacture/pod/weapon/mining_weakpod-weapons
/_is_abstract/datum/manufacture/pod_warspod-armor
\ No newline at end of file diff --git a/code/datums/gamemodes/pod_wars/pw_misc_objects.html b/code/datums/gamemodes/pod_wars/pw_misc_objects.html new file mode 100644 index 0000000000000..47e34d718ebe7 --- /dev/null +++ b/code/datums/gamemodes/pod_wars/pw_misc_objects.html @@ -0,0 +1 @@ +code/datums/gamemodes/pod_wars/pw_misc_objects.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/gamemodes/pod_wars/pw_misc_objects.dm

/obj/machinery/clonepod/pod_warsspecial clone pod
/obj/item/device/pda2/pod_warsPDAs and PDA Accessories
/obj/table/wood/round/champagneChampagne
/obj/item/device/radio/headset/pod_warsHeadsets
/obj/control_point_computershit
/obj/barricadeBarricades
/obj/submachine/cargopad/pod_wars/syndicatespecial pod wars cargo pads + mineral accumulators
\ No newline at end of file diff --git a/code/datums/gamemodes/pod_wars/pw_stats_manager.html b/code/datums/gamemodes/pod_wars/pw_stats_manager.html new file mode 100644 index 0000000000000..756f50b7a0249 --- /dev/null +++ b/code/datums/gamemodes/pod_wars/pw_stats_manager.html @@ -0,0 +1 @@ +code/datums/gamemodes/pod_wars/pw_stats_manager.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/gamemodes/pod_wars/pw_stats_manager.dm

/datum/pw_stats_managerplayer stats tracking datum
\ No newline at end of file diff --git a/code/datums/gamemodes/pod_wars/pw_weapons.html b/code/datums/gamemodes/pod_wars/pw_weapons.html new file mode 100644 index 0000000000000..d02ee99be42d7 --- /dev/null +++ b/code/datums/gamemodes/pod_wars/pw_weapons.html @@ -0,0 +1 @@ +code/datums/gamemodes/pod_wars/pw_weapons.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/gamemodes/pod_wars/pw_weapons.dm

/obj/item/survival_machetesurvival_machete
\ No newline at end of file diff --git a/code/datums/http.html b/code/datums/http.html new file mode 100644 index 0000000000000..ee48b30a3b309 --- /dev/null +++ b/code/datums/http.html @@ -0,0 +1 @@ +code/datums/http.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/http.dm

/datum/http_requestHolder datum for ingame HTTP requests
/datum/http_responseHolder datum for HTTP responses
/datum/cobalt_toolsDatum used to manage the functionality and cache for the cobalt.tools API.
\ No newline at end of file diff --git a/code/datums/hud/critter.html b/code/datums/hud/critter.html new file mode 100644 index 0000000000000..5ea946f7f9e1d --- /dev/null +++ b/code/datums/hud/critter.html @@ -0,0 +1 @@ +code/datums/hud/critter.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/hud/critter.dm

/datum/hud/critterHighly modular HUD for critters.
\ No newline at end of file diff --git a/code/datums/hud/silicon.html b/code/datums/hud/silicon.html new file mode 100644 index 0000000000000..caf25d1d62ddd --- /dev/null +++ b/code/datums/hud/silicon.html @@ -0,0 +1 @@ +code/datums/hud/silicon.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/hud/silicon.dm

/datum/hud/siliconA parent type for borg and AI huds used to hold the shared killswitch stuff
\ No newline at end of file diff --git a/code/datums/ircbot.html b/code/datums/ircbot.html new file mode 100644 index 0000000000000..ac88cb1c36a16 --- /dev/null +++ b/code/datums/ircbot.html @@ -0,0 +1 @@ +code/datums/ircbot.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/ircbot.dm

/var/ircbotProcs for handling ircbot connectivity and data transfer
\ No newline at end of file diff --git a/code/datums/jsErrorHandler.html b/code/datums/jsErrorHandler.html new file mode 100644 index 0000000000000..96ad746da29e4 --- /dev/null +++ b/code/datums/jsErrorHandler.html @@ -0,0 +1 @@ +code/datums/jsErrorHandler.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/jsErrorHandler.dm

/datum/debugFileOutputThis is a generic handler for logging your dumb JS errors generated by html popups
\ No newline at end of file diff --git a/code/datums/limb.html b/code/datums/limb.html new file mode 100644 index 0000000000000..df7d90f78369d --- /dev/null +++ b/code/datums/limb.html @@ -0,0 +1,2 @@ +code/datums/limb.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/limb.dm

/datum/limbLimb datums for arms. Describes all activity performed by the limb. +Currently, this is basically attack_hand().
/datum/limb/mouth/smallfor cats/mice/etc
/datum/limb/hotCurrently used by the High Fever disease which is obtainable from the "Too Much" chem which only shows up in sickly pears, which are currently commented out. Go there to make use of this.
/datum/limb/small_critterlittle critters with teeth, like mice! can pick up small items only.
/datum/limb/small_critter/medsame as the parent, but can pick up some heavier shit
/datum/limb/swipe_quaketest for crab attack thing
/datum/limb/tentacleI wanted a claw-like limb but without the random item pickup fail
\ No newline at end of file diff --git a/code/datums/manufacturing.html b/code/datums/manufacturing.html new file mode 100644 index 0000000000000..6710d8416f5aa --- /dev/null +++ b/code/datums/manufacturing.html @@ -0,0 +1 @@ +code/datums/manufacturing.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/manufacturing.dm

/datum/manufacture/mechanics/clonepodCloner
/datum/manufacture/mechanics/loaferLoafer
/datum/manufacture/mechanics/comms_dishCommunications Dish
/datum/manufacture/mechanics/lawrackAI Law Rack
/datum/manufacture/mechanics/ai_status_displayAI display (temp)
/datum/manufacture/mechanics/laser_mirrorLaser beam things
/datum/manufacture/air_cancogwerks - gas extraction stuff
/datum/manufacture/scalpelMedical
/datum/manufacture/robo_frameRobotics
/datum/manufacture/biosuitScience
/datum/manufacture/engineShip Items -- OLD COMPONENTS
/datum/manufacture/pod/armor_lightpod construction components
/_is_abstract/datum/manufacture/podpod addons
/datum/manufacture/beaconkitdeployable warp beacon
/datum/manufacture/id_cardHOP
/datum/manufacture/crateQM CRATES
/datum/manufacture/alastorGUNS
/datum/manufacture/interdictor_kitINTERDICTOR STUFF
/datum/manufacture/resonator_type_axNADIR RESONATORS
/datum/manufacture/nanoloomNADIR GEAR
/datum/manufacture/armor_vestUBER-EXTREME SURVIVAL
\ No newline at end of file diff --git a/code/datums/manufacturing_requirements.html b/code/datums/manufacturing_requirements.html new file mode 100644 index 0000000000000..0a27673994c9d --- /dev/null +++ b/code/datums/manufacturing_requirements.html @@ -0,0 +1,3 @@ +code/datums/manufacturing_requirements.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

code/datums/manufacturing_requirements.dm

/var/requirement_cacheManufacturing Requirements are datums which check if a material satisfies some given requirements, to determine if a manufacturer can produce +a blueprint. Manufacturing datums define them by their string ID, which gets converted to the single instance of it in the cache on New(). +Not shown in this file are the exact material ID requirement datums, which are generated for the cache on init using the material cache.
/datum/manufacturing_requirement/match_materialAll instances of match_material are generated at runtime for the cache
MATCH_ANYPass as long as at least one flag is set.
MATCH_ALLPass if every material flag being checked is set.
MATCH_EXACTPass if every material flag being checked is set, and every material flag not checked is not set.
/_is_abstract/datum/manufacturing_requirement/mixedManufacturing requirements which check several conditions at once.

Define Details

MATCH_ALL

Pass if every material flag being checked is set.

MATCH_ANY

Pass as long as at least one flag is set.

MATCH_EXACT

Pass if every material flag being checked is set, and every material flag not checked is not set.

\ No newline at end of file diff --git a/code/datums/mutantraces.html b/code/datums/mutantraces.html new file mode 100644 index 0000000000000..40fff772663f6 --- /dev/null +++ b/code/datums/mutantraces.html @@ -0,0 +1 @@ +code/datums/mutantraces.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

code/datums/mutantraces.dm

SNAP_PROBProbability someone gets bit when patting a werewolf

Define Details

SNAP_PROB

Probability someone gets bit when patting a werewolf

\ No newline at end of file diff --git a/code/datums/named_colors.html b/code/datums/named_colors.html new file mode 100644 index 0000000000000..7a3d289c8c58b --- /dev/null +++ b/code/datums/named_colors.html @@ -0,0 +1,3 @@ +code/datums/named_colors.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

code/datums/named_colors.dm

color_dist2distance^2 between first and second RGB values
/datum/named_colorthe datum holding one named color
/var/named_colorsglobal list of all named colors
/var/named_color_cacheglobal cache of all named colors once fetched with a color rgba
/proc/get_nearest_colorreturns the name of the color nearest to the given color RGB
/proc/get_nearest_color_datumreturns the named_color datum that is nearest to the given color RGB
/proc/add_coloradds a named color to the global list +given name and RGB color
/proc/create_named_colorscalled at world startup +populates the color list

Define Details

color_dist2

distance^2 between first and second RGB values

\ No newline at end of file diff --git a/code/datums/part_customization.html b/code/datums/part_customization.html new file mode 100644 index 0000000000000..9b2d604071109 --- /dev/null +++ b/code/datums/part_customization.html @@ -0,0 +1 @@ +code/datums/part_customization.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/part_customization.dm

/datum/part_customizationThese are SINGLETONS
/var/part_customizationsLazy init singleton list
\ No newline at end of file diff --git a/code/datums/pda_ringtones.html b/code/datums/pda_ringtones.html new file mode 100644 index 0000000000000..d230da50003b8 --- /dev/null +++ b/code/datums/pda_ringtones.html @@ -0,0 +1 @@ +code/datums/pda_ringtones.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

code/datums/pda_ringtones.dm

RINGLIST_STATICDon't change the index -- it's set by the PDA!
RINGLIST_CYCLECycle through the ringtone list one after the other
RINGLIST_RANDOMPick a random index
/proc/filter_is_character_setup_ringtonetype filter for ringtones that're suposed to be selectable at roundstart
/datum/ringtoneRingtones that'll get mashed into a PDA
/datum/ringtone/dogsTest ringtone for random sounds w/ varied and altered pitch
/datum/ringtone/numbersTest ringtone for cycled numbers with special index
/datum/ringtone/thinktronicStock Thinktronic ringtones
/datum/ringtone/clownClown ringtones
/datum/ringtone/basicbasic-ass ringtones for basic-ass spacepeople
/datum/ringtone/retkidRingtones with Shorts
/datum/ringtone/syndieSyndicate Distracto-tones

Define Details

RINGLIST_CYCLE

Cycle through the ringtone list one after the other

RINGLIST_RANDOM

Pick a random index

RINGLIST_STATIC

Don't change the index -- it's set by the PDA!

\ No newline at end of file diff --git a/code/datums/rand.html b/code/datums/rand.html new file mode 100644 index 0000000000000..a85e837232a8d --- /dev/null +++ b/code/datums/rand.html @@ -0,0 +1 @@ +code/datums/rand.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/rand.dm

/datum/xor_rand_generatorXORSHIFT Pseudorandom number generator
\ No newline at end of file diff --git a/code/datums/round_management.html b/code/datums/round_management.html new file mode 100644 index 0000000000000..135c2762d68e0 --- /dev/null +++ b/code/datums/round_management.html @@ -0,0 +1 @@ +code/datums/round_management.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/round_management.dm

/var/roundManagementCollection of methods to handle recording round data to the API
\ No newline at end of file diff --git a/code/datums/spawn_rules.html b/code/datums/spawn_rules.html new file mode 100644 index 0000000000000..443a6e6287c94 --- /dev/null +++ b/code/datums/spawn_rules.html @@ -0,0 +1 @@ +code/datums/spawn_rules.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/spawn_rules.dm

/datum/spawn_ruleRepresents a "rule" applied to a human or something they are wearing on spawn
/datum/spawn_rule/proc_callA proc call, complete with arguments list
/datum/spawn_rule/var_editA var edit, var name and value to set it to
/mob/living/carbon/human/normal/assistant/the_templateA template human, varedit or proc call this to generate rules
\ No newline at end of file diff --git a/code/datums/syndicate_buylist.html b/code/datums/syndicate_buylist.html new file mode 100644 index 0000000000000..e8d0cd67ba809 --- /dev/null +++ b/code/datums/syndicate_buylist.html @@ -0,0 +1 @@ +code/datums/syndicate_buylist.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/syndicate_buylist.dm

/proc/build_syndi_buylist_cacheBuilds the entire syndicate buylist cache, retrieved by uplinks. Ideally only executed once during the pre-round
/_is_abstract/datum/syndicate_buylist/genericStandard items (generic & nukeops uplink)
/_is_abstract/datum/syndicate_buylist/traitorStandard items (traitor uplink)
/datum/syndicate_buylist/traitor/idtrackerObjective-specific items
/datum/syndicate_buylist/traitor/clowncarJob-specific items
/_is_abstract/datum/syndicate_buylist/surplusSurplus-exclusive items
/_is_abstract/datum/syndicate_buylist/commanderIrregular Items
/datum/syndicate_buylist/generic/telecrystalTelecrystals
/datum/syndicate_buylist/traitor/fogmasterDisabled items
\ No newline at end of file diff --git a/code/datums/teg_transform.html b/code/datums/teg_transform.html new file mode 100644 index 0000000000000..32e580f6aad8c --- /dev/null +++ b/code/datums/teg_transform.html @@ -0,0 +1,2 @@ +code/datums/teg_transform.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/teg_transform.dm

/datum/teg_transformation_mngrTransformation Manager for Thermo-Electric Generator
/datum/teg_transformation
/datum/teg_transformation/defaultDefault TEG Transformation we know and ""love""
/datum/teg_transformation/matsciMaterial Science Transformation +Triggered by /obj/item/teg_semiconductor having a material applied likely by /obj/machinery/arc_electroplater
\ No newline at end of file diff --git a/code/datums/titlecard.html b/code/datums/titlecard.html new file mode 100644 index 0000000000000..aa389cf2a17d7 --- /dev/null +++ b/code/datums/titlecard.html @@ -0,0 +1 @@ +code/datums/titlecard.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/titlecard.dm

/obj/titlecardold title card turf
\ No newline at end of file diff --git a/code/datums/zoldorfitems.html b/code/datums/zoldorfitems.html new file mode 100644 index 0000000000000..162161e15493e --- /dev/null +++ b/code/datums/zoldorfitems.html @@ -0,0 +1 @@ +code/datums/zoldorfitems.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/datums/zoldorfitems.dm

/datum/zoldorfitemZoldorf Player Shop Item
/datum/zoldorfitem/soulZoldorf items that cost part of user's soul
/datum/zoldorfitem/creditZoldorf items that cost credits
\ No newline at end of file diff --git a/code/del.html b/code/del.html new file mode 100644 index 0000000000000..e4f3a03607ec8 --- /dev/null +++ b/code/del.html @@ -0,0 +1 @@ +code/del.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/del.dm

/proc/qdelqdel
\ No newline at end of file diff --git a/code/global.html b/code/global.html new file mode 100644 index 0000000000000..240565e5493bb --- /dev/null +++ b/code/global.html @@ -0,0 +1,2 @@ +code/global.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/global.dm

/var/station_areasAll the accessible areas on the station in one convenient place
/var/area_list_is_up_to_dateThe station_areas list is up to date. If something changes an area, make sure to set this to 0
/var/unconnected_zoneAreas built anew belong to a single unconnected zone, which gives its turfs over to other expandable areas when contacting them
/var/switched_objsContains objects in ID-based switched object groups, such as blinds and their switches
/var/pcap_kick_messagesspecifies if pcap kick messages show display to admins in chat
/var/logsLoooooooooogs
/var/compid_fileThe file holding computer ID information
/var/do_compid_analysisShould we be analysing the comp IDs of new clients?
/var/dont_init_spaceWhen toggled on creating new /turf/space will be faster but they will be slightly broken +used when creating new z-levels
/var/valid_icon_statesIcon states that exist for a given icon ref. Format is valid_icon_states[icon] = list(). Populated by is_valid_icon_state(), used for caching.
/var/protected_frequenciesradio frequencies unable to be picked up by (empowered) radio_brain
/var/base_slip_delaybase movedelay threshold for slipping
/proc/getItemIconGenerates item icons for manufacturers and other things, used in UI dialogs. Sends to client if needed.
/proc/sendItemIconsSends all of the item icons to a client. Kinda gross, but whatever.
/proc/sendItemIconsToAllSends all item icons to all clients. Used at world startup to preload things.
\ No newline at end of file diff --git a/code/map.html b/code/map.html new file mode 100644 index 0000000000000..170eea04507f9 --- /dev/null +++ b/code/map.html @@ -0,0 +1,2 @@ +code/map.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/map.dm

/var/mapNamesid corresponds to the name of the /obj/landmark/map +playerPickable defines whether the map can be chosen by players when voting on a new map.
\ No newline at end of file diff --git a/code/mob/living/carbon/human/gimmick.html b/code/mob/living/carbon/human/gimmick.html new file mode 100644 index 0000000000000..36bb69f3b6cf8 --- /dev/null +++ b/code/mob/living/carbon/human/gimmick.html @@ -0,0 +1 @@ +code/mob/living/carbon/human/gimmick.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

code/mob/living/carbon/human/gimmick.dm

BILL_PICKBILL SPEECH STUFF

Define Details

BILL_PICK

BILL SPEECH STUFF

\ No newline at end of file diff --git a/code/mob/living/carbon/human/npc.html b/code/mob/living/carbon/human/npc.html new file mode 100644 index 0000000000000..f308ae4de3238 --- /dev/null +++ b/code/mob/living/carbon/human/npc.html @@ -0,0 +1 @@ +code/mob/living/carbon/human/npc.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/mob/living/carbon/human/npc.dm

/mob/living/carbon/human/npc/survivorrest in peace NPC classic-mentally challenged idiots, you were shit
\ No newline at end of file diff --git a/code/mob/living/carbon/human/virtual.html b/code/mob/living/carbon/human/virtual.html new file mode 100644 index 0000000000000..b8d03e1619dcc --- /dev/null +++ b/code/mob/living/carbon/human/virtual.html @@ -0,0 +1 @@ +code/mob/living/carbon/human/virtual.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/mob/living/carbon/human/virtual.dm

/datum/targetable/virtualWrestler spell parent
\ No newline at end of file diff --git a/code/mob/living/critter.html b/code/mob/living/critter.html new file mode 100644 index 0000000000000..bf7ff667d7dc3 --- /dev/null +++ b/code/mob/living/critter.html @@ -0,0 +1 @@ +code/mob/living/critter.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/mob/living/critter.dm

/mob/living/critter/roboticParent for robotic critters. Handles some traits that robots should have- damaged by EMPs, immune to fire and rads
\ No newline at end of file diff --git a/code/mob/living/critter/adventure.html b/code/mob/living/critter/adventure.html new file mode 100644 index 0000000000000..b58e327825e81 --- /dev/null +++ b/code/mob/living/critter/adventure.html @@ -0,0 +1 @@ +code/mob/living/critter/adventure.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/mob/living/critter/adventure.dm

/mob/living/critter/crunchedTransposed scientist
/datum/limb/transposedTransposed limb
/mob/living/critter/shadeShades
/mob/living/critter/robotic/repairbotRepair bots
/mob/living/critter/townguardTown guards
/mob/living/critter/blobmanBlobman
\ No newline at end of file diff --git a/code/mob/living/critter/ai/flock/flocktasks.html b/code/mob/living/critter/ai/flock/flocktasks.html new file mode 100644 index 0000000000000..977f9a6ad8e6e --- /dev/null +++ b/code/mob/living/critter/ai/flock/flocktasks.html @@ -0,0 +1 @@ +code/mob/living/critter/ai/flock/flocktasks.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/mob/living/critter/ai/flock/flocktasks.dm

/datum/aiTask/sequence/goalbased/flock/barricadeSince we don't want flockdrones building barricades randomly, this task only exists for the targetable version to inherit from
/datum/aiTask/sequence/goalbased/flock/build/targetableTargetable AI tasks, instead of looking for targets around them they just override with their own target var
/datum/aiTask/timed/wander/flockWander override for better wandering
\ No newline at end of file diff --git a/code/mob/living/critter/ai/generic_aiholders.html b/code/mob/living/critter/ai/generic_aiholders.html new file mode 100644 index 0000000000000..05d557798c274 --- /dev/null +++ b/code/mob/living/critter/ai/generic_aiholders.html @@ -0,0 +1 @@ +code/mob/living/critter/ai/generic_aiholders.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/mob/living/critter/ai/generic_aiholders.dm

/datum/aiHolder/emptyEmpty AIholder for when you only want to add things to the prioritizer (such as retaliation tasks)
/datum/aiHolder/wandererWanderer
/datum/aiHolder/aggressiveAggressive Wanderer
/datum/aiHolder/aggressive/scavengerAgressive Wanderer scavenger
/datum/aiHolder/rangedAggressive wander with ranged attack
\ No newline at end of file diff --git a/code/mob/living/critter/ai/generic_critter.html b/code/mob/living/critter/ai/generic_critter.html new file mode 100644 index 0000000000000..544648ef2fe68 --- /dev/null +++ b/code/mob/living/critter/ai/generic_critter.html @@ -0,0 +1 @@ +code/mob/living/critter/ai/generic_critter.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/mob/living/critter/ai/generic_critter.dm

/datum/aiTask/timed/wander/critter/aggressiveThis is standard wander behaviour with frequent checks for nearby enemies, which will interrupt the wandering.
/datum/aiTask/sequence/goalbased/critter/attackThis one makes the critter move towards a target returned from holder.owner.seek_target()
/datum/aiTask/succeedable/critter/attackThe aiTask/succeedable handles the behaviour to do when we're in range of the target
/datum/aiTask/sequence/goalbased/critter/attack/fixed_targetThis one makes the critter move towards a fixed target
/datum/aiTask/sequence/goalbased/critter/range_attackThis makes the critter maintain a distance and fire on the target from holder.owner.seek_target() if the target gets close we back away.
/datum/aiTask/succeedable/critter/range_attackThe aiTask/succeedable handles the behaviour to do when we're in range of the target
/datum/aiTask/sequence/goalbased/critter/flight_rangeThis makes the critter maintain a distance and fire on the target from holder.owner.seek_target() if the target gets close we back away.
/datum/aiTask/succeedable/critter/flight_rangeThe aiTask/succeedable handles the behaviour to do when we're in range of the target
/datum/aiTask/sequence/goalbased/critter/scavengeThis one makes the critter move towards a corpse returned from holder.owner.seek_scavenge_target()
/datum/aiTask/sequence/goalbased/critter/eatThis one makes the critter move towards a food item returned from holder.owner.seek_food_target()
/datum/aiTask/sequence/goalbased/retaliateThis one makes the mob move towards a target mob and attack it. Repeats until the target is dead, gone, too far, or we are incapacitated. Called upon being attacked if the ai is set to retaliate
\ No newline at end of file diff --git a/code/mob/living/critter/ai/mimic.html b/code/mob/living/critter/ai/mimic.html new file mode 100644 index 0000000000000..4b5a999f5186b --- /dev/null +++ b/code/mob/living/critter/ai/mimic.html @@ -0,0 +1 @@ +code/mob/living/critter/ai/mimic.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/mob/living/critter/ai/mimic.dm

/datum/aiTask/timed/wait_in_ambushWait in ambush - while hidden, stay hidden until a potential target is nearby, then interupt AI so ambush or attack can trigger
/datum/aiTask/sequence/goalbased/ambushIf a target is in range and we're hiding, attack them until they're incapacitated
/datum/aiTask/sequence/goalbased/run_and_hideIf a target can see us and we're not hiding, then lets run away and hide
\ No newline at end of file diff --git a/code/mob/living/critter/humanoid/brullbar.html b/code/mob/living/critter/humanoid/brullbar.html new file mode 100644 index 0000000000000..23ee509ef1c7b --- /dev/null +++ b/code/mob/living/critter/humanoid/brullbar.html @@ -0,0 +1 @@ +code/mob/living/critter/humanoid/brullbar.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/mob/living/critter/humanoid/brullbar.dm

/obj/item/reagent_containers/food/snacks/ingredient/egg/critter/brullbare-egg?
\ No newline at end of file diff --git a/code/mob/living/critter/humanoid/human.html b/code/mob/living/critter/humanoid/human.html new file mode 100644 index 0000000000000..68810073000fb --- /dev/null +++ b/code/mob/living/critter/humanoid/human.html @@ -0,0 +1 @@ +code/mob/living/critter/humanoid/human.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/mob/living/critter/humanoid/human.dm

/_is_abstract/mob/living/critter/humanA file for human mob critters
\ No newline at end of file diff --git a/code/mob/living/critter/humanoid/skeleton.html b/code/mob/living/critter/humanoid/skeleton.html new file mode 100644 index 0000000000000..d326cd9ee64c1 --- /dev/null +++ b/code/mob/living/critter/humanoid/skeleton.html @@ -0,0 +1 @@ +code/mob/living/critter/humanoid/skeleton.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/mob/living/critter/humanoid/skeleton.dm

/obj/item/reagent_containers/food/snacks/ingredient/egg/critter/skeletonEGG
\ No newline at end of file diff --git a/code/mob/living/critter/martian.html b/code/mob/living/critter/martian.html new file mode 100644 index 0000000000000..6e2b0669f6022 --- /dev/null +++ b/code/mob/living/critter/martian.html @@ -0,0 +1 @@ +code/mob/living/critter/martian.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/mob/living/critter/martian.dm

/obj/machinery/martianbombmob/living/critter/martian/infiltrator/mancer
\ No newline at end of file diff --git a/code/mob/living/critter/mob_bots.html b/code/mob/living/critter/mob_bots.html new file mode 100644 index 0000000000000..df684618fbe2b --- /dev/null +++ b/code/mob/living/critter/mob_bots.html @@ -0,0 +1 @@ +code/mob/living/critter/mob_bots.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/mob/living/critter/mob_bots.dm

/_is_abstract/mob/living/critter/robotic/botPlayable bots
\ No newline at end of file diff --git a/code/mob/living/critter/small_animal.html b/code/mob/living/critter/small_animal.html new file mode 100644 index 0000000000000..c656c3af34bd8 --- /dev/null +++ b/code/mob/living/critter/small_animal.html @@ -0,0 +1 @@ +code/mob/living/critter/small_animal.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/mob/living/critter/small_animal.dm

/mob/living/critter/small_animal/floateye/watchfulthe floating eyes found in the watchful eye sensor array.
\ No newline at end of file diff --git a/code/mob/living/intangible/flockmob_parent.html b/code/mob/living/intangible/flockmob_parent.html new file mode 100644 index 0000000000000..480d5f453e614 --- /dev/null +++ b/code/mob/living/intangible/flockmob_parent.html @@ -0,0 +1 @@ +code/mob/living/intangible/flockmob_parent.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

code/mob/living/intangible/flockmob_parent.dm

STAGE_UNBUILTThe relay is under construction
STAGE_BUILTThe relay has been built
STAGE_CRITICALThe relay is about to transmit the Signal
STAGE_DESTROYEDThe relay either transmitted the Signal, or was otherwise destroyed
/atom/movable/screen/hud/relayRelay HUD icon for flockminds and player-controlled flockdrones to show progress towards objective
/atom/movable/screen/hud/relay_backBack of the relay HUD icon

Define Details

STAGE_BUILT

The relay has been built

STAGE_CRITICAL

The relay is about to transmit the Signal

STAGE_DESTROYED

The relay either transmitted the Signal, or was otherwise destroyed

STAGE_UNBUILT

The relay is under construction

\ No newline at end of file diff --git a/code/mob/living/intangible/wraith/poltergeist.html b/code/mob/living/intangible/wraith/poltergeist.html new file mode 100644 index 0000000000000..17b0bbab81bfc --- /dev/null +++ b/code/mob/living/intangible/wraith/poltergeist.html @@ -0,0 +1 @@ +code/mob/living/intangible/wraith/poltergeist.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/mob/living/intangible/wraith/poltergeist.dm

/datum/targetable/wraithAbility/retreatabilities
\ No newline at end of file diff --git a/code/mob/living/silicon/hivebot/hivebot_statusupdate.html b/code/mob/living/silicon/hivebot/hivebot_statusupdate.html new file mode 100644 index 0000000000000..63b1f4a7aebf9 --- /dev/null +++ b/code/mob/living/silicon/hivebot/hivebot_statusupdate.html @@ -0,0 +1 @@ +code/mob/living/silicon/hivebot/hivebot_statusupdate.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/mob/living/silicon/hivebot/hivebot_statusupdate.dm

/datum/lifeprocess/hivebot_statusupdateobj/item/hive_module/security/New()
\ No newline at end of file diff --git a/code/mob/melee_attack_procs.html b/code/mob/melee_attack_procs.html new file mode 100644 index 0000000000000..f7cbd4875e53d --- /dev/null +++ b/code/mob/melee_attack_procs.html @@ -0,0 +1 @@ +code/mob/melee_attack_procs.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/mob/melee_attack_procs.dm

/datum/attackResultsattackResult datum
\ No newline at end of file diff --git a/code/modules/admin/admin.html b/code/modules/admin/admin.html new file mode 100644 index 0000000000000..9de626320d8b5 --- /dev/null +++ b/code/modules/admin/admin.html @@ -0,0 +1,5 @@ +code/modules/admin/admin.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/admin/admin.dm

/proc/get_matches_stringADMIN HELPER PROCS
/proc/get_one_matchget_one_match attempts to find a type match for a given object. +The function allows customization of the base type, whether to use concrete types, +whether to use only admin spawnable, the comparison procedure, and the sort limit. +The function sorts the matches if a comparison procedure is provided and if the sort limit condition allows it, +then it presents a list of matches for the user to choose from.
\ No newline at end of file diff --git a/code/modules/admin/antagonist_panel/antagonist_panel.html b/code/modules/admin/antagonist_panel/antagonist_panel.html new file mode 100644 index 0000000000000..aa32f5e386921 --- /dev/null +++ b/code/modules/admin/antagonist_panel/antagonist_panel.html @@ -0,0 +1,3 @@ +code/modules/admin/antagonist_panel/antagonist_panel.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/admin/antagonist_panel/antagonist_panel.dm

/datum/antagonist_panelAntagonist panel datums serve as per-UI-user datums that pass data fetched from the global antagonist panel data singleton +to the UI. These datums will also store and pass user specific data such as the current tab and subordinate antagonist data +requested by the UI user.
\ No newline at end of file diff --git a/code/modules/admin/antagonist_panel/antagonist_panel_data.html b/code/modules/admin/antagonist_panel/antagonist_panel_data.html new file mode 100644 index 0000000000000..18852a2168e6e --- /dev/null +++ b/code/modules/admin/antagonist_panel/antagonist_panel_data.html @@ -0,0 +1,4 @@ +code/modules/admin/antagonist_panel/antagonist_panel_data.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/admin/antagonist_panel/antagonist_panel_data.dm

/datum/antagonist_panel_dataThe global singleton datum responsible for generating and providing data to individual instances of antagonist panels. +Such a datum is necessary due to the relatively large amount of antagonist data that is required to be processed with +each update of individual antagonist panels; tab data may be collated once every update then stored in a cache in order +to be fetched by antagonist panels.
\ No newline at end of file diff --git a/code/modules/admin/antagonist_panel/antagonist_panel_tab.html b/code/modules/admin/antagonist_panel/antagonist_panel_tab.html new file mode 100644 index 0000000000000..47000168b5bd8 --- /dev/null +++ b/code/modules/admin/antagonist_panel/antagonist_panel_tab.html @@ -0,0 +1,2 @@ +code/modules/admin/antagonist_panel/antagonist_panel_tab.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/admin/antagonist_panel/antagonist_panel_tab.dm

/datum/antagonist_panel_tabAntagonist panel tab datums represent the individual tabs that may be present on an antagonist panel and are responsble +for generating the specific data contained within them.
\ No newline at end of file diff --git a/code/modules/admin/ban_panel.html b/code/modules/admin/ban_panel.html new file mode 100644 index 0000000000000..44762fca4b48b --- /dev/null +++ b/code/modules/admin/ban_panel.html @@ -0,0 +1 @@ +code/modules/admin/ban_panel.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/admin/ban_panel.dm

/datum/ban_panelAdmin Ban Panel
\ No newline at end of file diff --git a/code/modules/admin/buildmodes/adventure/elements/proccaller.html b/code/modules/admin/buildmodes/adventure/elements/proccaller.html new file mode 100644 index 0000000000000..f03f37ace793c --- /dev/null +++ b/code/modules/admin/buildmodes/adventure/elements/proccaller.html @@ -0,0 +1 @@ +code/modules/admin/buildmodes/adventure/elements/proccaller.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/admin/buildmodes/adventure/elements/proccaller.dm

/obj/adventurepuzzle/triggerable/targetable/proccallAdventure puzzle thing - calls set proc on a linked object (via .name or .interesting)
\ No newline at end of file diff --git a/code/modules/admin/buildmodes/adventure/elements/vareditor.html b/code/modules/admin/buildmodes/adventure/elements/vareditor.html new file mode 100644 index 0000000000000..69f06cd173be2 --- /dev/null +++ b/code/modules/admin/buildmodes/adventure/elements/vareditor.html @@ -0,0 +1 @@ +code/modules/admin/buildmodes/adventure/elements/vareditor.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/admin/buildmodes/adventure/elements/vareditor.dm

/obj/adventurepuzzle/triggerable/targetable/vareditAdventure puzzle thing - edits set var (via .name or .interesting)
\ No newline at end of file diff --git a/code/modules/admin/centcomviewer.html b/code/modules/admin/centcomviewer.html new file mode 100644 index 0000000000000..89636fe67e2c3 --- /dev/null +++ b/code/modules/admin/centcomviewer.html @@ -0,0 +1 @@ +code/modules/admin/centcomviewer.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/admin/centcomviewer.dm

/datum/centcomviewerAdmin CentCom Viewer Panel for looking up public bans on other servers via the CentCom Viewer API
\ No newline at end of file diff --git a/code/modules/admin/data_input.html b/code/modules/admin/data_input.html new file mode 100644 index 0000000000000..55e19b1bb7afa --- /dev/null +++ b/code/modules/admin/data_input.html @@ -0,0 +1,2 @@ +code/modules/admin/data_input.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/admin/data_input.dm

/datum/data_input_resultA datum holding the data the caller needs- the formatted output itself and the format the src selected (text, JSON, color, etc etc) +Functionally a named tuple.
/datum/targetable/refpickerRefpicker - click thing, get its ref. Tied to the data_input proc via a promise.
/proc/pick_refGives the target mob a reference picker ability and returns the atom picked. Synchronous.
\ No newline at end of file diff --git a/code/modules/admin/jobban.html b/code/modules/admin/jobban.html new file mode 100644 index 0000000000000..6d82842c1cfdc --- /dev/null +++ b/code/modules/admin/jobban.html @@ -0,0 +1 @@ +code/modules/admin/jobban.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/admin/jobban.dm

/proc/jobban_isbannedCan be provided with a mob, a raw cache list, or a ckey. Prefer providing a cache if you can't use a mob, as that reduces API load.
\ No newline at end of file diff --git a/code/modules/admin/player_panel.html b/code/modules/admin/player_panel.html new file mode 100644 index 0000000000000..fd72583378955 --- /dev/null +++ b/code/modules/admin/player_panel.html @@ -0,0 +1 @@ +code/modules/admin/player_panel.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/admin/player_panel.dm

/datum/player_panelAdmin Player Panel
\ No newline at end of file diff --git a/code/modules/admin/playernotes.html b/code/modules/admin/playernotes.html new file mode 100644 index 0000000000000..f56a835d5bebd --- /dev/null +++ b/code/modules/admin/playernotes.html @@ -0,0 +1 @@ +code/modules/admin/playernotes.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/admin/playernotes.dm

/proc/addPlayerNoteAdding a player note
/proc/deletePlayerNoteDeleting a player note
\ No newline at end of file diff --git a/code/modules/admin/region_allocator_panel.html b/code/modules/admin/region_allocator_panel.html new file mode 100644 index 0000000000000..2a0144f744167 --- /dev/null +++ b/code/modules/admin/region_allocator_panel.html @@ -0,0 +1 @@ +code/modules/admin/region_allocator_panel.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/admin/region_allocator_panel.dm

/datum/region_allocator_paneladmin panel front end for interacting with the region allocator system
\ No newline at end of file diff --git a/code/modules/admin/spacebee_extension/arguments.html b/code/modules/admin/spacebee_extension/arguments.html new file mode 100644 index 0000000000000..465c01d16143a --- /dev/null +++ b/code/modules/admin/spacebee_extension/arguments.html @@ -0,0 +1 @@ +code/modules/admin/spacebee_extension/arguments.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/admin/spacebee_extension/arguments.dm

/datum/command_argumentargument for a spacebee command, a singleton (should be created through get_singleton())
/datum/command_argument/stringa quoted or unquoted string argument
/datum/command_argument/string/ckeya quoted or unquoted string argument that gets ckey applied to it
/datum/command_argument/string/optionala string argument that doesn't have to exist (only supported as either the only argument or having another arg after it weirdly)
/datum/command_argument/numbera number, not necessarily an integer
/datum/command_argument/number/integeran integer
/datum/command_argument/the_restthe whole rest of the command (only supported as the last argument for obvious reasons)
\ No newline at end of file diff --git a/code/modules/admin/spacebee_extension/command_structure.html b/code/modules/admin/spacebee_extension/command_structure.html new file mode 100644 index 0000000000000..a1642c36810a3 --- /dev/null +++ b/code/modules/admin/spacebee_extension/command_structure.html @@ -0,0 +1,6 @@ +code/modules/admin/spacebee_extension/command_structure.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/admin/spacebee_extension/command_structure.dm

/datum/spacebee_extension_commandA command for the Spacebee extension thing
/datum/spacebee_extension_command/state_basedFor commands with multiple states (several stages of entering inputs, confirmation dialogs etc.). +Define a proc for each state and use go_to_state(new_state) to go to that state. When the +user inputs their next command instead of being processed by the Spacebee extension system it will +get processed by said state of this command.
/datum/spacebee_extension_command/state_based/confirmationFor dangerous commands that the user should really doublecheck. Override +prepare to check the validity of the vars and return a message (or null to cancel). +User will need to reply with ;;yes to continue at which point do_it gets called.
\ No newline at end of file diff --git a/code/modules/admin/spacebee_extension/system.html b/code/modules/admin/spacebee_extension/system.html new file mode 100644 index 0000000000000..62381c110e6ac --- /dev/null +++ b/code/modules/admin/spacebee_extension/system.html @@ -0,0 +1 @@ +code/modules/admin/spacebee_extension/system.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/admin/spacebee_extension/system.dm

/datum/spacebee_extension_systemthe main thing that processes and runs the commands
\ No newline at end of file diff --git a/code/modules/admin/viewvariables/color_matrix_editor.html b/code/modules/admin/viewvariables/color_matrix_editor.html new file mode 100644 index 0000000000000..3437cb7917f8e --- /dev/null +++ b/code/modules/admin/viewvariables/color_matrix_editor.html @@ -0,0 +1 @@ +code/modules/admin/viewvariables/color_matrix_editor.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/admin/viewvariables/color_matrix_editor.dm

/datum/color_matrix_editorNice admin editor for editing color matricies with a preview
\ No newline at end of file diff --git a/code/modules/admin/viewvariables/filterrific.html b/code/modules/admin/viewvariables/filterrific.html new file mode 100644 index 0000000000000..f54ccdb6683a7 --- /dev/null +++ b/code/modules/admin/viewvariables/filterrific.html @@ -0,0 +1,7 @@ +code/modules/admin/viewvariables/filterrific.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

code/modules/admin/viewvariables/filterrific.dm

COLOR_HALF_TRANSPARENT_BLACK@file +@copyright 2020 +@author actioninja (https://github.com/actioninja ) +@license MIT

Define Details

COLOR_HALF_TRANSPARENT_BLACK

@file +@copyright 2020 +@author actioninja (https://github.com/actioninja ) +@license MIT

\ No newline at end of file diff --git a/code/modules/admin/viewvariables/particool_serialization.html b/code/modules/admin/viewvariables/particool_serialization.html new file mode 100644 index 0000000000000..d6d900b197e96 --- /dev/null +++ b/code/modules/admin/viewvariables/particool_serialization.html @@ -0,0 +1,2 @@ +code/modules/admin/viewvariables/particool_serialization.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/admin/viewvariables/particool_serialization.dm

/proc/binobj_to_generatorParticle sets contain a "_binobj" variable, which exposes some of its properties, as the /particles/ "datum" is otherwise just a wrapper wih nothing relevant in it. +This proc extracts data from a given _binobj value and creates a generator with the same properties.
\ No newline at end of file diff --git a/code/modules/animation/AnimationLibrary.html b/code/modules/animation/AnimationLibrary.html new file mode 100644 index 0000000000000..d810addfdbe65 --- /dev/null +++ b/code/modules/animation/AnimationLibrary.html @@ -0,0 +1,6 @@ +code/modules/animation/AnimationLibrary.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/animation/AnimationLibrary.dm

/proc/attack_particleobj/attackby(var/obj/item/I, mob/user)
/proc/animate_spaghettificationAnimate being stretched and spun around a point. Looks best when combined with a distortion map. Note that the resulting dummy object is added to center.vis_contents and deleted when done. +atom/A is the thing to spaghettify. Note this proc does not delete A, you must handle that separately +atom/center is the central atom around which to spin, usually the singulo +spaget_time is how long to run the animation. Default 15 seconds. +right_spinning is whether to go clockwise or anti-clockwise. Default true. +client/C is to show the spaghetti to only one client, or null to show it to everybody. Default null.
\ No newline at end of file diff --git a/code/modules/antagonists/antagonist_helpers.html b/code/modules/antagonists/antagonist_helpers.html new file mode 100644 index 0000000000000..2c41f043e3d79 --- /dev/null +++ b/code/modules/antagonists/antagonist_helpers.html @@ -0,0 +1,2 @@ +code/modules/antagonists/antagonist_helpers.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/antagonists/antagonist_helpers.dm

/var/antagonistsAn associative list of all antagonist IDs, associated with a list of all antagonist datums of that ID.
/proc/get_all_antagonistsGets a list of all antagonist datums of ID role_id, or of all IDs if no ID is specified. +Returns a list of all antagonist datums. If no antagonist datums could be found, returns an empty list.
/proc/get_all_gangsReturns a list of all gang datums.
\ No newline at end of file diff --git a/code/modules/antagonists/arcfiend/abilities/_arcfiend_ability_holder.html b/code/modules/antagonists/arcfiend/abilities/_arcfiend_ability_holder.html new file mode 100644 index 0000000000000..a3ce1a2edf0a2 --- /dev/null +++ b/code/modules/antagonists/arcfiend/abilities/_arcfiend_ability_holder.html @@ -0,0 +1 @@ +code/modules/antagonists/arcfiend/abilities/_arcfiend_ability_holder.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/antagonists/arcfiend/abilities/_arcfiend_ability_holder.dm

/datum/abilityHolder/arcfiendThe ability holder used for arcfiends. Comes with no abilities on its own.
\ No newline at end of file diff --git a/code/modules/antagonists/arcfiend/abilities/arc_flash.html b/code/modules/antagonists/arcfiend/abilities/arc_flash.html new file mode 100644 index 0000000000000..05fcda16f6cc9 --- /dev/null +++ b/code/modules/antagonists/arcfiend/abilities/arc_flash.html @@ -0,0 +1 @@ +code/modules/antagonists/arcfiend/abilities/arc_flash.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/antagonists/arcfiend/abilities/arc_flash.dm

/datum/targetable/arcfiend/arcFlashRanged chain lightning attack. Bounces between up to chain_count extra mobs within chain_range tiles of the initial target.
\ No newline at end of file diff --git a/code/modules/antagonists/arcfiend/abilities/discharge.html b/code/modules/antagonists/arcfiend/abilities/discharge.html new file mode 100644 index 0000000000000..330566cb9bb55 --- /dev/null +++ b/code/modules/antagonists/arcfiend/abilities/discharge.html @@ -0,0 +1 @@ +code/modules/antagonists/arcfiend/abilities/discharge.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/antagonists/arcfiend/abilities/discharge.dm

/datum/targetable/arcfiend/dischargeMelee attack. Shocks a targeted mob, or can be used on an airlock to temporarily cut its power.
\ No newline at end of file diff --git a/code/modules/antagonists/arcfiend/abilities/flash.html b/code/modules/antagonists/arcfiend/abilities/flash.html new file mode 100644 index 0000000000000..e1f1de3c944ec --- /dev/null +++ b/code/modules/antagonists/arcfiend/abilities/flash.html @@ -0,0 +1 @@ +code/modules/antagonists/arcfiend/abilities/flash.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/antagonists/arcfiend/abilities/flash.dm

/datum/targetable/arcfiend/elecflashSuper simple CC. Short-ranged elecflash.
\ No newline at end of file diff --git a/code/modules/antagonists/arcfiend/abilities/jamming_field.html b/code/modules/antagonists/arcfiend/abilities/jamming_field.html new file mode 100644 index 0000000000000..36860d5e664f1 --- /dev/null +++ b/code/modules/antagonists/arcfiend/abilities/jamming_field.html @@ -0,0 +1 @@ +code/modules/antagonists/arcfiend/abilities/jamming_field.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/antagonists/arcfiend/abilities/jamming_field.dm

/datum/targetable/arcfiend/jamming_fieldMakes the user functions as a radio jammer for the duration. Functions by applying a status effect with a visible aura.
\ No newline at end of file diff --git a/code/modules/antagonists/arcfiend/abilities/jolt.html b/code/modules/antagonists/arcfiend/abilities/jolt.html new file mode 100644 index 0000000000000..18c912208c729 --- /dev/null +++ b/code/modules/antagonists/arcfiend/abilities/jolt.html @@ -0,0 +1,3 @@ +code/modules/antagonists/arcfiend/abilities/jolt.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/antagonists/arcfiend/abilities/jolt.dm

/datum/targetable/arcfiend/joltKilling skill that does decent damage even when it doesn't finish. +The final tick stops the target's heart (or can restart it if they have SMES human.) +Use time is instant if the user jolts themselves.
\ No newline at end of file diff --git a/code/modules/antagonists/arcfiend/abilities/polarize.html b/code/modules/antagonists/arcfiend/abilities/polarize.html new file mode 100644 index 0000000000000..2c99660284296 --- /dev/null +++ b/code/modules/antagonists/arcfiend/abilities/polarize.html @@ -0,0 +1 @@ +code/modules/antagonists/arcfiend/abilities/polarize.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/antagonists/arcfiend/abilities/polarize.dm

/datum/targetable/arcfiend/polarizeApplies a magnetic aura to nearby humans, as with the bio-magnetic fields random event. All auras will be of the same polarity.
\ No newline at end of file diff --git a/code/modules/antagonists/arcfiend/abilities/ride_the_lightning.html b/code/modules/antagonists/arcfiend/abilities/ride_the_lightning.html new file mode 100644 index 0000000000000..efabb9e37a36d --- /dev/null +++ b/code/modules/antagonists/arcfiend/abilities/ride_the_lightning.html @@ -0,0 +1,2 @@ +code/modules/antagonists/arcfiend/abilities/ride_the_lightning.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/antagonists/arcfiend/abilities/ride_the_lightning.dm

/datum/targetable/arcfiend/voltronThis ability lets arcfiends travel through power cables like a Voltron (hence the type name). +Each tile traveled costs 3 units of power.
\ No newline at end of file diff --git a/code/modules/antagonists/arcfiend/abilities/sap_power.html b/code/modules/antagonists/arcfiend/abilities/sap_power.html new file mode 100644 index 0000000000000..4251f61dab017 --- /dev/null +++ b/code/modules/antagonists/arcfiend/abilities/sap_power.html @@ -0,0 +1,2 @@ +code/modules/antagonists/arcfiend/abilities/sap_power.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/antagonists/arcfiend/abilities/sap_power.dm

/datum/targetable/arcfiend/sap_powerArcfiend's main way of obtaining power for their abilities. +Can be used on:
\ No newline at end of file diff --git a/code/modules/antagonists/changeling/abilities/regeneration.html b/code/modules/antagonists/changeling/abilities/regeneration.html new file mode 100644 index 0000000000000..9a29b651f3b9e --- /dev/null +++ b/code/modules/antagonists/changeling/abilities/regeneration.html @@ -0,0 +1 @@ +code/modules/antagonists/changeling/abilities/regeneration.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/antagonists/changeling/abilities/regeneration.dm

/datum/statusEffect/c_regenerationchangeling speedregen status effect
\ No newline at end of file diff --git a/code/modules/antagonists/grinch/abilities/_grinch_ability_holder.html b/code/modules/antagonists/grinch/abilities/_grinch_ability_holder.html new file mode 100644 index 0000000000000..c630e93d695b6 --- /dev/null +++ b/code/modules/antagonists/grinch/abilities/_grinch_ability_holder.html @@ -0,0 +1 @@ +code/modules/antagonists/grinch/abilities/_grinch_ability_holder.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/antagonists/grinch/abilities/_grinch_ability_holder.dm

/atom/movable/screen/ability/topBar/grinchAbility holder
/datum/targetable/grinchGrinch spell parent
\ No newline at end of file diff --git a/code/modules/antagonists/hunter/hunter.html b/code/modules/antagonists/hunter/hunter.html new file mode 100644 index 0000000000000..fb32713969402 --- /dev/null +++ b/code/modules/antagonists/hunter/hunter.html @@ -0,0 +1 @@ +code/modules/antagonists/hunter/hunter.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/antagonists/hunter/hunter.dm

/atom/movable/screen/ability/topBar/hunterAbility holder
/datum/targetable/hunterHunter spell parent
\ No newline at end of file diff --git a/code/modules/antagonists/traitor/sleeper_agent.html b/code/modules/antagonists/traitor/sleeper_agent.html new file mode 100644 index 0000000000000..f1e81978e5acd --- /dev/null +++ b/code/modules/antagonists/traitor/sleeper_agent.html @@ -0,0 +1 @@ +code/modules/antagonists/traitor/sleeper_agent.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/antagonists/traitor/sleeper_agent.dm

/datum/antagonist/sleeper_agentEffectively traitor lite, with random objectives and no uplink. Created through a random event.
\ No newline at end of file diff --git a/code/modules/antagonists/vampire/abilities/_vampire_ability_holder.html b/code/modules/antagonists/vampire/abilities/_vampire_ability_holder.html new file mode 100644 index 0000000000000..8d21b70008b86 --- /dev/null +++ b/code/modules/antagonists/vampire/abilities/_vampire_ability_holder.html @@ -0,0 +1 @@ +code/modules/antagonists/vampire/abilities/_vampire_ability_holder.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/antagonists/vampire/abilities/_vampire_ability_holder.dm

/datum/abilityHolder/vampireAbility holder
/datum/targetable/vampireVampire spell parent
\ No newline at end of file diff --git a/code/modules/antagonists/werewolf/abilities/_werewolf_ability_holder.html b/code/modules/antagonists/werewolf/abilities/_werewolf_ability_holder.html new file mode 100644 index 0000000000000..975b48efda6ac --- /dev/null +++ b/code/modules/antagonists/werewolf/abilities/_werewolf_ability_holder.html @@ -0,0 +1 @@ +code/modules/antagonists/werewolf/abilities/_werewolf_ability_holder.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/antagonists/werewolf/abilities/_werewolf_ability_holder.dm

/datum/abilityHolder/werewolfAbility holder
/datum/targetable/werewolfWerewolf spell parent
\ No newline at end of file diff --git a/code/modules/antagonists/wizard/abilities/_wizard_ability_holder.html b/code/modules/antagonists/wizard/abilities/_wizard_ability_holder.html new file mode 100644 index 0000000000000..e56c42efc5c0c --- /dev/null +++ b/code/modules/antagonists/wizard/abilities/_wizard_ability_holder.html @@ -0,0 +1 @@ +code/modules/antagonists/wizard/abilities/_wizard_ability_holder.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/antagonists/wizard/abilities/_wizard_ability_holder.dm

/atom/movable/screen/ability/topBar/spellAbility holder
/datum/targetable/spellWizard spell parent
\ No newline at end of file diff --git a/code/modules/antagonists/wraith/objs/item/spirit_candle.html b/code/modules/antagonists/wraith/objs/item/spirit_candle.html new file mode 100644 index 0000000000000..792e73227bfbc --- /dev/null +++ b/code/modules/antagonists/wraith/objs/item/spirit_candle.html @@ -0,0 +1 @@ +code/modules/antagonists/wraith/objs/item/spirit_candle.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/antagonists/wraith/objs/item/spirit_candle.dm

/datum/statusEffect/spirit_candleapplied to waith by spirit candle, causes them to spawn dark shadows
\ No newline at end of file diff --git a/code/modules/antagonists/wraith/status_system/skeleton_commander.html b/code/modules/antagonists/wraith/status_system/skeleton_commander.html new file mode 100644 index 0000000000000..de6650fc95aea --- /dev/null +++ b/code/modules/antagonists/wraith/status_system/skeleton_commander.html @@ -0,0 +1 @@ +code/modules/antagonists/wraith/status_system/skeleton_commander.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/antagonists/wraith/status_system/skeleton_commander.dm

/datum/statusEffect/skeleton_ralliedskeleton commander rally effect, applied to obj/critters
\ No newline at end of file diff --git a/code/modules/antagonists/wrestler/abilities/_wrestler_ability_holder.html b/code/modules/antagonists/wrestler/abilities/_wrestler_ability_holder.html new file mode 100644 index 0000000000000..2c06e945a781d --- /dev/null +++ b/code/modules/antagonists/wrestler/abilities/_wrestler_ability_holder.html @@ -0,0 +1 @@ +code/modules/antagonists/wrestler/abilities/_wrestler_ability_holder.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/antagonists/wrestler/abilities/_wrestler_ability_holder.dm

/datum/targetable/wrestlerWrestler spell parent
\ No newline at end of file diff --git a/code/modules/atmospherics/FEA_airgroup.html b/code/modules/atmospherics/FEA_airgroup.html new file mode 100644 index 0000000000000..12a29be978c9c --- /dev/null +++ b/code/modules/atmospherics/FEA_airgroup.html @@ -0,0 +1,3 @@ +code/modules/atmospherics/FEA_airgroup.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/atmospherics/FEA_airgroup.dm

/datum/air_groupAir groups are collections of tiles that let us save processing time by treating a bunch of similar tiles as a single tile. +This is quite useful because atmospherics processing is quite the time hog and processing one tile is much faster. +Whenever our tiles become too different, we can break up and create new smaller groups.
\ No newline at end of file diff --git a/code/modules/atmospherics/FEA_fire.html b/code/modules/atmospherics/FEA_fire.html new file mode 100644 index 0000000000000..4e3f3556da24e --- /dev/null +++ b/code/modules/atmospherics/FEA_fire.html @@ -0,0 +1 @@ +code/modules/atmospherics/FEA_fire.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/atmospherics/FEA_fire.dm

/obj/hotspotThe object that represents fire ingame. Very nice and warm.
/obj/hotspot/gasfirefire created by a gaseous source. or atmos fire.
/obj/hotspot/chemfirechemical/magical fire. represents a fire coming from a chemical or magical source
\ No newline at end of file diff --git a/code/modules/atmospherics/FEA_gas_mixture.html b/code/modules/atmospherics/FEA_gas_mixture.html new file mode 100644 index 0000000000000..922dec99aa38a --- /dev/null +++ b/code/modules/atmospherics/FEA_gas_mixture.html @@ -0,0 +1 @@ +code/modules/atmospherics/FEA_gas_mixture.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/atmospherics/FEA_gas_mixture.dm

/datum/gas_mixture
\ No newline at end of file diff --git a/code/modules/atmospherics/FEA_turf_tile.html b/code/modules/atmospherics/FEA_turf_tile.html new file mode 100644 index 0000000000000..336419ae15fb6 --- /dev/null +++ b/code/modules/atmospherics/FEA_turf_tile.html @@ -0,0 +1 @@ +code/modules/atmospherics/FEA_turf_tile.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/atmospherics/FEA_turf_tile.dm

/turf/simulatedTile that processes things such as air, explosions, and fluids.
\ No newline at end of file diff --git a/code/modules/atmospherics/machinery.html b/code/modules/atmospherics/machinery.html new file mode 100644 index 0000000000000..20d2d89d7f9e3 --- /dev/null +++ b/code/modules/atmospherics/machinery.html @@ -0,0 +1,6 @@ +code/modules/atmospherics/machinery.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/atmospherics/machinery.dm

/obj/machinery/atmosphericsQuick overview: +Pipes combine to form pipelines. +Pipelines and other atmospheric objects combine to form pipe_networks. +Note: A single pipe_network represents a completely open space. +Pipes -> Pipelines +Pipelines + Other Objects -> Pipe network
\ No newline at end of file diff --git a/code/modules/atmospherics/machinery/binary/pump.html b/code/modules/atmospherics/machinery/binary/pump.html new file mode 100644 index 0000000000000..ac11c2b5080c4 --- /dev/null +++ b/code/modules/atmospherics/machinery/binary/pump.html @@ -0,0 +1 @@ +code/modules/atmospherics/machinery/binary/pump.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

code/modules/atmospherics/machinery/binary/pump.dm

MIN_PRESSUREMin pump pressure.
MAX_PRESSUREMax pump pressure.

Define Details

MAX_PRESSURE

Max pump pressure.

MIN_PRESSURE

Min pump pressure.

\ No newline at end of file diff --git a/code/modules/atmospherics/machinery/binary/valve.html b/code/modules/atmospherics/machinery/binary/valve.html new file mode 100644 index 0000000000000..40c9eda5afd79 --- /dev/null +++ b/code/modules/atmospherics/machinery/binary/valve.html @@ -0,0 +1 @@ +code/modules/atmospherics/machinery/binary/valve.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/atmospherics/machinery/binary/valve.dm

/obj/machinery/atmospherics/binary/valve/digitalCan be controlled by AI
\ No newline at end of file diff --git a/code/modules/atmospherics/machinery/binary/volume_pump.html b/code/modules/atmospherics/machinery/binary/volume_pump.html new file mode 100644 index 0000000000000..879ae04bd8637 --- /dev/null +++ b/code/modules/atmospherics/machinery/binary/volume_pump.html @@ -0,0 +1,3 @@ +code/modules/atmospherics/machinery/binary/volume_pump.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

code/modules/atmospherics/machinery/binary/volume_pump.dm

MAX_VOLUMEShoves transfer_rate volume of gas from air1 to air2 +Max volume flow rate.

Define Details

MAX_VOLUME

Shoves transfer_rate volume of gas from air1 to air2 +Max volume flow rate.

\ No newline at end of file diff --git a/code/modules/atmospherics/machinery/pipe.html b/code/modules/atmospherics/machinery/pipe.html new file mode 100644 index 0000000000000..4b503627e5a5b --- /dev/null +++ b/code/modules/atmospherics/machinery/pipe.html @@ -0,0 +1 @@ +code/modules/atmospherics/machinery/pipe.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/atmospherics/machinery/pipe.dm

/obj/machinery/atmospherics/pipeThe basic pipe parent for things that can support pipelines and bursting and stuff.
/obj/machinery/atmospherics/pipe/simpleThe pipe type you usually see wandering around and are most familiar with.
\ No newline at end of file diff --git a/code/modules/atmospherics/machinery/trinary/mixer.html b/code/modules/atmospherics/machinery/trinary/mixer.html new file mode 100644 index 0000000000000..2b5915d47f8b9 --- /dev/null +++ b/code/modules/atmospherics/machinery/trinary/mixer.html @@ -0,0 +1 @@ +code/modules/atmospherics/machinery/trinary/mixer.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

code/modules/atmospherics/machinery/trinary/mixer.dm

MAX_PRESSUREMax mixer pressure.

Define Details

MAX_PRESSURE

Max mixer pressure.

\ No newline at end of file diff --git a/code/modules/atmospherics/machinery/unary/vent_scrubber.html b/code/modules/atmospherics/machinery/unary/vent_scrubber.html new file mode 100644 index 0000000000000..e51da8ebbef82 --- /dev/null +++ b/code/modules/atmospherics/machinery/unary/vent_scrubber.html @@ -0,0 +1 @@ +code/modules/atmospherics/machinery/unary/vent_scrubber.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

code/modules/atmospherics/machinery/unary/vent_scrubber.dm

SIPHONINGWe are taking in all gases indiscriminately.
SCRUBBINGWe are selectively choosing gases to suck.

Define Details

SCRUBBING

We are selectively choosing gases to suck.

SIPHONING

We are taking in all gases indiscriminately.

\ No newline at end of file diff --git a/code/modules/atmospherics/portable/portable_pressurizer.html b/code/modules/atmospherics/portable/portable_pressurizer.html new file mode 100644 index 0000000000000..848e3982231d3 --- /dev/null +++ b/code/modules/atmospherics/portable/portable_pressurizer.html @@ -0,0 +1 @@ +code/modules/atmospherics/portable/portable_pressurizer.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

code/modules/atmospherics/portable/portable_pressurizer.dm

FAN_OFFFan Off
FAN_ON_INLETFan On and pulling in from enviroment
FAN_ON_OUTLETFan On and pushing air out to enviroment
PROCESS_OFFNo active material processing
PROCESS_ACTIVEActively processing an item
PROCESS_PAUSEDMaterial Processing Paused...
MIN_BLAST_DELAYMinimum delay for armed blast
MAX_BLAST_DELAYMaximum delay for armed blast
BLAST_EFFECT_RATIOMinimum % pressure where visual effect and sonic boom

Define Details

BLAST_EFFECT_RATIO

Minimum % pressure where visual effect and sonic boom

FAN_OFF

Fan Off

FAN_ON_INLET

Fan On and pulling in from enviroment

FAN_ON_OUTLET

Fan On and pushing air out to enviroment

MAX_BLAST_DELAY

Maximum delay for armed blast

MIN_BLAST_DELAY

Minimum delay for armed blast

PROCESS_ACTIVE

Actively processing an item

PROCESS_OFF

No active material processing

PROCESS_PAUSED

Material Processing Paused...

\ No newline at end of file diff --git a/code/modules/barber/barber_shop.html b/code/modules/barber/barber_shop.html new file mode 100644 index 0000000000000..215097cba4e70 --- /dev/null +++ b/code/modules/barber/barber_shop.html @@ -0,0 +1 @@ +code/modules/barber/barber_shop.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/barber/barber_shop.dm

/obj/item/clothing/head/wig/spawnableA type to allow you to spawn custom wigs from the map editor
/obj/item/clothing/head/wig/spawnable/randomRandomized wig for the cargo crate
\ No newline at end of file diff --git a/code/modules/camera/camera.html b/code/modules/camera/camera.html new file mode 100644 index 0000000000000..2ef3a865ac6e9 --- /dev/null +++ b/code/modules/camera/camera.html @@ -0,0 +1 @@ +code/modules/camera/camera.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/camera/camera.dm

/obj/machinery/camera/auto/AIAI only camera
/obj/machinery/camera/auto/miningMining outpost cameras
/obj/machinery/camera/auto/scienceScience outpost cameras
/obj/machinery/camera/auto/virtualInvisible cameras for VR
\ No newline at end of file diff --git a/code/modules/camera/network.html b/code/modules/camera/network.html new file mode 100644 index 0000000000000..dfda0457da8a3 --- /dev/null +++ b/code/modules/camera/network.html @@ -0,0 +1 @@ +code/modules/camera/network.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/camera/network.dm

/proc/seen_by_cameraReturn true if mob is on a turf with camera coverage
\ No newline at end of file diff --git a/code/modules/chemistry/Chemistry-Machinery.html b/code/modules/chemistry/Chemistry-Machinery.html new file mode 100644 index 0000000000000..04f6ff97a8622 --- /dev/null +++ b/code/modules/chemistry/Chemistry-Machinery.html @@ -0,0 +1 @@ +code/modules/chemistry/Chemistry-Machinery.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

code/modules/chemistry/Chemistry-Machinery.dm

CHEMMASTER_MINIMUM_REAGENTmininum reagent for pills, bottles and patches
CHEMMASTER_NO_CONTAINER_MAXmaximum number of unboxed pills/patches
CHEMMASTER_ITEMNAME_MAXSIZEmaximum characters allowed for the item name
CHEMMASTER_MAX_PILL22 pill icons
CHEMMASTER_MAX_CANS26 flavours of cans

Define Details

CHEMMASTER_ITEMNAME_MAXSIZE

maximum characters allowed for the item name

CHEMMASTER_MAX_CANS

26 flavours of cans

CHEMMASTER_MAX_PILL

22 pill icons

CHEMMASTER_MINIMUM_REAGENT

mininum reagent for pills, bottles and patches

CHEMMASTER_NO_CONTAINER_MAX

maximum number of unboxed pills/patches

\ No newline at end of file diff --git a/code/modules/chemistry/Chemistry-Reactions.html b/code/modules/chemistry/Chemistry-Reactions.html new file mode 100644 index 0000000000000..37fba8edcdd5f --- /dev/null +++ b/code/modules/chemistry/Chemistry-Reactions.html @@ -0,0 +1 @@ +code/modules/chemistry/Chemistry-Reactions.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/chemistry/Chemistry-Reactions.dm

/proc/purge_smoke_blacklistDeletes any reagents that are banned in smoke clouds.
/proc/purge_fluid_blacklistDeletes any reagents that are banned in fluid puddles.
\ No newline at end of file diff --git a/code/modules/chemistry/Chemistry-Reagents.html b/code/modules/chemistry/Chemistry-Reagents.html new file mode 100644 index 0000000000000..43657609b6a10 --- /dev/null +++ b/code/modules/chemistry/Chemistry-Reagents.html @@ -0,0 +1 @@ +code/modules/chemistry/Chemistry-Reagents.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/chemistry/Chemistry-Reagents.dm

/var/reagent_shorthandsList of 2 letter shorthands for the reagent, currently only used by the cybernetic hypospray
\ No newline at end of file diff --git a/code/modules/chemistry/Chemistry-Recipes.html b/code/modules/chemistry/Chemistry-Recipes.html new file mode 100644 index 0000000000000..60b651efd0e8a --- /dev/null +++ b/code/modules/chemistry/Chemistry-Recipes.html @@ -0,0 +1 @@ +code/modules/chemistry/Chemistry-Recipes.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/chemistry/Chemistry-Recipes.dm

/datum/chemical_reaction/LumenEXAMPLE STATEFUL REACTION
\ No newline at end of file diff --git a/code/modules/chemistry/Chemistry-Tools.html b/code/modules/chemistry/Chemistry-Tools.html new file mode 100644 index 0000000000000..7df4285836dfa --- /dev/null +++ b/code/modules/chemistry/Chemistry-Tools.html @@ -0,0 +1,2 @@ +code/modules/chemistry/Chemistry-Tools.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/chemistry/Chemistry-Tools.dm

/proc/ui_describe_reagentsReturns a serialized representation of the reagents of an atom for use with the ReagentInfo TGUI components +Note that this is not a built in TGUI proc
\ No newline at end of file diff --git a/code/modules/chemistry/Reagents-Misc.html b/code/modules/chemistry/Reagents-Misc.html new file mode 100644 index 0000000000000..59e8c3fd07eee --- /dev/null +++ b/code/modules/chemistry/Reagents-Misc.html @@ -0,0 +1 @@ +code/modules/chemistry/Reagents-Misc.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/chemistry/Reagents-Misc.dm

/datum/reagent/weedkillerBOTANY REAGENTS
/datum/reagent/bloodBODILY FLUIDS
\ No newline at end of file diff --git a/code/modules/chemistry/Reagents-PoisonEtc.html b/code/modules/chemistry/Reagents-PoisonEtc.html new file mode 100644 index 0000000000000..e027443723b69 --- /dev/null +++ b/code/modules/chemistry/Reagents-PoisonEtc.html @@ -0,0 +1 @@ +code/modules/chemistry/Reagents-PoisonEtc.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/chemistry/Reagents-PoisonEtc.dm

/datum/reagent/harmful/omega_mutagenwork in progress. new mutagen for omega slurrypods - cogwerks
\ No newline at end of file diff --git a/code/modules/chemistry/Reagents-Transmutation.html b/code/modules/chemistry/Reagents-Transmutation.html new file mode 100644 index 0000000000000..1b846ab0cc762 --- /dev/null +++ b/code/modules/chemistry/Reagents-Transmutation.html @@ -0,0 +1,2 @@ +code/modules/chemistry/Reagents-Transmutation.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/chemistry/Reagents-Transmutation.dm

/datum/reagent/transmutation/jeansJeans reagent turns turfs and objects into jeans +and on touch on humans will convert their clothes into jeans material
\ No newline at end of file diff --git a/code/modules/chemistry/chemicompiler_core.html b/code/modules/chemistry/chemicompiler_core.html new file mode 100644 index 0000000000000..162debaf81200 --- /dev/null +++ b/code/modules/chemistry/chemicompiler_core.html @@ -0,0 +1 @@ +code/modules/chemistry/chemicompiler_core.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/chemistry/chemicompiler_core.dm

/datum/chemicompiler_coreChemicompiler
\ No newline at end of file diff --git a/code/modules/chemistry/tools/bottles.html b/code/modules/chemistry/tools/bottles.html new file mode 100644 index 0000000000000..3024e34684f57 --- /dev/null +++ b/code/modules/chemistry/tools/bottles.html @@ -0,0 +1 @@ +code/modules/chemistry/tools/bottles.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/chemistry/tools/bottles.dm

/obj/item/reagent_containers/glass/bottle/poisoncogwerks - adding some new bottles for traitor medics
\ No newline at end of file diff --git a/code/modules/chemistry/tools/emergency_injectors.html b/code/modules/chemistry/tools/emergency_injectors.html new file mode 100644 index 0000000000000..8a5d0eb718749 --- /dev/null +++ b/code/modules/chemistry/tools/emergency_injectors.html @@ -0,0 +1,2 @@ +code/modules/chemistry/tools/emergency_injectors.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/chemistry/tools/emergency_injectors.dm

/obj/item/reagent_containers/emergency_injector/bloodbakSpeciality Injectors +These shouldn't really be seen in a normal round
\ No newline at end of file diff --git a/code/modules/chemistry/tools/jars.html b/code/modules/chemistry/tools/jars.html new file mode 100644 index 0000000000000..be345ba87fd05 --- /dev/null +++ b/code/modules/chemistry/tools/jars.html @@ -0,0 +1 @@ +code/modules/chemistry/tools/jars.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/chemistry/tools/jars.dm

/obj/item/reagent_containers/glass/jar/extradimensionalunrelated funny jar
\ No newline at end of file diff --git a/code/modules/config/ckey_configs.html b/code/modules/config/ckey_configs.html new file mode 100644 index 0000000000000..d948f8009046f --- /dev/null +++ b/code/modules/config/ckey_configs.html @@ -0,0 +1,3 @@ +code/modules/config/ckey_configs.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/config/ckey_configs.dm

/var/adminsAdmins ( ["ckey"] = "rank" ) +Populated by proc call in world.New()
/var/NTHoS/NTSO-whitelisted players
/var/mentorsMentors
/var/whitelistCkeysPlayers whomst'd've get allowed if whitelist-only is enabled
/proc/load_config_listGets a list of ckeys from a file, ignoring comments/blank lines +This could probably be refactored to config files in general, but
\ No newline at end of file diff --git a/code/modules/disposals/conveyor.html b/code/modules/disposals/conveyor.html new file mode 100644 index 0000000000000..14fba3971ac59 --- /dev/null +++ b/code/modules/disposals/conveyor.html @@ -0,0 +1 @@ +code/modules/disposals/conveyor.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/disposals/conveyor.dm

/obj/machinery/conveyor_switchthe conveyor control switch
\ No newline at end of file diff --git a/code/modules/disposals/disposal.html b/code/modules/disposals/disposal.html new file mode 100644 index 0000000000000..5c9aa4330f3e2 --- /dev/null +++ b/code/modules/disposals/disposal.html @@ -0,0 +1 @@ +code/modules/disposals/disposal.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

code/modules/disposals/disposal.dm

MISSING_DISPOSAL_IMAGE_COLORColor of the 'holograms' of pipes, visible to a t-ray scanner
/obj/disposalpipe/junction/autoa spawner for a three way junction

Define Details

MISSING_DISPOSAL_IMAGE_COLOR

Color of the 'holograms' of pipes, visible to a t-ray scanner

\ No newline at end of file diff --git a/code/modules/disposals/mail_chute.html b/code/modules/disposals/mail_chute.html new file mode 100644 index 0000000000000..75d54c2141c45 --- /dev/null +++ b/code/modules/disposals/mail_chute.html @@ -0,0 +1 @@ +code/modules/disposals/mail_chute.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/disposals/mail_chute.dm

/obj/machinery/disposal/mail/qmspecial mail chutes for the cargo bay
\ No newline at end of file diff --git a/code/modules/economy/commodity.html b/code/modules/economy/commodity.html new file mode 100644 index 0000000000000..e15deb4870e17 --- /dev/null +++ b/code/modules/economy/commodity.html @@ -0,0 +1 @@ +code/modules/economy/commodity.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/economy/commodity.dm

/datum/commodity/podpartspod sales
/datum/commodity/drugs420 all day
/datum/commodity/drugs/poppiesthese are things that you can sell to the traders
/datum/commodity/drugs/methamphetaminethings you can buy from the traders
/datum/commodity/relicsvaluable space junk
/datum/commodity/clothing_restocksyndicate trader
/datum/commodity/contraband/command_suitpurchase stuff
/datum/commodity/salvagesalvage trader
/datum/commodity/produce/specialfood trader
/datum/commodity/bodypartsbody parts
/datum/commodity/costumecostume kits
/datum/commodity/hatskeleton trader
/datum/commodity/airzookagreg
\ No newline at end of file diff --git a/code/modules/economy/requisition/rc_aid.html b/code/modules/economy/requisition/rc_aid.html new file mode 100644 index 0000000000000..50b40e29c38c9 --- /dev/null +++ b/code/modules/economy/requisition/rc_aid.html @@ -0,0 +1,4 @@ +code/modules/economy/requisition/rc_aid.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/economy/requisition/rc_aid.dm

/datum/req_contract/aidAid contracts are a class of standard (market-listed) contract. +Uniquely among contracts, aid contracts can't be pinned due to their urgency, +and will leave after a certain number of market cycles instead of at random. +Requirements and flavor text should convey this urgency.
\ No newline at end of file diff --git a/code/modules/economy/requisition/rc_civilian.html b/code/modules/economy/requisition/rc_civilian.html new file mode 100644 index 0000000000000..23639f9c755bd --- /dev/null +++ b/code/modules/economy/requisition/rc_civilian.html @@ -0,0 +1,3 @@ +code/modules/economy/requisition/rc_civilian.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/economy/requisition/rc_civilian.dm

/datum/req_contract/civilianCivilian contracts are a class of standard (market-listed) contract. +These contracts should typically be somewhat "tame", revolving around what a station might need in normal, non-catastrophe operation. +If you can picture a station or colony needing something for expansion, or under-provisioned it, it's a good candidate for a Civilian contract.
\ No newline at end of file diff --git a/code/modules/economy/requisition/rc_scientific.html b/code/modules/economy/requisition/rc_scientific.html new file mode 100644 index 0000000000000..979e470d74062 --- /dev/null +++ b/code/modules/economy/requisition/rc_scientific.html @@ -0,0 +1,3 @@ +code/modules/economy/requisition/rc_scientific.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/economy/requisition/rc_scientific.dm

/datum/req_contract/scientificScientific contracts are a class of standard (market-listed) contract. +Of the contract types, these should typically lean more heavily on unusual materials or ones that require a sophisticated acquisition process. +This doesn't have to be limited to what the science department puts out; if a researcher somewhere wants it, that could be a contract.
\ No newline at end of file diff --git a/code/modules/economy/requisition/rc_special.html b/code/modules/economy/requisition/rc_special.html new file mode 100644 index 0000000000000..b15780fbef061 --- /dev/null +++ b/code/modules/economy/requisition/rc_special.html @@ -0,0 +1,4 @@ +code/modules/economy/requisition/rc_special.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/economy/requisition/rc_special.dm

/datum/req_contract/specialContracts for utilisation by the special order event. +These are distinguished by the requisition being sent physically, either standalone or in a crate with stuff. +They are not inspected by the requisitions handler, and do not receive the screwup protection that is afforded to regular contracts. +They do not appear in the general market.
/datum/rc_entry/itemBasic item entry. Use for items that can't stack, and whose properties outside of path aren't relevant.
\ No newline at end of file diff --git a/code/modules/economy/requisition/requisition_contracts.html b/code/modules/economy/requisition/requisition_contracts.html new file mode 100644 index 0000000000000..f5d0dde351e95 --- /dev/null +++ b/code/modules/economy/requisition/requisition_contracts.html @@ -0,0 +1,5 @@ +code/modules/economy/requisition/requisition_contracts.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/economy/requisition/requisition_contracts.dm

/proc/rc_buildentrySmall helper proc to simplify basic contract entry creation. +Accepts the path to the entry datum, and the count (in whatever unit it uses) to require.
/datum/rc_entryRequisition contract entry: analyzes things passed to it, returns whether they were needed, and is checked for completion at end of analyses.
/datum/rc_entry/foodFood item entry, used to properly detect food integrity.
/datum/rc_entry/stackStackable item entry. Remarkably, used for items that can be stacked.
/_is_abstract/datum/rc_entry/reagentReagent entry. Searches for reagents in sent objects, consuming any suitable reagent containers until the quantity is satisfied.
/_is_abstract/datum/rc_entry/seedSeed entry. Searches for seeds of the correct crop name, typically matching a particular genetic makeup.
/_is_abstract/datum/rc_entry/artifactArtifact entry. Evaluates provided handheld artifacts based on their artifact parameters.
/datum/rc_itemrewardItem reward datum optionally used in contract creation. +Should generally return an object, or set of objects that makes sense as a list entry (i.e. "fast food meal" for a burger, fries and soda). +To use: in a contract's New(), instantiate one of these and add it to src.item_rewarders.
/datum/req_contractThe primary datum for requisitions contracts. +Top level contains cargo handling data, payout data, item reward generators if present, and formatted descriptions for the QM requisitions menu.
\ No newline at end of file diff --git a/code/modules/economy/shippingmarket.html b/code/modules/economy/shippingmarket.html new file mode 100644 index 0000000000000..9758948475cfd --- /dev/null +++ b/code/modules/economy/shippingmarket.html @@ -0,0 +1 @@ +code/modules/economy/shippingmarket.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

code/modules/economy/shippingmarket.dm

PRESSURE_CRYSTAL_VALUATIONThe full explosion-power-to-credits conversion formula. Also used in smallprogs.dm
PRESSURE_CRYSTAL_PEAK_COUNTThe number of peak points on the pressure crystal graph offering bonus credits
RET_IGNORERequisition was not used, conduct a standard QM sale
RET_INSUFFICIENTRequisition was used, but no contract was fulfilled; return crate and do not process income.
RET_SALE_SENDBACKRequisition was used successfully, and items are to be returned (either item rewards or excess goods shipped)
RET_NOSENDBACKRequisition was used successfully, and no items are to be returned (either no spare items, or a third party sale without item rewards)
RET_VOIDRequisition sheet was used and cargo was sent to third party requisitioner, but contract was not satisfied; no returns, no payment

Define Details

PRESSURE_CRYSTAL_PEAK_COUNT

The number of peak points on the pressure crystal graph offering bonus credits

PRESSURE_CRYSTAL_VALUATION

The full explosion-power-to-credits conversion formula. Also used in smallprogs.dm

RET_IGNORE

Requisition was not used, conduct a standard QM sale

RET_INSUFFICIENT

Requisition was used, but no contract was fulfilled; return crate and do not process income.

RET_NOSENDBACK

Requisition was used successfully, and no items are to be returned (either no spare items, or a third party sale without item rewards)

RET_SALE_SENDBACK

Requisition was used successfully, and items are to be returned (either item rewards or excess goods shipped)

RET_VOID

Requisition sheet was used and cargo was sent to third party requisitioner, but contract was not satisfied; no returns, no payment

\ No newline at end of file diff --git a/code/modules/economy/stocks/stock_borrow.html b/code/modules/economy/stocks/stock_borrow.html new file mode 100644 index 0000000000000..c35571d0ed2b2 --- /dev/null +++ b/code/modules/economy/stocks/stock_borrow.html @@ -0,0 +1 @@ +code/modules/economy/stocks/stock_borrow.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/economy/stocks/stock_borrow.dm

/datum/stock/borrowA borrow of stock
\ No newline at end of file diff --git a/code/modules/economy/stocks/stock_events.html b/code/modules/economy/stocks/stock_events.html new file mode 100644 index 0000000000000..053853eb44636 --- /dev/null +++ b/code/modules/economy/stocks/stock_events.html @@ -0,0 +1 @@ +code/modules/economy/stocks/stock_events.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/economy/stocks/stock_events.dm

/_is_abstract/datum/stock/eventStock market events that influence the market
\ No newline at end of file diff --git a/code/modules/economy/stocks/stock_helpers.html b/code/modules/economy/stocks/stock_helpers.html new file mode 100644 index 0000000000000..ff3a16fa3993e --- /dev/null +++ b/code/modules/economy/stocks/stock_helpers.html @@ -0,0 +1 @@ +code/modules/economy/stocks/stock_helpers.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/economy/stocks/stock_helpers.dm

/proc/ucfirstUppercases first letter
/proc/ucfirstsUppercases first letter of every word
\ No newline at end of file diff --git a/code/modules/economy/stocks/stock_industries.html b/code/modules/economy/stocks/stock_industries.html new file mode 100644 index 0000000000000..74febc93f154b --- /dev/null +++ b/code/modules/economy/stocks/stock_industries.html @@ -0,0 +1 @@ +code/modules/economy/stocks/stock_industries.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/economy/stocks/stock_industries.dm

/datum/stock/industryStock market industries
\ No newline at end of file diff --git a/code/modules/economy/stocks/stock_tickers.html b/code/modules/economy/stocks/stock_tickers.html new file mode 100644 index 0000000000000..709f70930fc3d --- /dev/null +++ b/code/modules/economy/stocks/stock_tickers.html @@ -0,0 +1 @@ +code/modules/economy/stocks/stock_tickers.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/economy/stocks/stock_tickers.dm

/datum/stock/tickerstonks
\ No newline at end of file diff --git a/code/modules/economy/trader.html b/code/modules/economy/trader.html new file mode 100644 index 0000000000000..af856a09f17a3 --- /dev/null +++ b/code/modules/economy/trader.html @@ -0,0 +1 @@ +code/modules/economy/trader.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/economy/trader.dm

/obj/landmark/spawner/random_traderTHE TRADERS
/_is_abstract/obj/npc/trader/randomGeneric Randomized visitor
/obj/npc/trader/martianMartian
/_is_abstract/obj/npc/trader/robotRobot parent
/obj/npc/trader/beeBZZZZZZZZZZZ
\ No newline at end of file diff --git a/code/modules/events/gimmick/bigfart.html b/code/modules/events/gimmick/bigfart.html new file mode 100644 index 0000000000000..7b6d3c1a0f266 --- /dev/null +++ b/code/modules/events/gimmick/bigfart.html @@ -0,0 +1 @@ +code/modules/events/gimmick/bigfart.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/events/gimmick/bigfart.dm

/proc/ass_explosion_limb_successReturns 0 if it cant be severed like this, 1 if it always gets severed, or 2 if it sometimes gets severed
/proc/ass_explosion_messagereturns some flufftext as to why their limb didnt come off. Or came off anyway.
\ No newline at end of file diff --git a/code/modules/events/law_corruption.html b/code/modules/events/law_corruption.html new file mode 100644 index 0000000000000..ae1e1bad25c48 --- /dev/null +++ b/code/modules/events/law_corruption.html @@ -0,0 +1 @@ +code/modules/events/law_corruption.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

code/modules/events/law_corruption.dm

LAW_CORRUPTION_STRINGSthis has functions in it, so it needs to be in a proc

Define Details

LAW_CORRUPTION_STRINGS

this has functions in it, so it needs to be in a proc

\ No newline at end of file diff --git a/code/modules/events/meteor_shower.html b/code/modules/events/meteor_shower.html new file mode 100644 index 0000000000000..7be40f6e198ad --- /dev/null +++ b/code/modules/events/meteor_shower.html @@ -0,0 +1 @@ +code/modules/events/meteor_shower.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/events/meteor_shower.dm

/obj/newmeteor/massiveHUGE
\ No newline at end of file diff --git a/code/modules/fishing/fishing_gear.html b/code/modules/fishing/fishing_gear.html new file mode 100644 index 0000000000000..4b93f45620e2a --- /dev/null +++ b/code/modules/fishing/fishing_gear.html @@ -0,0 +1 @@ +code/modules/fishing/fishing_gear.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/fishing/fishing_gear.dm

/datum/action/fishing(invisible) action for timing out fishing. this is also what lets the fishing spot know that we fished
\ No newline at end of file diff --git a/code/modules/fishing/fishing_lootpools.html b/code/modules/fishing/fishing_lootpools.html new file mode 100644 index 0000000000000..2c95157b3773a --- /dev/null +++ b/code/modules/fishing/fishing_lootpools.html @@ -0,0 +1,8 @@ +code/modules/fishing/fishing_lootpools.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/fishing/fishing_lootpools.dm

/datum/fishing_lootpoolThis code handles different lootpools for fishing +A fishing_lootpool is a datum that stores unified loottables for certain conditions on fishing +These loottables created in new()of a fishing spot and are added to a fishing spot. +These, in contrast to fishing spots, are NOT singletons, since they can be added and removed dynamically (for cases such as a fishing component) +Once someone tries to fish somewhere, proc/generate_fish iterate through all fishing_lootpools and generates a list to pick its fish from +Since fishing_lootpools have their own conditionals, this enables different loottables for e.g. different tier rods or other things such as baits +When adding loottables, is should be paid attention to that a loottable is avaible there.
/datum/fishing_lootpool/standardHere can the lootpools be found +Standard lootpool for the standard fishing tank
/datum/fishing_lootpool/lava_fishlava fish as T3 fish for fire-sources
/datum/fishing_lootpool/clown_shoes_lootextra loot from their shoes for clowns only
/datum/fishing_lootpool/pufferfishminimum T2 to get pufferfish from exotic sources
/datum/fishing_lootpool/tiny_junktiny junk items you can find in vending machines and others.
/datum/fishing_lootpool/charred_remainscharred items you potentionally can find in lava or the oven in the kitchen
/datum/fishing_lootpool/igneous_fishA mid-tier fish you can find in hot places.
\ No newline at end of file diff --git a/code/modules/fishing/fishing_spots.html b/code/modules/fishing/fishing_spots.html new file mode 100644 index 0000000000000..d4d48a234cc74 --- /dev/null +++ b/code/modules/fishing/fishing_spots.html @@ -0,0 +1 @@ +code/modules/fishing/fishing_spots.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/fishing/fishing_spots.dm

/var/fishing_spotsinitialised on world/New(), associative list with the format (fishing_atom_type = /datum/fishing_spot)
/proc/initialise_fishing_spotsrun on world/New(), clears global.fishing_spots (if it exists) and fills it with the format (fishing_atom_type = /datum/fishing_spot)
/datum/fishing_spota datum that holds all the information about a "fishing spot"
\ No newline at end of file diff --git a/code/modules/fluids/fluid_core.html b/code/modules/fluids/fluid_core.html new file mode 100644 index 0000000000000..5a3b0688bff6d --- /dev/null +++ b/code/modules/fluids/fluid_core.html @@ -0,0 +1 @@ +code/modules/fluids/fluid_core.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/fluids/fluid_core.dm

/var/waterflow_enabledFluid Object
\ No newline at end of file diff --git a/code/modules/fluids/fluid_groups.html b/code/modules/fluids/fluid_groups.html new file mode 100644 index 0000000000000..7f9dfe837954e --- /dev/null +++ b/code/modules/fluids/fluid_groups.html @@ -0,0 +1 @@ +code/modules/fluids/fluid_groups.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/fluids/fluid_groups.dm

/datum/reagents/fluid_groupFluid Group
\ No newline at end of file diff --git a/code/modules/fluids/fluid_objects.html b/code/modules/fluids/fluid_objects.html new file mode 100644 index 0000000000000..72852c39c35b1 --- /dev/null +++ b/code/modules/fluids/fluid_objects.html @@ -0,0 +1 @@ +code/modules/fluids/fluid_objects.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/fluids/fluid_objects.dm

/obj/channelChannel
/obj/fluid_spawnerspawner
/obj/sea_ladder_deployedcanister
\ No newline at end of file diff --git a/code/modules/fluids/fluid_turf.html b/code/modules/fluids/fluid_turf.html new file mode 100644 index 0000000000000..9d294825bbe0b --- /dev/null +++ b/code/modules/fluids/fluid_turf.html @@ -0,0 +1 @@ +code/modules/fluids/fluid_turf.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/fluids/fluid_turf.dm

/turf/space/fluid/warp_z5duh look below
\ No newline at end of file diff --git a/code/modules/food_and_drink/ingredients.html b/code/modules/food_and_drink/ingredients.html new file mode 100644 index 0000000000000..009c12a88a5a1 --- /dev/null +++ b/code/modules/food_and_drink/ingredients.html @@ -0,0 +1 @@ +code/modules/food_and_drink/ingredients.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/food_and_drink/ingredients.dm

/obj/item/reagent_containers/food/snacks/ingredient/meat/mysterymeat/changelingMeat which is butchered from changeling critters (and gibbered changelings)
\ No newline at end of file diff --git a/code/modules/goonhub/api/api.html b/code/modules/goonhub/api/api.html new file mode 100644 index 0000000000000..c96d42dcf0d1c --- /dev/null +++ b/code/modules/goonhub/api/api.html @@ -0,0 +1 @@ +code/modules/goonhub/api/api.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/api.dm

/datum/apiHandlerHandles queries to the Goonhub APIv2
\ No newline at end of file diff --git a/code/modules/goonhub/api/apiGuide.html b/code/modules/goonhub/api/apiGuide.html new file mode 100644 index 0000000000000..0f2700599129e --- /dev/null +++ b/code/modules/goonhub/api/apiGuide.html @@ -0,0 +1,178 @@ +code/modules/goonhub/api/apiGuide.md - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/apiGuide.md

About the DM side API

+

This is written from the understanding of Tyrant, who is not an API developer. Some things may be slightly wrong.

+

Useful links: +Goonhub API docs: https://goonhub.com/docs/api#/ +Event tracking docs: https://goonhub.com/docs/events/1.0/overview

+

Endpoints and apiRoutes

+

Endpoints are the ways that the API communicates, and they contain routes. The routes contain several vars:

+

A route can have one of four method types:

+
    +
  • GET Which checks information.
  • +
  • POST Which adds new information.
  • +
  • PUT Which updates/overwrites existing information.
  • +
  • DELETE Which removes information. +These are specified in the method var using defines.
  • +
+

Each route has a path which it connects to as well, for instance https://goonhub.com/api +/bans. This is specified in the form of a string in the path var.

+

Path parameters are stored in the routeParams var. These are used when the path ends with a variable, for instance, https://goonhub.com/api/bans/{ban}, which has the path parameter {ban}.

+

Query parameters send extra information when connecting, stored in queryParams. This is usually a list of strings, for instance, queryParams = list("filters", "sort_by", "descending", "per_page").

+

The request body (body var) is what is sent through the connection. These are usually in the form of a /datum/apiBody, which are in the requests folder in the repo. More information is in the following sections.

+

The response model (correct_response var) is what is sent back. These are in the form of a /datum/apiModel, which are in the models folder in the repo. More information is in the following sections.

+

A Template for API endpoint routes:

+
/// [method type e.g. POST] [path e.g. /players/notes]
+/// [reference to the name of the file or what it does, e.g. Add]
+//datum/apiRoute/[path of route]
+	method = RUSTG_HTTP_METHOD_[method type]
+	path = "[the path of the endpoint it connects to]"
+	routeParams = list([list of parameter items, separated by commas]) // [the primitive type of each parameter]
+	queryParams = list([list of parameter items, separated by commas]) // [the primitive type of each parameter]
+	body = [the datum of the body, under /datum/apiBody]
+	correct_response = [the datum of the model, under datum/apiModel]
+
+	buildBody(	// check the apiBody section below to understand what this means
+		field1,
+		field2,
+		field3
+	)
+		. = ..(args)
+
+// A proper example:
+
+/// PUT /bans/{ban}
+/// Update
+/datum/apiRoute/bans/update
+	method = RUSTG_HTTP_METHOD_PUT
+	path = "/bans"
+	routeParams = list("ban")	// integer
+	body = /datum/apiBody/bans/add
+	correct_response = /datum/apiModel/Tracked/BanResource
+
+	buildBody(
+		game_admin_ckey,
+		round_id,
+		server_id,
+		ckey,
+		comp_id,
+		ip,
+		reason,
+		duration
+	)
+		. = ..(args)
+
+

The reason why the API files are formatted this way is so that "it's optimized so you can just copypaste stuff and change it via column/vertical select" ~ZeWaka.

+

Other notes:

+
    +
  • the path should start with slash.
  • +
  • not all methods require all the vars. In fact, some are mutually exclusive.
  • +
  • If the apiBody or apiModel doesn't exist, make it. Don't try to just shove a list of strings in; it won't work.
  • +
+

Making your own apiRoute's

+

The list of what to make and how it works is at https://goonhub.com/docs/api, along with the request body and response model needed. They need to match the apiRoute in order for the API to work correctly.

+
    +
  • Under request, the parameters should match in the form of a list of strings matching the parameter names. If it says query parameters, use queryParams, if it says path parameters, use routeParams.
  • +
  • If the path ends with something like /{kind of routeParam}, you don't include it in src.path. It gets appended automatically later on by the routeParams.
  • +
  • The request body should match an apiBody.
  • +
  • The response body should match an apiModel.
  • +
  • If the above two don't have matching ones, you have to make them.
  • +
  • If you're making new files, follow the format of existing names.
  • +
+

Request bodies and apiBody

+

A /datum/apiBody is a type of request which gets sent through a route and provides information. These are typically used on POST and PUT method using routes. +The Goonhub api, while it lists what's needed in the body of the request for each route, doesn't actually give fixed names for each body. You can check what's required in the body under "request" -> "Body".

+

This body will need to then be "built" by calling buildBody() on the routes that use them, as shown in the example in the above /datum/apiRoute section. This way, autocomplete works better. It's a bit silly but will help overall.

+

The default format for making them is as follows:

+
/datum/apiBody/[path]
+	fields = list(
+		"field1", // [type]
+		"field2", // [type]
+		"field3" // [type]
+	)
+
+/datum/apiBody/[path]/VerifyIntegrity(
+	. = ..()
+	if (
+		isnull(src.values["field1"]) \
+		|| isnull(src.values["field2"]) \
+	)	// note that this means field1 and field2 can't be null, but field3 can.
+)
+
+// a real example:
+/datum/apiBody/bans/add
+	fields = list(
+		"game_admin_ckey", // string
+		"round_id", // integer
+		"server_id", // string
+		"ckey", // string
+		"comp_id", // string
+		"ip", // string
+		"reason", // string
+		"duration" // integer
+	)
+
+/datum/apiBody/bans/add/VerifyIntegrity()
+	. = ..()
+	if (
+		isnull(src.values["game_admin_ckey"]) \
+		|| isnull(src.values["round_id"]) \
+		|| isnull(src.values["server_id"]) \
+		|| isnull(src.values["reason"]) \
+	)
+		return FALSE
+
+

Response models and apiModel

+

A /datum/apiModel is a response that is sent back after the task is complete. They are sometimes called resources. The Goonhub API guide lists what kind is required and what they contain. You can check what is required under "Responses" -> "Body". They're typically used in GET method routes.

+

Note that there are certain parents, which have built in fields. For instance, the abstract type /datum/apiModel/Tracked has three fields: id, created_at and updated_at. Anything that needs these three should usually be a subtype and won't have to redefine them.

+

Similarly, /datum/apiModel/Tracked/PlayerRes includes the tracked vars and one more: player_id. Meanwhile /datum/apiModel/Paginated is usually used in RUSTG_HTTP_METHOD_GET methods and includes three vars: data (which is another apiModel, nested inside), links and meta.

+

The usual format is below:

+
/// [Name]
+/datum/apiModel/[path]
+	var/field1	= null // [type]
+	var/field2	= null // [type]
+	var/field3	= null // [type]
+
+/datum/apiModel/[path]/SetupFromResponse(response)
+	. = ..()
+	src.field1 = response["field1"]
+	src.field2 = response["field2"]
+	src.field3 = response["field3"]
+
+/datum/apiModel/[path]/VerifyIntegrity()
+	. = ..()
+	if (
+		isnull(src.[field1]) \	// assuming that field1 and 2 cannot be null and field3 can
+		|| isnull(src.[field2])
+	)
+		return FALSE
+
+/datum/apiModel/[path]/ToString()
+	. = list()
+	.["field1"] = src.field1
+	.["field2"] = src.field2
+	.["field3"] = src.field3
+	return json_encode(.)
+
+//A real example:
+/// Error
+/datum/apiModel/Error
+	var/message	= null // string
+	var/errors	= null // null or list
+
+/datum/apiModel/Error/SetupFromResponse(response)
+	. = ..()
+	src.message = response["message"]
+	src.errors = response["errors"]
+
+/datum/apiModel/Error/VerifyIntegrity()
+	. = ..()
+	if (
+		isnull(src.message) \
+	)
+		return FALSE
+
+/datum/apiModel/Error/ToString()
+	. = list()
+	.["message"] = src.message
+	.["errors"] = src.errors
+	return json_encode(.)
+
\ No newline at end of file diff --git a/code/modules/goonhub/api/models/Error.html b/code/modules/goonhub/api/models/Error.html new file mode 100644 index 0000000000000..861968828e138 --- /dev/null +++ b/code/modules/goonhub/api/models/Error.html @@ -0,0 +1 @@ +code/modules/goonhub/api/models/Error.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/models/Error.dm

/datum/apiModel/ErrorError
\ No newline at end of file diff --git a/code/modules/goonhub/api/models/Message.html b/code/modules/goonhub/api/models/Message.html new file mode 100644 index 0000000000000..5bc9fa8eaec0c --- /dev/null +++ b/code/modules/goonhub/api/models/Message.html @@ -0,0 +1 @@ +code/modules/goonhub/api/models/Message.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/models/Message.dm

/datum/apiModel/MessageMessage
\ No newline at end of file diff --git a/code/modules/goonhub/api/models/_Paginated.html b/code/modules/goonhub/api/models/_Paginated.html new file mode 100644 index 0000000000000..afdff5ef67c26 --- /dev/null +++ b/code/modules/goonhub/api/models/_Paginated.html @@ -0,0 +1,2 @@ +code/modules/goonhub/api/models/_Paginated.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/models/_Paginated.dm

/datum/apiModel/PaginatedPaginated - ABSTRACT +Anything with a paginated list inherits from this
\ No newline at end of file diff --git a/code/modules/goonhub/api/models/_PlayerResParent.html b/code/modules/goonhub/api/models/_PlayerResParent.html new file mode 100644 index 0000000000000..a3f2cc4d2f978 --- /dev/null +++ b/code/modules/goonhub/api/models/_PlayerResParent.html @@ -0,0 +1,2 @@ +code/modules/goonhub/api/models/_PlayerResParent.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/models/_PlayerResParent.dm

/datum/apiModel/Tracked/PlayerResPlayerRes - ABSTRACT +All PlayerResourceXYZ inherit from this - shared player id field
\ No newline at end of file diff --git a/code/modules/goonhub/api/models/_Tracked.html b/code/modules/goonhub/api/models/_Tracked.html new file mode 100644 index 0000000000000..1f14688778bc1 --- /dev/null +++ b/code/modules/goonhub/api/models/_Tracked.html @@ -0,0 +1,2 @@ +code/modules/goonhub/api/models/_Tracked.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/models/_Tracked.dm

/datum/apiModel/TrackedTracked - ABSTRACT +Anything with the two timestamp fields inherit from this
\ No newline at end of file diff --git a/code/modules/goonhub/api/models/apiModel.html b/code/modules/goonhub/api/models/apiModel.html new file mode 100644 index 0000000000000..73cc6db579150 --- /dev/null +++ b/code/modules/goonhub/api/models/apiModel.html @@ -0,0 +1,2 @@ +code/modules/goonhub/api/models/apiModel.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/models/apiModel.dm

/datum/apiModelBase apiModel datum - ABSTRACT +Everything is generally required unless annotated as such
\ No newline at end of file diff --git a/code/modules/goonhub/api/models/bans/BanDetail.html b/code/modules/goonhub/api/models/bans/BanDetail.html new file mode 100644 index 0000000000000..09117b89dab78 --- /dev/null +++ b/code/modules/goonhub/api/models/bans/BanDetail.html @@ -0,0 +1 @@ +code/modules/goonhub/api/models/bans/BanDetail.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/models/bans/BanDetail.dm

/datum/apiModel/Tracked/BanDetailBanDetail
\ No newline at end of file diff --git a/code/modules/goonhub/api/models/bans/BanResource.html b/code/modules/goonhub/api/models/bans/BanResource.html new file mode 100644 index 0000000000000..ae6d47b657f3d --- /dev/null +++ b/code/modules/goonhub/api/models/bans/BanResource.html @@ -0,0 +1 @@ +code/modules/goonhub/api/models/bans/BanResource.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/models/bans/BanResource.dm

/datum/apiModel/Tracked/BanResourceBanResource
\ No newline at end of file diff --git a/code/modules/goonhub/api/models/bans/BanResourceList.html b/code/modules/goonhub/api/models/bans/BanResourceList.html new file mode 100644 index 0000000000000..1fb9b18b12f55 --- /dev/null +++ b/code/modules/goonhub/api/models/bans/BanResourceList.html @@ -0,0 +1 @@ +code/modules/goonhub/api/models/bans/BanResourceList.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/models/bans/BanResourceList.dm

/datum/apiModel/Paginated/BanResourceListBanResourceList
\ No newline at end of file diff --git a/code/modules/goonhub/api/models/bans/JobBanResource.html b/code/modules/goonhub/api/models/bans/JobBanResource.html new file mode 100644 index 0000000000000..22d715f85698a --- /dev/null +++ b/code/modules/goonhub/api/models/bans/JobBanResource.html @@ -0,0 +1 @@ +code/modules/goonhub/api/models/bans/JobBanResource.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/models/bans/JobBanResource.dm

/datum/apiModel/Tracked/JobBanResourceJobBanResource
\ No newline at end of file diff --git a/code/modules/goonhub/api/models/bans/JobBanResourceList.html b/code/modules/goonhub/api/models/bans/JobBanResourceList.html new file mode 100644 index 0000000000000..2835ba608ab6d --- /dev/null +++ b/code/modules/goonhub/api/models/bans/JobBanResourceList.html @@ -0,0 +1 @@ +code/modules/goonhub/api/models/bans/JobBanResourceList.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/models/bans/JobBanResourceList.dm

/datum/apiModel/Paginated/JobBanResourceListJobBanResourceList
\ No newline at end of file diff --git a/code/modules/goonhub/api/models/bans/JobBansForPlayer.html b/code/modules/goonhub/api/models/bans/JobBansForPlayer.html new file mode 100644 index 0000000000000..d9a3038545039 --- /dev/null +++ b/code/modules/goonhub/api/models/bans/JobBansForPlayer.html @@ -0,0 +1 @@ +code/modules/goonhub/api/models/bans/JobBansForPlayer.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/models/bans/JobBansForPlayer.dm

/datum/apiModel/JobBansForPlayerJobBansForPlayer
\ No newline at end of file diff --git a/code/modules/goonhub/api/models/dectalk/DectalkPlayResource.html b/code/modules/goonhub/api/models/dectalk/DectalkPlayResource.html new file mode 100644 index 0000000000000..5d4fd2e3c962b --- /dev/null +++ b/code/modules/goonhub/api/models/dectalk/DectalkPlayResource.html @@ -0,0 +1 @@ +code/modules/goonhub/api/models/dectalk/DectalkPlayResource.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/models/dectalk/DectalkPlayResource.dm

/datum/apiModel/DectalkPlayResourceDectalkPlayResource
\ No newline at end of file diff --git a/code/modules/goonhub/api/models/events/EventAiLawResource.html b/code/modules/goonhub/api/models/events/EventAiLawResource.html new file mode 100644 index 0000000000000..19f75d9fb227e --- /dev/null +++ b/code/modules/goonhub/api/models/events/EventAiLawResource.html @@ -0,0 +1 @@ +code/modules/goonhub/api/models/events/EventAiLawResource.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/models/events/EventAiLawResource.dm

/datum/apiModel/Tracked/EventAiLawResourceEventAiLawResource
\ No newline at end of file diff --git a/code/modules/goonhub/api/models/events/EventFineResource.html b/code/modules/goonhub/api/models/events/EventFineResource.html new file mode 100644 index 0000000000000..756f3d6234c5b --- /dev/null +++ b/code/modules/goonhub/api/models/events/EventFineResource.html @@ -0,0 +1 @@ +code/modules/goonhub/api/models/events/EventFineResource.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/models/events/EventFineResource.dm

/datum/apiModel/Tracked/EventFineResourceEventFineResource
\ No newline at end of file diff --git a/code/modules/goonhub/api/models/events/EventStationNameResource.html b/code/modules/goonhub/api/models/events/EventStationNameResource.html new file mode 100644 index 0000000000000..32cd57253b8cb --- /dev/null +++ b/code/modules/goonhub/api/models/events/EventStationNameResource.html @@ -0,0 +1 @@ +code/modules/goonhub/api/models/events/EventStationNameResource.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/models/events/EventStationNameResource.dm

/datum/apiModel/Tracked/EventStationNameResourceEventStationNameResource
\ No newline at end of file diff --git a/code/modules/goonhub/api/models/events/EventTicketResource.html b/code/modules/goonhub/api/models/events/EventTicketResource.html new file mode 100644 index 0000000000000..6f0e312ffd170 --- /dev/null +++ b/code/modules/goonhub/api/models/events/EventTicketResource.html @@ -0,0 +1 @@ +code/modules/goonhub/api/models/events/EventTicketResource.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/models/events/EventTicketResource.dm

/datum/apiModel/Tracked/EventTicketResourceEventTicketResource
\ No newline at end of file diff --git a/code/modules/goonhub/api/models/gameadmins/GameAdmin.html b/code/modules/goonhub/api/models/gameadmins/GameAdmin.html new file mode 100644 index 0000000000000..ea7e94d702c5b --- /dev/null +++ b/code/modules/goonhub/api/models/gameadmins/GameAdmin.html @@ -0,0 +1 @@ +code/modules/goonhub/api/models/gameadmins/GameAdmin.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/models/gameadmins/GameAdmin.dm

/datum/apiModel/Tracked/GameAdminGameAdmin
\ No newline at end of file diff --git a/code/modules/goonhub/api/models/gameadmins/GameAdminRank.html b/code/modules/goonhub/api/models/gameadmins/GameAdminRank.html new file mode 100644 index 0000000000000..9f86c9551144b --- /dev/null +++ b/code/modules/goonhub/api/models/gameadmins/GameAdminRank.html @@ -0,0 +1 @@ +code/modules/goonhub/api/models/gameadmins/GameAdminRank.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/models/gameadmins/GameAdminRank.dm

/datum/apiModel/Tracked/GameAdminRankGameAdminRank
\ No newline at end of file diff --git a/code/modules/goonhub/api/models/gameadmins/GameAdminResource.html b/code/modules/goonhub/api/models/gameadmins/GameAdminResource.html new file mode 100644 index 0000000000000..e596fb45ef986 --- /dev/null +++ b/code/modules/goonhub/api/models/gameadmins/GameAdminResource.html @@ -0,0 +1 @@ +code/modules/goonhub/api/models/gameadmins/GameAdminResource.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/models/gameadmins/GameAdminResource.dm

/datum/apiModel/GameAdminResourceGameAdminResource
\ No newline at end of file diff --git a/code/modules/goonhub/api/models/gauntlet/PreviousGauntlets.html b/code/modules/goonhub/api/models/gauntlet/PreviousGauntlets.html new file mode 100644 index 0000000000000..adc669120d603 --- /dev/null +++ b/code/modules/goonhub/api/models/gauntlet/PreviousGauntlets.html @@ -0,0 +1 @@ +code/modules/goonhub/api/models/gauntlet/PreviousGauntlets.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/models/gauntlet/PreviousGauntlets.dm

/datum/apiModel/PreviousGauntletsPreviousGauntlets
\ No newline at end of file diff --git a/code/modules/goonhub/api/models/maps/MapSwitch.html b/code/modules/goonhub/api/models/maps/MapSwitch.html new file mode 100644 index 0000000000000..57fba76f17974 --- /dev/null +++ b/code/modules/goonhub/api/models/maps/MapSwitch.html @@ -0,0 +1 @@ +code/modules/goonhub/api/models/maps/MapSwitch.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/models/maps/MapSwitch.dm

/datum/apiModel/MapSwitchMapSwitch
/datum/apiModel/Tracked/MapSwitchInternalMapSwitchInternal
\ No newline at end of file diff --git a/code/modules/goonhub/api/models/medals/HasMedalResource.html b/code/modules/goonhub/api/models/medals/HasMedalResource.html new file mode 100644 index 0000000000000..86c8c4204599a --- /dev/null +++ b/code/modules/goonhub/api/models/medals/HasMedalResource.html @@ -0,0 +1 @@ +code/modules/goonhub/api/models/medals/HasMedalResource.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/models/medals/HasMedalResource.dm

/datum/apiModel/HasMedalResourceHasMedalResource
\ No newline at end of file diff --git a/code/modules/goonhub/api/models/medals/MedalResource.html b/code/modules/goonhub/api/models/medals/MedalResource.html new file mode 100644 index 0000000000000..73576cb2eec84 --- /dev/null +++ b/code/modules/goonhub/api/models/medals/MedalResource.html @@ -0,0 +1 @@ +code/modules/goonhub/api/models/medals/MedalResource.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/models/medals/MedalResource.dm

/datum/apiModel/Tracked/MedalResourceMedalResource
\ No newline at end of file diff --git a/code/modules/goonhub/api/models/numbersstation/NumbersStationPasswordResource.html b/code/modules/goonhub/api/models/numbersstation/NumbersStationPasswordResource.html new file mode 100644 index 0000000000000..dd541cee2751d --- /dev/null +++ b/code/modules/goonhub/api/models/numbersstation/NumbersStationPasswordResource.html @@ -0,0 +1 @@ +code/modules/goonhub/api/models/numbersstation/NumbersStationPasswordResource.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/models/numbersstation/NumbersStationPasswordResource.dm

/datum/apiModel/NumbersStationPasswordResourceNumbersStationPasswordResource
\ No newline at end of file diff --git a/code/modules/goonhub/api/models/players/GetPlayerSaves.html b/code/modules/goonhub/api/models/players/GetPlayerSaves.html new file mode 100644 index 0000000000000..2c166298486b1 --- /dev/null +++ b/code/modules/goonhub/api/models/players/GetPlayerSaves.html @@ -0,0 +1 @@ +code/modules/goonhub/api/models/players/GetPlayerSaves.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/models/players/GetPlayerSaves.dm

/datum/apiModel/GetPlayerSavesGetPlayerSaves
\ No newline at end of file diff --git a/code/modules/goonhub/api/models/players/PlayerAntagResource.html b/code/modules/goonhub/api/models/players/PlayerAntagResource.html new file mode 100644 index 0000000000000..454c994e4303b --- /dev/null +++ b/code/modules/goonhub/api/models/players/PlayerAntagResource.html @@ -0,0 +1 @@ +code/modules/goonhub/api/models/players/PlayerAntagResource.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/models/players/PlayerAntagResource.dm

/datum/apiModel/Tracked/PlayerRes/PlayerAntagResourcePlayerAntagResource
\ No newline at end of file diff --git a/code/modules/goonhub/api/models/players/PlayerCompIdsResource.html b/code/modules/goonhub/api/models/players/PlayerCompIdsResource.html new file mode 100644 index 0000000000000..f8367cb40ac6c --- /dev/null +++ b/code/modules/goonhub/api/models/players/PlayerCompIdsResource.html @@ -0,0 +1 @@ +code/modules/goonhub/api/models/players/PlayerCompIdsResource.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/models/players/PlayerCompIdsResource.dm

/datum/apiModel/PlayerCompIdsResourcePlayerCompIdsResource
\ No newline at end of file diff --git a/code/modules/goonhub/api/models/players/PlayerConnection.html b/code/modules/goonhub/api/models/players/PlayerConnection.html new file mode 100644 index 0000000000000..b4f5cf3df510e --- /dev/null +++ b/code/modules/goonhub/api/models/players/PlayerConnection.html @@ -0,0 +1 @@ +code/modules/goonhub/api/models/players/PlayerConnection.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/models/players/PlayerConnection.dm

/datum/apiModel/Tracked/PlayerRes/PlayerConnectionPlayerConnection
\ No newline at end of file diff --git a/code/modules/goonhub/api/models/players/PlayerDataResource.html b/code/modules/goonhub/api/models/players/PlayerDataResource.html new file mode 100644 index 0000000000000..78a74f9f4ebfb --- /dev/null +++ b/code/modules/goonhub/api/models/players/PlayerDataResource.html @@ -0,0 +1 @@ +code/modules/goonhub/api/models/players/PlayerDataResource.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/models/players/PlayerDataResource.dm

/datum/apiModel/Tracked/PlayerRes/PlayerDataResourcePlayerDataResource
\ No newline at end of file diff --git a/code/modules/goonhub/api/models/players/PlayerIpsResource.html b/code/modules/goonhub/api/models/players/PlayerIpsResource.html new file mode 100644 index 0000000000000..881dae93bf633 --- /dev/null +++ b/code/modules/goonhub/api/models/players/PlayerIpsResource.html @@ -0,0 +1 @@ +code/modules/goonhub/api/models/players/PlayerIpsResource.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/models/players/PlayerIpsResource.dm

/datum/apiModel/PlayerIpsResourcePlayerIpsResource
\ No newline at end of file diff --git a/code/modules/goonhub/api/models/players/PlayerMedalResource.html b/code/modules/goonhub/api/models/players/PlayerMedalResource.html new file mode 100644 index 0000000000000..64d7d3ee4f6f7 --- /dev/null +++ b/code/modules/goonhub/api/models/players/PlayerMedalResource.html @@ -0,0 +1 @@ +code/modules/goonhub/api/models/players/PlayerMedalResource.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/models/players/PlayerMedalResource.dm

/datum/apiModel/Tracked/PlayerRes/PlayerMedalResourcePlayerMedalResource
\ No newline at end of file diff --git a/code/modules/goonhub/api/models/players/PlayerMedalResourceList.html b/code/modules/goonhub/api/models/players/PlayerMedalResourceList.html new file mode 100644 index 0000000000000..987ba387ec5d8 --- /dev/null +++ b/code/modules/goonhub/api/models/players/PlayerMedalResourceList.html @@ -0,0 +1 @@ +code/modules/goonhub/api/models/players/PlayerMedalResourceList.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/models/players/PlayerMedalResourceList.dm

/datum/apiModel/Paginated/PlayerMedalResourceListPlayerMedalResourceList
\ No newline at end of file diff --git a/code/modules/goonhub/api/models/players/PlayerMetadataArray.html b/code/modules/goonhub/api/models/players/PlayerMetadataArray.html new file mode 100644 index 0000000000000..da296ef583ba2 --- /dev/null +++ b/code/modules/goonhub/api/models/players/PlayerMetadataArray.html @@ -0,0 +1 @@ +code/modules/goonhub/api/models/players/PlayerMetadataArray.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/models/players/PlayerMetadataArray.dm

/datum/apiModel/PlayerMetadataArrayPlayerMetadataArray
\ No newline at end of file diff --git a/code/modules/goonhub/api/models/players/PlayerMetadataList.html b/code/modules/goonhub/api/models/players/PlayerMetadataList.html new file mode 100644 index 0000000000000..bab3f47ea4e8f --- /dev/null +++ b/code/modules/goonhub/api/models/players/PlayerMetadataList.html @@ -0,0 +1 @@ +code/modules/goonhub/api/models/players/PlayerMetadataList.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/models/players/PlayerMetadataList.dm

/datum/apiModel/Paginated/PlayerMetadataListPlayerMetadataList
\ No newline at end of file diff --git a/code/modules/goonhub/api/models/players/PlayerMetadataResource.html b/code/modules/goonhub/api/models/players/PlayerMetadataResource.html new file mode 100644 index 0000000000000..c0d132464136d --- /dev/null +++ b/code/modules/goonhub/api/models/players/PlayerMetadataResource.html @@ -0,0 +1 @@ +code/modules/goonhub/api/models/players/PlayerMetadataResource.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/models/players/PlayerMetadataResource.dm

/datum/apiModel/Tracked/PlayerRes/PlayerMetadataResourcePlayerMetadataResource
\ No newline at end of file diff --git a/code/modules/goonhub/api/models/players/PlayerNoteResource.html b/code/modules/goonhub/api/models/players/PlayerNoteResource.html new file mode 100644 index 0000000000000..f262fdae1db77 --- /dev/null +++ b/code/modules/goonhub/api/models/players/PlayerNoteResource.html @@ -0,0 +1 @@ +code/modules/goonhub/api/models/players/PlayerNoteResource.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/models/players/PlayerNoteResource.dm

/datum/apiModel/Tracked/PlayerNoteResourcePlayerNoteResource
\ No newline at end of file diff --git a/code/modules/goonhub/api/models/players/PlayerNoteResourceList.html b/code/modules/goonhub/api/models/players/PlayerNoteResourceList.html new file mode 100644 index 0000000000000..68115b3310f66 --- /dev/null +++ b/code/modules/goonhub/api/models/players/PlayerNoteResourceList.html @@ -0,0 +1 @@ +code/modules/goonhub/api/models/players/PlayerNoteResourceList.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/models/players/PlayerNoteResourceList.dm

/datum/apiModel/Paginated/PlayerNoteResourceListPlayerNoteResourceList
\ No newline at end of file diff --git a/code/modules/goonhub/api/models/players/PlayerParticipationResource.html b/code/modules/goonhub/api/models/players/PlayerParticipationResource.html new file mode 100644 index 0000000000000..863f70149ddab --- /dev/null +++ b/code/modules/goonhub/api/models/players/PlayerParticipationResource.html @@ -0,0 +1 @@ +code/modules/goonhub/api/models/players/PlayerParticipationResource.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/models/players/PlayerParticipationResource.dm

/datum/apiModel/Tracked/PlayerRes/PlayerParticipationResourcePlayerParticipationResource
\ No newline at end of file diff --git a/code/modules/goonhub/api/models/players/PlayerResource.html b/code/modules/goonhub/api/models/players/PlayerResource.html new file mode 100644 index 0000000000000..217c41acb0a8c --- /dev/null +++ b/code/modules/goonhub/api/models/players/PlayerResource.html @@ -0,0 +1 @@ +code/modules/goonhub/api/models/players/PlayerResource.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/models/players/PlayerResource.dm

/datum/apiModel/Tracked/PlayerResourcePlayerResource
\ No newline at end of file diff --git a/code/modules/goonhub/api/models/players/PlayerSaveResource.html b/code/modules/goonhub/api/models/players/PlayerSaveResource.html new file mode 100644 index 0000000000000..8278c4578a4e5 --- /dev/null +++ b/code/modules/goonhub/api/models/players/PlayerSaveResource.html @@ -0,0 +1 @@ +code/modules/goonhub/api/models/players/PlayerSaveResource.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/models/players/PlayerSaveResource.dm

/datum/apiModel/Tracked/PlayerRes/PlayerSaveResourcePlayerSaveResource
\ No newline at end of file diff --git a/code/modules/goonhub/api/models/players/PlayerStatsResource.html b/code/modules/goonhub/api/models/players/PlayerStatsResource.html new file mode 100644 index 0000000000000..1c111bae6f70b --- /dev/null +++ b/code/modules/goonhub/api/models/players/PlayerStatsResource.html @@ -0,0 +1 @@ +code/modules/goonhub/api/models/players/PlayerStatsResource.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/models/players/PlayerStatsResource.dm

/datum/apiModel/Tracked/PlayerStatsResourcePlayerStatsResource
\ No newline at end of file diff --git a/code/modules/goonhub/api/models/players/weird/PlayerSearchResource.html b/code/modules/goonhub/api/models/players/weird/PlayerSearchResource.html new file mode 100644 index 0000000000000..03a03c761f396 --- /dev/null +++ b/code/modules/goonhub/api/models/players/weird/PlayerSearchResource.html @@ -0,0 +1 @@ +code/modules/goonhub/api/models/players/weird/PlayerSearchResource.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/models/players/weird/PlayerSearchResource.dm

/datum/apiModel/PlayerSearchResourcePlayerSearchResource
\ No newline at end of file diff --git a/code/modules/goonhub/api/models/polls/PollAnswerResource.html b/code/modules/goonhub/api/models/polls/PollAnswerResource.html new file mode 100644 index 0000000000000..47ae4853ff38d --- /dev/null +++ b/code/modules/goonhub/api/models/polls/PollAnswerResource.html @@ -0,0 +1 @@ +code/modules/goonhub/api/models/polls/PollAnswerResource.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/models/polls/PollAnswerResource.dm

/datum/apiModel/Tracked/PollAnswerResourcePollAnswerResource
\ No newline at end of file diff --git a/code/modules/goonhub/api/models/polls/PollOptionResource.html b/code/modules/goonhub/api/models/polls/PollOptionResource.html new file mode 100644 index 0000000000000..b846bfe913c95 --- /dev/null +++ b/code/modules/goonhub/api/models/polls/PollOptionResource.html @@ -0,0 +1 @@ +code/modules/goonhub/api/models/polls/PollOptionResource.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/models/polls/PollOptionResource.dm

/datum/apiModel/PollOptionResourcePollOptionResource
\ No newline at end of file diff --git a/code/modules/goonhub/api/models/polls/PollResource.html b/code/modules/goonhub/api/models/polls/PollResource.html new file mode 100644 index 0000000000000..7915653be9858 --- /dev/null +++ b/code/modules/goonhub/api/models/polls/PollResource.html @@ -0,0 +1 @@ +code/modules/goonhub/api/models/polls/PollResource.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/models/polls/PollResource.dm

/datum/apiModel/Tracked/PollResourcePollResource
\ No newline at end of file diff --git a/code/modules/goonhub/api/models/polls/PollResourceList.html b/code/modules/goonhub/api/models/polls/PollResourceList.html new file mode 100644 index 0000000000000..0336926755891 --- /dev/null +++ b/code/modules/goonhub/api/models/polls/PollResourceList.html @@ -0,0 +1 @@ +code/modules/goonhub/api/models/polls/PollResourceList.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/models/polls/PollResourceList.dm

/datum/apiModel/Paginated/PollResourceListPollResourceList
\ No newline at end of file diff --git a/code/modules/goonhub/api/models/randomentries/RandomEntries.html b/code/modules/goonhub/api/models/randomentries/RandomEntries.html new file mode 100644 index 0000000000000..c147aa2bbb980 --- /dev/null +++ b/code/modules/goonhub/api/models/randomentries/RandomEntries.html @@ -0,0 +1 @@ +code/modules/goonhub/api/models/randomentries/RandomEntries.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/models/randomentries/RandomEntries.dm

/datum/apiModel/RandomEntriesRandomEntries
\ No newline at end of file diff --git a/code/modules/goonhub/api/models/rounds/GameRound.html b/code/modules/goonhub/api/models/rounds/GameRound.html new file mode 100644 index 0000000000000..46d108f0f990e --- /dev/null +++ b/code/modules/goonhub/api/models/rounds/GameRound.html @@ -0,0 +1 @@ +code/modules/goonhub/api/models/rounds/GameRound.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/models/rounds/GameRound.dm

/datum/apiModel/Tracked/GameRoundGameRound
\ No newline at end of file diff --git a/code/modules/goonhub/api/models/vpn/VpnCheckResource.html b/code/modules/goonhub/api/models/vpn/VpnCheckResource.html new file mode 100644 index 0000000000000..8a6228f451b5c --- /dev/null +++ b/code/modules/goonhub/api/models/vpn/VpnCheckResource.html @@ -0,0 +1 @@ +code/modules/goonhub/api/models/vpn/VpnCheckResource.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/models/vpn/VpnCheckResource.dm

/datum/apiModel/VpnCheckResourceVpnCheckResource
\ No newline at end of file diff --git a/code/modules/goonhub/api/models/vpn/VpnWhitelistResource.html b/code/modules/goonhub/api/models/vpn/VpnWhitelistResource.html new file mode 100644 index 0000000000000..9119eae459983 --- /dev/null +++ b/code/modules/goonhub/api/models/vpn/VpnWhitelistResource.html @@ -0,0 +1 @@ +code/modules/goonhub/api/models/vpn/VpnWhitelistResource.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/models/vpn/VpnWhitelistResource.dm

/datum/apiModel/Tracked/VpnWhitelistResourceVpnWhitelistResource
\ No newline at end of file diff --git a/code/modules/goonhub/api/models/vpn/VpnWhitelistSearch.html b/code/modules/goonhub/api/models/vpn/VpnWhitelistSearch.html new file mode 100644 index 0000000000000..bf6c30bcc1d78 --- /dev/null +++ b/code/modules/goonhub/api/models/vpn/VpnWhitelistSearch.html @@ -0,0 +1 @@ +code/modules/goonhub/api/models/vpn/VpnWhitelistSearch.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/models/vpn/VpnWhitelistSearch.dm

/datum/apiModel/VpnWhitelistSearchVpnWhitelistSearch
\ No newline at end of file diff --git a/code/modules/goonhub/api/requests/apiBody.html b/code/modules/goonhub/api/requests/apiBody.html new file mode 100644 index 0000000000000..4c71955769097 --- /dev/null +++ b/code/modules/goonhub/api/requests/apiBody.html @@ -0,0 +1,2 @@ +code/modules/goonhub/api/requests/apiBody.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/requests/apiBody.dm

/datum/apiBodyRepresents the body of an API request - ABSTRACT +Everything is generally required unless annotated as such
\ No newline at end of file diff --git a/code/modules/goonhub/api/routes/RandomEntries.html b/code/modules/goonhub/api/routes/RandomEntries.html new file mode 100644 index 0000000000000..28bab07e0b078 --- /dev/null +++ b/code/modules/goonhub/api/routes/RandomEntries.html @@ -0,0 +1,2 @@ +code/modules/goonhub/api/routes/RandomEntries.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/routes/RandomEntries.dm

/datum/apiRoute/randomEntriesGET /random-entries +Get a list of random entries by type
\ No newline at end of file diff --git a/code/modules/goonhub/api/routes/RemoteMusic.html b/code/modules/goonhub/api/routes/RemoteMusic.html new file mode 100644 index 0000000000000..46936d2458cb2 --- /dev/null +++ b/code/modules/goonhub/api/routes/RemoteMusic.html @@ -0,0 +1,2 @@ +code/modules/goonhub/api/routes/RemoteMusic.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/routes/RemoteMusic.dm

/datum/apiRoute/remoteMusicPOST /remote-music +Queue a piece of music from youtube to be played in a given round
\ No newline at end of file diff --git a/code/modules/goonhub/api/routes/TestRoute.html b/code/modules/goonhub/api/routes/TestRoute.html new file mode 100644 index 0000000000000..3293dca6a23a3 --- /dev/null +++ b/code/modules/goonhub/api/routes/TestRoute.html @@ -0,0 +1,2 @@ +code/modules/goonhub/api/routes/TestRoute.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/routes/TestRoute.dm

/datum/apiRoute/testGET /test +Test route for debugging
\ No newline at end of file diff --git a/code/modules/goonhub/api/routes/apiRoute.html b/code/modules/goonhub/api/routes/apiRoute.html new file mode 100644 index 0000000000000..97951ac0fef3d --- /dev/null +++ b/code/modules/goonhub/api/routes/apiRoute.html @@ -0,0 +1,3 @@ +code/modules/goonhub/api/routes/apiRoute.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/routes/apiRoute.dm

/datum/apiRouteBase apiCall type +Represents a predefined query we can make to the Goonhub API +SECURITY: Sanitization occurs right before output
\ No newline at end of file diff --git a/code/modules/goonhub/api/routes/bans/AddBanDetails.html b/code/modules/goonhub/api/routes/bans/AddBanDetails.html new file mode 100644 index 0000000000000..adcf37c133437 --- /dev/null +++ b/code/modules/goonhub/api/routes/bans/AddBanDetails.html @@ -0,0 +1,2 @@ +code/modules/goonhub/api/routes/bans/AddBanDetails.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/routes/bans/AddBanDetails.dm

/datum/apiRoute/bans/add_detailPOST /bans/details/{ban} +Add new player details to an existing ban. This should be used when an evasion attempt is detected.
\ No newline at end of file diff --git a/code/modules/goonhub/api/routes/bans/AddBans.html b/code/modules/goonhub/api/routes/bans/AddBans.html new file mode 100644 index 0000000000000..e2ca7622da208 --- /dev/null +++ b/code/modules/goonhub/api/routes/bans/AddBans.html @@ -0,0 +1,2 @@ +code/modules/goonhub/api/routes/bans/AddBans.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/routes/bans/AddBans.dm

/datum/apiRoute/bans/addPOST /bans +Add a ban for given player data
\ No newline at end of file diff --git a/code/modules/goonhub/api/routes/bans/CheckBans.html b/code/modules/goonhub/api/routes/bans/CheckBans.html new file mode 100644 index 0000000000000..8ff544b4c45ab --- /dev/null +++ b/code/modules/goonhub/api/routes/bans/CheckBans.html @@ -0,0 +1,2 @@ +code/modules/goonhub/api/routes/bans/CheckBans.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/routes/bans/CheckBans.dm

/datum/apiRoute/bans/checkGET /bans/check +Check
\ No newline at end of file diff --git a/code/modules/goonhub/api/routes/bans/DeleteBans.html b/code/modules/goonhub/api/routes/bans/DeleteBans.html new file mode 100644 index 0000000000000..2f21821da4d88 --- /dev/null +++ b/code/modules/goonhub/api/routes/bans/DeleteBans.html @@ -0,0 +1,2 @@ +code/modules/goonhub/api/routes/bans/DeleteBans.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/routes/bans/DeleteBans.dm

/datum/apiRoute/bans/deleteDELETE /bans/{ban} +Delete
\ No newline at end of file diff --git a/code/modules/goonhub/api/routes/bans/GetBans.html b/code/modules/goonhub/api/routes/bans/GetBans.html new file mode 100644 index 0000000000000..a94940c40ecd6 --- /dev/null +++ b/code/modules/goonhub/api/routes/bans/GetBans.html @@ -0,0 +1,2 @@ +code/modules/goonhub/api/routes/bans/GetBans.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/routes/bans/GetBans.dm

/datum/apiRoute/bans/getGET /bans +Get
\ No newline at end of file diff --git a/code/modules/goonhub/api/routes/bans/RemoveBanDetails.html b/code/modules/goonhub/api/routes/bans/RemoveBanDetails.html new file mode 100644 index 0000000000000..77d860534b91e --- /dev/null +++ b/code/modules/goonhub/api/routes/bans/RemoveBanDetails.html @@ -0,0 +1,2 @@ +code/modules/goonhub/api/routes/bans/RemoveBanDetails.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/routes/bans/RemoveBanDetails.dm

/datum/apiRoute/bans/remove_detailDELETE /bans/detail/{banDetail} +Add Details
\ No newline at end of file diff --git a/code/modules/goonhub/api/routes/bans/UpdateBans.html b/code/modules/goonhub/api/routes/bans/UpdateBans.html new file mode 100644 index 0000000000000..8f694a15a6716 --- /dev/null +++ b/code/modules/goonhub/api/routes/bans/UpdateBans.html @@ -0,0 +1,2 @@ +code/modules/goonhub/api/routes/bans/UpdateBans.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/routes/bans/UpdateBans.dm

/datum/apiRoute/bans/updatePUT /bans/{ban} +Update
\ No newline at end of file diff --git a/code/modules/goonhub/api/routes/dectalk/PlayDectalk.html b/code/modules/goonhub/api/routes/dectalk/PlayDectalk.html new file mode 100644 index 0000000000000..f271c2e616df1 --- /dev/null +++ b/code/modules/goonhub/api/routes/dectalk/PlayDectalk.html @@ -0,0 +1,2 @@ +code/modules/goonhub/api/routes/dectalk/PlayDectalk.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/routes/dectalk/PlayDectalk.dm

/datum/apiRoute/dectalk/playPOST /dectalk/play +Generate an audio file speaking the text provided.
\ No newline at end of file diff --git a/code/modules/goonhub/api/routes/gameadminranks/AddGameAdminRanks.html b/code/modules/goonhub/api/routes/gameadminranks/AddGameAdminRanks.html new file mode 100644 index 0000000000000..3bdaf97cb9f6f --- /dev/null +++ b/code/modules/goonhub/api/routes/gameadminranks/AddGameAdminRanks.html @@ -0,0 +1,2 @@ +code/modules/goonhub/api/routes/gameadminranks/AddGameAdminRanks.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/routes/gameadminranks/AddGameAdminRanks.dm

/datum/apiRoute/gameadminrank/postPOST /game-admin-ranks +Add a new game admin rank
\ No newline at end of file diff --git a/code/modules/goonhub/api/routes/gameadminranks/DeleteGameAdminRanks.html b/code/modules/goonhub/api/routes/gameadminranks/DeleteGameAdminRanks.html new file mode 100644 index 0000000000000..7aa2adff1d67c --- /dev/null +++ b/code/modules/goonhub/api/routes/gameadminranks/DeleteGameAdminRanks.html @@ -0,0 +1,2 @@ +code/modules/goonhub/api/routes/gameadminranks/DeleteGameAdminRanks.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/routes/gameadminranks/DeleteGameAdminRanks.dm

/datum/apiRoute/gameadminranks/deleteDELETE /game-admin-ranks/{gameAdmin} +Delete an existing game admin
\ No newline at end of file diff --git a/code/modules/goonhub/api/routes/gameadminranks/GetGameAdminRanks.html b/code/modules/goonhub/api/routes/gameadminranks/GetGameAdminRanks.html new file mode 100644 index 0000000000000..dd5cfe163a72b --- /dev/null +++ b/code/modules/goonhub/api/routes/gameadminranks/GetGameAdminRanks.html @@ -0,0 +1,2 @@ +code/modules/goonhub/api/routes/gameadminranks/GetGameAdminRanks.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/routes/gameadminranks/GetGameAdminRanks.dm

/datum/apiRoute/gameadminranks/getGET /game-admin-ranks +List paginated and filtered game admin ranks
\ No newline at end of file diff --git a/code/modules/goonhub/api/routes/gameadminranks/UpdateGameAdminRanks.html b/code/modules/goonhub/api/routes/gameadminranks/UpdateGameAdminRanks.html new file mode 100644 index 0000000000000..dee024df2560b --- /dev/null +++ b/code/modules/goonhub/api/routes/gameadminranks/UpdateGameAdminRanks.html @@ -0,0 +1,2 @@ +code/modules/goonhub/api/routes/gameadminranks/UpdateGameAdminRanks.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/routes/gameadminranks/UpdateGameAdminRanks.dm

/datum/apiRoute/gameadminranks/putPUT /game-admin-ranks/{gameAdminRank} +Update an existing game admin
\ No newline at end of file diff --git a/code/modules/goonhub/api/routes/gameadmins/AddGameAdmins.html b/code/modules/goonhub/api/routes/gameadmins/AddGameAdmins.html new file mode 100644 index 0000000000000..16f05f9f33aa5 --- /dev/null +++ b/code/modules/goonhub/api/routes/gameadmins/AddGameAdmins.html @@ -0,0 +1,2 @@ +code/modules/goonhub/api/routes/gameadmins/AddGameAdmins.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/routes/gameadmins/AddGameAdmins.dm

/datum/apiRoute/gameadmins/postPOST /game-admins +Add a new game admin
\ No newline at end of file diff --git a/code/modules/goonhub/api/routes/gameadmins/DeleteGameAdmins.html b/code/modules/goonhub/api/routes/gameadmins/DeleteGameAdmins.html new file mode 100644 index 0000000000000..aad502491eae9 --- /dev/null +++ b/code/modules/goonhub/api/routes/gameadmins/DeleteGameAdmins.html @@ -0,0 +1,2 @@ +code/modules/goonhub/api/routes/gameadmins/DeleteGameAdmins.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/routes/gameadmins/DeleteGameAdmins.dm

/datum/apiRoute/gameadmins/deleteDELETE /game-admins/{gameAdmin} +Delete an existing game admin
\ No newline at end of file diff --git a/code/modules/goonhub/api/routes/gameadmins/GetGameAdmins.html b/code/modules/goonhub/api/routes/gameadmins/GetGameAdmins.html new file mode 100644 index 0000000000000..3af310c5e247f --- /dev/null +++ b/code/modules/goonhub/api/routes/gameadmins/GetGameAdmins.html @@ -0,0 +1,2 @@ +code/modules/goonhub/api/routes/gameadmins/GetGameAdmins.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/routes/gameadmins/GetGameAdmins.dm

/datum/apiRoute/gameadmins/getGET /game-admins +List paginated and filtered game admins
\ No newline at end of file diff --git a/code/modules/goonhub/api/routes/gameadmins/UpdateGameAdmins.html b/code/modules/goonhub/api/routes/gameadmins/UpdateGameAdmins.html new file mode 100644 index 0000000000000..a5895eb4ad822 --- /dev/null +++ b/code/modules/goonhub/api/routes/gameadmins/UpdateGameAdmins.html @@ -0,0 +1,2 @@ +code/modules/goonhub/api/routes/gameadmins/UpdateGameAdmins.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/routes/gameadmins/UpdateGameAdmins.dm

/datum/apiRoute/gameadmins/putPUT /game-admins/{gameAdmin} +Update an existing game admin
\ No newline at end of file diff --git a/code/modules/goonhub/api/routes/gauntlet/GetPreviousGauntlets.html b/code/modules/goonhub/api/routes/gauntlet/GetPreviousGauntlets.html new file mode 100644 index 0000000000000..1834ceaf86050 --- /dev/null +++ b/code/modules/goonhub/api/routes/gauntlet/GetPreviousGauntlets.html @@ -0,0 +1,2 @@ +code/modules/goonhub/api/routes/gauntlet/GetPreviousGauntlets.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/routes/gauntlet/GetPreviousGauntlets.dm

/datum/apiRoute/gauntlet/getpreviousGET /gauntlets/get-previous +Retrieve a count of how many gauntlets a given key has completed
\ No newline at end of file diff --git a/code/modules/goonhub/api/routes/jobbans/AddJobBans.html b/code/modules/goonhub/api/routes/jobbans/AddJobBans.html new file mode 100644 index 0000000000000..e9dc863c2760c --- /dev/null +++ b/code/modules/goonhub/api/routes/jobbans/AddJobBans.html @@ -0,0 +1,2 @@ +code/modules/goonhub/api/routes/jobbans/AddJobBans.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/routes/jobbans/AddJobBans.dm

/datum/apiRoute/jobbans/addPOST /job-bans +Add a new job ban
\ No newline at end of file diff --git a/code/modules/goonhub/api/routes/jobbans/CheckJobBans.html b/code/modules/goonhub/api/routes/jobbans/CheckJobBans.html new file mode 100644 index 0000000000000..7b3268a7ca5ca --- /dev/null +++ b/code/modules/goonhub/api/routes/jobbans/CheckJobBans.html @@ -0,0 +1,2 @@ +code/modules/goonhub/api/routes/jobbans/CheckJobBans.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/routes/jobbans/CheckJobBans.dm

/datum/apiRoute/jobbans/checkGET /job-bans/check +Check if a job ban exists for given player and server details
\ No newline at end of file diff --git a/code/modules/goonhub/api/routes/jobbans/DeleteJobBans.html b/code/modules/goonhub/api/routes/jobbans/DeleteJobBans.html new file mode 100644 index 0000000000000..bec1039695932 --- /dev/null +++ b/code/modules/goonhub/api/routes/jobbans/DeleteJobBans.html @@ -0,0 +1,2 @@ +code/modules/goonhub/api/routes/jobbans/DeleteJobBans.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/routes/jobbans/DeleteJobBans.dm

/datum/apiRoute/jobbans/deleteDELETE /job-bans/{jobBan} +Delete an existing job ban
\ No newline at end of file diff --git a/code/modules/goonhub/api/routes/jobbans/GetJobBans.html b/code/modules/goonhub/api/routes/jobbans/GetJobBans.html new file mode 100644 index 0000000000000..6cb0054bb96a6 --- /dev/null +++ b/code/modules/goonhub/api/routes/jobbans/GetJobBans.html @@ -0,0 +1,2 @@ +code/modules/goonhub/api/routes/jobbans/GetJobBans.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/routes/jobbans/GetJobBans.dm

/datum/apiRoute/jobbans/getGET /job-bans +List filtered and paginated job bans
\ No newline at end of file diff --git a/code/modules/goonhub/api/routes/jobbans/GetPlayerJobBans.html b/code/modules/goonhub/api/routes/jobbans/GetPlayerJobBans.html new file mode 100644 index 0000000000000..e69479192d5bc --- /dev/null +++ b/code/modules/goonhub/api/routes/jobbans/GetPlayerJobBans.html @@ -0,0 +1,2 @@ +code/modules/goonhub/api/routes/jobbans/GetPlayerJobBans.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/routes/jobbans/GetPlayerJobBans.dm

/datum/apiRoute/jobbans/getforplayerGET /job-bans/get-for-player +Get all job bans for a given player and server
\ No newline at end of file diff --git a/code/modules/goonhub/api/routes/jobbans/UpdateJobBans.html b/code/modules/goonhub/api/routes/jobbans/UpdateJobBans.html new file mode 100644 index 0000000000000..f67b0ba172ce1 --- /dev/null +++ b/code/modules/goonhub/api/routes/jobbans/UpdateJobBans.html @@ -0,0 +1,2 @@ +code/modules/goonhub/api/routes/jobbans/UpdateJobBans.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/routes/jobbans/UpdateJobBans.dm

/datum/apiRoute/jobbans/updatePUT /job-bans/{jobBan} +Update an existing job ban
\ No newline at end of file diff --git a/code/modules/goonhub/api/routes/maps/MapSwitches.html b/code/modules/goonhub/api/routes/maps/MapSwitches.html new file mode 100644 index 0000000000000..9ab28934ccb27 --- /dev/null +++ b/code/modules/goonhub/api/routes/maps/MapSwitches.html @@ -0,0 +1,2 @@ +code/modules/goonhub/api/routes/maps/MapSwitches.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/routes/maps/MapSwitches.dm

/datum/apiRoute/mapswitchPOST /map-switch +Trigger a map switch for a given server
\ No newline at end of file diff --git a/code/modules/goonhub/api/routes/numbersstation/GetNumbersStationNumbers.html b/code/modules/goonhub/api/routes/numbersstation/GetNumbersStationNumbers.html new file mode 100644 index 0000000000000..26ab2e051e0a6 --- /dev/null +++ b/code/modules/goonhub/api/routes/numbersstation/GetNumbersStationNumbers.html @@ -0,0 +1,2 @@ +code/modules/goonhub/api/routes/numbersstation/GetNumbersStationNumbers.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/routes/numbersstation/GetNumbersStationNumbers.dm

/datum/apiRoute/numbersstation/getGET /numbers-station +Get the current numbers representing the password for the numbers station terminal
\ No newline at end of file diff --git a/code/modules/goonhub/api/routes/players/PlayerAntags.html b/code/modules/goonhub/api/routes/players/PlayerAntags.html new file mode 100644 index 0000000000000..b3a421ab71c54 --- /dev/null +++ b/code/modules/goonhub/api/routes/players/PlayerAntags.html @@ -0,0 +1,2 @@ +code/modules/goonhub/api/routes/players/PlayerAntags.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/routes/players/PlayerAntags.dm

/datum/apiRoute/players/antagsPOST /players/antags +Add a player antagonist for a given round
\ No newline at end of file diff --git a/code/modules/goonhub/api/routes/players/PlayerCompIds.html b/code/modules/goonhub/api/routes/players/PlayerCompIds.html new file mode 100644 index 0000000000000..253a39304bffa --- /dev/null +++ b/code/modules/goonhub/api/routes/players/PlayerCompIds.html @@ -0,0 +1,2 @@ +code/modules/goonhub/api/routes/players/PlayerCompIds.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/routes/players/PlayerCompIds.dm

/datum/apiRoute/players/compids/getGET /players/get-compids +Get a list of computed IDs associated with a player ckey, along with how many times they connected with each computer ID
\ No newline at end of file diff --git a/code/modules/goonhub/api/routes/players/PlayerIps.html b/code/modules/goonhub/api/routes/players/PlayerIps.html new file mode 100644 index 0000000000000..e68127fe40cdf --- /dev/null +++ b/code/modules/goonhub/api/routes/players/PlayerIps.html @@ -0,0 +1,2 @@ +code/modules/goonhub/api/routes/players/PlayerIps.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/routes/players/PlayerIps.dm

/datum/apiRoute/players/ips/getGET /players/get-ips +Get a list of IPs associated with a player ckey, along with how many times they connected with each IP
\ No newline at end of file diff --git a/code/modules/goonhub/api/routes/players/PlayerLogin.html b/code/modules/goonhub/api/routes/players/PlayerLogin.html new file mode 100644 index 0000000000000..42afe25f456a4 --- /dev/null +++ b/code/modules/goonhub/api/routes/players/PlayerLogin.html @@ -0,0 +1,2 @@ +code/modules/goonhub/api/routes/players/PlayerLogin.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/routes/players/PlayerLogin.dm

/datum/apiRoute/players/loginPOST /players +Register a login for a player with associated details
\ No newline at end of file diff --git a/code/modules/goonhub/api/routes/players/PlayerParticipations.html b/code/modules/goonhub/api/routes/players/PlayerParticipations.html new file mode 100644 index 0000000000000..1eec82bbeea59 --- /dev/null +++ b/code/modules/goonhub/api/routes/players/PlayerParticipations.html @@ -0,0 +1,2 @@ +code/modules/goonhub/api/routes/players/PlayerParticipations.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/routes/players/PlayerParticipations.dm

/datum/apiRoute/players/participationsPOST /players/participation +Add a player participation for a given round
\ No newline at end of file diff --git a/code/modules/goonhub/api/routes/players/PlayerParticipationsBulk.html b/code/modules/goonhub/api/routes/players/PlayerParticipationsBulk.html new file mode 100644 index 0000000000000..93ef6cd8ea5a9 --- /dev/null +++ b/code/modules/goonhub/api/routes/players/PlayerParticipationsBulk.html @@ -0,0 +1,2 @@ +code/modules/goonhub/api/routes/players/PlayerParticipationsBulk.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/routes/players/PlayerParticipationsBulk.dm

/datum/apiRoute/players/participationsBulkPOST /players/participation +Add a player participation for a given round
\ No newline at end of file diff --git a/code/modules/goonhub/api/routes/players/PlayerPlaytime.html b/code/modules/goonhub/api/routes/players/PlayerPlaytime.html new file mode 100644 index 0000000000000..4976792f203f3 --- /dev/null +++ b/code/modules/goonhub/api/routes/players/PlayerPlaytime.html @@ -0,0 +1,2 @@ +code/modules/goonhub/api/routes/players/PlayerPlaytime.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/routes/players/PlayerPlaytime.dm

/datum/apiRoute/players/playtimePOST /players/playtime/bulk +Record playtime for a list of players
\ No newline at end of file diff --git a/code/modules/goonhub/api/routes/players/PlayerStats.html b/code/modules/goonhub/api/routes/players/PlayerStats.html new file mode 100644 index 0000000000000..728f076104bb7 --- /dev/null +++ b/code/modules/goonhub/api/routes/players/PlayerStats.html @@ -0,0 +1,2 @@ +code/modules/goonhub/api/routes/players/PlayerStats.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/routes/players/PlayerStats.dm

/datum/apiRoute/players/stats/getGET /players/stats +Get various statistics associated with a player
\ No newline at end of file diff --git a/code/modules/goonhub/api/routes/players/medals/AddPlayerMedal.html b/code/modules/goonhub/api/routes/players/medals/AddPlayerMedal.html new file mode 100644 index 0000000000000..b47eef2e50306 --- /dev/null +++ b/code/modules/goonhub/api/routes/players/medals/AddPlayerMedal.html @@ -0,0 +1,2 @@ +code/modules/goonhub/api/routes/players/medals/AddPlayerMedal.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/routes/players/medals/AddPlayerMedal.dm

/datum/apiRoute/players/medals/addPOST /medals +Add a medal for a player
\ No newline at end of file diff --git a/code/modules/goonhub/api/routes/players/medals/DeletePlayerMedal.html b/code/modules/goonhub/api/routes/players/medals/DeletePlayerMedal.html new file mode 100644 index 0000000000000..75d814428afa1 --- /dev/null +++ b/code/modules/goonhub/api/routes/players/medals/DeletePlayerMedal.html @@ -0,0 +1,2 @@ +code/modules/goonhub/api/routes/players/medals/DeletePlayerMedal.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/routes/players/medals/DeletePlayerMedal.dm

/datum/apiRoute/players/medals/deleteDELETE /medals +Delete medal for a player
\ No newline at end of file diff --git a/code/modules/goonhub/api/routes/players/medals/GetPlayerMedals.html b/code/modules/goonhub/api/routes/players/medals/GetPlayerMedals.html new file mode 100644 index 0000000000000..140ac5dea30a6 --- /dev/null +++ b/code/modules/goonhub/api/routes/players/medals/GetPlayerMedals.html @@ -0,0 +1,2 @@ +code/modules/goonhub/api/routes/players/medals/GetPlayerMedals.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/routes/players/medals/GetPlayerMedals.dm

/datum/apiRoute/players/medals/getGET /medals +List paginated and filtered player medals
\ No newline at end of file diff --git a/code/modules/goonhub/api/routes/players/medals/HasPlayerMedal.html b/code/modules/goonhub/api/routes/players/medals/HasPlayerMedal.html new file mode 100644 index 0000000000000..48f188e7a4637 --- /dev/null +++ b/code/modules/goonhub/api/routes/players/medals/HasPlayerMedal.html @@ -0,0 +1,2 @@ +code/modules/goonhub/api/routes/players/medals/HasPlayerMedal.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/routes/players/medals/HasPlayerMedal.dm

/datum/apiRoute/players/medals/hasGET /medals/has +Determine if a player has a medal
\ No newline at end of file diff --git a/code/modules/goonhub/api/routes/players/medals/TransferPlayerMedals.html b/code/modules/goonhub/api/routes/players/medals/TransferPlayerMedals.html new file mode 100644 index 0000000000000..31ff6417a8c18 --- /dev/null +++ b/code/modules/goonhub/api/routes/players/medals/TransferPlayerMedals.html @@ -0,0 +1,2 @@ +code/modules/goonhub/api/routes/players/medals/TransferPlayerMedals.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/routes/players/medals/TransferPlayerMedals.dm

/datum/apiRoute/players/medals/transferPOST /medals/transfer +Transfer medals from one player to another
\ No newline at end of file diff --git a/code/modules/goonhub/api/routes/players/metadata/AddPlayerMetadata.html b/code/modules/goonhub/api/routes/players/metadata/AddPlayerMetadata.html new file mode 100644 index 0000000000000..b93cd2f71d9e6 --- /dev/null +++ b/code/modules/goonhub/api/routes/players/metadata/AddPlayerMetadata.html @@ -0,0 +1,2 @@ +code/modules/goonhub/api/routes/players/metadata/AddPlayerMetadata.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/routes/players/metadata/AddPlayerMetadata.dm

/datum/apiRoute/players/metadata/addADD /players/metadata +Add player metadata
\ No newline at end of file diff --git a/code/modules/goonhub/api/routes/players/metadata/DeleteFromPlayerMetadata.html b/code/modules/goonhub/api/routes/players/metadata/DeleteFromPlayerMetadata.html new file mode 100644 index 0000000000000..743fb7ebe4109 --- /dev/null +++ b/code/modules/goonhub/api/routes/players/metadata/DeleteFromPlayerMetadata.html @@ -0,0 +1,2 @@ +code/modules/goonhub/api/routes/players/metadata/DeleteFromPlayerMetadata.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/routes/players/metadata/DeleteFromPlayerMetadata.dm

/datum/apiRoute/players/metadata/delete/fromplayerDELETE /players/metadata/clear-by-player/{ckey} +Delete all metadata associated with a specific player
\ No newline at end of file diff --git a/code/modules/goonhub/api/routes/players/metadata/DeletePlayerMetadata.html b/code/modules/goonhub/api/routes/players/metadata/DeletePlayerMetadata.html new file mode 100644 index 0000000000000..760da6db7ea6e --- /dev/null +++ b/code/modules/goonhub/api/routes/players/metadata/DeletePlayerMetadata.html @@ -0,0 +1,2 @@ +code/modules/goonhub/api/routes/players/metadata/DeletePlayerMetadata.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/routes/players/metadata/DeletePlayerMetadata.dm

/datum/apiRoute/players/metadata/deleteDELETE /players/metadata/clear-by-data/{metadata} +Delete a specific item of metadata
\ No newline at end of file diff --git a/code/modules/goonhub/api/routes/players/metadata/GetMetadataByPlayer.html b/code/modules/goonhub/api/routes/players/metadata/GetMetadataByPlayer.html new file mode 100644 index 0000000000000..1dccc5cc79bc1 --- /dev/null +++ b/code/modules/goonhub/api/routes/players/metadata/GetMetadataByPlayer.html @@ -0,0 +1,2 @@ +code/modules/goonhub/api/routes/players/metadata/GetMetadataByPlayer.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/routes/players/metadata/GetMetadataByPlayer.dm

/datum/apiRoute/players/metadata/getbyplayerGET /players/metadata/get-by-player/{ckey} +Get all the metadata associated with a ckey
\ No newline at end of file diff --git a/code/modules/goonhub/api/routes/players/metadata/GetPlayerMetadata.html b/code/modules/goonhub/api/routes/players/metadata/GetPlayerMetadata.html new file mode 100644 index 0000000000000..8bd9a5c362295 --- /dev/null +++ b/code/modules/goonhub/api/routes/players/metadata/GetPlayerMetadata.html @@ -0,0 +1,2 @@ +code/modules/goonhub/api/routes/players/metadata/GetPlayerMetadata.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/routes/players/metadata/GetPlayerMetadata.dm

/datum/apiRoute/players/metadata/getGET /players/metadata +List paginated and filtered player metadata
\ No newline at end of file diff --git a/code/modules/goonhub/api/routes/players/metadata/GetPlayersByMetadata.html b/code/modules/goonhub/api/routes/players/metadata/GetPlayersByMetadata.html new file mode 100644 index 0000000000000..9c1a5e2c51149 --- /dev/null +++ b/code/modules/goonhub/api/routes/players/metadata/GetPlayersByMetadata.html @@ -0,0 +1,2 @@ +code/modules/goonhub/api/routes/players/metadata/GetPlayersByMetadata.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/routes/players/metadata/GetPlayersByMetadata.dm

/datum/apiRoute/players/metadata/getbydataGET /players/metadata/get-by-data/{metadata} +Get all the ckeys associated with a piece of metadata
\ No newline at end of file diff --git a/code/modules/goonhub/api/routes/players/notes/AddPlayerNotes.html b/code/modules/goonhub/api/routes/players/notes/AddPlayerNotes.html new file mode 100644 index 0000000000000..5363b039ef0da --- /dev/null +++ b/code/modules/goonhub/api/routes/players/notes/AddPlayerNotes.html @@ -0,0 +1,2 @@ +code/modules/goonhub/api/routes/players/notes/AddPlayerNotes.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/routes/players/notes/AddPlayerNotes.dm

/datum/apiRoute/players/notes/postPOST /players/notes +Add a new player note
\ No newline at end of file diff --git a/code/modules/goonhub/api/routes/players/notes/DeletePlayerNotes.html b/code/modules/goonhub/api/routes/players/notes/DeletePlayerNotes.html new file mode 100644 index 0000000000000..e2b432d51c0ff --- /dev/null +++ b/code/modules/goonhub/api/routes/players/notes/DeletePlayerNotes.html @@ -0,0 +1,2 @@ +code/modules/goonhub/api/routes/players/notes/DeletePlayerNotes.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/routes/players/notes/DeletePlayerNotes.dm

/datum/apiRoute/players/notes/deleteDELETE /players/notes/{note} +Delete list
\ No newline at end of file diff --git a/code/modules/goonhub/api/routes/players/notes/GetPlayerNotes.html b/code/modules/goonhub/api/routes/players/notes/GetPlayerNotes.html new file mode 100644 index 0000000000000..677dfe890cca2 --- /dev/null +++ b/code/modules/goonhub/api/routes/players/notes/GetPlayerNotes.html @@ -0,0 +1,2 @@ +code/modules/goonhub/api/routes/players/notes/GetPlayerNotes.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/routes/players/notes/GetPlayerNotes.dm

/datum/apiRoute/players/notes/getGET /players/notes +List paginated and filtered player notes
\ No newline at end of file diff --git a/code/modules/goonhub/api/routes/players/notes/UpdatePlayerNotes.html b/code/modules/goonhub/api/routes/players/notes/UpdatePlayerNotes.html new file mode 100644 index 0000000000000..28f442fde274b --- /dev/null +++ b/code/modules/goonhub/api/routes/players/notes/UpdatePlayerNotes.html @@ -0,0 +1,2 @@ +code/modules/goonhub/api/routes/players/notes/UpdatePlayerNotes.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/routes/players/notes/UpdatePlayerNotes.dm

/datum/apiRoute/players/notes/updatePUT /players/notes/{note} +Update
\ No newline at end of file diff --git a/code/modules/goonhub/api/routes/players/saves/AddBulkDataPlayerSaves.html b/code/modules/goonhub/api/routes/players/saves/AddBulkDataPlayerSaves.html new file mode 100644 index 0000000000000..26278066d0a46 --- /dev/null +++ b/code/modules/goonhub/api/routes/players/saves/AddBulkDataPlayerSaves.html @@ -0,0 +1,2 @@ +code/modules/goonhub/api/routes/players/saves/AddBulkDataPlayerSaves.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/routes/players/saves/AddBulkDataPlayerSaves.dm

/datum/apiRoute/players/saves/databulk/postPOST /players/saves/data-bulk +Add multiple entries of player data
\ No newline at end of file diff --git a/code/modules/goonhub/api/routes/players/saves/AddDataPlayerSaves.html b/code/modules/goonhub/api/routes/players/saves/AddDataPlayerSaves.html new file mode 100644 index 0000000000000..4886c887212db --- /dev/null +++ b/code/modules/goonhub/api/routes/players/saves/AddDataPlayerSaves.html @@ -0,0 +1,2 @@ +code/modules/goonhub/api/routes/players/saves/AddDataPlayerSaves.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/routes/players/saves/AddDataPlayerSaves.dm

/datum/apiRoute/players/saves/data/postPOST /players/saves/data +Add player data
\ No newline at end of file diff --git a/code/modules/goonhub/api/routes/players/saves/AddFilePlayerSaves.html b/code/modules/goonhub/api/routes/players/saves/AddFilePlayerSaves.html new file mode 100644 index 0000000000000..b45374eb6ac13 --- /dev/null +++ b/code/modules/goonhub/api/routes/players/saves/AddFilePlayerSaves.html @@ -0,0 +1,2 @@ +code/modules/goonhub/api/routes/players/saves/AddFilePlayerSaves.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/routes/players/saves/AddFilePlayerSaves.dm

/datum/apiRoute/players/saves/file/postPOST /players/saves/file +Add player save
\ No newline at end of file diff --git a/code/modules/goonhub/api/routes/players/saves/DeleteDataPlayerSaves.html b/code/modules/goonhub/api/routes/players/saves/DeleteDataPlayerSaves.html new file mode 100644 index 0000000000000..3b600fbfbfefe --- /dev/null +++ b/code/modules/goonhub/api/routes/players/saves/DeleteDataPlayerSaves.html @@ -0,0 +1,2 @@ +code/modules/goonhub/api/routes/players/saves/DeleteDataPlayerSaves.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/routes/players/saves/DeleteDataPlayerSaves.dm

/datum/apiRoute/players/saves/data/deleteDELETE /players/saves/data +Delete data for a player
\ No newline at end of file diff --git a/code/modules/goonhub/api/routes/players/saves/DeleteSavePlayerSaves.html b/code/modules/goonhub/api/routes/players/saves/DeleteSavePlayerSaves.html new file mode 100644 index 0000000000000..ddbb85016c8ce --- /dev/null +++ b/code/modules/goonhub/api/routes/players/saves/DeleteSavePlayerSaves.html @@ -0,0 +1,2 @@ +code/modules/goonhub/api/routes/players/saves/DeleteSavePlayerSaves.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/routes/players/saves/DeleteSavePlayerSaves.dm

/datum/apiRoute/players/saves/file/deleteDELETE /players/saves/file/{playerSave} +Delete a save for a player
\ No newline at end of file diff --git a/code/modules/goonhub/api/routes/players/saves/GetPlayerSaves.html b/code/modules/goonhub/api/routes/players/saves/GetPlayerSaves.html new file mode 100644 index 0000000000000..7485ed354edcf --- /dev/null +++ b/code/modules/goonhub/api/routes/players/saves/GetPlayerSaves.html @@ -0,0 +1,2 @@ +code/modules/goonhub/api/routes/players/saves/GetPlayerSaves.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/routes/players/saves/GetPlayerSaves.dm

/datum/apiRoute/players/saves/getGET /players/saves +List all data and saves for a player
\ No newline at end of file diff --git a/code/modules/goonhub/api/routes/players/saves/TransferDataPlayerSaves.html b/code/modules/goonhub/api/routes/players/saves/TransferDataPlayerSaves.html new file mode 100644 index 0000000000000..75ef8be90bb2b --- /dev/null +++ b/code/modules/goonhub/api/routes/players/saves/TransferDataPlayerSaves.html @@ -0,0 +1,3 @@ +code/modules/goonhub/api/routes/players/saves/TransferDataPlayerSaves.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/routes/players/saves/TransferDataPlayerSaves.dm

/datum/apiRoute/players/saves/file/transferPOST /players/saves/transfer-files +Transfer all save files from a player to another +WARNING: This overwrites all the saves for the target
\ No newline at end of file diff --git a/code/modules/goonhub/api/routes/polls/AddPoll.html b/code/modules/goonhub/api/routes/polls/AddPoll.html new file mode 100644 index 0000000000000..9703ea596e480 --- /dev/null +++ b/code/modules/goonhub/api/routes/polls/AddPoll.html @@ -0,0 +1,2 @@ +code/modules/goonhub/api/routes/polls/AddPoll.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/routes/polls/AddPoll.dm

/datum/apiRoute/polls/addPOST /polls +Add a new poll
\ No newline at end of file diff --git a/code/modules/goonhub/api/routes/polls/AddPollOption.html b/code/modules/goonhub/api/routes/polls/AddPollOption.html new file mode 100644 index 0000000000000..7cc4b5425f1ca --- /dev/null +++ b/code/modules/goonhub/api/routes/polls/AddPollOption.html @@ -0,0 +1,2 @@ +code/modules/goonhub/api/routes/polls/AddPollOption.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/routes/polls/AddPollOption.dm

/datum/apiRoute/polls/options/addPOST /polls/option/{poll} +Add a new option to an existing poll
\ No newline at end of file diff --git a/code/modules/goonhub/api/routes/polls/DeletePoll.html b/code/modules/goonhub/api/routes/polls/DeletePoll.html new file mode 100644 index 0000000000000..c1353e95f793b --- /dev/null +++ b/code/modules/goonhub/api/routes/polls/DeletePoll.html @@ -0,0 +1,2 @@ +code/modules/goonhub/api/routes/polls/DeletePoll.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/routes/polls/DeletePoll.dm

/datum/apiRoute/polls/deleteDELETE /polls/{poll} +Delete an existing poll
\ No newline at end of file diff --git a/code/modules/goonhub/api/routes/polls/DeletePollOption.html b/code/modules/goonhub/api/routes/polls/DeletePollOption.html new file mode 100644 index 0000000000000..6c8ba1bbcdbfd --- /dev/null +++ b/code/modules/goonhub/api/routes/polls/DeletePollOption.html @@ -0,0 +1,2 @@ +code/modules/goonhub/api/routes/polls/DeletePollOption.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/routes/polls/DeletePollOption.dm

/datum/apiRoute/polls/options/deleteDELETE /polls/option/{pollOption} +Delete an existing poll
\ No newline at end of file diff --git a/code/modules/goonhub/api/routes/polls/EditPoll.html b/code/modules/goonhub/api/routes/polls/EditPoll.html new file mode 100644 index 0000000000000..6b0925f82a83b --- /dev/null +++ b/code/modules/goonhub/api/routes/polls/EditPoll.html @@ -0,0 +1,2 @@ +code/modules/goonhub/api/routes/polls/EditPoll.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/routes/polls/EditPoll.dm

/datum/apiRoute/polls/editPUT /polls/{poll} +Edit an existing poll
\ No newline at end of file diff --git a/code/modules/goonhub/api/routes/polls/EditPollOption.html b/code/modules/goonhub/api/routes/polls/EditPollOption.html new file mode 100644 index 0000000000000..498407d5891ac --- /dev/null +++ b/code/modules/goonhub/api/routes/polls/EditPollOption.html @@ -0,0 +1,2 @@ +code/modules/goonhub/api/routes/polls/EditPollOption.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/routes/polls/EditPollOption.dm

/datum/apiRoute/polls/options/editPUT /polls/option/{pollOption} +Update an existing poll option
\ No newline at end of file diff --git a/code/modules/goonhub/api/routes/polls/GetPoll.html b/code/modules/goonhub/api/routes/polls/GetPoll.html new file mode 100644 index 0000000000000..3bf118a1b41a0 --- /dev/null +++ b/code/modules/goonhub/api/routes/polls/GetPoll.html @@ -0,0 +1,2 @@ +code/modules/goonhub/api/routes/polls/GetPoll.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/routes/polls/GetPoll.dm

/datum/apiRoute/polls/showGET /polls/{poll} +Get a specific poll
\ No newline at end of file diff --git a/code/modules/goonhub/api/routes/polls/GetPolls.html b/code/modules/goonhub/api/routes/polls/GetPolls.html new file mode 100644 index 0000000000000..1f93ccc2b3e14 --- /dev/null +++ b/code/modules/goonhub/api/routes/polls/GetPolls.html @@ -0,0 +1,2 @@ +code/modules/goonhub/api/routes/polls/GetPolls.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/routes/polls/GetPolls.dm

/datum/apiRoute/polls/getGET /polls +List paginated and filtered polls
\ No newline at end of file diff --git a/code/modules/goonhub/api/routes/polls/PickOption.html b/code/modules/goonhub/api/routes/polls/PickOption.html new file mode 100644 index 0000000000000..0857e4900359e --- /dev/null +++ b/code/modules/goonhub/api/routes/polls/PickOption.html @@ -0,0 +1,2 @@ +code/modules/goonhub/api/routes/polls/PickOption.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/routes/polls/PickOption.dm

/datum/apiRoute/polls/options/pickPOST /polls/option/pick/{pollOption} +Register that a player picked a poll option
\ No newline at end of file diff --git a/code/modules/goonhub/api/routes/polls/UnpickOption.html b/code/modules/goonhub/api/routes/polls/UnpickOption.html new file mode 100644 index 0000000000000..d3997e9b01719 --- /dev/null +++ b/code/modules/goonhub/api/routes/polls/UnpickOption.html @@ -0,0 +1,2 @@ +code/modules/goonhub/api/routes/polls/UnpickOption.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/routes/polls/UnpickOption.dm

/datum/apiRoute/polls/options/unpickPOST /polls/option/unpick/{pollOption} +Register that a player removed their pick of a poll option
\ No newline at end of file diff --git a/code/modules/goonhub/api/routes/rounds/AddGameRound.html b/code/modules/goonhub/api/routes/rounds/AddGameRound.html new file mode 100644 index 0000000000000..1c8114856fdf8 --- /dev/null +++ b/code/modules/goonhub/api/routes/rounds/AddGameRound.html @@ -0,0 +1,2 @@ +code/modules/goonhub/api/routes/rounds/AddGameRound.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/routes/rounds/AddGameRound.dm

/datum/apiRoute/rounds/postPOST /rounds +Start a new game round
\ No newline at end of file diff --git a/code/modules/goonhub/api/routes/rounds/EndGameRound.html b/code/modules/goonhub/api/routes/rounds/EndGameRound.html new file mode 100644 index 0000000000000..4681f72ac97c8 --- /dev/null +++ b/code/modules/goonhub/api/routes/rounds/EndGameRound.html @@ -0,0 +1,2 @@ +code/modules/goonhub/api/routes/rounds/EndGameRound.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/routes/rounds/EndGameRound.dm

/datum/apiRoute/rounds/endPUT /rounds/end/{gameRound} +End a game round.
\ No newline at end of file diff --git a/code/modules/goonhub/api/routes/rounds/UpdateGameRound.html b/code/modules/goonhub/api/routes/rounds/UpdateGameRound.html new file mode 100644 index 0000000000000..107ef1d79125e --- /dev/null +++ b/code/modules/goonhub/api/routes/rounds/UpdateGameRound.html @@ -0,0 +1,2 @@ +code/modules/goonhub/api/routes/rounds/UpdateGameRound.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/routes/rounds/UpdateGameRound.dm

/datum/apiRoute/rounds/updatePUT /rounds/{gameRound} +Update a game round. This should be used when game round data we care about is set after the start of the round.
\ No newline at end of file diff --git a/code/modules/goonhub/api/routes/vpn/AddVpnWhitelist.html b/code/modules/goonhub/api/routes/vpn/AddVpnWhitelist.html new file mode 100644 index 0000000000000..e7bd3ada1f8c6 --- /dev/null +++ b/code/modules/goonhub/api/routes/vpn/AddVpnWhitelist.html @@ -0,0 +1,2 @@ +code/modules/goonhub/api/routes/vpn/AddVpnWhitelist.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/routes/vpn/AddVpnWhitelist.dm

/datum/apiRoute/vpnwhitelist/addPOST /vpncheck-whitelist +Add a player into the whitelist. This will allow them to skip VPN checks.
\ No newline at end of file diff --git a/code/modules/goonhub/api/routes/vpn/CheckVpn.html b/code/modules/goonhub/api/routes/vpn/CheckVpn.html new file mode 100644 index 0000000000000..ba7a8c16747f0 --- /dev/null +++ b/code/modules/goonhub/api/routes/vpn/CheckVpn.html @@ -0,0 +1,2 @@ +code/modules/goonhub/api/routes/vpn/CheckVpn.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/routes/vpn/CheckVpn.dm

/datum/apiRoute/vpn/checkGET /vpncheck/{ip} +Check if a player is using a VPN
\ No newline at end of file diff --git a/code/modules/goonhub/api/routes/vpn/DeleteVpnWhitelist.html b/code/modules/goonhub/api/routes/vpn/DeleteVpnWhitelist.html new file mode 100644 index 0000000000000..402c4f131ce25 --- /dev/null +++ b/code/modules/goonhub/api/routes/vpn/DeleteVpnWhitelist.html @@ -0,0 +1,2 @@ +code/modules/goonhub/api/routes/vpn/DeleteVpnWhitelist.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/routes/vpn/DeleteVpnWhitelist.dm

/datum/apiRoute/vpnwhitelist/deleteDELETE /vpncheck-whitelist +Delete a whitelist entry
\ No newline at end of file diff --git a/code/modules/goonhub/api/routes/vpn/SearchVpnWhitelist.html b/code/modules/goonhub/api/routes/vpn/SearchVpnWhitelist.html new file mode 100644 index 0000000000000..253b9474c8498 --- /dev/null +++ b/code/modules/goonhub/api/routes/vpn/SearchVpnWhitelist.html @@ -0,0 +1,2 @@ +code/modules/goonhub/api/routes/vpn/SearchVpnWhitelist.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/api/routes/vpn/SearchVpnWhitelist.dm

/datum/apiRoute/vpnwhitelist/searchGET /vpncheck-whitelist/search +Check if a player is whitelisted from the VPN checker
\ No newline at end of file diff --git a/code/modules/goonhub/event_recording/events/AILaw.html b/code/modules/goonhub/event_recording/events/AILaw.html new file mode 100644 index 0000000000000..a944d5bb832a0 --- /dev/null +++ b/code/modules/goonhub/event_recording/events/AILaw.html @@ -0,0 +1 @@ +code/modules/goonhub/event_recording/events/AILaw.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/event_recording/events/AILaw.dm

/datum/eventRecord/AILawRecord a new AI law
\ No newline at end of file diff --git a/code/modules/goonhub/event_recording/events/Antag.html b/code/modules/goonhub/event_recording/events/Antag.html new file mode 100644 index 0000000000000..c22a1309eceb8 --- /dev/null +++ b/code/modules/goonhub/event_recording/events/Antag.html @@ -0,0 +1 @@ +code/modules/goonhub/event_recording/events/Antag.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/event_recording/events/Antag.dm

/datum/eventRecord/AntagRecord an antag spawn
\ No newline at end of file diff --git a/code/modules/goonhub/event_recording/events/AntagItemPurchase.html b/code/modules/goonhub/event_recording/events/AntagItemPurchase.html new file mode 100644 index 0000000000000..05e56e61dea0b --- /dev/null +++ b/code/modules/goonhub/event_recording/events/AntagItemPurchase.html @@ -0,0 +1 @@ +code/modules/goonhub/event_recording/events/AntagItemPurchase.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/event_recording/events/AntagItemPurchase.dm

/datum/eventRecord/AntagItemPurchaseRecord an antag item purchase
\ No newline at end of file diff --git a/code/modules/goonhub/event_recording/events/AntagObjective.html b/code/modules/goonhub/event_recording/events/AntagObjective.html new file mode 100644 index 0000000000000..a22b06382f99b --- /dev/null +++ b/code/modules/goonhub/event_recording/events/AntagObjective.html @@ -0,0 +1 @@ +code/modules/goonhub/event_recording/events/AntagObjective.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/event_recording/events/AntagObjective.dm

/datum/eventRecord/AntagObjectiveRecord an antag objective addition
\ No newline at end of file diff --git a/code/modules/goonhub/event_recording/events/BeeSpawn.html b/code/modules/goonhub/event_recording/events/BeeSpawn.html new file mode 100644 index 0000000000000..458122d87e754 --- /dev/null +++ b/code/modules/goonhub/event_recording/events/BeeSpawn.html @@ -0,0 +1 @@ +code/modules/goonhub/event_recording/events/BeeSpawn.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/event_recording/events/BeeSpawn.dm

/datum/eventRecord/BeeSpawnRecord a bee spawn
\ No newline at end of file diff --git a/code/modules/goonhub/event_recording/events/CyborgModuleSelection.html b/code/modules/goonhub/event_recording/events/CyborgModuleSelection.html new file mode 100644 index 0000000000000..a6b88e84cdcf5 --- /dev/null +++ b/code/modules/goonhub/event_recording/events/CyborgModuleSelection.html @@ -0,0 +1 @@ +code/modules/goonhub/event_recording/events/CyborgModuleSelection.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/event_recording/events/CyborgModuleSelection.dm

/datum/eventRecord/CyborgModuleSelectionRecord initial cyborg module selection
\ No newline at end of file diff --git a/code/modules/goonhub/event_recording/events/Death.html b/code/modules/goonhub/event_recording/events/Death.html new file mode 100644 index 0000000000000..db06bd3608338 --- /dev/null +++ b/code/modules/goonhub/event_recording/events/Death.html @@ -0,0 +1 @@ +code/modules/goonhub/event_recording/events/Death.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/event_recording/events/Death.dm

/datum/eventRecord/DeathRecord a player death
\ No newline at end of file diff --git a/code/modules/goonhub/event_recording/events/Error.html b/code/modules/goonhub/event_recording/events/Error.html new file mode 100644 index 0000000000000..1cda77cdcaebb --- /dev/null +++ b/code/modules/goonhub/event_recording/events/Error.html @@ -0,0 +1 @@ +code/modules/goonhub/event_recording/events/Error.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/event_recording/events/Error.dm

/datum/eventRecord/ErrorRecord an error
\ No newline at end of file diff --git a/code/modules/goonhub/event_recording/events/Fine.html b/code/modules/goonhub/event_recording/events/Fine.html new file mode 100644 index 0000000000000..96e3992c2bb8e --- /dev/null +++ b/code/modules/goonhub/event_recording/events/Fine.html @@ -0,0 +1 @@ +code/modules/goonhub/event_recording/events/Fine.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/event_recording/events/Fine.dm

/datum/eventRecord/FineRecord a new fine
\ No newline at end of file diff --git a/code/modules/goonhub/event_recording/events/GauntletHighScore.html b/code/modules/goonhub/event_recording/events/GauntletHighScore.html new file mode 100644 index 0000000000000..bed8c249f83ef --- /dev/null +++ b/code/modules/goonhub/event_recording/events/GauntletHighScore.html @@ -0,0 +1 @@ +code/modules/goonhub/event_recording/events/GauntletHighScore.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/event_recording/events/GauntletHighScore.dm

/datum/eventRecord/GauntletHighScoreRecord a new gauntlet high score
\ No newline at end of file diff --git a/code/modules/goonhub/event_recording/events/Log.html b/code/modules/goonhub/event_recording/events/Log.html new file mode 100644 index 0000000000000..261ea924730c5 --- /dev/null +++ b/code/modules/goonhub/event_recording/events/Log.html @@ -0,0 +1 @@ +code/modules/goonhub/event_recording/events/Log.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/event_recording/events/Log.dm

/datum/eventRecord/LogRecord a log message
\ No newline at end of file diff --git a/code/modules/goonhub/event_recording/events/StationName.html b/code/modules/goonhub/event_recording/events/StationName.html new file mode 100644 index 0000000000000..0959dd663bfa2 --- /dev/null +++ b/code/modules/goonhub/event_recording/events/StationName.html @@ -0,0 +1 @@ +code/modules/goonhub/event_recording/events/StationName.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/event_recording/events/StationName.dm

/datum/eventRecord/StationNameRecord a new station name
\ No newline at end of file diff --git a/code/modules/goonhub/event_recording/events/Ticket.html b/code/modules/goonhub/event_recording/events/Ticket.html new file mode 100644 index 0000000000000..c1241da8b021d --- /dev/null +++ b/code/modules/goonhub/event_recording/events/Ticket.html @@ -0,0 +1 @@ +code/modules/goonhub/event_recording/events/Ticket.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/event_recording/events/Ticket.dm

/datum/eventRecord/TicketRecord a new ticket
\ No newline at end of file diff --git a/code/modules/goonhub/event_recording/events/eventRecord.html b/code/modules/goonhub/event_recording/events/eventRecord.html new file mode 100644 index 0000000000000..8823c9e9a1c3d --- /dev/null +++ b/code/modules/goonhub/event_recording/events/eventRecord.html @@ -0,0 +1,3 @@ +code/modules/goonhub/event_recording/events/eventRecord.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/event_recording/events/eventRecord.dm

/datum/eventRecordBase eventCall type +Represents a predefined event we can send to the Goonhub event recorder +SECURITY: Sanitization occurs right before output
\ No newline at end of file diff --git a/code/modules/goonhub/event_recording/types/_TracksPlayer.html b/code/modules/goonhub/event_recording/types/_TracksPlayer.html new file mode 100644 index 0000000000000..bab202d0d4f0a --- /dev/null +++ b/code/modules/goonhub/event_recording/types/_TracksPlayer.html @@ -0,0 +1 @@ +code/modules/goonhub/event_recording/types/_TracksPlayer.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/event_recording/types/_TracksPlayer.dm

/datum/eventRecordBody/TracksPlayerFor events that require a player ID - ABSTRACT
\ No newline at end of file diff --git a/code/modules/goonhub/event_recording/types/eventBody.html b/code/modules/goonhub/event_recording/types/eventBody.html new file mode 100644 index 0000000000000..45ec513b22547 --- /dev/null +++ b/code/modules/goonhub/event_recording/types/eventBody.html @@ -0,0 +1 @@ +code/modules/goonhub/event_recording/types/eventBody.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/goonhub/event_recording/types/eventBody.dm

/datum/eventRecordBodyRepresents the body of an event - ABSTRACT
\ No newline at end of file diff --git a/code/modules/holiday/halloween.html b/code/modules/holiday/halloween.html new file mode 100644 index 0000000000000..8c68a91d863d9 --- /dev/null +++ b/code/modules/holiday/halloween.html @@ -0,0 +1 @@ +code/modules/holiday/halloween.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/holiday/halloween.dm

/obj/cauldron/candy/ephemeralsubtype named "ephemeral" which only spawns on halloween
/obj/cauldron/jellybean/ephemeralsubtype named "ephemeral" which only spawns on halloween
\ No newline at end of file diff --git a/code/modules/hydroponics/hydroponics_growth_ticks.html b/code/modules/hydroponics/hydroponics_growth_ticks.html new file mode 100644 index 0000000000000..a8041d98d7036 --- /dev/null +++ b/code/modules/hydroponics/hydroponics_growth_ticks.html @@ -0,0 +1,3 @@ +code/modules/hydroponics/hydroponics_growth_ticks.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/hydroponics/hydroponics_growth_ticks.dm

/datum/plantgrowth_tickplantgrowth_tick is a container that saves information about changes that are happening within a plant during a tick. +This is passed to procs of chems and plantgenes and is modified +After plantgenes, chems and plant-effects are resolved, this proc can be resolved and removed with /obj/machinery/plantpot/proc/HYPresolve_plantgrowth_tick
\ No newline at end of file diff --git a/code/modules/hydroponics/hydroponics_misc_procs.html b/code/modules/hydroponics/hydroponics_misc_procs.html new file mode 100644 index 0000000000000..7ec02641d0e9f --- /dev/null +++ b/code/modules/hydroponics/hydroponics_misc_procs.html @@ -0,0 +1 @@ +code/modules/hydroponics/hydroponics_misc_procs.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/hydroponics/hydroponics_misc_procs.dm

/proc/HYPchem_scalingThis proc causes all chem production of botany to have a diminishing return with potency (or other stats for e.g. maneaters)
/proc/HYPfull_potency_calculationthis proc is a shortcut to calculate the amount of chems to produce from a linear factor and the plantgenes
\ No newline at end of file diff --git a/code/modules/hydroponics/plants_herb.html b/code/modules/hydroponics/plants_herb.html new file mode 100644 index 0000000000000..4b62770788481 --- /dev/null +++ b/code/modules/hydroponics/plants_herb.html @@ -0,0 +1 @@ +code/modules/hydroponics/plants_herb.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

code/modules/hydroponics/plants_herb.dm

INITIAL_REQUIRED_POTENCYPotency required to get a silly name
POTENCY_PER_PREFIX75 potency gets 3 prefixes, 150 gets 6, etc
MAX_PREFIXESMax number of prefixes our weed can have

Define Details

INITIAL_REQUIRED_POTENCY

Potency required to get a silly name

MAX_PREFIXES

Max number of prefixes our weed can have

POTENCY_PER_PREFIX

75 potency gets 3 prefixes, 150 gets 6, etc

\ No newline at end of file diff --git a/code/modules/interface/action_associations.html b/code/modules/interface/action_associations.html new file mode 100644 index 0000000000000..30fbba82109b4 --- /dev/null +++ b/code/modules/interface/action_associations.html @@ -0,0 +1 @@ +code/modules/interface/action_associations.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/interface/action_associations.dm

/var/action_namesUsed to translate internal action names to human-readable names.
/var/action_verbsUsed for literal input of actions
/var/key_namesUsed to translate bitflags of hotkeys into human-readable names
\ No newline at end of file diff --git a/code/modules/interface/hudzones.html b/code/modules/interface/hudzones.html new file mode 100644 index 0000000000000..3e7c59ae63847 --- /dev/null +++ b/code/modules/interface/hudzones.html @@ -0,0 +1,30 @@ +code/modules/interface/hudzones/README.md - Goonstation 13
Goonstation 13 - Modules - Types

HUDZones

HUDZones are a new way to manage HUD elements on a mob's screen. +They're a rectangular region on a screen that registered elements will automatically position themselves in as you add more.

+

This allows for wrapping around functionality, for example if you have hud elements that aren't always visible.

+

If you are developing a new zone, it's recommended to take hud_layout_guide.png and color it in as you go. +This makes it easier to see where things are in relation to each other.

+

It's important to keep in mind that coordinates are relative to the bottom left, with the corner being 1,1.

+

Only supports elements that are 32px/'1' height (variable width is fine).

+

Currently, only widescreen is supported.

+

Example

+
/mob/living/critter/small_animal/pig/feral_hog/vorbis/New(loc)
+	. = ..()
+	// Create a hud zone
+	var/list/zone_coords = list(x_low = 1, y_low = 1, x_high = 2, y_high = 5) // Lower left
+	var/datum/hud_zone/new_zone = src.hud.create_hud_zone(zone_coords, "vorbis_abilities")
+
+	// Create hud elements to add to the zone
+	var/atom/movable/screen/hud/stoke = new
+	stoke.icon = 'icons/mob/hud_robot.dmi'
+	stoke.icon_state = "charge1"
+
+	var/atom/movable/screen/hud/guitar = new
+	guitar.icon = 'icons/obj/large/64x32.dmi'
+	guitar.icon_state = "guitar"
+
+	// Register the hud elements with the zone
+	new_zone.register_element(new/datum/hud_element(stoke), "stoke")
+	new_zone.register_element(new/datum/hud_element(guitar, width = 2), "sick_guitar")
+
+

This will produce the following:

+

\ No newline at end of file diff --git a/code/modules/interface/hudzones/hud_elements.html b/code/modules/interface/hudzones/hud_elements.html new file mode 100644 index 0000000000000..9f1519c880589 --- /dev/null +++ b/code/modules/interface/hudzones/hud_elements.html @@ -0,0 +1 @@ +code/modules/interface/hudzones/hud_elements.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/interface/hudzones/hud_elements.dm

/datum/hud_elementRepresents a hud element within a hud zone
\ No newline at end of file diff --git a/code/modules/interface/hudzones/hud_zones.html b/code/modules/interface/hudzones/hud_zones.html new file mode 100644 index 0000000000000..2ea55889c1033 --- /dev/null +++ b/code/modules/interface/hudzones/hud_zones.html @@ -0,0 +1 @@ +code/modules/interface/hudzones/hud_zones.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/interface/hudzones/hud_zones.dm

/datum/hud_zoneThe internal datum representation of a hud zone
\ No newline at end of file diff --git a/code/modules/interface/keybind_style.html b/code/modules/interface/keybind_style.html new file mode 100644 index 0000000000000..d0da548cde63f --- /dev/null +++ b/code/modules/interface/keybind_style.html @@ -0,0 +1 @@ +code/modules/interface/keybind_style.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/interface/keybind_style.dm

/var/keybind_stylesThis file is intended to hold all data pertaining to keybind_style datums and related functionality
\ No newline at end of file diff --git a/code/modules/interface/multiContext/context_actions.html b/code/modules/interface/multiContext/context_actions.html new file mode 100644 index 0000000000000..666627c22b6a4 --- /dev/null +++ b/code/modules/interface/multiContext/context_actions.html @@ -0,0 +1 @@ +code/modules/interface/multiContext/context_actions.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/interface/multiContext/context_actions.dm

/datum/contextAction/surgery_regionOrgan context action to pick a region to operate on
/datum/contextAction/organsOrgan context action to pick an organ to operate on
/datum/contextAction/back_surgeryOrgan context action (tails/butts)
/datum/contextAction/organ_surgeryContext action for the steps to remove a specific organ
/datum/contextAction/region_surgeryContext action for the steps to remove a specific organ
\ No newline at end of file diff --git a/code/modules/interface/multiContext/context_layouts.html b/code/modules/interface/multiContext/context_layouts.html new file mode 100644 index 0000000000000..62e34f63dfdd1 --- /dev/null +++ b/code/modules/interface/multiContext/context_layouts.html @@ -0,0 +1 @@ +code/modules/interface/multiContext/context_layouts.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/interface/multiContext/context_layouts.dm

/datum/contextLayout/screen_HUD_defaultfor drawing context menu buttons based on screen_loc position instead of //DONE NOTHING YET
\ No newline at end of file diff --git a/code/modules/interface/skin_input_box.html b/code/modules/interface/skin_input_box.html new file mode 100644 index 0000000000000..7a898e580edc6 --- /dev/null +++ b/code/modules/interface/skin_input_box.html @@ -0,0 +1 @@ +code/modules/interface/skin_input_box.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/interface/skin_input_box.dm

/var/input_window_presetsPresets for standard windows
\ No newline at end of file diff --git a/code/modules/items/specials/ItemSpecials.html b/code/modules/items/specials/ItemSpecials.html new file mode 100644 index 0000000000000..5ddf1956dce93 --- /dev/null +++ b/code/modules/items/specials/ItemSpecials.html @@ -0,0 +1 @@ +code/modules/items/specials/ItemSpecials.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/items/specials/ItemSpecials.dm

/datum/action/bar/private/icon/rushREFERENCES
\ No newline at end of file diff --git a/code/modules/jobxp/JobXPRewards.html b/code/modules/jobxp/JobXPRewards.html new file mode 100644 index 0000000000000..bb1e3f5817144 --- /dev/null +++ b/code/modules/jobxp/JobXPRewards.html @@ -0,0 +1 @@ +code/modules/jobxp/JobXPRewards.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/jobxp/JobXPRewards.dm

/datum/jobXpReward/clown1CLOWN
/datum/jobXpReward/bartender/spectromonocleBartender
/datum/jobXpReward/chefitamaeChef
/datum/jobXpReward/mime/mimefancyMime
/_is_abstract/datum/jobXpReward/aiAI
\ No newline at end of file diff --git a/code/modules/lasers/_laser_sink.html b/code/modules/lasers/_laser_sink.html new file mode 100644 index 0000000000000..bada31b3b904a --- /dev/null +++ b/code/modules/lasers/_laser_sink.html @@ -0,0 +1 @@ +code/modules/lasers/_laser_sink.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/lasers/_laser_sink.dm

/obj/laser_sinkThe abstract concept of a thing that does stuff when hit by a laser
\ No newline at end of file diff --git a/code/modules/localassets/localasset.html b/code/modules/localassets/localasset.html new file mode 100644 index 0000000000000..51ed16897105b --- /dev/null +++ b/code/modules/localassets/localasset.html @@ -0,0 +1 @@ +code/modules/localassets/localasset.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/localassets/localasset.dm

/_is_abstract/datum/assetBase asset type
/_is_abstract/datum/asset/basicBasic assets
/_is_abstract/datum/asset/groupFor grouping multiple assets together
/proc/get_assetsReturns either the already-created asset or creates a new one and returns it
/proc/send_assetsSends the list of asset files to client if they're needed
\ No newline at end of file diff --git a/code/modules/localassets/localassets_tgui.html b/code/modules/localassets/localassets_tgui.html new file mode 100644 index 0000000000000..6d6edb104fca3 --- /dev/null +++ b/code/modules/localassets/localassets_tgui.html @@ -0,0 +1 @@ +code/modules/localassets/localassets_tgui.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/localassets/localassets_tgui.dm

/datum/asset/group/base_tguiGroup for tgui assets
/datum/asset/basic/tguiNormal base window tgui assets
/datum/asset/basic/tgui_paneltgui panel specific assets
/datum/asset/basic/fontawesomeFontawesome assets
\ No newline at end of file diff --git a/code/modules/mapping/helpers/access_spawn.html b/code/modules/mapping/helpers/access_spawn.html new file mode 100644 index 0000000000000..838d7b6501c5b --- /dev/null +++ b/code/modules/mapping/helpers/access_spawn.html @@ -0,0 +1 @@ +code/modules/mapping/helpers/access_spawn.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/mapping/helpers/access_spawn.dm

/obj/mapping_helper/access/securitySecurity
/obj/mapping_helper/access/medicalMedical
/obj/mapping_helper/access/cargoEngineering
/obj/mapping_helper/access/toxResearch
/obj/mapping_helper/access/maintCivilian
/obj/mapping_helper/access/ai_uploadCommand/Heads
/obj/mapping_helper/access/centcomOther
/obj/mapping_helper/access/owlmaintowlzone access
\ No newline at end of file diff --git a/code/modules/mapping/helpers/mob_spawn.html b/code/modules/mapping/helpers/mob_spawn.html new file mode 100644 index 0000000000000..1a393b0ed13a3 --- /dev/null +++ b/code/modules/mapping/helpers/mob_spawn.html @@ -0,0 +1 @@ +code/modules/mapping/helpers/mob_spawn.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/mapping/helpers/mob_spawn.dm

/obj/mapping_helper/mob_spawn/corpse/human/skeletonHuman corpses
/obj/mapping_helper/mob_spawn/corpse/critter/owlCritter corpses
\ No newline at end of file diff --git a/code/modules/mapping/helpers/turf_helpers.html b/code/modules/mapping/helpers/turf_helpers.html new file mode 100644 index 0000000000000..22bd380cc91d1 --- /dev/null +++ b/code/modules/mapping/helpers/turf_helpers.html @@ -0,0 +1 @@ +code/modules/mapping/helpers/turf_helpers.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/mapping/helpers/turf_helpers.dm

/_is_abstract/obj/mapping_helper/turf/floor
\ No newline at end of file diff --git a/code/modules/materials/Mat_FabParts.html b/code/modules/materials/Mat_FabParts.html new file mode 100644 index 0000000000000..ade760f9b43a3 --- /dev/null +++ b/code/modules/materials/Mat_FabParts.html @@ -0,0 +1,2 @@ +code/modules/materials/Mat_FabParts.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/materials/Mat_FabParts.dm

/datum/matfab_part///////////////////////////////////////////BASE CLASS BELOW +Base material fabrication part
\ No newline at end of file diff --git a/code/modules/materials/Mat_FabRecipes.html b/code/modules/materials/Mat_FabRecipes.html new file mode 100644 index 0000000000000..f442b63126d8d --- /dev/null +++ b/code/modules/materials/Mat_FabRecipes.html @@ -0,0 +1,2 @@ +code/modules/materials/Mat_FabRecipes.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/materials/Mat_FabRecipes.dm

/datum/matfab_recipe///////////////////////////////////////////BASE CLASS BELOW +Base material fabricator recipie
/datum/matfab_recipe/simpleSimple matfab recipie definition
\ No newline at end of file diff --git a/code/modules/materials/Mat_Fabrication.html b/code/modules/materials/Mat_Fabrication.html new file mode 100644 index 0000000000000..73023d5259045 --- /dev/null +++ b/code/modules/materials/Mat_Fabrication.html @@ -0,0 +1 @@ +code/modules/materials/Mat_Fabrication.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/materials/Mat_Fabrication.dm

/obj/machinery/nanofabMaterial science fabricator
\ No newline at end of file diff --git a/code/modules/materials/Mat_Materials.html b/code/modules/materials/Mat_Materials.html new file mode 100644 index 0000000000000..ed0014a5e63df --- /dev/null +++ b/code/modules/materials/Mat_Materials.html @@ -0,0 +1 @@ +code/modules/materials/Mat_Materials.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/materials/Mat_Materials.dm

/_is_abstract/datum/materialBase material datum definition
/_is_abstract/datum/material/metalBase metal material parent
/_is_abstract/datum/material/organicBase organic material parent
/datum/material/metal/glowstickMaterial for bundles of glowsticks as fuel rods
\ No newline at end of file diff --git a/code/modules/materials/Mat_Mining.html b/code/modules/materials/Mat_Mining.html new file mode 100644 index 0000000000000..0a6fc240301bb --- /dev/null +++ b/code/modules/materials/Mat_Mining.html @@ -0,0 +1 @@ +code/modules/materials/Mat_Mining.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/materials/Mat_Mining.dm

/obj/item/mining_headPick(1 tile), hammer(line across), drill(line in front), blaster(cone),
\ No newline at end of file diff --git a/code/modules/materials/Mat_ProcsDefines.html b/code/modules/materials/Mat_ProcsDefines.html new file mode 100644 index 0000000000000..9262fd3e1bb66 --- /dev/null +++ b/code/modules/materials/Mat_ProcsDefines.html @@ -0,0 +1,2 @@ +code/modules/materials/Mat_ProcsDefines.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/materials/Mat_ProcsDefines.dm

/proc/getMaterialReturns one of the base materials by id.
/proc/handleTriggerGenerationsIncreases generations on material triggers and handles removal if over the generation cap.
/proc/getFusedTriggersFuses two material trigger lists.
/proc/getFusedMaterialMerges two materials and returns result as new material.
/proc/getInterpolatedNameMerges two material names into one.
/proc/getMatFailStringReturns a string for when a material fail or breaks depending on its material flags.
/proc/getMatFlagStringTranslates a material flag into a string.
/proc/matchesMaterialRecipeChecks if a material matches a recipe and returns the recipe if a match is found. returns null if nothing matches it.
/proc/hasParentMaterialSearches the parent materials of the given material, up to a given generation, for an id.
/proc/applyCableMaterialsYes hello apparently we need a proc for this because theres a million types of different wires and cables.
/proc/calculateHeatTransferCoefficientReturns the thermal conductivity between two materials, based on thermal and electrical conductivity mat property. +Thermal conductivity ranges from 0 (perfect insulator) to infinity. Excellent conductors like copper are about 100
\ No newline at end of file diff --git a/code/modules/materials/Mat_Properties.html b/code/modules/materials/Mat_Properties.html new file mode 100644 index 0000000000000..199b69154828b --- /dev/null +++ b/code/modules/materials/Mat_Properties.html @@ -0,0 +1 @@ +code/modules/materials/Mat_Properties.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/materials/Mat_Properties.dm

/_is_abstract/datum/material_propertyBase material property. Stuff like conductivity. See: /datum/material/var/properties
/datum/material_property/spent_fuelLiterally just indicating that it can be refined into good nuclear fuel in the centrifuge
\ No newline at end of file diff --git a/code/modules/materials/Mat_RawMaterials.html b/code/modules/materials/Mat_RawMaterials.html new file mode 100644 index 0000000000000..594a0a04b978f --- /dev/null +++ b/code/modules/materials/Mat_RawMaterials.html @@ -0,0 +1 @@ +code/modules/materials/Mat_RawMaterials.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/materials/Mat_RawMaterials.dm

/obj/item/material_pieceMaterial piece
/obj/item/material_piece/metalThe metal appearance and stuff is on the parent, this is just a concrete subtype
\ No newline at end of file diff --git a/code/modules/materials/Mat_Recipes.html b/code/modules/materials/Mat_Recipes.html new file mode 100644 index 0000000000000..3d44010f067e7 --- /dev/null +++ b/code/modules/materials/Mat_Recipes.html @@ -0,0 +1 @@ +code/modules/materials/Mat_Recipes.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/materials/Mat_Recipes.dm

/datum/material_recipematerial recipie definition
\ No newline at end of file diff --git a/code/modules/materials/materials.html b/code/modules/materials/materials.html new file mode 100644 index 0000000000000..12b7e32502311 --- /dev/null +++ b/code/modules/materials/materials.html @@ -0,0 +1,27 @@ +code/modules/materials/materials.md - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/materials/materials.md

The system has gotten a bit convoluted so im gonna write down some notes here to help people.

+

How do i add new Material trigger procs?

+
    +
  • Add a new datum for it in the [Mat_MaterialProcs.dm] file
  • +
  • Make sure the signature for the execute proc matches what will be passed in. See the [Mat_Materials.dm] file and the calling procs therein - for example "triggerOnLife" - to find the signatures.
  • +
  • In the New proc of the material datum, do something like addTrigger(triggersOnAdd, new /datum/materialProc/erebite_flash())
  • +
+

How do i add a new Trigger?

+
    +
  • Add a list and a calling proc for it in the base material definition
  • +
  • Add the name of the list to triggerVars in Mat_ProcsDefines.dm
  • +
  • Add the required handling for the new trigger in the getFusedMaterial proc in Mat_ProcsDefines.dm - See the existing ones for an example.
  • +
  • Make sure the calling proc you created in step one is called from somewhere in the game.
  • +
  • If possible, make sure that the call for your new trigger has the object owning the material or a relevant entity as its first argument.
  • +
+

How do i add a new material flag?

+
    +
  • Add it in [material_properties.dm]
  • +
  • Add the handling for it in the getFusedMaterial proc in [Mat_ProcsDefines.dm]
  • +
  • Give it a name in getMatFlagString in [Mat_ProcsDefines.dm]
  • +
+

MATERIAL PROPERTIES:

+

Tensile Strength: How much a material can be stretched before it snaps

+

Compressive Strength: How much a material can resist being crushed

+

Shear Strength: Essentially resistance to being cut or abrased

+

Ductility: How much it can be fucked with until it is permanently deformed

+

Toughness: How much force it can absorb without fracturing

\ No newline at end of file diff --git a/code/modules/mechanics/MechanicMadness.html b/code/modules/mechanics/MechanicMadness.html new file mode 100644 index 0000000000000..99a28ca2b5c1e --- /dev/null +++ b/code/modules/mechanics/MechanicMadness.html @@ -0,0 +1 @@ +code/modules/mechanics/MechanicMadness.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/mechanics/MechanicMadness.dm

/obj/item/mechanics/zapperTesla Coil mechanics component - zaps people
/obj/item/mechanics/movementallows cabinets to move around
\ No newline at end of file diff --git a/code/modules/medals/rewardsLocker.html b/code/modules/medals/rewardsLocker.html new file mode 100644 index 0000000000000..dda0ef3e60139 --- /dev/null +++ b/code/modules/medals/rewardsLocker.html @@ -0,0 +1 @@ +code/modules/medals/rewardsLocker.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/medals/rewardsLocker.dm

/datum/achievementReward/satchelRewards below
\ No newline at end of file diff --git a/code/modules/medical/genetics/bioEffects/powers.html b/code/modules/medical/genetics/bioEffects/powers.html new file mode 100644 index 0000000000000..77a07b11c61eb --- /dev/null +++ b/code/modules/medical/genetics/bioEffects/powers.html @@ -0,0 +1 @@ +code/modules/medical/genetics/bioEffects/powers.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/medical/genetics/bioEffects/powers.dm

/datum/bioEffect/power/healing_touchCOMBINATION-ONLY EFFECTS BELOW
\ No newline at end of file diff --git a/code/modules/medical/genetics/bioHolder.html b/code/modules/medical/genetics/bioHolder.html new file mode 100644 index 0000000000000..ec4ab46c23d29 --- /dev/null +++ b/code/modules/medical/genetics/bioHolder.html @@ -0,0 +1 @@ +code/modules/medical/genetics/bioHolder.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/medical/genetics/bioHolder.dm

/datum/appearanceHolderHolds all the appearance information.
/datum/customizationHolderHolds all the customization information.
/datum/bioHolder/unlinkedBioholder type for when you need a bioholder that isn't strongly linked to an owner, uses a weakref to allow GC
\ No newline at end of file diff --git a/code/modules/medical/surgery_procs.html b/code/modules/medical/surgery_procs.html new file mode 100644 index 0000000000000..b5377b3c1904f --- /dev/null +++ b/code/modules/medical/surgery_procs.html @@ -0,0 +1 @@ +code/modules/medical/surgery_procs.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/medical/surgery_procs.dm

/proc/do_slipupYou messed up. Cause damage and spawn some indicators.
/proc/display_slipup_imageSpawns an image above a patient when you slip up. Only the surgeon sees it.
\ No newline at end of file diff --git a/code/modules/minimap/markers/_minimap_marker_parent.html b/code/modules/minimap/markers/_minimap_marker_parent.html new file mode 100644 index 0000000000000..7a9d94f2e9d01 --- /dev/null +++ b/code/modules/minimap/markers/_minimap_marker_parent.html @@ -0,0 +1,2 @@ +code/modules/minimap/markers/_minimap_marker_parent.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/minimap/markers/_minimap_marker_parent.dm

/datum/minimap_markerMinimap marker datums are responsible for managing the appearance and position of a marker atom/movable that depicts a +tracked target object.
\ No newline at end of file diff --git a/code/modules/minimap/minimap_objects/controllers/_minimap_controller_parent.html b/code/modules/minimap/minimap_objects/controllers/_minimap_controller_parent.html new file mode 100644 index 0000000000000..69d1226bfe231 --- /dev/null +++ b/code/modules/minimap/minimap_objects/controllers/_minimap_controller_parent.html @@ -0,0 +1,2 @@ +code/modules/minimap/minimap_objects/controllers/_minimap_controller_parent.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/minimap/minimap_objects/controllers/_minimap_controller_parent.dm

/obj/minimap_controllerMinimap controllers are responsible for handling player manipulation of minimaps, including panning and zooming the map, +managing minimap marker visibility, and creating and deleting markers.
\ No newline at end of file diff --git a/code/modules/minimap/minimap_objects/minimap_ui.html b/code/modules/minimap/minimap_objects/minimap_ui.html new file mode 100644 index 0000000000000..5f26fc6705498 --- /dev/null +++ b/code/modules/minimap/minimap_objects/minimap_ui.html @@ -0,0 +1,2 @@ +code/modules/minimap/minimap_objects/minimap_ui.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/minimap/minimap_objects/minimap_ui.dm

/atom/movable/minimap_ui_handlerMinimap UI handles are responsible for all TGUI logic pertaining to minimaps and minimap controllers. This typically +involves setting up the ByondUI to display the minimap and passing other parameters to the UI.
\ No newline at end of file diff --git a/code/modules/minimap/minimap_objects/objects/_minimap_object_parent.html b/code/modules/minimap/minimap_objects/objects/_minimap_object_parent.html new file mode 100644 index 0000000000000..8253fabf0aeb0 --- /dev/null +++ b/code/modules/minimap/minimap_objects/objects/_minimap_object_parent.html @@ -0,0 +1,2 @@ +code/modules/minimap/minimap_objects/objects/_minimap_object_parent.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/minimap/minimap_objects/objects/_minimap_object_parent.dm

/obj/minimapMinimap objects are responsible for displaying and handling player interaction with minimaps. They act as the physical +manifestation of minimap datums, being displayed either on the map or in a UI element.
\ No newline at end of file diff --git a/code/modules/minimap/minimaps/__minimap_parent.html b/code/modules/minimap/minimaps/__minimap_parent.html new file mode 100644 index 0000000000000..acaf1965afade --- /dev/null +++ b/code/modules/minimap/minimaps/__minimap_parent.html @@ -0,0 +1,2 @@ +code/modules/minimap/minimaps/__minimap_parent.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/minimap/minimaps/__minimap_parent.dm

/datum/minimapMinimap datums are responsible for handling the appearance of the minimap. This includes any displayed markers, the zoom level, +and the displayed z-level.
\ No newline at end of file diff --git a/code/modules/minimap/renderer/minimap_renderer.html b/code/modules/minimap/renderer/minimap_renderer.html new file mode 100644 index 0000000000000..1b8538989d4af --- /dev/null +++ b/code/modules/minimap/renderer/minimap_renderer.html @@ -0,0 +1,5 @@ +code/modules/minimap/renderer/minimap_renderer.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/minimap/renderer/minimap_renderer.dm

/datum/minimap_rendererThe minimap renderer is responsible for generating partial renders of area minimaps for each minimap type flag and generating +full renders of radar minimaps, alongside updating radar minimaps and dynamic area overlays. In the case of querying for area +minimaps, a minimap type bitflag may be passed to the renderer, which will then return a full render of the map comprised of +the aforementioned partial renders. In the case of querying for radar minimaps, a minimap atom/movable will be returned, +containing both the radar map icon and the radar map markers.
/proc/cmp_minimap_modifiersCompare the priority of two minimap render modifiers.
\ No newline at end of file diff --git a/code/modules/minimap/renderer/modifiers/_modifier_parent.html b/code/modules/minimap/renderer/modifiers/_modifier_parent.html new file mode 100644 index 0000000000000..283951680c19e --- /dev/null +++ b/code/modules/minimap/renderer/modifiers/_modifier_parent.html @@ -0,0 +1,3 @@ +code/modules/minimap/renderer/modifiers/_modifier_parent.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/minimap/renderer/modifiers/_modifier_parent.dm

/datum/minimap_render_modifierMinimap render modifiers are responsible for handling alterations to the pixel colour that represent a specific turf on +a minimap. Only one modifier may apply its effects to a pixel at a time, with higher priority modifiers being considered +first.
\ No newline at end of file diff --git a/code/modules/mining/mining_encounters.html b/code/modules/mining/mining_encounters.html new file mode 100644 index 0000000000000..73649d636216b --- /dev/null +++ b/code/modules/mining/mining_encounters.html @@ -0,0 +1 @@ +code/modules/mining/mining_encounters.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/mining/mining_encounters.dm

/datum/mining_encounter/tel_miracliumTELESCOPE ENCOUNTERS BELOW
/obj/landmark/asteroid_spawn_blockerASTEROIDS
\ No newline at end of file diff --git a/code/modules/networks/computer3/computer3.html b/code/modules/networks/computer3/computer3.html new file mode 100644 index 0000000000000..5a993b02e323b --- /dev/null +++ b/code/modules/networks/computer3/computer3.html @@ -0,0 +1 @@ +code/modules/networks/computer3/computer3.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

code/modules/networks/computer3/computer3.dm

MAX_INPUT_HISTORY_LENGTHMaximum amount of things some nerd can put in here until we've had enough

Define Details

MAX_INPUT_HISTORY_LENGTH

Maximum amount of things some nerd can put in here until we've had enough

\ No newline at end of file diff --git a/code/modules/networks/computer3/mainframe2/_base_os.html b/code/modules/networks/computer3/mainframe2/_base_os.html new file mode 100644 index 0000000000000..382ae2dbc0e6d --- /dev/null +++ b/code/modules/networks/computer3/mainframe2/_base_os.html @@ -0,0 +1,137 @@ +code/modules/networks/computer3/mainframe2/_base_os.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

code/modules/networks/computer3/mainframe2/_base_os.dm

ESIG_SUCCESSThe command was carried out successfully.
ESIG_GENERICThe command could not be carried out successfully.
ESIG_NOTARGETThe command could not be carried out successfully, as a target was required and could not be found.
ESIG_BADCOMMANDThe command could not be carried out successfully, as the command was not recognised.
ESIG_NOUSRThe command could not be carried out successfully, as a user was required and could not be found.
ESIG_IOERRThe command could not be carried out successfully, as a result of an I/O error.
ESIG_NOFILEThe command could not be carried out successfully, as a file was required and could not be found.
ESIG_NOWRITEThe command could not be carried out successfully, as write permission was required.
ESIG_USR1User defined signal 1. This indicates an application-specific error condition has occured.
ESIG_USR2User defined signal 2. This indicates an application-specific error condition has occured.
ESIG_USR3User defined signal 3. This indicates an application-specific error condition has occured.
ESIG_USR4User defined signal 4. This indicates an application-specific error condition has occured.
ESIG_DATABITIf a command is expected to return a number, it will be signed with the databit to signify that it is not an error condition.
DWAINE_COMMAND_MSG_TERMSend a message or file to a connected terminal device. +Accepted data fields:
DWAINE_COMMAND_ULOGINSend a log in request to the kernel. +Accepted data fields:
DWAINE_COMMAND_UGROUPUpdate the user's group. +Accepted data fields:
DWAINE_COMMAND_ULISTList all current users. +No applicable data fields.
DWAINE_COMMAND_UMSGSend message to a connected user terminal. Cannot send messages to non-user terminals. +Accepted data fields:
DWAINE_COMMAND_UINPUTActs as an alternate path for user input. +Accepted data fields:
DWAINE_COMMAND_DMSGSend message to a specified driver. +Accepted data fields:
DWAINE_COMMAND_DLISTList all drivers of a specific terminal type. +Accepted data fields:
DWAINE_COMMAND_DGETGet the ID of a specific driver. +Accepted data fields:
DWAINE_COMMAND_DSCANInstruct the mainframe to recheck for devices now instead of waiting for the full timeout. +No applicable data fields.
DWAINE_COMMAND_EXITInstruct the caller to exit the current running program. +No applicable data fields.
DWAINE_COMMAND_TSPAWNRun a task located at a specified filepath. +Accepted data fields:
DWAINE_COMMAND_TFORKRun a new child task of the calling program's type. +Accepted data fields:
DWAINE_COMMAND_TKILLTerminate a child task of the calling program. +Accepted data fields:
DWAINE_COMMAND_TLISTList all child tasks of the calling program. +No applicable data fields.
DWAINE_COMMAND_TEXITInstruct a program to exit the current running task. +No applicable data fields.
DWAINE_COMMAND_FGETGet the computer file at the specified filepath. +Accepted data fields:
DWAINE_COMMAND_FKILLDelete the computer file at the specified filepath. +Accepted data fields:
DWAINE_COMMAND_FMODEAdjust the permissions of the computer file at the specified filepath. +Accepted data fields:
DWAINE_COMMAND_FOWNERAdjust the owner and group of the computer file at the specified filepath. +Accepted data fields:
DWAINE_COMMAND_FWRITEWrite a provided computer file to the specified path. +Accepted data fields:
DWAINE_COMMAND_CONFGETGet the config file of the specified name. +Accepted data fields:
DWAINE_COMMAND_MOUNTSet up a mountpoint for a device driver. +Accepted data fields:
DWAINE_COMMAND_RECVFILEInstruct a program to receive and handle a file. +No applicable data fields.
DWAINE_COMMAND_BREAKInstruct a program to halt processing a script. +No applicable data fields.
DWAINE_COMMAND_REPLYReply to a request for information. +Has unique data fields for each implementation, depending on the data requested.
/var/generic_exit_listGlobal list representing the standard exit command packet.
mainframe_prog_exitExit the current running program.
setup_filepath_usersFilepath that corresponds to the directory for user record files.
setup_filepath_users_homeFilepath that corresponds to the directory for personal user directories.
setup_filepath_driversFilepath that corresponds to the directory for device and pseudo-device files.
setup_filepath_drivers_protoFilepath that corresponds to the directory for device file prototypes. Prototypes are named after the ID of their respective device, excluding the "pnet_" prefix.
setup_filepath_volumesFilepath that corresponds to the directory for mounted file systems, such as databanks.
setup_filepath_systemFilepath that corresponds to the directory for the OS, including the kernel, shell, and login program.
setup_filepath_configFilepath that corresponds to the directory for configuration files.
setup_filepath_commandsFilepath that corresponds to the directory for binaries (executable files). It contains fundamental system utilities, including system commands, such as ls or cd.
setup_filepath_processFilepath that corresponds to the directory for information files pertaining to active processes.
/datum/computer/file/mainframe_program/os/kernelThe kernel is the computer program at the core of the OS and is responsible for managing interactions with all hardware +devices, such as terminals, databanks, scanners and so forth through device drivers; for handling inputs; for creating and +terminating connections; for the execution of system calls; and for other basic system services.
/datum/computer/file/mainframe_program/loginThe user login manager is responsible for passing user login credentials from the user to the kernel to be authenticated, +displaying the daily welcome message to the user, and for notifying the user in the event of a login failure.

Define Details

DWAINE_COMMAND_BREAK

Instruct a program to halt processing a script. +No applicable data fields.

DWAINE_COMMAND_CONFGET

Get the config file of the specified name. +Accepted data fields:

+

DWAINE_COMMAND_DGET

Get the ID of a specific driver. +Accepted data fields:

+

DWAINE_COMMAND_DLIST

List all drivers of a specific terminal type. +Accepted data fields:

+

DWAINE_COMMAND_DMSG

Send message to a specified driver. +Accepted data fields:

+

DWAINE_COMMAND_DSCAN

Instruct the mainframe to recheck for devices now instead of waiting for the full timeout. +No applicable data fields.

DWAINE_COMMAND_EXIT

Instruct the caller to exit the current running program. +No applicable data fields.

DWAINE_COMMAND_FGET

Get the computer file at the specified filepath. +Accepted data fields:

+

DWAINE_COMMAND_FKILL

Delete the computer file at the specified filepath. +Accepted data fields:

+

DWAINE_COMMAND_FMODE

Adjust the permissions of the computer file at the specified filepath. +Accepted data fields:

+

DWAINE_COMMAND_FOWNER

Adjust the owner and group of the computer file at the specified filepath. +Accepted data fields:

+

DWAINE_COMMAND_FWRITE

Write a provided computer file to the specified path. +Accepted data fields:

+

DWAINE_COMMAND_MOUNT

Set up a mountpoint for a device driver. +Accepted data fields:

+

DWAINE_COMMAND_MSG_TERM

Send a message or file to a connected terminal device. +Accepted data fields:

+

DWAINE_COMMAND_RECVFILE

Instruct a program to receive and handle a file. +No applicable data fields.

DWAINE_COMMAND_REPLY

Reply to a request for information. +Has unique data fields for each implementation, depending on the data requested.

DWAINE_COMMAND_TEXIT

Instruct a program to exit the current running task. +No applicable data fields.

DWAINE_COMMAND_TFORK

Run a new child task of the calling program's type. +Accepted data fields:

+

DWAINE_COMMAND_TKILL

Terminate a child task of the calling program. +Accepted data fields:

+

DWAINE_COMMAND_TLIST

List all child tasks of the calling program. +No applicable data fields.

DWAINE_COMMAND_TSPAWN

Run a task located at a specified filepath. +Accepted data fields:

+

DWAINE_COMMAND_UGROUP

Update the user's group. +Accepted data fields:

+

DWAINE_COMMAND_UINPUT

Acts as an alternate path for user input. +Accepted data fields:

+

DWAINE_COMMAND_ULIST

List all current users. +No applicable data fields.

DWAINE_COMMAND_ULOGIN

Send a log in request to the kernel. +Accepted data fields:

+

DWAINE_COMMAND_UMSG

Send message to a connected user terminal. Cannot send messages to non-user terminals. +Accepted data fields:

+

ESIG_BADCOMMAND

The command could not be carried out successfully, as the command was not recognised.

ESIG_DATABIT

If a command is expected to return a number, it will be signed with the databit to signify that it is not an error condition.

ESIG_GENERIC

The command could not be carried out successfully.

ESIG_IOERR

The command could not be carried out successfully, as a result of an I/O error.

ESIG_NOFILE

The command could not be carried out successfully, as a file was required and could not be found.

ESIG_NOTARGET

The command could not be carried out successfully, as a target was required and could not be found.

ESIG_NOUSR

The command could not be carried out successfully, as a user was required and could not be found.

ESIG_NOWRITE

The command could not be carried out successfully, as write permission was required.

ESIG_SUCCESS

The command was carried out successfully.

ESIG_USR1

User defined signal 1. This indicates an application-specific error condition has occured.

ESIG_USR2

User defined signal 2. This indicates an application-specific error condition has occured.

ESIG_USR3

User defined signal 3. This indicates an application-specific error condition has occured.

ESIG_USR4

User defined signal 4. This indicates an application-specific error condition has occured.

mainframe_prog_exit

Exit the current running program.

setup_filepath_commands

Filepath that corresponds to the directory for binaries (executable files). It contains fundamental system utilities, including system commands, such as ls or cd.

setup_filepath_config

Filepath that corresponds to the directory for configuration files.

setup_filepath_drivers

Filepath that corresponds to the directory for device and pseudo-device files.

setup_filepath_drivers_proto

Filepath that corresponds to the directory for device file prototypes. Prototypes are named after the ID of their respective device, excluding the "pnet_" prefix.

setup_filepath_process

Filepath that corresponds to the directory for information files pertaining to active processes.

setup_filepath_system

Filepath that corresponds to the directory for the OS, including the kernel, shell, and login program.

setup_filepath_users

Filepath that corresponds to the directory for user record files.

setup_filepath_users_home

Filepath that corresponds to the directory for personal user directories.

setup_filepath_volumes

Filepath that corresponds to the directory for mounted file systems, such as databanks.

\ No newline at end of file diff --git a/code/modules/networks/computer3/mainframe2/base_program.html b/code/modules/networks/computer3/mainframe2/base_program.html new file mode 100644 index 0000000000000..05e0464a6bcc7 --- /dev/null +++ b/code/modules/networks/computer3/mainframe2/base_program.html @@ -0,0 +1,5 @@ +code/modules/networks/computer3/mainframe2/base_program.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/networks/computer3/mainframe2/base_program.dm

/datum/computer/file/mainframe_programMainframe programs represent computer programs, and are responsible for carrying out an instruction or set of instructions +specified by commands passed to them. Unlike real computer programs, mainframe programs are not in possession of any ingame +representation of "source code" and are hardcoded. Most of DWAINE's functionality is provided by computer programs, which +include the kernel, the shell, the drivers, and system utilities (ls, cd, etc...), among other programs.
/proc/command2listCommand2list is a modified version of dd_text2list() designed to eat empty list entries generated by superfluous whitespace. +It also can insert shell alias/variables if provided with a replacement value list.
\ No newline at end of file diff --git a/code/modules/networks/computer3/mainframe2/misc_terms.html b/code/modules/networks/computer3/mainframe2/misc_terms.html new file mode 100644 index 0000000000000..68be4a3b67a45 --- /dev/null +++ b/code/modules/networks/computer3/mainframe2/misc_terms.html @@ -0,0 +1 @@ +code/modules/networks/computer3/mainframe2/misc_terms.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

code/modules/networks/computer3/mainframe2/misc_terms.dm

HAS_TANKChecks if we have a tank in the specified slot
ADD_TANKAdd the tank to the slot being interact with in the device
TANK_AS_LISTGets relevant properties of the tank as a list for ui_data
/obj/item/disk/data/bomb_testerGeneric disk to hold VR bomb log

Define Details

ADD_TANK

Add the tank to the slot being interact with in the device

HAS_TANK

Checks if we have a tank in the specified slot

TANK_AS_LIST

Gets relevant properties of the tank as a list for ui_data

\ No newline at end of file diff --git a/code/modules/networks/computer3/textfiles.html b/code/modules/networks/computer3/textfiles.html new file mode 100644 index 0000000000000..21b0f3aff7913 --- /dev/null +++ b/code/modules/networks/computer3/textfiles.html @@ -0,0 +1 @@ +code/modules/networks/computer3/textfiles.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/networks/computer3/textfiles.dm

/datum/computer/file/text/tempus_corruptionTEMPUS
\ No newline at end of file diff --git a/code/modules/parallax/parallax_render_sources/parallax_render_source_group_parent.html b/code/modules/parallax/parallax_render_sources/parallax_render_source_group_parent.html new file mode 100644 index 0000000000000..a1b0017c8f318 --- /dev/null +++ b/code/modules/parallax/parallax_render_sources/parallax_render_source_group_parent.html @@ -0,0 +1,9 @@ +code/modules/parallax/parallax_render_sources/parallax_render_source_group_parent.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/parallax/parallax_render_sources/parallax_render_source_group_parent.dm

/datum/parallax_render_source_groupThe parent type for parallax render source groups, which govern which parallax render sources should be shown to a client +in a given area or z-level. They also allow for the efficient manipulation of parallax render sources and layers within a +specified z-level or area, permitting more granular control over the appearance of parallax render sources.
/datum/parallax_render_source_group/areaArea render source groups are singleton datums stored in a lookup table by type. They permit areas of differing type paths +to share parallax render source instances and therefore permit parallax render source changes to take effect across several +areas consistantly.
/datum/parallax_render_source_group/z_levelZ-level render source groups are singleton datums stored in a lookup table by z-level. Their default parallax render source +types are defined by the current map settings, with each z-level render source group using the list on the map settings datum +corresponding to its z-level. See map.dm and the Z_LEVEL_PARALLAX_RENDER_SOURCES() macro.
/datum/parallax_render_source_group/planetPlanet render source groups are non-singleton datums, with each instance of each type varying in parallax render source +settings. They are assigned to planet areas during the procedural generation of planets, and permit variety in parallax +layers amongst planets.
\ No newline at end of file diff --git a/code/modules/parallax/parallax_render_sources/parallax_render_source_parent.html b/code/modules/parallax/parallax_render_sources/parallax_render_source_parent.html new file mode 100644 index 0000000000000..a7b4a4da425e3 --- /dev/null +++ b/code/modules/parallax/parallax_render_sources/parallax_render_source_parent.html @@ -0,0 +1,3 @@ +code/modules/parallax/parallax_render_sources/parallax_render_source_parent.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/parallax/parallax_render_sources/parallax_render_source_parent.dm

/atom/movable/screen/parallax_render_sourceParallax render sources are screens that hold the appearance data for a specific type of parallax layer; this appearance +is then drawn to client parallax layers using render targets and sources. This permits the appearance of a specific parallax +layer to be edited at runtime and efficiently distributed across all applicable clients.
\ No newline at end of file diff --git a/code/modules/parallax/parallax_render_sources/parallax_render_sources.html b/code/modules/parallax/parallax_render_sources/parallax_render_sources.html new file mode 100644 index 0000000000000..a323be3f6d2ae --- /dev/null +++ b/code/modules/parallax/parallax_render_sources/parallax_render_sources.html @@ -0,0 +1 @@ +code/modules/parallax/parallax_render_sources/parallax_render_sources.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/parallax/parallax_render_sources/parallax_render_sources.dm

/atom/movable/screen/parallax_render_source/planet/quadrigainner system - Diner debris belt
/atom/movable/screen/parallax_render_source/planet/fortunafortuna area
\ No newline at end of file diff --git a/code/modules/polling/poll_manager.html b/code/modules/polling/poll_manager.html new file mode 100644 index 0000000000000..69b8b98b83e0e --- /dev/null +++ b/code/modules/polling/poll_manager.html @@ -0,0 +1 @@ +code/modules/polling/poll_manager.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/polling/poll_manager.dm

/datum/poll_managermaster poll controller for the server. Caches the results, syncs with api
\ No newline at end of file diff --git a/code/modules/power/TEG.html b/code/modules/power/TEG.html new file mode 100644 index 0000000000000..c58b9a915f1c9 --- /dev/null +++ b/code/modules/power/TEG.html @@ -0,0 +1 @@ +code/modules/power/TEG.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

code/modules/power/TEG.dm

CIRCULATOR_MAX_PRESSUREMax circulator pressure
BACKFLOW_PROTECTIONno backflow
LEAKS_GASperiodically leaks input gas
LEAKS_LUBEperiodically leaks/eats lube
LUBE_DRAIN_OPENLUBE Drain
WARNING_APC_DRAININGLack of surplus power and drain exceeds current perapc
WARNING_5MINExpected to drain cell in ~5min
WARNING_1MINExpected to drain cell in ~1min
WARNING_LOW_MOLESGas molar quantity is problematic!
TEG_HIGH_TEMPHIGH TEMP Model
TEG_LOW_TEMPLOW TEMP Model
TEG_SEMI_STATE_INSTALLEDTEG Semiconductor Present and Installed
TEG_SEMI_STATE_UNSCREWEDTEG Semiconductor Cover unscrewed
TEG_SEMI_STATE_CONNECTEDTEG Semiconductor Connected with Extra Wires
TEG_SEMI_STATE_DISCONNECTEDTEG Semiconductor Present but disconnected
TEG_SEMI_STATE_MISSINGTEG Semiconductor Missing
TEG_SEMI_STATE_BOOTLEG_SEMITEG Semiconductor Missing
/obj/item/teg_semiconductorThermoelectric Generator Semiconductor - A beautiful array of thermopiles
DEVICE_IS_PUMPSignals which claim the device to be of identifier "AGP" are exclusively pumps or pump wannabes (fine)
HAS_REQUIRED_DATADo we have all the information we should Really Really Have?

Define Details

BACKFLOW_PROTECTION

no backflow

CIRCULATOR_MAX_PRESSURE

Max circulator pressure

DEVICE_IS_PUMP

Signals which claim the device to be of identifier "AGP" are exclusively pumps or pump wannabes (fine)

HAS_REQUIRED_DATA

Do we have all the information we should Really Really Have?

LEAKS_GAS

periodically leaks input gas

LEAKS_LUBE

periodically leaks/eats lube

LUBE_DRAIN_OPEN

LUBE Drain

TEG_HIGH_TEMP

HIGH TEMP Model

TEG_LOW_TEMP

LOW TEMP Model

TEG_SEMI_STATE_BOOTLEG_SEMI

TEG Semiconductor Missing

TEG_SEMI_STATE_CONNECTED

TEG Semiconductor Connected with Extra Wires

TEG_SEMI_STATE_DISCONNECTED

TEG Semiconductor Present but disconnected

TEG_SEMI_STATE_INSTALLED

TEG Semiconductor Present and Installed

TEG_SEMI_STATE_MISSING

TEG Semiconductor Missing

TEG_SEMI_STATE_UNSCREWED

TEG Semiconductor Cover unscrewed

WARNING_1MIN

Expected to drain cell in ~1min

WARNING_5MIN

Expected to drain cell in ~5min

WARNING_APC_DRAINING

Lack of surplus power and drain exceeds current perapc

WARNING_LOW_MOLES

Gas molar quantity is problematic!

\ No newline at end of file diff --git a/code/modules/power/cable.html b/code/modules/power/cable.html new file mode 100644 index 0000000000000..86cbc74dd8e8e --- /dev/null +++ b/code/modules/power/cable.html @@ -0,0 +1 @@ +code/modules/power/cable.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/power/cable.dm

/obj/cablethe power cable object
/obj/cable/autoa cable spawner which can spawn multiple cables to connect to other cables around it.
\ No newline at end of file diff --git a/code/modules/power/lighting.html b/code/modules/power/lighting.html new file mode 100644 index 0000000000000..e40e2569b170f --- /dev/null +++ b/code/modules/power/lighting.html @@ -0,0 +1 @@ +code/modules/power/lighting.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

code/modules/power/lighting.dm

LIGHT_FIXTURE_ATTACH_TIMEAmount of time it takes to attach a light fixture to a tile by hand
LIGHT_FIXTURE_DETACH_TIMEAmount of time it takes to remove a light fixture from a tile by hand
WORN_LIGHT_BREAKPROBProbabilty a worn/burned out light will break

Define Details

LIGHT_FIXTURE_ATTACH_TIME

Amount of time it takes to attach a light fixture to a tile by hand

LIGHT_FIXTURE_DETACH_TIME

Amount of time it takes to remove a light fixture from a tile by hand

WORN_LIGHT_BREAKPROB

Probabilty a worn/burned out light will break

\ No newline at end of file diff --git a/code/modules/power/pt_laser.html b/code/modules/power/pt_laser.html new file mode 100644 index 0000000000000..ff2172233d99e --- /dev/null +++ b/code/modules/power/pt_laser.html @@ -0,0 +1 @@ +code/modules/power/pt_laser.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/power/pt_laser.dm

/obj/laser_sink/ptl_sellerThis is a stupid singleton sink that exists so that lasers that hit the edge of the z-level have something to connect to
\ No newline at end of file diff --git a/code/modules/power/solar.html b/code/modules/power/solar.html new file mode 100644 index 0000000000000..571f51d83afe5 --- /dev/null +++ b/code/modules/power/solar.html @@ -0,0 +1 @@ +code/modules/power/solar.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/power/solar.dm

/obj/machinery/computer/solar_controlSolar control computer
\ No newline at end of file diff --git a/code/modules/projectiles/energy_bolt.html b/code/modules/projectiles/energy_bolt.html new file mode 100644 index 0000000000000..50aba6c44d528 --- /dev/null +++ b/code/modules/projectiles/energy_bolt.html @@ -0,0 +1 @@ +code/modules/projectiles/energy_bolt.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/projectiles/energy_bolt.dm

/datum/projectile/energy_bolt_vVUVUZELA
/datum/projectile/energy_bolt_antighostGhost Hunting for Halloween
\ No newline at end of file diff --git a/code/modules/projectiles/projectile_parent.html b/code/modules/projectiles/projectile_parent.html new file mode 100644 index 0000000000000..e4b67680bfe9c --- /dev/null +++ b/code/modules/projectiles/projectile_parent.html @@ -0,0 +1,3 @@ +code/modules/projectiles/projectile_parent.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/projectiles/projectile_parent.dm

/obj/projectileThis file is not good +Fucked up var names lie ahead +Caution, traveler
\ No newline at end of file diff --git a/code/modules/robotics/bot/bot_parent.html b/code/modules/robotics/bot/bot_parent.html new file mode 100644 index 0000000000000..bbce0a4de807d --- /dev/null +++ b/code/modules/robotics/bot/bot_parent.html @@ -0,0 +1 @@ +code/modules/robotics/bot/bot_parent.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/robotics/bot/bot_parent.dm

/datum/robot_movermovement control datum. Why yes, this is copied from secbot.dm. Which was copied from guardbot.dm
\ No newline at end of file diff --git a/code/modules/robotics/bot/cleanbot.html b/code/modules/robotics/bot/cleanbot.html new file mode 100644 index 0000000000000..35f588dfd6959 --- /dev/null +++ b/code/modules/robotics/bot/cleanbot.html @@ -0,0 +1 @@ +code/modules/robotics/bot/cleanbot.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/robotics/bot/cleanbot.dm

/obj/item/bucket_sensorCleanbot assembly
/obj/machinery/bot/cleanbotCleanbot
/datum/action/bar/icon/cleanbotcleanCleanbot Actionbar
\ No newline at end of file diff --git a/code/modules/robotics/bot/floorbot.html b/code/modules/robotics/bot/floorbot.html new file mode 100644 index 0000000000000..c8d8d3b96194e --- /dev/null +++ b/code/modules/robotics/bot/floorbot.html @@ -0,0 +1 @@ +code/modules/robotics/bot/floorbot.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/robotics/bot/floorbot.dm

/obj/machinery/bot/floorbot/activeThis one starts turned on
\ No newline at end of file diff --git a/code/modules/robotics/bot/mining.html b/code/modules/robotics/bot/mining.html new file mode 100644 index 0000000000000..c6896b467fc40 --- /dev/null +++ b/code/modules/robotics/bot/mining.html @@ -0,0 +1 @@ +code/modules/robotics/bot/mining.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/robotics/bot/mining.dm

/obj/machinery/bot/mining/drillDigbot Drill Variant
/datum/action/bar/icon/digbotdigDigbot Actionbar
/datum/digbot_uiDigbot UI
/obj/item/digbotassemblyDigbot Construction
\ No newline at end of file diff --git a/code/modules/robotics/bot/secbot.html b/code/modules/robotics/bot/secbot.html new file mode 100644 index 0000000000000..5fbff7b755706 --- /dev/null +++ b/code/modules/robotics/bot/secbot.html @@ -0,0 +1,3 @@ +code/modules/robotics/bot/secbot.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

code/modules/robotics/bot/secbot.dm

SECBOT_IDLEIdle, handles routing to basic patrol-or-dont secbotting
SECBOT_AGGROBot is angry, chasing someone or arresting them
SECBOT_START_PATROLStarting patrol, looking for a patrol node
SECBOT_PATROLOn patrol!
SECBOT_SUMMONSummoned by PDA
SECBOT_GUARD_IDLEIdle again, but handles routing for guard-related stuff
SECBOT_GUARD_STARTWas ordered to guard an area. Checking to see if that's something it can do
SECBOT_GUARDCurrently guarding an area and milling about like an asshole
SECBOT_GUARD_AGGROBot is angry, but was guarding an area and should go back to guarding after this
KPAGU_CLEAR_PATHKill Path And Give Up +Just kill their current path, likely invalid or unreachable or something
KPAGU_CLEAR_ALLClear everything, target, last target, guard orders, mode, everything. Return to secmonkey
KPAGU_RETURN_TO_PATROLClear aggro, revert to default patrol, non-guard state. mode = SECBOT_IDLE
KPAGU_RETURN_TO_GUARDClear aggro, revert to guard duty. mode = SECBOT_GUARD_IDLE

Define Details

KPAGU_CLEAR_ALL

Clear everything, target, last target, guard orders, mode, everything. Return to secmonkey

KPAGU_CLEAR_PATH

Kill Path And Give Up +Just kill their current path, likely invalid or unreachable or something

KPAGU_RETURN_TO_GUARD

Clear aggro, revert to guard duty. mode = SECBOT_GUARD_IDLE

KPAGU_RETURN_TO_PATROL

Clear aggro, revert to default patrol, non-guard state. mode = SECBOT_IDLE

SECBOT_AGGRO

Bot is angry, chasing someone or arresting them

SECBOT_GUARD

Currently guarding an area and milling about like an asshole

SECBOT_GUARD_AGGRO

Bot is angry, but was guarding an area and should go back to guarding after this

SECBOT_GUARD_IDLE

Idle again, but handles routing for guard-related stuff

SECBOT_GUARD_START

Was ordered to guard an area. Checking to see if that's something it can do

SECBOT_IDLE

Idle, handles routing to basic patrol-or-dont secbotting

SECBOT_PATROL

On patrol!

SECBOT_START_PATROL

Starting patrol, looking for a patrol node

SECBOT_SUMMON

Summoned by PDA

\ No newline at end of file diff --git a/code/modules/robotics/robot/module/empty.html b/code/modules/robotics/robot/module/empty.html new file mode 100644 index 0000000000000..a9d9e8a760886 --- /dev/null +++ b/code/modules/robotics/robot/module/empty.html @@ -0,0 +1 @@ +code/modules/robotics/robot/module/empty.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/robotics/robot/module/empty.dm

/obj/item/robot_module/emptyMeant mostly for admin gimmicks so tools can be added manually
\ No newline at end of file diff --git a/code/modules/robotics/robot/module/parent.html b/code/modules/robotics/robot/module/parent.html new file mode 100644 index 0000000000000..3c47d3ae55184 --- /dev/null +++ b/code/modules/robotics/robot/module/parent.html @@ -0,0 +1 @@ +code/modules/robotics/robot/module/parent.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/robotics/robot/module/parent.dm

/obj/item/robot_moduleJob/tool modules for cyborgs
\ No newline at end of file diff --git a/code/modules/robotics/robot/module_tool_creator/parent.html b/code/modules/robotics/robot/module_tool_creator/parent.html new file mode 100644 index 0000000000000..0c50d2bd0b192 --- /dev/null +++ b/code/modules/robotics/robot/module_tool_creator/parent.html @@ -0,0 +1 @@ +code/modules/robotics/robot/module_tool_creator/parent.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/robotics/robot/module_tool_creator/parent.dm

/datum/robot/module_tool_creatorStub parent.
/datum/robot/module_tool_creator/item_typeStub parent.
/datum/robot/module_tool_creator/item_type/amountStub parent.
/datum/robot/module_tool_creator/item_type/randomStub parent.
/datum/robot/module_tool_creator/item_typesStub parent.
/datum/robot/module_tool_creator/recursiveStub parent.
\ No newline at end of file diff --git a/code/modules/robotics/robot/robot_docking_station.html b/code/modules/robotics/robot/robot_docking_station.html new file mode 100644 index 0000000000000..f46cf3ee999db --- /dev/null +++ b/code/modules/robotics/robot/robot_docking_station.html @@ -0,0 +1,3 @@ +code/modules/robotics/robot/robot_docking_station.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

code/modules/robotics/robot/robot_docking_station.dm

MAGIC_BULLSHIT_FREE_POWER_MULTIPLIERAmount of 'free' power that docking stations give. For each 1 unit of APC cell power, cyborgs will recharge this many units of cyborg cell power. +Band-aid.

Define Details

MAGIC_BULLSHIT_FREE_POWER_MULTIPLIER

Amount of 'free' power that docking stations give. For each 1 unit of APC cell power, cyborgs will recharge this many units of cyborg cell power. +Band-aid.

\ No newline at end of file diff --git a/code/modules/siphon/siphon_controls.html b/code/modules/siphon/siphon_controls.html new file mode 100644 index 0000000000000..b78345d2fa741 --- /dev/null +++ b/code/modules/siphon/siphon_controls.html @@ -0,0 +1 @@ +code/modules/siphon/siphon_controls.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/siphon/siphon_controls.dm

/obj/machinery/siphon_levermanual control panel for core operation of siphon itself (raising and lowering, on and off); stays physically paired to the siphon
/obj/machinery/computer/siphon_controlcontrol for siphon and associated resonators: receives siphon and resonator data, and controls resonator operation
\ No newline at end of file diff --git a/code/modules/sound/djpanel.html b/code/modules/sound/djpanel.html new file mode 100644 index 0000000000000..ca4e591cd7f48 --- /dev/null +++ b/code/modules/sound/djpanel.html @@ -0,0 +1 @@ +code/modules/sound/djpanel.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/sound/djpanel.dm

/datum/dj_panelAllows for easily accessible music/sound playing for admins/allowed players.
\ No newline at end of file diff --git a/code/modules/sound/playsound.html b/code/modules/sound/playsound.html new file mode 100644 index 0000000000000..630af1216ede8 --- /dev/null +++ b/code/modules/sound/playsound.html @@ -0,0 +1,3 @@ +code/modules/sound/playsound.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/sound/playsound.dm

/proc/is_music_playingApproximate check of whether music is playing or not (radio / ad tapes / admin music all count as music here) +If music is playing this should return TRUE. But if music stopped playing only recently-ish it can sometimes return TRUE still. +In some rare cases it can happen that this has a false negative too so like don't rely on this for anything super important, ok?
\ No newline at end of file diff --git a/code/modules/sound/sound.html b/code/modules/sound/sound.html new file mode 100644 index 0000000000000..6e232d3a11351 --- /dev/null +++ b/code/modules/sound/sound.html @@ -0,0 +1,6 @@ +code/modules/sound/sound.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/sound/sound.dm

/proc/attenuate_for_locationreturns 0 to 1 based on air pressure in turf
/proc/playsound_globalPlays a sound to some clients without caring about its source location and stuff. +target can be either a list of clients or a list of mobs or world or an area or a z-level number.
/var/sb_trickspool of precached sounds
/proc/csoundSoundcache +NEVER use these sounds for modifying. +This should only be used for sounds that are played unaltered to the user. +@param text name the name of the sound that will be returned +@return sound
\ No newline at end of file diff --git a/code/modules/speech/logged_phrases.html b/code/modules/speech/logged_phrases.html new file mode 100644 index 0000000000000..a6ea731776da0 --- /dev/null +++ b/code/modules/speech/logged_phrases.html @@ -0,0 +1,26 @@ +code/modules/speech/logged_phrases.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/speech/logged_phrases.dm

/var/phrase_logThis system keeps a logged list of player-created phrases of various categories. The lists are cross-round. +Useful for stuff like hallucinations etc. If the number of phrases in a category exceeds src.max_length +random phrases get thrown out to reduce the size when saving. +Currently logged categories: +say - people talking +whisper - people whispering +pda - pda messages +deadsay - ghosts talking +ailaw - custom AI laws +record - custom radio station record names +emote - custom emotes +prayer - prayers +name-X - player chosen name for X where X is from the set {blob, ai, cyborg, clown, mime, wizard, ...} +vehicle - vehicle names (via a bottle of Champagne) +sing - people singing +pill - custom pill name +bottle - custom obttle name +voice-mimic - voices used by the changeling mimic voice ability +voice-radiostation - voices used by the radio station voice synthesizer +telepathy - messages sent through the telepathy genetics ability +bot-X - custom bot name, X is from the set {camera, fire, guard, med, sec} (I bet you didn't even know you could rename bots with a pen, huh) +name-bee - custom bee / bee larva name +name-critter - custom critter name (you can rename those with a pen too, whoa) +seed - custom botany seed name +paper - stuff people write on papers +crayon-queue - crayon queue mode inputs
\ No newline at end of file diff --git a/code/modules/status_system/statusEffects.html b/code/modules/status_system/statusEffects.html new file mode 100644 index 0000000000000..15411ba96c4ca --- /dev/null +++ b/code/modules/status_system/statusEffects.html @@ -0,0 +1,2 @@ +code/modules/status_system/statusEffects.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

code/modules/status_system/statusEffects.dm

/datum/statusEffectOur datum that keeps track of an individual status effect.
/datum/statusEffect/cyborg_disorientBasically disorient, but only does the animation and its maxDuration is +upped a bit to synchronize with other stuns.
/datum/statusEffect/lights_outAPC status that locks lighting circuit offline
LAUNDERED_COLDPROT_AMOUNTAmount of coldprot(%) given to each item of wearable clothing
LAUNDERED_STAIN_TEXTName of the "stain" given to wearable clothing

Define Details

LAUNDERED_COLDPROT_AMOUNT

Amount of coldprot(%) given to each item of wearable clothing

LAUNDERED_STAIN_TEXT

Name of the "stain" given to wearable clothing

\ No newline at end of file diff --git a/code/modules/status_system/statusSystem.html b/code/modules/status_system/statusSystem.html new file mode 100644 index 0000000000000..68b9163480343 --- /dev/null +++ b/code/modules/status_system/statusSystem.html @@ -0,0 +1,2 @@ +code/modules/status_system/statusSystem.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/status_system/statusSystem.dm

/var/statusGroupLimitsSimple global list of groupname : amount, that tells the system how many effects of a group we can have active at most. +See exclusiveGroup. Buffs above the max will not be applied.
\ No newline at end of file diff --git a/code/modules/status_system/status_system.html b/code/modules/status_system/status_system.html new file mode 100644 index 0000000000000..0f8cf1609a495 --- /dev/null +++ b/code/modules/status_system/status_system.html @@ -0,0 +1,37 @@ +code/modules/status_system/status_system.md - Goonstation 13
Goonstation 13 - Modules - Types

Status System

The status system is a robust system Goonstation has to manage any kind of effect on an atom.

+

Examples of effects:

+
    +
  • Burning
  • +
  • Cloaked
  • +
  • Drunk
  • +
  • Inside someome's pocket
  • +
  • Gang Member
  • +
  • Mutiny buff
  • +
+

Most status effects are intended to be applied on mobs, but they can be applied to any atom.

+

Status effects do not need to have their behaivor defined within them, they can also be checked externally with hasStatus or similar procs.

+

Example of a basic status effect:

+
/datum/statusEffect/bababooey
+	id = "bababooey"
+	name = "Bababooyed"
+	desc = "You've been bababooyed!"
+	icon_state = "baba"
+	unique = 1
+	maxDuration = 5 SECONDS
+
+	getTooltip()
+		return "Your brain feels like it's melting!"
+
+

This can then be applied like:

+
var/mob/living/carbon/human/H = new
+H.changeStatus("bababooey", 2 SECONDS)
+
+

Additional notes

+

Non-unique status effects (effects that can be applied several times to the same atom) can not be changed by normal means after they are added. Keep a reference if you need to change them.

+

Status effect procs have comments in their base definition below. Check there if you want to know more about what they do.

+

Status effects with a duration of INFINITE_STATUS (null) last indefinitely. (Shows as a duration of * in the UI) ((Keep in mind that null is distinct from 0))

+

Food Status Effects

+

Food status effects are a special subclass of status effects. +They are intended to apply special effects to mobs based on the eaten food. Duration of the effects are determined by the quality of the food and reagent contents.

+

There exists a special wrapper to handle these, /mob/living/proc/add_food_bonus.

+

You can only have 4 food status effects active at once, determined by exclusiveGroup = "Food" and statusGroupLimits.

\ No newline at end of file diff --git a/code/modules/storage/machine.html b/code/modules/storage/machine.html new file mode 100644 index 0000000000000..d9687ebd3306f --- /dev/null +++ b/code/modules/storage/machine.html @@ -0,0 +1 @@ +code/modules/storage/machine.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/storage/machine.dm

/datum/storage/no_hud/machineFor things which are meant to be a part of a machine. No rustling, no interacting with by hand, etc. DONT!!!
\ No newline at end of file diff --git a/code/modules/storage/storage.html b/code/modules/storage/storage.html new file mode 100644 index 0000000000000..efbe988bbb362 --- /dev/null +++ b/code/modules/storage/storage.html @@ -0,0 +1,34 @@ +code/modules/storage/storage.md - Goonstation 13
Goonstation 13 - Modules - Types

Storage datums

What is a storage datum?

+

A storage datum is something that can be added to any atom to give it storage functionality, being able to hold things of type /obj/item in a HUD.

+

Atom level procs, for things like attacking a storage with an item, close to the level of signal usage, are used to make this work.

+

Looking to add storage to an atom?

+

For the simplest case, just call src.create_storage(/datum/storage) as below:

+
/obj/item/basket
+	name = "basket"
+	desc = "A simple basket for holding items."
+
+	New()
+		..()
+		src.create_storage(/datum/storage)
+
+

This creates a very simple storage, with default parameters. More initialized variables to change the storage can found in the storage datum code file.

+

As for how storage interacts with an atom's item interaction procs, such as it's attackby() proc, those procs will run before any storage happens. Returning without calling the parent will prevent storage functionality, so make sure to return if you don't want something to be stored. Otherwise, you'll need to watch your code for any overridden procs to make sure nothing strange happens when storage of the item is expected.

+

Storage datums will also try updating the atom's icon upon an item being removed from or added to the storage, so if you would like to have the atom's icon change with the number of items stored, all you will have to do is override update_icon().

+

When should a new storage datum type be created?

+

A new storage datum type should be created when a type is needed that rewrites how adding and removing contents to a linked item works, or a significant change is needed that warrants a new type. Ex. See /datum/storage/bible.

+

Lower level things and practices to note

+
    +
  • Items in an atom's storage are kept track of in the atom's .contents list and in the storage datum, but when iterating through storage contents, storage datum procs should be used for getting the contents.
  • +
  • For atoms of type /obj/item, src.loc and src.stored.linked_item will be the same, but the second should be used for consistency and clarity.
  • +
+

Examples

+

One cool case of storage datums is giving storage to clothing items. An example is below:

+
/obj/item/clothing/suit/space/emerg/pocketed
+	name = "emergency suit"
+	desc = "A standard emergency suit, with some pockets on the front."
+
+	New()
+		..()
+		src.create_storage(/datum/storage, max_wclass = W_CLASS_SMALL, slots = 3, opens_if_worn = TRUE)
+
+

This would create give the space suit item three storage slot that can hold small items and that when clicked when worn would allow one to use the storage without taking the item off.

/datum/storagea datum for atoms that allows holdable storage of items in a hud
\ No newline at end of file diff --git a/code/modules/telescience/radiostation.html b/code/modules/telescience/radiostation.html new file mode 100644 index 0000000000000..17294e42a425b --- /dev/null +++ b/code/modules/telescience/radiostation.html @@ -0,0 +1 @@ +code/modules/telescience/radiostation.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/telescience/radiostation.dm

/obj/item/radio_tape/audio_book/commander_supportobj/item/radio_tape/audio_book/commander_announcement
\ No newline at end of file diff --git a/code/modules/telescience/telescope/telescopeMisc.html b/code/modules/telescience/telescope/telescopeMisc.html new file mode 100644 index 0000000000000..a65a423d29b83 --- /dev/null +++ b/code/modules/telescience/telescope/telescopeMisc.html @@ -0,0 +1 @@ +code/modules/telescience/telescope/telescopeMisc.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/telescience/telescope/telescopeMisc.dm

/obj/critter/gunbot/drone/buzzdrone/naniteswarmMISC EVENT ETC RELATED BELOW
\ No newline at end of file diff --git a/code/modules/tgs.html b/code/modules/tgs.html new file mode 100644 index 0000000000000..52735661523be --- /dev/null +++ b/code/modules/tgs.html @@ -0,0 +1,13 @@ +code/modules/tgs/README.md - Goonstation 13
Goonstation 13 - Modules - Types

DMAPI Internals

This folder should be placed on it's own inside a codebase that wishes to use the TGS DMAPI. Warranty void if modified.

+
    +
  • includes.dm is the file that should be included by DM code, it handles including the rest.
  • +
  • The core folder includes all code not directly part of any API version.
  • +
  • The other versioned folders contain code for the different DMAPI versions. +
      +
    • v4 is the legacy DMAPI 4 (Used in TGS 4.0.X versions).
    • +
    • v5 is the current DMAPI version used by TGS >=4.1.
    • +
    +
  • +
  • LICENSE is the MIT license for the DMAPI.
  • +
+

APIs communicate with TGS in two ways. All versions implement TGS -> DM communication using /world/Topic. DM -> TGS communication, called the bridge method, is different for each version.

\ No newline at end of file diff --git a/code/modules/tgs/core.html b/code/modules/tgs/core.html new file mode 100644 index 0000000000000..9004c7d20ad96 --- /dev/null +++ b/code/modules/tgs/core.html @@ -0,0 +1,8 @@ +code/modules/tgs/core/README.md - Goonstation 13
Goonstation 13 - Modules - Types

Core DMAPI functions

This folder contains all DMAPI code not directly involved in an API.

+
    +
  • _definitions.dm contains defines needed across DMAPI internals.
  • +
  • core.dm contains the implementations of the /world/proc/TgsXXX() procs. Many map directly to the /datum/tgs_api functions. It also contains the /datum selection and setup code.
  • +
  • datum.dm contains the /datum/tgs_api declarations that all APIs must implement.
  • +
  • tgs_version.dm contains the /datum/tgs_version definition
  • +
  • +
\ No newline at end of file diff --git a/code/modules/tgs/v4.html b/code/modules/tgs/v4.html new file mode 100644 index 0000000000000..58f71ff76cd4b --- /dev/null +++ b/code/modules/tgs/v4.html @@ -0,0 +1,5 @@ +code/modules/tgs/v4/README.md - Goonstation 13
Goonstation 13 - Modules - Types

DMAPI V4

This DMAPI implements bridge requests using file output which TGS monitors for. It has a safe mode restriction.

+
    +
  • api.dm contains the bulk of the API code.
  • +
  • commands.dm contains functions relating to /datum/tgs_chat_commands.
  • +
\ No newline at end of file diff --git a/code/modules/tgs/v5.html b/code/modules/tgs/v5.html new file mode 100644 index 0000000000000..04a60cbe2f9d5 --- /dev/null +++ b/code/modules/tgs/v5.html @@ -0,0 +1,12 @@ +code/modules/tgs/v5/README.md - Goonstation 13
Goonstation 13 - Modules - Types

DMAPI V5

This DMAPI implements bridge requests using HTTP GET requests to TGS. It has no security restrictions.

+
    +
  • __interop_version.dm contains the version of the API used between the DMAPI and TGS.
  • +
  • _defines.dm contains constant definitions.
  • +
  • api.dm contains the bulk of the API code.
  • +
  • bridge.dm contains functions related to making bridge requests.
  • +
  • chunking.dm contains common function for splitting large raw data sets into chunks BYOND can natively process.
  • +
  • commands.dm contains functions relating to /datum/tgs_chat_commands.
  • +
  • serializers.dm contains function to help convert interop /datums into a JSON encodable list() format.
  • +
  • topic.dm contains functions related to processing topic requests.
  • +
  • undefs.dm Undoes the work of _defines.dm.
  • +
\ No newline at end of file diff --git a/code/modules/tgui/external.html b/code/modules/tgui/external.html new file mode 100644 index 0000000000000..dc2f169fe4120 --- /dev/null +++ b/code/modules/tgui/external.html @@ -0,0 +1,3 @@ +code/modules/tgui/external.dm - Goonstation 13
Goonstation 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.
\ No newline at end of file diff --git a/code/modules/tgui/states/admin.html b/code/modules/tgui/states/admin.html new file mode 100644 index 0000000000000..0cdde259b0b9d --- /dev/null +++ b/code/modules/tgui/states/admin.html @@ -0,0 +1 @@ +code/modules/tgui/states/admin.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/tgui/states/admin.dm

/var/tgui_admin_statetgui state: admin_state
\ No newline at end of file diff --git a/code/modules/tgui/states/always.html b/code/modules/tgui/states/always.html new file mode 100644 index 0000000000000..479c227d9bd84 --- /dev/null +++ b/code/modules/tgui/states/always.html @@ -0,0 +1 @@ +code/modules/tgui/states/always.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/tgui/states/always.dm

/var/tgui_always_statetgui state: always_state
\ No newline at end of file diff --git a/code/modules/tgui/states/conscious.html b/code/modules/tgui/states/conscious.html new file mode 100644 index 0000000000000..3887d4b30d80e --- /dev/null +++ b/code/modules/tgui/states/conscious.html @@ -0,0 +1 @@ +code/modules/tgui/states/conscious.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/tgui/states/conscious.dm

/var/tgui_conscious_statetgui state: conscious_state
\ No newline at end of file diff --git a/code/modules/tgui/states/contained.html b/code/modules/tgui/states/contained.html new file mode 100644 index 0000000000000..2c094421334c4 --- /dev/null +++ b/code/modules/tgui/states/contained.html @@ -0,0 +1 @@ +code/modules/tgui/states/contained.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/tgui/states/contained.dm

/var/tgui_contained_statetgui state: contained_state
\ No newline at end of file diff --git a/code/modules/tgui/states/deep_inventory.html b/code/modules/tgui/states/deep_inventory.html new file mode 100644 index 0000000000000..1e0e05f6fcd6f --- /dev/null +++ b/code/modules/tgui/states/deep_inventory.html @@ -0,0 +1 @@ +code/modules/tgui/states/deep_inventory.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/tgui/states/deep_inventory.dm

/var/tgui_deep_inventory_statetgui state: deep_inventory_state
\ No newline at end of file diff --git a/code/modules/tgui/states/default.html b/code/modules/tgui/states/default.html new file mode 100644 index 0000000000000..ff54a3eed4f63 --- /dev/null +++ b/code/modules/tgui/states/default.html @@ -0,0 +1 @@ +code/modules/tgui/states/default.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/tgui/states/default.dm

/var/tgui_default_statetgui state: default_state
\ No newline at end of file diff --git a/code/modules/tgui/states/hands.html b/code/modules/tgui/states/hands.html new file mode 100644 index 0000000000000..7c66625f9a1b5 --- /dev/null +++ b/code/modules/tgui/states/hands.html @@ -0,0 +1 @@ +code/modules/tgui/states/hands.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/tgui/states/hands.dm

/var/tgui_hands_statetgui state: hands_state
\ No newline at end of file diff --git a/code/modules/tgui/states/human_adjacent.html b/code/modules/tgui/states/human_adjacent.html new file mode 100644 index 0000000000000..3c3dc7ee53589 --- /dev/null +++ b/code/modules/tgui/states/human_adjacent.html @@ -0,0 +1 @@ +code/modules/tgui/states/human_adjacent.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/tgui/states/human_adjacent.dm

/var/tgui_human_adjacent_statetgui state: human_adjacent_state
\ No newline at end of file diff --git a/code/modules/tgui/states/inventory.html b/code/modules/tgui/states/inventory.html new file mode 100644 index 0000000000000..58298dee4ebe0 --- /dev/null +++ b/code/modules/tgui/states/inventory.html @@ -0,0 +1 @@ +code/modules/tgui/states/inventory.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/tgui/states/inventory.dm

/var/tgui_inventory_statetgui state: inventory_state
\ No newline at end of file diff --git a/code/modules/tgui/states/not_broken.html b/code/modules/tgui/states/not_broken.html new file mode 100644 index 0000000000000..256d12af9562b --- /dev/null +++ b/code/modules/tgui/states/not_broken.html @@ -0,0 +1 @@ +code/modules/tgui/states/not_broken.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/tgui/states/not_broken.dm

/var/tgui_broken_statetgui state: broken
\ No newline at end of file diff --git a/code/modules/tgui/states/not_incapacitated.html b/code/modules/tgui/states/not_incapacitated.html new file mode 100644 index 0000000000000..be32da67617d8 --- /dev/null +++ b/code/modules/tgui/states/not_incapacitated.html @@ -0,0 +1 @@ +code/modules/tgui/states/not_incapacitated.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/tgui/states/not_incapacitated.dm

/var/tgui_not_incapacitated_statetgui state: not_incapacitated_state
/var/tgui_not_incapacitated_turf_statetgui state: not_incapacitated_turf_state
\ No newline at end of file diff --git a/code/modules/tgui/states/notcontained.html b/code/modules/tgui/states/notcontained.html new file mode 100644 index 0000000000000..2111cf8ca5824 --- /dev/null +++ b/code/modules/tgui/states/notcontained.html @@ -0,0 +1 @@ +code/modules/tgui/states/notcontained.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/tgui/states/notcontained.dm

/var/tgui_notcontained_statetgui state: notcontained_state
\ No newline at end of file diff --git a/code/modules/tgui/states/observer.html b/code/modules/tgui/states/observer.html new file mode 100644 index 0000000000000..79883d7cf28da --- /dev/null +++ b/code/modules/tgui/states/observer.html @@ -0,0 +1 @@ +code/modules/tgui/states/observer.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/tgui/states/observer.dm

/var/tgui_observer_statetgui state: observer_state
\ No newline at end of file diff --git a/code/modules/tgui/states/physical.html b/code/modules/tgui/states/physical.html new file mode 100644 index 0000000000000..84508f981a0f7 --- /dev/null +++ b/code/modules/tgui/states/physical.html @@ -0,0 +1 @@ +code/modules/tgui/states/physical.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/tgui/states/physical.dm

/var/tgui_physical_statetgui state: physical_state
/var/tgui_physical_obscured_statetgui state: physical_obscured_state
\ No newline at end of file diff --git a/code/modules/tgui/states/self.html b/code/modules/tgui/states/self.html new file mode 100644 index 0000000000000..b634bde759c6b --- /dev/null +++ b/code/modules/tgui/states/self.html @@ -0,0 +1 @@ +code/modules/tgui/states/self.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/tgui/states/self.dm

/var/tgui_self_statetgui state: self_state
\ No newline at end of file diff --git a/code/modules/tgui/states/zlevel.html b/code/modules/tgui/states/zlevel.html new file mode 100644 index 0000000000000..6021e34615651 --- /dev/null +++ b/code/modules/tgui/states/zlevel.html @@ -0,0 +1 @@ +code/modules/tgui/states/zlevel.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/tgui/states/zlevel.dm

/var/tgui_z_statetgui state: z_state
\ No newline at end of file diff --git a/code/modules/tgui/tgui.html b/code/modules/tgui/tgui.html new file mode 100644 index 0000000000000..186fcd867ec0d --- /dev/null +++ b/code/modules/tgui/tgui.html @@ -0,0 +1,2 @@ +code/modules/tgui/tgui.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/tgui/tgui.dm

/datum/tguiCopyright (c) 2020 Aleksej Komarov +SPDX-License-Identifier: MIT
\ No newline at end of file diff --git a/code/modules/tgui/tgui_alert.html b/code/modules/tgui/tgui_alert.html new file mode 100644 index 0000000000000..b8486c16609ac --- /dev/null +++ b/code/modules/tgui/tgui_alert.html @@ -0,0 +1,2 @@ +code/modules/tgui/tgui_alert.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/tgui/tgui_alert.dm

/proc/tgui_alertCreates a TGUI alert window and returns the user's response.
/datum/tgui_modalDatum used for instantiating and using a TGUI-controlled modal that prompts the user with +a message and has items for responses.
\ No newline at end of file diff --git a/code/modules/tgui/tgui_color_picker.html b/code/modules/tgui/tgui_color_picker.html new file mode 100644 index 0000000000000..d8e50c3d0afec --- /dev/null +++ b/code/modules/tgui/tgui_color_picker.html @@ -0,0 +1 @@ +code/modules/tgui/tgui_color_picker.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/tgui/tgui_color_picker.dm

/proc/tgui_color_pickerCreates a TGUI color picker window and returns the user's response.
/proc/tgui_color_picker_asyncCreates an asynchronous TGUI color picker window with an associated callback.
/datum/tgui_color_pickerDatum used for instantiating and using a TGUI-controlled color picker.
/datum/tgui_color_picker/asyncAn asynchronous version of tgui_color_picker to be used with callbacks instead of waiting on user responses.
\ No newline at end of file diff --git a/code/modules/tgui/tgui_input_bitfield.html b/code/modules/tgui/tgui_input_bitfield.html new file mode 100644 index 0000000000000..b003dc9eabdf2 --- /dev/null +++ b/code/modules/tgui/tgui_input_bitfield.html @@ -0,0 +1,2 @@ +code/modules/tgui/tgui_input_bitfield.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/tgui/tgui_input_bitfield.dm

/proc/tgui_input_bitfieldCopyright (c) 2024 @Azrun +SPDX-License-Identifier: MIT
/datum/tgui_input_bitfieldDatum used for instantiating and using a TGUI-controlled bitfield editor.
/datum/tgui_input_bitfield/asyncAn asynchronous version of tgui_input_bitfield to be used with callbacks instead of waiting on user responses.
\ No newline at end of file diff --git a/code/modules/tgui/tgui_input_list.html b/code/modules/tgui/tgui_input_list.html new file mode 100644 index 0000000000000..8bcd34e4503f4 --- /dev/null +++ b/code/modules/tgui/tgui_input_list.html @@ -0,0 +1,2 @@ +code/modules/tgui/tgui_input_list.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/tgui/tgui_input_list.dm

/proc/tgui_input_listCreates a TGUI input list window and returns the user's response.
/proc/tgui_input_list_asyncCreates an asynchronous TGUI input list window with an associated callback.
/datum/tgui_modal/list_inputDatum used for instantiating and using a TGUI-controlled list input that prompts the user with +a message and shows a list of selectable options
/datum/tgui_modal/list_input/asyncAn asynchronous version of tgui_modal/list_input to be used with callbacks instead of waiting on user responses.
\ No newline at end of file diff --git a/code/modules/tgui/tgui_input_number.html b/code/modules/tgui/tgui_input_number.html new file mode 100644 index 0000000000000..573ccb6e9f72f --- /dev/null +++ b/code/modules/tgui/tgui_input_number.html @@ -0,0 +1,2 @@ +code/modules/tgui/tgui_input_number.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/tgui/tgui_input_number.dm

/proc/tgui_input_numberCreates a TGUI window with a number input. Returns the user's response as num | null.
/proc/tgui_input_number_asyncCreates an asynchronous TGUI number input window with an associated callback.
/datum/tgui_input_numberDatum used for instantiating and using a TGUI-controlled numbox that prompts the user with +a message and has an input for text entry.
/datum/tgui_input_number/asyncAn asynchronous version of tgui_input_number to be used with callbacks instead of waiting on user responses.
\ No newline at end of file diff --git a/code/modules/tgui/tgui_input_pin.html b/code/modules/tgui/tgui_input_pin.html new file mode 100644 index 0000000000000..d310529709086 --- /dev/null +++ b/code/modules/tgui/tgui_input_pin.html @@ -0,0 +1,2 @@ +code/modules/tgui/tgui_input_pin.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/tgui/tgui_input_pin.dm

/proc/tgui_input_pinCreates a TGUI window with a PIN input. Returns the user's response as string | null.
/proc/tgui_input_pin_asyncCreates an asynchronous TGUI PIN input window with an associated callback.
/datum/tgui_input_pinDatum used for instantiating and using a TGUI-controlled pin keyboard that prompts the user with +a message and has an input for pin entry.
/datum/tgui_input_pin/asyncAn asynchronous version of tgui_input_pin to be used with callbacks instead of waiting on user responses.
\ No newline at end of file diff --git a/code/modules/tgui/tgui_input_text.html b/code/modules/tgui/tgui_input_text.html new file mode 100644 index 0000000000000..b5122a0f332ef --- /dev/null +++ b/code/modules/tgui/tgui_input_text.html @@ -0,0 +1,2 @@ +code/modules/tgui/tgui_input_text.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/tgui/tgui_input_text.dm

/proc/tgui_input_textCreates a TGUI window with a text input. Returns the user's response.
/proc/tgui_input_text_asyncCreates an asynchronous TGUI text input window with an associated callback.
/datum/tgui_input_textDatum used for instantiating and using a TGUI-controlled textbox that prompts the user with +a message and has an input for text entry.
/datum/tgui_input_text/asyncAn asynchronous version of tgui_input_text to be used with callbacks instead of waiting on user responses.
\ No newline at end of file diff --git a/code/modules/tgui/tgui_message.html b/code/modules/tgui/tgui_message.html new file mode 100644 index 0000000000000..ca22cdf05e160 --- /dev/null +++ b/code/modules/tgui/tgui_message.html @@ -0,0 +1,4 @@ +code/modules/tgui/tgui_message.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/tgui/tgui_message.dm

/proc/tgui_message@file +@copyright 2024 +@author ZeWaka (https://github.com/zewaka) +@license MIT
/datum/tgui_messageDatum used for instantiating and using a TGUI-controlled simple message box
\ No newline at end of file diff --git a/code/modules/tgui/tgui_window.html b/code/modules/tgui/tgui_window.html new file mode 100644 index 0000000000000..7d91553335ea0 --- /dev/null +++ b/code/modules/tgui/tgui_window.html @@ -0,0 +1,2 @@ +code/modules/tgui/tgui_window.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/tgui/tgui_window.dm

/datum/tgui_windowCopyright (c) 2020 Aleksej Komarov +SPDX-License-Identifier: MIT
\ No newline at end of file diff --git a/code/modules/transport/pods/life_support.html b/code/modules/transport/pods/life_support.html new file mode 100644 index 0000000000000..b1ba4872c2b0e --- /dev/null +++ b/code/modules/transport/pods/life_support.html @@ -0,0 +1 @@ +code/modules/transport/pods/life_support.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/transport/pods/life_support.dm

/obj/item/shipcomponent/life_supportHandles oxygen and heating
\ No newline at end of file diff --git a/code/modules/transport/pods/locomotion.html b/code/modules/transport/pods/locomotion.html new file mode 100644 index 0000000000000..0bc10b2c58f3c --- /dev/null +++ b/code/modules/transport/pods/locomotion.html @@ -0,0 +1 @@ +code/modules/transport/pods/locomotion.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/transport/pods/locomotion.dm

/obj/item/shipcomponent/locomotionDecides what movement controller the ship uses (These are for vehicle/TANK type only)
\ No newline at end of file diff --git a/code/modules/transport/pods/shipcomponents.html b/code/modules/transport/pods/shipcomponents.html new file mode 100644 index 0000000000000..48b9d305e810d --- /dev/null +++ b/code/modules/transport/pods/shipcomponents.html @@ -0,0 +1 @@ +code/modules/transport/pods/shipcomponents.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/transport/pods/shipcomponents.dm

/obj/item/shipcomponentship components have their work proc called in the vehicle's process
\ No newline at end of file diff --git a/code/modules/transport/pods/ships.html b/code/modules/transport/pods/ships.html new file mode 100644 index 0000000000000..b8356b71b2bee --- /dev/null +++ b/code/modules/transport/pods/ships.html @@ -0,0 +1 @@ +code/modules/transport/pods/ships.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/transport/pods/ships.dm

/obj/machinery/vehicle/podEscape pod
/obj/machinery/vehicle/reconRecon
/obj/machinery/vehicle/cargoCargo
/obj/machinery/vehicle/UFOUFO
/obj/machinery/vehicle/miniputtminiputt shuttles
/obj/machinery/vehicle/miniputt/pilotarmed civ putt
/obj/machinery/vehicle/miniputt/wizardwizard putt
/obj/machinery/vehicle/miniputt/syndiputtsyndicate putt
/obj/machinery/vehicle/miniputt/nanoputtnano putt
/obj/machinery/vehicle/miniputt/soviputtsoviet putt
/obj/machinery/vehicle/miniputt/indyputtengine putt
/obj/machinery/vehicle/miniputt/iridiumiridium putt
/obj/machinery/vehicle/miniputt/goldgold putt
/obj/machinery/vehicle/miniputt/blackstrange putt
/obj/machinery/vehicle/pod_civcogpod test
/obj/machinery/vehicle/pod_smoothAlso a Test
/obj/machinery/vehicle/escape_podShitty escape pod that flies by itself for a bit then explodes.
\ No newline at end of file diff --git a/code/modules/transport/pods/warp_travel.html b/code/modules/transport/pods/warp_travel.html new file mode 100644 index 0000000000000..611026baefae3 --- /dev/null +++ b/code/modules/transport/pods/warp_travel.html @@ -0,0 +1,2 @@ +code/modules/transport/pods/warp_travel.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/transport/pods/warp_travel.dm

/obj/warp_beaconWarp Beacons and Wormholes +Used by spaceships to travel to other Z-planes
\ No newline at end of file diff --git a/code/modules/transport/shuttle/shuttle_controller.html b/code/modules/transport/shuttle/shuttle_controller.html new file mode 100644 index 0000000000000..d394b9219b598 --- /dev/null +++ b/code/modules/transport/shuttle/shuttle_controller.html @@ -0,0 +1 @@ +code/modules/transport/shuttle/shuttle_controller.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/transport/shuttle/shuttle_controller.dm

/var/emergency_shuttleControls the emergency shuttle
\ No newline at end of file diff --git a/code/modules/transport/shuttle/shuttle_turfobjs.html b/code/modules/transport/shuttle/shuttle_turfobjs.html new file mode 100644 index 0000000000000..e0ad9a1a23d26 --- /dev/null +++ b/code/modules/transport/shuttle/shuttle_turfobjs.html @@ -0,0 +1 @@ +code/modules/transport/shuttle/shuttle_turfobjs.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/transport/shuttle/shuttle_turfobjs.dm

/turf/simulated/shuttleTURFS
/obj/indestructible/invisible_blockan invisible thing to stop people walking where they 'aint meant to.
\ No newline at end of file diff --git a/code/modules/unit_tests.html b/code/modules/unit_tests.html new file mode 100644 index 0000000000000..546e5a56911e2 --- /dev/null +++ b/code/modules/unit_tests.html @@ -0,0 +1,46 @@ +code/modules/unit_tests/README.md - Goonstation 13
Goonstation 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 TG 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 TG's 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/_build.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 goonstation.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, TG's 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, TG's 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.
  • +
+

Ported from TG Station with the blessing of the great Cyberboss and Mothblocks.

\ No newline at end of file diff --git a/code/modules/unit_tests/_unit_tests.html b/code/modules/unit_tests/_unit_tests.html new file mode 100644 index 0000000000000..2e4e30c1f27f0 --- /dev/null +++ b/code/modules/unit_tests/_unit_tests.html @@ -0,0 +1,7 @@ +code/modules/unit_tests/_unit_tests.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

code/modules/unit_tests/_unit_tests.dm

TEST_ASSERTAsserts that a condition is true +If the condition is not true, fails the test
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
UNIT_TEST_PASSEDConstants indicating unit test completion status

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

UNIT_TEST_PASSED

Constants indicating unit test completion status

\ No newline at end of file diff --git a/code/modules/unit_tests/deletions.html b/code/modules/unit_tests/deletions.html new file mode 100644 index 0000000000000..54d22a2df2dd8 --- /dev/null +++ b/code/modules/unit_tests/deletions.html @@ -0,0 +1,2 @@ +code/modules/unit_tests/deletions.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/unit_tests/deletions.dm

/datum/unit_test/deletion_regressionsThis is for regression tests of deletions that used to runtime. +This would ideally be replaced by Del The World, unit testing every single deletion.
\ No newline at end of file diff --git a/code/modules/worldgen/PrefabRuntimeChecker.html b/code/modules/worldgen/PrefabRuntimeChecker.html new file mode 100644 index 0000000000000..a82dc203e7f4e --- /dev/null +++ b/code/modules/worldgen/PrefabRuntimeChecker.html @@ -0,0 +1 @@ +code/modules/worldgen/PrefabRuntimeChecker.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/worldgen/PrefabRuntimeChecker.dm

/proc/placeAllPrefabs
\ No newline at end of file diff --git a/code/modules/worldgen/RandomRoomRuntimeChecker.html b/code/modules/worldgen/RandomRoomRuntimeChecker.html new file mode 100644 index 0000000000000..71e2e19aeca60 --- /dev/null +++ b/code/modules/worldgen/RandomRoomRuntimeChecker.html @@ -0,0 +1 @@ +code/modules/worldgen/RandomRoomRuntimeChecker.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/worldgen/RandomRoomRuntimeChecker.dm

/proc/placeAllRandomRoomsSimilar to the prefab runtime checker. The following text is mostly plagiarised from PrefabRuntimeChecker.dm
\ No newline at end of file diff --git a/code/modules/worldgen/mapgen/DesertGenerator.html b/code/modules/worldgen/mapgen/DesertGenerator.html new file mode 100644 index 0000000000000..e05646a07316c --- /dev/null +++ b/code/modules/worldgen/mapgen/DesertGenerator.html @@ -0,0 +1 @@ +code/modules/worldgen/mapgen/DesertGenerator.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/worldgen/mapgen/DesertGenerator.dm

/turf/simulated/wall/auto/asteroid/mountain/desertfor the mapgen mountains, temp until we get something better
\ No newline at end of file diff --git a/code/modules/worldgen/mapgen/IceMoonGenerator.html b/code/modules/worldgen/mapgen/IceMoonGenerator.html new file mode 100644 index 0000000000000..1be6b1d161300 --- /dev/null +++ b/code/modules/worldgen/mapgen/IceMoonGenerator.html @@ -0,0 +1 @@ +code/modules/worldgen/mapgen/IceMoonGenerator.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/worldgen/mapgen/IceMoonGenerator.dm

/turf/simulated/wall/auto/asteroid/mountain/icemoonfor the mapgen mountains, temp until we get something better
\ No newline at end of file diff --git a/code/modules/worldgen/mapgen/JungleGenerator.html b/code/modules/worldgen/mapgen/JungleGenerator.html new file mode 100644 index 0000000000000..4fea6172cc0af --- /dev/null +++ b/code/modules/worldgen/mapgen/JungleGenerator.html @@ -0,0 +1 @@ +code/modules/worldgen/mapgen/JungleGenerator.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/worldgen/mapgen/JungleGenerator.dm

/turf/simulated/wall/auto/asteroid/mountainfor the mapgen mountains, temp until we get something better
\ No newline at end of file diff --git a/code/modules/worldgen/mapgen/LavaMoonGenerator.html b/code/modules/worldgen/mapgen/LavaMoonGenerator.html new file mode 100644 index 0000000000000..876ff738ee175 --- /dev/null +++ b/code/modules/worldgen/mapgen/LavaMoonGenerator.html @@ -0,0 +1 @@ +code/modules/worldgen/mapgen/LavaMoonGenerator.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/worldgen/mapgen/LavaMoonGenerator.dm

/turf/simulated/wall/auto/asteroid/mountain/lavamoonfor the mapgen mountains, temp until we get something better
\ No newline at end of file diff --git a/code/modules/worldgen/mapgen/MarsGenerator.html b/code/modules/worldgen/mapgen/MarsGenerator.html new file mode 100644 index 0000000000000..05d3b4822bd45 --- /dev/null +++ b/code/modules/worldgen/mapgen/MarsGenerator.html @@ -0,0 +1 @@ +code/modules/worldgen/mapgen/MarsGenerator.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/worldgen/mapgen/MarsGenerator.dm

/turf/simulated/wall/auto/asteroid/marsfor the mapgen mountains, temp until we get something better
\ No newline at end of file diff --git a/code/modules/worldgen/mapgen/_MapGenerator.html b/code/modules/worldgen/mapgen/_MapGenerator.html new file mode 100644 index 0000000000000..58f3ed720e3bc --- /dev/null +++ b/code/modules/worldgen/mapgen/_MapGenerator.html @@ -0,0 +1 @@ +code/modules/worldgen/mapgen/_MapGenerator.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/worldgen/mapgen/_MapGenerator.dm

/var/biomesAll possible biomes in assoc list as type || instance
/proc/initialize_biomesInitialize all biomes, assoc as type || instance
/datum/map_generatorThis type is responsible for any map generation behavior that is done in areas, override this to allow for area-specific map generation. This generation is ran by areas on world/proc/init().
\ No newline at end of file diff --git a/code/modules/worldgen/mapgen/biomes/_biome.html b/code/modules/worldgen/mapgen/biomes/_biome.html new file mode 100644 index 0000000000000..99d77cfc00b71 --- /dev/null +++ b/code/modules/worldgen/mapgen/biomes/_biome.html @@ -0,0 +1 @@ +code/modules/worldgen/mapgen/biomes/_biome.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/worldgen/mapgen/biomes/_biome.dm

/datum/biomeThis datum handles the transitioning from a turf to a specific biome, and handles spawning decorative structures and mobs.
\ No newline at end of file diff --git a/code/modules/worldgen/prefab/mapPrefab.html b/code/modules/worldgen/prefab/mapPrefab.html new file mode 100644 index 0000000000000..abcd90265a961 --- /dev/null +++ b/code/modules/worldgen/prefab/mapPrefab.html @@ -0,0 +1,3 @@ +code/modules/worldgen/prefab/mapPrefab.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/worldgen/prefab/mapPrefab.dm

/proc/get_map_prefabsGets all prefabs of a given type.
/proc/pick_map_prefabPicks a random prefab from given prefab type. Filters the prefabs picked based on the given tags. +Choice is performed by a weighted random choice based on the prefab's probability. +Prefabs marked as required are always picked first.
\ No newline at end of file diff --git a/code/modules/worldgen/region_allocator/region_allocator.html b/code/modules/worldgen/region_allocator/region_allocator.html new file mode 100644 index 0000000000000..9ec15f305a5e3 --- /dev/null +++ b/code/modules/worldgen/region_allocator/region_allocator.html @@ -0,0 +1,22 @@ +code/modules/worldgen/region_allocator/region_allocator.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

code/modules/worldgen/region_allocator/region_allocator.dm

NODE_STATE_FREEAllocation of map regions.
/datum/allocated_regionRepresents a map region you have allocated access to. +While you hold a reference to this region you are free to assume nothing else will allocate this part of the map and touch your region. +You should also not go out of its bounds of course. +Deallocate the region by qdel()ing it or dropping all references to it.

Define Details

NODE_STATE_FREE

Allocation of map regions.

+

The system written in this file is used to get access to rectangular regions of the map space where you can place whatever you want to. +Intended usage is for map structures that either don't need to be loaded at all times or of which there can be multiples of. For example if you +wanted to make a locker that leads to its pocket dimension you will need to create a new pocket dimension for each locker. That's where allocating +a region for each of them would come in handy.

+

Example usage:

+
var/datum/allocated_region/region = global.region_allocator.allocate(width=10, height=8)
+for(var/x in 1 to region.width)
+	for(var/y in 1 to region.height)
+		if(x == 1 || y == 1 || x == region.width || y == region.height)
+			region.turf_at(x, y).ReplaceWith(/turf/unsimulated/wall)
+		else
+			region.turf_at(x, y).ReplaceWith(/turf/unsimulated/floor)
+mob.set_loc(region.turf_at(2, 2))
+boutput(mob, "You are in prison now.")
+SPAWN(60 SECONDS)
+	mob.set_loc(whatever)
+	qdel(region)
+
\ No newline at end of file diff --git a/code/modules/worldgen/worldgen_parent.html b/code/modules/worldgen/worldgen_parent.html new file mode 100644 index 0000000000000..47bd436712d6a --- /dev/null +++ b/code/modules/worldgen/worldgen_parent.html @@ -0,0 +1,3 @@ +code/modules/worldgen/worldgen_parent.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/worldgen/worldgen_parent.dm

/var/worldgenCandidatesLargely used for handling auto turfs that update their appearance +to "connect" to nearby walls +Turfs add themselves to this in their New()
\ No newline at end of file diff --git a/code/modules/writing/paper.html b/code/modules/writing/paper.html new file mode 100644 index 0000000000000..7419bf5210980 --- /dev/null +++ b/code/modules/writing/paper.html @@ -0,0 +1 @@ +code/modules/writing/paper.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/writing/paper.dm

/obj/item/paper/newspaperA blank newspaper, which will randomly generate a headline usually.
/obj/item/paper/newspaper/rolleda rolled up newspaper
\ No newline at end of file diff --git a/code/modules/writing/papers.html b/code/modules/writing/papers.html new file mode 100644 index 0000000000000..92f79df8953ce --- /dev/null +++ b/code/modules/writing/papers.html @@ -0,0 +1 @@ +code/modules/writing/papers.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/modules/writing/papers.dm

/obj/item/paper/CloningCloning Manual -- A big ol' manual.
\ No newline at end of file diff --git a/code/obj/critter/automaton.html b/code/obj/critter/automaton.html new file mode 100644 index 0000000000000..3d6e99b1411a8 --- /dev/null +++ b/code/obj/critter/automaton.html @@ -0,0 +1 @@ +code/obj/critter/automaton.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/obj/critter/automaton.dm

/var/the_automatoncogwerks spooky automaton thing that kinda just sits there being weird and ominous
\ No newline at end of file diff --git a/code/obj/effects/ion_trail.html b/code/obj/effects/ion_trail.html new file mode 100644 index 0000000000000..eb672e66937c8 --- /dev/null +++ b/code/obj/effects/ion_trail.html @@ -0,0 +1,4 @@ +code/obj/effects/ion_trail.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/obj/effects/ion_trail.dm

/obj/effects/ion_trails///// Attach an Ion trail to any object, that spawns when it moves (like for the jetpack) +just pass in the object to attach it to in set_up +Then do start() to start it and stop() to stop it, obviously +and don't call start() in a loop that will be repeated otherwise it'll get spammed!
\ No newline at end of file diff --git a/code/obj/effects/particles.html b/code/obj/effects/particles.html new file mode 100644 index 0000000000000..4e6dc828295ac --- /dev/null +++ b/code/obj/effects/particles.html @@ -0,0 +1 @@ +code/obj/effects/particles.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/obj/effects/particles.dm

/particles/barrel_embersfirey embers, for use with burning_barrel
/particles/bloody_auraUsed for bloodlings, maybe would be cool for other stuff!
/particles/petalsUsed for Lavender reagent
\ No newline at end of file diff --git a/code/obj/flock/structure/flock_structure_parent.html b/code/obj/flock/structure/flock_structure_parent.html new file mode 100644 index 0000000000000..9b8fa0292fe0a --- /dev/null +++ b/code/obj/flock/structure/flock_structure_parent.html @@ -0,0 +1 @@ +code/obj/flock/structure/flock_structure_parent.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/obj/flock/structure/flock_structure_parent.dm

/_is_abstract/obj/flock_structure
\ No newline at end of file diff --git a/code/obj/flock/structure/gnesisturret.html b/code/obj/flock/structure/gnesisturret.html new file mode 100644 index 0000000000000..585348d5623a7 --- /dev/null +++ b/code/obj/flock/structure/gnesisturret.html @@ -0,0 +1 @@ +code/obj/flock/structure/gnesisturret.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/obj/flock/structure/gnesisturret.dm

/obj/flock_structure/gnesisturret
\ No newline at end of file diff --git a/code/obj/flock/structure/sentinel.html b/code/obj/flock/structure/sentinel.html new file mode 100644 index 0000000000000..e60787845a088 --- /dev/null +++ b/code/obj/flock/structure/sentinel.html @@ -0,0 +1 @@ +code/obj/flock/structure/sentinel.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

code/obj/flock/structure/sentinel.dm

NOT_CHARGEDThe sentinel is without charge
LOSING_CHARGEThe sentinel is losing charge
CHARGINGThe sentinel is gaining charge
CHARGEDThe sentinel is charged

Define Details

CHARGED

The sentinel is charged

CHARGING

The sentinel is gaining charge

LOSING_CHARGE

The sentinel is losing charge

NOT_CHARGED

The sentinel is without charge

\ No newline at end of file diff --git a/code/obj/item.html b/code/obj/item.html new file mode 100644 index 0000000000000..581addf459eaa --- /dev/null +++ b/code/obj/item.html @@ -0,0 +1 @@ +code/obj/item.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/obj/item.dm

/_is_abstract/obj/itemBase item. These are objects you can hold, generally.
/obj/itemBase vars & procs
\ No newline at end of file diff --git a/code/obj/item/ai_modules.html b/code/obj/item/ai_modules.html new file mode 100644 index 0000000000000..46c66fdae834a --- /dev/null +++ b/code/obj/item/ai_modules.html @@ -0,0 +1 @@ +code/obj/item/ai_modules.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/obj/item/ai_modules.dm

/obj/item/aiModule/asimov1Modules
/obj/item/aiModule/robocop1RoboCop
/obj/item/aiModule/nanotrasen1Corporate
/_is_abstract/obj/item/aiModule/syndicateSyndicate
/obj/item/aiModule/makeCaptainMakeCaptain
/obj/item/aiModule/oneHumanOneHuman
/obj/item/aiModule/notHumanNotHuman
/obj/item/aiModule/protectStationProtectStation
/obj/item/aiModule/teleporterOfflineTeleporterOffline
/obj/item/aiModule/quarantineQuarantine
/obj/item/aiModule/oxygenOxygenIsToxicToHumans
/obj/item/aiModule/conservePowerConservePower
/obj/item/aiModule/emergencyEmergency
/obj/item/aiModule/removeCrewRemoval
/obj/item/aiModule/freeformFreeform
/obj/item/aiModule/randomRandom
/obj/item/aiModule/customCustom
/obj/item/aiModule/experimentalEXPERIMENTAL LAWS
/obj/item/aiModule/experimental/equality/aEquality
/obj/item/aiModule/experimental/corruptedCorrupted
/obj/item/aiModule/experimental/historicHistoric
/obj/item/aiModule/spaceodysseyGimmicks
/_is_abstract/obj/item/aiModule/hologram_expansionHologram Expansions
\ No newline at end of file diff --git a/code/obj/item/assembly/misc_assemblies.html b/code/obj/item/assembly/misc_assemblies.html new file mode 100644 index 0000000000000..c1b7d6ebc3277 --- /dev/null +++ b/code/obj/item/assembly/misc_assemblies.html @@ -0,0 +1 @@ +code/obj/item/assembly/misc_assemblies.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/obj/item/assembly/misc_assemblies.dm

/obj/item/assemblyAssembly parent
/obj/item/assembly/time_igniteTimer/igniter
/obj/item/assembly/prox_igniteProximity/igniter
/obj/item/assembly/rad_igniteRemote signaller/igniter
/obj/item/assembly/anal_igniteHealth analyzer/igniter
/obj/item/assembly/radio_hornRemote signaller/bike horn
/obj/item/assembly/rad_timeRemote signaller/timer
/obj/item/assembly/rad_proxRemote signaller/proximity
/_is_abstract/datum/pipeshotrecipehandmade shotgun shells
\ No newline at end of file diff --git a/code/obj/item/assembly/single_tank_bomb.html b/code/obj/item/assembly/single_tank_bomb.html new file mode 100644 index 0000000000000..4219889cc1dbc --- /dev/null +++ b/code/obj/item/assembly/single_tank_bomb.html @@ -0,0 +1 @@ +code/obj/item/assembly/single_tank_bomb.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/obj/item/assembly/single_tank_bomb.dm

/obj/item/assembly/proximity_bombSingle tank bomb (proximity)
/obj/item/assembly/time_bombSingle tank bomb (timer)
/obj/item/assembly/radio_bombSingle tank bomb (remote signaller)
\ No newline at end of file diff --git a/code/obj/item/boardgame.html b/code/obj/item/boardgame.html new file mode 100644 index 0000000000000..d792183b9b9c0 --- /dev/null +++ b/code/obj/item/boardgame.html @@ -0,0 +1,14 @@ +code/obj/item/boardgame/readme.md - Goonstation 13
Goonstation 13 - Modules - Types

code/obj/item/boardgame/readme.md

Give the boardgame a custom look by changing these variables.

+

@var STYLING_ASPECT +Aspect ratio of the board. This is the ratio of the width to the height. +1 = 1:1 +2 = 2:1 +0.5 = 1:2

+

Set to 0/FALSE/null to disable autoscaling

+

@var STYLING_NOTATIONS +Whether to use chess-like notation around the board. +a b c d... +1 ♜♞♝♛ +2 ♙♙♙♙ +3 +...

\ No newline at end of file diff --git a/code/obj/item/boardgame/boardgame.html b/code/obj/item/boardgame/boardgame.html new file mode 100644 index 0000000000000..fff6d1ddf0993 --- /dev/null +++ b/code/obj/item/boardgame/boardgame.html @@ -0,0 +1,5 @@ +code/obj/item/boardgame/boardgame.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

code/obj/item/boardgame/boardgame.dm

MAP_TEXT_MOVEDefines, don't change these unless you have a good reason to do so. +Makes it easier to change the values later on and avoids typos.
/obj/item/boardgame

Define Details

MAP_TEXT_MOVE

Defines, don't change these unless you have a good reason to do so. +Makes it easier to change the values later on and avoids typos.

+

Most of these values are shared by both dm and tgui, so check both +areas when changing them.

\ No newline at end of file diff --git a/code/obj/item/book.html b/code/obj/item/book.html new file mode 100644 index 0000000000000..d38a0c0b5805e --- /dev/null +++ b/code/obj/item/book.html @@ -0,0 +1 @@ +code/obj/item/book.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/obj/item/book.dm

/obj/item/paper/book/from_file/pocketguideJOB GUIDES / IN GAME GUIDES
/obj/item/paper/book/from_file/matsci_guide_oldMatSci and Mining
/obj/item/paper/book/from_file/ggcsftmEngineering and Mechanics Guides
/obj/item/paper/book/from_file/hydroponicsguideCivilian Guides
/obj/item/paper/book/from_file/ai_programming_101Head and Silicon Guides
/obj/item/paper/book/from_file/guardbot_guideMedical and Science Guides
/obj/item/paper/book/from_file/space_lawSecurity Guides
/obj/item/paper/book/from_file/monster_manualFUN AND GAMES GUIDES
/obj/item/diaryOTHER BOOKS
/obj/item/paper/book/customCUSTOM BOOKS
\ No newline at end of file diff --git a/code/obj/item/cable_coil.html b/code/obj/item/cable_coil.html new file mode 100644 index 0000000000000..8d2a5f979e930 --- /dev/null +++ b/code/obj/item/cable_coil.html @@ -0,0 +1 @@ +code/obj/item/cable_coil.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/obj/item/cable_coil.dm

/obj/item/cable_coil/reinforcedREINFORCED CABLE
\ No newline at end of file diff --git a/code/obj/item/clothing/fruithat.html b/code/obj/item/clothing/fruithat.html new file mode 100644 index 0000000000000..790d5ca6994b8 --- /dev/null +++ b/code/obj/item/clothing/fruithat.html @@ -0,0 +1 @@ +code/obj/item/clothing/fruithat.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/obj/item/clothing/fruithat.dm

/obj/item/dynassembly/fruitFRUITHAT ASSEMBLIES
\ No newline at end of file diff --git a/code/obj/item/clothing/gimmick.html b/code/obj/item/clothing/gimmick.html new file mode 100644 index 0000000000000..6d759467cb7ff --- /dev/null +++ b/code/obj/item/clothing/gimmick.html @@ -0,0 +1 @@ +code/obj/item/clothing/gimmick.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/obj/item/clothing/gimmick.dm

/obj/item/clothing/mask/cursedclown_hatCluwne
\ No newline at end of file diff --git a/code/obj/item/clothing/shoes.html b/code/obj/item/clothing/shoes.html new file mode 100644 index 0000000000000..5a23258b5ad68 --- /dev/null +++ b/code/obj/item/clothing/shoes.html @@ -0,0 +1 @@ +code/obj/item/clothing/shoes.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/obj/item/clothing/shoes.dm

/obj/item/clothing/shoes/sandal/magic/wizardSubtype that wizards spawn with, and is in their vendor. Cows can wear them, unlike regular sandals (might also be useful in the future)
\ No newline at end of file diff --git a/code/obj/item/device/chemicompiler.html b/code/obj/item/device/chemicompiler.html new file mode 100644 index 0000000000000..17ccbea70a67d --- /dev/null +++ b/code/obj/item/device/chemicompiler.html @@ -0,0 +1,8 @@ +code/obj/item/device/chemicompiler.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/obj/item/device/chemicompiler.dm

/datum/chemicompiler_core/portableCoreChemicompiler +v1.0 By volundr 9/24/14 +This device is a programmable chemistry mixing and heating device. +The javascript code to run the frontend is in browserassets/js/chemicompiler.min.js +which is minified javascript from browserassets/js/chemicompiler.js +If you make changes to the uncompressed javascript, you'll need to install node.js, +and run npm install -g uglify-js +then run uglifyjs browserassets/js/chemicompiler.js -c > browserassets/js/chemicompiler.min.js to rebuild the compressed version.
\ No newline at end of file diff --git a/code/obj/item/device/infrared_stuff.html b/code/obj/item/device/infrared_stuff.html new file mode 100644 index 0000000000000..1c02d451ef18d --- /dev/null +++ b/code/obj/item/device/infrared_stuff.html @@ -0,0 +1 @@ +code/obj/item/device/infrared_stuff.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/obj/item/device/infrared_stuff.dm

/obj/item/assembly/rad_infraRemote signaller/tripwire assembly
\ No newline at end of file diff --git a/code/obj/item/device/pda2/ringtone.html b/code/obj/item/device/pda2/ringtone.html new file mode 100644 index 0000000000000..a37fac446b241 --- /dev/null +++ b/code/obj/item/device/pda2/ringtone.html @@ -0,0 +1 @@ +code/obj/item/device/pda2/ringtone.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/obj/item/device/pda2/ringtone.dm

/datum/computer/file/pda_program/ringtoneRingtone Programs
/datum/computer/file/pda_program/ringtone/chimesRingtones by Retkid
/datum/computer/file/pda_program/ringtone/beepyRingtones also by Retkid
\ No newline at end of file diff --git a/code/obj/item/device/radio.html b/code/obj/item/device/radio.html new file mode 100644 index 0000000000000..92d798d8685bf --- /dev/null +++ b/code/obj/item/device/radio.html @@ -0,0 +1,4 @@ +code/obj/item/device/radio.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

code/obj/item/device/radio.dm

/var/no_more_radiosstupid global var, if true then all radios will start "bricked"
RADIO_MAPTEXT_MAX_RADIOS_DISPLAYING

Define Details

RADIO_MAPTEXT_MAX_RADIOS_DISPLAYING

\ No newline at end of file diff --git a/code/obj/item/device/radios/intercoms.html b/code/obj/item/device/radios/intercoms.html new file mode 100644 index 0000000000000..d1e08d94fd729 --- /dev/null +++ b/code/obj/item/device/radios/intercoms.html @@ -0,0 +1 @@ +code/obj/item/device/radios/intercoms.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/obj/item/device/radios/intercoms.dm

/obj/item/device/radio/intercom/adventure/owleryadventure area intercoms
\ No newline at end of file diff --git a/code/obj/item/device/scanners.html b/code/obj/item/device/scanners.html new file mode 100644 index 0000000000000..daed08777b652 --- /dev/null +++ b/code/obj/item/device/scanners.html @@ -0,0 +1 @@ +code/obj/item/device/scanners.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/obj/item/device/scanners.dm

/datum/contextAction/prisoner_scannerPrisoner Scanner Context Action
\ No newline at end of file diff --git a/code/obj/item/device/studio_monitor.html b/code/obj/item/device/studio_monitor.html new file mode 100644 index 0000000000000..39bdc1bfdda78 --- /dev/null +++ b/code/obj/item/device/studio_monitor.html @@ -0,0 +1 @@ +code/obj/item/device/studio_monitor.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/obj/item/device/studio_monitor.dm

/datum/statusEffect/nausea/musicMusic Status Effects
\ No newline at end of file diff --git a/code/obj/item/device/transfer_valve.html b/code/obj/item/device/transfer_valve.html new file mode 100644 index 0000000000000..1343c0c94202b --- /dev/null +++ b/code/obj/item/device/transfer_valve.html @@ -0,0 +1 @@ +code/obj/item/device/transfer_valve.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

code/obj/item/device/transfer_valve.dm

UPDATES_BEFORE_TIMEOUTHow many atmos ticks we are willing to count before giving up

Define Details

UPDATES_BEFORE_TIMEOUT

How many atmos ticks we are willing to count before giving up

\ No newline at end of file diff --git a/code/obj/item/generic_box.html b/code/obj/item/generic_box.html new file mode 100644 index 0000000000000..87da16278df6c --- /dev/null +++ b/code/obj/item/generic_box.html @@ -0,0 +1 @@ +code/obj/item/generic_box.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/obj/item/generic_box.dm

/obj/item/item_boxfor when you want something that "contains" a certain amount of an item
\ No newline at end of file diff --git a/code/obj/item/grenades.html b/code/obj/item/grenades.html new file mode 100644 index 0000000000000..7ce40342d9a86 --- /dev/null +++ b/code/obj/item/grenades.html @@ -0,0 +1 @@ +code/obj/item/grenades.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/obj/item/grenades.dm

/obj/item/fireworkFireworks
/obj/item/breaching_chargeBreaching charges
\ No newline at end of file diff --git a/code/obj/item/gun/ammo.html b/code/obj/item/gun/ammo.html new file mode 100644 index 0000000000000..87dd22a8f6fa1 --- /dev/null +++ b/code/obj/item/gun/ammo.html @@ -0,0 +1 @@ +code/obj/item/gun/ammo.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/obj/item/gun/ammo.dm

/obj/item/ammoParent
/obj/item/ammo/bulletsBullets for kinetic firearms
/obj/item/ammo/power_cellPower cells for eguns
\ No newline at end of file diff --git a/code/obj/item/gun/energy.html b/code/obj/item/gun/energy.html new file mode 100644 index 0000000000000..0921c5f573b8c --- /dev/null +++ b/code/obj/item/gun/energy.html @@ -0,0 +1,3 @@ +code/obj/item/gun/energy.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/obj/item/gun/energy.dm

/obj/item/gun/energy/taser_gunTASERGUN
/obj/item/gun/energy/laser_gunLASERGUN
/obj/item/gun/energy/phaser_gunPhaser
/obj/item/gun/energy/ntgunnanotrasen gun
/obj/item/gun/energy/tasershotgunTaser Shotgun
/obj/item/gun/energy/crabgunCrabgun
/obj/item/gun/energy/wavegunWave Gun
/obj/item/gun/energy/bfgBFG
/obj/item/gun/energy/owlmodular components - putting them here so it's easier to work on for now//////// +////////////////////////////Owl Gun
/obj/item/gun/energy/frogFrog Gun (Shoots :getin: and :getout:)
/obj/item/gun/energy/shrinkrayShrink Ray
/obj/item/gun/energy/glitch_gunGlitch Gun
/obj/item/gun/energy/neutronCrossbow that fires irradiating neutron projectiles like the nuclear reactor +DEBUG ITEM - don't actually use this for things. Unless you really want to, or it might be funny.
/obj/item/gun/energy/raygunRay Gun
\ No newline at end of file diff --git a/code/obj/item/hydroponics.html b/code/obj/item/hydroponics.html new file mode 100644 index 0000000000000..1d7e9978decef --- /dev/null +++ b/code/obj/item/hydroponics.html @@ -0,0 +1 @@ +code/obj/item/hydroponics.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/obj/item/hydroponics.dm

/obj/item/seedplanterSeed fabricator
/obj/item/gardentrowelGarden Trowel
/obj/item/reagent_containers/glass/wateringcanWatering can
/obj/item/reagent_containers/glass/compostbagCompost bag
/obj/item/reagent_containers/glass/bottle/weedkillerPlant formulas
\ No newline at end of file diff --git a/code/obj/item/implant.html b/code/obj/item/implant.html new file mode 100644 index 0000000000000..24c7fd9017c04 --- /dev/null +++ b/code/obj/item/implant.html @@ -0,0 +1 @@ +code/obj/item/implant.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/obj/item/implant.dm

/obj/item/implant/synDeprecated
/obj/item/implant/revengeAbstract supertype for implants that do something explodey-ish when you die. Includes functionality for scaling with implant number
\ No newline at end of file diff --git a/code/obj/item/kitchen.html b/code/obj/item/kitchen.html new file mode 100644 index 0000000000000..2551e6ba7ea31 --- /dev/null +++ b/code/obj/item/kitchen.html @@ -0,0 +1,4 @@ +code/obj/item/kitchen.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

code/obj/item/kitchen.dm

FOOD_POSITION_RADIUS

Define Details

FOOD_POSITION_RADIUS

\ No newline at end of file diff --git a/code/obj/item/manufacturing_blueprints.html b/code/obj/item/manufacturing_blueprints.html new file mode 100644 index 0000000000000..eb42668813579 --- /dev/null +++ b/code/obj/item/manufacturing_blueprints.html @@ -0,0 +1 @@ +code/obj/item/manufacturing_blueprints.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/obj/item/manufacturing_blueprints.dm

/obj/item/paper/manufacturer_blueprintManufacturer blueprints can be read by any manufacturer unit to add the referenced object to the unit's production options.
/obj/item/paper/manufacturer_blueprint/resonator_type_axNadir Resonators
/obj/item/cloner_blueprints_folderThis is a special item that breaks apart into blueprints for the machines needed to build/repair a cloner.
\ No newline at end of file diff --git a/code/obj/item/material.html b/code/obj/item/material.html new file mode 100644 index 0000000000000..2d3dec161fe8b --- /dev/null +++ b/code/obj/item/material.html @@ -0,0 +1 @@ +code/obj/item/material.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/obj/item/material.dm

/obj/item/raw_material/fabricThis has no material, why does it exist???? Someone replace it
\ No newline at end of file diff --git a/code/obj/item/misc_weapons.html b/code/obj/item/misc_weapons.html new file mode 100644 index 0000000000000..d26847e2bdd96 --- /dev/null +++ b/code/obj/item/misc_weapons.html @@ -0,0 +1 @@ +code/obj/item/misc_weapons.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/obj/item/misc_weapons.dm

/obj/item/daggerDagger
/obj/item/knife/butcherButcher's knife
/obj/item/knife/butcher/hunterspearHunter Spear
/obj/item/axeAxe
/obj/item/fireaxeFire Axe
/obj/item/banmeBan me
/obj/item/swordsSwords
\ No newline at end of file diff --git a/code/obj/item/misc_wizard_stuff.html b/code/obj/item/misc_wizard_stuff.html new file mode 100644 index 0000000000000..e075defd9a81c --- /dev/null +++ b/code/obj/item/misc_wizard_stuff.html @@ -0,0 +1 @@ +code/obj/item/misc_wizard_stuff.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/obj/item/misc_wizard_stuff.dm

/obj/item/staffStaves
/obj/magicmirrorMagic mirror
\ No newline at end of file diff --git a/code/obj/item/mob_parts/human_parts.html b/code/obj/item/mob_parts/human_parts.html new file mode 100644 index 0000000000000..aad48490115e8 --- /dev/null +++ b/code/obj/item/mob_parts/human_parts.html @@ -0,0 +1,18 @@ +code/obj/item/mob_parts/human_parts.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/obj/item/mob_parts/human_parts.dm

/obj/item/parts/human_parts/arm/mutantMUTANT PARENT PARTS
/obj/item/parts/human_parts/arm/mutant/cowCOW LIMBS +/ PARENT /
/obj/item/parts/human_parts/arm/mutant/cow/leftLIMBS
/obj/item/parts/human_parts/arm/mutant/pugPUG LIMBS
/obj/item/parts/human_parts/arm/mutant/lizardLIZARD LIMBS +// PARENT //
/obj/item/parts/human_parts/arm/mutant/lizard/leftACTUAL LIZARD LIMBS
/obj/item/parts/human_parts/arm/mutant/amphibianAMPHIBIAN LIMBS +// PARENT //
/obj/item/parts/human_parts/arm/mutant/amphibian/leftACTUAL AMPHIBIAN LIMBS
/obj/item/parts/human_parts/arm/mutant/shelterfrogSHELTERFROG LIMBS +// PARENT //
/obj/item/parts/human_parts/arm/mutant/shelterfrog/leftACTUAL SHELTERFROG LIMBS
/obj/item/parts/human_parts/arm/mutant/roachROACH LIMBS +// PARENT //
/obj/item/parts/human_parts/arm/mutant/roach/leftACTUAL ROACH LIMBS
/obj/item/parts/human_parts/arm/mutant/catCAT LIMBS +// PARENT //
/obj/item/parts/human_parts/arm/mutant/cat/leftACTUAL CAT LIMBS
/obj/item/parts/human_parts/arm/mutant/cat/bingus/leftACTUAL CAT LIMBS
/obj/item/parts/human_parts/leg/mutant/werewolfWEREWOLF LIMBS +// PARENT //////
/obj/item/parts/human_parts/leg/mutant/werewolf/leftTHE ACTUAL WOLFLIMBS
/obj/item/parts/human_parts/arm/mutant/vampiric_thrallVAMPIRE ZOMBIE LIMBS +/ PARENT /
/obj/item/parts/human_parts/arm/mutant/vampiric_thrall/leftLIMBS
/obj/item/parts/human_parts/arm/mutant/skeletonSKELETON LIMBS +/ PARENT /
/obj/item/parts/human_parts/arm/mutant/skeleton/leftLIMBS
/obj/item/parts/human_parts/arm/mutant/monkeyMONKEY LIMBS +/ PARENT /
/obj/item/parts/human_parts/arm/mutant/monkey/leftLIMBS
/obj/item/parts/human_parts/arm/mutant/seamonkeySEA MONKEY LIMBS +/ PARENT /
/obj/item/parts/human_parts/arm/mutant/seamonkey/leftLIMBS
/obj/item/parts/human_parts/arm/mutant/chickenCHICKEN LIMBS +/ PARENT /
/obj/item/parts/human_parts/leg/mutant/chicken/leftLIMBS
/obj/item/parts/human_parts/arm/mutant/kudzuKUDZU LIMBS +// PARENT //
/obj/item/parts/human_parts/arm/mutant/kudzu/leftACTUAL KUDZU LIMBS
/obj/item/parts/human_parts/arm/mutant/hunterHUNTER LIMBS +// PARENT //
/obj/item/parts/human_parts/arm/mutant/hunter/leftLIMBS
/obj/item/parts/human_parts/arm/mutant/virtualVIRTUAL LIMBS +// PARENT //
/obj/item/parts/human_parts/arm/mutant/virtual/leftLIMBS
/obj/item/parts/human_parts/arm/mutant/ithillidITHILLID LIMBS +// PARENT //
/obj/item/parts/human_parts/arm/mutant/ithillid/leftLIMBS
/obj/item/parts/human_parts/arm/mutant/flashyPSYCHEDELIC LIMBS +// PARENT //
/obj/item/parts/human_parts/arm/mutant/flashy/leftLIMBS
\ No newline at end of file diff --git a/code/obj/item/neon_lining.html b/code/obj/item/neon_lining.html new file mode 100644 index 0000000000000..3b2109dcdca54 --- /dev/null +++ b/code/obj/item/neon_lining.html @@ -0,0 +1 @@ +code/obj/item/neon_lining.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/obj/item/neon_lining.dm

/obj/item/neon_liningThe neon lining object, used for placing neon lining.
\ No newline at end of file diff --git a/code/obj/item/nuclear_operative/designator.html b/code/obj/item/nuclear_operative/designator.html new file mode 100644 index 0000000000000..f1edbd551c41e --- /dev/null +++ b/code/obj/item/nuclear_operative/designator.html @@ -0,0 +1 @@ +code/obj/item/nuclear_operative/designator.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/obj/item/nuclear_operative/designator.dm

/obj/item/device/laser_designatorLaser Designator & Airstrikes
\ No newline at end of file diff --git a/code/obj/item/organs/tail.html b/code/obj/item/organs/tail.html new file mode 100644 index 0000000000000..951493aaeb58e --- /dev/null +++ b/code/obj/item/organs/tail.html @@ -0,0 +1,4 @@ +code/obj/item/organs/tail.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/obj/item/organs/tail.dm

/obj/item/organ/tailSevered tail images go in 'icons/obj/organ/tail.dmi' +on-mob tail images are defined by organ_image_icon +both severed and on-mob tail icon_states are defined by just icon_state +try to keep the names the same, or everything breaks
\ No newline at end of file diff --git a/code/obj/item/paint.html b/code/obj/item/paint.html new file mode 100644 index 0000000000000..45378232168f4 --- /dev/null +++ b/code/obj/item/paint.html @@ -0,0 +1 @@ +code/obj/item/paint.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/obj/item/paint.dm

/obj/machinery/vending/paint/brokenbroken paint vending machine
/var/cached_colorspaint cans
\ No newline at end of file diff --git a/code/obj/item/pet_carrier.html b/code/obj/item/pet_carrier.html new file mode 100644 index 0000000000000..57c9ddf8a8d86 --- /dev/null +++ b/code/obj/item/pet_carrier.html @@ -0,0 +1 @@ +code/obj/item/pet_carrier.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/obj/item/pet_carrier.dm

/obj/item/pet_carrierCode by DisturbHerb, icons by Azwald/Sunkiisu.
/datum/action/bar/icon/pet_carrierPertains to actions executed by the pet carrier.
\ No newline at end of file diff --git a/code/obj/item/pinpointer.html b/code/obj/item/pinpointer.html new file mode 100644 index 0000000000000..c2b5680db37cb --- /dev/null +++ b/code/obj/item/pinpointer.html @@ -0,0 +1 @@ +code/obj/item/pinpointer.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/obj/item/pinpointer.dm

/obj/item/pinpointer/categorytracks something using by_type or by_cat, see types.dm for more info
\ No newline at end of file diff --git a/code/obj/item/plants.html b/code/obj/item/plants.html new file mode 100644 index 0000000000000..f628dd8d59c7f --- /dev/null +++ b/code/obj/item/plants.html @@ -0,0 +1 @@ +code/obj/item/plants.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/obj/item/plants.dm

/obj/item/plantInedible Produce
\ No newline at end of file diff --git a/code/obj/item/playing_cards.html b/code/obj/item/playing_cards.html new file mode 100644 index 0000000000000..a93f6e9f6d320 --- /dev/null +++ b/code/obj/item/playing_cards.html @@ -0,0 +1 @@ +code/obj/item/playing_cards.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/obj/item/playing_cards.dm

/obj/item/card_groupsince "playing_card"s are singular cards, card_groups handling groups of playing_cards in the form of either a deck or hand
\ No newline at end of file diff --git a/code/obj/item/power_stones.html b/code/obj/item/power_stones.html new file mode 100644 index 0000000000000..f44c46824b49f --- /dev/null +++ b/code/obj/item/power_stones.html @@ -0,0 +1 @@ +code/obj/item/power_stones.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/obj/item/power_stones.dm

/obj/item/power_stones/OwlGimmick Stones
\ No newline at end of file diff --git a/code/obj/item/rcd/rcd.html b/code/obj/item/rcd/rcd.html new file mode 100644 index 0000000000000..d8d31509e157b --- /dev/null +++ b/code/obj/item/rcd/rcd.html @@ -0,0 +1 @@ +code/obj/item/rcd/rcd.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/obj/item/rcd/rcd.dm

/obj/item/rcdBase RCD this is the variant actually used in most scenarios
/obj/item/rcd/testingOnly for testing
/obj/item/rcd/cyborgUnused except for in the research module
\ No newline at end of file diff --git a/code/obj/item/rcd/rcd_construction.html b/code/obj/item/rcd/rcd_construction.html new file mode 100644 index 0000000000000..1212e6e379b78 --- /dev/null +++ b/code/obj/item/rcd/rcd_construction.html @@ -0,0 +1 @@ +code/obj/item/rcd/rcd_construction.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/obj/item/rcd/rcd_construction.dm

/obj/item/rcd/constructionConstruction mode RCD variant
/obj/item/rcd/construction/safeSafe variants don't spew sparks everywhere
/obj/item/rcd/construction/chiefEngineerChief Engineer RCD has fancy door functions and a mild discount, but no capacity increase
\ No newline at end of file diff --git a/code/obj/item/rcd/rcd_gimmicks.html b/code/obj/item/rcd/rcd_gimmicks.html new file mode 100644 index 0000000000000..8e73db4234373 --- /dev/null +++ b/code/obj/item/rcd/rcd_gimmicks.html @@ -0,0 +1 @@ +code/obj/item/rcd/rcd_gimmicks.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/obj/item/rcd/rcd_gimmicks.dm

/obj/item/rcd_fakeThis isnt used anywhere that I can find
/obj/item/broken_rcdBroken RCDs. Attempting to use them is... ill advised.
\ No newline at end of file diff --git a/code/obj/item/sec_tape.html b/code/obj/item/sec_tape.html new file mode 100644 index 0000000000000..e1c54c70fedc1 --- /dev/null +++ b/code/obj/item/sec_tape.html @@ -0,0 +1 @@ +code/obj/item/sec_tape.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/obj/item/sec_tape.dm

/obj/item/sec_tapeThe security tape roll object, used to create security tapes.
\ No newline at end of file diff --git a/code/obj/item/storage/ammo_pouches.html b/code/obj/item/storage/ammo_pouches.html new file mode 100644 index 0000000000000..f4d1f1bad9ab6 --- /dev/null +++ b/code/obj/item/storage/ammo_pouches.html @@ -0,0 +1 @@ +code/obj/item/storage/ammo_pouches.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/obj/item/storage/ammo_pouches.dm

/obj/item/storage/pouch/highcap/midcapweaker pouch for gangs
\ No newline at end of file diff --git a/code/obj/item/storage/lunchboxes.html b/code/obj/item/storage/lunchboxes.html new file mode 100644 index 0000000000000..d2f8a378be389 --- /dev/null +++ b/code/obj/item/storage/lunchboxes.html @@ -0,0 +1 @@ +code/obj/item/storage/lunchboxes.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/obj/item/storage/lunchboxes.dm

/obj/item/storage/lunchboxlunchboxes
\ No newline at end of file diff --git a/code/obj/item/stun_baton.html b/code/obj/item/stun_baton.html new file mode 100644 index 0000000000000..088d8b8493d35 --- /dev/null +++ b/code/obj/item/stun_baton.html @@ -0,0 +1 @@ +code/obj/item/stun_baton.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/obj/item/stun_baton.dm

/obj/item/baton/secbotSubtypes
\ No newline at end of file diff --git a/code/obj/item/tank.html b/code/obj/item/tank.html new file mode 100644 index 0000000000000..b24ca0a911e7f --- /dev/null +++ b/code/obj/item/tank.html @@ -0,0 +1 @@ +code/obj/item/tank.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

code/obj/item/tank.dm

TANK_VOLUMEThe volume of a normal tank in litres

Define Details

TANK_VOLUME

The volume of a normal tank in litres

\ No newline at end of file diff --git a/code/obj/item/tool/electronics.html b/code/obj/item/tool/electronics.html new file mode 100644 index 0000000000000..9ecbd899b2c9f --- /dev/null +++ b/code/obj/item/tool/electronics.html @@ -0,0 +1 @@ +code/obj/item/tool/electronics.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/obj/item/tool/electronics.dm

/obj/item/electronics/boardup
/obj/item/electronics/keypadup
/obj/item/electronics/screenup
/obj/item/electronics/buzzerup
/obj/item/electronics/frameno
/obj/item/electronics/diskno
/obj/item/electronics/scannerup
/obj/machinery/rkitno
\ No newline at end of file diff --git a/code/obj/item/tool/omnitool.html b/code/obj/item/tool/omnitool.html new file mode 100644 index 0000000000000..727f02aa86f2a --- /dev/null +++ b/code/obj/item/tool/omnitool.html @@ -0,0 +1 @@ +code/obj/item/tool/omnitool.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/obj/item/tool/omnitool.dm

/datum/contextAction/omnitoolOmnitool context action
\ No newline at end of file diff --git a/code/obj/item/uplinks.html b/code/obj/item/uplinks.html new file mode 100644 index 0000000000000..31e9ba271aecd --- /dev/null +++ b/code/obj/item/uplinks.html @@ -0,0 +1 @@ +code/obj/item/uplinks.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/obj/item/uplinks.dm

/obj/item/uplinkUplink parent
/obj/item/uplink/syndicateSyndicate uplink
/obj/item/uplink/integratedIntegrated uplinks (PDA & headset)
/datum/bounty_claimDatum used to combine the bounty being claimed with the item being delivered
/obj/item/SWF_uplinkWizard's spellbook
/_is_abstract/datum/SWFuplinkspellWizard's spells
\ No newline at end of file diff --git a/code/obj/item/zoldorfmisc.html b/code/obj/item/zoldorfmisc.html new file mode 100644 index 0000000000000..81a51355047ea --- /dev/null +++ b/code/obj/item/zoldorfmisc.html @@ -0,0 +1,3 @@ +code/obj/item/zoldorfmisc.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/obj/item/zoldorfmisc.dm

/obj/item/zolscrollScroll used to take on zoldorf's curse +The contract people sign to become zoldorf. +Stores the name of the signer so players can't sell someone elses soul in a forced zoldorfing.
/obj/item/zoldorfdeckTotally Normal Deck of Cards (TM)
\ No newline at end of file diff --git a/code/obj/landmark.html b/code/obj/landmark.html new file mode 100644 index 0000000000000..c576191229cbc --- /dev/null +++ b/code/obj/landmark.html @@ -0,0 +1 @@ +code/obj/landmark.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/obj/landmark.dm

/obj/landmark/shuttle_subwooferemergency shuttle launch sound origin
\ No newline at end of file diff --git a/code/obj/lattice.html b/code/obj/lattice.html new file mode 100644 index 0000000000000..bb1e15b0a4430 --- /dev/null +++ b/code/obj/lattice.html @@ -0,0 +1,2 @@ +code/obj/lattice.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/obj/lattice.dm

/obj/latticemetal beam lattices for connecting station parts.
/obj/lattice/barricadeliterally only used in 'assets/maps/prefabs/prefab_water_honk.dmm' Why not just use a girder?
/obj/lattice/directional_iconsa lattice that starts off with icon_state "lattice-dir"
/obj/lattice/directional_icons_alta lattice that starts off with icon_state "lattice-dir-b"
/obj/lattice/autolattice spawners, for mapping large quantities of lattice at once. +They auto connect in four directions depending on the lattices around them, plus you can set them to connect to certain turfs.
/obj/lattice/auto/wall_attachingconnect to all simulated and unsimulated walls
/obj/lattice/auto/turf_attachingconnect to all non turf/space turfs
\ No newline at end of file diff --git a/code/obj/machinery/computer/QM_supply.html b/code/obj/machinery/computer/QM_supply.html new file mode 100644 index 0000000000000..71cf91fb4ad95 --- /dev/null +++ b/code/obj/machinery/computer/QM_supply.html @@ -0,0 +1 @@ +code/obj/machinery/computer/QM_supply.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

code/obj/machinery/computer/QM_supply.dm

SUPPLY_PRINT_COOLDOWNAmount of time before supply consoles can print again

Define Details

SUPPLY_PRINT_COOLDOWN

Amount of time before supply consoles can print again

\ No newline at end of file diff --git a/code/obj/machinery/computer/announcement.html b/code/obj/machinery/computer/announcement.html new file mode 100644 index 0000000000000..d70fffff2aa13 --- /dev/null +++ b/code/obj/machinery/computer/announcement.html @@ -0,0 +1 @@ +code/obj/machinery/computer/announcement.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/obj/machinery/computer/announcement.dm

/obj/machinery/computer/announcementGeneral Announcement Computer
\ No newline at end of file diff --git a/code/obj/machinery/computer/cloning.html b/code/obj/machinery/computer/cloning.html new file mode 100644 index 0000000000000..b5a93e50117a4 --- /dev/null +++ b/code/obj/machinery/computer/cloning.html @@ -0,0 +1,3 @@ +code/obj/machinery/computer/cloning.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/obj/machinery/computer/cloning.dm

/proc/eligible_to_cloneCheck if a mind has a current mob, a client, and is dead/a ghost/doing afterlife stuff. +Scanning var controls whether we will return ghosts, because ghosts needs special handling in clone scans +to ensure they're not using a body that they've been cloned from before
/proc/find_ghost_by_keyfind a ghost mob (or a ghost respawned as critter in vr/afterlife bar)
\ No newline at end of file diff --git a/code/obj/machinery/door/airlock.html b/code/obj/machinery/door/airlock.html new file mode 100644 index 0000000000000..5a87539f3c321 --- /dev/null +++ b/code/obj/machinery/door/airlock.html @@ -0,0 +1 @@ +code/obj/machinery/door/airlock.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/obj/machinery/door/airlock.dm

/var/cycling_airlocksa global associative list of all airlocks linked together by cycling mechanisms. Indexed by ID
\ No newline at end of file diff --git a/code/obj/machinery/door/door_control.html b/code/obj/machinery/door/door_control.html new file mode 100644 index 0000000000000..681408e781278 --- /dev/null +++ b/code/obj/machinery/door/door_control.html @@ -0,0 +1 @@ +code/obj/machinery/door/door_control.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/obj/machinery/door/door_control.dm

/obj/machinery/door_control/antagscannerfor sleepers entering listening post
/_is_abstract/obj/machinery/activation_buttonMachine activation buttons
/obj/machinery/r_door_control////Uses a radio signal to control the door
\ No newline at end of file diff --git a/code/obj/machinery/door/door_parent.html b/code/obj/machinery/door/door_parent.html new file mode 100644 index 0000000000000..2b46da5bedea3 --- /dev/null +++ b/code/obj/machinery/door/door_parent.html @@ -0,0 +1 @@ +code/obj/machinery/door/door_parent.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/obj/machinery/door/door_parent.dm

/obj/machinery/door/unpoweredUnpowered doors
\ No newline at end of file diff --git a/code/obj/machinery/door/window.html b/code/obj/machinery/door/window.html new file mode 100644 index 0000000000000..3a254d817b1d1 --- /dev/null +++ b/code/obj/machinery/door/window.html @@ -0,0 +1 @@ +code/obj/machinery/door/window.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/obj/machinery/door/window.dm

/obj/machinery/door/windowSliding door parent
/obj/machinery/door/window/brigdoorBrig door
/obj/machinery/door/window/opaqueOpaque door
/obj/machinery/door/window/northleftGeneric door
\ No newline at end of file diff --git a/code/obj/machinery/food_and_drink/mixer.html b/code/obj/machinery/food_and_drink/mixer.html new file mode 100644 index 0000000000000..2ca9ddcd41e68 --- /dev/null +++ b/code/obj/machinery/food_and_drink/mixer.html @@ -0,0 +1 @@ +code/obj/machinery/food_and_drink/mixer.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

code/obj/machinery/food_and_drink/mixer.dm

MIXER_MAX_CONTENTSMax amount of items allowed in mixer bowl
MIXER_MIXING_POWER_USAGEPower used during mixing
MIX_TIMEMixing time in seconds

Define Details

MIXER_MAX_CONTENTS

Max amount of items allowed in mixer bowl

MIXER_MIXING_POWER_USAGE

Power used during mixing

MIX_TIME

Mixing time in seconds

\ No newline at end of file diff --git a/code/obj/machinery/lightswitch.html b/code/obj/machinery/lightswitch.html new file mode 100644 index 0000000000000..9faf26a144328 --- /dev/null +++ b/code/obj/machinery/lightswitch.html @@ -0,0 +1 @@ +code/obj/machinery/lightswitch.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

code/obj/machinery/lightswitch.dm

SWITCH_SPAM_TIMEOUTAmount of time before a light switch resets its spam cooldown counter
SWITCH_SPAM_START_THRESHOLDNumber of manual toggles before the light switch begins shocking people
SWITCH_SPAM_MAJOR_THRESHOLDNumber of manual toggles before light switches start really hurting people

Define Details

SWITCH_SPAM_MAJOR_THRESHOLD

Number of manual toggles before light switches start really hurting people

SWITCH_SPAM_START_THRESHOLD

Number of manual toggles before the light switch begins shocking people

SWITCH_SPAM_TIMEOUT

Amount of time before a light switch resets its spam cooldown counter

\ No newline at end of file diff --git a/code/obj/machinery/manufacturer.html b/code/obj/machinery/manufacturer.html new file mode 100644 index 0000000000000..4a7c4a61ff8d7 --- /dev/null +++ b/code/obj/machinery/manufacturer.html @@ -0,0 +1 @@ +code/obj/machinery/manufacturer.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

code/obj/machinery/manufacturer.dm

MAX_QUEUE_LENGTHmaximum amount of blueprints which may be queued for printing
MAX_OUTPUTmaximum amount of items produced for a blueprint at once
WIRE_EXTENDwire which reveals blueprints in the "hidden" type
WIRE_POWERwire which can disable machine power
WIRE_MALFwire which causes machine to malfunction
WIRE_SHOCKthis wire is in the machine specifically to shock curious staff assistants
MODE_READYmachine is ready to produce more things
MODE_WORKINGmachine is making some things
MODE_HALTmachine had to stop making things or couldnt due to some problem that occured
MIN_SPEEDlowest speed manufacturer can function at
DEFAULT_SPEEDspeed which manufacturers run at by default
MAX_SPEEDmaximum speed default manufacturers can be set to
MAX_SPEED_HACKEDmaximum speed manufacturers which are hacked (WIRE_EXTEND has been pulsed) can be set to
MAX_SPEED_DAMAGEDmaximum speed that manufacturers which flip_out() can be set to, randomly.
DISMANTLE_NONE0 - Undismantled state. Changed to 1 (DISMANTLE_PLATING_BOLTS) with a wrenching tool, or back to 0 with a wrenching tool too.
DISMANTLE_PLATING_BOLTS1 - External plating pryable. Changed to 2 (DISMANTLE_PLATING_SHEETS) with a prying tool, or back to 1 with renforced metal sheets.
DISMANTLE_PLATING_SHEETS2 - Internal wiring exposed. Changed to 3 (DISMANTLE_WIRES) with a snipping tool, changed to 2 by adding cabling back.
DISMANTLE_WIRES3 - internal mechanism exposed. Using a wrenching tool at this point disassembles it into sheet metal.
/proc/build_manufacturer_iconsPre-build the icons for things manufacturers make

Define Details

DEFAULT_SPEED

speed which manufacturers run at by default

DISMANTLE_NONE

0 - Undismantled state. Changed to 1 (DISMANTLE_PLATING_BOLTS) with a wrenching tool, or back to 0 with a wrenching tool too.

DISMANTLE_PLATING_BOLTS

1 - External plating pryable. Changed to 2 (DISMANTLE_PLATING_SHEETS) with a prying tool, or back to 1 with renforced metal sheets.

DISMANTLE_PLATING_SHEETS

2 - Internal wiring exposed. Changed to 3 (DISMANTLE_WIRES) with a snipping tool, changed to 2 by adding cabling back.

DISMANTLE_WIRES

3 - internal mechanism exposed. Using a wrenching tool at this point disassembles it into sheet metal.

MAX_OUTPUT

maximum amount of items produced for a blueprint at once

MAX_QUEUE_LENGTH

maximum amount of blueprints which may be queued for printing

MAX_SPEED

maximum speed default manufacturers can be set to

MAX_SPEED_DAMAGED

maximum speed that manufacturers which flip_out() can be set to, randomly.

MAX_SPEED_HACKED

maximum speed manufacturers which are hacked (WIRE_EXTEND has been pulsed) can be set to

MIN_SPEED

lowest speed manufacturer can function at

MODE_HALT

machine had to stop making things or couldnt due to some problem that occured

MODE_READY

machine is ready to produce more things

MODE_WORKING

machine is making some things

WIRE_EXTEND

wire which reveals blueprints in the "hidden" type

WIRE_MALF

wire which causes machine to malfunction

WIRE_POWER

wire which can disable machine power

WIRE_SHOCK

this wire is in the machine specifically to shock curious staff assistants

\ No newline at end of file diff --git a/code/obj/machinery/manufacturer_subtypes.html b/code/obj/machinery/manufacturer_subtypes.html new file mode 100644 index 0000000000000..455d597efcb8b --- /dev/null +++ b/code/obj/machinery/manufacturer_subtypes.html @@ -0,0 +1 @@ +code/obj/machinery/manufacturer_subtypes.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/obj/machinery/manufacturer_subtypes.dm

/obj/machinery/manufacturer/gascogwerks - a gas extractor for the engine
\ No newline at end of file diff --git a/code/obj/machinery/medimulcher.html b/code/obj/machinery/medimulcher.html new file mode 100644 index 0000000000000..f5f50327b1c3b --- /dev/null +++ b/code/obj/machinery/medimulcher.html @@ -0,0 +1 @@ +code/obj/machinery/medimulcher.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

code/obj/machinery/medimulcher.dm

MDM_MAX_STOMACHHow much food, by bites_left, the medimulcher can hold in its 'stomach' at once
MDM_CYST_COSTHow many digested nutrients (1 per bites_left) the medimulcher needs to produce an anticyst (healing "patch") for you
MDM_MAX_DIGESTIONAmount of digested nutrients the medimulcher can hold at one time
/obj/machinery/medimulcherA prototypist "artifact reverse-engineer" reward: hybridized Martian tech turning food into synthflesh "patches"

Define Details

MDM_CYST_COST

How many digested nutrients (1 per bites_left) the medimulcher needs to produce an anticyst (healing "patch") for you

MDM_MAX_DIGESTION

Amount of digested nutrients the medimulcher can hold at one time

MDM_MAX_STOMACH

How much food, by bites_left, the medimulcher can hold in its 'stomach' at once

\ No newline at end of file diff --git a/code/obj/machinery/porters.html b/code/obj/machinery/porters.html new file mode 100644 index 0000000000000..a25b750f56ad9 --- /dev/null +++ b/code/obj/machinery/porters.html @@ -0,0 +1,2 @@ +code/obj/machinery/porters.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/obj/machinery/porters.dm

/var/portable_machineryRemote parent
/obj/item/remote/porter/port_a_brigRemotes
/obj/storage/closet/port_a_sci/// Port-a-Medbay +Port-a-Sci //////
\ No newline at end of file diff --git a/code/obj/machinery/printing_press.html b/code/obj/machinery/printing_press.html new file mode 100644 index 0000000000000..4b47937f6c3ac --- /dev/null +++ b/code/obj/machinery/printing_press.html @@ -0,0 +1 @@ +code/obj/machinery/printing_press.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/obj/machinery/printing_press.dm

/obj/machinery/printing_pressmakes books and pamphlets.
\ No newline at end of file diff --git a/code/obj/machinery/recharger.html b/code/obj/machinery/recharger.html new file mode 100644 index 0000000000000..5263f33dfe9c1 --- /dev/null +++ b/code/obj/machinery/recharger.html @@ -0,0 +1 @@ +code/obj/machinery/recharger.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/obj/machinery/recharger.dm

/obj/machinery/rechargerTypical powercell recharger
/obj/machinery/recharger/wallwall rechargers!!
\ No newline at end of file diff --git a/code/obj/machinery/shield_generators/energy_shield.html b/code/obj/machinery/shield_generators/energy_shield.html new file mode 100644 index 0000000000000..ae9939878f7c7 --- /dev/null +++ b/code/obj/machinery/shield_generators/energy_shield.html @@ -0,0 +1 @@ +code/obj/machinery/shield_generators/energy_shield.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

code/obj/machinery/shield_generators/energy_shield.dm

SHIELD_BLOCK_GASBlock gases, both atmospheric and chemsmoke
SHIELD_BLOCK_FLUIDBlock liquids and gases
SHIELD_BLOCK_ALLBlock everything; functionally a wall of energy

Define Details

SHIELD_BLOCK_ALL

Block everything; functionally a wall of energy

SHIELD_BLOCK_FLUID

Block liquids and gases

SHIELD_BLOCK_GAS

Block gases, both atmospheric and chemsmoke

\ No newline at end of file diff --git a/code/obj/machinery/singularity.html b/code/obj/machinery/singularity.html new file mode 100644 index 0000000000000..0eaee59c3a6ec --- /dev/null +++ b/code/obj/machinery/singularity.html @@ -0,0 +1,2 @@ +code/obj/machinery/singularity.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/obj/machinery/singularity.dm

/proc/singularity_containment_checkChecks if there is a containment field in each direction from the center turf. If not returns null. +If yes returns the distance to the closest field.
/obj/machinery/the_singularitySingularity
/obj/machinery/the_singularity/adminSingularity that can exist on restricted z levels
/obj/machinery/containment_fieldContainment field
/obj/item/electronics/frame/collector_arrayCollector array
/obj/item/electronics/frame/collector_controlCollector array controller
\ No newline at end of file diff --git a/code/obj/machinery/status_display.html b/code/obj/machinery/status_display.html new file mode 100644 index 0000000000000..8165ef3f5f59f --- /dev/null +++ b/code/obj/machinery/status_display.html @@ -0,0 +1 @@ +code/obj/machinery/status_display.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/obj/machinery/status_display.dm

/obj/machinery/status_display/marketShows the time to market shift by default
/obj/machinery/status_display/researchWill show the zeta station self-destruct countdown
\ No newline at end of file diff --git a/code/obj/machinery/tv_vis.html b/code/obj/machinery/tv_vis.html new file mode 100644 index 0000000000000..d549ad8ac00ec --- /dev/null +++ b/code/obj/machinery/tv_vis.html @@ -0,0 +1 @@ +code/obj/machinery/tv_vis.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/obj/machinery/tv_vis.dm

/obj/machinery/security_monitorturf
\ No newline at end of file diff --git a/code/obj/mining.html b/code/obj/mining.html new file mode 100644 index 0000000000000..8957e013b4d7f --- /dev/null +++ b/code/obj/mining.html @@ -0,0 +1 @@ +code/obj/mining.dm - Goonstation 13
Goonstation 13 - Modules - TypesDefine Details

code/obj/mining.dm

SILICON_POWER_COST_MODMultiplier for power usage if the user is a silicon and the charge is coming from their internal cell
/obj/item/device/chargehackerMINER TRAITOR ITEM
/datum/cargo_pad_managerBasically a list wrapper that removes and adds cargo pads to a global list when it receives the respective signals
/turf/simulated/wall/ancientShit that goes in the asteroid belt, might split it into an exploring.dm later i guess

Define Details

SILICON_POWER_COST_MOD

Multiplier for power usage if the user is a silicon and the charge is coming from their internal cell

\ No newline at end of file diff --git a/code/obj/portal.html b/code/obj/portal.html new file mode 100644 index 0000000000000..89ed13b736762 --- /dev/null +++ b/code/obj/portal.html @@ -0,0 +1 @@ +code/obj/portal.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/obj/portal.dm

/obj/portal/wormholeYou will appear adjacent to the beacon
\ No newline at end of file diff --git a/code/obj/posters.html b/code/obj/posters.html new file mode 100644 index 0000000000000..3acddf82672f4 --- /dev/null +++ b/code/obj/posters.html @@ -0,0 +1 @@ +code/obj/posters.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/obj/posters.dm

/proc/mass_print_wanted_posterPrint a wanted poster to all station-level printers
\ No newline at end of file diff --git a/code/obj/rack.html b/code/obj/rack.html new file mode 100644 index 0000000000000..b8975a61e5713 --- /dev/null +++ b/code/obj/rack.html @@ -0,0 +1 @@ +code/obj/rack.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/obj/rack.dm

/obj/rack/organizedMap-spawn helper for regularly stacked rack items
/obj/rack/organized/techstorage_engTechnical Storage circuit board rack for engineering/supply
/obj/rack/organized/techstorage_eng/transceptionIncludes the transception array board, for maps with transception cargo fulfillment
/obj/rack/organized/techstorage_medTechnical Storage circuit board rack for medical/science/misc
\ No newline at end of file diff --git a/code/obj/storage/gang_crate.html b/code/obj/storage/gang_crate.html new file mode 100644 index 0000000000000..1ee6562f849bd --- /dev/null +++ b/code/obj/storage/gang_crate.html @@ -0,0 +1 @@ +code/obj/storage/gang_crate.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/obj/storage/gang_crate.dm

/obj/storage/crate/gang_crateLarge storage object that spawns in anchored, then can be unlocked by a gang locker, for gang hotzones.
/obj/item/gang_lootSmaller, handheld loot bags. These can be opened by hand by gang members
/datum/loot_griddata class representing a grid of goodies (like an inventory grid in RE4).
/datum/loot_spawner_infoContains positional info and tags to pass to loot spawners, so they can spawn items in the right spot.
\ No newline at end of file diff --git a/code/obj/storage/pryable.html b/code/obj/storage/pryable.html new file mode 100644 index 0000000000000..10a92418562e5 --- /dev/null +++ b/code/obj/storage/pryable.html @@ -0,0 +1 @@ +code/obj/storage/pryable.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/obj/storage/pryable.dm

/obj/storage/crate/pryableA storage which can't be closed or repaired after opening and can only be opened with a prying tool
\ No newline at end of file diff --git a/code/obj/submachine/cooking.html b/code/obj/submachine/cooking.html new file mode 100644 index 0000000000000..38b531829ea46 --- /dev/null +++ b/code/obj/submachine/cooking.html @@ -0,0 +1 @@ +code/obj/submachine/cooking.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/obj/submachine/cooking.dm

/var/oven_recipesCOOKING RECODE
\ No newline at end of file diff --git a/code/obj/torpedoes.html b/code/obj/torpedoes.html new file mode 100644 index 0000000000000..5dd1f2672efb8 --- /dev/null +++ b/code/obj/torpedoes.html @@ -0,0 +1 @@ +code/obj/torpedoes.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/obj/torpedoes.dm

/obj/torpedo_targeterBASE STUFF BELOW
\ No newline at end of file diff --git a/code/obj/vehicle.html b/code/obj/vehicle.html new file mode 100644 index 0000000000000..a1b93654132b9 --- /dev/null +++ b/code/obj/vehicle.html @@ -0,0 +1 @@ +code/obj/vehicle.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/obj/vehicle.dm

/_is_abstract/obj/vehicleVehicle parent
/obj/vehicle/catRideable cats
/obj/vehicle/adminbus/battlebusBattle Bus
\ No newline at end of file diff --git a/code/obj/zoldorf.html b/code/obj/zoldorf.html new file mode 100644 index 0000000000000..3ca78b2078554 --- /dev/null +++ b/code/obj/zoldorf.html @@ -0,0 +1 @@ +code/obj/zoldorf.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/obj/zoldorf.dm

/obj/machinery/playerzoldorfPlayer-controlled Zoldorf Machine
\ No newline at end of file diff --git a/code/player.html b/code/player.html new file mode 100644 index 0000000000000..d047497a1c4d2 --- /dev/null +++ b/code/player.html @@ -0,0 +1 @@ +code/player.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/player.dm

/datum/playerfor client variables and stuff that has to persist between connections
/proc/find_playerreturns a reference to a player datum based on the ckey you put into it
/proc/make_playerreturns a reference to a player datum, but it tries to make a new one if it cant an already existing one (this is how it persists between connections)
\ No newline at end of file diff --git a/code/procs/Get_Flat_Icon.html b/code/procs/Get_Flat_Icon.html new file mode 100644 index 0000000000000..7e20bb46eebe9 --- /dev/null +++ b/code/procs/Get_Flat_Icon.html @@ -0,0 +1 @@ +code/procs/Get_Flat_Icon.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/procs/Get_Flat_Icon.dm

/proc/getFlatIconCreates a single icon from a given /atom or /image. Only the first argument is required.
\ No newline at end of file diff --git a/code/procs/accents.html b/code/procs/accents.html new file mode 100644 index 0000000000000..25c4ae7b66c1b --- /dev/null +++ b/code/procs/accents.html @@ -0,0 +1 @@ +code/procs/accents.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/procs/accents.dm

/proc/uwutalkuwutalk
\ No newline at end of file diff --git a/code/procs/access.html b/code/procs/access.html new file mode 100644 index 0000000000000..7512f0dd1eea3 --- /dev/null +++ b/code/procs/access.html @@ -0,0 +1 @@ +code/procs/access.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/procs/access.dm

/proc/get_accessGlobal lookup proc for access levels based on a job string (e.g. "Captain")
/proc/generate_access_name_lookupBuild the access_name_lookup table, to associate descriptions of accesses with their numerical value.
\ No newline at end of file diff --git a/code/procs/antagonist_procs.html b/code/procs/antagonist_procs.html new file mode 100644 index 0000000000000..b91bb0a0254ba --- /dev/null +++ b/code/procs/antagonist_procs.html @@ -0,0 +1 @@ +code/procs/antagonist_procs.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/procs/antagonist_procs.dm

/proc/get_alive_antags_percentagereturns a decimal representing the percentage of alive crew that are also antags
/proc/get_dead_crew_percentagereturns a decimal representing the percentage of dead crew (non-observers) to all crew
/var/roles_to_prefsAssociative list of role defines and their respective client preferences.
/proc/get_preference_for_roleReturn the name of a preference variable for the given role define.
/proc/get_uplink_typeReturns a path of a (presumably) valid uplink dependent on the user's mind.
\ No newline at end of file diff --git a/code/procs/datetime.html b/code/procs/datetime.html new file mode 100644 index 0000000000000..8027cf6293770 --- /dev/null +++ b/code/procs/datetime.html @@ -0,0 +1,2 @@ +code/procs/datetime.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/procs/datetime.dm

/proc/fromIso8601Convert ISO 8601 to BYOND time format (or epoch time if given argument for that)
/proc/isLeapYearreturns true if the year is divisible by 4, except for years that are divisible by 100. However, years that are divisible by 400 are also leap years.
/proc/toIso8601Convert BYOND time format to ISO 8601
/proc/addTimeAdd time to a given BYOND time format
/proc/subtractTimeSubtract time from a given BYOND time format
/proc/validateIso8601Validate ISO 8601 format
/proc/approx_time_textreturns a string describing approximately how much time this represents, useful for when you want to be vague +if this already exists somewhere else I apologise but I couldn't find it
\ No newline at end of file diff --git a/code/procs/fireflash.html b/code/procs/fireflash.html new file mode 100644 index 0000000000000..5a1b71a01f5c5 --- /dev/null +++ b/code/procs/fireflash.html @@ -0,0 +1,2 @@ +code/procs/fireflash.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/procs/fireflash.dm

/proc/fireflashgeneric proc for creating flashes of hotspot fire +falloff is in units of degrees per tile
/proc/fireflash_meltinggeneric proc for hotspot fire flashes that also melt turf
\ No newline at end of file diff --git a/code/procs/gamehelpers.html b/code/procs/gamehelpers.html new file mode 100644 index 0000000000000..e875c7474ecc2 --- /dev/null +++ b/code/procs/gamehelpers.html @@ -0,0 +1,3 @@ +code/procs/gamehelpers.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/procs/gamehelpers.dm

/proc/in_interact_rangeFor interacting with stuff.
/datum/colorSimple datum for RGBA colours +used as an alternative to rgb() proc for ease of access to components +all stored as 0-255
/proc/get_fullnessreturn description of how full a container is
/proc/GetRandomPerimeterTurfReturns a turf at the edge of a squared circle of specified radius around a thing
/proc/get_ouija_word_listget_ouija_word_list
/proc/get_id_cardchecks an item for an id card
\ No newline at end of file diff --git a/code/procs/helpers.html b/code/procs/helpers.html new file mode 100644 index 0000000000000..bb1d28b4e2e6f --- /dev/null +++ b/code/procs/helpers.html @@ -0,0 +1,9 @@ +code/procs/helpers.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/procs/helpers.dm

/proc/s_esReturns the plural based on a number provided.
/proc/isUpperReturns true if the char you feed it is uppercase.
/proc/getLineMatrixReturns the line matrix from a start atom to an end atom, used in creating line objects
/proc/showLineCreates and shows a line object. Line object has an "affected" var that contains the cross tiles.
/proc/get_angleReturns the angle between two given atoms
/proc/tidy_net_dataCleans up data passed in from network packets for display so it doesn't mess with formatting
/proc/add_zeroAdds zeroes to the beginning of a string until it reaches the desired length
/proc/pad_leadingAdds char ahead of text until it reaches length characters total
/proc/pad_trailingAdds char after text until it reaches length characters total
/proc/separate_radio_prefix_and_messageGiven a message, returns a list containing the radio prefix and the message, +so that the message can be manipulated seperately in various functions.
/proc/angle2textReturns the given degree converted to a text string in the form of a direction
/proc/IsGuestKeyReturns true if the given key is a guest key
/proc/sanitize_frequencyReturns f, ensured that it's a valid frequency
/proc/get_adjacent_floorReturns the turf facing the fab for cardinal directions (which should also be the user's turf), +but for diagonals it returns a neighbouring turf depending on where you click +Just in case you're attacking a corner diagonally. (made initially for lamp manufacturers, probably behaves funky above range 1)
/proc/is_hexReturns true if given value is a hex value
/proc/get_top_ancestorGet the highest ancestor of this object in the tree that is an immediate child of a given ancestor.
/proc/o_clock_timeReturns the current timeofday in o'clock format
/proc/formatTimeTextReturns time input as mm:ss
/proc/formattedShiftTimeReturns shift time as a string in hh:mm format. Call with TRUE to get time in hh:mm:ss format.
/proc/eligible_dead_player_listReturns a list of eligible dead players that COULD choose to respawn or whatever
/proc/dead_player_listReturns a list of eligible dead players to be respawned as an antagonist or whatever (Convair880). +Text messages: 1: alert | 2: alert (chatbox) | 3: alert acknowledged (chatbox) | 4: no longer eligible (chatbox) | 5: waited too long (chatbox) +for_antag indicates that we are polling for an antag role and so should exclude antag-banned players
/proc/prioritize_dead_playersReturns a randomized list of minds with players who joined as observer at the back
/proc/log_respawn_eventLogs a player respawning as something from a respawn event, noting if they joined the round as an observer or not +Note: should be called BEFORE they are transferred to the new body
/proc/whoisLooks up a player based on a string. Searches a shit load of things whoa. Returns a list of mob refs.
/proc/ckey_to_mobA universal ckey -> mob reference lookup proc, adapted from whois() (Convair880).
/proc/ckey_to_mob_maybe_disconnectedGiven a ckey finds a mob with that ckey even if they are not in the game.
/proc/whodeadFinds whoever's dead.
/proc/random_hexReturns random hex value of length given
/proc/dectalkdectalk SAYS its default volume is 5 but it seems to actually be more like 100
/proc/hex2color_nameGiven hex color, returns string name of nearest named color
/proc/sonic_attack_environmental_effectGiven center turf/atom, range, and list of things to smash, will damage said objects within range of center. +Used for sonic grenades and similar. Avoiding C&P Code.
/proc/get_hud_styleReturns hud style preferences of given client/mob
/proc/get_all_mobs_inReturns list of all mobs within an atom. Not cheap! (unlike ur mum)
/proc/get_standard_skintoneGiven user, will proompt user to select skin color from list (or custom) and returns skin tone after blending
/proc/blend_skintoneBlends given rgb values with old human mob skin color (#ffca95) to return a new rgb value
/proc/getRoleReturns a string based on the current job and antag role of the mob e.g. "Staff Assistant [Traitor]"
/proc/isadminReturns true if given mob/client/mind is an admin
/proc/gradientTextRepeat a gradient between two colors across text. +Note: This is inaccurate because its a linear transformation, but human eyes do not perceive color this way.
/proc/radioGarbleTextReturns given text replaced by nonsense chars, excepting HTML tags, on a 40% or given % basis
/proc/illiterateGarbleTextReturns given text replaced entirely by nonsense chars
/proc/getTimeInSecondsSinceTimeReturns the time in seconds since a given timestamp
/proc/getIconSizeHandles the two states icon_size can be in: basic number, or string in WxH format
/proc/getClientFromCkeyFinds a client by ckey, throws exception if not found
/proc/check_whitelistRemoves non-whitelisted reagents from the reagents of TA
/proc/in_cone_of_visionThis proc checks if one atom is in the cone of vision of another one.
/proc/time_to_textReturns the passed decisecond-format time in the form of a text string
/proc/can_actReturns true if not incapicitated and unhandcuffed (by default)
/proc/is_incapacitatedReturns true if the given mob is incapacitated
/proc/get_all_character_setup_ringtonessets up the list of ringtones players can select through character setup
/proc/connectdirs_to_byonddirsconverts get_connected_directions_bitflag() diagonal bits to byond direction flags
/proc/do_hud_offset_thingadjusts a screen_loc to account for non-32px-width sprites, so they get centered in a HUD slot
/proc/log_objectFor logs- returns the thing's name and type. Handles nulls and non-datums fine, might do something weird for savefiles, clients, etc
/proc/identify_objectFor runtime logs- returns the above plus ref
/proc/random_splitReturns amount evenly distributed random integers that sum to sum
/proc/total_densityReturns the sum of densities of all atoms in the given turf including the turf itself
/proc/total_crossChecks if Cross succeeds for the turf and all atoms in it
/proc/find_clientFind a client based on ckey
/proc/get_random_station_storage_listReturn a list of station-level storage objects that are safe to spawn things into
/proc/findLastMatchreturns the position of the last matching needle in haystack, case sensitive
/proc/findLastMatchExreturns the position of the last matching needle in haystack, case insensitive
/proc/get_tgm_maxxreturns the maxx value of a TGM formatted map. Accepts either a map file or preread map text data
/proc/get_tgm_maxyreturns the maxy value of a TGM formatted map. Accepts either a map file or preread map text data
/proc/list2textConverts a list into a string, placing a delimiter in between entries in the list.
\ No newline at end of file diff --git a/code/procs/logging.html b/code/procs/logging.html new file mode 100644 index 0000000000000..101be27752d46 --- /dev/null +++ b/code/procs/logging.html @@ -0,0 +1 @@ +code/procs/logging.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/procs/logging.dm

/proc/should_diary_logCheck config for whether a message should be logged to the diary
/proc/log_tguiAppends a tgui-related log entry. All arguments are optional.
\ No newline at end of file diff --git a/code/procs/mob_procs.html b/code/procs/mob_procs.html new file mode 100644 index 0000000000000..45e64a2fab18b --- /dev/null +++ b/code/procs/mob_procs.html @@ -0,0 +1 @@ +code/procs/mob_procs.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/procs/mob_procs.dm

/proc/man_or_woman'this man' vs 'this person'
/proc/his_or_her'their cookie' vs 'her cookie'
/proc/hes_or_shes"they're outside" vs "he's outside"
/proc/is_or_are'they are' vs 'he is'
/proc/has_or_have'they have' vs 'he has'
/proc/ve_or_s"they've had" vs "he's had"
/proc/he_or_she_dont_or_doesnt"he doesn't" vs "they don't"
/proc/blank_or_s'they run' vs 'he runs'
/proc/blank_or_es'they smash' vs 'he smashes'
/proc/were_or_was'they were' vs 'he was'
/proc/change_ghost_invisibilityChanges ghost invisibility for the round.
\ No newline at end of file diff --git a/code/procs/mobprocs/chatprocs.html b/code/procs/mobprocs/chatprocs.html new file mode 100644 index 0000000000000..a9653129e19c2 --- /dev/null +++ b/code/procs/mobprocs/chatprocs.html @@ -0,0 +1,6 @@ +code/procs/mobprocs/chatprocs.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/procs/mobprocs/chatprocs.dm

/proc/flock_speakhow to speak in the flock +for speaker, pass: +-null to give a general system message +-mob to make a mob speak +-flock_structure for a structure message +involuntary overrides the sentient styling for messages generated by the possessed flock critter
\ No newline at end of file diff --git a/code/procs/resourceManagement.html b/code/procs/resourceManagement.html new file mode 100644 index 0000000000000..5dcc7ebe77095 --- /dev/null +++ b/code/procs/resourceManagement.html @@ -0,0 +1 @@ +code/procs/resourceManagement.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/procs/resourceManagement.dm

/proc/resourceGENERIC HELPERS FOR BOTH SYSTEMS
/proc/doAssetParseCDN PROCS FOR LIVE SERVERS
\ No newline at end of file diff --git a/code/procs/scanprocs.html b/code/procs/scanprocs.html new file mode 100644 index 0000000000000..4bcbf82c6e3b3 --- /dev/null +++ b/code/procs/scanprocs.html @@ -0,0 +1 @@ +code/procs/scanprocs.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/procs/scanprocs.dm

/proc/get_general_recordReturns the datacore general record, or null if none found
\ No newline at end of file diff --git a/code/turf/floors.html b/code/turf/floors.html new file mode 100644 index 0000000000000..6191d4dc99525 --- /dev/null +++ b/code/turf/floors.html @@ -0,0 +1,2 @@ +code/turf/floors.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/turf/floors.dm

/obj/effects/hidden_contents_holderCRIME
/turf/simulated/floor/racingADVENTURE SIMULATED FLOORS
/turf/unsimulated/wall/setpieces///////////////////////UNSIMULATED////////////////////////////////////// +cogwerks - setpiece stuff
\ No newline at end of file diff --git a/code/turf/floors_airless.html b/code/turf/floors_airless.html new file mode 100644 index 0000000000000..4d357f35df3c5 --- /dev/null +++ b/code/turf/floors_airless.html @@ -0,0 +1 @@ +code/turf/floors_airless.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/turf/floors_airless.dm

/turf/simulated/floor/airless/solarSPECIAL AIRLESS-ONLY TURFS
\ No newline at end of file diff --git a/code/world/initialization/0_genesis.html b/code/world/initialization/0_genesis.html new file mode 100644 index 0000000000000..6d3dd1954e766 --- /dev/null +++ b/code/world/initialization/0_genesis.html @@ -0,0 +1 @@ +code/world/initialization/0_genesis.dme - Goonstation 13
Goonstation 13 - Modules - Types

code/world/initialization/0_genesis.dme

/worldIf you think this Universe is bad, you should see some of the others. ~ Philip K. Dick
\ No newline at end of file diff --git a/code/z_adventurezones/biodome.html b/code/z_adventurezones/biodome.html new file mode 100644 index 0000000000000..749152e144c6b --- /dev/null +++ b/code/z_adventurezones/biodome.html @@ -0,0 +1 @@ +code/z_adventurezones/biodome.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/z_adventurezones/biodome.dm

/area/swampzoneBIODOME EXPANSION PROJECT AREAS
/area/cryptcrypt place
/area/crypt/sigmaJam Mansion 3.0
/turf/unsimulated/floor/lavalava turf
/obj/item/clothing/suit/armor/ancientcogwerks - reward item, based on the old cyborg suit
/obj/item/shovelGRAVEYARD stuff
/obj/item/alchemy/stoneALCHEMY CIRCLE STUFF
/obj/item/device/sat_crash_callercrashed sattelite stuff
/area/dronesyndicate drone factory areas
\ No newline at end of file diff --git a/code/z_adventurezones/carcosa.html b/code/z_adventurezones/carcosa.html new file mode 100644 index 0000000000000..d6f73e74a7833 --- /dev/null +++ b/code/z_adventurezones/carcosa.html @@ -0,0 +1,10 @@ +code/z_adventurezones/carcosa.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/z_adventurezones/carcosa.dm

/obj/fakeobject/carcosa/statueUnused Carcosa Area Stuff +Contents: +Statues +Trees +Walls +Arch +Grass +Rubble +Plants +Dirt
\ No newline at end of file diff --git a/code/z_adventurezones/debris.html b/code/z_adventurezones/debris.html new file mode 100644 index 0000000000000..edae01c90cfba --- /dev/null +++ b/code/z_adventurezones/debris.html @@ -0,0 +1 @@ +code/z_adventurezones/debris.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/z_adventurezones/debris.dm

/turf/simulated/floor/martianMartian Turf stuff
\ No newline at end of file diff --git a/code/z_adventurezones/earth.html b/code/z_adventurezones/earth.html new file mode 100644 index 0000000000000..29abf77f6bff2 --- /dev/null +++ b/code/z_adventurezones/earth.html @@ -0,0 +1,10 @@ +code/z_adventurezones/earth.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/z_adventurezones/earth.dm

/var/Z4_ACTIVECentcom / Earth Stuff +Contents: +Areas: +Main Area +Outside +Offices +Lobby +Lounge +Garden +Power Supply
\ No newline at end of file diff --git a/code/z_adventurezones/gannets_dojozone.html b/code/z_adventurezones/gannets_dojozone.html new file mode 100644 index 0000000000000..8619a09d00bb0 --- /dev/null +++ b/code/z_adventurezones/gannets_dojozone.html @@ -0,0 +1,39 @@ +code/z_adventurezones/gannets_dojozone.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/z_adventurezones/gannets_dojozone.dm

/area/dojo/sakuraGannets Space Dojo Zone +Contents: +Areas: +Sakura Trees +Main Dojo +Mobs: +Ronin +Objs: +Dojo Hmamer +Unfinished Katana Decal & Sword +Torii Gate +Sakura Trees +Kanji Symbols +Dojo House +Lotus Flowers +Birdhouse Shrines +Plant Pots +Stone Lamps +Railing & Walls +Furnace +Anvil & Bellows +Sword Rack +Fake Katana +Lanterns +Hibachi & Teapot +Wall Scrolls +Books: +Sword Scroll +5 Lore Scrolls +Uguu Scroll +Turfs: +Sengoku Walls +False & Tall Sengoku Walls +Paper Walls +Tatami Floor +Water Floors +Bridge Floors +Stone Stairs +Sand Floors
\ No newline at end of file diff --git a/code/z_adventurezones/icemoon.html b/code/z_adventurezones/icemoon.html new file mode 100644 index 0000000000000..bc71c7efe5df6 --- /dev/null +++ b/code/z_adventurezones/icemoon.html @@ -0,0 +1,10 @@ +code/z_adventurezones/icemoon.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/z_adventurezones/icemoon.dm

/turf/simulated/floor/arctic_elevator_shaftIce Moon Adventure Zone (surface) +Contents: +Turfs: +Elevator Shaft Fall +Snow +Ice Walls +Ice Lake +Cold Plating +Abyss Fall +Cliff Edges
/turf/unsimulated/wall/arctic/abyssWALLS
\ No newline at end of file diff --git a/code/z_adventurezones/luna.html b/code/z_adventurezones/luna.html new file mode 100644 index 0000000000000..aa0066c66afe2 --- /dev/null +++ b/code/z_adventurezones/luna.html @@ -0,0 +1,9 @@ +code/z_adventurezones/luna.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/z_adventurezones/luna.dm

/area/moonLunar Moon Museum Zone +Contents: +Moon Areas +Moon turfs +Moon emails +A tourguid bud +Museum objects +Control Panel Puzzle +A li'l fake bomb for an exhibit.
\ No newline at end of file diff --git a/code/z_adventurezones/meatland.html b/code/z_adventurezones/meatland.html new file mode 100644 index 0000000000000..6f8431fd1d8ba --- /dev/null +++ b/code/z_adventurezones/meatland.html @@ -0,0 +1,11 @@ +code/z_adventurezones/meatland.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/z_adventurezones/meatland.dm

/area/meat_derelictMeat Zone +Contents: +Meaty areas +Stomach acid turf & such +Meat lights. Not to be confused with Spam Lite reduced fat meat-like protein product. +Grumpy meat-infested monster doors, monster floors, mutant cosmonauts, and a very sad giant head. +Various log files. +Audio logs +Fancy items in the land of meat +Puzzle elements +Gross mutant limbs
\ No newline at end of file diff --git a/code/z_adventurezones/precursor.html b/code/z_adventurezones/precursor.html new file mode 100644 index 0000000000000..73afe8ced022d --- /dev/null +++ b/code/z_adventurezones/precursor.html @@ -0,0 +1 @@ +code/z_adventurezones/precursor.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/z_adventurezones/precursor.dm

/area/upper_arctic/// cogwerks - stuff for the precursor ruins and some other various solarium-related puzzles ///////
/area/hellcogwerks - HELL
/obj/machinery/computer3/generic/icemoooncollecting some junk together for the ice moon
\ No newline at end of file diff --git a/code/z_adventurezones/solarium.html b/code/z_adventurezones/solarium.html new file mode 100644 index 0000000000000..c568c72ad434d --- /dev/null +++ b/code/z_adventurezones/solarium.html @@ -0,0 +1 @@ +code/z_adventurezones/solarium.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/z_adventurezones/solarium.dm

/area/solariumcogwerks - solar lounge
\ No newline at end of file diff --git a/code/z_adventurezones/timeship.html b/code/z_adventurezones/timeship.html new file mode 100644 index 0000000000000..acfd34b6db928 --- /dev/null +++ b/code/z_adventurezones/timeship.html @@ -0,0 +1 @@ +code/z_adventurezones/timeship.dm - Goonstation 13
Goonstation 13 - Modules - Types

code/z_adventurezones/timeship.dm

/obj/item/audio_tape/timewarp_00audio tapes
/obj/decal/floatfloating decals
/turf/unsimulated/floor/void/timewarpturfs
\ No newline at end of file diff --git a/datum.html b/datum.html new file mode 100644 index 0000000000000..49cb69ed7d3fa --- /dev/null +++ b/datum.html @@ -0,0 +1,140 @@ +/datum - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum

Vars

comp_lookupAny datum registered to receive signals from this datum is in this list
datum_componentsComponents attached to this datum
open_uisOpen uis owned by this datum +Lazy, since this case is semi rare
signal_procsLazy associated list in the structure of signals:proctype that are run when the datum receives that signal
tgui_shared_statesglobal

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
RegisterSignal
RegisterSignalsRegisters multiple signals to the same proc.
RemoveComponentsOfTypeCalls RemoveComponent on all components of a given type that are attached to this datum
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
_LoadComponentGet existing component of type, or create it and return a reference to it
_SendSignalInternal proc to handle most all of the signaling procedure
onProcCalledcalled when a proc is admin-called
onVarChangedcalled when a variable is admin-edited
safe_deleteUsed when you need to record a proc call to delete something (see spawn_rules.dm)
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

comp_lookup

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

+

Lazy associated list in the structure of signal:registree/list of registrees

datum_components

Components attached to this datum

+

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

open_uis

Open uis owned by this datum +Lazy, since this case is semi rare

signal_procs

Lazy associated list in the structure of signals:proctype 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.

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:

+

RegisterSignal

RegisterSignals

Registers multiple signals to the same proc.

RemoveComponentsOfType

Calls RemoveComponent on all components of a given type that are attached to this datum

+

Arguments:

+

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 an 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

_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:

+

_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

onProcCalled

called when a proc is admin-called

onVarChanged

called when a variable is admin-edited

safe_delete

Used when you need to record a proc call to delete something (see spawn_rules.dm)

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 UI should be updated or not.

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.

\ No newline at end of file diff --git a/datum/SWFuplinkspell.html b/datum/SWFuplinkspell.html new file mode 100644 index 0000000000000..aae02cf260161 --- /dev/null +++ b/datum/SWFuplinkspell.html @@ -0,0 +1 @@ +/datum/SWFuplinkspell - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Spell

Vars

iconbackup icon in case spell has no associated spell ability

Var Details

icon

backup icon in case spell has no associated spell ability

\ No newline at end of file diff --git a/datum/abilityHolder.html b/datum/abilityHolder.html new file mode 100644 index 0000000000000..751ed29ac5491 --- /dev/null +++ b/datum/abilityHolder.html @@ -0,0 +1 @@ +/datum/abilityHolder - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/abilityHolder

Vars

hiddenIs this holder temporarily hidden

Procs

get_controlling_mobReturns the actual mob currently controlling this holder, in case src.owner and composite_owner.owner differ (eg flockmind in a drone)
onRemoveCalled just before we're removed from a mob

Var Details

hidden

Is this holder temporarily hidden

Proc Details

get_controlling_mob

Returns the actual mob currently controlling this holder, in case src.owner and composite_owner.owner differ (eg flockmind in a drone)

onRemove

Called just before we're removed from a mob

\ No newline at end of file diff --git a/datum/abilityHolder/arcfiend.html b/datum/abilityHolder/arcfiend.html new file mode 100644 index 0000000000000..f5def8e94bf5e --- /dev/null +++ b/datum/abilityHolder/arcfiend.html @@ -0,0 +1 @@ +/datum/abilityHolder/arcfiend - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/abilityHolder/arcfiend

The ability holder used for arcfiends. Comes with no abilities on its own.

Vars

hearts_stoppedNumber of hearts stopped with Jolt
lifetime_energyThe total number of points we've accumulated over our lifetime

Var Details

hearts_stopped

Number of hearts stopped with Jolt

lifetime_energy

The total number of points we've accumulated over our lifetime

\ No newline at end of file diff --git a/datum/abilityHolder/changeling.html b/datum/abilityHolder/changeling.html new file mode 100644 index 0000000000000..20d3426971bba --- /dev/null +++ b/datum/abilityHolder/changeling.html @@ -0,0 +1 @@ +/datum/abilityHolder/changeling - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

/datum/abilityHolder/changeling

Procs

get_current_hivemindGet all hivemind members (including the changeling) who are still present

Proc Details

get_current_hivemind

Get all hivemind members (including the changeling) who are still present

\ No newline at end of file diff --git a/datum/abilityHolder/vampire.html b/datum/abilityHolder/vampire.html new file mode 100644 index 0000000000000..da88f2aef11e1 --- /dev/null +++ b/datum/abilityHolder/vampire.html @@ -0,0 +1 @@ +/datum/abilityHolder/vampire - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/abilityHolder/vampire

Ability holder

Vars

last_victimFor blood tracking

Var Details

last_victim

For blood tracking

\ No newline at end of file diff --git a/datum/abilityHolder/vampiric_thrall.html b/datum/abilityHolder/vampiric_thrall.html new file mode 100644 index 0000000000000..3aca6d667db5a --- /dev/null +++ b/datum/abilityHolder/vampiric_thrall.html @@ -0,0 +1 @@ +/datum/abilityHolder/vampiric_thrall - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/abilityHolder/vampiric_thrall

Vars

blood_to_health_scalar200 blood = 150 health
grace_countCounter that ticks up as you spend time away from your vampire before you start to loose blood
grace_limitHow many (mult adjusted) life ticks before you start to lose blood
max_rangeHow far you can stray from your vampire without losing blood
min_max_healthMinimum health we can get to via blood loss. also lol

Procs

blood_wasteLose an amount of blood, first from points then from bloodstream

Var Details

blood_to_health_scalar

200 blood = 150 health

grace_count

Counter that ticks up as you spend time away from your vampire before you start to loose blood

grace_limit

How many (mult adjusted) life ticks before you start to lose blood

max_range

How far you can stray from your vampire without losing blood

min_max_health

Minimum health we can get to via blood loss. also lol

Proc Details

blood_waste

Lose an amount of blood, first from points then from bloodstream

\ No newline at end of file diff --git a/datum/abilityHolder/wraith.html b/datum/abilityHolder/wraith.html new file mode 100644 index 0000000000000..df5cafd76644c --- /dev/null +++ b/datum/abilityHolder/wraith.html @@ -0,0 +1 @@ +/datum/abilityHolder/wraith - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/abilityHolder/wraith

Vars

absorbs_to_evolvenumber of souls required to evolve into a specialized wraith subclass
corpsecounttotal souls absorbed by this wraith so far

Var Details

absorbs_to_evolve

number of souls required to evolve into a specialized wraith subclass

corpsecount

total souls absorbed by this wraith so far

\ No newline at end of file diff --git a/datum/achievementReward.html b/datum/achievementReward.html new file mode 100644 index 0000000000000..3886f64eebb97 --- /dev/null +++ b/datum/achievementReward.html @@ -0,0 +1 @@ +/datum/achievementReward - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

/datum/achievementReward

Procs

rewardActivateCalled when the reward is claimed from the locker. Spawn item here / give verbs here / do whatever for reward. Return 1 on success or bugs will happen.

Proc Details

rewardActivate

Called when the reward is claimed from the locker. Spawn item here / give verbs here / do whatever for reward. Return 1 on success or bugs will happen.

\ No newline at end of file diff --git a/datum/achievementReward/contributor.html b/datum/achievementReward/contributor.html new file mode 100644 index 0000000000000..5202542d64dc9 --- /dev/null +++ b/datum/achievementReward/contributor.html @@ -0,0 +1 @@ +/datum/achievementReward/contributor - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/achievementReward/contributor

Vars

contrib_rewards[name, desc, callback]

Var Details

contrib_rewards

[name, desc, callback]

\ No newline at end of file diff --git a/datum/action.html b/datum/action.html new file mode 100644 index 0000000000000..27a6e2b1e1268 --- /dev/null +++ b/datum/action.html @@ -0,0 +1 @@ +/datum/action - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/action

Vars

durationHow long does this action take in ticks.
idID for this action. If null, will be autogenerated in New() (by default, to the typepath of the action). Don't override this without a good reason.
interrupt_flagsWhen and how this action is interrupted.
interrupt_startWhen the action was interrupted. Used to calculate interrupt_time
interrupt_timeHow long the action spent interrupted. Used to calculate the remaining time when resuming.
ownerObject that owns this action.
promisePromise that will be fulfilled when the action is finished or deleted. Finished = fulfilled with the action, deleted = fulfilled with null.
startedTIME this action was started at
stateCurrent state of the action.

Procs

canRunCheckRan before onStart, onUpdate, onResume and in onRestart. Call interrupt here to stop the action from starting.
interruptThis is called by the default interrupt actions
loopStartCalled after restarting. Meant to cotain code from -and be called from- onStart()
onDeleteCalled when the action is complete and about to be deleted. Usable for cleanup and such.
onEndCalled when the action succesfully ends.
onInterruptCalled when the action fails / is interrupted.
onRestartCalled when the action restarts (for example: automenders)
onResumeCalled when the action resumes - likely from almost ending. Arg is the action which would have cancelled this.
onStartCalled when the action begins
onUpdateCalled every tick this action is running. If you absolutely(!!!) have to you can do manual interrupt checking in here. Otherwise this is mostly used for drawing progress bars and shit.
updateBarUpdates the animations

Var Details

duration

How long does this action take in ticks.

id

ID for this action. If null, will be autogenerated in New() (by default, to the typepath of the action). Don't override this without a good reason.

interrupt_flags

When and how this action is interrupted.

interrupt_start

When the action was interrupted. Used to calculate interrupt_time

interrupt_time

How long the action spent interrupted. Used to calculate the remaining time when resuming.

owner

Object that owns this action.

promise

Promise that will be fulfilled when the action is finished or deleted. Finished = fulfilled with the action, deleted = fulfilled with null.

started

TIME this action was started at

state

Current state of the action.

Proc Details

canRunCheck

Ran before onStart, onUpdate, onResume and in onRestart. Call interrupt here to stop the action from starting.

interrupt

This is called by the default interrupt actions

loopStart

Called after restarting. Meant to cotain code from -and be called from- onStart()

onDelete

Called when the action is complete and about to be deleted. Usable for cleanup and such.

onEnd

Called when the action succesfully ends.

onInterrupt

Called when the action fails / is interrupted.

onRestart

Called when the action restarts (for example: automenders)

onResume

Called when the action resumes - likely from almost ending. Arg is the action which would have cancelled this.

onStart

Called when the action begins

onUpdate

Called every tick this action is running. If you absolutely(!!!) have to you can do manual interrupt checking in here. Otherwise this is mostly used for drawing progress bars and shit.

updateBar

Updates the animations

\ No newline at end of file diff --git a/datum/action/bar.html b/datum/action/bar.html new file mode 100644 index 0000000000000..79ac88c44355c --- /dev/null +++ b/datum/action/bar.html @@ -0,0 +1 @@ +/datum/action/bar - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/action/bar

This subclass has a progressbar that attaches to the owner to show how long we need to wait.

Vars

bar_on_ownerIn case we want the owner to have no visible action bar but still want to make the bar.
bar_x_offsetHow far should the bar be offset horizontally?
bar_y_offsetHow far should the bar be offset horizontally?
fill_barDoes bar fill or empty?
place_to_put_barBy default the bar is put on the owner, define this on the progress bar as the place you want to put it on.

Var Details

bar_on_owner

In case we want the owner to have no visible action bar but still want to make the bar.

bar_x_offset

How far should the bar be offset horizontally?

bar_y_offset

How far should the bar be offset horizontally?

fill_bar

Does bar fill or empty?

place_to_put_bar

By default the bar is put on the owner, define this on the progress bar as the place you want to put it on.

\ No newline at end of file diff --git a/datum/action/bar/construction_field.html b/datum/action/bar/construction_field.html new file mode 100644 index 0000000000000..4e95c4091024b --- /dev/null +++ b/datum/action/bar/construction_field.html @@ -0,0 +1 @@ +/datum/action/bar/construction_field - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/action/bar/construction_field

Vars

action_build_costSum of current attempted construction's cost in sheets

Procs

dense_object_refreshCheck whether dense objects are present in wall build fields; interrupt any fields which have been blocked

Var Details

action_build_cost

Sum of current attempted construction's cost in sheets

Proc Details

dense_object_refresh

Check whether dense objects are present in wall build fields; interrupt any fields which have been blocked

\ No newline at end of file diff --git a/datum/action/bar/icon.html b/datum/action/bar/icon.html new file mode 100644 index 0000000000000..9db24e0a3df43 --- /dev/null +++ b/datum/action/bar/icon.html @@ -0,0 +1 @@ +/datum/action/bar/icon - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/action/bar/icon

Vars

apply_outline_filterApply a an outline filter to the icon to be displayed. Default: TRUE
iconIcon to use above the bar. Can also be a mutable_appearance; pretty much anything that can be converted into an image
icon_on_targetIs the icon also on the target if we have one? if this is TRUE, make sure the target only handles overlays by using the UpdateOverlays proc.

Var Details

apply_outline_filter

Apply a an outline filter to the icon to be displayed. Default: TRUE

icon

Icon to use above the bar. Can also be a mutable_appearance; pretty much anything that can be converted into an image

icon_on_target

Is the icon also on the target if we have one? if this is TRUE, make sure the target only handles overlays by using the UpdateOverlays proc.

\ No newline at end of file diff --git a/datum/action/bar/icon/buddy_cuff.html b/datum/action/bar/icon/buddy_cuff.html new file mode 100644 index 0000000000000..b995158f6d84f --- /dev/null +++ b/datum/action/bar/icon/buddy_cuff.html @@ -0,0 +1 @@ +/datum/action/bar/icon/buddy_cuff - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

/datum/action/bar/icon/buddy_cuff

Procs

failchecksInterrupts the action if the bot cant (or shouldnt be able to) continue cuffing

Proc Details

failchecks

Interrupts the action if the bot cant (or shouldnt be able to) continue cuffing

\ No newline at end of file diff --git a/datum/action/bar/icon/build.html b/datum/action/bar/icon/build.html new file mode 100644 index 0000000000000..e6d186eee9e4f --- /dev/null +++ b/datum/action/bar/icon/build.html @@ -0,0 +1,5 @@ +/datum/action/bar/icon/build - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/action/bar/icon/build

Vars

has_sheet2Are we using a second sheet (e.g. Glass table parts)
obj_amtAmount of the object which will be made when we're done
obj_nameCustom name of the object for messages if needed, otherwise just the object's initial name
post_callbackCallback once the thing is constructed

Procs

has_dense_objectChecks if there's a dense object on a turf, with notable exceptions for soul and directional things. Procs like can_crossed_by(AM) cannot be +used because we haven't made the thing yet, so there's no /atom/movable to use. If there's a way to do this nicely in the future replace pls
has_valid_sheetsReturn TRUE if both sheets are there and valid, else false
should_ignore_dense_checkCheck if the object is one of a dense object which is an exception to most others -- and should be allowed to have +several of its own instances on a tile. Girders, thin windows, and railings are all examples of this.

Var Details

has_sheet2

Are we using a second sheet (e.g. Glass table parts)

obj_amt

Amount of the object which will be made when we're done

obj_name

Custom name of the object for messages if needed, otherwise just the object's initial name

post_callback

Callback once the thing is constructed

Proc Details

has_dense_object

Checks if there's a dense object on a turf, with notable exceptions for soul and directional things. Procs like can_crossed_by(AM) cannot be +used because we haven't made the thing yet, so there's no /atom/movable to use. If there's a way to do this nicely in the future replace pls

has_valid_sheets

Return TRUE if both sheets are there and valid, else false

should_ignore_dense_check

Check if the object is one of a dense object which is an exception to most others -- and should be allowed to have +several of its own instances on a tile. Girders, thin windows, and railings are all examples of this.

\ No newline at end of file diff --git a/datum/action/bar/icon/callback.html b/datum/action/bar/icon/callback.html new file mode 100644 index 0000000000000..56a88de40d62b --- /dev/null +++ b/datum/action/bar/icon/callback.html @@ -0,0 +1,2 @@ +/datum/action/bar/icon/callback - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/action/bar/icon/callback

calls a specified proc if it finishes without interruptions.

+

check _std/macros/actions.dm for documentation on a macro that uses this.

Vars

call_proc_onset to datum to perform callback on if seperate from owner or target
end_messagewhat string is broadcast once the action bar finishes
idset to a string version of the callback proc path
maximum_rangewhat is the maximum range target and owner can be apart? need to modify before starting the action.
proc_argsa list of args for the proc thats called once the action bar finishes, if needed.
proc_pathset to the path of the proc that will be called if the action bar finishes
targetwhat the target of the action is, if any

Var Details

call_proc_on

set to datum to perform callback on if seperate from owner or target

end_message

what string is broadcast once the action bar finishes

id

set to a string version of the callback proc path

maximum_range

what is the maximum range target and owner can be apart? need to modify before starting the action.

proc_args

a list of args for the proc thats called once the action bar finishes, if needed.

proc_path

set to the path of the proc that will be called if the action bar finishes

target

what the target of the action is, if any

\ No newline at end of file diff --git a/datum/action/bar/icon/filthyPickpocket.html b/datum/action/bar/icon/filthyPickpocket.html new file mode 100644 index 0000000000000..0918bd4f9a34a --- /dev/null +++ b/datum/action/bar/icon/filthyPickpocket.html @@ -0,0 +1 @@ +/datum/action/bar/icon/filthyPickpocket - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/action/bar/icon/filthyPickpocket

Vars

slotThe SLOT_* define (i.e. SLOT_BACK)
sourceNPC who is pickpocketing
targetThe pick-pocketing victim

Var Details

slot

The SLOT_* define (i.e. SLOT_BACK)

source

NPC who is pickpocketing

target

The pick-pocketing victim

\ No newline at end of file diff --git a/datum/action/bar/icon/furniture_build.html b/datum/action/bar/icon/furniture_build.html new file mode 100644 index 0000000000000..26f0054d75d0c --- /dev/null +++ b/datum/action/bar/icon/furniture_build.html @@ -0,0 +1 @@ +/datum/action/bar/icon/furniture_build - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/action/bar/icon/furniture_build

Vars

furniture_nameDisplayed name for the thing we're building (for chat)
partsThe parts we're building from
target_turfThe turf we're trying to build on

Var Details

furniture_name

Displayed name for the thing we're building (for chat)

parts

The parts we're building from

target_turf

The turf we're trying to build on

\ No newline at end of file diff --git a/datum/action/bar/icon/hitthingwithitem.html b/datum/action/bar/icon/hitthingwithitem.html new file mode 100644 index 0000000000000..c710c12938a42 --- /dev/null +++ b/datum/action/bar/icon/hitthingwithitem.html @@ -0,0 +1 @@ +/datum/action/bar/icon/hitthingwithitem - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/action/bar/icon/hitthingwithitem

Vars

end_messagewhat string is broadcast once the action bar finishes
interrupt_flagsset to a string version of the callback proc path
maximum_rangewhat is the maximum range target and owner can be apart? need to modify before starting the action.
proc_argsa list of args for the proc thats called once the action bar finishes, if needed.
proc_pathset to the path of the proc that will be called if the action bar finishes
targetwhat the target of the action is, if any

Var Details

end_message

what string is broadcast once the action bar finishes

interrupt_flags

set to a string version of the callback proc path

maximum_range

what is the maximum range target and owner can be apart? need to modify before starting the action.

proc_args

a list of args for the proc thats called once the action bar finishes, if needed.

proc_path

set to the path of the proc that will be called if the action bar finishes

target

what the target of the action is, if any

\ No newline at end of file diff --git a/datum/action/bar/icon/railing_jump.html b/datum/action/bar/icon/railing_jump.html new file mode 100644 index 0000000000000..d1c88d93dbbdb --- /dev/null +++ b/datum/action/bar/icon/railing_jump.html @@ -0,0 +1 @@ +/datum/action/bar/icon/railing_jump - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/action/bar/icon/railing_jump

Vars

collision_whitelistlist of types exempt from bump checks when checking landing turf validity

Var Details

collision_whitelist

list of types exempt from bump checks when checking landing turf validity

\ No newline at end of file diff --git a/datum/action/bar/icon/remove_organ.html b/datum/action/bar/icon/remove_organ.html new file mode 100644 index 0000000000000..cd69607cd4112 --- /dev/null +++ b/datum/action/bar/icon/remove_organ.html @@ -0,0 +1 @@ +/datum/action/bar/icon/remove_organ - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/action/bar/icon/remove_organ

Vars

organ_nameThe name of the organ we want to remove (for display purposes)
organ_pathThe path of the organ we want to remove
rip_out_durationHow long does it take to rip out an organ?
rip_out_organAre we ripping out the organ without any tools?

Var Details

organ_name

The name of the organ we want to remove (for display purposes)

organ_path

The path of the organ we want to remove

rip_out_duration

How long does it take to rip out an organ?

rip_out_organ

Are we ripping out the organ without any tools?

\ No newline at end of file diff --git a/datum/action/bar/icon/spray_gang_tag.html b/datum/action/bar/icon/spray_gang_tag.html new file mode 100644 index 0000000000000..d71e825218d0d --- /dev/null +++ b/datum/action/bar/icon/spray_gang_tag.html @@ -0,0 +1 @@ +/datum/action/bar/icon/spray_gang_tag - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/action/bar/icon/spray_gang_tag

Vars

Mthe mob spraying this tag
gangthe gang we're spraying for
next_spraywhen our next spray sound can beplayed

Var Details

M

the mob spraying this tag

gang

the gang we're spraying for

next_spray

when our next spray sound can beplayed

\ No newline at end of file diff --git a/datum/action/bar/icon/spray_graffiti.html b/datum/action/bar/icon/spray_graffiti.html new file mode 100644 index 0000000000000..d8589516b5bf1 --- /dev/null +++ b/datum/action/bar/icon/spray_graffiti.html @@ -0,0 +1 @@ +/datum/action/bar/icon/spray_graffiti - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/action/bar/icon/spray_graffiti

Vars

Mthe mob spraying this tag
gangthe gang we're spraying for
next_spraywhen our next spray sound can beplayed

Var Details

M

the mob spraying this tag

gang

the gang we're spraying for

next_spray

when our next spray sound can beplayed

\ No newline at end of file diff --git a/datum/action/bar/private/flash.html b/datum/action/bar/private/flash.html new file mode 100644 index 0000000000000..9139e08732dc3 --- /dev/null +++ b/datum/action/bar/private/flash.html @@ -0,0 +1 @@ +/datum/action/bar/private/flash - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/action/bar/private/flash

Vars

Pparticle reference, just used to toggle the effects on and off
area_of_effectthe distance our attack reaches from us at the center
elec_flash_powerpower of our elecflash, this maxes out at 6
target_disthow far to knock mobs away from ourselves
throw_speedhow fast to throw affected mobs away

Var Details

P

particle reference, just used to toggle the effects on and off

area_of_effect

the distance our attack reaches from us at the center

elec_flash_power

power of our elecflash, this maxes out at 6

target_dist

how far to knock mobs away from ourselves

throw_speed

how fast to throw affected mobs away

\ No newline at end of file diff --git a/datum/action/bar/private/icon/callback.html b/datum/action/bar/private/icon/callback.html new file mode 100644 index 0000000000000..9244d747b56ae --- /dev/null +++ b/datum/action/bar/private/icon/callback.html @@ -0,0 +1,3 @@ +/datum/action/bar/private/icon/callback - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/action/bar/private/icon/callback

Calls a specified proc if it finishes without interruptions. Only displayed to the user. +Heavily copy pasted from /datum/action/bar/icon/callback.

+

check _std/macros/actions.dm for documentation on a macro that uses this.

Vars

call_proc_onset to datum to perform callback on if seperate from owner or target
end_messagewhat string is broadcast once the action bar finishes
interrupt_flagsset to a string version of the callback proc path
maximum_rangewhat is the maximum range target and owner can be apart? need to modify before starting the action.
proc_argsa list of args for the proc thats called once the action bar finishes, if needed.
proc_pathset to the path of the proc that will be called if the action bar finishes
targetwhat the target of the action is, if any

Var Details

call_proc_on

set to datum to perform callback on if seperate from owner or target

end_message

what string is broadcast once the action bar finishes

interrupt_flags

set to a string version of the callback proc path

maximum_range

what is the maximum range target and owner can be apart? need to modify before starting the action.

proc_args

a list of args for the proc thats called once the action bar finishes, if needed.

proc_path

set to the path of the proc that will be called if the action bar finishes

target

what the target of the action is, if any

\ No newline at end of file diff --git a/datum/action/bar/private/icon/jolt.html b/datum/action/bar/private/icon/jolt.html new file mode 100644 index 0000000000000..3e9a67a9bd141 --- /dev/null +++ b/datum/action/bar/private/icon/jolt.html @@ -0,0 +1 @@ +/datum/action/bar/private/icon/jolt - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/action/bar/private/icon/jolt

Vars

wattageWattage for each shock. This is inherited from the parent ability in New().

Var Details

wattage

Wattage for each shock. This is inherited from the parent ability in New().

\ No newline at end of file diff --git a/datum/action/bar/private/icon/sap_power.html b/datum/action/bar/private/icon/sap_power.html new file mode 100644 index 0000000000000..9573f73320147 --- /dev/null +++ b/datum/action/bar/private/icon/sap_power.html @@ -0,0 +1 @@ +/datum/action/bar/private/icon/sap_power - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/action/bar/private/icon/sap_power

Vars

scary_messageFor mobs being targeted, shows them a spooky message on the first tick of the ability

Var Details

scary_message

For mobs being targeted, shows them a spooky message on the first tick of the ability

\ No newline at end of file diff --git a/datum/action/bar/private/welding.html b/datum/action/bar/private/welding.html new file mode 100644 index 0000000000000..6f27cae3c61ef --- /dev/null +++ b/datum/action/bar/private/welding.html @@ -0,0 +1 @@ +/datum/action/bar/private/welding - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/action/bar/private/welding

Vars

end_messagewhat string is broadcast once the action bar finishes
proc_argsa list of args for the proc thats called once the action bar finishes, if needed.
proc_pathset to the path of the proc that will be called if the action bar finishes
targetwhat the target of the action is, if any

Var Details

end_message

what string is broadcast once the action bar finishes

proc_args

a list of args for the proc thats called once the action bar finishes, if needed.

proc_path

set to the path of the proc that will be called if the action bar finishes

target

what the target of the action is, if any

\ No newline at end of file diff --git a/datum/action/bar/private/welding/loop.html b/datum/action/bar/private/welding/loop.html new file mode 100644 index 0000000000000..88f2f0eb869fc --- /dev/null +++ b/datum/action/bar/private/welding/loop.html @@ -0,0 +1 @@ +/datum/action/bar/private/welding/loop - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/action/bar/private/welding/loop

A looping weld action bar. Duration and cost are per cycle.

Vars

cycle_costUnit cost per cycle (for charging fuel)
welderTool being used to weld (weldingtool, omnitool, etc)

Var Details

cycle_cost

Unit cost per cycle (for charging fuel)

welder

Tool being used to weld (weldingtool, omnitool, etc)

\ No newline at end of file diff --git a/datum/action/bar/quickload.html b/datum/action/bar/quickload.html new file mode 100644 index 0000000000000..f110ba80ee9db --- /dev/null +++ b/datum/action/bar/quickload.html @@ -0,0 +1 @@ +/datum/action/bar/quickload - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/action/bar/quickload

Vars

load_typeThe type of the item we are stuffing into the target.
targetThe target of transfers during quickloading

Var Details

load_type

The type of the item we are stuffing into the target.

target

The target of transfers during quickloading

\ No newline at end of file diff --git a/datum/action/bar/syndie_fishing.html b/datum/action/bar/syndie_fishing.html new file mode 100644 index 0000000000000..0ab7fa13d304c --- /dev/null +++ b/datum/action/bar/syndie_fishing.html @@ -0,0 +1,3 @@ +/datum/action/bar/syndie_fishing - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/action/bar/syndie_fishing

Vars

damage_on_reelstores current damage per point blank reel and increases by 3 each cycle that target isnt point blank +resets when damage is dealt
durationhow long a step of reeling takes, set onStart
lurewhat lure is snagged in the mob
rodwhat fishing rod caught the mob

Procs

Newid for fishing action

Var Details

damage_on_reel

stores current damage per point blank reel and increases by 3 each cycle that target isnt point blank +resets when damage is dealt

duration

how long a step of reeling takes, set onStart

lure

what lure is snagged in the mob

rod

what fishing rod caught the mob

Proc Details

New

id for fishing action

\ No newline at end of file diff --git a/datum/action/fishing.html b/datum/action/fishing.html new file mode 100644 index 0000000000000..ecb07c313608b --- /dev/null +++ b/datum/action/fishing.html @@ -0,0 +1 @@ +/datum/action/fishing - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/action/fishing

(invisible) action for timing out fishing. this is also what lets the fishing spot know that we fished

Vars

durationhow long the fishing action loop will take in seconds, set on onStart(), varies by 4 seconds in either direction.
fishing_spotthe fishing spot that the rod is fishing from
rodwhat fishing rod triggered this action
targetthe target of the action

Procs

Newid for fishing action

Var Details

duration

how long the fishing action loop will take in seconds, set on onStart(), varies by 4 seconds in either direction.

fishing_spot

the fishing spot that the rod is fishing from

rod

what fishing rod triggered this action

target

the target of the action

Proc Details

New

id for fishing action

\ No newline at end of file diff --git a/datum/action_controller.html b/datum/action_controller.html new file mode 100644 index 0000000000000..d1aa5bc6df2a8 --- /dev/null +++ b/datum/action_controller.html @@ -0,0 +1 @@ +/datum/action_controller - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

/datum/action_controller

Procs

interruptIs called by all kinds of things to check for action interrupts.
processHandles the action countdowns, updates and deletions.
startStarts a new action.
start_and_waitStarts an action and waits for it to finish, returns TRUE if it finished successfully, FALSE if it was interrupted.

Proc Details

interrupt

Is called by all kinds of things to check for action interrupts.

process

Handles the action countdowns, updates and deletions.

start

Starts a new action.

start_and_wait

Starts an action and waits for it to finish, returns TRUE if it finished successfully, FALSE if it was interrupted.

\ No newline at end of file diff --git a/datum/admins.html b/datum/admins.html new file mode 100644 index 0000000000000..7bc3a19c3729c --- /dev/null +++ b/datum/admins.html @@ -0,0 +1 @@ +/datum/admins - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

admins

Vars

auto_alias_global_savetoogle that determines whether or not clouddata for auto alt key and stealth is per server or global
ghost_interactionif toggled on then the admin ghost can interact with things
show_topic_logtoggles seeing the Topic log entires on or off by default

Procs

showPlayerStatsProcs-that-open-popups
viewPlayerNotesViewing a player's notes

Var Details

auto_alias_global_save

toogle that determines whether or not clouddata for auto alt key and stealth is per server or global

ghost_interaction

if toggled on then the admin ghost can interact with things

show_topic_log

toggles seeing the Topic log entires on or off by default

Proc Details

showPlayerStats

Procs-that-open-popups

viewPlayerNotes

Viewing a player's notes

\ No newline at end of file diff --git a/datum/aiHolder.html b/datum/aiHolder.html new file mode 100644 index 0000000000000..0931772eed4a7 --- /dev/null +++ b/datum/aiHolder.html @@ -0,0 +1 @@ +/datum/aiHolder - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/aiHolder

Vars

_mobai_being_processedINTERNAL: Set to true when the mobai loop is processing this mob.
current_taskWhat the critter is currently doing. Do not set directly, use switch_to
priority_tasksThe default prioritizer will consume tasks from this list in order before it picks any others
target_pathStores most recently generated path to target - if null, it needs regenerating, or a new target selected

Var Details

_mobai_being_processed

INTERNAL: Set to true when the mobai loop is processing this mob.

current_task

What the critter is currently doing. Do not set directly, use switch_to

priority_tasks

The default prioritizer will consume tasks from this list in order before it picks any others

target_path

Stores most recently generated path to target - if null, it needs regenerating, or a new target selected

\ No newline at end of file diff --git a/datum/aiTask.html b/datum/aiTask.html new file mode 100644 index 0000000000000..5f9025225d136 --- /dev/null +++ b/datum/aiTask.html @@ -0,0 +1,5 @@ +/datum/aiTask - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

task

Vars

ai_turboif this is set, temporarily give this mob the HEAVYWEIGHT_AI mob flag for the duration of this task
distance_from_targetDistance we want to be away from the target for pathing in tiles 0 = same tile / 1 = next to / etc
max_distThe maximum tile distance that we look for targets
move_through_spaceIf this task allows pathing through space
score_by_distance_onlyIf this is set score_target() is ignored and instead the target is chosen by distance only. +This is better for performance if there are multiple targets. Override to FALSE if you override score_target()!
weightfor weighting the importance of the goal this sequence is in charge of

Procs

evaluateEvaluate the current environment and assign priority to switching to this task
get_best_targetTakes a list of atoms which are then evaluated, before setting the holder's target. Note this checks a path exists to each target. The list of +targets is expected (but not required) to be ordered from best to worst - by default view() will do this if score_target() is based on distance
get_targetsReturns a list of atoms that are potential targets for this task
next_taskCalled on every mobAI tick - returns a task to switch to, ending this task, or null to continue
on_resetCalled whenever the task is started or ended. Override this instead of reset()
on_tickCalled on every mobAI tick - this tick rate is determined by mobAI priority
score_targetIf overriding also override [score_by_distance_only] to FALSE!
switched_toCalled when the task is switched to by the holder

Var Details

ai_turbo

if this is set, temporarily give this mob the HEAVYWEIGHT_AI mob flag for the duration of this task

distance_from_target

Distance we want to be away from the target for pathing in tiles 0 = same tile / 1 = next to / etc

max_dist

The maximum tile distance that we look for targets

move_through_space

If this task allows pathing through space

score_by_distance_only

If this is set score_target() is ignored and instead the target is chosen by distance only. +This is better for performance if there are multiple targets. Override to FALSE if you override score_target()!

weight

for weighting the importance of the goal this sequence is in charge of

Proc Details

evaluate

Evaluate the current environment and assign priority to switching to this task

get_best_target

Takes a list of atoms which are then evaluated, before setting the holder's target. Note this checks a path exists to each target. The list of +targets is expected (but not required) to be ordered from best to worst - by default view() will do this if score_target() is based on distance

get_targets

Returns a list of atoms that are potential targets for this task

next_task

Called on every mobAI tick - returns a task to switch to, ending this task, or null to continue

on_reset

Called whenever the task is started or ended. Override this instead of reset()

on_tick

Called on every mobAI tick - this tick rate is determined by mobAI priority

score_target

If overriding also override [score_by_distance_only] to FALSE!

switched_to

Called when the task is switched to by the holder

\ No newline at end of file diff --git a/datum/aiTask/prioritizer/critter.html b/datum/aiTask/prioritizer/critter.html new file mode 100644 index 0000000000000..3b1a36855cf53 --- /dev/null +++ b/datum/aiTask/prioritizer/critter.html @@ -0,0 +1 @@ +/datum/aiTask/prioritizer/critter - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

base critter thinking (should never see this)

Procs

NewWhen you subclass this for your critter, add tasks to transition_tasks here to have them be considered each tick

Proc Details

New

When you subclass this for your critter, add tasks to transition_tasks here to have them be considered each tick

\ No newline at end of file diff --git a/datum/aiTask/sequence/goalbased.html b/datum/aiTask/sequence/goalbased.html new file mode 100644 index 0000000000000..2d592fa09fb47 --- /dev/null +++ b/datum/aiTask/sequence/goalbased.html @@ -0,0 +1 @@ +/datum/aiTask/sequence/goalbased - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

goal parent

Procs

valid_targetIs the target VALID?

Proc Details

valid_target

Is the target VALID?

\ No newline at end of file diff --git a/datum/aiTask/sequence/goalbased/flock.html b/datum/aiTask/sequence/goalbased/flock.html new file mode 100644 index 0000000000000..dddbdf601a7f7 --- /dev/null +++ b/datum/aiTask/sequence/goalbased/flock.html @@ -0,0 +1 @@ +/datum/aiTask/sequence/goalbased/flock - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

/datum/aiTask/sequence/goalbased/flock

Procs

current_egg_costThe amount of resources a drone needs to be eligible to lay an egg (eggs still only cost flock.current_egg_cost)

Proc Details

current_egg_cost

The amount of resources a drone needs to be eligible to lay an egg (eggs still only cost flock.current_egg_cost)

\ No newline at end of file diff --git a/datum/aiTask/succeedable/critter/range_attack.html b/datum/aiTask/succeedable/critter/range_attack.html new file mode 100644 index 0000000000000..c12b57165cc06 --- /dev/null +++ b/datum/aiTask/succeedable/critter/range_attack.html @@ -0,0 +1 @@ +/datum/aiTask/succeedable/critter/range_attack - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

ranged attack subtask

The aiTask/succeedable handles the behaviour to do when we're in range of the target

Vars

max_rangeMaximum range to engage the target from
min_rangeMinimum range from the target before trying to flee

Var Details

max_range

Maximum range to engage the target from

min_range

Minimum range from the target before trying to flee

\ No newline at end of file diff --git a/datum/aiTask/succeedable/retaliate.html b/datum/aiTask/succeedable/retaliate.html new file mode 100644 index 0000000000000..dcb52c28016b5 --- /dev/null +++ b/datum/aiTask/succeedable/retaliate.html @@ -0,0 +1,3 @@ +/datum/aiTask/succeedable/retaliate - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

retaliate subtask

Vars

tickto make us only try to attack every other AI tick, hopefully mirroring default AI attack task behaviour +TODO: replace this mess with actual attack rate variables or something

Var Details

tick

to make us only try to attack every other AI tick, hopefully mirroring default AI attack task behaviour +TODO: replace this mess with actual attack rate variables or something

\ No newline at end of file diff --git a/datum/aiTask/timed/targeted/living_object.html b/datum/aiTask/timed/targeted/living_object.html new file mode 100644 index 0000000000000..3fea5f0fe8856 --- /dev/null +++ b/datum/aiTask/timed/targeted/living_object.html @@ -0,0 +1 @@ +/datum/aiTask/timed/targeted/living_object - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

attack

Procs

pre_attackFor items with special intent/targeting requirements, or special modes of attacking- arm grenades, turn batons on, etc

Proc Details

pre_attack

For items with special intent/targeting requirements, or special modes of attacking- arm grenades, turn batons on, etc

\ No newline at end of file diff --git a/datum/ailment.html b/datum/ailment.html new file mode 100644 index 0000000000000..5222005699d65 --- /dev/null +++ b/datum/ailment.html @@ -0,0 +1 @@ +/datum/ailment - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

ailment

Vars

cure_descdescription for the cure that appears in medical scanners, etc. if null, presets based on the cure flags
cure_flagsflags for determining how this ailment is cured
strain_typeIf we need a specific ailment_data type

Procs

setup_strainReturn a default instance of our ailment_data type with all the vars copied in the awful way they have to be

Var Details

cure_desc

description for the cure that appears in medical scanners, etc. if null, presets based on the cure flags

cure_flags

flags for determining how this ailment is cured

strain_type

If we need a specific ailment_data type

Proc Details

setup_strain

Return a default instance of our ailment_data type with all the vars copied in the awful way they have to be

\ No newline at end of file diff --git a/datum/ailment_data.html b/datum/ailment_data.html new file mode 100644 index 0000000000000..51b25592416c6 --- /dev/null +++ b/datum/ailment_data.html @@ -0,0 +1 @@ +/datum/ailment_data - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/ailment_data

Vars

cure_descdescription for the cure that appears in medical scanners, etc. if null, presets based on the cure flags
cure_flagsflags for determining how this ailment is cured

Var Details

cure_desc

description for the cure that appears in medical scanners, etc. if null, presets based on the cure flags

cure_flags

flags for determining how this ailment is cured

\ No newline at end of file diff --git a/datum/air_group.html b/datum/air_group.html new file mode 100644 index 0000000000000..296809f4ecb12 --- /dev/null +++ b/datum/air_group.html @@ -0,0 +1,13 @@ +/datum/air_group - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/air_group

Air groups are collections of tiles that let us save processing time by treating a bunch of similar tiles as a single tile. +This is quite useful because atmospherics processing is quite the time hog and processing one tile is much faster. +Whenever our tiles become too different, we can break up and create new smaller groups.

Vars

airThe gas mixture we use for the air group.
archived_cycleCycle that our archived vars were made. +The use of archived cycle saves processing power by permitting the archiving step of FET to be rolled into the updating step.
border_groupGroups that border us and are in group processing mode.
border_individualTiles that border us that either have no group, aka singletons, or are not in group processing mode.
bordersOur tiles that border this group to other groups/singletons.
current_cycleCurrent cycle of the atmospherics master.
enemiesTiles that border us and are in another group that is currently processing.
group_processingProcessing all tiles as one large tile if TRUE.
length_space_borderLength of our border with space
membersAll tiles in this group
self_group_bordersOur tiles that border groups that are processing.
self_tile_bordersOur tiles that border singletons.
space_bordersTiles that border space
spacedIf true, will drain the gasses of the airgroup.

Procs

check_regroup
process_groupProcess the various air groups.
resume_group_processingCollect air from the members to the group.
space_fastpath
space_groupZeroes and spaces the air of the group and resumes group processing.
suspend_group_processingDistribute air from the group out to members
unspace_groupUnspaces the group and stops group processing.
update_group_from_tilesCopy group air information to individual tile air. Used right before turning on group processing.
update_tiles_from_groupCopy group air information to individual tile air. Used right before turning off group processing.

Var Details

air

The gas mixture we use for the air group.

archived_cycle

Cycle that our archived vars were made. +The use of archived cycle saves processing power by permitting the archiving step of FET to be rolled into the updating step.

border_group

Groups that border us and are in group processing mode.

border_individual

Tiles that border us that either have no group, aka singletons, or are not in group processing mode.

borders

Our tiles that border this group to other groups/singletons.

current_cycle

Current cycle of the atmospherics master.

enemies

Tiles that border us and are in another group that is currently processing.

group_processing

Processing all tiles as one large tile if TRUE.

length_space_border

Length of our border with space

members

All tiles in this group

self_group_borders

Our tiles that border groups that are processing.

self_tile_borders

Our tiles that border singletons.

space_borders

Tiles that border space

spaced

If true, will drain the gasses of the airgroup.

Proc Details

check_regroup

process_group

Process the various air groups.

resume_group_processing

Collect air from the members to the group.

space_fastpath

space_group

Zeroes and spaces the air of the group and resumes group processing.

suspend_group_processing

Distribute air from the group out to members

unspace_group

Unspaces the group and stops group processing.

update_group_from_tiles

Copy group air information to individual tile air. Used right before turning on group processing.

update_tiles_from_group

Copy group air information to individual tile air. Used right before turning off group processing.

\ No newline at end of file diff --git a/datum/allocated_region.html b/datum/allocated_region.html new file mode 100644 index 0000000000000..039e4d5fb46a4 --- /dev/null +++ b/datum/allocated_region.html @@ -0,0 +1,12 @@ +/datum/allocated_region - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/allocated_region

Represents a map region you have allocated access to. +While you hold a reference to this region you are free to assume nothing else will allocate this part of the map and touch your region. +You should also not go out of its bounds of course. +Deallocate the region by qdel()ing it or dropping all references to it.

Vars

bottom_leftBottom left corner of the region
heightHeight in tiles
nameoptional friendly name for the region
nodeCorresponding node in the region_allocator quad tree
widthWidth in tiles

Procs

get_centerreturns the center turf of the region, biasing towards top right if dimensions even
get_random_turfreturns a random turf in the region
relative_turf_coordsReturns the relative coordinates of the turf in the region (1, 1) being bottom left corner. +Returns null if the turf is not in the region.
turf_atGiven local coordinates (x, y) returns you a turf at these coordinates in the region. +I.e. (1, 1) will return src.bottom_left . +This is the preferred method to access turfs in the region. +If coordinates are out of bounds null will be returned.
turf_in_regionChecks if a turf is in the region.
turf_on_borderChecks if the turf is on the (inner) border of the region

Var Details

bottom_left

Bottom left corner of the region

height

Height in tiles

name

optional friendly name for the region

node

Corresponding node in the region_allocator quad tree

width

Width in tiles

Proc Details

get_center

returns the center turf of the region, biasing towards top right if dimensions even

get_random_turf

returns a random turf in the region

relative_turf_coords

Returns the relative coordinates of the turf in the region (1, 1) being bottom left corner. +Returns null if the turf is not in the region.

turf_at

Given local coordinates (x, y) returns you a turf at these coordinates in the region. +I.e. (1, 1) will return src.bottom_left . +This is the preferred method to access turfs in the region. +If coordinates are out of bounds null will be returned.

turf_in_region

Checks if a turf is in the region.

turf_on_border

Checks if the turf is on the (inner) border of the region

\ No newline at end of file diff --git a/datum/antagWeighter.html b/datum/antagWeighter.html new file mode 100644 index 0000000000000..f74629f293efc --- /dev/null +++ b/datum/antagWeighter.html @@ -0,0 +1,27 @@ +/datum/antagWeighter - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

/datum/antagWeighter

Procs

calculateWeightingsQueries the goonhub API for hisorical antag rounds for the pool of minds given
chooseQueries the goonhub API for hisorical antag rounds for the pool of minds given +Returns a list of minds that haevn't played up to the percentage of antag rounds defined in config
recordRecords an antag selection for a single player
simulateHistoryQueries the goonhub API for hisorical antag rounds for a single target +NOTE: Currently unused

Proc Details

calculateWeightings

Queries the goonhub API for hisorical antag rounds for the pool of minds given

+

@param string role Name of the antag role we're picking for (e.g. traitor, spy_thief) +@param list history List of historical antag data returned by the goonhub API +@return list List ckeys sorted by weight (highest weight first)

choose

Queries the goonhub API for hisorical antag rounds for the pool of minds given +Returns a list of minds that haevn't played up to the percentage of antag rounds defined in config

+

@param list pool List of minds under consideration for antag picking +@param string role Name of the antag role we're picking for (e.g. traitor, spy_thief) +@param int amount Max amount of players to choose for this role +@param boolean recordChosen When true, triggers a src.record() for the chosen players +@return list List of minds chosen

record

Records an antag selection for a single player

+

@param string role Name of the antag role we're recording a selection for +@param string P The player being recorded +@param boolean latejoin Whether this record is a latejoin antag selection +@return null

simulateHistory

Queries the goonhub API for hisorical antag rounds for a single target +NOTE: Currently unused

+

@param string role Name of the antag role we're looking up (e.g. traitor, spy_thief) +@param string ckey Ckey of the person we're looking up +@return list List of history details

+

Get the entire antag selection history for a player (all roles, all modes)

+

@param string ckey Ckey of the person we're looking up +@return list List of history details

+

Simulates a history response from the API, so local development doesn't fuck up

+

@param string role Name of the antag role we're looking up (e.g. traitor, spy_thief) +@param list ckeyMinds List of minds keyed by ckeys +@return list Simulated response

\ No newline at end of file diff --git a/datum/antagonist.html b/datum/antagonist.html new file mode 100644 index 0000000000000..9b1633bff9cf3 --- /dev/null +++ b/datum/antagonist.html @@ -0,0 +1,5 @@ +/datum/antagonist - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/antagonist

Vars

antagonist_iconThe icon state that should be used for the antagonist overlay for this antagonist type. Icons may be found in icons/mob/antag_overlays.dmi.
antagonist_panel_tab_typeThe type of tab that this antagonist type should be displayed under on the admin antagonist panel.
assigned_byHow this antagonist was created. Displayed at the end of the round.
display_nameHuman-readable name for displaying this antagonist for admin menus, round-end summary, etc.
factionThe faction given to the player by this antagonist role for AI targeting purposes.
has_info_popupIf TRUE, this antagonist has an associated browser window (ideally with the same ID as itself) that will be displayed in do_popup() by default.
idInternal ID used to track this type of antagonist. This should always be unique between types and subtypes.
keep_equipment_on_deathIf TRUE, the equipment is not removed on death. Only works if remove_on_death is TRUE.
mutually_exclusiveIf TRUE, no other antagonists can be naturally gained if this one is active. Admins can still manually add new ones.
objectivesThe objectives assigned to the player by this specific antagonist role.
ownerThe mind of the player that that this antagonist is assigned to.
pseudoPseudo antagonists are not "real" antagonists, as determined by the round. They have the abilities, but do not have objectives and ideally should not considered antagonists for the purposes of griefing rules, etc.
remove_on_cloneIf TRUE, the antag status will be removed when the person is cloned (zombies etc.)
remove_on_deathIf TRUE, the antag status will be removed when the person dies (changeling critters etc.)
silentWhether the addition or removal of this antagonist role is announced to the player.
success_medalThe medal unlocked at the end of the round by succeeding as this antagonist.
succinct_end_of_round_antagonist_entryIf TRUE, this antagonist will not have their own entry in the end of round credits antagonists tab, rather they will be displayed in a list below the primary entries.
uses_pref_nameDoes the owner of this antagonist role use their normal name set in character preferences as opposed to being assigned a random or chosen name?
vrVR antagonists, similar to pseudo antagonists, are not real antagonists. They lack some exploitative abilities, are not relocated, and are removed on death.

Procs

alt_equipmentFallback in case the antag must have some level of initalization even with no equipment.
announceDisplay a greeting to the player to inform that they're an antagonist. This can be anything, but by default it's just the name.
announce_removalDisplay something when this antagonist is removed.
assign_objectivesGenerate objectives for the antagonist and assign them to the mind.
borgedCalled when the player is made into a cyborg or AI
check_successReturns whether or not this antagonist is considered to have succeeded. By default, this checks all antagonist-specific objectives.
do_popupShow a popup window for this antagonist. Defaults to using the same ID as the antagonist itself.
get_statisticsReturns a list of data to be passed to the end of round credits pertaining to this antagonist, such as items purchased, units of blood drank, and so forth. +Should return a list of "name"-"value" associative lists. +If an item list utilising item icons is to be used, the "type" index should be set to "itemList", and "value" should itself be a list of "iconBase64"-"name" associative lists.
give_equipmentEquip the antagonist with abilities, custom equipment, and so on.
handle_cryoHandle this antagonist entering cryogenic storage, possibly temporarily.
handle_perma_cryoHandle this antagonist entering cryogenic storage permanently
handle_round_endHandle special behavior at the end of the round, such as awarding medals.
is_compatible_withReturns TRUE if this antagonist can be assigned to the given mind, and FALSE otherwise. This is intended to be special logic, overriden by subtypes; mutual exclusivity and other selection logic is not performed here.
relocateMove the antagonist to their spawn location, if applicable.
remove_equipmentThe inverse of give_equipment(). Remove things like changeling abilities, etc. Non-innate things like items should probably be kept.
remove_objectivesRemove objectives from the antagonist and the mind.
remove_selfCalls removal procs to soft-remove this antagonist from its owner. Actual movement or deletion of the datum still needs to happen elsewhere.
setup_antagonistBase proc to set up the antagonist. Depending on arguments, it can spawn equipment, assign objectives, move the player (if applicable), and announce itself.
unborgedCalled when the player is no longer a cybrorg or AI

Var Details

antagonist_icon

The icon state that should be used for the antagonist overlay for this antagonist type. Icons may be found in icons/mob/antag_overlays.dmi.

antagonist_panel_tab_type

The type of tab that this antagonist type should be displayed under on the admin antagonist panel.

assigned_by

How this antagonist was created. Displayed at the end of the round.

display_name

Human-readable name for displaying this antagonist for admin menus, round-end summary, etc.

faction

The faction given to the player by this antagonist role for AI targeting purposes.

has_info_popup

If TRUE, this antagonist has an associated browser window (ideally with the same ID as itself) that will be displayed in do_popup() by default.

id

Internal ID used to track this type of antagonist. This should always be unique between types and subtypes.

keep_equipment_on_death

If TRUE, the equipment is not removed on death. Only works if remove_on_death is TRUE.

mutually_exclusive

If TRUE, no other antagonists can be naturally gained if this one is active. Admins can still manually add new ones.

objectives

The objectives assigned to the player by this specific antagonist role.

owner

The mind of the player that that this antagonist is assigned to.

pseudo

Pseudo antagonists are not "real" antagonists, as determined by the round. They have the abilities, but do not have objectives and ideally should not considered antagonists for the purposes of griefing rules, etc.

remove_on_clone

If TRUE, the antag status will be removed when the person is cloned (zombies etc.)

remove_on_death

If TRUE, the antag status will be removed when the person dies (changeling critters etc.)

silent

Whether the addition or removal of this antagonist role is announced to the player.

success_medal

The medal unlocked at the end of the round by succeeding as this antagonist.

succinct_end_of_round_antagonist_entry

If TRUE, this antagonist will not have their own entry in the end of round credits antagonists tab, rather they will be displayed in a list below the primary entries.

uses_pref_name

Does the owner of this antagonist role use their normal name set in character preferences as opposed to being assigned a random or chosen name?

vr

VR antagonists, similar to pseudo antagonists, are not real antagonists. They lack some exploitative abilities, are not relocated, and are removed on death.

Proc Details

alt_equipment

Fallback in case the antag must have some level of initalization even with no equipment.

announce

Display a greeting to the player to inform that they're an antagonist. This can be anything, but by default it's just the name.

announce_removal

Display something when this antagonist is removed.

assign_objectives

Generate objectives for the antagonist and assign them to the mind.

borged

Called when the player is made into a cyborg or AI

check_success

Returns whether or not this antagonist is considered to have succeeded. By default, this checks all antagonist-specific objectives.

do_popup

Show a popup window for this antagonist. Defaults to using the same ID as the antagonist itself.

get_statistics

Returns a list of data to be passed to the end of round credits pertaining to this antagonist, such as items purchased, units of blood drank, and so forth. +Should return a list of "name"-"value" associative lists. +If an item list utilising item icons is to be used, the "type" index should be set to "itemList", and "value" should itself be a list of "iconBase64"-"name" associative lists.

give_equipment

Equip the antagonist with abilities, custom equipment, and so on.

handle_cryo

Handle this antagonist entering cryogenic storage, possibly temporarily.

handle_perma_cryo

Handle this antagonist entering cryogenic storage permanently

handle_round_end

Handle special behavior at the end of the round, such as awarding medals.

is_compatible_with

Returns TRUE if this antagonist can be assigned to the given mind, and FALSE otherwise. This is intended to be special logic, overriden by subtypes; mutual exclusivity and other selection logic is not performed here.

relocate

Move the antagonist to their spawn location, if applicable.

remove_equipment

The inverse of give_equipment(). Remove things like changeling abilities, etc. Non-innate things like items should probably be kept.

remove_objectives

Remove objectives from the antagonist and the mind.

remove_self

Calls removal procs to soft-remove this antagonist from its owner. Actual movement or deletion of the datum still needs to happen elsewhere.

setup_antagonist

Base proc to set up the antagonist. Depending on arguments, it can spawn equipment, assign objectives, move the player (if applicable), and announce itself.

unborged

Called when the player is no longer a cybrorg or AI

\ No newline at end of file diff --git a/datum/antagonist/arcfiend.html b/datum/antagonist/arcfiend.html new file mode 100644 index 0000000000000..c57211065b30c --- /dev/null +++ b/datum/antagonist/arcfiend.html @@ -0,0 +1 @@ +/datum/antagonist/arcfiend - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/antagonist/arcfiend

Vars

ability_holderThe ability holder of this arcfiend, containing their respective abilities. We also use this for tracking power, at the moment.

Var Details

ability_holder

The ability holder of this arcfiend, containing their respective abilities. We also use this for tracking power, at the moment.

\ No newline at end of file diff --git a/datum/antagonist/changeling.html b/datum/antagonist/changeling.html new file mode 100644 index 0000000000000..a48b12bbd3fa5 --- /dev/null +++ b/datum/antagonist/changeling.html @@ -0,0 +1 @@ +/datum/antagonist/changeling - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/antagonist/changeling

Vars

ability_holderThe ability holder of this changeling, containing their respective abilities. This is also used for tracking absorbtions, at the moment.

Var Details

ability_holder

The ability holder of this changeling, containing their respective abilities. This is also used for tracking absorbtions, at the moment.

\ No newline at end of file diff --git a/datum/antagonist/floor_goblin.html b/datum/antagonist/floor_goblin.html new file mode 100644 index 0000000000000..6d783352c1ba9 --- /dev/null +++ b/datum/antagonist/floor_goblin.html @@ -0,0 +1 @@ +/datum/antagonist/floor_goblin - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/antagonist/floor_goblin

Vars

ability_holderThe ability holder of this floor goblin, containing their respective abilities.

Var Details

ability_holder

The ability holder of this floor goblin, containing their respective abilities.

\ No newline at end of file diff --git a/datum/antagonist/gang_leader.html b/datum/antagonist/gang_leader.html new file mode 100644 index 0000000000000..68d241d0f9f49 --- /dev/null +++ b/datum/antagonist/gang_leader.html @@ -0,0 +1 @@ +/datum/antagonist/gang_leader - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/antagonist/gang_leader

Vars

ability_holderThe ability holder of this gang leader, containing their respective abilities.
gangThe gang that this gang leader belongs to.
headsetThe headset of this gang leader, tracked so that additional channels may be later removed.

Var Details

ability_holder

The ability holder of this gang leader, containing their respective abilities.

gang

The gang that this gang leader belongs to.

headset

The headset of this gang leader, tracked so that additional channels may be later removed.

\ No newline at end of file diff --git a/datum/antagonist/grinch.html b/datum/antagonist/grinch.html new file mode 100644 index 0000000000000..2a5f507386fde --- /dev/null +++ b/datum/antagonist/grinch.html @@ -0,0 +1 @@ +/datum/antagonist/grinch - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/antagonist/grinch

Vars

ability_holderThe ability holder of this grinch, containing their respective abilities.

Var Details

ability_holder

The ability holder of this grinch, containing their respective abilities.

\ No newline at end of file diff --git a/datum/antagonist/head_revolutionary.html b/datum/antagonist/head_revolutionary.html new file mode 100644 index 0000000000000..14f01b6f5a0cc --- /dev/null +++ b/datum/antagonist/head_revolutionary.html @@ -0,0 +1 @@ +/datum/antagonist/head_revolutionary - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/antagonist/head_revolutionary

Vars

purchased_itemsA list of items that this head revolutionary has purchased using their uplink.

Var Details

purchased_items

A list of items that this head revolutionary has purchased using their uplink.

\ No newline at end of file diff --git a/datum/antagonist/hunter.html b/datum/antagonist/hunter.html new file mode 100644 index 0000000000000..105bde1620bf9 --- /dev/null +++ b/datum/antagonist/hunter.html @@ -0,0 +1 @@ +/datum/antagonist/hunter - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/antagonist/hunter

Vars

ability_holderThe ability holder of this hunter, containing their respective abilities. We also use this for tracking power, at the moment.

Var Details

ability_holder

The ability holder of this hunter, containing their respective abilities. We also use this for tracking power, at the moment.

\ No newline at end of file diff --git a/datum/antagonist/mob/intangible/blob.html b/datum/antagonist/mob/intangible/blob.html new file mode 100644 index 0000000000000..6a9322f9d6822 --- /dev/null +++ b/datum/antagonist/mob/intangible/blob.html @@ -0,0 +1 @@ +/datum/antagonist/mob/intangible/blob - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/antagonist/mob/intangible/blob

Vars

absorbed_victimsAll mobs absorbed by this blob.

Var Details

absorbed_victims

All mobs absorbed by this blob.

\ No newline at end of file diff --git a/datum/antagonist/spy_thief.html b/datum/antagonist/spy_thief.html new file mode 100644 index 0000000000000..87290d1f72b45 --- /dev/null +++ b/datum/antagonist/spy_thief.html @@ -0,0 +1,4 @@ +/datum/antagonist/spy_thief - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/antagonist/spy_thief

Vars

redeemed_item_pathsA list of buylist datums that this traitor has redeemed using their uplink.
stolen_itemsA list of mutable appearnces of items that this traitor has stolen using their uplink. This tracks items stolen with any uplink, so if a spy thief steals another spy thief's uplink, stolen items will show up here too! +Associative list of string names to mutable appearances

Var Details

redeemed_item_paths

A list of buylist datums that this traitor has redeemed using their uplink.

+

This tracks items redeemed with any uplink, so if a spy thief steals another spy thief's uplink, redeemed items will show up here too!

stolen_items

A list of mutable appearnces of items that this traitor has stolen using their uplink. This tracks items stolen with any uplink, so if a spy thief steals another spy thief's uplink, stolen items will show up here too! +Associative list of string names to mutable appearances

\ No newline at end of file diff --git a/datum/antagonist/subordinate.html b/datum/antagonist/subordinate.html new file mode 100644 index 0000000000000..162e7950d3b99 --- /dev/null +++ b/datum/antagonist/subordinate.html @@ -0,0 +1 @@ +/datum/antagonist/subordinate - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/antagonist/subordinate

Vars

masterThe mind of this antagonist's master, leader, and so forth.

Var Details

master

The mind of this antagonist's master, leader, and so forth.

\ No newline at end of file diff --git a/datum/antagonist/subordinate/gang_member.html b/datum/antagonist/subordinate/gang_member.html new file mode 100644 index 0000000000000..221ad9619d5e4 --- /dev/null +++ b/datum/antagonist/subordinate/gang_member.html @@ -0,0 +1 @@ +/datum/antagonist/subordinate/gang_member - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/antagonist/subordinate/gang_member

Vars

ability_holderThe ability holder of this gang member, containing their abilities (namely, toggling the gang overlay)
gangThe gang that this gang member belongs to.
headsetThe headset of this gang member, tracked so that additional channels may be later removed.

Var Details

ability_holder

The ability holder of this gang member, containing their abilities (namely, toggling the gang overlay)

gang

The gang that this gang member belongs to.

headset

The headset of this gang member, tracked so that additional channels may be later removed.

\ No newline at end of file diff --git a/datum/antagonist/subordinate/mob/intangible/flocktrace.html b/datum/antagonist/subordinate/mob/intangible/flocktrace.html new file mode 100644 index 0000000000000..ce522e8733722 --- /dev/null +++ b/datum/antagonist/subordinate/mob/intangible/flocktrace.html @@ -0,0 +1 @@ +/datum/antagonist/subordinate/mob/intangible/flocktrace - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/antagonist/subordinate/mob/intangible/flocktrace

Vars

flockThe flock that this flocktrace belongs to.

Var Details

flock

The flock that this flocktrace belongs to.

\ No newline at end of file diff --git a/datum/antagonist/subordinate/thrall.html b/datum/antagonist/subordinate/thrall.html new file mode 100644 index 0000000000000..a1d7d358513ea --- /dev/null +++ b/datum/antagonist/subordinate/thrall.html @@ -0,0 +1 @@ +/datum/antagonist/subordinate/thrall - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/antagonist/subordinate/thrall

Vars

ability_holderThe ability holder of this vampire thrall, containing their respective abilities. This is also used for tracking blood, at the moment.
master_ability_holderThe ability holder of the master of this vampire thrall, which is to be used alongside src.master, due to vampire TEGs.

Var Details

ability_holder

The ability holder of this vampire thrall, containing their respective abilities. This is also used for tracking blood, at the moment.

master_ability_holder

The ability holder of the master of this vampire thrall, which is to be used alongside src.master, due to vampire TEGs.

\ No newline at end of file diff --git a/datum/antagonist/traitor.html b/datum/antagonist/traitor.html new file mode 100644 index 0000000000000..e3d355c79b019 --- /dev/null +++ b/datum/antagonist/traitor.html @@ -0,0 +1 @@ +/datum/antagonist/traitor - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/antagonist/traitor

Vars

purchased_itemsA list of items that this traitor has purchased using their uplink. This tracks purchases made with any uplink, not just our own, so if a traitor is sassy and steals another antagonist's uplink, purchases will show up here too!
surplus_crate_itemsIf the traitor got a surplus crate, this list contains info about the items that were inside that crate.
uplinkOur initial uplink. This is only used to determine the popup shown to the player, so it isn't too important to track.

Var Details

purchased_items

A list of items that this traitor has purchased using their uplink. This tracks purchases made with any uplink, not just our own, so if a traitor is sassy and steals another antagonist's uplink, purchases will show up here too!

surplus_crate_items

If the traitor got a surplus crate, this list contains info about the items that were inside that crate.

Our initial uplink. This is only used to determine the popup shown to the player, so it isn't too important to track.

\ No newline at end of file diff --git a/datum/antagonist/vampire.html b/datum/antagonist/vampire.html new file mode 100644 index 0000000000000..773b5e71baa91 --- /dev/null +++ b/datum/antagonist/vampire.html @@ -0,0 +1 @@ +/datum/antagonist/vampire - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/antagonist/vampire

Vars

ability_holderThe ability holder of this vampire, containing their respective abilities. This is also used for tracking blood, at the moment.

Var Details

ability_holder

The ability holder of this vampire, containing their respective abilities. This is also used for tracking blood, at the moment.

\ No newline at end of file diff --git a/datum/antagonist/werewolf.html b/datum/antagonist/werewolf.html new file mode 100644 index 0000000000000..801b8ef888917 --- /dev/null +++ b/datum/antagonist/werewolf.html @@ -0,0 +1 @@ +/datum/antagonist/werewolf - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/antagonist/werewolf

Vars

ability_holderThe ability holder of this werewolf, containing their respective abilities.

Var Details

ability_holder

The ability holder of this werewolf, containing their respective abilities.

\ No newline at end of file diff --git a/datum/antagonist/wizard.html b/datum/antagonist/wizard.html new file mode 100644 index 0000000000000..c76c2ab7cf7fa --- /dev/null +++ b/datum/antagonist/wizard.html @@ -0,0 +1 @@ +/datum/antagonist/wizard - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/antagonist/wizard

Vars

ability_holderThe ability holder of this wizard, containing their respective abilities.

Var Details

ability_holder

The ability holder of this wizard, containing their respective abilities.

\ No newline at end of file diff --git a/datum/antagonist/wrestler.html b/datum/antagonist/wrestler.html new file mode 100644 index 0000000000000..01345e8f68c9e --- /dev/null +++ b/datum/antagonist/wrestler.html @@ -0,0 +1 @@ +/datum/antagonist/wrestler - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/antagonist/wrestler

Vars

ability_holderThe ability holder of this wrestler, containing their respective abilities.

Var Details

ability_holder

The ability holder of this wrestler, containing their respective abilities.

\ No newline at end of file diff --git a/datum/antagonist_panel.html b/datum/antagonist_panel.html new file mode 100644 index 0000000000000..c0b736231a991 --- /dev/null +++ b/datum/antagonist_panel.html @@ -0,0 +1,3 @@ +/datum/antagonist_panel - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/antagonist_panel

Antagonist panel datums serve as per-UI-user datums that pass data fetched from the global antagonist panel data singleton +to the UI. These datums will also store and pass user specific data such as the current tab and subordinate antagonist data +requested by the UI user.

Vars

antagonist_datums_to_get_subordinate_data_forAntagonist datums from whom to generate subordinate antagonist data for.
current_tabThe current tab type displayed on the UI.
panel_dataThe global antagonist panel data generator and cache to request tab data from.

Procs

generate_subordinate_antagonist_dataReturns subordinate antagonist data for all antagonist datums listed in antagonist_datums_to_get_subordinate_data_for.

Var Details

antagonist_datums_to_get_subordinate_data_for

Antagonist datums from whom to generate subordinate antagonist data for.

current_tab

The current tab type displayed on the UI.

panel_data

The global antagonist panel data generator and cache to request tab data from.

Proc Details

generate_subordinate_antagonist_data

Returns subordinate antagonist data for all antagonist datums listed in antagonist_datums_to_get_subordinate_data_for.

\ No newline at end of file diff --git a/datum/antagonist_panel_data.html b/datum/antagonist_panel_data.html new file mode 100644 index 0000000000000..74fb25a79bff2 --- /dev/null +++ b/datum/antagonist_panel_data.html @@ -0,0 +1,4 @@ +/datum/antagonist_panel_data - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/antagonist_panel_data

The global singleton datum responsible for generating and providing data to individual instances of antagonist panels. +Such a datum is necessary due to the relatively large amount of antagonist data that is required to be processed with +each update of individual antagonist panels; tab data may be collated once every update then stored in a cache in order +to be fetched by antagonist panels.

Vars

antagonist_panel_tab_namesA list of tab names and their respective tab index.
antagonist_panel_tabsAn associative list of tab indexes and their repective tab instances.
ui_data_cacheAn associative list of tab indexes and their repective cached tab data.

Procs

generate_mortality_ratesReturns both crew and antagonist mortality rates.
get_antagonist_panel_tabsPopulates antagonist_panel_tabs and antagonist_panel_tab_names with the necessary antagonist tab types and names.
request_ui_dataReturns the UI data for a specified antagonist panel tab, either fetching it from the cache or regenerating it depending on a cooldown.

Var Details

antagonist_panel_tab_names

A list of tab names and their respective tab index.

antagonist_panel_tabs

An associative list of tab indexes and their repective tab instances.

ui_data_cache

An associative list of tab indexes and their repective cached tab data.

Proc Details

generate_mortality_rates

Returns both crew and antagonist mortality rates.

get_antagonist_panel_tabs

Populates antagonist_panel_tabs and antagonist_panel_tab_names with the necessary antagonist tab types and names.

request_ui_data

Returns the UI data for a specified antagonist panel tab, either fetching it from the cache or regenerating it depending on a cooldown.

\ No newline at end of file diff --git a/datum/antagonist_panel_tab.html b/datum/antagonist_panel_tab.html new file mode 100644 index 0000000000000..121aac2e8b751 --- /dev/null +++ b/datum/antagonist_panel_tab.html @@ -0,0 +1,2 @@ +/datum/antagonist_panel_tab - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/antagonist_panel_tab

Antagonist panel tab datums represent the individual tabs that may be present on an antagonist panel and are responsble +for generating the specific data contained within them.

Vars

tab_nameThe name of this tab to be displayed on the UI.

Procs

generate_location_dataReturns a list of areas and coordinates for each player entry in the tab, indexed by mind.
generate_section_dataReturns data on the constituent sections of this tab, alongside the concomitant antagonist data.

Var Details

tab_name

The name of this tab to be displayed on the UI.

Proc Details

generate_location_data

Returns a list of areas and coordinates for each player entry in the tab, indexed by mind.

generate_section_data

Returns data on the constituent sections of this tab, alongside the concomitant antagonist data.

\ No newline at end of file diff --git a/datum/antagonist_panel_tab/bundled.html b/datum/antagonist_panel_tab/bundled.html new file mode 100644 index 0000000000000..0eed21e2acb60 --- /dev/null +++ b/datum/antagonist_panel_tab/bundled.html @@ -0,0 +1 @@ +/datum/antagonist_panel_tab/bundled - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/antagonist_panel_tab/bundled

Vars

name_antagonist_pairsAn associateive list of section titles and antagonist IDs that this tab should display data for.

Var Details

name_antagonist_pairs

An associateive list of section titles and antagonist IDs that this tab should display data for.

\ No newline at end of file diff --git a/datum/antagonist_panel_tab/generic.html b/datum/antagonist_panel_tab/generic.html new file mode 100644 index 0000000000000..e11a33b8d1c66 --- /dev/null +++ b/datum/antagonist_panel_tab/generic.html @@ -0,0 +1 @@ +/datum/antagonist_panel_tab/generic - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/antagonist_panel_tab/generic

Vars

antagonist_roleThe antagonist ID that this tab should display data for.

Var Details

antagonist_role

The antagonist ID that this tab should display data for.

\ No newline at end of file diff --git a/datum/apiBody.html b/datum/apiBody.html new file mode 100644 index 0000000000000..c4165f45c72f5 --- /dev/null +++ b/datum/apiBody.html @@ -0,0 +1,2 @@ +/datum/apiBody - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

/datum/apiBody

Represents the body of an API request - ABSTRACT +Everything is generally required unless annotated as such

Procs

VerifyIntegrityOverride to verify that the model object is correctly formed. Return FALSE if not.
setValuesBuild a list of values based on fields and input
toJsonOverride to provide a way to convert this body to json

Proc Details

VerifyIntegrity

Override to verify that the model object is correctly formed. Return FALSE if not.

setValues

Build a list of values based on fields and input

toJson

Override to provide a way to convert this body to json

\ No newline at end of file diff --git a/datum/apiHandler.html b/datum/apiHandler.html new file mode 100644 index 0000000000000..396231cfb3ed8 --- /dev/null +++ b/datum/apiHandler.html @@ -0,0 +1,11 @@ +/datum/apiHandler - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/apiHandler

Handles queries to the Goonhub APIv2

Vars

apiRetryDelaybase delay between query attempts, gets multiplied by attempt number
debugIs debug logging on? If true, detailed logs for each API request will be logged to debug
emergency_shutoff_counterhow many api errors there have been since a successful one
enabledIs the api handler available for use? only set to false if we try a bunch of times and still fail
lazy_concurrent_counterlazy count of how many are up/down
lazy_waiting_counternumber of how many are waiting
maxApiRetrieshow many times should a query attempt to run before giving up

Procs

apiErrorBuild and throw an error exception
debugLogLog an API request
queryAPIConstructs a query to send to the goonhub web API
retryApiQueryRetries an API query in the event of failure
trackRecentErrorIncrements or resets the recent error counter

Var Details

apiRetryDelay

base delay between query attempts, gets multiplied by attempt number

debug

Is debug logging on? If true, detailed logs for each API request will be logged to debug

emergency_shutoff_counter

how many api errors there have been since a successful one

enabled

Is the api handler available for use? only set to false if we try a bunch of times and still fail

lazy_concurrent_counter

lazy count of how many are up/down

lazy_waiting_counter

number of how many are waiting

maxApiRetries

how many times should a query attempt to run before giving up

Proc Details

apiError

Build and throw an error exception

debugLog

Log an API request

+

@method (string) HTTP method of the request +@route (string) URL of the request +@body (string) JSON encoded body of the request if applicable

queryAPI

Constructs a query to send to the goonhub web API

+

@route (/datum/apiRoute) requested route to call, ex. /datum/apiRoute/players/notes/get +@attempt (int) number of times we've attempted this query +@return (/datum/apiModel|boolean) model containing parsed data response from api, or boolean indicating success

retryApiQuery

Retries an API query in the event of failure

+

@route (/datum/apiRoute) requested route to call, ex. /datum/apiRoute/players/notes/get +@attempt (int) number of times we've attempted this query +@return (/datum/apiModel) model containing parsed data response from api

trackRecentError

Increments or resets the recent error counter

+

@reset (bool) reset the counter (eg successful request)

\ No newline at end of file diff --git a/datum/apiModel.html b/datum/apiModel.html new file mode 100644 index 0000000000000..bcd19f29531fe --- /dev/null +++ b/datum/apiModel.html @@ -0,0 +1,2 @@ +/datum/apiModel - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

/datum/apiModel

Base apiModel datum - ABSTRACT +Everything is generally required unless annotated as such

Procs

SetupFromResponseOverride to build a model from an API response object
ToListOverride to convert a model to an associative list
ToStringGet a string representation of a model for debugging purposes. Optional.
VerifyIntegrityOverride to verify that the model object is correctly formed. Return FALSE if not.

Proc Details

SetupFromResponse

Override to build a model from an API response object

ToList

Override to convert a model to an associative list

ToString

Get a string representation of a model for debugging purposes. Optional.

VerifyIntegrity

Override to verify that the model object is correctly formed. Return FALSE if not.

\ No newline at end of file diff --git a/datum/apiRoute.html b/datum/apiRoute.html new file mode 100644 index 0000000000000..aa5255062b294 --- /dev/null +++ b/datum/apiRoute.html @@ -0,0 +1,7 @@ +/datum/apiRoute - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/apiRoute

Base apiCall type +Represents a predefined query we can make to the Goonhub API +SECURITY: Sanitization occurs right before output

Vars

allow_retryIs this request allowed to automatically retry if it fails?
bodyBody of the request, invalid for GET
correct_responseThe expected type upon deserialization
methodHTTP Method this call uses, for example RUSTG_HTTP_METHOD_GET
pathActual path of the api query, for example /rounds
queryParamsQuery parameters for the call, ie /rounds?&id=3
routeParamsRoute parameters for the call, ie /rounds/{round_id}/ - Must be in order

Procs

formatQueryParamsFormats a given parameter associated list into a urlstring format +E.g. list("ckey"="zewaka") to ?&ckey=zewakaandlist("x"=list("a" = "foo", "b" = "bar"))to?&x[a]=foo&x[b]=bar`
formatRouteParamsFormats a given parameter list into a route-append format +E.g. list("tuesday", "wednesday") to tuesday/wednesday

Var Details

allow_retry

Is this request allowed to automatically retry if it fails?

body

Body of the request, invalid for GET

correct_response

The expected type upon deserialization

method

HTTP Method this call uses, for example RUSTG_HTTP_METHOD_GET

path

Actual path of the api query, for example /rounds

queryParams

Query parameters for the call, ie /rounds?&id=3

routeParams

Route parameters for the call, ie /rounds/{round_id}/ - Must be in order

Proc Details

formatQueryParams

Formats a given parameter associated list into a urlstring format +E.g. list("ckey"="zewaka") to ?&ckey=zewakaandlist("x"=list("a" = "foo", "b" = "bar"))to?&x[a]=foo&x[b]=bar`

formatRouteParams

Formats a given parameter list into a route-append format +E.g. list("tuesday", "wednesday") to tuesday/wednesday

\ No newline at end of file diff --git a/datum/appearanceHolder.html b/datum/appearanceHolder.html new file mode 100644 index 0000000000000..49d1a839b28c0 --- /dev/null +++ b/datum/appearanceHolder.html @@ -0,0 +1,22 @@ +/datum/appearanceHolder - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/appearanceHolder

Holds all the appearance information.

Vars

body_icontells update_body() which DMI to use for rendering the chest/groin, torso-details, and oversuit tails
body_icon_statefor mutant races that are rendered using a static icon. Ignored if BUILT_FROM_PIECES is set in mob_appearance_flags
e_iconEye icon
e_offset_yHow far up or down to move the eyes
e_stateEye icon state
head_iconWhat DMI holds the mob's head sprite
head_icon_stateWhat icon state is our mob's head?
mob_appearance_flags
mob_detail_1_color_refWhich of the three customization colors to use (CUST_1, CUST_2, CUST_3)
mob_detail_1_iconIntended for extra, non-head body features that may or may not be hair (just not on their head) +An image to be overlaid on the mob just above their skin
mob_oversuit_1_color_refWhich of the three customization colors to use (CUST_1, CUST_2, CUST_3)
mob_oversuit_1_iconAn image to be overlaid on the mob between their outer-suit and backpack +Not to be used to define a tail oversuit, that's done by the tail organ. +This is for things like the cow having a muzzle that shows up over their outer-suit
mutant_raceUsed by changelings to determine which type of limbs their victim had
original_mutant_raceThe last mutant race that the owner of this appearance holder possessed that was not mutagen banned.
special_hair_1_color_refWhich of the three customization colors to use (CUST_1, CUST_2, CUST_3)
special_hair_1_iconIntended for extra head features that may or may not be hair
special_styleCurrently changes which sprite sheet is used

Var Details

body_icon

tells update_body() which DMI to use for rendering the chest/groin, torso-details, and oversuit tails

body_icon_state

for mutant races that are rendered using a static icon. Ignored if BUILT_FROM_PIECES is set in mob_appearance_flags

e_icon

Eye icon

e_offset_y

How far up or down to move the eyes

e_state

Eye icon state

head_icon

What DMI holds the mob's head sprite

head_icon_state

What icon state is our mob's head?

mob_appearance_flags

mob_detail_1_color_ref

Which of the three customization colors to use (CUST_1, CUST_2, CUST_3)

mob_detail_1_icon

Intended for extra, non-head body features that may or may not be hair (just not on their head) +An image to be overlaid on the mob just above their skin

mob_oversuit_1_color_ref

Which of the three customization colors to use (CUST_1, CUST_2, CUST_3)

mob_oversuit_1_icon

An image to be overlaid on the mob between their outer-suit and backpack +Not to be used to define a tail oversuit, that's done by the tail organ. +This is for things like the cow having a muzzle that shows up over their outer-suit

mutant_race

Used by changelings to determine which type of limbs their victim had

original_mutant_race

The last mutant race that the owner of this appearance holder possessed that was not mutagen banned.

special_hair_1_color_ref

Which of the three customization colors to use (CUST_1, CUST_2, CUST_3)

special_hair_1_icon

Intended for extra head features that may or may not be hair

special_style

Currently changes which sprite sheet is used

\ No newline at end of file diff --git a/datum/artifact.html b/datum/artifact.html new file mode 100644 index 0000000000000..38df81dc15f6d --- /dev/null +++ b/datum/artifact.html @@ -0,0 +1,41 @@ +/datum/artifact - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/artifact

Vars

accountBank account info of the cargo tech skimming a cut of the sale
activ_soundWhat noise the artifact makes when activated
activ_textWhat message the artifact gives when activated
activatedIs the artifact currently switched on?
artitypethe artifact origin (martian, eldritch, etc...)
associated_objectthe actual /obj type that is the artifact for this datum
automatic_activationDoes the artifact switch itself on on spawn?
deact_soundWhat noise the artifact makes when deactivated
deact_textWhat message the artifact gives when deactivated
examine_hintAn additional message displayed when examining, to hint at the artifact type (mainly used for more dangerous types)
fault_blacklistfault types that are not allowed on this type of artifact (usually due to not working properly/making sense)
fault_typesa weighted list of possible faults +it should be the possible fault types of the origin minus the fault types in the artifact type's fault_blacklist
faultsthe list of all the artifacts faults
fx_fallbackthe glowy overlay used to ensure the glow is visible
fx_imagethe glowy overlay used for when the artifact is activated
healthThe health of the artifact, can be damaged by stimuli, chems, etc +When it hits 0, the artifact will be destroyed (after triggering ArtifactDestroyed())
hint_textMessage displayed when the artifact receives the correct stimulus at close to the correct amount (but not quite there)
holderthe actual /obj that belongs to this specific artifact instance
internal_namethe actual name of the artifact to be displayed once it is analyzed
log_addendumspecial_addendum for ArtifactLogs() proc
max_triggersmaximum amount of triggers the artifact will have
min_triggersminimum amount of triggers the artifact will have
no_activationDoes the artifact not need activation? (for instance, reagent containers)
nofxused to set straight icon_states on activation instead of fx overlays
rarity_weighta weighted commonness, the higher it is the more often the artifact will appear +at 0 it should not appear randomly at all
react_elecElecbox response, Returned Current, Circuit Capacity, Circuit Interference +This is mostly so the Circuit Capacity can show the capacity of artifact power cells. +Because those inherit from the cell object, it is set up in the New() proc of the /obj, I guess.
react_heatHeater response, Artifact Temp, Heat/Cold Reponse, Details +The artifact temp is modified by origin, so that could be used to find the real origin as well. +Heat/Cold reponse just shows if the current artifact reponds to the current stimulus +The Details just give a hint for a whole bunch of artifacts
react_mpctImpact Pad response, Vibration Amplitude, Vibration Frequency +This is mostly so one can figure out the origin of disguised artifacts +It also allows you to see if an artifact reponds to physical force easily without activating it +set up in ArtifactSetup()
react_xrayX-ray response, Density, Structural Consistency, Structural Integrity, Reponse, Special Features +lots of features make it good to determine artifact types, but the values are also modified a lot by origin/faults, to make it trickier +notably, Density can also estimate the yield of explosive artifact bombs +Set on the artifact datum
scanID of the cargo tech skimming a cut of the sale
scramblechanceHow likely this artifact is to appear to be from an origin that it isn't from
touch_descriptorsSome descriptive texts you may get when you touch the artifact. +It is based mainly on origin, but some artifact types add more descriptors. +It is based on the fake origin though, so it is no use for recognizing fake origins.
triggersWhich stimuli will activate this artifact?
type_namethe name for this artifact type, used for displaying it visually (for instance in analysis forms)
type_sizethe size category of the artifact
used_namesa number of "fake" names for each artifact origin, for when people put the wrong origin on an analysis form
validtriggersList from which to pick the triggers
validtypesthe list of options for the origin from which to pick from

Procs

effect_activateWhat the artifact does once when activated.
effect_click_tileWhat the artifact does after you clicked some tile with it when activated. +Basically like afterattack() for activated artifacts.
effect_deactivateWhat the artifact does once when deactivated.
effect_melee_attackWhat the artifact does when it is activated and you smack a person with it. +Only called in /obj/item/artifact/melee_weapon so far.
effect_processWhat activated artifact machines do each processing tick.
effect_touchWhat the artifact does if touched while activated.
get_rarity_modifierThe rarity modifier formula based on the types rarity_weight. +This is used for stuff like the probability of an artifact being this type, or the price an artifact will fetch when sold. +By the old Tier system this would be ~0.63 for a tier 4 artifact, ~0.1 for a tier 1 artifact
get_trigger_by_pathGets the trigger instance of this type if the artifact has that trigger.
get_trigger_by_stringGets the trigger instance of this name if the artifact has that trigger.
hide_fxhide artifact fx
may_activateWhether or not the artifact is allowed to activate, usually just a sanity check, but artifact types can add more conditions (like cooldowns).
post_setupgets called after the artifact basics (origin, appearance, object, etc) are all set up, so the type can modify it further
show_fxshow artifact fx

Var Details

account

Bank account info of the cargo tech skimming a cut of the sale

activ_sound

What noise the artifact makes when activated

activ_text

What message the artifact gives when activated

activated

Is the artifact currently switched on?

artitype

the artifact origin (martian, eldritch, etc...)

associated_object

the actual /obj type that is the artifact for this datum

automatic_activation

Does the artifact switch itself on on spawn?

deact_sound

What noise the artifact makes when deactivated

deact_text

What message the artifact gives when deactivated

examine_hint

An additional message displayed when examining, to hint at the artifact type (mainly used for more dangerous types)

fault_blacklist

fault types that are not allowed on this type of artifact (usually due to not working properly/making sense)

fault_types

a weighted list of possible faults +it should be the possible fault types of the origin minus the fault types in the artifact type's fault_blacklist

faults

the list of all the artifacts faults

fx_fallback

the glowy overlay used to ensure the glow is visible

fx_image

the glowy overlay used for when the artifact is activated

health

The health of the artifact, can be damaged by stimuli, chems, etc +When it hits 0, the artifact will be destroyed (after triggering ArtifactDestroyed())

hint_text

Message displayed when the artifact receives the correct stimulus at close to the correct amount (but not quite there)

holder

the actual /obj that belongs to this specific artifact instance

internal_name

the actual name of the artifact to be displayed once it is analyzed

log_addendum

special_addendum for ArtifactLogs() proc

max_triggers

maximum amount of triggers the artifact will have

min_triggers

minimum amount of triggers the artifact will have

no_activation

Does the artifact not need activation? (for instance, reagent containers)

nofx

used to set straight icon_states on activation instead of fx overlays

rarity_weight

a weighted commonness, the higher it is the more often the artifact will appear +at 0 it should not appear randomly at all

react_elec

Elecbox response, Returned Current, Circuit Capacity, Circuit Interference +This is mostly so the Circuit Capacity can show the capacity of artifact power cells. +Because those inherit from the cell object, it is set up in the New() proc of the /obj, I guess.

react_heat

Heater response, Artifact Temp, Heat/Cold Reponse, Details +The artifact temp is modified by origin, so that could be used to find the real origin as well. +Heat/Cold reponse just shows if the current artifact reponds to the current stimulus +The Details just give a hint for a whole bunch of artifacts

react_mpct

Impact Pad response, Vibration Amplitude, Vibration Frequency +This is mostly so one can figure out the origin of disguised artifacts +It also allows you to see if an artifact reponds to physical force easily without activating it +set up in ArtifactSetup()

react_xray

X-ray response, Density, Structural Consistency, Structural Integrity, Reponse, Special Features +lots of features make it good to determine artifact types, but the values are also modified a lot by origin/faults, to make it trickier +notably, Density can also estimate the yield of explosive artifact bombs +Set on the artifact datum

scan

ID of the cargo tech skimming a cut of the sale

scramblechance

How likely this artifact is to appear to be from an origin that it isn't from

touch_descriptors

Some descriptive texts you may get when you touch the artifact. +It is based mainly on origin, but some artifact types add more descriptors. +It is based on the fake origin though, so it is no use for recognizing fake origins.

triggers

Which stimuli will activate this artifact?

type_name

the name for this artifact type, used for displaying it visually (for instance in analysis forms)

type_size

the size category of the artifact

used_names

a number of "fake" names for each artifact origin, for when people put the wrong origin on an analysis form

validtriggers

List from which to pick the triggers

validtypes

the list of options for the origin from which to pick from

Proc Details

effect_activate

What the artifact does once when activated.

effect_click_tile

What the artifact does after you clicked some tile with it when activated. +Basically like afterattack() for activated artifacts.

effect_deactivate

What the artifact does once when deactivated.

effect_melee_attack

What the artifact does when it is activated and you smack a person with it. +Only called in /obj/item/artifact/melee_weapon so far.

effect_process

What activated artifact machines do each processing tick.

effect_touch

What the artifact does if touched while activated.

get_rarity_modifier

The rarity modifier formula based on the types rarity_weight. +This is used for stuff like the probability of an artifact being this type, or the price an artifact will fetch when sold. +By the old Tier system this would be ~0.63 for a tier 4 artifact, ~0.1 for a tier 1 artifact

get_trigger_by_path

Gets the trigger instance of this type if the artifact has that trigger.

get_trigger_by_string

Gets the trigger instance of this name if the artifact has that trigger.

hide_fx

hide artifact fx

may_activate

Whether or not the artifact is allowed to activate, usually just a sanity check, but artifact types can add more conditions (like cooldowns).

post_setup

gets called after the artifact basics (origin, appearance, object, etc) are all set up, so the type can modify it further

show_fx

show artifact fx

\ No newline at end of file diff --git a/datum/artifact/madness.html b/datum/artifact/madness.html new file mode 100644 index 0000000000000..4e79ba2aaa92e --- /dev/null +++ b/datum/artifact/madness.html @@ -0,0 +1 @@ +/datum/artifact/madness - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/artifact/madness

Vars

madness_effectsThis is an associative list of hallucination name to a list of AddComponent arguments. Try not to cry.

Var Details

madness_effects

This is an associative list of hallucination name to a list of AddComponent arguments. Try not to cry.

\ No newline at end of file diff --git a/datum/artifact_controller.html b/datum/artifact_controller.html new file mode 100644 index 0000000000000..d21872e231434 --- /dev/null +++ b/datum/artifact_controller.html @@ -0,0 +1,5 @@ +/datum/artifact_controller - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/artifact_controller

Vars

artifact_fault_nameslist of artifact fault names, for artifact forms
artifact_origin_nameslist of artifact origin names, for artifact forms
artifact_originslist with an instance of each artifact origin
artifact_raritiesassociative list of lists, with the keys being artifact origin names (and "all") and artifact types +the value is the rarity of the type. +This is used with weighted_pick for randomly generated artifacts (sometimes of specific origin)
artifact_trigger_nameslist of artifact trigger names, for artifact forms (unused)
artifact_type_nameslist of artifact type names, for artifact forms
artifact_typeslist with an instance of each artifact type, sorted by size and alphabetically
artifact_types_from_nameassociative list with the instance from above, with the key being the type name
artifactslist of all artifacts

Var Details

artifact_fault_names

list of artifact fault names, for artifact forms

artifact_origin_names

list of artifact origin names, for artifact forms

artifact_origins

list with an instance of each artifact origin

artifact_rarities

associative list of lists, with the keys being artifact origin names (and "all") and artifact types +the value is the rarity of the type. +This is used with weighted_pick for randomly generated artifacts (sometimes of specific origin)

artifact_trigger_names

list of artifact trigger names, for artifact forms (unused)

artifact_type_names

list of artifact type names, for artifact forms

artifact_types

list with an instance of each artifact type, sorted by size and alphabetically

artifact_types_from_name

associative list with the instance from above, with the key being the type name

artifacts

list of all artifacts

\ No newline at end of file diff --git a/datum/asset/basic.html b/datum/asset/basic.html new file mode 100644 index 0000000000000..becbe26739739 --- /dev/null +++ b/datum/asset/basic.html @@ -0,0 +1 @@ +/datum/asset/basic - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/asset/basic

Vars

local_assetsList of entries with form "filename" (gets shit into cache)
url_mapList of entries with form "browserasset-path" = "url"

Var Details

local_assets

List of entries with form "filename" (gets shit into cache)

url_map

List of entries with form "browserasset-path" = "url"

\ No newline at end of file diff --git a/datum/ban_panel.html b/datum/ban_panel.html new file mode 100644 index 0000000000000..543cf23bd06ad --- /dev/null +++ b/datum/ban_panel.html @@ -0,0 +1 @@ +/datum/ban_panel - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

/datum/ban_panel

Admin Ban Panel

Procs

refresh_bansWrapper for /datum/bansHandler/proc/getAll
removeBanRemove a ban, given an id

Proc Details

refresh_bans

Wrapper for /datum/bansHandler/proc/getAll

removeBan

Remove a ban, given an id

\ No newline at end of file diff --git a/datum/bansHandler.html b/datum/bansHandler.html new file mode 100644 index 0000000000000..a8446e33c0182 --- /dev/null +++ b/datum/bansHandler.html @@ -0,0 +1 @@ +/datum/bansHandler - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

/datum/bansHandler

Procs

addAdd a ban
addDetailsAdd details to an existing ban
checkCheck if a ban exists
getAllList all bans
getDurationHumanConvert duration to something useful for Humans
removeRemove a ban
removeDetailsRemove details from an existing ban
updateUpdate an existing ban

Proc Details

add

Add a ban

addDetails

Add details to an existing ban

check

Check if a ban exists

getAll

List all bans

getDurationHuman

Convert duration to something useful for Humans

remove

Remove a ban

removeDetails

Remove details from an existing ban

update

Update an existing ban

\ No newline at end of file diff --git a/datum/bioEffect.html b/datum/bioEffect.html new file mode 100644 index 0000000000000..8ad6d2e573a62 --- /dev/null +++ b/datum/bioEffect.html @@ -0,0 +1,5 @@ +/datum/bioEffect - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/bioEffect

Vars

curable_by_mutadoneif 0/FALSE, we cant mutadone this - reinforced, magic genes and anti-toxins use this
degrade_afterif this mutation should degrade after timing out
effect_groupgroups of mutually exclusive bioeffects
is_magicalonly for trait genes/similar, we really dont want to lose this

Procs

GetCopyGets a copy of this effect. Used to build local effect pool from global instance list. +Please don't use this for anything else as it might not work as you think it should.
OnAddCalled when the effect is added.
OnLifeCalled when the life proc of the mob is called. Children should NOT run when this returns 1
OnMobDrawCalled when the overlays for the mob are drawn. Children should NOT run when this returns 1
OnRemoveCalled when the effect is removed. +Returns FALSE if the holder is being deleted, TRUE otherwise.

Var Details

curable_by_mutadone

if 0/FALSE, we cant mutadone this - reinforced, magic genes and anti-toxins use this

degrade_after

if this mutation should degrade after timing out

effect_group

groups of mutually exclusive bioeffects

is_magical

only for trait genes/similar, we really dont want to lose this

Proc Details

GetCopy

Gets a copy of this effect. Used to build local effect pool from global instance list. +Please don't use this for anything else as it might not work as you think it should.

OnAdd

Called when the effect is added.

OnLife

Called when the life proc of the mob is called. Children should NOT run when this returns 1

OnMobDraw

Called when the overlays for the mob are drawn. Children should NOT run when this returns 1

OnRemove

Called when the effect is removed. +Returns FALSE if the holder is being deleted, TRUE otherwise.

\ No newline at end of file diff --git a/datum/bioHolder.html b/datum/bioHolder.html new file mode 100644 index 0000000000000..c2166f93e9f2d --- /dev/null +++ b/datum/bioHolder.html @@ -0,0 +1 @@ +/datum/bioHolder - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

/datum/bioHolder

Procs

DeactivateAllPoolEffectsDeactivate effects that were activated from effectsPool and putting them back into effectsPool
DeactivatePoolEffectDeactivates a gene effect and inserts it back into the pool
RemoveAllEffectsignoreMagic means "do not remove magical bioeffects"

Proc Details

DeactivateAllPoolEffects

Deactivate effects that were activated from effectsPool and putting them back into effectsPool

DeactivatePoolEffect

Deactivates a gene effect and inserts it back into the pool

RemoveAllEffects

ignoreMagic means "do not remove magical bioeffects"

\ No newline at end of file diff --git a/datum/bioluminescent_algae.html b/datum/bioluminescent_algae.html new file mode 100644 index 0000000000000..e5229628717ec --- /dev/null +++ b/datum/bioluminescent_algae.html @@ -0,0 +1 @@ +/datum/bioluminescent_algae - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/bioluminescent_algae

Vars

color_alphaThe absolute lowest a color value can be, e.g. if the noise at the coords was 0. To help give us bright vibrant colors
coveragepercentage of map to cover, used as salinity cutoff
perlin_zoomUsed to select "zoom" level into the perlin noise, higher numbers result in slower transitions
random_square_driftthe random offset applied to square coordinates, causes intermingling at biome borders
seedsour randomized seed values

Var Details

color_alpha

The absolute lowest a color value can be, e.g. if the noise at the coords was 0. To help give us bright vibrant colors

coverage

percentage of map to cover, used as salinity cutoff

perlin_zoom

Used to select "zoom" level into the perlin noise, higher numbers result in slower transitions

random_square_drift

the random offset applied to square coordinates, causes intermingling at biome borders

seeds

our randomized seed values

\ No newline at end of file diff --git a/datum/biome.html b/datum/biome.html new file mode 100644 index 0000000000000..5bb71320388c1 --- /dev/null +++ b/datum/biome.html @@ -0,0 +1 @@ +/datum/biome - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/biome

This datum handles the transitioning from a turf to a specific biome, and handles spawning decorative structures and mobs.

Vars

fauna_densityChance of having a mob from the fauna types list spawn
fauna_typeslist of type paths of mobs that can be spawned when the turf spawns fauna. Syntax: list(type = weight)
flora_densityChance of having a structure from the flora types list spawn
flora_typeslist of type paths of objects that can be spawned when the turf spawns flora. Syntax: list(type = weight)
turf_typeType of turf this biome creates

Procs

generate_turfThis proc handles the creation of a turf of a specific biome type

Var Details

fauna_density

Chance of having a mob from the fauna types list spawn

fauna_types

list of type paths of mobs that can be spawned when the turf spawns fauna. Syntax: list(type = weight)

flora_density

Chance of having a structure from the flora types list spawn

flora_types

list of type paths of objects that can be spawned when the turf spawns flora. Syntax: list(type = weight)

turf_type

Type of turf this biome creates

Proc Details

generate_turf

This proc handles the creation of a turf of a specific biome type

\ No newline at end of file diff --git a/datum/blob_ability/plant_nucleus.html b/datum/blob_ability/plant_nucleus.html new file mode 100644 index 0000000000000..1b30ec70d529c --- /dev/null +++ b/datum/blob_ability/plant_nucleus.html @@ -0,0 +1 @@ +/datum/blob_ability/plant_nucleus - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

Deploy

Procs

checkValiditycheck whether turf is acceptable to deploy on

Proc Details

checkValidity

check whether turf is acceptable to deploy on

\ No newline at end of file diff --git a/datum/bsp_tree.html b/datum/bsp_tree.html new file mode 100644 index 0000000000000..e7b39d3915bae --- /dev/null +++ b/datum/bsp_tree.html @@ -0,0 +1 @@ +/datum/bsp_tree - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/bsp_tree

Vars

leavesLeaves of our tree (for faster traversal)
min_heightMinimum height of node in tree
min_widthMinimum width of node in tree
rootBase of our tree

Procs

are_nodes_adjacentDetermine if two nodes are adjacent
build_treeGenerate a tree based on the stored criteria
determine_splitDetermine if a split should occur and if it should be vertical or horizontal
get_leavesGet all leaves from a given node
split_nodeSplit a node based on the tree's requirements

Var Details

leaves

Leaves of our tree (for faster traversal)

min_height

Minimum height of node in tree

min_width

Minimum width of node in tree

root

Base of our tree

Proc Details

are_nodes_adjacent

Determine if two nodes are adjacent

build_tree

Generate a tree based on the stored criteria

determine_split

Determine if a split should occur and if it should be vertical or horizontal

get_leaves

Get all leaves from a given node

split_node

Split a node based on the tree's requirements

\ No newline at end of file diff --git a/datum/bsp_tree/maze.html b/datum/bsp_tree/maze.html new file mode 100644 index 0000000000000..a2b323955e525 --- /dev/null +++ b/datum/bsp_tree/maze.html @@ -0,0 +1 @@ +/datum/bsp_tree/maze - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

/datum/bsp_tree/maze

Procs

determine_splitSplit a node based on the tree's requirements

Proc Details

determine_split

Split a node based on the tree's requirements

\ No newline at end of file diff --git a/datum/cargo_pad_manager.html b/datum/cargo_pad_manager.html new file mode 100644 index 0000000000000..ec2c367a779e0 --- /dev/null +++ b/datum/cargo_pad_manager.html @@ -0,0 +1 @@ +/datum/cargo_pad_manager - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

/datum/cargo_pad_manager

Basically a list wrapper that removes and adds cargo pads to a global list when it receives the respective signals

Procs

add_padAdd a pad to the global pads list. Do nothing if the pad is already in the pads list.
remove_padRemove a pad from the global pads list. Do nothing if the pad is already in the pads list.

Proc Details

add_pad

Add a pad to the global pads list. Do nothing if the pad is already in the pads list.

remove_pad

Remove a pad from the global pads list. Do nothing if the pad is already in the pads list.

\ No newline at end of file diff --git a/datum/cell_grid.html b/datum/cell_grid.html new file mode 100644 index 0000000000000..f2881e4bc4444 --- /dev/null +++ b/datum/cell_grid.html @@ -0,0 +1 @@ +/datum/cell_grid - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/cell_grid

Vars

grid2d Cell Grid

Procs

box_has_borderRetrieve directions (N,E,S,W) where box has truthy elements adjacent to it
drawLBoxDraw 2 orthogonal boxes that connect (x1,y1) to (x2,y2) based on the internal size
drawLShapeDraw 2 orthogonal lines that connect (x1,y1) to (x2,y2)
draw_areaDraw in a region (box) from (min_x, min) to (max_x, max_y)
draw_boxRetrieve list of (x,y) tuples composing line from (x1,y1) to (x2,y2) - Bresenham Line
draw_from_stringConvert a string array to cell_grid assigning value_alive when 1 and value_dead when 0
draw_lineDraw line from (x1,y1) to (x2,y2) - Bresenham Line Drawing
fill_pointsSet of list of (x,y) tuples in cell grid
find_contigious_cellsRetrieve a list of contigious open/set regions that contain the corresponding (x,y) tuple lists for those regions
generate_mazeGenerates maze with the botom left of (x1,y1) and top right of (x2,y2) where all open cells are set to the floor_value
get_box_borderGet list of (x,y) tuples that make up edges of a box (x1,y1) to (x2,y2)
get_cell_attributeRetrieve an attribute of a cell when cell use associative arrays
get_cell_neighborsRetrieve list of list(x,y) tuples for coordinate provided
get_distanceGet the (Chebyshev) distance between two points
get_lineRetrieve list of (x,y) tuples composing line from (x1,y1) to (x2,y2) - Bresenham Line
get_manhattan_distanceGet the Manhattan distance between two points
has_empty_neighborDetermine if cell has any empty/closed/falsey neighbors

Var Details

grid

2d Cell Grid

Proc Details

box_has_border

Retrieve directions (N,E,S,W) where box has truthy elements adjacent to it

drawLBox

Draw 2 orthogonal boxes that connect (x1,y1) to (x2,y2) based on the internal size

drawLShape

Draw 2 orthogonal lines that connect (x1,y1) to (x2,y2)

draw_area

Draw in a region (box) from (min_x, min) to (max_x, max_y)

draw_box

Retrieve list of (x,y) tuples composing line from (x1,y1) to (x2,y2) - Bresenham Line

draw_from_string

Convert a string array to cell_grid assigning value_alive when 1 and value_dead when 0

draw_line

Draw line from (x1,y1) to (x2,y2) - Bresenham Line Drawing

fill_points

Set of list of (x,y) tuples in cell grid

find_contigious_cells

Retrieve a list of contigious open/set regions that contain the corresponding (x,y) tuple lists for those regions

generate_maze

Generates maze with the botom left of (x1,y1) and top right of (x2,y2) where all open cells are set to the floor_value

get_box_border

Get list of (x,y) tuples that make up edges of a box (x1,y1) to (x2,y2)

get_cell_attribute

Retrieve an attribute of a cell when cell use associative arrays

get_cell_neighbors

Retrieve list of list(x,y) tuples for coordinate provided

get_distance

Get the (Chebyshev) distance between two points

get_line

Retrieve list of (x,y) tuples composing line from (x1,y1) to (x2,y2) - Bresenham Line

get_manhattan_distance

Get the Manhattan distance between two points

has_empty_neighbor

Determine if cell has any empty/closed/falsey neighbors

\ No newline at end of file diff --git a/datum/centcomviewer.html b/datum/centcomviewer.html new file mode 100644 index 0000000000000..f71d083a42dec --- /dev/null +++ b/datum/centcomviewer.html @@ -0,0 +1 @@ +/datum/centcomviewer - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/centcomviewer

Admin CentCom Viewer Panel for looking up public bans on other servers via the CentCom Viewer API

Vars

filterInactivewhether or not we are filtering inactive bans from view
force_static_data_updateset if we need to force an update of the static data, used when we want to view a different player but have an old window still open
target_keytarget key of the user, the centcom api will make it a ckey on its own

Var Details

filterInactive

whether or not we are filtering inactive bans from view

force_static_data_update

set if we need to force an update of the static data, used when we want to view a different player but have an old window still open

target_key

target key of the user, the centcom api will make it a ckey on its own

\ No newline at end of file diff --git a/datum/changelog.html b/datum/changelog.html new file mode 100644 index 0000000000000..fb968fbe30dbe --- /dev/null +++ b/datum/changelog.html @@ -0,0 +1,3 @@ +/datum/changelog - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

/datum/changelog

Procs

get_testmerge_changelogGets the changelog for a given testmerge PR number and returns relevant information for changelog_parse +Returns null if no correctly formatted changelog was found in the body of the PR

Proc Details

get_testmerge_changelog

Gets the changelog for a given testmerge PR number and returns relevant information for changelog_parse +Returns null if no correctly formatted changelog was found in the body of the PR

\ No newline at end of file diff --git a/datum/chatOutput.html b/datum/chatOutput.html new file mode 100644 index 0000000000000..30daf52ba4601 --- /dev/null +++ b/datum/chatOutput.html @@ -0,0 +1 @@ +/datum/chatOutput - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/chatOutput

Vars

burstQueueIf they have loaded chat but there's too much chat the messages go here
connectionHistoryContains the connection history passed from chat cookie
cookieSentHas the client sent a cookie for analysis
ctxFlagContext menu flags for the admin powers
last_pingLast ping value reported by the client
loadAttemptsHow many times has the client tried to load the output area?
loadedHas the client loaded the browser output area?
messageQueueIf they haven't loaded chat, this is where messages will go until they do
ownerclient ref

Procs

analyzeClientDataCalled by client, sent data to investigate (cookie history so far)
doneLoadingCalled on chat output done-loading by JS.
getContextFlagCalled in New() (/datum/admins)
handleContextMenuCalled by js client on admin command via context menu
loadAdminCalled in update_admins()
pingCalled by js client every 60 seconds
sendClientDataSends client connection details to the chat to handle and save

Var Details

burstQueue

If they have loaded chat but there's too much chat the messages go here

connectionHistory

Contains the connection history passed from chat cookie

cookieSent

Has the client sent a cookie for analysis

ctxFlag

Context menu flags for the admin powers

last_ping

Last ping value reported by the client

loadAttempts

How many times has the client tried to load the output area?

loaded

Has the client loaded the browser output area?

messageQueue

If they haven't loaded chat, this is where messages will go until they do

owner

client ref

Proc Details

analyzeClientData

Called by client, sent data to investigate (cookie history so far)

doneLoading

Called on chat output done-loading by JS.

getContextFlag

Called in New() (/datum/admins)

handleContextMenu

Called by js client on admin command via context menu

loadAdmin

Called in update_admins()

ping

Called by js client every 60 seconds

sendClientData

Sends client connection details to the chat to handle and save

\ No newline at end of file diff --git a/datum/chemical_reaction.html b/datum/chemical_reaction.html new file mode 100644 index 0000000000000..b4ca31beaf7f7 --- /dev/null +++ b/datum/chemical_reaction.html @@ -0,0 +1,17 @@ +/datum/chemical_reaction - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/chemical_reaction

Vars

consume_allIf set to 1, the recipe will consume ALL of its components instead of just proportional parts.
drinkrecipeIs the result a drink?
eventual_resultUsed for complex reactions to show what they actually produce at the end (chem request console needs this) +Can be a list or a single string ID
hiddenshould this reaction show up in anything player-facing that lists reactions. For secret repo chems, misc precursors, and for 'non-standard' reactions (stuff like voltagen arc, foam reacting with water, etc)
max_temperatureWill not react if above this
min_temperatureWill not react if below this
reaction_icon_stateadded to the temperature on reaction, can be negative to remove heat
reaction_speedunits produced per second
reaction_volume_dependantif TRUE, the reaction scales with volume, with the reaction_speed being the minimum speed the mixture reacts at
reaction_volume_for_doubleThe reaction speed will scale lineary, with reaction_volume_for_double being the amount of reacting chems in the mixture needed for the reaction to take place at double speed. +this means double that would result in triple the reaction speed
special_log_handlingLogs the contents of the reagent holder's container in addition to the reaction itself. +Used for foam and smoke (Convair880).
statefulIf TRUE, a separate instance of the reaction will be created for the duration of the active reaction, otherwise a singleton will be used +Only makes sense for non-instant reactions

Procs

does_reactSpecial conditions unique to the reaction
get_reaction_speed_multiplicatorproc to calculate the rate with which the reaction does work with. To modify a reaction speed, either modify this or the reaction_speed variable
get_total_reaction_volumethis gets the total volume of the reaction mixture, according to the required chemical list +this proc does not take factors into account, so you can increase the reaction speed of a reaction, like in real life, by adding one reagent in excess +although this has some inaccuracies in comparison to real chemical reaction, i refrain from introducing accurate reaction kinetics for performance and my sanity reasons +this gets inaccurate results in recipes which have one or more reagents checked in other procs, so there this proc has to be modified
get_volume_reaction_speed_factorthis factor scaled lineary from 0 upwards, increasing by 1 for each reaction_volume_for_double in the reaction +we need this factor seperatly because there are some reactions which have akward scaling for different chemicals, like e.g. the oil or diethyl ether recipe
on_end_reactionCalled when a non-instant reaction ends, not called for instant reactions
on_reactionCalled when something reacts or every tick while it is reacting
physical_shockCalled when a holder filled with a current (non-instant) reaction experiences physical shock

Var Details

consume_all

If set to 1, the recipe will consume ALL of its components instead of just proportional parts.

drinkrecipe

Is the result a drink?

eventual_result

Used for complex reactions to show what they actually produce at the end (chem request console needs this) +Can be a list or a single string ID

hidden

should this reaction show up in anything player-facing that lists reactions. For secret repo chems, misc precursors, and for 'non-standard' reactions (stuff like voltagen arc, foam reacting with water, etc)

max_temperature

Will not react if above this

min_temperature

Will not react if below this

reaction_icon_state

added to the temperature on reaction, can be negative to remove heat

reaction_speed

units produced per second

reaction_volume_dependant

if TRUE, the reaction scales with volume, with the reaction_speed being the minimum speed the mixture reacts at

reaction_volume_for_double

The reaction speed will scale lineary, with reaction_volume_for_double being the amount of reacting chems in the mixture needed for the reaction to take place at double speed. +this means double that would result in triple the reaction speed

special_log_handling

Logs the contents of the reagent holder's container in addition to the reaction itself. +Used for foam and smoke (Convair880).

stateful

If TRUE, a separate instance of the reaction will be created for the duration of the active reaction, otherwise a singleton will be used +Only makes sense for non-instant reactions

Proc Details

does_react

Special conditions unique to the reaction

get_reaction_speed_multiplicator

proc to calculate the rate with which the reaction does work with. To modify a reaction speed, either modify this or the reaction_speed variable

get_total_reaction_volume

this gets the total volume of the reaction mixture, according to the required chemical list +this proc does not take factors into account, so you can increase the reaction speed of a reaction, like in real life, by adding one reagent in excess +although this has some inaccuracies in comparison to real chemical reaction, i refrain from introducing accurate reaction kinetics for performance and my sanity reasons +this gets inaccurate results in recipes which have one or more reagents checked in other procs, so there this proc has to be modified

get_volume_reaction_speed_factor

this factor scaled lineary from 0 upwards, increasing by 1 for each reaction_volume_for_double in the reaction +we need this factor seperatly because there are some reactions which have akward scaling for different chemicals, like e.g. the oil or diethyl ether recipe

on_end_reaction

Called when a non-instant reaction ends, not called for instant reactions

on_reaction

Called when something reacts or every tick while it is reacting

physical_shock

Called when a holder filled with a current (non-instant) reaction experiences physical shock

\ No newline at end of file diff --git a/datum/chemicompiler_core.html b/datum/chemicompiler_core.html new file mode 100644 index 0000000000000..1d3b8170af8be --- /dev/null +++ b/datum/chemicompiler_core.html @@ -0,0 +1,8 @@ +/datum/chemicompiler_core - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

/datum/chemicompiler_core

Chemicompiler

+

v1.0 By volundr 9/24/14

+

This device is a programmable chemistry mixing and heating device. +The javascript code to run the frontend is in browserassets/js/chemicompiler.min.js +which is minified javascript from browserassets/js/chemicompiler.js +If you make changes to the uncompressed javascript, you'll need to install node.js, +and run npm install -g uglify-js +then run uglifyjs browserassets/js/chemicompiler.js -c > browserassets/js/chemicompiler.min.js to rebuild the compressed version.

Procs

showMessageCallbacks

Proc Details

showMessage

Callbacks

\ No newline at end of file diff --git a/datum/chemicompiler_executor.html b/datum/chemicompiler_executor.html new file mode 100644 index 0000000000000..f5f577f7a869e --- /dev/null +++ b/datum/chemicompiler_executor.html @@ -0,0 +1,21 @@ +/datum/chemicompiler_executor - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

/datum/chemicompiler_executor

Procs

beepCodebeep codes +loud: +1: Invalid sx or tx value +2: Instruction limit reached +3: No container loaded at source or target +4: Invalid temperature value +5: Code is protected, cannot load +6: User aborted code +soft: +1: done executing +2: code saved

Proc Details

beepCode

beep codes +loud: +1: Invalid sx or tx value +2: Instruction limit reached +3: No container loaded at source or target +4: Invalid temperature value +5: Code is protected, cannot load +6: User aborted code +soft: +1: done executing +2: code saved

\ No newline at end of file diff --git a/datum/client_image_group.html b/datum/client_image_group.html new file mode 100644 index 0000000000000..d959bb56babd9 --- /dev/null +++ b/datum/client_image_group.html @@ -0,0 +1 @@ +/datum/client_image_group - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/client_image_group

Vars

always_visibleIf true this image is always visible ignoring loc's invisibiltiy etc
minds_with_associated_mob_imageAssociative list containing minds and the images attached to their mobs.
mob_to_associated_images_lookupAssociative list containing images for a given mob.
subscribed_clients_with_subcountAssociative list containing subscribed clients with counts.
subscribed_minds_with_subcountAssociative list containing subscribed minds with counts.
subscribed_mobs_with_subcountAssociative list containing subscribed mobs and the amount of times they subscribed to the image group (to handle multiple sources).

Procs

add_clientAdds a client directly, this should rarely be necessary.
add_imageAdds an image to the image list and adds it to all mobs' clients directly where appropriate. Registers signal to track mob invisibility changes.
add_mindAdds a mind to the mind list, adds all images to its client and registers signals on it.
add_mind_mob_overlayAdd an image that will attempt to attach itself to the mob inhabited by a mind, and update itself should the associated mind move to another mob.
add_mobAdds a mob to the mob list, adds all images to its client and registers signals on it.
image_conditionChecks whether an image is elligible to be attached to be displayed to a client.
on_mind_attachwhen a registered mind attaches to a mob
on_mind_detachwhen a registered mind detaches from a mob
on_mob_invisibility_changedRemoves or adds images to clients depending on the mob who the icons belong to's invisibility.
remove_clientRemoves a client directly, this should rarely be necessary.
remove_imageRemoves an image from the image list and from mobs' clients.
remove_mind_mob_overlayRemove a mind mob image.
remove_mobRemoves a mob from the mob list, removes the images from its client and unregisters signals on it. Force overrides subcount and removes it no matter what.
remove_mob_forcedRegistered on PARENT_PRE_DISPOSING, removes the mob from the list and unregisters signals from the mob when it's deleted.

Var Details

always_visible

If true this image is always visible ignoring loc's invisibiltiy etc

minds_with_associated_mob_image

Associative list containing minds and the images attached to their mobs.

mob_to_associated_images_lookup

Associative list containing images for a given mob.

subscribed_clients_with_subcount

Associative list containing subscribed clients with counts.

subscribed_minds_with_subcount

Associative list containing subscribed minds with counts.

subscribed_mobs_with_subcount

Associative list containing subscribed mobs and the amount of times they subscribed to the image group (to handle multiple sources).

Proc Details

add_client

Adds a client directly, this should rarely be necessary.

add_image

Adds an image to the image list and adds it to all mobs' clients directly where appropriate. Registers signal to track mob invisibility changes.

add_mind

Adds a mind to the mind list, adds all images to its client and registers signals on it.

add_mind_mob_overlay

Add an image that will attempt to attach itself to the mob inhabited by a mind, and update itself should the associated mind move to another mob.

add_mob

Adds a mob to the mob list, adds all images to its client and registers signals on it.

image_condition

Checks whether an image is elligible to be attached to be displayed to a client.

on_mind_attach

when a registered mind attaches to a mob

on_mind_detach

when a registered mind detaches from a mob

on_mob_invisibility_changed

Removes or adds images to clients depending on the mob who the icons belong to's invisibility.

remove_client

Removes a client directly, this should rarely be necessary.

remove_image

Removes an image from the image list and from mobs' clients.

remove_mind_mob_overlay

Remove a mind mob image.

remove_mob

Removes a mob from the mob list, removes the images from its client and unregisters signals on it. Force overrides subcount and removes it no matter what.

remove_mob_forced

Registered on PARENT_PRE_DISPOSING, removes the mob from the list and unregisters signals from the mob when it's deleted.

\ No newline at end of file diff --git a/datum/cloner_defect.html b/datum/cloner_defect.html new file mode 100644 index 0000000000000..3176b739041ad --- /dev/null +++ b/datum/cloner_defect.html @@ -0,0 +1,5 @@ +/datum/cloner_defect - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/cloner_defect

Vars

dataAny data which should be maintained between clonings if the person is cloned multiple times. +IF YOU WANT DATA TO BE TRANSFERRED BETWEEN BODIES, USE THIS INSTEAD OF MAKING A VAR
descSame as above- for scans or whatever
nameName of this defect for. medical scans or something, I dunno. Maybe let the geneticist's scanner thing see them?
ownerWho has this defect?
severityHow severe is this effect? (Currently just major and minor)
stackableCan we get this defect multiple times?
weightWeight of this effect when rolled against other effects in the same pool (minor/major). Default is 100.

Procs

NewOwner is the mob who we're applying this defect to. 'copy' is true
initCalled when this defect is created for the first time (ie not copying to a new body after cloning) +Shouldn't depend on owner at all. Will be called with a null owner during clone scanning.
on_removeCalled when this defect is removed by any means

Var Details

data

Any data which should be maintained between clonings if the person is cloned multiple times. +IF YOU WANT DATA TO BE TRANSFERRED BETWEEN BODIES, USE THIS INSTEAD OF MAKING A VAR

desc

Same as above- for scans or whatever

name

Name of this defect for. medical scans or something, I dunno. Maybe let the geneticist's scanner thing see them?

owner

Who has this defect?

severity

How severe is this effect? (Currently just major and minor)

stackable

Can we get this defect multiple times?

weight

Weight of this effect when rolled against other effects in the same pool (minor/major). Default is 100.

Proc Details

New

Owner is the mob who we're applying this defect to. 'copy' is true

init

Called when this defect is created for the first time (ie not copying to a new body after cloning) +Shouldn't depend on owner at all. Will be called with a null owner during clone scanning.

on_remove

Called when this defect is removed by any means

\ No newline at end of file diff --git a/datum/cloner_defect/random_mutantrace.html b/datum/cloner_defect/random_mutantrace.html new file mode 100644 index 0000000000000..e2c25eb2891c3 --- /dev/null +++ b/datum/cloner_defect/random_mutantrace.html @@ -0,0 +1 @@ +/datum/cloner_defect/random_mutantrace - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Unexpected Genetic Development

Set to a random (safe) mutantrace after cloning

Vars

orig_mutantrace_typeHolds their original mutantrace type so we can change them back if the defect is removed

Var Details

orig_mutantrace_type

Holds their original mutantrace type so we can change them back if the defect is removed

\ No newline at end of file diff --git a/datum/cloner_defect_holder.html b/datum/cloner_defect_holder.html new file mode 100644 index 0000000000000..41e8a8b6d4db1 --- /dev/null +++ b/datum/cloner_defect_holder.html @@ -0,0 +1 @@ +/datum/cloner_defect_holder - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/cloner_defect_holder

Holds all the cloner defects for a person, as well as the weighted list of possible defects

Vars

active_cloner_defectsCloner defects active on the owner of this holder
ownerHuman this defect holder belongs to (thus, also the owner of all defects contained herewithin)
weighted_defect_index2D list, mapping severity to a list mapping defect type to weight

Procs

add_cloner_defectAdd a cloner defect of the given severity
add_random_cloner_defectAdd a cloner defect, rolling severity according to weights
add_specific_cloner_defectDebug proc- add a cloner defect of a specific type.
apply_toApplies all the defects on this holder (which is assumed to be ownerless) to the target mob
apply_to_on_movePerforms the above function after the mob moves. Used for cloning (only apply)
copyCopies all the defects on this holder, returns a new holder with those copied defects
has_defectReturns TRUE if this holder contains the given defect type, FALSE otherwise

Var Details

active_cloner_defects

Cloner defects active on the owner of this holder

owner

Human this defect holder belongs to (thus, also the owner of all defects contained herewithin)

weighted_defect_index

2D list, mapping severity to a list mapping defect type to weight

Proc Details

add_cloner_defect

Add a cloner defect of the given severity

add_random_cloner_defect

Add a cloner defect, rolling severity according to weights

add_specific_cloner_defect

Debug proc- add a cloner defect of a specific type.

apply_to

Applies all the defects on this holder (which is assumed to be ownerless) to the target mob

apply_to_on_move

Performs the above function after the mob moves. Used for cloning (only apply)

copy

Copies all the defects on this holder, returns a new holder with those copied defects

has_defect

Returns TRUE if this holder contains the given defect type, FALSE otherwise

\ No newline at end of file diff --git a/datum/cloudSaves.html b/datum/cloudSaves.html new file mode 100644 index 0000000000000..2ba2aee2f0858 --- /dev/null +++ b/datum/cloudSaves.html @@ -0,0 +1 @@ +/datum/cloudSaves - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/cloudSaves

Vars

datageneric cloud data
savescloudsaves. ONLY FOR CHARACTER PROFILE CLOUD SAVES. NOTHING ELSE.

Procs

deleteDataDelete cloud data for this player
deleteSaveDelete a cloud file for this player
deleteSimulatedCloudDelete data from the simulated cloud for this player, for local development
fetchFetch all cloud data and files associated with this player
getSimulatedCloudGet the simulated cloud information for this player, for local development
putDataSave new cloud data for this player
putSaveSave a new cloud file for this player. ONLY FOR CHARACTER PROFILE CLOUD SAVES. USE putData FOR ANYTHING ELSE.
putSimulatedCloudPut new data into the simulated cloud for this player, for local development

Var Details

data

generic cloud data

saves

cloudsaves. ONLY FOR CHARACTER PROFILE CLOUD SAVES. NOTHING ELSE.

Proc Details

deleteData

Delete cloud data for this player

deleteSave

Delete a cloud file for this player

deleteSimulatedCloud

Delete data from the simulated cloud for this player, for local development

fetch

Fetch all cloud data and files associated with this player

getSimulatedCloud

Get the simulated cloud information for this player, for local development

putData

Save new cloud data for this player

putSave

Save a new cloud file for this player. ONLY FOR CHARACTER PROFILE CLOUD SAVES. USE putData FOR ANYTHING ELSE.

putSimulatedCloud

Put new data into the simulated cloud for this player, for local development

\ No newline at end of file diff --git a/datum/cobalt_tools.html b/datum/cobalt_tools.html new file mode 100644 index 0000000000000..a3258a4a98524 --- /dev/null +++ b/datum/cobalt_tools.html @@ -0,0 +1,2 @@ +/datum/cobalt_tools - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/cobalt_tools

Datum used to manage the functionality and cache for the cobalt.tools API.

Vars

base_urlThe base API url to use.

Procs

request_tunnelSends a request to the cobalt.tools API to fetch a tunnel for the audio file we want.

Var Details

base_url

The base API url to use.

Proc Details

request_tunnel

Sends a request to the cobalt.tools API to fetch a tunnel for the audio file we want.

+

Returns list(filename, url) if successful, otherwise crashes.

\ No newline at end of file diff --git a/datum/color_matrix_editor.html b/datum/color_matrix_editor.html new file mode 100644 index 0000000000000..df37c39ad456c --- /dev/null +++ b/datum/color_matrix_editor.html @@ -0,0 +1 @@ +/datum/color_matrix_editor - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/color_matrix_editor

Nice admin editor for editing color matricies with a preview

Vars

old_owner_colorSet if we're varediting a client, used to restore owner's color

Var Details

old_owner_color

Set if we're varediting a client, used to restore owner's color

\ No newline at end of file diff --git a/datum/command_argument.html b/datum/command_argument.html new file mode 100644 index 0000000000000..e5a7a7d8e3ec7 --- /dev/null +++ b/datum/command_argument.html @@ -0,0 +1 @@ +/datum/command_argument - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

/datum/command_argument

argument for a spacebee command, a singleton (should be created through get_singleton())

Procs

format_helpformatting of the argument in the ;;help command given the argument name
process_matchshould process the matched regex into a value for the command, null to fail

Proc Details

format_help

formatting of the argument in the ;;help command given the argument name

process_match

should process the matched regex into a value for the command, null to fail

\ No newline at end of file diff --git a/datum/commodity.html b/datum/commodity.html new file mode 100644 index 0000000000000..ec62faf115f9c --- /dev/null +++ b/datum/commodity.html @@ -0,0 +1,3 @@ +/datum/commodity - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/commodity

Vars

linked_commoditiesare there any commodities linked to this one? used to balance pricing for related commodities e.g. sheets/ore/materials +The key/value pair is commodity_type / ratio of relationship B/A where A is the current commodity's value related to linked commodity B
subtype_validif true, subtypes of this item will be accepted by NPC traders

Var Details

linked_commodities

are there any commodities linked to this one? used to balance pricing for related commodities e.g. sheets/ore/materials +The key/value pair is commodity_type / ratio of relationship B/A where A is the current commodity's value related to linked commodity B

subtype_valid

if true, subtypes of this item will be accepted by NPC traders

\ No newline at end of file diff --git a/datum/component.html b/datum/component.html new file mode 100644 index 0000000000000..974ba28863b52 --- /dev/null +++ b/datum/component.html @@ -0,0 +1,34 @@ +/datum/component - Goonstation 13
Goonstation 13 - Modules - TypesVar 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
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
RemoveComponentRemoves the component from parent, ends up with a null parent
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
disposingProperly removes the component from parent and cleans up references
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

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

RemoveComponent

Removes the component from parent, ends up with a null 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

disposing

Properly removes the component from parent and cleans up references

+

Arguments:

+

ui_host

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

\ No newline at end of file diff --git a/datum/component/analyzable.html b/datum/component/analyzable.html new file mode 100644 index 0000000000000..97baffccc4dc0 --- /dev/null +++ b/datum/component/analyzable.html @@ -0,0 +1,3 @@ +/datum/component/analyzable - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/component/analyzable

Makes an object scannable by the device analyzer. +The result type is drawn from either the parent's typepath or its mechanics_type_override. +Syndicate objects can't be scanned by non-Syndicate scanners.

Vars

result_typeWhen this component is scanned, it will add the following typepath to the device analyzer's database

Var Details

result_type

When this component is scanned, it will add the following typepath to the device analyzer's database

\ No newline at end of file diff --git a/datum/component/arable.html b/datum/component/arable.html new file mode 100644 index 0000000000000..52064a1bf771b --- /dev/null +++ b/datum/component/arable.html @@ -0,0 +1,3 @@ +/datum/component/arable - Goonstation 13
Goonstation 13 - Modules - Types

/datum/component/arable

Makes a turf or atom/movable hold a plant datum by attaching an invisible plantpot (/obj/machinery/plantpot/bareplant)

+

Seed will then be planted and then grow out of target and become interactible through clicking directly for atom/movable

+

Note: Bareplant pots are less effective than typical plantpots so hydroponics trays are goto.

\ No newline at end of file diff --git a/datum/component/assembly.html b/datum/component/assembly.html new file mode 100644 index 0000000000000..359d76c4ef6b0 --- /dev/null +++ b/datum/component/assembly.html @@ -0,0 +1,5 @@ +/datum/component/assembly - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/component/assembly

This component calls a procref with a assembly_information string on the atom it was added to when it gets attacked with an object specified in the to_combine_item +This component can be used to get the convulent if-then-else trees of assemblies under control +Make the proc you call on sucessfull assembly return TRUE. Else the attack will go through!

Vars

to_combine_itemThe item(s) that are used to combine with the atom this component is attached to +use a tool-bitflags like TOOL_CUTTING, if you want to go with groups of tools
valid_assembly_procThe Procref that will get called when the items are compatible

Var Details

to_combine_item

The item(s) that are used to combine with the atom this component is attached to +use a tool-bitflags like TOOL_CUTTING, if you want to go with groups of tools

valid_assembly_proc

The Procref that will get called when the items are compatible

\ No newline at end of file diff --git a/datum/component/auto_reagent.html b/datum/component/auto_reagent.html new file mode 100644 index 0000000000000..df7612c816021 --- /dev/null +++ b/datum/component/auto_reagent.html @@ -0,0 +1 @@ +/datum/component/auto_reagent - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/component/auto_reagent

Vars

dupe_modebut like probably don't do multiple ones with overflowing=TRUE, ok???
reagent_idReagent ID to produce
typeinfo_typeAutomatically fills something with reagents... and possible leaks it
unitsNumber of reagents to produce per item process

Procs

examinedAdds a line to examine text to indicate it is overflowing
processCalled every item process tick, handles adding additional reagent units and overflowing when applicable.

Var Details

dupe_mode

but like probably don't do multiple ones with overflowing=TRUE, ok???

reagent_id

Reagent ID to produce

typeinfo_type

Automatically fills something with reagents... and possible leaks it

units

Number of reagents to produce per item process

Proc Details

examined

Adds a line to examine text to indicate it is overflowing

process

Called every item process tick, handles adding additional reagent units and overflowing when applicable.

\ No newline at end of file diff --git a/datum/component/bloodflick.html b/datum/component/bloodflick.html new file mode 100644 index 0000000000000..2347dbce2c705 --- /dev/null +++ b/datum/component/bloodflick.html @@ -0,0 +1 @@ +/datum/component/bloodflick - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/component/bloodflick

a component that makes items flick blood off them and onto the ground when twirled.

Vars

drytimehow long the blood takes to dry.
hasdryis the blood on the parent dried? if so, can't be cleaned by flicking.
haswetCan blood be flicked off?
isweta counter. represents how many sets of wet blood are on the parent
weapontypecasted parent

Procs

cleanresets the variables
wettenapplies wet blood to the knife and starts the blood drying countdown

Var Details

drytime

how long the blood takes to dry.

hasdry

is the blood on the parent dried? if so, can't be cleaned by flicking.

haswet

Can blood be flicked off?

iswet

a counter. represents how many sets of wet blood are on the parent

weapon

typecasted parent

Proc Details

clean

resets the variables

wetten

applies wet blood to the knife and starts the blood drying countdown

\ No newline at end of file diff --git a/datum/component/bullet_holes.html b/datum/component/bullet_holes.html new file mode 100644 index 0000000000000..58fbd7205a06d --- /dev/null +++ b/datum/component/bullet_holes.html @@ -0,0 +1 @@ +/datum/component/bullet_holes - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/component/bullet_holes

A component which makes bullet holes appear on a thing when it gets shot

Vars

decal_numUsed to track where in the list we insert the impact decals
impact_image_baseImage which holds all of the impact decals (as overlays) to display them
impact_imagesList of individual impact decals
max_holesThe maximum number of bullet impact decals this object can have at once
req_damageMinimum projectile DAMAGE (not power) required to leave a bullet hole

Var Details

decal_num

Used to track where in the list we insert the impact decals

impact_image_base

Image which holds all of the impact decals (as overlays) to display them

impact_images

List of individual impact decals

max_holes

The maximum number of bullet impact decals this object can have at once

req_damage

Minimum projectile DAMAGE (not power) required to leave a bullet hole

\ No newline at end of file diff --git a/datum/component/complexsignal.html b/datum/component/complexsignal.html new file mode 100644 index 0000000000000..c1c949a2a2050 --- /dev/null +++ b/datum/component/complexsignal.html @@ -0,0 +1,16 @@ +/datum/component/complexsignal - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/component/complexsignal

Handler for a complex singal, that is a signal that requires some additional handling. +You define such signal for example as: +#define XSIG_OUTERMOST_MOVABLE_CHANGED list(/datum/component/complexsignal/outermost_movable, "mov_outermost_changed") +When this signal gets registered at least once once to a datum the appropriate complex signal component will get registered to it. +When all instances of this signal get unregistered then the component will qdel itself unless [qdel_when_unneeded] is unset. +The intended use is for this component to keep some more complex and resource intensive handling (possibly using other signals) and then send the +actual complex signal when some conditions are met. That signal should be set to src like this: +SEND_COMPLEX_SIGNAL(src, X_OUTERMOST_MOVABLE_CHANGED, old_outermost, new_outermost)

+

A single component type can be used for handling of multiple signals.

+

Check /datum/component/complexsignal/outermost_movable for an example.

Vars

qdel_when_unneededWhether the component should qdel itself when the number of registered signals drops to zero
registered_signalsThe complex signal types registered to this datum

Procs

_registerOverride this to add code which happens when a complex signal is registered. If RegisterSignal is passed additional arguments those get passed +after override. Other arguments are the same as for .RegisterSignal. +Complex signal definitions are of the form list(component_path, string_id). The sig_type var will in this case contain only the string_id and +not the full two-element list.
_unregisterOverride to add code which happens on unregistering a signal.

Var Details

qdel_when_unneeded

Whether the component should qdel itself when the number of registered signals drops to zero

registered_signals

The complex signal types registered to this datum

Proc Details

_register

Override this to add code which happens when a complex signal is registered. If RegisterSignal is passed additional arguments those get passed +after override. Other arguments are the same as for .RegisterSignal. +Complex signal definitions are of the form list(component_path, string_id). The sig_type var will in this case contain only the string_id and +not the full two-element list.

_unregister

Override to add code which happens on unregistering a signal.

\ No newline at end of file diff --git a/datum/component/cord.html b/datum/component/cord.html new file mode 100644 index 0000000000000..d015045373f5a --- /dev/null +++ b/datum/component/cord.html @@ -0,0 +1 @@ +/datum/component/cord - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/component/cord

Vars

base_offset_xpixel offset of the connection to the base
base_offset_ypixel offset of the connection to the base
cord_capname of the end cap icon state used in drawLine
cord_linename of the line icon state used in drawLine
rangemaximum allowable range (in pixels, thanks bounds_dist) that the handset can be from the base

Var Details

base_offset_x

pixel offset of the connection to the base

base_offset_y

pixel offset of the connection to the base

cord_cap

name of the end cap icon state used in drawLine

cord_line

name of the line icon state used in drawLine

range

maximum allowable range (in pixels, thanks bounds_dist) that the handset can be from the base

\ No newline at end of file diff --git a/datum/component/flock_interest.html b/datum/component/flock_interest.html new file mode 100644 index 0000000000000..ce7e8402bd541 --- /dev/null +++ b/datum/component/flock_interest.html @@ -0,0 +1 @@ +/datum/component/flock_interest - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/component/flock_interest

Mark a specific flock as interested in this

Vars

flockThe flock who is intently interested in this thing.

Procs

handle_flock_attackIf flockdrone is in our flock, deny the attack, otherwise scream and cry

Var Details

flock

The flock who is intently interested in this thing.

Proc Details

handle_flock_attack

If flockdrone is in our flock, deny the attack, otherwise scream and cry

\ No newline at end of file diff --git a/datum/component/flock_protection.html b/datum/component/flock_protection.html new file mode 100644 index 0000000000000..e0b5d63af7e2f --- /dev/null +++ b/datum/component/flock_protection.html @@ -0,0 +1 @@ +/datum/component/flock_protection - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/component/flock_protection

Raise COMSIG_FLOCK_ATTACK on common sources of damage (projectiles, items, fists, etc.)

Vars

report_attackDo we get mad if someone hits it with something?
report_projDo we get mad if someone shoots it?
report_thrownDo we get mad if someone throws something at it?
report_unarmedDo we get mad if someone punches it?

Procs

handle_attackbyProtect against being hit by something.
handle_attackhandProtect against punches/kicks/etc.
handle_hitby_projProtect against someone shooting the parent.
handle_hitby_thrownProtect against someone chucking stuff at the parent.

Var Details

report_attack

Do we get mad if someone hits it with something?

report_proj

Do we get mad if someone shoots it?

report_thrown

Do we get mad if someone throws something at it?

report_unarmed

Do we get mad if someone punches it?

Proc Details

handle_attackby

Protect against being hit by something.

handle_attackhand

Protect against punches/kicks/etc.

handle_hitby_proj

Protect against someone shooting the parent.

handle_hitby_thrown

Protect against someone chucking stuff at the parent.

\ No newline at end of file diff --git a/datum/component/fragile_item.html b/datum/component/fragile_item.html new file mode 100644 index 0000000000000..00dd408e9f192 --- /dev/null +++ b/datum/component/fragile_item.html @@ -0,0 +1,3 @@ +/datum/component/fragile_item - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/component/fragile_item

Defines a "fragile item" component.

+

An item with this component will be prone to breaking when it's used to attack or thrown and as a result being replaced by another object (i.e. a glass shard).

+

The component defines default values but they can also be manually set when initializing the component.

Vars

probability_of_breakingWhen safe_hits run out, every further violent interaction has a prob(this_variable) to break.
safe_hitsThe number of violent interactions (attacks with it, being thrown) this item can perform safely before rolling for chances to break.
sound_to_play_on_breakingSound played at the location of the item breaking.
stay_in_handIf set, the item will try to put itself back into the user's hand upon breaking (will only work for item types).
type_to_break_intoWhen the item breaks, it will be replaced by the type defined by this variable.

Var Details

probability_of_breaking

When safe_hits run out, every further violent interaction has a prob(this_variable) to break.

safe_hits

The number of violent interactions (attacks with it, being thrown) this item can perform safely before rolling for chances to break.

sound_to_play_on_breaking

Sound played at the location of the item breaking.

stay_in_hand

If set, the item will try to put itself back into the user's hand upon breaking (will only work for item types).

type_to_break_into

When the item breaks, it will be replaced by the type defined by this variable.

\ No newline at end of file diff --git a/datum/component/hallucination.html b/datum/component/hallucination.html new file mode 100644 index 0000000000000..99c56df98d113 --- /dev/null +++ b/datum/component/hallucination.html @@ -0,0 +1 @@ +/datum/component/hallucination - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/component/hallucination

Vars

parent_mobInstead of typecasting every tick, let's just hold a nice ref
ttlexpiry time, -1 means never

Var Details

parent_mob

Instead of typecasting every tick, let's just hold a nice ref

ttl

expiry time, -1 means never

\ No newline at end of file diff --git a/datum/component/holdertargeting/fullauto.html b/datum/component/holdertargeting/fullauto.html new file mode 100644 index 0000000000000..217e25db3d096 --- /dev/null +++ b/datum/component/holdertargeting/fullauto.html @@ -0,0 +1 @@ +/datum/component/holdertargeting/fullauto - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/component/holdertargeting/fullauto

Vars

toggleIf 0, don't fullauto. Otherwise, fullauto is true

Var Details

toggle

If 0, don't fullauto. Otherwise, fullauto is true

\ No newline at end of file diff --git a/datum/component/holdertargeting/sniper_scope.html b/datum/component/holdertargeting/sniper_scope.html new file mode 100644 index 0000000000000..923c9119ed811 --- /dev/null +++ b/datum/component/holdertargeting/sniper_scope.html @@ -0,0 +1 @@ +/datum/component/holdertargeting/sniper_scope - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/component/holdertargeting/sniper_scope

Vars

typeinfo_typeSNIPER SCOPE COMPONENT - when sprint is toggled, overlay a reticle on the screen and movement keys move the screen

Var Details

typeinfo_type

SNIPER SCOPE COMPONENT - when sprint is toggled, overlay a reticle on the screen and movement keys move the screen

\ No newline at end of file diff --git a/datum/component/mechanics_connector.html b/datum/component/mechanics_connector.html new file mode 100644 index 0000000000000..851656244dc4b --- /dev/null +++ b/datum/component/mechanics_connector.html @@ -0,0 +1 @@ +/datum/component/mechanics_connector - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/component/mechanics_connector

component for pulsing tools that will connect mechcomponents the user clicks on to the specified mechcomponent

Vars

connecteethe specific mechcomponent, this is the one we will connect the clicked component to

Procs

stop_linkingwe remove ourself here, the user no longer wishes to link components via us :(

Var Details

connectee

the specific mechcomponent, this is the one we will connect the clicked component to

Proc Details

stop_linking

we remove ourself here, the user no longer wishes to link components via us :(

\ No newline at end of file diff --git a/datum/component/mechanics_holder.html b/datum/component/mechanics_holder.html new file mode 100644 index 0000000000000..23ee0333fa22c --- /dev/null +++ b/datum/component/mechanics_holder.html @@ -0,0 +1,5 @@ +/datum/component/mechanics_holder - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/component/mechanics_holder

Vars

connected_incomingsimple list of atoms that are connected (no inputs) +list[] = [atom, atom, ...]
connected_outgoingassociative list of atoms to the input they're registered to +listatom = "name of input"
linesAssociative list of atoms to the pair of line images drawn from us to them (there are two so it renders when either end is rendered)

Var Details

connected_incoming

simple list of atoms that are connected (no inputs) +list[] = [atom, atom, ...]

connected_outgoing

associative list of atoms to the input they're registered to +listatom = "name of input"

lines

Associative list of atoms to the pair of line images drawn from us to them (there are two so it renders when either end is rendered)

\ No newline at end of file diff --git a/datum/component/pitfall.html b/datum/component/pitfall.html new file mode 100644 index 0000000000000..e9ed25bc6da7e --- /dev/null +++ b/datum/component/pitfall.html @@ -0,0 +1 @@ +/datum/component/pitfall - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/component/pitfall

A component for turfs which make movable atoms "fall down a pit"

Vars

BruteDamageMaxthe maximum amount of brute damage applied. This is used in random_brute_damage()
FallTimeHow long it takes for a thing to fall into the pit. 0 is instant, but usually you'd have a couple deciseconds where something can be flung across. Should use time defines.
allow_anchoredWhether anchored == ANCHORED atoms are supposed to fall down or not. Currently defaults to true because minisubs and such.

Procs

fall_toa proc that makes a movable atom 'A' fall from 'src.typecasted_parent()' to 'T' with a maximum of 'brutedamage' brute damage
start_fallcalled when movable atom AM enters a pitfall turf. Mainly checks.
try_fallcalled when it's time for movable atom AM to actually fall into the pit
typecasted_parentreturns the .parent but typecasted as a turf
update_targetsupdates targets for area/coordinate targeting. is overridden added to in child types.

Var Details

BruteDamageMax

the maximum amount of brute damage applied. This is used in random_brute_damage()

FallTime

How long it takes for a thing to fall into the pit. 0 is instant, but usually you'd have a couple deciseconds where something can be flung across. Should use time defines.

allow_anchored

Whether anchored == ANCHORED atoms are supposed to fall down or not. Currently defaults to true because minisubs and such.

Proc Details

fall_to

a proc that makes a movable atom 'A' fall from 'src.typecasted_parent()' to 'T' with a maximum of 'brutedamage' brute damage

start_fall

called when movable atom AM enters a pitfall turf. Mainly checks.

try_fall

called when it's time for movable atom AM to actually fall into the pit

typecasted_parent

returns the .parent but typecasted as a turf

update_targets

updates targets for area/coordinate targeting. is overridden added to in child types.

\ No newline at end of file diff --git a/datum/component/pitfall/target_area.html b/datum/component/pitfall/target_area.html new file mode 100644 index 0000000000000..e126c0d25dfe7 --- /dev/null +++ b/datum/component/pitfall/target_area.html @@ -0,0 +1 @@ +/datum/component/pitfall/target_area - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/component/pitfall/target_area

a pitfall that targets an area

Vars

TargetAreaThe area path that the target falls into. For area targeting

Var Details

TargetArea

The area path that the target falls into. For area targeting

\ No newline at end of file diff --git a/datum/component/pitfall/target_coordinates.html b/datum/component/pitfall/target_coordinates.html new file mode 100644 index 0000000000000..993052434cc15 --- /dev/null +++ b/datum/component/pitfall/target_coordinates.html @@ -0,0 +1 @@ +/datum/component/pitfall/target_coordinates - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/component/pitfall/target_coordinates

a pitfall which targets a coordinate. At the moment only supports targeting a z level and picking a range around current coordinates.

Vars

LandingRangeIf truthy, try to find a spot around the target to land on in range(x).
TargetLista list of targets for the fall to pick from
TargetZThe z level that the target falls into if not via area or landmark.

Var Details

LandingRange

If truthy, try to find a spot around the target to land on in range(x).

TargetList

a list of targets for the fall to pick from

TargetZ

The z level that the target falls into if not via area or landmark.

\ No newline at end of file diff --git a/datum/component/pitfall/target_landmark.html b/datum/component/pitfall/target_landmark.html new file mode 100644 index 0000000000000..84a6f7fb8cc95 --- /dev/null +++ b/datum/component/pitfall/target_landmark.html @@ -0,0 +1 @@ +/datum/component/pitfall/target_landmark - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/component/pitfall/target_landmark

a pitfall that targets a pitfall landmark

Vars

TargetLandmarkThe landmark that the fall sends you to. Should be a landmark define.

Var Details

TargetLandmark

The landmark that the fall sends you to. Should be a landmark define.

\ No newline at end of file diff --git a/datum/component/proximity.html b/datum/component/proximity.html new file mode 100644 index 0000000000000..e499bdf49d529 --- /dev/null +++ b/datum/component/proximity.html @@ -0,0 +1 @@ +/datum/component/proximity - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/component/proximity

Vars

enabledAre we currectly detecting movement?
listening_toTurfs we are currently listening to.
rangeTiles out to detect.
turfonlyDo we only detect if we are on a turf?

Procs

DetectCalled when something crosses our range of detection.
parent_movedUpdate if our parent move into or out of a movable or onto a turf.
set_detectionSets whether or not we are detecting.
set_rangeSet our range of detection to num.

Var Details

enabled

Are we currectly detecting movement?

listening_to

Turfs we are currently listening to.

range

Tiles out to detect.

turfonly

Do we only detect if we are on a turf?

Proc Details

Detect

Called when something crosses our range of detection.

parent_moved

Update if our parent move into or out of a movable or onto a turf.

set_detection

Sets whether or not we are detecting.

set_range

Set our range of detection to num.

\ No newline at end of file diff --git a/datum/component/radioactive.html b/datum/component/radioactive.html new file mode 100644 index 0000000000000..81da8ea42988c --- /dev/null +++ b/datum/component/radioactive.html @@ -0,0 +1 @@ +/datum/component/radioactive - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/component/radioactive

Vars

_added_to_items_processingInternal, do not touch - keeps a record of whether or not we had to add this to the item processing list
_backup_colorInternal, do not touch - keeps a record of atom.color since we override it with filters.
_turf_glowInternal, store of turf glow overlay
decaysDoes this radiation source slowly decay over time? If so, it will take ~ 6 * radStrength seconds to decay completely.
effect_rangeHow wide a range this radiation source affects. Greater than one should be very rarely used, since all atoms in this range will be exposed per tick
neutronIs this radiation source a neutron source? If it is, it does more damage per dose. Associated with n_radiation mat property.
radStrengthPercentage of max value to apply on various actions. A radStrength of 100 is very radioactive, killing most humans quickly
typeinfo_typeIf a thing is to be radioactive, slap this component on it. Only call mob.take_radiation_dose directly as a last resort.

Procs

eatenCalled when a radioactive thing is eaten. High dose to account for radioactive things continuing to irradiate you from the stomach.
examinedAdds a line to examine text to indicate level of radiation produced
get_radioactivityReturns level of radioactivity (0 to 100) - note that SEND_SIGNAL returns 0 if the signal is not registered
tickedCalled every item process tick, handles applying radiation effect to nearby atoms and also decay.
touchedCalled when an item is picked up or hand attacked.

Var Details

_added_to_items_processing

Internal, do not touch - keeps a record of whether or not we had to add this to the item processing list

_backup_color

Internal, do not touch - keeps a record of atom.color since we override it with filters.

_turf_glow

Internal, store of turf glow overlay

decays

Does this radiation source slowly decay over time? If so, it will take ~ 6 * radStrength seconds to decay completely.

effect_range

How wide a range this radiation source affects. Greater than one should be very rarely used, since all atoms in this range will be exposed per tick

neutron

Is this radiation source a neutron source? If it is, it does more damage per dose. Associated with n_radiation mat property.

radStrength

Percentage of max value to apply on various actions. A radStrength of 100 is very radioactive, killing most humans quickly

typeinfo_type

If a thing is to be radioactive, slap this component on it. Only call mob.take_radiation_dose directly as a last resort.

Proc Details

eaten

Called when a radioactive thing is eaten. High dose to account for radioactive things continuing to irradiate you from the stomach.

examined

Adds a line to examine text to indicate level of radiation produced

get_radioactivity

Returns level of radioactivity (0 to 100) - note that SEND_SIGNAL returns 0 if the signal is not registered

ticked

Called every item process tick, handles applying radiation effect to nearby atoms and also decay.

touched

Called when an item is picked up or hand attacked.

\ No newline at end of file diff --git a/datum/component/reagent_overlay.html b/datum/component/reagent_overlay.html new file mode 100644 index 0000000000000..5e47dc663f620 --- /dev/null +++ b/datum/component/reagent_overlay.html @@ -0,0 +1 @@ +/datum/component/reagent_overlay - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

/datum/component/reagent_overlay

Procs

get_reagent_stateReturns the numerical reagent state of the parent container.
update_reagent_overlayUpdates the reagent overlay of the parent container.

Proc Details

get_reagent_state

Returns the numerical reagent state of the parent container.

update_reagent_overlay

Updates the reagent overlay of the parent container.

\ No newline at end of file diff --git a/datum/component/secbot_command.html b/datum/component/secbot_command.html new file mode 100644 index 0000000000000..f49ae93c018fc --- /dev/null +++ b/datum/component/secbot_command.html @@ -0,0 +1 @@ +/datum/component/secbot_command - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/component/secbot_command

Vars

secbotsA list of bots listening to this command

Var Details

secbots

A list of bots listening to this command

\ No newline at end of file diff --git a/datum/component/transfer_input.html b/datum/component/transfer_input.html new file mode 100644 index 0000000000000..a5416d1efc43f --- /dev/null +++ b/datum/component/transfer_input.html @@ -0,0 +1 @@ +/datum/component/transfer_input - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/component/transfer_input

Provides many common item input features.

Vars

filterOptional list of permitted object paths.
filter_link_procOptional proc, for preventing things from linking.
filter_procOptional proc, for filtering movables based on state.
transfer_procOptional proc on parent, for transfer side-effects.

Var Details

filter

Optional list of permitted object paths.

Optional proc, for preventing things from linking.

filter_proc

Optional proc, for filtering movables based on state.

transfer_proc

Optional proc on parent, for transfer side-effects.

\ No newline at end of file diff --git a/datum/component/waddling.html b/datum/component/waddling.html new file mode 100644 index 0000000000000..e316ce98353c6 --- /dev/null +++ b/datum/component/waddling.html @@ -0,0 +1 @@ +/datum/component/waddling - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/component/waddling

Vars

angleAngle to swing while waddling
heightHeight in pixels of waddling

Var Details

angle

Angle to swing while waddling

height

Height in pixels of waddling

\ No newline at end of file diff --git a/datum/component/wearertargeting/energy_shield.html b/datum/component/wearertargeting/energy_shield.html new file mode 100644 index 0000000000000..71bfc555af4ab --- /dev/null +++ b/datum/component/wearertargeting/energy_shield.html @@ -0,0 +1,15 @@ +/datum/component/wearertargeting/energy_shield - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/component/wearertargeting/energy_shield

Vars

activeare we turned on 😳
bleedthroughdo we bleed through on break?
power_drainhow much power do we draw every process cycle
shield_efficiencyefficiency of the shield, as a coefficient to damage blocked - i.e.: shield strength of 0.5, efficiency of 1.5, blocking a 100 damage attack, would cost 75 power (100 * 0.5 * 1.5).
shield_strengthwhat percent of damage should be blocked by the shield
typeinfo_typePersonal energy shield component

Var Details

active

are we turned on 😳

bleedthrough

do we bleed through on break?

power_drain

how much power do we draw every process cycle

shield_efficiency

efficiency of the shield, as a coefficient to damage blocked - i.e.: shield strength of 0.5, efficiency of 1.5, blocking a 100 damage attack, would cost 75 power (100 * 0.5 * 1.5).

shield_strength

what percent of damage should be blocked by the shield

typeinfo_type

Personal energy shield component

+

Wearer-targeting? +Add ability button to item to toggle component +Uses power cell in the item - automatically create a cell_holder component if one does not exist?

+

How it blocks damage: +attack code Sends a COMSIG_MOB_SHIELD_ACTIVATE(imcoming_damage, return_list) to the mob, energy shield component drains power cell of parent item if possible +Addnl: Send a RETURNED_LIST, in the case of a partial block +Proc sending the signal decides how to handle the damage +Bleedthrough? On all hits, or only on shield-break? Determined by initialization var

+

Req hooking into a process scheduler for passive power drain

+

TODO: better sfx +TODO: better text feedback? +TODO: not copy-pasted vfx +TODO: Have efficiency coefficients for different damage types defined on the component? +TODO: support for granting mob properties? Consider subtype for CE shield - low efficiency but strong environmental resists

\ No newline at end of file diff --git a/datum/computer.html b/datum/computer.html new file mode 100644 index 0000000000000..5bbccc7b871af --- /dev/null +++ b/datum/computer.html @@ -0,0 +1 @@ +/datum/computer - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/computer

Vars

dont_copyPrevent it from piracy via PDA filehosting? Also prevents term os copy and pasting and moving.

Var Details

dont_copy

Prevent it from piracy via PDA filehosting? Also prevents term os copy and pasting and moving.

\ No newline at end of file diff --git a/datum/computer/file/mainframe_program.html b/datum/computer/file/mainframe_program.html new file mode 100644 index 0000000000000..e66c258cd22f3 --- /dev/null +++ b/datum/computer/file/mainframe_program.html @@ -0,0 +1,4 @@ +/datum/computer/file/mainframe_program - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

mainframe program

Mainframe programs represent computer programs, and are responsible for carrying out an instruction or set of instructions +specified by commands passed to them. Unlike real computer programs, mainframe programs are not in possession of any ingame +representation of "source code" and are hardcoded. Most of DWAINE's functionality is provided by computer programs, which +include the kernel, the shell, the drivers, and system utilities (ls, cd, etc...), among other programs.

Vars

executableWhether this program can be executed by the kernel.
initializedWhether this program has been initialised and is running.
masterThe mainframe computer that this program is bring run by.
needs_holderWhether this program requires a holder data disc.
parent_idThe program ID of this program's parent task.
parent_taskThe parent task of this program. This corresponds to the program that initialised this program.
progidThe program ID of this program. This corresponds to the position of this program in the mainframe's processing list.
useraccThis program's current user.

Procs

check_mode_permissionCheck that the specified user has the required permissions to alter the metadata and permission level of the target file or folder.
check_read_permissionCheck that the specified user has the required permissions to read the content of the target file or folder.
check_write_permissionCheck that the specified user has the required permissions to write to the target file or folder.
ensure_programEnsure that the program is configured correctly. Returns TRUE on success, FALSE on failure.
get_computer_datumFind any computer datum with a given name.
get_file_nameFind a file with a given name.
get_folder_nameFind a folder with a given name.
handle_quitHandle program exiting. If a program should end intentionally, an exit system call should be sent to the OS through mainframe_prog_exit. The program will not exit otherwise, even if nothing bothers to send it more input.
initializeInitialise this program. Called when this program starts running.
input_textPass text to this program; this text is typically interpreted as a command.
is_name_invalidCheck if a filename is invalid somehow.
message_userInstruct the parent task to pass an output string to the user terminal, with optional render options. This allows for piping operations.
parse_stringFormat a string into a command and substitute variable names with their values.
processCalled by the mainframe processing loop, in sync with the machinery processing loop.
read_user_fieldRead a field from the current user's user file.
receive_progsignalCalled when this program receives a signal.
signal_programSend a signal from this program to its mainframe computer.
unloadedCalled when this program is unloaded.
write_user_fieldRead a value to a field from the current user's user file.

Var Details

executable

Whether this program can be executed by the kernel.

initialized

Whether this program has been initialised and is running.

master

The mainframe computer that this program is bring run by.

needs_holder

Whether this program requires a holder data disc.

parent_id

The program ID of this program's parent task.

parent_task

The parent task of this program. This corresponds to the program that initialised this program.

progid

The program ID of this program. This corresponds to the position of this program in the mainframe's processing list.

useracc

This program's current user.

Proc Details

check_mode_permission

Check that the specified user has the required permissions to alter the metadata and permission level of the target file or folder.

check_read_permission

Check that the specified user has the required permissions to read the content of the target file or folder.

check_write_permission

Check that the specified user has the required permissions to write to the target file or folder.

ensure_program

Ensure that the program is configured correctly. Returns TRUE on success, FALSE on failure.

get_computer_datum

Find any computer datum with a given name.

get_file_name

Find a file with a given name.

get_folder_name

Find a folder with a given name.

handle_quit

Handle program exiting. If a program should end intentionally, an exit system call should be sent to the OS through mainframe_prog_exit. The program will not exit otherwise, even if nothing bothers to send it more input.

initialize

Initialise this program. Called when this program starts running.

input_text

Pass text to this program; this text is typically interpreted as a command.

is_name_invalid

Check if a filename is invalid somehow.

message_user

Instruct the parent task to pass an output string to the user terminal, with optional render options. This allows for piping operations.

parse_string

Format a string into a command and substitute variable names with their values.

process

Called by the mainframe processing loop, in sync with the machinery processing loop.

read_user_field

Read a field from the current user's user file.

receive_progsignal

Called when this program receives a signal.

signal_program

Send a signal from this program to its mainframe computer.

unloaded

Called when this program is unloaded.

write_user_field

Read a value to a field from the current user's user file.

\ No newline at end of file diff --git a/datum/computer/file/mainframe_program/os.html b/datum/computer/file/mainframe_program/os.html new file mode 100644 index 0000000000000..29abb80d2a51e --- /dev/null +++ b/datum/computer/file/mainframe_program/os.html @@ -0,0 +1,40 @@ +/datum/computer/file/mainframe_program/os - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

Base OS

Procs

closed_connectionCalled by the mainframe upon termination of a connection, conn is deleted afterwards
file_termPass a file to the connected terminal.
message_termPass a message to the connected terminal.
new_connectionCalled by the mainframe when a new terminal connection is made so as to alert the OS
parse_datum_directoryParse the provided filesystem for a folder or file located at a specified filepath.
parse_directoryParse the provided filesystem for a folder located at a specified filepath.
parse_file_directoryParse the provided filesystem for a file located at a specified filepath.
ping_replyCalled when a reply ping is received by the mainframe.
term_inputData sent to the program by a connected terminal. If a file is passed, note that the file will be treated as temporary and deleted after the function returns.

Proc Details

closed_connection

Called by the mainframe upon termination of a connection, conn is deleted afterwards

file_term

Pass a file to the connected terminal.

message_term

Pass a message to the connected terminal.

new_connection

Called by the mainframe when a new terminal connection is made so as to alert the OS

parse_datum_directory

Parse the provided filesystem for a folder or file located at a specified filepath.

+

parse_directory

Parse the provided filesystem for a folder located at a specified filepath.

+

parse_file_directory

Parse the provided filesystem for a file located at a specified filepath.

+

ping_reply

Called when a reply ping is received by the mainframe.

term_input

Data sent to the program by a connected terminal. If a file is passed, note that the file will be treated as temporary and deleted after the function returns.

\ No newline at end of file diff --git a/datum/computer/file/mainframe_program/os/kernel.html b/datum/computer/file/mainframe_program/os/kernel.html new file mode 100644 index 0000000000000..83a14c2cd5332 --- /dev/null +++ b/datum/computer/file/mainframe_program/os/kernel.html @@ -0,0 +1,3 @@ +/datum/computer/file/mainframe_program/os/kernel - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

Kernel

The kernel is the computer program at the core of the OS and is responsible for managing interactions with all hardware +devices, such as terminals, databanks, scanners and so forth through device drivers; for handling inputs; for creating and +terminating connections; for the execution of system calls; and for other basic system services.

Vars

max_usersThe maximum number of users that may connect to the OS.
ping_acceptThe number of cycles for which the kernel should reply to any pings made.
processing_driversA list of drivers that are open to receiving messages from the OS.
rescan_periodHow often the mainframe should ping the network, in cycles.
rescan_timerThe current number of cycles until the mainframe should ping the network.
setup_progname_initThe default program name of the init program.
setup_progname_loginThe default program name of the login program.
setup_progname_shellThe default program name of the shell.
sys_folderThe /sys directory that the kernel is located in.
usersA list of users currently connected to the OS, indexed by their user ID.

Procs

change_metadataAlter the metadata of a specified file.
initialize_driverSet up an individual driver, registering them for processing if necessary.
initialize_driversInitialise all drivers, setting up driver data and initialising them individually.
initialize_usersInitialise all users and user data, logging in connected terminals, and setting up home directories and user record files.
is_sysopCheck whether this user is a superuser.
login_temp_userLog a connection in as a temporary user, starting the full login program, or logging in fully if a valid login record is provided.
login_userAttempt to login as a full user, setting up a home directories and user record file if successful.
logout_userLog a user out, terminating any running programs, and removing the user's record file.
message_all_usersSend a message to all logged in users.

Var Details

max_users

The maximum number of users that may connect to the OS.

ping_accept

The number of cycles for which the kernel should reply to any pings made.

processing_drivers

A list of drivers that are open to receiving messages from the OS.

rescan_period

How often the mainframe should ping the network, in cycles.

rescan_timer

The current number of cycles until the mainframe should ping the network.

setup_progname_init

The default program name of the init program.

setup_progname_login

The default program name of the login program.

setup_progname_shell

The default program name of the shell.

sys_folder

The /sys directory that the kernel is located in.

users

A list of users currently connected to the OS, indexed by their user ID.

Proc Details

change_metadata

Alter the metadata of a specified file.

initialize_driver

Set up an individual driver, registering them for processing if necessary.

initialize_drivers

Initialise all drivers, setting up driver data and initialising them individually.

initialize_users

Initialise all users and user data, logging in connected terminals, and setting up home directories and user record files.

is_sysop

Check whether this user is a superuser.

login_temp_user

Log a connection in as a temporary user, starting the full login program, or logging in fully if a valid login record is provided.

login_user

Attempt to login as a full user, setting up a home directories and user record file if successful.

logout_user

Log a user out, terminating any running programs, and removing the user's record file.

message_all_users

Send a message to all logged in users.

\ No newline at end of file diff --git a/datum/computer/file/pda_program.html b/datum/computer/file/pda_program.html new file mode 100644 index 0000000000000..48747e45d0bd1 --- /dev/null +++ b/datum/computer/file/pda_program.html @@ -0,0 +1 @@ +/datum/computer/file/pda_program - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

blank program

Procs

GenerateFilesharePasskeygenerates a passkey out of a bunch of words and shit
self_textSends a message to the owner's PDA about... something, usually a confirmation that it did something

Proc Details

GenerateFilesharePasskey

generates a passkey out of a bunch of words and shit

self_text

Sends a message to the owner's PDA about... something, usually a confirmation that it did something

\ No newline at end of file diff --git a/datum/computer/file/pda_program/gps.html b/datum/computer/file/pda_program/gps.html new file mode 100644 index 0000000000000..9231b1e7fd546 --- /dev/null +++ b/datum/computer/file/pda_program/gps.html @@ -0,0 +1 @@ +/datum/computer/file/pda_program/gps - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Space GPS

Vars

parallax_dataFully rendered text data about nearby celestial objects, cached here to line up with the coordinates

Var Details

parallax_data

Fully rendered text data about nearby celestial objects, cached here to line up with the coordinates

\ No newline at end of file diff --git a/datum/computer/file/pda_program/os/main_os.html b/datum/computer/file/pda_program/os/main_os.html new file mode 100644 index 0000000000000..c289b290346d0 --- /dev/null +++ b/datum/computer/file/pda_program/os/main_os.html @@ -0,0 +1,8 @@ +/datum/computer/file/pda_program/os/main_os - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

ThinkOS 7

Vars

all_callersList of messengers we've heard from. Assoc'd list, (address_1 = sendername)
blocked_numbersList of messengers we don't want to hear from anymore -- set by name, not address_1!
hosted_filesFiles we're hosting. Assoc'd list, (passkey = filedatum)
knockoffWhether this is a stupid syndie knockoff PDA with copyright avoiding program names
muted_mailgroupsList of mailgroups we don't want to hear from anymore
recent_callersList of recent callers, so you get the long sound for the first message, and a shorter one for that same person after that
report_refresh_queuedWhether there's a PDA-report packet-reply-triggered UI update queued

Procs

AddCallerAdds the sender's name to the list of people who sent stuff to this device
CheckForPasskeycheck if the message is one of the fileshare passkeys, then try to send them the file
CrisisAckGenerates and sends the ACK response to a crisis alert
HostFileHosts a file on your PDA with an md5 passkey for others to request
ManageRecentCallersReads list of recent callers and adds them if they're not there +Returns TRUE if they're on the list

Var Details

all_callers

List of messengers we've heard from. Assoc'd list, (address_1 = sendername)

blocked_numbers

List of messengers we don't want to hear from anymore -- set by name, not address_1!

hosted_files

Files we're hosting. Assoc'd list, (passkey = filedatum)

knockoff

Whether this is a stupid syndie knockoff PDA with copyright avoiding program names

muted_mailgroups

List of mailgroups we don't want to hear from anymore

recent_callers

List of recent callers, so you get the long sound for the first message, and a shorter one for that same person after that

report_refresh_queued

Whether there's a PDA-report packet-reply-triggered UI update queued

Proc Details

AddCaller

Adds the sender's name to the list of people who sent stuff to this device

CheckForPasskey

check if the message is one of the fileshare passkeys, then try to send them the file

CrisisAck

Generates and sends the ACK response to a crisis alert

+

HostFile

Hosts a file on your PDA with an md5 passkey for others to request

ManageRecentCallers

Reads list of recent callers and adds them if they're not there +Returns TRUE if they're on the list

\ No newline at end of file diff --git a/datum/computer/file/pda_program/ringtone.html b/datum/computer/file/pda_program/ringtone.html new file mode 100644 index 0000000000000..df8370003285d --- /dev/null +++ b/datum/computer/file/pda_program/ringtone.html @@ -0,0 +1 @@ +/datum/computer/file/pda_program/ringtone - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Ringtone

Ringtone Programs

Vars

bottomTextThe text that goes just under the header
cooldownsCooldowns
dividerThingThe thing that separates each of the entries on the list
overrideAlertAllowedInclude an option to override the PDA's alert message?
overrideAlertMessageShould this ringtone's own alert message overwrite the PDA's?
overrideAlertNoTextButton that makes the PDA display the PDA's alert messages whenever it gets messaged
overrideAlertTextAsks if the PDA should use the ringtone's built-in alert messages instead of the one set by the PDA.
overrideAlertYesTextButton that makes the PDA display the ringtone's alert messages whenever it gets messaged
ringToneDestSlotWhere should this ringtone be placed?
ringToneGenSlotWhich general slot should this ringtone be placed? "alert" or "mailgroup", please. Defaults to main
ring_listThe list of ringtone datii included in this program. Assoc'd list, "ringtone_ID" = new/datum/ringtone/urtone
selectTextThe text that goes above the list of things
selectedRTWhich ringtone index are we dealing with right now?
subMenuWhich menu should we be in?
topTextThe text that goes at the top

Var Details

bottomText

The text that goes just under the header

cooldowns

Cooldowns

dividerThing

The thing that separates each of the entries on the list

overrideAlertAllowed

Include an option to override the PDA's alert message?

overrideAlertMessage

Should this ringtone's own alert message overwrite the PDA's?

overrideAlertNoText

Button that makes the PDA display the PDA's alert messages whenever it gets messaged

overrideAlertText

Asks if the PDA should use the ringtone's built-in alert messages instead of the one set by the PDA.

overrideAlertYesText

Button that makes the PDA display the ringtone's alert messages whenever it gets messaged

ringToneDestSlot

Where should this ringtone be placed?

ringToneGenSlot

Which general slot should this ringtone be placed? "alert" or "mailgroup", please. Defaults to main

ring_list

The list of ringtone datii included in this program. Assoc'd list, "ringtone_ID" = new/datum/ringtone/urtone

selectText

The text that goes above the list of things

selectedRT

Which ringtone index are we dealing with right now?

subMenu

Which menu should we be in?

topText

The text that goes at the top

\ No newline at end of file diff --git a/datum/computer/file/terminal_program.html b/datum/computer/file/terminal_program.html new file mode 100644 index 0000000000000..26d438d78f092 --- /dev/null +++ b/datum/computer/file/terminal_program.html @@ -0,0 +1,3 @@ +/datum/computer/file/terminal_program - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

blank program

Vars

authenticatedAre we currently logged in?
setup_acc_filepathWhere do we look for login data?

Procs

find_access_fileLook for the whimsical account_data file
initializeExtracted with great pain from the like 6 other fucking programs that copy pasted this, whyyyy +Returns true to halt the call stack

Var Details

authenticated

Are we currently logged in?

setup_acc_filepath

Where do we look for login data?

Proc Details

find_access_file

Look for the whimsical account_data file

initialize

Extracted with great pain from the like 6 other fucking programs that copy pasted this, whyyyy +Returns true to halt the call stack

\ No newline at end of file diff --git a/datum/configuration.html b/datum/configuration.html new file mode 100644 index 0000000000000..7d899867c8d07 --- /dev/null +++ b/datum/configuration.html @@ -0,0 +1 @@ +/datum/configuration - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/configuration

Vars

baseWhitelistEnabledThe config value of whitelistEnabled (actual value might be modified mid-round)
roundsLeftWithoutWhitelistHow many rounds are left without the whitelist being enabled
whitelistEnabledAre we limiting connected players to certain ckeys?

Var Details

baseWhitelistEnabled

The config value of whitelistEnabled (actual value might be modified mid-round)

roundsLeftWithoutWhitelist

How many rounds are left without the whitelist being enabled

whitelistEnabled

Are we limiting connected players to certain ckeys?

\ No newline at end of file diff --git a/datum/contextAction.html b/datum/contextAction.html new file mode 100644 index 0000000000000..5368adcfff326 --- /dev/null +++ b/datum/contextAction.html @@ -0,0 +1 @@ +/datum/contextAction - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/contextAction

Vars

close_movedDoes the action close when the mob moves

Procs

checkRequirementsIs this action even allowed to show up under the given circumstances? TRUE=yes, FALSE=no
executeMake sure that people are really allowed to do the thing they are doing in here. Double check equipped items, distance etc.
getIconStateIf you want to dynamically change the icon. Cutting/mending wires on doors etc?

Var Details

close_moved

Does the action close when the mob moves

Proc Details

checkRequirements

Is this action even allowed to show up under the given circumstances? TRUE=yes, FALSE=no

execute

Make sure that people are really allowed to do the thing they are doing in here. Double check equipped items, distance etc.

getIconState

If you want to dynamically change the icon. Cutting/mending wires on doors etc?

\ No newline at end of file diff --git a/datum/contextLayout/experimentalcircle.html b/datum/contextLayout/experimentalcircle.html new file mode 100644 index 0000000000000..86fb455cbadaa --- /dev/null +++ b/datum/contextLayout/experimentalcircle.html @@ -0,0 +1 @@ +/datum/contextLayout/experimentalcircle - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/contextLayout/experimentalcircle

Vars

centerIf true the first button in the list will be rendered in the center of the circle

Var Details

center

If true the first button in the list will be rendered in the center of the circle

\ No newline at end of file diff --git a/datum/controller/air_system.html b/datum/controller/air_system.html new file mode 100644 index 0000000000000..70fe6bed4506b --- /dev/null +++ b/datum/controller/air_system.html @@ -0,0 +1,28 @@ +/datum/controller/air_system - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/controller/air_system

Vars

active_singletonsList of turfs without a group to be processed.
active_super_conductivityTiles queued to be processed for superconductivity.
air_groupsList of air groups to be processed.
current_cycleCurrent cycle of air_system.
groups_to_rebuild
high_pressure_deltaTiles queued to be processed for pressure delta movement.
is_busyDon't want to accidentally modify something while still processing. Let's keep track if we're busy.
parent_controllerSelf-reference apparently.
space_sampleMuch better idea to cache a tile than to keep calling locate()
tiles_to_rebuildList of single turfs to rebuild together with [groups_to_rebuild].
tiles_to_spaceTurfs to be converted to space on the next cycle in case we're busy right now. +Use [/turf/proc/delay_space_conversion] instead of adding to this list directly.
tiles_to_updateTurfs that are in this list have their border data updated before the next air calculations for a cycle. +Place turfs in this list rather than call the proc directly to prevent race conditions

Procs

assemble_group_turfCollects turfs into groups.
processThis first processes the air_master update/rebuild lists then processes all groups and tiles for air calculations
process_groupsProcess all air groups. +Do not call. Used by /datum/controller/air_system/proc/process.
process_high_pressure_deltaProcess any tiles queued for pressure delta movement. +Do not call. Used by /datum/controller/air_system/proc/process.
process_rebuild_select_groupsProcess air groups queued for reconstruction. Deconstructs air groups into tiles, then creates new groups from those tiles. +Do not call. Used by /datum/controller/air_system/proc/process.
process_singletonsProcess any singletons queued for processing. +Do not call. Used by /datum/controller/air_system/proc/process.
process_super_conductivityProcess any tiles queued for superconduction. +Do not call. Used by /datum/controller/air_system/proc/process.
process_tiles_to_spaceReplaces all queued tiles in /datum/controller/air_system/var/tiles_to_space with space. +Do not call. Used by /datum/controller/air_system/proc/process.
process_update_tilesUpdates queued tiles. +Do not call. Used by /datum/controller/air_system/proc/process.
setupMove every simulated turf into a group, then call /turf/simulated/proc/update_air_properties on them.
update_space_sampleUpdates cached space sample if need be. +Returns: New space sample.

Var Details

active_singletons

List of turfs without a group to be processed.

active_super_conductivity

Tiles queued to be processed for superconductivity.

air_groups

List of air groups to be processed.

current_cycle

Current cycle of air_system.

groups_to_rebuild

high_pressure_delta

Tiles queued to be processed for pressure delta movement.

is_busy

Don't want to accidentally modify something while still processing. Let's keep track if we're busy.

parent_controller

Self-reference apparently.

space_sample

Much better idea to cache a tile than to keep calling locate()

tiles_to_rebuild

List of single turfs to rebuild together with [groups_to_rebuild].

tiles_to_space

Turfs to be converted to space on the next cycle in case we're busy right now. +Use [/turf/proc/delay_space_conversion] instead of adding to this list directly.

tiles_to_update

Turfs that are in this list have their border data updated before the next air calculations for a cycle. +Place turfs in this list rather than call the proc directly to prevent race conditions

Proc Details

assemble_group_turf

Collects turfs into groups.

process

This first processes the air_master update/rebuild lists then processes all groups and tiles for air calculations

process_groups

Process all air groups. +Do not call. Used by /datum/controller/air_system/proc/process.

process_high_pressure_delta

Process any tiles queued for pressure delta movement. +Do not call. Used by /datum/controller/air_system/proc/process.

process_rebuild_select_groups

Process air groups queued for reconstruction. Deconstructs air groups into tiles, then creates new groups from those tiles. +Do not call. Used by /datum/controller/air_system/proc/process.

process_singletons

Process any singletons queued for processing. +Do not call. Used by /datum/controller/air_system/proc/process.

process_super_conductivity

Process any tiles queued for superconduction. +Do not call. Used by /datum/controller/air_system/proc/process.

process_tiles_to_space

Replaces all queued tiles in /datum/controller/air_system/var/tiles_to_space with space. +Do not call. Used by /datum/controller/air_system/proc/process.

process_update_tiles

Updates queued tiles. +Do not call. Used by /datum/controller/air_system/proc/process.

setup

Move every simulated turf into a group, then call /turf/simulated/proc/update_air_properties on them.

update_space_sample

Updates cached space sample if need be. +Returns: New space sample.

\ No newline at end of file diff --git a/datum/controller/camera_coverage.html b/datum/controller/camera_coverage.html new file mode 100644 index 0000000000000..22c2e983a1e1e --- /dev/null +++ b/datum/controller/camera_coverage.html @@ -0,0 +1 @@ +/datum/controller/camera_coverage - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

/datum/controller/camera_coverage

Procs

setupCalled at world setup, creates an image on all turfs that will overlay for the AI when a turf is not visible in the camera coverage. At the end will update all camera coverage.
update_all_emittersUpdates all emitters
update_emitterUpdates the camera coverage of a single emitter
update_emitter_internalUpdates the camera coverage of a single emitter and returns the list of turfs that are requried to receive an update
update_emittersUpdates the camera coverage of multiple emitters
update_turfsGiven a list of turfs, updates their respective attached aiImage based on camera coverage

Proc Details

setup

Called at world setup, creates an image on all turfs that will overlay for the AI when a turf is not visible in the camera coverage. At the end will update all camera coverage.

update_all_emitters

Updates all emitters

update_emitter

Updates the camera coverage of a single emitter

update_emitter_internal

Updates the camera coverage of a single emitter and returns the list of turfs that are requried to receive an update

update_emitters

Updates the camera coverage of multiple emitters

update_turfs

Given a list of turfs, updates their respective attached aiImage based on camera coverage

\ No newline at end of file diff --git a/datum/controller/gameticker.html b/datum/controller/gameticker.html new file mode 100644 index 0000000000000..6593f47338ab1 --- /dev/null +++ b/datum/controller/gameticker.html @@ -0,0 +1 @@ +/datum/controller/gameticker - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/controller/gameticker

Vars

highCpuCounthow many times in a row has the cpu been high
highMapCpuCounthow many times in a row has the map_cpu been high

Var Details

highCpuCount

how many times in a row has the cpu been high

highMapCpuCount

how many times in a row has the map_cpu been high

\ No newline at end of file diff --git a/datum/controller/process.html b/datum/controller/process.html new file mode 100644 index 0000000000000..fc0029f2656f3 --- /dev/null +++ b/datum/controller/process.html @@ -0,0 +1,14 @@ +/datum/controller/process - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/controller/process

Base definition of a process controller

Vars

cpu_defer_countHow many times in the current run has the process deferred work till the next tick?
current_usageRecords the total usage of the current run, each 100 = 1 byond tick
disabledTRUE if process is disabled
hang_alert_timeAfter this much time, the server will send an admin debug message saying the process may be hung.
hang_restart_timeAfter this much time, the server will automatically kill and restart the process.
hang_warning_timeThis is the time after which the server will begin to show "maybe hung" in the context window.
hungTRUE if process is blocked up
idleTRUE if the process is not running or queued
killedTRUE if process was killed
last_objectSettable last object this loop was processing
last_sleptRecords the time (1/10s timeofday) at which the process last finished sleeping
last_taskSettable last task this loop was working on
last_usageRecords the total usage of the last run, each 100 = 1 byond tick
nameProcess name
previousStatusPrevious status text
queuedTRUE if process is queued
run_startRecords the time (1/10s timeofday) at which the process last began running
runningTRUE if process is running
schedule_intervalThis controls how often the process would run under ideal conditions. +If the process scheduler sees that the process has finished, it will wait until +this amount of time has elapsed from the start of the previous run to start the +process running again.
schedule_jitterThis is added to the /datum/controller/process/var/schedule_interval when checking it. +By default, this adjusts the interval by either adding or subtracting anywhere in the jitter range. +For example, a jitter of 2 SECONDS for an interval of 10 SECONDS would give times from 8 SECONDS to 12 SECONDS.
statusStatus text to be displayed
tick_allowanceThis controls what percentage a single tick (0 to 100) the process should be allowed to run before sleeping.
tick_startRecords the world.tick_usage (0 to 100) at which the process last began running +drsingh - as of byond 514, world.map_cpu is also included in this via APPROX_TICK_USE
ticksTick count
times_killedRecords the number of times this process has been killed and restarted
total_usageRecords the total usage over the life of the process, each 100 = 1 byond tick

Var Details

cpu_defer_count

How many times in the current run has the process deferred work till the next tick?

current_usage

Records the total usage of the current run, each 100 = 1 byond tick

disabled

TRUE if process is disabled

hang_alert_time

After this much time, the server will send an admin debug message saying the process may be hung.

hang_restart_time

After this much time, the server will automatically kill and restart the process.

hang_warning_time

This is the time after which the server will begin to show "maybe hung" in the context window.

hung

TRUE if process is blocked up

idle

TRUE if the process is not running or queued

killed

TRUE if process was killed

last_object

Settable last object this loop was processing

last_slept

Records the time (1/10s timeofday) at which the process last finished sleeping

last_task

Settable last task this loop was working on

last_usage

Records the total usage of the last run, each 100 = 1 byond tick

name

Process name

previousStatus

Previous status text

queued

TRUE if process is queued

run_start

Records the time (1/10s timeofday) at which the process last began running

running

TRUE if process is running

schedule_interval

This controls how often the process would run under ideal conditions. +If the process scheduler sees that the process has finished, it will wait until +this amount of time has elapsed from the start of the previous run to start the +process running again.

schedule_jitter

This is added to the /datum/controller/process/var/schedule_interval when checking it. +By default, this adjusts the interval by either adding or subtracting anywhere in the jitter range. +For example, a jitter of 2 SECONDS for an interval of 10 SECONDS would give times from 8 SECONDS to 12 SECONDS.

+

For more complex behavior, override [/datum/controller/processScheduler/proc/setQueuedProcessState]. Necessary for runtime jitter range change.

status

Status text to be displayed

tick_allowance

This controls what percentage a single tick (0 to 100) the process should be allowed to run before sleeping.

tick_start

Records the world.tick_usage (0 to 100) at which the process last began running +drsingh - as of byond 514, world.map_cpu is also included in this via APPROX_TICK_USE

ticks

Tick count

times_killed

Records the number of times this process has been killed and restarted

total_usage

Records the total usage over the life of the process, each 100 = 1 byond tick

\ No newline at end of file diff --git a/datum/controller/process/tgui.html b/datum/controller/process/tgui.html new file mode 100644 index 0000000000000..ca02b9783e910 --- /dev/null +++ b/datum/controller/process/tgui.html @@ -0,0 +1,47 @@ +/datum/controller/process/tgui - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/controller/process/tgui

handles tgui interfaces

Vars

all_uisA list of all open UIs
basehtmlThe HTML base used for all UIs.
current_runA list of UIs scheduled to process
polyfillThe polyfills uses for all UIs |GOONSTATION-ADD|

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

all_uis

A list of all open UIs

basehtml

The HTML base used for all UIs.

current_run

A list of UIs scheduled to process

polyfill

The polyfills uses for all UIs |GOONSTATION-ADD|

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.

+

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.

\ No newline at end of file diff --git a/datum/controller/processScheduler.html b/datum/controller/processScheduler.html new file mode 100644 index 0000000000000..2c3ef47cb2634 --- /dev/null +++ b/datum/controller/processScheduler.html @@ -0,0 +1,13 @@ +/datum/controller/processScheduler - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

/datum/controller/processScheduler

Procs

averageRunTimeaverageRunTime +returns the average run time (over the last 20) of the process
deferSetupFordeferSetupFor +@param path processPath +If a process needs to be initialized after everything else, add it to +the deferred setup list. On goonstation, only the ticker needs to have +this treatment.
recordRunTimerecordRunTime +Records a run time for a process

Proc Details

averageRunTime

averageRunTime +returns the average run time (over the last 20) of the process

deferSetupFor

deferSetupFor +@param path processPath +If a process needs to be initialized after everything else, add it to +the deferred setup list. On goonstation, only the ticker needs to have +this treatment.

recordRunTime

recordRunTime +Records a run time for a process

\ No newline at end of file diff --git a/datum/cookingrecipe.html b/datum/cookingrecipe.html new file mode 100644 index 0000000000000..5267ab579d521 --- /dev/null +++ b/datum/cookingrecipe.html @@ -0,0 +1 @@ +/datum/cookingrecipe - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

/datum/cookingrecipe

Procs

specialOutputcategory for sorting, use null to hide

Proc Details

specialOutput

category for sorting, use null to hide

\ No newline at end of file diff --git a/datum/crewCredits.html b/datum/crewCredits.html new file mode 100644 index 0000000000000..06084390ebb2b --- /dev/null +++ b/datum/crewCredits.html @@ -0,0 +1 @@ +/datum/crewCredits - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

/datum/crewCredits

Procs

bundle_crew_member_dataConcatenates data on a specifed mind into a list in order to be appended to crew_tab_data.
generate_antagonist_dataFor a specified mind, creates an entry in antagonist_tab_data containing the applicable information.
generate_citation_dataTickets/Fines
generate_crew_creditsPopulates each tab with the data to be passed to the UI.
generate_crew_member_dataFor a specified mind, creates an entry in crew_tab_data containing the applicable information.
generate_heisenhat_dataHeisenbee's hat
generate_score_dataStation Score

Proc Details

bundle_crew_member_data

Concatenates data on a specifed mind into a list in order to be appended to crew_tab_data.

generate_antagonist_data

For a specified mind, creates an entry in antagonist_tab_data containing the applicable information.

generate_citation_data

Tickets/Fines

generate_crew_credits

Populates each tab with the data to be passed to the UI.

generate_crew_member_data

For a specified mind, creates an entry in crew_tab_data containing the applicable information.

generate_heisenhat_data

Heisenbee's hat

generate_score_data

Station Score

\ No newline at end of file diff --git a/datum/cross_server_message.html b/datum/cross_server_message.html new file mode 100644 index 0000000000000..b46cd0fa1f8dd --- /dev/null +++ b/datum/cross_server_message.html @@ -0,0 +1,3 @@ +/datum/cross_server_message - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

/datum/cross_server_message

Procs

receiveidentifier of this message type +override to do something when this message is received
sendoverride to let people send this message with custom arguments, use _send with a key-value list to send the actual message

Proc Details

receive

identifier of this message type +override to do something when this message is received

send

override to let people send this message with custom arguments, use _send with a key-value list to send the actual message

\ No newline at end of file diff --git a/datum/customizationHolder.html b/datum/customizationHolder.html new file mode 100644 index 0000000000000..7ab8b8b37e956 --- /dev/null +++ b/datum/customizationHolder.html @@ -0,0 +1 @@ +/datum/customizationHolder - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/customizationHolder

Holds all the customization information.

Vars

colorThe color that gets used for determining your colors
color_originalThe color that was set by the player's preferences
offset_yThe Y offset to display this image
styleThe hair style / detail thing that gets displayed on your spaceperson
style_originalThe hair style / detail thing that was set by the player in their settings

Var Details

color

The color that gets used for determining your colors

color_original

The color that was set by the player's preferences

offset_y

The Y offset to display this image

style

The hair style / detail thing that gets displayed on your spaceperson

style_original

The hair style / detail thing that was set by the player in their settings

\ No newline at end of file diff --git a/datum/customization_style.html b/datum/customization_style.html new file mode 100644 index 0000000000000..aa9877b89f2c5 --- /dev/null +++ b/datum/customization_style.html @@ -0,0 +1 @@ +/datum/customization_style - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/customization_style

Vars

default_layerWhich mob icon layer this should go on (under or over glasses)
iconIcon file this hair should be pulled from
random_allowedFor blacklisting the weird partial hairstyles that just look broken on random characters

Procs

check_availableOnly used if typeinfo.special_criteria is TRUE

Var Details

default_layer

Which mob icon layer this should go on (under or over glasses)

icon

Icon file this hair should be pulled from

random_allowed

For blacklisting the weird partial hairstyles that just look broken on random characters

Proc Details

check_available

Only used if typeinfo.special_criteria is TRUE

\ No newline at end of file diff --git a/datum/db_record.html b/datum/db_record.html new file mode 100644 index 0000000000000..77e0ee88ffa51 --- /dev/null +++ b/datum/db_record.html @@ -0,0 +1 @@ +/datum/db_record - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

/datum/db_record

Procs

set_dbDon't call this unless you know what you're doing

Proc Details

set_db

Don't call this unless you know what you're doing

\ No newline at end of file diff --git a/datum/debugFileOutput.html b/datum/debugFileOutput.html new file mode 100644 index 0000000000000..5a089c7fa7ae4 --- /dev/null +++ b/datum/debugFileOutput.html @@ -0,0 +1,6 @@ +/datum/debugFileOutput - Goonstation 13
Goonstation 13 - Modules - Types

/datum/debugFileOutput

This is a generic handler for logging your dumb JS errors generated by html popups

+
    +
  1. Add your logfile to the validFiles list
  2. +
  3. Include the "browserassets/js/errorHandler.js" file in your html file (if using chui, skip this step) (look at browserOutput.html for an example)
  4. +
  5. Call attachErrorHandler('yourLogFile'); at the top of your JS (again see browserOutput.js for an example)
  6. +
\ No newline at end of file diff --git a/datum/digital_filter.html b/datum/digital_filter.html new file mode 100644 index 0000000000000..89360c83bd98a --- /dev/null +++ b/datum/digital_filter.html @@ -0,0 +1,3 @@ +/datum/digital_filter - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/digital_filter

Provide support for IIR filters to perform all your standard filtering needs! +Previous inputs and outputs of the function will be summed together and output

+

https://en.wikipedia.org/wiki/Infinite_impulse_response

Vars

a_coefficientsfeedback (scalars for sumation of previous results)
b_coefficientsfeedforward (scalars for sumation of previous inputs)

Var Details

a_coefficients

feedback (scalars for sumation of previous results)

b_coefficients

feedforward (scalars for sumation of previous inputs)

\ No newline at end of file diff --git a/datum/digital_filter/exponential_moving_average.html b/datum/digital_filter/exponential_moving_average.html new file mode 100644 index 0000000000000..28caebac68493 --- /dev/null +++ b/datum/digital_filter/exponential_moving_average.html @@ -0,0 +1,6 @@ +/datum/digital_filter/exponential_moving_average - Goonstation 13
Goonstation 13 - Modules - Types

/datum/digital_filter/exponential_moving_average

Sum weighted current input and weighted previous output to achieve output +input weight will be ratio of weight assigned to input value while remaining goes to previous output

+

Exponential Smoothing +Time constant will be the amount of time to achieve 63.2% of original sum +NOTE: This should be performed by a scheduled process as this ensures constant sample interval +https://en.wikipedia.org/wiki/Exponential_smoothing

\ No newline at end of file diff --git a/datum/disjoint_turf.html b/datum/disjoint_turf.html new file mode 100644 index 0000000000000..116d5545b7e95 --- /dev/null +++ b/datum/disjoint_turf.html @@ -0,0 +1,11 @@ +/datum/disjoint_turf - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/disjoint_turf

Vars

connection_typesValid connection types
turfsTurfs of this connection type

Var Details

connection_types

Valid connection types

turfs

Turfs of this connection type

\ No newline at end of file diff --git a/datum/dj_panel.html b/datum/dj_panel.html new file mode 100644 index 0000000000000..16b54cb98d9ba --- /dev/null +++ b/datum/dj_panel.html @@ -0,0 +1,8 @@ +/datum/dj_panel - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

DJ Panel for Admins

Allows for easily accessible music/sound playing for admins/allowed players.

Procs

dj_access_checkChecks if the passed mob is an admin or has dj access
move_admin_sound_channelMoves the global admin sound channel up or down one
toggledjToggles the DJ Mode for a given client

Proc Details

dj_access_check

Checks if the passed mob is an admin or has dj access

move_admin_sound_channel

Moves the global admin sound channel up or down one

+

toggledj

Toggles the DJ Mode for a given client

+
\ No newline at end of file diff --git a/datum/dnaBlocks.html b/datum/dnaBlocks.html new file mode 100644 index 0000000000000..7f06bf7021001 --- /dev/null +++ b/datum/dnaBlocks.html @@ -0,0 +1 @@ +/datum/dnaBlocks - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/dnaBlocks

Vars

blockListList of CORRECT blocks for this mutation. This is global and should not be modified since it represents the correct solution.
blockListCurrList of CURRENT blocks for this mutation. This is local and represents the research people are doing.

Procs

GenerateBlocksGenerate DNA blocks. This sequence will be used globally.

Var Details

blockList

List of CORRECT blocks for this mutation. This is global and should not be modified since it represents the correct solution.

blockListCurr

List of CURRENT blocks for this mutation. This is local and represents the research people are doing.

Proc Details

GenerateBlocks

Generate DNA blocks. This sequence will be used globally.

\ No newline at end of file diff --git a/datum/effects/system/foam_spread.html b/datum/effects/system/foam_spread.html new file mode 100644 index 0000000000000..18dc0bfef6c4a --- /dev/null +++ b/datum/effects/system/foam_spread.html @@ -0,0 +1 @@ +/datum/effects/system/foam_spread - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/effects/system/foam_spread

Vars

lube1 = normal lube, 2 = harmlube

Var Details

lube

1 = normal lube, 2 = harmlube

\ No newline at end of file diff --git a/datum/ehjax.html b/datum/ehjax.html new file mode 100644 index 0000000000000..2d06c25b766c6 --- /dev/null +++ b/datum/ehjax.html @@ -0,0 +1,26 @@ +/datum/ehjax - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

/datum/ehjax

Procs

topicCalls a proc from a javascript source and callsback with any data

Proc Details

topic

Calls a proc from a javascript source and callsback with any data

+
\ No newline at end of file diff --git a/datum/eventRecord.html b/datum/eventRecord.html new file mode 100644 index 0000000000000..56740b161649e --- /dev/null +++ b/datum/eventRecord.html @@ -0,0 +1,3 @@ +/datum/eventRecord - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/eventRecord

Base eventCall type +Represents a predefined event we can send to the Goonhub event recorder +SECURITY: Sanitization occurs right before output

Vars

bodyBody of the event
eventTypeThe type of the event being recorded, for example death

Procs

buildAndSendOverride to build event parameters
sendShortcut method to send this event to the event recorder

Var Details

body

Body of the event

eventType

The type of the event being recorded, for example death

Proc Details

buildAndSend

Override to build event parameters

send

Shortcut method to send this event to the event recorder

\ No newline at end of file diff --git a/datum/eventRecordBody.html b/datum/eventRecordBody.html new file mode 100644 index 0000000000000..d014a04473fd1 --- /dev/null +++ b/datum/eventRecordBody.html @@ -0,0 +1 @@ +/datum/eventRecordBody - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

/datum/eventRecordBody

Represents the body of an event - ABSTRACT

Procs

VerifyIntegrityOverride to verify that the model object is correctly formed. Return FALSE if not.

Proc Details

VerifyIntegrity

Override to verify that the model object is correctly formed. Return FALSE if not.

\ No newline at end of file diff --git a/datum/eventRecorder.html b/datum/eventRecorder.html new file mode 100644 index 0000000000000..bf285d8fde4af --- /dev/null +++ b/datum/eventRecorder.html @@ -0,0 +1 @@ +/datum/eventRecorder - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/eventRecorder

Vars

connectedWhether the event recorder is connected to a redis server
enabledWhether the event recorder is enabled
eventsEvents currently waiting to be pushed to the redis server
eventsPushedThe total amount of events pushed to the redis server
maxEventsToPushThe maximum amount of events pushed to the redis server at once
queueEvents added before a global roundId existed, to be pushed when it is available

Procs

addAdd an event to the event queue
connectConnect to the external event service
debugDisplay debug information
processPush the event queue to the server

Var Details

connected

Whether the event recorder is connected to a redis server

enabled

Whether the event recorder is enabled

events

Events currently waiting to be pushed to the redis server

eventsPushed

The total amount of events pushed to the redis server

maxEventsToPush

The maximum amount of events pushed to the redis server at once

queue

Events added before a global roundId existed, to be pushed when it is available

Proc Details

add

Add an event to the event queue

connect

Connect to the external event service

debug

Display debug information

process

Push the event queue to the server

\ No newline at end of file diff --git a/datum/explosion.html b/datum/explosion.html new file mode 100644 index 0000000000000..bffae08caa2dc --- /dev/null +++ b/datum/explosion.html @@ -0,0 +1 @@ +/datum/explosion - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/explosion

Vars

flash_radiation_multiplierNumber (0-1) related to power which determines how devastating the radioactive component of the explosion is, at all

Var Details

flash_radiation_multiplier

Number (0-1) related to power which determines how devastating the radioactive component of the explosion is, at all

\ No newline at end of file diff --git a/datum/figure_info/patreon.html b/datum/figure_info/patreon.html new file mode 100644 index 0000000000000..a5c3bb7470243 --- /dev/null +++ b/datum/figure_info/patreon.html @@ -0,0 +1 @@ +/datum/figure_info/patreon - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/figure_info/patreon

Vars

ckeyckey this figure is associated with

Var Details

ckey

ckey this figure is associated with

\ No newline at end of file diff --git a/datum/fishing_lootpool.html b/datum/fishing_lootpool.html new file mode 100644 index 0000000000000..b26d8a7793b2c --- /dev/null +++ b/datum/fishing_lootpool.html @@ -0,0 +1,7 @@ +/datum/fishing_lootpool - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/fishing_lootpool

This code handles different lootpools for fishing +A fishing_lootpool is a datum that stores unified loottables for certain conditions on fishing +These loottables created in new()of a fishing spot and are added to a fishing spot. +These, in contrast to fishing spots, are NOT singletons, since they can be added and removed dynamically (for cases such as a fishing component) +Once someone tries to fish somewhere, proc/generate_fish iterate through all fishing_lootpools and generates a list to pick its fish from +Since fishing_lootpools have their own conditionals, this enables different loottables for e.g. different tier rods or other things such as baits +When adding loottables, is should be paid attention to that a loottable is avaible there.

Vars

fish_availableassociative list with the format (fish_type = probability), doesnt need to be ordered in descending probability
maximum_rod_tierwhat tier of rod is the highest to have access to the lootable?
minimum_rod_tierwhat tier of rod do you need at least to fish here? current rods are tier 1,2 & 3

Procs

check_conditionalsThis proc checks for all the conditionals that could apply to a fishing spot. Modify that for special conditions.
generate_lootThis proc generates a new loottable out of a given current one

Var Details

fish_available

associative list with the format (fish_type = probability), doesnt need to be ordered in descending probability

maximum_rod_tier

what tier of rod is the highest to have access to the lootable?

minimum_rod_tier

what tier of rod do you need at least to fish here? current rods are tier 1,2 & 3

Proc Details

check_conditionals

This proc checks for all the conditionals that could apply to a fishing spot. Modify that for special conditions.

generate_loot

This proc generates a new loottable out of a given current one

\ No newline at end of file diff --git a/datum/fishing_spot.html b/datum/fishing_spot.html new file mode 100644 index 0000000000000..f3d7f16f8e8cc --- /dev/null +++ b/datum/fishing_spot.html @@ -0,0 +1,3 @@ +/datum/fishing_spot - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/fishing_spot

a datum that holds all the information about a "fishing spot"

Vars

do_not_generatefor wip fishing spots that shouldnt be automatically added to the global list of fishing spots
fish_availableassociative list with the format (fish_type = probability), doesnt need to be ordered in descending probability +these are the fishing results that are ALWAYS avaiable at the spot. These won't get modified by conditionals like fishing loottables are.
fishing_atom_typethe type of the atom that is the "fishing spot"
fishing_lootpoolsthis list contains all fishing loottables of this spot. Add and modify these in new()
rod_tier_requiredwhat tier of rod do you need to fish here? current rods are tier 1,2 & 3

Procs

try_fishcalled every time a fishing rod's action loop finishes. returns 0 if catching a fish failed, returns 1 if it succeeds

Var Details

do_not_generate

for wip fishing spots that shouldnt be automatically added to the global list of fishing spots

fish_available

associative list with the format (fish_type = probability), doesnt need to be ordered in descending probability +these are the fishing results that are ALWAYS avaiable at the spot. These won't get modified by conditionals like fishing loottables are.

fishing_atom_type

the type of the atom that is the "fishing spot"

fishing_lootpools

this list contains all fishing loottables of this spot. Add and modify these in new()

rod_tier_required

what tier of rod do you need to fish here? current rods are tier 1,2 & 3

Proc Details

try_fish

called every time a fishing rod's action loop finishes. returns 0 if catching a fish failed, returns 1 if it succeeds

\ No newline at end of file diff --git a/datum/flock.html b/datum/flock.html new file mode 100644 index 0000000000000..05059ee6c5831 --- /dev/null +++ b/datum/flock.html @@ -0,0 +1 @@ +/datum/flock - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/flock

manages and holds information for a flock

Vars

achievementslist of strings that lets flock record achievements for structure unlocks
active_namesassociative list of used names (for traces, drones, and bits) to true values
annotation_imgsStatic cache of annotation images
annotationsAssociative list of objects to an associative list of their annotation names to images
current_egg_costThe current cost of laying a flockdrone egg, automatically updated when drones are added and removed
deadAre we the memory of a dead flockmind?
flockmind_mindStore the mind of the current flockmind
free_tracesnumber of zero compute flocktraces the flock has
last_relayThe last relay placed, in case admin intervention or respawns somehow.
max_trace_countmax number of flocktraces the flock can support
quietDo we broadcast system announcements?
relay_allowedCan this flock realize the relay?
relay_finishedRelay has exploded. Game over!
relay_in_progressRelay is in the process of being made real, gibs and all
relay_stageIf we can, how far are we to transmitting the Signal?
time_leftHow long until the last placed relay transmits the Signal
trace_mindsStore a list of all minds who have been flocktraces of this flock at some point, indexed by name
unitsStores associative lists of type => list(units) - do not edit directly, use removeDrone() and registerUnit()

Procs

achieveUnlock an achievement (string) if it isn't already unlocked
addAnnotationAdd a named annotation
build_annotation_imgsInit annotation images to copy
getAnnotationsproc to get the indexed list of annotations on a particular mob
hasAchievedUnlock an achievement (string) if it isn't already unlocked
notifyRelockStructureThis function only notifies the flock of the relock, actual unlock logic is handled in the datum
notifyUnlockStructureThis function only notifies the flock of the unlock, actual unlock logic is handled in the datum
perishif real is FALSE then perish will not deallocate needed lists (used for pity respawn)
relay_processProcess to check what to do with the relay based off compute/tiles, specifically for before placement
removeAnnotationRemove a named annotation
toggleAnnotationToggle a named annotation
update_computesUpdate the compute values for all flocktraces and the flockmind
update_stageGet the new stage of the relay. Return if the state has changed.
update_tilesUpdate the tile count values for all flocktraces and the flockmind

Var Details

achievements

list of strings that lets flock record achievements for structure unlocks

active_names

associative list of used names (for traces, drones, and bits) to true values

annotation_imgs

Static cache of annotation images

annotations

Associative list of objects to an associative list of their annotation names to images

current_egg_cost

The current cost of laying a flockdrone egg, automatically updated when drones are added and removed

dead

Are we the memory of a dead flockmind?

flockmind_mind

Store the mind of the current flockmind

free_traces

number of zero compute flocktraces the flock has

last_relay

The last relay placed, in case admin intervention or respawns somehow.

max_trace_count

max number of flocktraces the flock can support

quiet

Do we broadcast system announcements?

relay_allowed

Can this flock realize the relay?

relay_finished

Relay has exploded. Game over!

relay_in_progress

Relay is in the process of being made real, gibs and all

relay_stage

If we can, how far are we to transmitting the Signal?

time_left

How long until the last placed relay transmits the Signal

trace_minds

Store a list of all minds who have been flocktraces of this flock at some point, indexed by name

units

Stores associative lists of type => list(units) - do not edit directly, use removeDrone() and registerUnit()

Proc Details

achieve

Unlock an achievement (string) if it isn't already unlocked

addAnnotation

Add a named annotation

build_annotation_imgs

Init annotation images to copy

getAnnotations

proc to get the indexed list of annotations on a particular mob

hasAchieved

Unlock an achievement (string) if it isn't already unlocked

notifyRelockStructure

This function only notifies the flock of the relock, actual unlock logic is handled in the datum

notifyUnlockStructure

This function only notifies the flock of the unlock, actual unlock logic is handled in the datum

perish

if real is FALSE then perish will not deallocate needed lists (used for pity respawn)

relay_process

Process to check what to do with the relay based off compute/tiles, specifically for before placement

removeAnnotation

Remove a named annotation

toggleAnnotation

Toggle a named annotation

update_computes

Update the compute values for all flocktraces and the flockmind

update_stage

Get the new stage of the relay. Return if the state has changed.

update_tiles

Update the tile count values for all flocktraces and the flockmind

\ No newline at end of file diff --git a/datum/game_mode.html b/datum/game_mode.html new file mode 100644 index 0000000000000..65405fe08adbf --- /dev/null +++ b/datum/game_mode.html @@ -0,0 +1,35 @@ +/datum/game_mode - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

invalid

Procs

equip_antagSet up an antag with default equipment, objectives etc as they would be in mixed +Should only be used for roundstart setup
get_possible_enemies
victory_bodyBody of the victory message
victory_headlineHeadline of the victory message
victory_msgAn optional message to indicate who won the round

Proc Details

equip_antag

Set up an antag with default equipment, objectives etc as they would be in mixed +Should only be used for roundstart setup

get_possible_enemies

victory_body

Body of the victory message

victory_headline

Headline of the victory message

victory_msg

An optional message to indicate who won the round

\ No newline at end of file diff --git a/datum/game_mode/conspiracy.html b/datum/game_mode/conspiracy.html new file mode 100644 index 0000000000000..a1d5a64228ad6 --- /dev/null +++ b/datum/game_mode/conspiracy.html @@ -0,0 +1 @@ +/datum/game_mode/conspiracy - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Conspiracy

Vars

num_other_antagsHow many other antags to mix in with the conspiracy

Var Details

num_other_antags

How many other antags to mix in with the conspiracy

\ No newline at end of file diff --git a/datum/game_mode/gang.html b/datum/game_mode/gang.html new file mode 100644 index 0000000000000..79baada6ee41d --- /dev/null +++ b/datum/game_mode/gang.html @@ -0,0 +1 @@ +/datum/game_mode/gang - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Gang War (Beta)

Vars

random_gangsMakes it so gang members are chosen randomly at roundstart instead of being recruited.

Var Details

random_gangs

Makes it so gang members are chosen randomly at roundstart instead of being recruited.

\ No newline at end of file diff --git a/datum/game_mode/nuclear.html b/datum/game_mode/nuclear.html new file mode 100644 index 0000000000000..de8581a78f304 --- /dev/null +++ b/datum/game_mode/nuclear.html @@ -0,0 +1 @@ +/datum/game_mode/nuclear - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Nuclear Emergency

Vars

concatenated_location_namesAn output ready summation of every 1 to n plant locations, for the couple of places outside of this file that care for that.
target_location_namesThe name of our target area(s). Used for text output.
target_location_typeOur area.type, which can be multiple per plant location (e.g. medbay).

Var Details

concatenated_location_names

An output ready summation of every 1 to n plant locations, for the couple of places outside of this file that care for that.

target_location_names

The name of our target area(s). Used for text output.

target_location_type

Our area.type, which can be multiple per plant location (e.g. medbay).

\ No newline at end of file diff --git a/datum/game_mode/revolution.html b/datum/game_mode/revolution.html new file mode 100644 index 0000000000000..37a434a4e29fc --- /dev/null +++ b/datum/game_mode/revolution.html @@ -0,0 +1 @@ +/datum/game_mode/revolution - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Revolution

Vars

trackertimeThe time to wait till we send out the tracker time
trackertime_maxupper bound on time before intercept arrives (in tenths of seconds)
trackertime_minlower bound on time before intercept arrives (in tenths of seconds)
trackertimedHas the tracker been sent out yet
waittimedHas the revolution announcement been sent out yet

Var Details

trackertime

The time to wait till we send out the tracker time

trackertime_max

upper bound on time before intercept arrives (in tenths of seconds)

trackertime_min

lower bound on time before intercept arrives (in tenths of seconds)

trackertimed

Has the tracker been sent out yet

waittimed

Has the revolution announcement been sent out yet

\ No newline at end of file diff --git a/datum/game_server.html b/datum/game_server.html new file mode 100644 index 0000000000000..c873cc949d188 --- /dev/null +++ b/datum/game_server.html @@ -0,0 +1 @@ +/datum/game_server - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/game_server

Vars

maplast known map
next_maplast known next map
player_countlast known player count
round_timelast known round time

Procs

sync_server_dataFetches server data from remote goonhub node

Var Details

map

last known map

next_map

last known next map

player_count

last known player count

round_time

last known round time

Proc Details

sync_server_data

Fetches server data from remote goonhub node

\ No newline at end of file diff --git a/datum/gang.html b/datum/gang.html new file mode 100644 index 0000000000000..c0dea760f9de1 --- /dev/null +++ b/datum/gang.html @@ -0,0 +1,5 @@ +/datum/gang - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/gang

Vars

announcer_radioThe radio headset that the gang's announcer will use.
announcer_sourceThe radio source for the gang's announcer, who will announce various messages of importance over the gang's frequency.
baseThe location of this gang's locker.
claimed_briefcaseWhether or not the leader of this gang has claimed a recruitment briefcase
color_idThe ID of the color selected
controlled_areasThe various areas that this gang currently controls.
current_max_gang_membersThe maximum number of gang members per gang.
current_newmember_pricePrice to hire a spectator gang member, for this gang
current_revival_pricePrice of the janktank II, for this gang (gang member revival syringe)
gangGreetingsStrings used to build PDA messages sent to civilians.
gang_frequencyThe unique radio frequency that members of this gang will communicate over.
gang_nameThe chosen name of this gang.
gang_pointsAssociative list between Gang members -> their points
gang_tagThe randomly selected tag of this gang.
gear_cooldownThe minds of members of this gang who are currently on cooldown from redeeming their gear from the gang locker.
headwearThe chosen mask or hat item of this gang.
headwear_listMask or hat items that are being used by other gangs as part of their gang uniform.
items_purchasedAn associative list of the items that this gang has purchased and the quantity in which they have been purchased.
leaderThe mind of this gang's leader.
leader_claimableWhether a gang member can claim to be leader. For when the leader cryos & observes (and NOT when the leader dies)
lockerThe gang locker of this gang.
membersThe minds of gang members associated with this gang. Does not include the gang leader.
potential_drop_zonesPotential loot drop zones for this gang
score_cashThe total quantity of cash that this gang has deposited.
score_drugPoints gained by this gang from drug deposits.
score_eventPoints gained by this gang from completing events.
score_gunPoints gained by this gang from gun deposits.
score_totalTotal score. may not be perfectly up to date
score_turfPoints gained by this gang from owning areas.
spray_paint_remainingThe amount of spray paint cans this gang may spawn.
street_credThe usable number of points that this gang has to spend with. +The street cred this gang has - used exclusively by the leader for purchasing gang members & revives
tiles_controlledThe number of tiles this gang controls.
uniformThe chosen jumpsuit item of this gang.
uniform_listJumpsuit items that are being used by other gangs as part of their gang uniform.
used_frequenciesRadio frequencies that are being used by other gangs.
used_namesGang names that are being used by other gangs.
used_tagsGang tag icon states that are being used by other gangs.
vandalism_trackerAssociative list of tracked vandalism zones to the remaining score needed.

Procs

add_pointsadd points to this gang, bonusMob optionally getting a bonus +if location is defined, maptext will come from that location, for all members.
claim_tilesClaim all tiles within claimRange, making all within minimumRange unclaimable.
do_vandalismChecks to see if is one the gang has to vandalise. If so, adds progress.
find_potential_drop_zonescollects and remembers all valid areas to spawn loot/crates
get_random_civviepick a random civilian (non-gang, non-sec), ideally not picking any deferred_minds
handle_leader_early_deathhow to handle the gang leader dying horribly early into the shift (suicide etc)
handle_leader_perma_cryohandle the gang leader entering cryo permanently
handle_leader_temp_cryohow to handle the gang leader entering cryo (but not guaranteed to be permanent)
lootbag_spawnhide a loot bag somewhere, return a probably-somewhat-believable PDA message explaining its' location
show_score_maptextShows maptext to the gang, with formatting for score increases.
show_vandal_maptextShows maptext to the gang, with formatting for score increases.
target_loot_spawnspawn loot and message a specific mind about it

Var Details

announcer_radio

The radio headset that the gang's announcer will use.

announcer_source

The radio source for the gang's announcer, who will announce various messages of importance over the gang's frequency.

base

The location of this gang's locker.

claimed_briefcase

Whether or not the leader of this gang has claimed a recruitment briefcase

color_id

The ID of the color selected

controlled_areas

The various areas that this gang currently controls.

current_max_gang_members

The maximum number of gang members per gang.

current_newmember_price

Price to hire a spectator gang member, for this gang

current_revival_price

Price of the janktank II, for this gang (gang member revival syringe)

gangGreetings

Strings used to build PDA messages sent to civilians.

gang_frequency

The unique radio frequency that members of this gang will communicate over.

gang_name

The chosen name of this gang.

gang_points

Associative list between Gang members -> their points

gang_tag

The randomly selected tag of this gang.

gear_cooldown

The minds of members of this gang who are currently on cooldown from redeeming their gear from the gang locker.

headwear

The chosen mask or hat item of this gang.

headwear_list

Mask or hat items that are being used by other gangs as part of their gang uniform.

items_purchased

An associative list of the items that this gang has purchased and the quantity in which they have been purchased.

leader

The mind of this gang's leader.

leader_claimable

Whether a gang member can claim to be leader. For when the leader cryos & observes (and NOT when the leader dies)

locker

The gang locker of this gang.

members

The minds of gang members associated with this gang. Does not include the gang leader.

potential_drop_zones

Potential loot drop zones for this gang

score_cash

The total quantity of cash that this gang has deposited.

score_drug

Points gained by this gang from drug deposits.

score_event

Points gained by this gang from completing events.

score_gun

Points gained by this gang from gun deposits.

score_total

Total score. may not be perfectly up to date

score_turf

Points gained by this gang from owning areas.

spray_paint_remaining

The amount of spray paint cans this gang may spawn.

street_cred

The usable number of points that this gang has to spend with. +The street cred this gang has - used exclusively by the leader for purchasing gang members & revives

tiles_controlled

The number of tiles this gang controls.

uniform

The chosen jumpsuit item of this gang.

uniform_list

Jumpsuit items that are being used by other gangs as part of their gang uniform.

used_frequencies

Radio frequencies that are being used by other gangs.

used_names

Gang names that are being used by other gangs.

used_tags

Gang tag icon states that are being used by other gangs.

vandalism_tracker

Associative list of tracked vandalism zones to the remaining score needed.

Proc Details

add_points

add points to this gang, bonusMob optionally getting a bonus +if location is defined, maptext will come from that location, for all members.

claim_tiles

Claim all tiles within claimRange, making all within minimumRange unclaimable.

do_vandalism

Checks to see if is one the gang has to vandalise. If so, adds progress.

find_potential_drop_zones

collects and remembers all valid areas to spawn loot/crates

get_random_civvie

pick a random civilian (non-gang, non-sec), ideally not picking any deferred_minds

handle_leader_early_death

how to handle the gang leader dying horribly early into the shift (suicide etc)

handle_leader_perma_cryo

handle the gang leader entering cryo permanently

handle_leader_temp_cryo

how to handle the gang leader entering cryo (but not guaranteed to be permanent)

lootbag_spawn

hide a loot bag somewhere, return a probably-somewhat-believable PDA message explaining its' location

show_score_maptext

Shows maptext to the gang, with formatting for score increases.

show_vandal_maptext

Shows maptext to the gang, with formatting for score increases.

target_loot_spawn

spawn loot and message a specific mind about it

\ No newline at end of file diff --git a/datum/gang_item.html b/datum/gang_item.html new file mode 100644 index 0000000000000..c4b7c35932804 --- /dev/null +++ b/datum/gang_item.html @@ -0,0 +1 @@ +/datum/gang_item - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

commodity

Procs

on_purchasecustom functionality for this purchase - if this returns TRUE, do not spawn the item

Proc Details

on_purchase

custom functionality for this purchase - if this returns TRUE, do not spawn the item

\ No newline at end of file diff --git a/datum/gangtileclaim.html b/datum/gangtileclaim.html new file mode 100644 index 0000000000000..d43c118a2d266 --- /dev/null +++ b/datum/gangtileclaim.html @@ -0,0 +1 @@ +/datum/gangtileclaim - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/gangtileclaim

For a given tile, this contains the number of gang tags that see or influence this tile for a gang. Used to track overlays.

Vars

claimswhether this tile is claimed by a tag, meaning it is valid for expanding a gangs'territory
imageThe overlay for this tile.
sightswhether this tile is seen by a nearby tag, generating points for it.

Var Details

claims

whether this tile is claimed by a tag, meaning it is valid for expanding a gangs'territory

image

The overlay for this tile.

sights

whether this tile is seen by a nearby tag, generating points for it.

\ No newline at end of file diff --git a/datum/gas_mixture.html b/datum/gas_mixture.html new file mode 100644 index 0000000000000..08e86fa1576b0 --- /dev/null +++ b/datum/gas_mixture.html @@ -0,0 +1,54 @@ +/datum/gas_mixture - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/gas_mixture

Vars

fuel_burntRough representation of oxygen and plasma used. Actual usage of plasma is currectly divided by 3 for balance.
graphicBitfield representing gas graphics on our tile.
group_multiplierUsed in air groups, this represents how many tiles are in the air group. +Using this lets us scale all kinds of variables so we can always act like one big tile.
temperatureTemperature of gases in Kelvin
volumeVolume of container in litres

Procs

check_both_then_temperature_share
check_gas_mixture
check_if_dangerousChecks for, ya know, if the mixture is potentially dangerous.
check_me_then_temperature_mimicSimilar to /datum/gas_mixture/proc/check_me_then_temperature_share except the model is not modified.
check_me_then_temperature_shareSimilar to /datum/gas_mixture/proc/check_both_then_temperature_share except that we solely check ourselves. +Returns: FALSE if the self-check failed and TRUE if self-check passed.
check_me_then_temperature_turf_share
check_then_merge
check_then_remove
check_tile_graphicBuild bitfield of overlays to use for a gas mixture and determine if graphic should be updated
check_turf
compare
copy_fromCopies variables from sample
fire
merge
mimic
neutron_interactProcesses an interaction between a neutron and this gas mixture, altering the component gasses accordingly. +Returns the resulting number of neutrons - 0 means that the reaction consumed the input neutron
reactProcess all reactions, return bitfield if notable reaction occurs.
remove
remove_ratio
reset_to_space_gasRemoves all gases except if in an underwater map, in which case the gas is set to be hot low pressure air.
share
subtractSubtracts right_side from air_mixture. Used to help turfs mingle
temperature_mimicSimilar to /datum/gas_mixture/proc/temperature_share except the model is not modified.
temperature_shareConducts heat between gases. +Conduction_coefficient is a multiplier that determines how well heat equalises, with 0 meaning no heat and 1 meaning perfect equalisation.
temperature_turf_shareShares heat between turfs, with conduction_coefficient as heat transfer efficiency factor.

Var Details

fuel_burnt

Rough representation of oxygen and plasma used. Actual usage of plasma is currectly divided by 3 for balance.

graphic

Bitfield representing gas graphics on our tile.

group_multiplier

Used in air groups, this represents how many tiles are in the air group. +Using this lets us scale all kinds of variables so we can always act like one big tile.

temperature

Temperature of gases in Kelvin

volume

Volume of container in litres

Proc Details

check_both_then_temperature_share

check_gas_mixture

check_if_dangerous

Checks for, ya know, if the mixture is potentially dangerous.

check_me_then_temperature_mimic

Similar to /datum/gas_mixture/proc/check_me_then_temperature_share except the model is not modified.

check_me_then_temperature_share

Similar to /datum/gas_mixture/proc/check_both_then_temperature_share except that we solely check ourselves. +Returns: FALSE if the self-check failed and TRUE if self-check passed.

check_me_then_temperature_turf_share

check_then_merge

check_then_remove

check_tile_graphic

Build bitfield of overlays to use for a gas mixture and determine if graphic should be updated

check_turf

compare

copy_from

Copies variables from sample

fire

merge

mimic

neutron_interact

Processes an interaction between a neutron and this gas mixture, altering the component gasses accordingly. +Returns the resulting number of neutrons - 0 means that the reaction consumed the input neutron

react

Process all reactions, return bitfield if notable reaction occurs.

remove

remove_ratio

reset_to_space_gas

Removes all gases except if in an underwater map, in which case the gas is set to be hot low pressure air.

share

subtract

Subtracts right_side from air_mixture. Used to help turfs mingle

temperature_mimic

Similar to /datum/gas_mixture/proc/temperature_share except the model is not modified.

temperature_share

Conducts heat between gases. +Conduction_coefficient is a multiplier that determines how well heat equalises, with 0 meaning no heat and 1 meaning perfect equalisation.

temperature_turf_share

Shares heat between turfs, with conduction_coefficient as heat transfer efficiency factor.

\ No newline at end of file diff --git a/datum/hallucinated_sound.html b/datum/hallucinated_sound.html new file mode 100644 index 0000000000000..402cd81bac644 --- /dev/null +++ b/datum/hallucinated_sound.html @@ -0,0 +1 @@ +/datum/hallucinated_sound - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/hallucinated_sound

Vars

delayDelay between each play
max_countMax number of times to play it
min_countMin number of times to play it
pathThe sound file to play
pitchPitch to play it at

Procs

playPlay the sound to a mob from a location

Var Details

delay

Delay between each play

max_count

Max number of times to play it

min_count

Min number of times to play it

path

The sound file to play

pitch

Pitch to play it at

Proc Details

play

Play the sound to a mob from a location

\ No newline at end of file diff --git a/datum/handHolder.html b/datum/handHolder.html new file mode 100644 index 0000000000000..ae71c4639977b --- /dev/null +++ b/datum/handHolder.html @@ -0,0 +1 @@ +/datum/handHolder - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

left hand

Vars

object_for_inhandsets the inhands of an item, for limbs with weapons, etc. should be a type of /obj/item.

Var Details

object_for_inhand

sets the inhands of an item, for limbs with weapons, etc. should be a type of /obj/item.

\ No newline at end of file diff --git a/datum/heap.html b/datum/heap.html new file mode 100644 index 0000000000000..f8bda250e8b70 --- /dev/null +++ b/datum/heap.html @@ -0,0 +1,5 @@ +/datum/heap - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

/datum/heap

Procs

get_greater_childReturns the greater (relative to the comparison proc) of a node children +or 0 if there's no child
insertinsert and place at its position a new node in the heap
popremoves and returns the first element of the heap +(i.e the max or the min dependant on the comparison function)
resortReplaces a given node so it verify the heap condition
sinkGet a node down to its right position in the heap
swimGet a node up to its right position in the heap

Proc Details

get_greater_child

Returns the greater (relative to the comparison proc) of a node children +or 0 if there's no child

insert

insert and place at its position a new node in the heap

pop

removes and returns the first element of the heap +(i.e the max or the min dependant on the comparison function)

resort

Replaces a given node so it verify the heap condition

sink

Get a node down to its right position in the heap

swim

Get a node up to its right position in the heap

\ No newline at end of file diff --git a/datum/http_request.html b/datum/http_request.html new file mode 100644 index 0000000000000..5585241d7c672 --- /dev/null +++ b/datum/http_request.html @@ -0,0 +1,24 @@ +/datum/http_request - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

HTTP Request

Holder datum for ingame HTTP requests

+

Holds information regarding to methods used, URL, and response, +as well as job IDs and progress tracking for async requests

Vars

_raw_responseThe raw response, which will be decoeded into a /datum/http_response
bodyBody of the request being sent
headersRequest headers being sent
idThe ID of the request (Only set if it is an async request)
in_progressIs the request in progress? (Only set if it is an async request)
methodHTTP method used
output_fileIf present response body will be saved to this file.
urlURL that the request is being sent to

Procs

begin_asyncAsync execution starter
build_optionsOptions builder
execute_blockingBlocking executor
into_responseResponse deserializer
is_completeAsync completion checker
preparePreparation handler

Var Details

_raw_response

The raw response, which will be decoeded into a /datum/http_response

body

Body of the request being sent

headers

Request headers being sent

id

The ID of the request (Only set if it is an async request)

in_progress

Is the request in progress? (Only set if it is an async request)

method

HTTP method used

output_file

If present response body will be saved to this file.

url

URL that the request is being sent to

Proc Details

begin_async

Async execution starter

+

Tells the request to start executing inside its own thread inside RUSTG +Preferred over blocking.

build_options

Options builder

+

Builds a set of request options +Apparently this is only currently used for output_file purposes

execute_blocking

Blocking executor

+

Remains as a proof of concept to show it works, but should NEVER be used to do FFI halting the entire DD process up +Async rqeuests are much preferred.

into_response

Response deserializer

+

Takes a HTTP request object, and converts it into a /datum/http_response +The entire thing is wrapped in try/catch to ensure it doesnt break on invalid requests +Can be called on async and blocking requests

is_complete

Async completion checker

+

Checks if an async request has been complete +Has safety checks built in to compensate if you call this on blocking requests, +or async requests which have already finished

prepare

Preparation handler

+

Call this with relevant parameters to form the request you want to make

+

Arguments:

+
\ No newline at end of file diff --git a/datum/http_response.html b/datum/http_response.html new file mode 100644 index 0000000000000..859230669e15d --- /dev/null +++ b/datum/http_response.html @@ -0,0 +1,3 @@ +/datum/http_response - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

HTTP Response

Holder datum for HTTP responses

+

Created from calling [/datum/http_request/proc/into_response()] +Contains vars about the result of the response

Vars

bodyThe body of the response from the server
errorRaw response if we errored
erroredHas the request errored
headersAssociative list of headers sent from the server
status_codeThe HTTP status code of the response

Var Details

body

The body of the response from the server

error

Raw response if we errored

errored

Has the request errored

headers

Associative list of headers sent from the server

status_code

The HTTP status code of the response

\ No newline at end of file diff --git a/datum/hud.html b/datum/hud.html new file mode 100644 index 0000000000000..4c64d09986e1f --- /dev/null +++ b/datum/hud.html @@ -0,0 +1,19 @@ +/datum/hud - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/hud

Vars

hud_zonesList of /datum/hud_zones, see hudzones/README

Procs

create_hud_zone
debug_print_alldebug purposes only, call this to print ALL of the information you could ever need
delete_hud_zoneDeletes a hud zone and all elements inside of it
get_hudzoneReturns the /datum/hud_zone with zone_alias, null if passed bad arguments
screen_boundary_checkReturns TRUE if a rectangle defined by coords is within screen dimensions, FALSE if it isnt
zone_overlap_checkReturns TRUE if a rectangle defined by coords doesnt overlap with any existing hud zone, FALSE if it does

Var Details

hud_zones

List of /datum/hud_zones, see hudzones/README

Proc Details

create_hud_zone

Creates a hud zone within the bounds of the screen at the supplied coordinates

+

Arguments:

+

coords: assoc list with format list(x_low = num, y_low = num, x_high = num, y_high = num)

+
x_low and y_low are the x and y coordinates of the bottom left corner of the zone
+x_high and y_high are the x and y coordinates of the top right corner of the zone
+
+

alias: string, key for the hud zone

+

horizontal_edge: what horizontal side of the hud zone are new elements added from? can be EAST or WEST- Defaults to WEST

+
for example, if its EAST then the first element is added at the right edge of the zone
+the second element is added to the left side of the first element
+the third element is added to the left side of the second element, etc.
+
+

vertical_edge: what vertical side of the hud zone are new elements added from? can be NORTH or SOUTH - Defaults to SOUTH

+
for example, if its NORTH then the first element is added at the top edge of the zone
+the second element is added to the bottom side of the first element
+the third element is added to the bottom side of the second element, etc.
+
+

ignore_overlap: Whether to ignore if this hud zone overlaps with other hud zones - Defaults to FALSE

+

Returns: null if passed bad arguments, FALSE if there was an error placing it, the new /datum/hud_zone otherwise

debug_print_all

debug purposes only, call this to print ALL of the information you could ever need

delete_hud_zone

Deletes a hud zone and all elements inside of it

get_hudzone

Returns the /datum/hud_zone with zone_alias, null if passed bad arguments

screen_boundary_check

Returns TRUE if a rectangle defined by coords is within screen dimensions, FALSE if it isnt

zone_overlap_check

Returns TRUE if a rectangle defined by coords doesnt overlap with any existing hud zone, FALSE if it does

\ No newline at end of file diff --git a/datum/hud/critter.html b/datum/hud/critter.html new file mode 100644 index 0000000000000..53f0c09fa415c --- /dev/null +++ b/datum/hud/critter.html @@ -0,0 +1 @@ +/datum/hud/critter - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/hud/critter

Highly modular HUD for critters.

Vars

bleedingbleeding hud element
bodytemptemperature hud element
equipmentlist of equipment hud elements
firefire hud element
handslist of holders of hand hud elements
healthhealth hud element
hud_iconhud icons to use
intentattack intent hud element
left_offsetoffset for a screen location to the left
masterhud owner mob
mintentmovement intent hud element
oxygenoxygen hud element
pullingpulling hud element
radradiation hud element
resistresist hud element
restingresting hud element
right_offsetoffset for a screen location to the right
staminastamina hud element
stamina_backbackdrop of stamina hud element
statusUiElementsAssoc. List STATUS EFFECT INSTANCE : UI ELEMENT add_screen(atom/movable/screen/S). Used to hold the ui elements since they shouldnt be on the status effects themselves.
throwingthrowing hud element
top_right_offsetoffset for a screen location in the top right (generally where health and status icons go)
toxintoxic gas hud element
wraparound_offset_leftstatus effect left offset
wraparound_offset_rightstatus effect right offset

Procs

clear_masterclears owner mob
get_leftreturns the left offset correctly formatted for a screen loc
get_rightreturns the right offset correctly formatted for a screen loc
loc_leftgets the leftmost screen loc
loc_rightgets the rightmost screen loc
next_leftgives an offset for the next left screen element, and then increases the magnitude of the next offset
next_rightgives an offset for the next right screen element, and then increases the magnitude of the next offset
next_toprightgives an offset for the next top-right screen element, and then increases the magnitude of the next offset
relay_clickreceives clicks from the screen hud objects
set_breathing_firesets the breathing fire icon on the hud to show breathing fire status
set_sprintupdates stamina sprinting icon state
set_suffocatingsets the suffocation icon on the hud to show suffocation status
update_blood_indicatorupdates bleeding hud element
update_breathing_indicatorsupdate the oxygen and tox indicators based on status
update_handsupdates the hand icon(s) to reflect which hand is active
update_healthupdates health hud element
update_intentupdates intent hud element
update_mintentupdates movement intent hud element
update_pullingupdates pull hud element
update_rad_indicatorupdates radiation hud element
update_restingupdates resting status
update_status_effectsupdates all status effect hud elements
update_temp_indicatorupdates temperature hud element
update_throwingupdates the throwing icon to show whether or not throwing is active
update_tox_indicatorupdates toxic gas hud element

Var Details

bleeding

bleeding hud element

bodytemp

temperature hud element

equipment

list of equipment hud elements

fire

fire hud element

hands

list of holders of hand hud elements

health

health hud element

hud_icon

hud icons to use

intent

attack intent hud element

left_offset

offset for a screen location to the left

master

hud owner mob

mintent

movement intent hud element

oxygen

oxygen hud element

pulling

pulling hud element

rad

radiation hud element

resist

resist hud element

resting

resting hud element

right_offset

offset for a screen location to the right

stamina

stamina hud element

stamina_back

backdrop of stamina hud element

statusUiElements

Assoc. List STATUS EFFECT INSTANCE : UI ELEMENT add_screen(atom/movable/screen/S). Used to hold the ui elements since they shouldnt be on the status effects themselves.

throwing

throwing hud element

top_right_offset

offset for a screen location in the top right (generally where health and status icons go)

toxin

toxic gas hud element

wraparound_offset_left

status effect left offset

wraparound_offset_right

status effect right offset

Proc Details

clear_master

clears owner mob

get_left

returns the left offset correctly formatted for a screen loc

get_right

returns the right offset correctly formatted for a screen loc

loc_left

gets the leftmost screen loc

loc_right

gets the rightmost screen loc

next_left

gives an offset for the next left screen element, and then increases the magnitude of the next offset

next_right

gives an offset for the next right screen element, and then increases the magnitude of the next offset

next_topright

gives an offset for the next top-right screen element, and then increases the magnitude of the next offset

relay_click

receives clicks from the screen hud objects

set_breathing_fire

sets the breathing fire icon on the hud to show breathing fire status

set_sprint

updates stamina sprinting icon state

set_suffocating

sets the suffocation icon on the hud to show suffocation status

update_blood_indicator

updates bleeding hud element

update_breathing_indicators

update the oxygen and tox indicators based on status

update_hands

updates the hand icon(s) to reflect which hand is active

update_health

updates health hud element

update_intent

updates intent hud element

update_mintent

updates movement intent hud element

update_pulling

updates pull hud element

update_rad_indicator

updates radiation hud element

update_resting

updates resting status

update_status_effects

updates all status effect hud elements

update_temp_indicator

updates temperature hud element

update_throwing

updates the throwing icon to show whether or not throwing is active

update_tox_indicator

updates toxic gas hud element

\ No newline at end of file diff --git a/datum/hud/critter/flock/drone.html b/datum/hud/critter/flock/drone.html new file mode 100644 index 0000000000000..7c60d49510896 --- /dev/null +++ b/datum/hud/critter/flock/drone.html @@ -0,0 +1 @@ +/datum/hud/critter/flock/drone - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

/datum/hud/critter/flock/drone

Procs

set_stunner_chargeCharge is given as a ratio from 0 to 1

Proc Details

set_stunner_charge

Charge is given as a ratio from 0 to 1

\ No newline at end of file diff --git a/datum/hud/storage.html b/datum/hud/storage.html new file mode 100644 index 0000000000000..aee8334535bcf --- /dev/null +++ b/datum/hud/storage.html @@ -0,0 +1 @@ +/datum/hud/storage - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

/datum/hud/storage

Procs

get_clicked_positionreturns position of the hud clicked

Proc Details

get_clicked_position

returns position of the hud clicked

\ No newline at end of file diff --git a/datum/hud_element.html b/datum/hud_element.html new file mode 100644 index 0000000000000..4d415939db196 --- /dev/null +++ b/datum/hud_element.html @@ -0,0 +1 @@ +/datum/hud_element - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/hud_element

Represents a hud element within a hud zone

Vars

heightHow many tiles tall the element is (can be fractional)
screen_objThe actual screen object
widthHow many tiles wide the element is (can be fractional)

Var Details

height

How many tiles tall the element is (can be fractional)

screen_obj

The actual screen object

width

How many tiles wide the element is (can be fractional)

\ No newline at end of file diff --git a/datum/hud_zone.html b/datum/hud_zone.html new file mode 100644 index 0000000000000..b01be1cb6cb33 --- /dev/null +++ b/datum/hud_zone.html @@ -0,0 +1,9 @@ +/datum/hud_zone - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/hud_zone

The internal datum representation of a hud zone

Vars

coordsAssoc list with format list(x_low = num, y_low = num, x_high = num, y_high = num), 1-indexed
elementsAssoc list of "elem_alias" = /datum/hud_element elements
horizontal_edgeWhat horizontal side of the hud zone are new elements added from? can be "EAST" or "WEST"
horizontal_offsetCurrent relative horizontal offset to place new elements at
ignore_overlapDid this hud zone ignore overlapping zones on creation?
masterWhat's the master /datum/hud this lives in?
nameWhat this hud_zone is indexed with in the hud_zones list
vertical_edgeWhat vertical side of the hud zone are new elements added from? can be "NORTH" or "SOUTH"
vertical_offsetCurrent relative vertical offset to place new elements at

Procs

add_elem_no_adjustAdds an element without adjusting positions automatically - manually set instead. no safety checking
add_elementAdds the element to zone_alias with alias elem_alias
adjust_offsetinternal use only. accepts an element and tries to position that element in the zone based on current element positions.
deregister_element
deregister_element_no_adjustRemoves an element without adjusting positions automatically - will probably fuck stuff up if theres any dynamically positioned elements
ensure_emptyArgument: The datum/hud_element we're adding
get_elementReturns the /datum/hud_element with alias elem_alias, null if passed improper args
recalculate_offsetsInternal use only. Recalculates all offsets for the elements
register_element
remove_elementRemoves the element with alias elem_alias
set_elem_positionUsed to manually set the position of an element relative to the BOTTOM LEFT corner of a hud zone. no safety checks

Var Details

coords

Assoc list with format list(x_low = num, y_low = num, x_high = num, y_high = num), 1-indexed

elements

Assoc list of "elem_alias" = /datum/hud_element elements

horizontal_edge

What horizontal side of the hud zone are new elements added from? can be "EAST" or "WEST"

horizontal_offset

Current relative horizontal offset to place new elements at

ignore_overlap

Did this hud zone ignore overlapping zones on creation?

master

What's the master /datum/hud this lives in?

name

What this hud_zone is indexed with in the hud_zones list

vertical_edge

What vertical side of the hud zone are new elements added from? can be "NORTH" or "SOUTH"

vertical_offset

Current relative vertical offset to place new elements at

Proc Details

add_elem_no_adjust

Adds an element without adjusting positions automatically - manually set instead. no safety checking

add_element

Adds the element to zone_alias with alias elem_alias

+

Pass ignore_area = TRUE if you want to ignore bounds checks.

+

Returns: null if passed bad arguments, FALSE if there was an error, TRUE otherwise

adjust_offset

internal use only. accepts an element and tries to position that element in the zone based on current element positions.

deregister_element

Deregisters a hud element associated with elem_alias

+

Returns null if passed improper args, TRUE otherwise

deregister_element_no_adjust

Removes an element without adjusting positions automatically - will probably fuck stuff up if theres any dynamically positioned elements

ensure_empty

Argument: The datum/hud_element we're adding

+

Returns HUD_ZONE_FULL if completely full, +HUD_ZONE_WRAPAROUND if it needed to wrap around to a new vertical layer, +and HUD_ZONE_EMPTY if it was empty.

get_element

Returns the /datum/hud_element with alias elem_alias, null if passed improper args

recalculate_offsets

Internal use only. Recalculates all offsets for the elements

register_element

Registers a hud element, associated with elem_alias

+

Returns null if passed improper args, FALSE if there was an error, TRUE otherwise

remove_element

Removes the element with alias elem_alias

+

Returns: null if passed bad arguments, TRUE otherwise

set_elem_position

Used to manually set the position of an element relative to the BOTTOM LEFT corner of a hud zone. no safety checks

\ No newline at end of file diff --git a/datum/interruptible_sleep.html b/datum/interruptible_sleep.html new file mode 100644 index 0000000000000..61c01337f238c --- /dev/null +++ b/datum/interruptible_sleep.html @@ -0,0 +1,5 @@ +/datum/interruptible_sleep - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

/datum/interruptible_sleep

Represents something akin to a sleep() call that can be interrupted.

+

You create this datum, give a copy to some other place and call wait() to sleep until interrupted. +The other place can then call INTERRUPT_SLEEP(the_isleep) to wake up the sleep.

Procs

waitSleep until interrupted.

Proc Details

wait

Sleep until interrupted.

+

@param isleep How long to wait. If not provided sleep indefinitely. +@return TRUE if interrupted, FALSE if not.

\ No newline at end of file diff --git a/datum/ion_category.html b/datum/ion_category.html new file mode 100644 index 0000000000000..c8732514bb5aa --- /dev/null +++ b/datum/ion_category.html @@ -0,0 +1 @@ +/datum/ion_category - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/ion_category

Vars

amount_maxMaximum number of Things this effects
amount_minMinimum number of Things this affects

Var Details

amount_max

Maximum number of Things this effects

amount_min

Minimum number of Things this affects

\ No newline at end of file diff --git a/datum/ircbot.html b/datum/ircbot.html new file mode 100644 index 0000000000000..929d8e9adeb67 --- /dev/null +++ b/datum/ircbot.html @@ -0,0 +1,3 @@ +/datum/ircbot - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

/datum/ircbot

Procs

eventShortcut proc for event-type exports
exportSend a message to an irc bot! Yay!
loadLoad the config variables necessary for connections +Successful load indicated by a TRUE return
responseFormat the response to an irc request juuuuust right

Proc Details

event

Shortcut proc for event-type exports

export

Send a message to an irc bot! Yay!

load

Load the config variables necessary for connections +Successful load indicated by a TRUE return

response

Format the response to an irc request juuuuust right

\ No newline at end of file diff --git a/datum/item_special/graffiti.html b/datum/item_special/graffiti.html new file mode 100644 index 0000000000000..9d1107745695b --- /dev/null +++ b/datum/item_special/graffiti.html @@ -0,0 +1 @@ +/datum/item_special/graffiti - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Spray Burst

Vars

ignitionIf true, the swipe will ignite stuff in it's reach.

Var Details

ignition

If true, the swipe will ignite stuff in it's reach.

\ No newline at end of file diff --git a/datum/item_special/launch_projectile.html b/datum/item_special/launch_projectile.html new file mode 100644 index 0000000000000..ec2035365b2c9 --- /dev/null +++ b/datum/item_special/launch_projectile.html @@ -0,0 +1 @@ +/datum/item_special/launch_projectile - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Cast

Vars

projectileprojectile datum containing data for projectile objects
special_effect_typetype path of the special effect

Var Details

projectile

projectile datum containing data for projectile objects

special_effect_type

type path of the special effect

\ No newline at end of file diff --git a/datum/item_special/massacre.html b/datum/item_special/massacre.html new file mode 100644 index 0000000000000..3abddb420a88c --- /dev/null +++ b/datum/item_special/massacre.html @@ -0,0 +1 @@ +/datum/item_special/massacre - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Butcher

Vars

damage_mult_incrementDamage multiplier increase per chain
damage_mult_startDamage multiplier, initial
max_chainMaximum number of hits
penalty_disorientDisorient and drain stamina when interrupted
staminacost_chainStamina cost per extra swing
staminacost_chain_additiveStamina cost increase per extra swing

Var Details

damage_mult_increment

Damage multiplier increase per chain

damage_mult_start

Damage multiplier, initial

max_chain

Maximum number of hits

penalty_disorient

Disorient and drain stamina when interrupted

staminacost_chain

Stamina cost per extra swing

staminacost_chain_additive

Stamina cost increase per extra swing

\ No newline at end of file diff --git a/datum/item_special/swipe.html b/datum/item_special/swipe.html new file mode 100644 index 0000000000000..263d99eff5493 --- /dev/null +++ b/datum/item_special/swipe.html @@ -0,0 +1 @@ +/datum/item_special/swipe - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Swipe

Vars

ignitionIf true, the swipe will ignite stuff in it's reach.

Var Details

ignition

If true, the swipe will ignite stuff in it's reach.

\ No newline at end of file diff --git a/datum/job.html b/datum/job.html new file mode 100644 index 0000000000000..520aa89773ae3 --- /dev/null +++ b/datum/job.html @@ -0,0 +1,3 @@ +/datum/job - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/job

Vars

add_to_manifestOn join, add to general, bank, and security records.
admin_set_limithas an admin manually set the limit to something
allow_antag_fallthroughcan you roll this job if you rolled antag with a non-traitor-allowed favourite job (e.g.: prevent sec mains from forcing only captain antag rounds)
announce_on_joinOn join, send message to all players indicating who is fulfilling the role; primarily for heads of staff
cant_allocate_unwantedJob cannot be set to "unwanted" in player preferences.
counts_asName of a job that we count towards the cap of
factionThe faction to be assigned to the mob on setup uses flags from factions.dm
high_priority_limitFill up to this limit, then drop this job out of high priotity
job_categoryjob category flag for use with loops rather than a needing a bunch of type checks
map_can_autooverrideBase the initial limit of job slots on the number of map-defined job start locations.
order_priorityWhat order jobs are filled in within their priority tier, lower number = higher priority
radio_announcementThe announcement computer will send a message when the player joins after round-start.
receives_implantsList of object paths of implant types given on spawn.
requires_supervisor_jobString name of another job. The current job will only be available if the supervisor job is filled.
short_descriptionDescription provided when a player hovers over the job name in latejoin menu
slot_cardObject path of the ID card type to issue player. Overridden by spawn_id.
spawn_idDoes player spawn with an ID. Overrides slot_card if TRUE.
uniqueif true, cryoing won't free up slots, only ghosting will +basically there should never be two of these
upper_limitdefaults to limit
uses_character_profileDoes this job use the name and appearance from the character profile? (for tracking respawned names)
variable_limitdoes this job scale down at lower population counts
wagesJob starting wages
wiki_linkLink to the wiki page for this job

Procs

is_highlightedIs this job highlighted for priority latejoining
match_to_stringCheck if a string matches this job's name or alias with varying case sensitivity

Var Details

add_to_manifest

On join, add to general, bank, and security records.

admin_set_limit

has an admin manually set the limit to something

allow_antag_fallthrough

can you roll this job if you rolled antag with a non-traitor-allowed favourite job (e.g.: prevent sec mains from forcing only captain antag rounds)

announce_on_join

On join, send message to all players indicating who is fulfilling the role; primarily for heads of staff

cant_allocate_unwanted

Job cannot be set to "unwanted" in player preferences.

counts_as

Name of a job that we count towards the cap of

faction

The faction to be assigned to the mob on setup uses flags from factions.dm

high_priority_limit

Fill up to this limit, then drop this job out of high priotity

job_category

job category flag for use with loops rather than a needing a bunch of type checks

map_can_autooverride

Base the initial limit of job slots on the number of map-defined job start locations.

order_priority

What order jobs are filled in within their priority tier, lower number = higher priority

radio_announcement

The announcement computer will send a message when the player joins after round-start.

receives_implants

List of object paths of implant types given on spawn.

requires_supervisor_job

String name of another job. The current job will only be available if the supervisor job is filled.

short_description

Description provided when a player hovers over the job name in latejoin menu

slot_card

Object path of the ID card type to issue player. Overridden by spawn_id.

spawn_id

Does player spawn with an ID. Overrides slot_card if TRUE.

unique

if true, cryoing won't free up slots, only ghosting will +basically there should never be two of these

upper_limit

defaults to limit

uses_character_profile

Does this job use the name and appearance from the character profile? (for tracking respawned names)

variable_limit

does this job scale down at lower population counts

wages

Job starting wages

Link to the wiki page for this job

Proc Details

is_highlighted

Is this job highlighted for priority latejoining

match_to_string

Check if a string matches this job's name or alias with varying case sensitivity

\ No newline at end of file diff --git a/datum/job/special/syndicate_weak.html b/datum/job/special/syndicate_weak.html new file mode 100644 index 0000000000000..d65811f48cfa4 --- /dev/null +++ b/datum/job/special/syndicate_weak.html @@ -0,0 +1 @@ +/datum/job/special/syndicate_weak - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Junior Syndicate Operative

Vars

slot_poc1obj/item/card/id

Var Details

slot_poc1

obj/item/card/id

\ No newline at end of file diff --git a/datum/job_controller.html b/datum/job_controller.html new file mode 100644 index 0000000000000..00d9d0600a2a5 --- /dev/null +++ b/datum/job_controller.html @@ -0,0 +1 @@ +/datum/job_controller - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

/datum/job_controller

Procs

allocate_player_to_job_by_preferenceAssigns a player a job based on their preferences and job availability
check_job_eligibilityReturns TRUE if a player is eligible to play a given job
create_jobcreate job datum from job-creator job datum. todo just add a clone method to jobs?
try_assign_job_from_listattempts to assign a player to a job from a list of either job datums or job strings

Proc Details

allocate_player_to_job_by_preference

Assigns a player a job based on their preferences and job availability

check_job_eligibility

Returns TRUE if a player is eligible to play a given job

create_job

create job datum from job-creator job datum. todo just add a clone method to jobs?

try_assign_job_from_list

attempts to assign a player to a job from a list of either job datums or job strings

\ No newline at end of file diff --git a/datum/jps_node.html b/datum/jps_node.html new file mode 100644 index 0000000000000..ce6f3b50fd681 --- /dev/null +++ b/datum/jps_node.html @@ -0,0 +1 @@ +/datum/jps_node - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/jps_node

The JPS Node datum represents a turf that we find interesting enough to add to the open list and possibly search for new tiles from

Vars

f_valueThe A* node weight (f_value = number_of_tiles + heuristic)
heuristicThe A* node heuristic (a rough estimate of how far we are from the goal)
jumpsHow many steps it took to get here from the last node
node_goalsNodes store the endgoal so they can process their heuristic without a reference to the pathfind datum
number_tilesHow many steps it's taken to get here from the start (currently pulling double duty as steps taken & cost to get here, since all moves incl diagonals cost 1 rn)
previous_nodeThe node we just came from
tileThe turf associated with this node

Var Details

f_value

The A* node weight (f_value = number_of_tiles + heuristic)

heuristic

The A* node heuristic (a rough estimate of how far we are from the goal)

jumps

How many steps it took to get here from the last node

node_goals

Nodes store the endgoal so they can process their heuristic without a reference to the pathfind datum

number_tiles

How many steps it's taken to get here from the start (currently pulling double duty as steps taken & cost to get here, since all moves incl diagonals cost 1 rn)

previous_node

The node we just came from

tile

The turf associated with this node

\ No newline at end of file diff --git a/datum/keymap.html b/datum/keymap.html new file mode 100644 index 0000000000000..4fd37a7fba2c6 --- /dev/null +++ b/datum/keymap.html @@ -0,0 +1,9 @@ +/datum/keymap - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

/datum/keymap

Procs

action_to_keybindReturns keybind for a given action
key_bitflag_to_stringdescConverts from bitflag to a human-readable description +Example: "2" to "KEY_BACKWARD"
key_string_to_descConverts from code-readable action names to human-readable +Example: "l_arm" to "Target Left Arm"
mergeMerges two keymaps together. Will overwrite existing entries sharing the same key.
overwrite_by_actionOverwrites existing entries from given keymap, matching on the action and not the key. Performance sucks on this.
parse_actionIntermediate proc to check if an action is a bitflag or not before parsing it.
parse_keybindChecks the input key and converts it to a usable format +Wants input in the format "CTRL+F", as an example.
unparse_keybindConverts the given usable format to a readable format +Wants input in the format "0NORTH" or "5D", as an example.

Proc Details

action_to_keybind

Returns keybind for a given action

key_bitflag_to_stringdesc

Converts from bitflag to a human-readable description +Example: "2" to "KEY_BACKWARD"

key_string_to_desc

Converts from code-readable action names to human-readable +Example: "l_arm" to "Target Left Arm"

merge

Merges two keymaps together. Will overwrite existing entries sharing the same key.

overwrite_by_action

Overwrites existing entries from given keymap, matching on the action and not the key. Performance sucks on this.

parse_action

Intermediate proc to check if an action is a bitflag or not before parsing it.

parse_keybind

Checks the input key and converts it to a usable format +Wants input in the format "CTRL+F", as an example.

unparse_keybind

Converts the given usable format to a readable format +Wants input in the format "0NORTH" or "5D", as an example.

\ No newline at end of file diff --git a/datum/lifeprocess.html b/datum/lifeprocess.html new file mode 100644 index 0000000000000..0c23ab453ec99 --- /dev/null +++ b/datum/lifeprocess.html @@ -0,0 +1 @@ +/datum/lifeprocess - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/lifeprocess

Vars

cap_tick_spacinghighest TIME allowance between ticks to try to play catchup with realtime thingo
tick_spacingThis should pretty much always stay at 20, for it is the one number that all do-over-time stuff should be balanced around

Var Details

cap_tick_spacing

highest TIME allowance between ticks to try to play catchup with realtime thingo

tick_spacing

This should pretty much always stay at 20, for it is the one number that all do-over-time stuff should be balanced around

\ No newline at end of file diff --git a/datum/lifeprocess/blood.html b/datum/lifeprocess/blood.html new file mode 100644 index 0000000000000..0f71bff6e9a6c --- /dev/null +++ b/datum/lifeprocess/blood.html @@ -0,0 +1 @@ +/datum/lifeprocess/blood - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/lifeprocess/blood

Vars

last_tick_regular_blood_rangeif during the last tick of the process, the owner's blood was in the baseline range

Var Details

last_tick_regular_blood_range

if during the last tick of the process, the owner's blood was in the baseline range

\ No newline at end of file diff --git a/datum/lifeprocess/breath.html b/datum/lifeprocess/breath.html new file mode 100644 index 0000000000000..52fa21102d2c2 --- /dev/null +++ b/datum/lifeprocess/breath.html @@ -0,0 +1 @@ +/datum/lifeprocess/breath - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

/datum/lifeprocess/breath

Procs

handle_breathReturn value is the number of lungs that successfully breathed

Proc Details

handle_breath

Return value is the number of lungs that successfully breathed

\ No newline at end of file diff --git a/datum/limb.html b/datum/limb.html new file mode 100644 index 0000000000000..52ddcbfec9329 --- /dev/null +++ b/datum/limb.html @@ -0,0 +1,3 @@ +/datum/limb - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/limb

Limb datums for arms. Describes all activity performed by the limb. +Currently, this is basically attack_hand().

+

Also serves as a future holder for any other special limb activity.

Vars

attack_strength_modifierscale from 0 to 1 on how well this limb can attack/hit things with items
can_beat_up_robotsif true, bypasses unarmed attack immunity for cyborgs (separate to weird special case handling for them)
can_gun_grabif the limb can gun grab with a held gun
cooldownsused for ON_COOLDOWN stuff
disarm_specialContains the datum which executes the items special, if it has one, when used beyond melee range.
harm_specialContains the datum which executes the items special, if it has one, when used beyond melee range.

Var Details

attack_strength_modifier

scale from 0 to 1 on how well this limb can attack/hit things with items

can_beat_up_robots

if true, bypasses unarmed attack immunity for cyborgs (separate to weird special case handling for them)

can_gun_grab

if the limb can gun grab with a held gun

cooldowns

used for ON_COOLDOWN stuff

disarm_special

Contains the datum which executes the items special, if it has one, when used beyond melee range.

harm_special

Contains the datum which executes the items special, if it has one, when used beyond melee range.

\ No newline at end of file diff --git a/datum/limb/gun.html b/datum/limb/gun.html new file mode 100644 index 0000000000000..f50921917f540 --- /dev/null +++ b/datum/limb/gun.html @@ -0,0 +1 @@ +/datum/limb/gun - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

/datum/limb/gun

Procs

is_on_cooldowndespite the name, this means reloading

Proc Details

is_on_cooldown

despite the name, this means reloading

\ No newline at end of file diff --git a/datum/limb/mouth/maneater.html b/datum/limb/mouth/maneater.html new file mode 100644 index 0000000000000..18f87cf46bb67 --- /dev/null +++ b/datum/limb/mouth/maneater.html @@ -0,0 +1 @@ +/datum/limb/mouth/maneater - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/limb/mouth/maneater

Vars

amount_to_injectamount of chems this limb should inject on targets
borg_damage_bonusadditional damage bonus or malus dealt to borgs
borg_flinging_cooldowncooldown on which to throw a borg across the room. No permastunning borgs
chems_to_injectlist of chems this limb should inject on targets
human_desorient_durationhow much desorient this limb should apply to living mobs
human_stam_damagehow much stam damage this limb should deal to living mobs
human_stun_cooldownif this limb stunned: how long should this kind of limb not be able to stun the target; to prevent reapplication of stuns
human_stun_durationhow much stun this limb should apply to living mobs

Var Details

amount_to_inject

amount of chems this limb should inject on targets

borg_damage_bonus

additional damage bonus or malus dealt to borgs

borg_flinging_cooldown

cooldown on which to throw a borg across the room. No permastunning borgs

chems_to_inject

list of chems this limb should inject on targets

human_desorient_duration

how much desorient this limb should apply to living mobs

human_stam_damage

how much stam damage this limb should deal to living mobs

human_stun_cooldown

if this limb stunned: how long should this kind of limb not be able to stun the target; to prevent reapplication of stuns

human_stun_duration

how much stun this limb should apply to living mobs

\ No newline at end of file diff --git a/datum/limb/zombie.html b/datum/limb/zombie.html new file mode 100644 index 0000000000000..ca0c29a72abdb --- /dev/null +++ b/datum/limb/zombie.html @@ -0,0 +1 @@ +/datum/limb/zombie - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/limb/zombie

Vars

can_reachLegally distinct from can_pickup_item, determines whether we use the thrall behaviour of pickup actionbars

Var Details

can_reach

Legally distinct from can_pickup_item, determines whether we use the thrall behaviour of pickup actionbars

\ No newline at end of file diff --git a/datum/lineResult.html b/datum/lineResult.html new file mode 100644 index 0000000000000..9c941bf81f448 --- /dev/null +++ b/datum/lineResult.html @@ -0,0 +1 @@ +/datum/lineResult - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/lineResult

Vars

transformThe resulting transform applied to the line, null in the case of LINEMODE_SEGMENT because there's no single transform there.

Var Details

transform

The resulting transform applied to the line, null in the case of LINEMODE_SEGMENT because there's no single transform there.

\ No newline at end of file diff --git a/datum/loot_crate_manager.html b/datum/loot_crate_manager.html new file mode 100644 index 0000000000000..4d0a69c9eea87 --- /dev/null +++ b/datum/loot_crate_manager.html @@ -0,0 +1 @@ +/datum/loot_crate_manager - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/loot_crate_manager

Vars

aestheticthree types of loot - aesthetic motivated, department motivated, and player motivated

Var Details

aesthetic

three types of loot - aesthetic motivated, department motivated, and player motivated

\ No newline at end of file diff --git a/datum/loot_generator.html b/datum/loot_generator.html new file mode 100644 index 0000000000000..0bbf70632294d --- /dev/null +++ b/datum/loot_generator.html @@ -0,0 +1,3 @@ +/datum/loot_generator - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/loot_generator

Vars

lootGridThe loot grid (inventory grid) this generator is using
populatedWhether loot weights have been generated yet.
spawned_instancesASsociative list of loot instances this generator created.
spawnersThe spawner associated with the X & Y Size. so spawners[1][2] is 1 wide, 2 tall
tagsList for passing information to spawners (for example, ammo spawners would need to know what guns this spawner made)
totalWeightsAssociative list, spawners to their childrens' total weight, as a number
weightsAssociative list, spawners to their childrens individual weight, as a list

Procs

add_loot_instancecreates a loot object and offset info
add_random_lootAdd multiple random loot objects, in random positions
add_random_loot_sequentialAdd multiple random loot objects. bottom left to top right. this looks gross in practise and prioritises just making large high-ticket items
choose_random_loot_sizeChooses the size of loot to spawn, given a max and min.
fill_remainingFills all remaining space with instances of random size
fill_remaining_with_instanceFills all remaining space with as many instances as possible of a loot object that's been created externally +Ignores override, due to infinite loop.
pick_weighted_optionuse predefined weights pick a spawner of size xSize, ySize, in chosenTIer
place_loot_instanceplace a loot object that's been created externally
place_random_lootPlace a random loot instance at a specific position
place_random_loot_sizedPlace a random loot instance of a specific size at a specific position
populateInitialize spawners & weights for all random loot spawners
tag_listAdds an entry to a list in this spawner's tags.
tag_singleset the value of this spawner's tag.

Var Details

lootGrid

The loot grid (inventory grid) this generator is using

populated

Whether loot weights have been generated yet.

spawned_instances

ASsociative list of loot instances this generator created.

spawners

The spawner associated with the X & Y Size. so spawners[1][2] is 1 wide, 2 tall

tags

List for passing information to spawners (for example, ammo spawners would need to know what guns this spawner made)

totalWeights

Associative list, spawners to their childrens' total weight, as a number

weights

Associative list, spawners to their childrens individual weight, as a list

Proc Details

add_loot_instance

creates a loot object and offset info

add_random_loot

Add multiple random loot objects, in random positions

add_random_loot_sequential

Add multiple random loot objects. bottom left to top right. this looks gross in practise and prioritises just making large high-ticket items

choose_random_loot_size

Chooses the size of loot to spawn, given a max and min.

fill_remaining

Fills all remaining space with instances of random size

fill_remaining_with_instance

Fills all remaining space with as many instances as possible of a loot object that's been created externally +Ignores override, due to infinite loop.

pick_weighted_option

use predefined weights pick a spawner of size xSize, ySize, in chosenTIer

place_loot_instance

place a loot object that's been created externally

place_random_loot

Place a random loot instance at a specific position

place_random_loot_sized

Place a random loot instance of a specific size at a specific position

populate

Initialize spawners & weights for all random loot spawners

tag_list

Adds an entry to a list in this spawner's tags.

tag_single

set the value of this spawner's tag.

\ No newline at end of file diff --git a/datum/loot_grid.html b/datum/loot_grid.html new file mode 100644 index 0000000000000..e8b23dfb6c6df --- /dev/null +++ b/datum/loot_grid.html @@ -0,0 +1 @@ +/datum/loot_grid - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

/datum/loot_grid

data class representing a grid of goodies (like an inventory grid in RE4).

Procs

get_largest_spaceReturns the largest empty rectangle possible, prioritising length rather than area.
get_next_empty_spaceReturn the coordinates of the next empty grid square from pos_x, pos_y. Fills out one row before moving up.
get_random_empty_spaceReturn the coordinates of a random empty grid square
is_emptyReturns if coordinate x, y is empty
mark_usedMarks an area of size xSize, ySize as used, starting at xPos, yPos
set_sizeSets the size of this grid, resetting it in the process.

Proc Details

get_largest_space

Returns the largest empty rectangle possible, prioritising length rather than area.

get_next_empty_space

Return the coordinates of the next empty grid square from pos_x, pos_y. Fills out one row before moving up.

get_random_empty_space

Return the coordinates of a random empty grid square

is_empty

Returns if coordinate x, y is empty

mark_used

Marks an area of size xSize, ySize as used, starting at xPos, yPos

set_size

Sets the size of this grid, resetting it in the process.

\ No newline at end of file diff --git a/datum/loot_spawner_info.html b/datum/loot_spawner_info.html new file mode 100644 index 0000000000000..1aaf4a0fa39dc --- /dev/null +++ b/datum/loot_spawner_info.html @@ -0,0 +1 @@ +/datum/loot_spawner_info - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/loot_spawner_info

Contains positional info and tags to pass to loot spawners, so they can spawn items in the right spot.

Vars

grid_xhow wide a grid square is, in pixels
grid_yhow tall a grid square is, in pixels
layerThe layer the spawner should use
parentThe loot generator that created this spawner. Used to modify tags if necessary.
position_xThe horizontal position, in grid squares, that the spawner should use as its' origin
position_yThe vertical position, in grid squares, that the spawner should use as its' origin
tagsThe tags that the loot generator currently has. Such as what ammunition types spawned guns use

Var Details

grid_x

how wide a grid square is, in pixels

grid_y

how tall a grid square is, in pixels

layer

The layer the spawner should use

parent

The loot generator that created this spawner. Used to modify tags if necessary.

position_x

The horizontal position, in grid squares, that the spawner should use as its' origin

position_y

The vertical position, in grid squares, that the spawner should use as its' origin

tags

The tags that the loot generator currently has. Such as what ammunition types spawned guns use

\ No newline at end of file diff --git a/datum/manufacture.html b/datum/manufacture.html new file mode 100644 index 0000000000000..959ecba0dc14e --- /dev/null +++ b/datum/manufacture.html @@ -0,0 +1,11 @@ +/datum/manufacture - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/manufacture

Vars

apply_materialWhether or not to apply a material onto the object upon completion. By default, this is the material used +For the first material requirement specified.
categoryNamed category which the blueprint will reside in for manufacturers. See manufacturer.dm for list. +If a blueprint has an invalid category, it will be assigned "Miscellaneous".
createHow many times it'll make each thing in the list - or not, depending on randomize_output
item_outputsList of object types which the blueprint outputs upon satisfaction of requirements
item_requirementsAn associated list of requirement datum to amount of requirement to use. See manufacturing_requirements.dm for more on those. +This list is overriden on children, and on New() the requirement ID strings are resolved to their datum instances in the cache
namePlayer-read name of the blueprint
randomise_output0 - will create each item in the list once per loop (see manufacturer.dm Line 755) +1 - will pick() a random item in the list once per loop +2 - will pick() a random item before the loop begins then output one of the selected item each loop
timeHow many seconds it takes to complete the blueprint

Procs

setup_manufacturing_requirementsSetup the manufacturing requirements for this datum, using the cache instead of init() on each

Var Details

apply_material

Whether or not to apply a material onto the object upon completion. By default, this is the material used +For the first material requirement specified.

category

Named category which the blueprint will reside in for manufacturers. See manufacturer.dm for list. +If a blueprint has an invalid category, it will be assigned "Miscellaneous".

create

How many times it'll make each thing in the list - or not, depending on randomize_output

item_outputs

List of object types which the blueprint outputs upon satisfaction of requirements

item_requirements

An associated list of requirement datum to amount of requirement to use. See manufacturing_requirements.dm for more on those. +This list is overriden on children, and on New() the requirement ID strings are resolved to their datum instances in the cache

name

Player-read name of the blueprint

randomise_output

0 - will create each item in the list once per loop (see manufacturer.dm Line 755) +1 - will pick() a random item in the list once per loop +2 - will pick() a random item before the loop begins then output one of the selected item each loop

time

How many seconds it takes to complete the blueprint

Proc Details

setup_manufacturing_requirements

Setup the manufacturing requirements for this datum, using the cache instead of init() on each

\ No newline at end of file diff --git a/datum/manufacture/mechanics.html b/datum/manufacture/mechanics.html new file mode 100644 index 0000000000000..606510786c78b --- /dev/null +++ b/datum/manufacture/mechanics.html @@ -0,0 +1 @@ +/datum/manufacture/mechanics - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Reverse-Engineered Schematic

Vars

frame_pathPath to an item or mob which will be created in a frame upon completion.
generate_costsWhether or not to use the default cost assignment in New(), e.g.: for pre-spawned cloner blueprints

Var Details

frame_path

Path to an item or mob which will be created in a frame upon completion.

generate_costs

Whether or not to use the default cost assignment in New(), e.g.: for pre-spawned cloner blueprints

\ No newline at end of file diff --git a/datum/manufacturing_requirement.html b/datum/manufacturing_requirement.html new file mode 100644 index 0000000000000..7bd97825cfa10 --- /dev/null +++ b/datum/manufacturing_requirement.html @@ -0,0 +1 @@ +/datum/manufacturing_requirement - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/manufacturing_requirement

Vars

idInternal, unique ID of the requirement to use for the cache list.
namePlayer-facing name of the requirement.

Procs

is_matchChecks whether or not the given material meets the requirements enforced by this proc.

Var Details

id

Internal, unique ID of the requirement to use for the cache list.

name

Player-facing name of the requirement.

Proc Details

is_match

Checks whether or not the given material meets the requirements enforced by this proc.

\ No newline at end of file diff --git a/datum/manufacturing_requirement/match_flags.html b/datum/manufacturing_requirement/match_flags.html new file mode 100644 index 0000000000000..e1ae42bddf8a7 --- /dev/null +++ b/datum/manufacturing_requirement/match_flags.html @@ -0,0 +1 @@ +/datum/manufacturing_requirement/match_flags - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/manufacturing_requirement/match_flags

Vars

match_typeHow we want to define a successful match. By default, pass as long as at least one flag is set.
material_flagsThe flag(s) of the material to match. This can be just one flag, or several with FLAG_A | FLAG_B | ...

Var Details

match_type

How we want to define a successful match. By default, pass as long as at least one flag is set.

material_flags

The flag(s) of the material to match. This can be just one flag, or several with FLAG_A | FLAG_B | ...

\ No newline at end of file diff --git a/datum/manufacturing_requirement/match_material.html b/datum/manufacturing_requirement/match_material.html new file mode 100644 index 0000000000000..c030084c14ffb --- /dev/null +++ b/datum/manufacturing_requirement/match_material.html @@ -0,0 +1 @@ +/datum/manufacturing_requirement/match_material - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/manufacturing_requirement/match_material

All instances of match_material are generated at runtime for the cache

Vars

material_idMaterial ID of the material to check. None if null, some string like "erebite" if used. Meant for exact material checks.

Var Details

material_id

Material ID of the material to check. None if null, some string like "erebite" if used. Meant for exact material checks.

\ No newline at end of file diff --git a/datum/manufacturing_requirement/match_property.html b/datum/manufacturing_requirement/match_property.html new file mode 100644 index 0000000000000..ef9e6560f91c3 --- /dev/null +++ b/datum/manufacturing_requirement/match_property.html @@ -0,0 +1 @@ +/datum/manufacturing_requirement/match_property - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/manufacturing_requirement/match_property

Vars

property_idMaterial property to match by its string identifier
property_thresholdWhat threshold our property has to match or exceed in order to pass.

Procs

match_propertyReturns whether the material property meets the threshold. Overwrite to have behavior other than >=

Var Details

property_id

Material property to match by its string identifier

property_threshold

What threshold our property has to match or exceed in order to pass.

Proc Details

match_property

Returns whether the material property meets the threshold. Overwrite to have behavior other than >=

\ No newline at end of file diff --git a/datum/manufacturing_requirement/match_subtypes.html b/datum/manufacturing_requirement/match_subtypes.html new file mode 100644 index 0000000000000..20a1549d8194e --- /dev/null +++ b/datum/manufacturing_requirement/match_subtypes.html @@ -0,0 +1 @@ +/datum/manufacturing_requirement/match_subtypes - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/manufacturing_requirement/match_subtypes

Vars

match_typepathThe parent type to use for istype() checks

Var Details

match_typepath

The parent type to use for istype() checks

\ No newline at end of file diff --git a/datum/manufacturing_requirement/mixed.html b/datum/manufacturing_requirement/mixed.html new file mode 100644 index 0000000000000..746bb851869b2 --- /dev/null +++ b/datum/manufacturing_requirement/mixed.html @@ -0,0 +1 @@ +/datum/manufacturing_requirement/mixed - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/manufacturing_requirement/mixed

Vars

requirement_idsA list of requirement IDs to populate requirements with their instances in the cache
requirementsA list of requirements which must all be satisfied for this to return TRUE

Procs

NewResolve the requirement paths to instances in the cache.

Var Details

requirement_ids

A list of requirement IDs to populate requirements with their instances in the cache

requirements

A list of requirements which must all be satisfied for this to return TRUE

Proc Details

New

Resolve the requirement paths to instances in the cache.

\ No newline at end of file diff --git a/datum/mapPrefab.html b/datum/mapPrefab.html new file mode 100644 index 0000000000000..928af28610528 --- /dev/null +++ b/datum/mapPrefab.html @@ -0,0 +1 @@ +/datum/mapPrefab - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/mapPrefab

Vars

maxNumIf -1 there's no limit.
requiredIf 1 we will try to always place thing thing no matter what.

Var Details

maxNum

If -1 there's no limit.

required

If 1 we will try to always place thing thing no matter what.

\ No newline at end of file diff --git a/datum/mapPrefab/mining.html b/datum/mapPrefab/mining.html new file mode 100644 index 0000000000000..b33d452bb6fd8 --- /dev/null +++ b/datum/mapPrefab/mining.html @@ -0,0 +1 @@ +/datum/mapPrefab/mining - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/mapPrefab/mining

Vars

underwaterprefab will only be used if this matches map_currently_underwater. I.e. if this is 1 and map_currently_underwater is 1 then the prefab may be used.

Var Details

underwater

prefab will only be used if this matches map_currently_underwater. I.e. if this is 1 and map_currently_underwater is 1 then the prefab may be used.

\ No newline at end of file diff --git a/datum/mapPrefab/random_room.html b/datum/mapPrefab/random_room.html new file mode 100644 index 0000000000000..1575501cb1c2b --- /dev/null +++ b/datum/mapPrefab/random_room.html @@ -0,0 +1,10 @@ +/datum/mapPrefab/random_room - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/mapPrefab/random_room

Vars

typeinfo_typeWant to add a room that's chosen from a selection of random rooms to your map? This is the place to look for that. +Put create a dmm file like assets/maps/random_rooms/WIDTHxHEIGHT/NAME_WEIGHT.dmm (or the appropriate secret folder). +WIDTH, HEIGHT are the dimensions of the room. +NAME is just what you choose to name it. +WEIGHT is the probability weight of the room, 100 is the default if you choose to omit this.

Var Details

typeinfo_type

Want to add a room that's chosen from a selection of random rooms to your map? This is the place to look for that. +Put create a dmm file like assets/maps/random_rooms/WIDTHxHEIGHT/NAME_WEIGHT.dmm (or the appropriate secret folder). +WIDTH, HEIGHT are the dimensions of the room. +NAME is just what you choose to name it. +WEIGHT is the probability weight of the room, 100 is the default if you choose to omit this.

+

Then placing an appropriate landmark on a map will choose a random room from the right folder.

\ No newline at end of file diff --git a/datum/map_generator.html b/datum/map_generator.html new file mode 100644 index 0000000000000..1afe2f94d5507 --- /dev/null +++ b/datum/map_generator.html @@ -0,0 +1 @@ +/datum/map_generator - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

/datum/map_generator

This type is responsible for any map generation behavior that is done in areas, override this to allow for area-specific map generation. This generation is ran by areas on world/proc/init().

Procs

generate_terrainThis proc will be ran by areas on world/proc/init(), and provides the areas turfs as argument to allow for generation.

Proc Details

generate_terrain

This proc will be ran by areas on world/proc/init(), and provides the areas turfs as argument to allow for generation.

\ No newline at end of file diff --git a/datum/map_generator/cave_generator.html b/datum/map_generator/cave_generator.html new file mode 100644 index 0000000000000..37c2b40a3f328 --- /dev/null +++ b/datum/map_generator/cave_generator.html @@ -0,0 +1 @@ +/datum/map_generator/cave_generator - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/map_generator/cave_generator

Vars

perlin_zoomUsed to select "zoom" level into the perlin noise, higher numbers result in slower transitions
possible_biomes2D list of all biomes based on heat and humidity combos.

Procs

generate_terrainSeeds the rust-g perlin noise with a random number.

Var Details

perlin_zoom

Used to select "zoom" level into the perlin noise, higher numbers result in slower transitions

possible_biomes

2D list of all biomes based on heat and humidity combos.

Proc Details

generate_terrain

Seeds the rust-g perlin noise with a random number.

\ No newline at end of file diff --git a/datum/map_generator/cave_generator/adventure.html b/datum/map_generator/cave_generator/adventure.html new file mode 100644 index 0000000000000..6c7f583f3a8b4 --- /dev/null +++ b/datum/map_generator/cave_generator/adventure.html @@ -0,0 +1 @@ +/datum/map_generator/cave_generator/adventure - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/map_generator/cave_generator/adventure

Vars

possible_biomes2D list of all biomes based on heat and humidity combos.

Var Details

possible_biomes

2D list of all biomes based on heat and humidity combos.

\ No newline at end of file diff --git a/datum/map_generator/cave_generator/asteroid.html b/datum/map_generator/cave_generator/asteroid.html new file mode 100644 index 0000000000000..124714a72bc4c --- /dev/null +++ b/datum/map_generator/cave_generator/asteroid.html @@ -0,0 +1 @@ +/datum/map_generator/cave_generator/asteroid - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/map_generator/cave_generator/asteroid

Vars

possible_biomes2D list of all biomes based on heat and humidity combos.

Var Details

possible_biomes

2D list of all biomes based on heat and humidity combos.

\ No newline at end of file diff --git a/datum/map_generator/desert_generator.html b/datum/map_generator/desert_generator.html new file mode 100644 index 0000000000000..2721a4af5cb03 --- /dev/null +++ b/datum/map_generator/desert_generator.html @@ -0,0 +1 @@ +/datum/map_generator/desert_generator - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/map_generator/desert_generator

Vars

perlin_zoomUsed to select "zoom" level into the perlin noise, higher numbers result in slower transitions
possible_biomes2D list of all biomes based on heat and humidity combos.

Procs

generate_terrainSeeds the rust-g perlin noise with a random number.

Var Details

perlin_zoom

Used to select "zoom" level into the perlin noise, higher numbers result in slower transitions

possible_biomes

2D list of all biomes based on heat and humidity combos.

Proc Details

generate_terrain

Seeds the rust-g perlin noise with a random number.

\ No newline at end of file diff --git a/datum/map_generator/forest_generator.html b/datum/map_generator/forest_generator.html new file mode 100644 index 0000000000000..0efb9ab952933 --- /dev/null +++ b/datum/map_generator/forest_generator.html @@ -0,0 +1 @@ +/datum/map_generator/forest_generator - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/map_generator/forest_generator

Vars

perlin_zoomUsed to select "zoom" level into the perlin noise, higher numbers result in slower transitions
possible_biomes2D list of all biomes based on heat and humidity combos.

Procs

generate_terrainSeeds the rust-g perlin noise with a random number.

Var Details

perlin_zoom

Used to select "zoom" level into the perlin noise, higher numbers result in slower transitions

possible_biomes

2D list of all biomes based on heat and humidity combos.

Proc Details

generate_terrain

Seeds the rust-g perlin noise with a random number.

\ No newline at end of file diff --git a/datum/map_generator/icemoon_generator.html b/datum/map_generator/icemoon_generator.html new file mode 100644 index 0000000000000..5a6d5b1a01e15 --- /dev/null +++ b/datum/map_generator/icemoon_generator.html @@ -0,0 +1 @@ +/datum/map_generator/icemoon_generator - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/map_generator/icemoon_generator

Vars

perlin_zoomUsed to select "zoom" level into the perlin noise, higher numbers result in slower transitions
possible_biomes2D list of all biomes based on heat and humidity combos.

Procs

generate_terrainSeeds the rust-g perlin noise with a random number.

Var Details

perlin_zoom

Used to select "zoom" level into the perlin noise, higher numbers result in slower transitions

possible_biomes

2D list of all biomes based on heat and humidity combos.

Proc Details

generate_terrain

Seeds the rust-g perlin noise with a random number.

\ No newline at end of file diff --git a/datum/map_generator/jungle_generator.html b/datum/map_generator/jungle_generator.html new file mode 100644 index 0000000000000..054d820427647 --- /dev/null +++ b/datum/map_generator/jungle_generator.html @@ -0,0 +1 @@ +/datum/map_generator/jungle_generator - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/map_generator/jungle_generator

Vars

perlin_zoomUsed to select "zoom" level into the perlin noise, higher numbers result in slower transitions
possible_biomes2D list of all biomes based on heat and humidity combos.

Procs

generate_terrainSeeds the rust-g perlin noise with a random number.

Var Details

perlin_zoom

Used to select "zoom" level into the perlin noise, higher numbers result in slower transitions

possible_biomes

2D list of all biomes based on heat and humidity combos.

Proc Details

generate_terrain

Seeds the rust-g perlin noise with a random number.

\ No newline at end of file diff --git a/datum/map_generator/lavamoon_generator.html b/datum/map_generator/lavamoon_generator.html new file mode 100644 index 0000000000000..b4058860c286a --- /dev/null +++ b/datum/map_generator/lavamoon_generator.html @@ -0,0 +1 @@ +/datum/map_generator/lavamoon_generator - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/map_generator/lavamoon_generator

Vars

perlin_zoomUsed to select "zoom" level into the perlin noise, higher numbers result in slower transitions
possible_biomes2D list of all biomes based on heat and humidity combos.

Procs

generate_terrainSeeds the rust-g perlin noise with a random number.

Var Details

perlin_zoom

Used to select "zoom" level into the perlin noise, higher numbers result in slower transitions

possible_biomes

2D list of all biomes based on heat and humidity combos.

Proc Details

generate_terrain

Seeds the rust-g perlin noise with a random number.

\ No newline at end of file diff --git a/datum/map_generator/mars_generator.html b/datum/map_generator/mars_generator.html new file mode 100644 index 0000000000000..07b88ffcd04f9 --- /dev/null +++ b/datum/map_generator/mars_generator.html @@ -0,0 +1 @@ +/datum/map_generator/mars_generator - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/map_generator/mars_generator

Vars

perlin_zoomUsed to select "zoom" level into the perlin noise, higher numbers result in slower transitions
possible_biomes2D list of all biomes based on heat and humidity combos.

Procs

generate_terrainSeeds the rust-g perlin noise with a random number.

Var Details

perlin_zoom

Used to select "zoom" level into the perlin noise, higher numbers result in slower transitions

possible_biomes

2D list of all biomes based on heat and humidity combos.

Proc Details

generate_terrain

Seeds the rust-g perlin noise with a random number.

\ No newline at end of file diff --git a/datum/map_generator/mars_generator/duststorm.html b/datum/map_generator/mars_generator/duststorm.html new file mode 100644 index 0000000000000..83c54a849ce5e --- /dev/null +++ b/datum/map_generator/mars_generator/duststorm.html @@ -0,0 +1 @@ +/datum/map_generator/mars_generator/duststorm - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/map_generator/mars_generator/duststorm

Vars

possible_biomes2D list of all biomes based on heat and humidity combos.

Var Details

possible_biomes

2D list of all biomes based on heat and humidity combos.

\ No newline at end of file diff --git a/datum/map_generator/room_maze_generator.html b/datum/map_generator/room_maze_generator.html new file mode 100644 index 0000000000000..292e96d09b012 --- /dev/null +++ b/datum/map_generator/room_maze_generator.html @@ -0,0 +1,3 @@ +/datum/map_generator/room_maze_generator - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/map_generator/room_maze_generator

Vars

room_borderBorder between rooms +0 means they will overlap such that they will share a wall

Var Details

room_border

Border between rooms +0 means they will overlap such that they will share a wall

\ No newline at end of file diff --git a/datum/map_generator/snow_generator.html b/datum/map_generator/snow_generator.html new file mode 100644 index 0000000000000..2a57703f5fa94 --- /dev/null +++ b/datum/map_generator/snow_generator.html @@ -0,0 +1 @@ +/datum/map_generator/snow_generator - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/map_generator/snow_generator

Vars

perlin_zoomUsed to select "zoom" level into the perlin noise, higher numbers result in slower transitions
possible_biomes2D list of all biomes based on heat and humidity combos.

Procs

generate_terrainSeeds the rust-g perlin noise with a random number.

Var Details

perlin_zoom

Used to select "zoom" level into the perlin noise, higher numbers result in slower transitions

possible_biomes

2D list of all biomes based on heat and humidity combos.

Proc Details

generate_terrain

Seeds the rust-g perlin noise with a random number.

\ No newline at end of file diff --git a/datum/map_generator/void_generator.html b/datum/map_generator/void_generator.html new file mode 100644 index 0000000000000..aa7da5353f1ad --- /dev/null +++ b/datum/map_generator/void_generator.html @@ -0,0 +1 @@ +/datum/map_generator/void_generator - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/map_generator/void_generator

Vars

perlin_zoomUsed to select "zoom" level into the perlin noise, higher numbers result in slower transitions
possible_biomes2D list of all biomes based on heat and humidity combos.

Procs

generate_terrainSeeds the rust-g perlin noise with a random number.

Var Details

perlin_zoom

Used to select "zoom" level into the perlin noise, higher numbers result in slower transitions

possible_biomes

2D list of all biomes based on heat and humidity combos.

Proc Details

generate_terrain

Seeds the rust-g perlin noise with a random number.

\ No newline at end of file diff --git a/datum/map_settings.html b/datum/map_settings.html new file mode 100644 index 0000000000000..1608059c8b73a --- /dev/null +++ b/datum/map_settings.html @@ -0,0 +1 @@ +/datum/map_settings - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

MAP

Vars

job_limits_overrideif TRUE each job with a landmark will get as many slots as many landmarks there are (jobs without a landmark left on default)
valid_nuke_targetsdefault shipping destinations
z_level_parallax_render_sources_0The default parallax render source types that Z_LEVEL_NULL should use.
z_level_parallax_render_sources_1The default parallax render source types that Z_LEVEL_STATION should use.
z_level_parallax_render_sources_2The default parallax render source types that Z_LEVEL_ADVENTURE should use.
z_level_parallax_render_sources_3The default parallax render source types that Z_LEVEL_DEBRIS should use.
z_level_parallax_render_sources_4The default parallax render source types that Z_LEVEL_SECRET should use.
z_level_parallax_render_sources_5The default parallax render source types that Z_LEVEL_MINING should use.

Procs

get_shuttle_pathassoc list of the form job_type=limit to override other job settings, works on gimmick jobs too

Var Details

job_limits_override

if TRUE each job with a landmark will get as many slots as many landmarks there are (jobs without a landmark left on default)

valid_nuke_targets

default shipping destinations

z_level_parallax_render_sources_0

The default parallax render source types that Z_LEVEL_NULL should use.

z_level_parallax_render_sources_1

The default parallax render source types that Z_LEVEL_STATION should use.

z_level_parallax_render_sources_2

The default parallax render source types that Z_LEVEL_ADVENTURE should use.

z_level_parallax_render_sources_3

The default parallax render source types that Z_LEVEL_DEBRIS should use.

z_level_parallax_render_sources_4

The default parallax render source types that Z_LEVEL_SECRET should use.

z_level_parallax_render_sources_5

The default parallax render source types that Z_LEVEL_MINING should use.

Proc Details

get_shuttle_path

assoc list of the form job_type=limit to override other job settings, works on gimmick jobs too

\ No newline at end of file diff --git a/datum/material.html b/datum/material.html new file mode 100644 index 0000000000000..2ef0d0928e319 --- /dev/null +++ b/datum/material.html @@ -0,0 +1,7 @@ +/datum/material - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/material

Vars

alphaThe "transparency" of the material. Kept as alpha for logical reasons. Displayed as percentage ingame.
applyColorShould this even color the objects made from it? Mostly used for base station materials like steel
cachedWhether this material should be stored in the material cache - only used for base types, modifying at runtime has no effect
canMixCan this be mixed with other materials?
colorThe color of the material
descDescription of the material, used for scanning
edibleThe functional value of edibility. Edible or not? This is what you check from the outside to see if material is edible. See /datum/material/var/edible_exact.
edible_exactThe actual value of edibility. Changes internally and sets /datum/material/var/edible.
generationCompound generation
mat_idused to retrieve instances of these base materials from the cache.
material_flagsVarious flags. See [material_properties.dm]
mixOnlyCan this only be used after being combined with another material?
mutableIs this a mutable instance? Defaults to true so creating new materials returns a mutable instance by default
nameName of the material, used for combination and scanning
parent_materialsHolds the parent materials.
prefixeswords that go before the name, used in combination
propertiesAssociated list of all the various /datum/material_property that apply. +list/datum/material_property = value
special_namingWhether the specaialNaming proc is called when this material is applied.
suffixeswords that go after the name, used in combination
textureif not null, texture will be set when mat is applied.
texture_blendHow to blend the /datum/material/var/texture.
triggersChemCalled when exposed to chemicals.
triggersDropCalled when owning object is dropped.
triggersExpCalled when exposed to explosions.
triggersOnAddCalled when the material is added to an object
triggersOnAttackCalled when the owning object is used to attack something or someone.
triggersOnAttackedCalled when a mob wearing the owning object is attacked.
triggersOnBlobHitCalled when blob hits something with this material assigned.
triggersOnBulletCalled when a mob wearing the owning object is shot.
triggersOnEatCalled when someone eats a thing with this material assigned.
triggersOnEnteredCalled when something enters a turf with the material assigned. Also called on all objects on the turf with a material.
triggersOnHitCalled when an obj hits something with this material assigned.
triggersOnLifeCalled when the life proc of a mob that has the owning item equipped runs.
triggersOnRemoveCalled when the material is removed from an object
triggersPickupCalled when owning object is picked up.
triggersTempCalled when exposed to temperatures.
valueIn percent of a base value. How much this sells for.

Procs

addTriggerTriggers is specified using one of the TRIGGER_ON_ defines
countTriggersTriggers is specified using one of the TRIGGER_ON_ defines
getImmutableReturns an immutable version of this material. Will return this material if it is already immutable.
getMaterialTraitDescTime for some super verbose proc names.
getMutableReturns a mutable version of this material. Will return a copy of this material if it is already mutable. +The reason this is a separate proc and not using in getMaterial() is prevent cargo-culting accidentally reintroducing the +issue this was supposed to fix. Force the coders to explicitly ask for a mutable instance, demand to know why they want it to be mutable in reviews!
hasTriggerChecks if material proc type is present for a given trigger in the material
isSameMaterialCompares a material to this one to determine if stacking should be allowed.
removeAllTriggersTriggers is specified using one of the TRIGGER_ON_ defines
removeTriggerTriggers is specified using one of the TRIGGER_ON_ defines

Var Details

alpha

The "transparency" of the material. Kept as alpha for logical reasons. Displayed as percentage ingame.

applyColor

Should this even color the objects made from it? Mostly used for base station materials like steel

cached

Whether this material should be stored in the material cache - only used for base types, modifying at runtime has no effect

canMix

Can this be mixed with other materials?

color

The color of the material

desc

Description of the material, used for scanning

edible

The functional value of edibility. Edible or not? This is what you check from the outside to see if material is edible. See /datum/material/var/edible_exact.

edible_exact

The actual value of edibility. Changes internally and sets /datum/material/var/edible.

generation

Compound generation

mat_id

used to retrieve instances of these base materials from the cache.

material_flags

Various flags. See [material_properties.dm]

mixOnly

Can this only be used after being combined with another material?

mutable

Is this a mutable instance? Defaults to true so creating new materials returns a mutable instance by default

name

Name of the material, used for combination and scanning

parent_materials

Holds the parent materials.

prefixes

words that go before the name, used in combination

properties

Associated list of all the various /datum/material_property that apply. +list/datum/material_property = value

special_naming

Whether the specaialNaming proc is called when this material is applied.

suffixes

words that go after the name, used in combination

texture

if not null, texture will be set when mat is applied.

texture_blend

How to blend the /datum/material/var/texture.

triggersChem

Called when exposed to chemicals.

triggersDrop

Called when owning object is dropped.

triggersExp

Called when exposed to explosions.

triggersOnAdd

Called when the material is added to an object

triggersOnAttack

Called when the owning object is used to attack something or someone.

triggersOnAttacked

Called when a mob wearing the owning object is attacked.

triggersOnBlobHit

Called when blob hits something with this material assigned.

triggersOnBullet

Called when a mob wearing the owning object is shot.

triggersOnEat

Called when someone eats a thing with this material assigned.

triggersOnEntered

Called when something enters a turf with the material assigned. Also called on all objects on the turf with a material.

triggersOnHit

Called when an obj hits something with this material assigned.

triggersOnLife

Called when the life proc of a mob that has the owning item equipped runs.

triggersOnRemove

Called when the material is removed from an object

triggersPickup

Called when owning object is picked up.

triggersTemp

Called when exposed to temperatures.

value

In percent of a base value. How much this sells for.

Proc Details

addTrigger

Triggers is specified using one of the TRIGGER_ON_ defines

countTriggers

Triggers is specified using one of the TRIGGER_ON_ defines

getImmutable

Returns an immutable version of this material. Will return this material if it is already immutable.

getMaterialTraitDesc

Time for some super verbose proc names.

getMutable

Returns a mutable version of this material. Will return a copy of this material if it is already mutable. +The reason this is a separate proc and not using in getMaterial() is prevent cargo-culting accidentally reintroducing the +issue this was supposed to fix. Force the coders to explicitly ask for a mutable instance, demand to know why they want it to be mutable in reviews!

hasTrigger

Checks if material proc type is present for a given trigger in the material

isSameMaterial

Compares a material to this one to determine if stacking should be allowed.

removeAllTriggers

Triggers is specified using one of the TRIGGER_ON_ defines

removeTrigger

Triggers is specified using one of the TRIGGER_ON_ defines

\ No newline at end of file diff --git a/datum/material/interpolated.html b/datum/material/interpolated.html new file mode 100644 index 0000000000000..4bbc0642def28 --- /dev/null +++ b/datum/material/interpolated.html @@ -0,0 +1 @@ +/datum/material/interpolated - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

/datum/material/interpolated

Procs

NewCreate an interpolated material from two input materials, with bias. Bias of 0 is entirely mat1, bias of 1 is entirely mat2

Proc Details

New

Create an interpolated material from two input materials, with bias. Bias of 0 is entirely mat1, bias of 1 is entirely mat2

\ No newline at end of file diff --git a/datum/materialProc.html b/datum/materialProc.html new file mode 100644 index 0000000000000..64340739075e3 --- /dev/null +++ b/datum/materialProc.html @@ -0,0 +1 @@ +/datum/materialProc - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/materialProc

Vars

descOptional simple sentence that describes how the traits appears on the material. i.e. "It is shiny."
max_generationsAfter how many material "generations" this trait disappears. -1 = does not disappear.

Var Details

desc

Optional simple sentence that describes how the traits appears on the material. i.e. "It is shiny."

max_generations

After how many material "generations" this trait disappears. -1 = does not disappear.

\ No newline at end of file diff --git a/datum/material_property.html b/datum/material_property.html new file mode 100644 index 0000000000000..0baea99ff062b --- /dev/null +++ b/datum/material_property.html @@ -0,0 +1 @@ +/datum/material_property - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/material_property

Vars

default_valueWhat should be considered the "default" value of this property?
idInternal ID of this property.
max_valueMax value of this property.
min_valueMin value of this property. Please NOTHING BELOW 1. It breaks everything.
nameExternal name of this property.
prefix_high_minMin value for high-prefix. Minimum for the prefix to show up on the object names.
prefix_low_maxMax value for low-prefix. Maximum for the prefix to show up on the object names.

Var Details

default_value

What should be considered the "default" value of this property?

id

Internal ID of this property.

max_value

Max value of this property.

min_value

Min value of this property. Please NOTHING BELOW 1. It breaks everything.

name

External name of this property.

prefix_high_min

Min value for high-prefix. Minimum for the prefix to show up on the object names.

prefix_low_max

Max value for low-prefix. Maximum for the prefix to show up on the object names.

\ No newline at end of file diff --git a/datum/material_recipe.html b/datum/material_recipe.html new file mode 100644 index 0000000000000..9bbf8f3a2ad30 --- /dev/null +++ b/datum/material_recipe.html @@ -0,0 +1,4 @@ +/datum/material_recipe - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/material_recipe

material recipie definition

Vars

result_idID of the result material. used as fallback or when you do not want to use a result item.
result_itemPath of the resulting material item.

Procs

apply_toIf no result id or result items are defined, this proc will be executed on the material. Do this if you want a recipe to just modifiy a material.
apply_to_objcalled with the resultant item from the recipe as argument. Use this if you want to say, print a message when a recipe is made.
validateThis checks if the recipe applies to the given result material.

Var Details

result_id

ID of the result material. used as fallback or when you do not want to use a result item.

result_item

Path of the resulting material item.

Proc Details

apply_to

If no result id or result items are defined, this proc will be executed on the material. Do this if you want a recipe to just modifiy a material.

apply_to_obj

called with the resultant item from the recipe as argument. Use this if you want to say, print a message when a recipe is made.

validate

This checks if the recipe applies to the given result material.

+

This is a proc so you can do practically anything for recipes.

+

Want a recipe that only applies to wool + erebite composites and only if they have a high temperature resistance? You can.

+

Try to keep these cheap if you can.

\ No newline at end of file diff --git a/datum/matfab_part.html b/datum/matfab_part.html new file mode 100644 index 0000000000000..e6460f94869bd --- /dev/null +++ b/datum/matfab_part.html @@ -0,0 +1,2 @@ +/datum/matfab_part - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/matfab_part

///////////////////////////////////////////BASE CLASS BELOW +Base material fabrication part

Vars

assignedWhat is currently assigned to this slot.
nameName of the material or component required.
optionalIf TRUE, slot does not have to be filled.
part_nameName of the part that this will be used for. Set in the recipes New proc.
required_amountHow much we need of this. also set in the recipe.

Procs

checkMatchDoes the object match our conditions?
clearClear all assigned items etc. Used to reset the recipe.

Var Details

assigned

What is currently assigned to this slot.

name

Name of the material or component required.

optional

If TRUE, slot does not have to be filled.

part_name

Name of the part that this will be used for. Set in the recipes New proc.

required_amount

How much we need of this. also set in the recipe.

Proc Details

checkMatch

Does the object match our conditions?

clear

Clear all assigned items etc. Used to reset the recipe.

\ No newline at end of file diff --git a/datum/matfab_recipe.html b/datum/matfab_recipe.html new file mode 100644 index 0000000000000..689a855a48eee --- /dev/null +++ b/datum/matfab_recipe.html @@ -0,0 +1,2 @@ +/datum/matfab_recipe - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/matfab_recipe

///////////////////////////////////////////BASE CLASS BELOW +Base material fabricator recipie

Vars

categoryWhich group this recipe belongs to.
descShort description of the item.
nameName of the recipe.
required_partsList of /datum/matfab_part that are required for this.

Procs

buildActually create and place the object.
canBuildCan we currently build this?
clearClear everything. used to reset the recipe
getMaxAmountGets the maximum amount of this recipe we can make with the currently assigned objects.
getObjectByPartNameGets the assigned object that matches the given part name i.e. "Lens" or such. Whatever you named it in the recipe New.
getOutputLocationFigures out if we should place the result on the ground or inside the fab.

Var Details

category

Which group this recipe belongs to.

desc

Short description of the item.

name

Name of the recipe.

required_parts

List of /datum/matfab_part that are required for this.

Proc Details

build

Actually create and place the object.

canBuild

Can we currently build this?

clear

Clear everything. used to reset the recipe

getMaxAmount

Gets the maximum amount of this recipe we can make with the currently assigned objects.

getObjectByPartName

Gets the assigned object that matches the given part name i.e. "Lens" or such. Whatever you named it in the recipe New.

getOutputLocation

Figures out if we should place the result on the ground or inside the fab.

\ No newline at end of file diff --git a/datum/matfab_recipe/simple.html b/datum/matfab_recipe/simple.html new file mode 100644 index 0000000000000..bfcb08f2b0d01 --- /dev/null +++ b/datum/matfab_recipe/simple.html @@ -0,0 +1,3 @@ +/datum/matfab_recipe/simple - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/matfab_recipe/simple

Simple matfab recipie definition

Vars

createMultiplierMultiply output numbers by this.
materialsUsage: list("!metal"=5, "crystal"=3, "rubber"=1) , putting a ! in front of a material name will make that material the main material that is applied at the end.
resultTypepath of the resulting item.
stackIf 1, we change the stack amount instead of creating multiple objects.

Procs

postProcessCalled after the object is created and the material is assigned to it. Do any additional processing in here.

Var Details

createMultiplier

Multiply output numbers by this.

materials

Usage: list("!metal"=5, "crystal"=3, "rubber"=1) , putting a ! in front of a material name will make that material the main material that is applied at the end.

result

Typepath of the resulting item.

stack

If 1, we change the stack amount instead of creating multiple objects.

Proc Details

postProcess

Called after the object is created and the material is assigned to it. Do any additional processing in here.

+

getObjectByPartName(var/findName) works in here. Check the new proc below to see what the expected names are. This might not work if you have multiple parts of the same type.

+

A normal metal part would be getObjectByPartName("Metal"), a metal part set to main(!) would be getObjectByPartName("(Main) Metal")

\ No newline at end of file diff --git a/datum/mind.html b/datum/mind.html new file mode 100644 index 0000000000000..e9c66eddd44f7 --- /dev/null +++ b/datum/mind.html @@ -0,0 +1,5 @@ +/datum/mind - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/mind

Vars

antagonistsA list of every antagonist datum that we have.
cust_notesstores custom notes set by the player
damnedIf 1, they go to hell when are die
memorystores valuable things about the mind's memory
originalPDAThe PDA that this crewmember started with - for gang PDA messages
subordinate_antagonistsA list of every antagonist datum subordinate to this mind.

Procs

add_antagonistAttempts to add the antagonist datum of ID role_id to this mind.
add_subordinate_antagonistAttempts to add the subordinate antagonist datum of ID role_id to this mind.
get_antagonistGets an existing antagonist datum of the provided ID role_id.
get_master
is_antagonistReturns whether this mind is a non-pseudo antagonist.
on_ticker_add_logOutput of this gets logged when the mind is added to the game ticker
remove_antagonistAttempts to remove existing antagonist datums of ID role from this mind, or if provided, a specific instance of an antagonist datum.
wipe_antagonistsRemoves ALL antagonists from this mind. Use with caution!

Var Details

antagonists

A list of every antagonist datum that we have.

cust_notes

stores custom notes set by the player

damned

If 1, they go to hell when are die

memory

stores valuable things about the mind's memory

originalPDA

The PDA that this crewmember started with - for gang PDA messages

subordinate_antagonists

A list of every antagonist datum subordinate to this mind.

Proc Details

add_antagonist

Attempts to add the antagonist datum of ID role_id to this mind.

add_subordinate_antagonist

Attempts to add the subordinate antagonist datum of ID role_id to this mind.

get_antagonist

Gets an existing antagonist datum of the provided ID role_id.

get_master

is_antagonist

Returns whether this mind is a non-pseudo antagonist.

on_ticker_add_log

Output of this gets logged when the mind is added to the game ticker

remove_antagonist

Attempts to remove existing antagonist datums of ID role from this mind, or if provided, a specific instance of an antagonist datum.

wipe_antagonists

Removes ALL antagonists from this mind. Use with caution!

\ No newline at end of file diff --git a/datum/mind_mob_overlay.html b/datum/mind_mob_overlay.html new file mode 100644 index 0000000000000..e1fe6ee3d4006 --- /dev/null +++ b/datum/mind_mob_overlay.html @@ -0,0 +1 @@ +/datum/mind_mob_overlay - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

/datum/mind_mob_overlay

Procs

attach_selfAttempt to attach the image to the owner's mob, and set up signals to track when the owner moves mobs.
remove_selfRemove and delete the image, then queue the datum for deletion.
update_locUpdate the .loc of the image so that it appears attached to the owner's mob.

Proc Details

attach_self

Attempt to attach the image to the owner's mob, and set up signals to track when the owner moves mobs.

remove_self

Remove and delete the image, then queue the datum for deletion.

update_loc

Update the .loc of the image so that it appears attached to the owner's mob.

\ No newline at end of file diff --git a/datum/minimap.html b/datum/minimap.html new file mode 100644 index 0000000000000..955a2717e04fb --- /dev/null +++ b/datum/minimap.html @@ -0,0 +1,2 @@ +/datum/minimap - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/minimap

Minimap datums are responsible for handling the appearance of the minimap. This includes any displayed markers, the zoom level, +and the displayed z-level.

Vars

mapThe minimap, without minimap markers. Kept separate for the purpose of scaling the minimap without scaling the markers.
map_scaleThe current scale of the physical map, as a multiple of the original size (300x300px).
marker_scaleThe desired scale of the minimap markers, as a multiple of the original size (32x32px).
max_zoomThe maximum value which the zoom coefficient should be permitted to zoom to.
min_zoomThe minimum value which the zoom coefficient should be permitted to zoom to.
minimap_holderThe holder for the render of the minimap, allowing for offsets and other effects to be applied to the render without modifying the render itself.
minimap_markersAn associative list of all minimap markers the minimap is currently tracking and displaying, indexed by their target.
minimap_renderThe minimap render to be displayed, containing both the map, dynamic area overlays, and markers.
x_maxThe maximum x coordinate to be rendered, in world coordinates.
x_minThe minimum x coordinate to be rendered, in world coordinates.
y_maxThe maximum y coordinate to be rendered, in world coordinates.
y_minThe minimum y coordinate to be rendered, in world coordinates.
z_levelThe z-level that the minimap is to be rendered from.
zoom_coefficientThe scale that the minimap should be zoomed to; it does not affect the physical size of the minimap, as the alpha mask will take care of any map area scaled outside of the minimap boundaries.

Procs

create_alpha_maskCreate an alpha mask to hide anything outside the bounds of the physical map.
create_minimap_markerCreates a minimap marker from a specified target, icon, and icon state. marker_name will override the marker inheriting the target's name.
initialise_minimap_renderInitialises the raw minimap icons and minimap render.
remove_minimap_markerRemoves a minimap marker from this minimap.
scale_mapScale the map, while retaining the original (x, y) position of the bottom left corner.
set_marker_positionSets the x and y position of a specified minimap marker, in world coordinates.
update_z_levelUpdates the displayed z-level.
zoom_on_pointZooms the minimap by the zoom coefficient while moving the minimap so that the specified point lies at the same position on the displayed minimap as it did prior to the zoom. The alpha mask takes care of any map area scaled outside of the map boundaries.

Var Details

map

The minimap, without minimap markers. Kept separate for the purpose of scaling the minimap without scaling the markers.

map_scale

The current scale of the physical map, as a multiple of the original size (300x300px).

marker_scale

The desired scale of the minimap markers, as a multiple of the original size (32x32px).

max_zoom

The maximum value which the zoom coefficient should be permitted to zoom to.

min_zoom

The minimum value which the zoom coefficient should be permitted to zoom to.

minimap_holder

The holder for the render of the minimap, allowing for offsets and other effects to be applied to the render without modifying the render itself.

minimap_markers

An associative list of all minimap markers the minimap is currently tracking and displaying, indexed by their target.

minimap_render

The minimap render to be displayed, containing both the map, dynamic area overlays, and markers.

x_max

The maximum x coordinate to be rendered, in world coordinates.

x_min

The minimum x coordinate to be rendered, in world coordinates.

y_max

The maximum y coordinate to be rendered, in world coordinates.

y_min

The minimum y coordinate to be rendered, in world coordinates.

z_level

The z-level that the minimap is to be rendered from.

zoom_coefficient

The scale that the minimap should be zoomed to; it does not affect the physical size of the minimap, as the alpha mask will take care of any map area scaled outside of the minimap boundaries.

Proc Details

create_alpha_mask

Create an alpha mask to hide anything outside the bounds of the physical map.

create_minimap_marker

Creates a minimap marker from a specified target, icon, and icon state. marker_name will override the marker inheriting the target's name.

initialise_minimap_render

Initialises the raw minimap icons and minimap render.

remove_minimap_marker

Removes a minimap marker from this minimap.

scale_map

Scale the map, while retaining the original (x, y) position of the bottom left corner.

set_marker_position

Sets the x and y position of a specified minimap marker, in world coordinates.

update_z_level

Updates the displayed z-level.

zoom_on_point

Zooms the minimap by the zoom coefficient while moving the minimap so that the specified point lies at the same position on the displayed minimap as it did prior to the zoom. The alpha mask takes care of any map area scaled outside of the map boundaries.

\ No newline at end of file diff --git a/datum/minimap/area_map.html b/datum/minimap/area_map.html new file mode 100644 index 0000000000000..d3ddf6deeab27 --- /dev/null +++ b/datum/minimap/area_map.html @@ -0,0 +1 @@ +/datum/minimap/area_map - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/minimap/area_map

Vars

border_widthThe width in pixels between the edge of the station and the edge of the map that should be used to determine an ideal centre scale.
centre_focus_xThe x coordinate that of the centre of the focused map.
centre_focus_yThe y coordinate that of the centre of the focused map.
centre_scaleThe scale used to fit all visible turfs on the focused map.
dynamic_areas_overlays_by_z_levelA list of dynamic area overlay lists, indexed by z-level.
map_icons_by_z_levelA list of minimap render icons, indexed by z-level.
minimap_typeA bitflag that determines which areas and minimap markers are to be rendered on the minimap. For available flags, see _std/defines/minimap.dm.

Procs

centre_on_pointZooms the minimap by the zoom coefficient while moving the minimap so that the specified point lies at the centre of the displayed minimap. The alpha mask takes care of any map area scaled outside of the map boundaries.
find_focal_pointLocate the focal point of the map by using the furthest valid turf in each direction.
valid_turfChecks whether a turf is rendered on this minimap type.

Var Details

border_width

The width in pixels between the edge of the station and the edge of the map that should be used to determine an ideal centre scale.

centre_focus_x

The x coordinate that of the centre of the focused map.

centre_focus_y

The y coordinate that of the centre of the focused map.

centre_scale

The scale used to fit all visible turfs on the focused map.

dynamic_areas_overlays_by_z_level

A list of dynamic area overlay lists, indexed by z-level.

map_icons_by_z_level

A list of minimap render icons, indexed by z-level.

minimap_type

A bitflag that determines which areas and minimap markers are to be rendered on the minimap. For available flags, see _std/defines/minimap.dm.

Proc Details

centre_on_point

Zooms the minimap by the zoom coefficient while moving the minimap so that the specified point lies at the centre of the displayed minimap. The alpha mask takes care of any map area scaled outside of the map boundaries.

find_focal_point

Locate the focal point of the map by using the furthest valid turf in each direction.

valid_turf

Checks whether a turf is rendered on this minimap type.

\ No newline at end of file diff --git a/datum/minimap_marker.html b/datum/minimap_marker.html new file mode 100644 index 0000000000000..143595c3a084b --- /dev/null +++ b/datum/minimap_marker.html @@ -0,0 +1,2 @@ +/datum/minimap_marker - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/minimap_marker

Minimap marker datums are responsible for managing the appearance and position of a marker atom/movable that depicts a +tracked target object.

Vars

markerThe physical marker, determining appearance and position.
targetThe target of the minimap marker.

Procs

handle_moveUpdates this marker's position on the minimap when the target moves.

Var Details

marker

The physical marker, determining appearance and position.

target

The target of the minimap marker.

Proc Details

handle_move

Updates this marker's position on the minimap when the target moves.

\ No newline at end of file diff --git a/datum/minimap_marker/minimap.html b/datum/minimap_marker/minimap.html new file mode 100644 index 0000000000000..956e9cf7327fa --- /dev/null +++ b/datum/minimap_marker/minimap.html @@ -0,0 +1 @@ +/datum/minimap_marker/minimap - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

Minimap Marker

Vars

alpha_valueThe alpha value that the minimap marker should use when visible.
can_be_deleted_by_playerWhether the minimap marker can be deleted by players using minimap controllers.
list_on_uiWhether this minimap marker appears on the controller UI, permitting it's visibility to be toggled, or for it to be deleted.
mapThe minimap datum that the minimap marker belongs to.
marker_scaleThe desired scale of the minimap marker, as a multiple of the original size (32x32px).
nameThe name of the minimap marker, usually inherited from the target, unless overridden on creation.
on_minimap_z_levelWhether the target is on the minimap datum's rendered z-level, determining whether it is displayed.
visibleWhether the minimap marker is visible, with precedence over alpha settings.

Procs

scale_markerScale the minimap marker to a multiple of the original marker size.

Var Details

alpha_value

The alpha value that the minimap marker should use when visible.

can_be_deleted_by_player

Whether the minimap marker can be deleted by players using minimap controllers.

list_on_ui

Whether this minimap marker appears on the controller UI, permitting it's visibility to be toggled, or for it to be deleted.

map

The minimap datum that the minimap marker belongs to.

marker_scale

The desired scale of the minimap marker, as a multiple of the original size (32x32px).

name

The name of the minimap marker, usually inherited from the target, unless overridden on creation.

on_minimap_z_level

Whether the target is on the minimap datum's rendered z-level, determining whether it is displayed.

visible

Whether the minimap marker is visible, with precedence over alpha settings.

Proc Details

scale_marker

Scale the minimap marker to a multiple of the original marker size.

\ No newline at end of file diff --git a/datum/minimap_render_modifier.html b/datum/minimap_render_modifier.html new file mode 100644 index 0000000000000..a4d2492dd5913 --- /dev/null +++ b/datum/minimap_render_modifier.html @@ -0,0 +1,3 @@ +/datum/minimap_render_modifier - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

/datum/minimap_render_modifier

Minimap render modifiers are responsible for handling alterations to the pixel colour that represent a specific turf on +a minimap. Only one modifier may apply its effects to a pixel at a time, with higher priority modifiers being considered +first.

Procs

is_compatibleWhether this modifier can be applied to the pixel representing this turf.
processApplies the effects of this modifier to the colour.

Proc Details

is_compatible

Whether this modifier can be applied to the pixel representing this turf.

process

Applies the effects of this modifier to the colour.

\ No newline at end of file diff --git a/datum/minimap_renderer.html b/datum/minimap_renderer.html new file mode 100644 index 0000000000000..c7c30e47b4343 --- /dev/null +++ b/datum/minimap_renderer.html @@ -0,0 +1,5 @@ +/datum/minimap_renderer - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/minimap_renderer

The minimap renderer is responsible for generating partial renders of area minimaps for each minimap type flag and generating +full renders of radar minimaps, alongside updating radar minimaps and dynamic area overlays. In the case of querying for area +minimaps, a minimap type bitflag may be passed to the renderer, which will then return a full render of the map comprised of +the aforementioned partial renders. In the case of querying for radar minimaps, a minimap atom/movable will be returned, +containing both the radar map icon and the radar map markers.

Vars

dynamic_area_overlaysA list of dynamic area overlays for minimaps. Are overlays are indexed by z-level, type, and dynamic area group.
minimap_modifiersA list of minimap render modifiers, sorted by priority.
minimap_type_rendersA list of partial minimap renders for each minimap type flag. Icons are indexed by z-level and type.
radar_minimap_objects_by_z_levelA list of radar minimap objects. Indexed by z-level.
radar_minimaps_by_z_levelA list of radar minimap renders. Indexed by z-level.
render_space_colorDoes this minimap render space, if so - what color? Null if it renders space as black.

Procs

generate_minimap_iconsGenerates a list of /atom/movable objects for each z-level for a specified minimap type.
get_minimap_dynamic_area_overlaysReturns a dynamic area overlay atom/movable for a specified minimap type.
initialise_minimapsSet up all /obj/minimap, /obj/minimap_controller, and /datum/minimap_marker/render types.
recolor_areaRecolours a specified dynamic area group to a given colour.
render_minimapsRenders a minimap portion for each map flag, and renders dynamic area overlays, storing them in minimap_type_renders and dynamic_area_overlays respectively.
render_radar_minimapInitialises the radar minimap.
separate_bitflagSeparates a given bitflag into a list of the separate bits composing it. Eg. 1011 -> (0001, 0010, 1000), or in base 10: 11 -> (1, 2, 8).
turf_colorDetermine the colour of a turf on the minimap.
update_radar_mapUpdates the pixel on a radar minimap render corresponding to the specified turf.
valid_turfChecks whether a turf should be rendered on the minimap through the minimaps_to_render_on bitflag on /area.

Var Details

dynamic_area_overlays

A list of dynamic area overlays for minimaps. Are overlays are indexed by z-level, type, and dynamic area group.

minimap_modifiers

A list of minimap render modifiers, sorted by priority.

minimap_type_renders

A list of partial minimap renders for each minimap type flag. Icons are indexed by z-level and type.

radar_minimap_objects_by_z_level

A list of radar minimap objects. Indexed by z-level.

radar_minimaps_by_z_level

A list of radar minimap renders. Indexed by z-level.

render_space_color

Does this minimap render space, if so - what color? Null if it renders space as black.

Proc Details

generate_minimap_icons

Generates a list of /atom/movable objects for each z-level for a specified minimap type.

get_minimap_dynamic_area_overlays

Returns a dynamic area overlay atom/movable for a specified minimap type.

initialise_minimaps

Set up all /obj/minimap, /obj/minimap_controller, and /datum/minimap_marker/render types.

recolor_area

Recolours a specified dynamic area group to a given colour.

render_minimaps

Renders a minimap portion for each map flag, and renders dynamic area overlays, storing them in minimap_type_renders and dynamic_area_overlays respectively.

render_radar_minimap

Initialises the radar minimap.

separate_bitflag

Separates a given bitflag into a list of the separate bits composing it. Eg. 1011 -> (0001, 0010, 1000), or in base 10: 11 -> (1, 2, 8).

turf_color

Determine the colour of a turf on the minimap.

update_radar_map

Updates the pixel on a radar minimap render corresponding to the specified turf.

valid_turf

Checks whether a turf should be rendered on the minimap through the minimaps_to_render_on bitflag on /area.

\ No newline at end of file diff --git a/datum/movable_preview.html b/datum/movable_preview.html new file mode 100644 index 0000000000000..1325ece05383a --- /dev/null +++ b/datum/movable_preview.html @@ -0,0 +1,7 @@ +/datum/movable_preview - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

Movable Preview

Essentially, it creates a movable on a 1x1 map and gives you access to the it for modification.

+

This parent type is for use for mainly objects. For humans, see /datum/movable_preview/character

+

Use winset() to position the control within the window.

+

See the default code for an example - places it at 0,0 and makes it 128x128 pixels.

Vars

custom_setupSet to true if you want to handle the creation of the preview_thing
flat_iconDo not access directly, use get_icon instead
max_preview_idGlobal ID for this preview datum
preview_idThe map ID for use with winset() or <ByondUi.id>
preview_thingThe atom/movable to show in the preview - useful to access directly to mess with it

Procs

NewPass the viewer client, the name of the window, the control to bind it to, and the size you want
add_backgroundAdds a background to the preview - default is floor tiles, two tiles high.
custom_setupSee: /datum/movable_preview/var/custom_setup

Var Details

custom_setup

Set to true if you want to handle the creation of the preview_thing

flat_icon

Do not access directly, use get_icon instead

max_preview_id

Global ID for this preview datum

preview_id

The map ID for use with winset() or <ByondUi.id>

preview_thing

The atom/movable to show in the preview - useful to access directly to mess with it

+

For the /character subtype, this is always a human.

Proc Details

New

Pass the viewer client, the name of the window, the control to bind it to, and the size you want

add_background

Adds a background to the preview - default is floor tiles, two tiles high.

+

You can specify a color to render a flat color as a background instead. +Additionally, if height_mult is specified also, it'll multiply the height of that color.

custom_setup

See: /datum/movable_preview/var/custom_setup

\ No newline at end of file diff --git a/datum/movable_preview/character.html b/datum/movable_preview/character.html new file mode 100644 index 0000000000000..aa570d1949d4f --- /dev/null +++ b/datum/movable_preview/character.html @@ -0,0 +1,5 @@ +/datum/movable_preview/character - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

Character Preview

This is intended only for use with humans. preview_thing will be a subtype of generic human.

+

This parent type is for use in single-client windows. +See /datum/movable_preview/character/window for a detatched window and and /datum/movable_preview/character/multiclient for a multi-client variant.

Procs

update_appearanceSets the appearance, mutant race, and facing direction of the human mob. +Assumes the preview_thing is a mob

Proc Details

update_appearance

Sets the appearance, mutant race, and facing direction of the human mob. +Assumes the preview_thing is a mob

\ No newline at end of file diff --git a/datum/movable_preview/character/multiclient.html b/datum/movable_preview/character/multiclient.html new file mode 100644 index 0000000000000..3d4d375cffeaf --- /dev/null +++ b/datum/movable_preview/character/multiclient.html @@ -0,0 +1,3 @@ +/datum/movable_preview/character/multiclient - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

/datum/movable_preview/character/multiclient

A shared character preview between multiple clients. +Again, use winset() to position the control.

+

You need to call the special client procs to manage subscribers in addition to the winset.

Procs

add_clientAdds a subscribed client
remove_all_clientsRemoves all subscribers
remove_clientRemoves a subscribed client

Proc Details

add_client

Adds a subscribed client

remove_all_clients

Removes all subscribers

remove_client

Removes a subscribed client

\ No newline at end of file diff --git a/datum/movable_preview/character/window.html b/datum/movable_preview/character/window.html new file mode 100644 index 0000000000000..73506462b8ffd --- /dev/null +++ b/datum/movable_preview/character/window.html @@ -0,0 +1,2 @@ +/datum/movable_preview/character/window - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

/datum/movable_preview/character/window

Manages its own window. +Basically a simplified version for when you don't need to put other stuff in the preview window.

Procs

showShows (or hides if the argument is false) the window.

Proc Details

show

Shows (or hides if the argument is false) the window.

\ No newline at end of file diff --git a/datum/mutantrace.html b/datum/mutantrace.html new file mode 100644 index 0000000000000..46fe17b777a5b --- /dev/null +++ b/datum/mutantrace.html @@ -0,0 +1,80 @@ +/datum/mutantrace - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/mutantrace

Vars

AHThe mutant's own appearanceholder, modified to suit our target appearance
aquaphobicTakes burn damage and hygiene loss on contact with water
aquaticignores suffocation from being underwater + moves at full speed underwater
can_walk_on_shardsShould they be able to walk on shards barefoot
color_channel_namesList of 0 to 3 strings representing the names for the color channels +used in the character creator. For vanilla humans (or HAS_HUMAN_HAIR) +this is list("Bottom Detail", "Mid Detail", "Top Detail").
detail_1_iconThese details will show up layered just in front of the mob's skin +The image to be inserted into the mob's appearanceholder's mob_detail_1
detail_oversuit_1_iconThese details will show up layered between the backpack and the outer suit +The image to be inserted into the mob's appearanceholder's mob_oversuit_1 +Will only show up if the mob's appearance flag includes HAS_O
dna_mutagen_bannedShould stable mutagen not copy from this mutant?
exclusive_languageif TRUE, only understood by others of this mutantrace
eye_iconThe icon used to render their eyes
eye_offsetaffects pixel_y of eyes if they're different from normal head-placement. darn anime monkey eyes +If 0, it inherits that of the head offset. Otherwise, it applies as normal +So, it should typically be something like head_offset +/- a few pixels
eye_stateThe state used to render their eyes
genetics_removableShould a genetics terminal be able to remove this mutantrace?
ghost_icon_statedead mob icon state this mutantrace uses
human_compatibleif TRUE, allows human diseases and dna injectors to affect this mutantrace
ignore_missing_limbsReplace both arms regardless of mob status (new and dispose).
jerkShould robots arrest these by default?
leg_offsetaffects pixel_y of the legs and stump, in case the mutant has a non-human length torsocrotch
mutant_abilitiesList of abilities associated with this mutantrace, requires mutant_abilityholder to be set
mutant_abilityholderAbilityholder associated with this mutantrace, will be automatically given to mobs on spawn
mutant_appearance_flags
mutant_folderThe icon of the head, body, and limbs we're using
mutant_organsSwaps out the entries in the mob's organ_holder with these (hopefully) organs +Format: ("entry_in_organholder's_organlist", /obj/item/organ/path)
mutant_organs_fIf our mutant has a female variant that has different organs, these will be used instead
nameused for identification in diseases, clothing, etc
override_limb_iconsIf true, normal limbs use custom icons for this mutantrace
race_mutationThe mutation associted with the mutantrace. Saurian genetics for lizards, for instance
special_hair_1_colorWhich preference entry to colorize this from. +CUST_1 to use the appearanceholder's custom_first_color, and so on. Make null for just "#FFFFFF"
special_hair_1_iconSpecial Hair is anything additional that's supposed to be stuck to the mob's head +Can be anything, honestly. Used for lizard head things and cow horns +Will only show up if the mob's appearance flag includes HAS_SPECIAL_HAIR
special_hair_1_icon_fThe "_f" vars are applied for female variants, if the appearance flags don't have NOT_DIMORPHIC
special_hair_1_layerWhich layer should this hair appear? Defaults to the normal hair-layer
special_hair_1_stateState to be used. Human hairstyles must be defined by their icon state, not hairstyle name!
special_hair_2_iconThe image to be inserted into the mob's appearanceholder's customization_second
special_hair_3_iconThe image to be inserted into the mob's appearanceholder's customization_third
special_headIf the mutant uses a non-human head, this'll tell the head builder which head to build
special_head_fIf our mutant has a female variant, it'll use this head instead
special_head_stateThe icon_state of the head we're using
special_head_state_fIf our mutant has a female variant, it'll use this head image instead
typeinfo_typemutant races: cheap way to add new "types" of mobs
uses_human_clothesif FALSE, can only wear clothes if listed in /obj/item/clothing/var/compatible_species
voice_messageoverrides normal voice message if defined (and others don't understand us, ofc)

Procs

MakeMutantDimorphicCopies over female variants of mutant heads and organs
MutateMutantApplies or removes the bioeffect associated with the mutantrace
apply_clothing_filtersCalled by /mob/living/carbon/human/update_clothing()'s slot-specific sub-procs. +Each sub-proc passes its obj to this proc, which you can then operate on. +Should return a filter or list of filters, to be added to the obj's wear_image.filters
onDeathCalled when our mob dies. Returning a true value will short circuit the normal death proc right before deathgasp/headspider/etc +Rturn values are [MUTRACE_ONDEATH_NOTHING], [MUTRACE_ONDEATH_REVIVED], [MUTRACE_ONDEATH_DEFER_DELETE] etc.
on_attachFor calling of procs when a mob is given a mutant race, to avoid issues with abstract representation in on_attach()

Var Details

AH

The mutant's own appearanceholder, modified to suit our target appearance

aquaphobic

Takes burn damage and hygiene loss on contact with water

aquatic

ignores suffocation from being underwater + moves at full speed underwater

can_walk_on_shards

Should they be able to walk on shards barefoot

color_channel_names

List of 0 to 3 strings representing the names for the color channels +used in the character creator. For vanilla humans (or HAS_HUMAN_HAIR) +this is list("Bottom Detail", "Mid Detail", "Top Detail").

detail_1_icon

These details will show up layered just in front of the mob's skin +The image to be inserted into the mob's appearanceholder's mob_detail_1

detail_oversuit_1_icon

These details will show up layered between the backpack and the outer suit +The image to be inserted into the mob's appearanceholder's mob_oversuit_1 +Will only show up if the mob's appearance flag includes HAS_O

dna_mutagen_banned

Should stable mutagen not copy from this mutant?

exclusive_language

if TRUE, only understood by others of this mutantrace

eye_icon

The icon used to render their eyes

eye_offset

affects pixel_y of eyes if they're different from normal head-placement. darn anime monkey eyes +If 0, it inherits that of the head offset. Otherwise, it applies as normal +So, it should typically be something like head_offset +/- a few pixels

eye_state

The state used to render their eyes

genetics_removable

Should a genetics terminal be able to remove this mutantrace?

ghost_icon_state

dead mob icon state this mutantrace uses

human_compatible

if TRUE, allows human diseases and dna injectors to affect this mutantrace

ignore_missing_limbs

Replace both arms regardless of mob status (new and dispose).

jerk

Should robots arrest these by default?

leg_offset

affects pixel_y of the legs and stump, in case the mutant has a non-human length torsocrotch

mutant_abilities

List of abilities associated with this mutantrace, requires mutant_abilityholder to be set

mutant_abilityholder

Abilityholder associated with this mutantrace, will be automatically given to mobs on spawn

mutant_appearance_flags

mutant_folder

The icon of the head, body, and limbs we're using

mutant_organs

Swaps out the entries in the mob's organ_holder with these (hopefully) organs +Format: ("entry_in_organholder's_organlist", /obj/item/organ/path)

mutant_organs_f

If our mutant has a female variant that has different organs, these will be used instead

name

used for identification in diseases, clothing, etc

override_limb_icons

If true, normal limbs use custom icons for this mutantrace

race_mutation

The mutation associted with the mutantrace. Saurian genetics for lizards, for instance

special_hair_1_color

Which preference entry to colorize this from. +CUST_1 to use the appearanceholder's custom_first_color, and so on. Make null for just "#FFFFFF"

special_hair_1_icon

Special Hair is anything additional that's supposed to be stuck to the mob's head +Can be anything, honestly. Used for lizard head things and cow horns +Will only show up if the mob's appearance flag includes HAS_SPECIAL_HAIR

special_hair_1_icon_f

The "_f" vars are applied for female variants, if the appearance flags don't have NOT_DIMORPHIC

special_hair_1_layer

Which layer should this hair appear? Defaults to the normal hair-layer

special_hair_1_state

State to be used. Human hairstyles must be defined by their icon state, not hairstyle name!

special_hair_2_icon

The image to be inserted into the mob's appearanceholder's customization_second

special_hair_3_icon

The image to be inserted into the mob's appearanceholder's customization_third

special_head

If the mutant uses a non-human head, this'll tell the head builder which head to build

special_head_f

If our mutant has a female variant, it'll use this head instead

special_head_state

The icon_state of the head we're using

special_head_state_f

If our mutant has a female variant, it'll use this head image instead

typeinfo_type

mutant races: cheap way to add new "types" of mobs

uses_human_clothes

if FALSE, can only wear clothes if listed in /obj/item/clothing/var/compatible_species

voice_message

overrides normal voice message if defined (and others don't understand us, ofc)

Proc Details

MakeMutantDimorphic

Copies over female variants of mutant heads and organs

MutateMutant

Applies or removes the bioeffect associated with the mutantrace

apply_clothing_filters

Called by /mob/living/carbon/human/update_clothing()'s slot-specific sub-procs. +Each sub-proc passes its obj to this proc, which you can then operate on. +Should return a filter or list of filters, to be added to the obj's wear_image.filters

onDeath

Called when our mob dies. Returning a true value will short circuit the normal death proc right before deathgasp/headspider/etc +Rturn values are [MUTRACE_ONDEATH_NOTHING], [MUTRACE_ONDEATH_REVIVED], [MUTRACE_ONDEATH_DEFER_DELETE] etc.

on_attach

For calling of procs when a mob is given a mutant race, to avoid issues with abstract representation in on_attach()

\ No newline at end of file diff --git a/datum/mutantrace/werewolf.html b/datum/mutantrace/werewolf.html new file mode 100644 index 0000000000000..4ab00c9e6c50f --- /dev/null +++ b/datum/mutantrace/werewolf.html @@ -0,0 +1,3 @@ +/datum/mutantrace/werewolf - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

werewolf

Procs

snap_at_maybeHas a chance to snap at mobs that try to pet them. +We don't really have a 'bite' proc and the damage/bleed procs are all kinds of fucked up so I'm just reusing the arms

Proc Details

snap_at_maybe

Has a chance to snap at mobs that try to pet them. +We don't really have a 'bite' proc and the damage/bleed procs are all kinds of fucked up so I'm just reusing the arms

\ No newline at end of file diff --git a/datum/objective.html b/datum/objective.html new file mode 100644 index 0000000000000..4bbf1b24dd9ad --- /dev/null +++ b/datum/objective.html @@ -0,0 +1,3 @@ +/datum/objective - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/objective

Vars

requires_mindSometimes we want an objective with no mind, for conspirators etc.

Procs

is_target_eliminatedChecks if a mind is not considered alive for objectives. +Being a silicon (cyborg or AI) does not count.

Var Details

requires_mind

Sometimes we want an objective with no mind, for conspirators etc.

Proc Details

is_target_eliminated

Checks if a mind is not considered alive for objectives. +Being a silicon (cyborg or AI) does not count.

\ No newline at end of file diff --git a/datum/ore/event/geode.html b/datum/ore/event/geode.html new file mode 100644 index 0000000000000..4dc1cabb3754b --- /dev/null +++ b/datum/ore/event/geode.html @@ -0,0 +1 @@ +/datum/ore/event/geode - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/ore/event/geode

Vars

fluid_geode_typesweighted lists of geode types to pick from

Var Details

fluid_geode_types

weighted lists of geode types to pick from

\ No newline at end of file diff --git a/datum/organHolder.html b/datum/organHolder.html new file mode 100644 index 0000000000000..690420e576873 --- /dev/null +++ b/datum/organHolder.html @@ -0,0 +1 @@ +/datum/organHolder - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/organHolder

Vars

abdominal_stageHow cut up is our abdominal region?
back_contextsList of buttons used in back surgery (tail/butt)
back_op_stageHow cut up is our back for surgery purposes
contextsList of buttons used in chest organ surgery
flanks_stageHow cut up are our flanks?
ribs_stageHow cut up are our ribs?
subcostal_stageHow cut up is our subcostal region?

Procs

drop_and_throw_organdrops the organ, then hurls it somewhere

Var Details

abdominal_stage

How cut up is our abdominal region?

back_contexts

List of buttons used in back surgery (tail/butt)

back_op_stage

How cut up is our back for surgery purposes

contexts

List of buttons used in chest organ surgery

flanks_stage

How cut up are our flanks?

ribs_stage

How cut up are our ribs?

subcostal_stage

How cut up is our subcostal region?

Proc Details

drop_and_throw_organ

drops the organ, then hurls it somewhere

\ No newline at end of file diff --git a/datum/parallax_controller.html b/datum/parallax_controller.html new file mode 100644 index 0000000000000..9bbb9a8e7715d --- /dev/null +++ b/datum/parallax_controller.html @@ -0,0 +1 @@ +/datum/parallax_controller - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/parallax_controller

Vars

outermost_movableThe outermost atom/movable in the client's mob's .loc chain.
ownerThe client that this parallax controller belongs to.
parallax_layersThe various parallax layers displayed on the client's screen that will require to be updated when the client's mob moves.
parallax_render_sourcesAn associative list of the parallax render sources and their corresponding layers displayed on the client's screen.
previous_areaThe area that the outermost movable was in when update_area_parallax_layers() was last called.
previous_turfThe turf that the client's eye was centred upon when update_parallax_layers() was last called.
previous_z_levelThe z-level that the outermost movable was in when update_z_level_parallax_layers() was last called.
render_source_groupsA list of all the render source groups that the client is currently a member of.

Procs

add_parallax_layerCreates a new parallax layer for every provided parallax layer render source.
remove_parallax_layerRemoves the parallax layers corresponding to the provided parallax layer render sources.
update_area_parallax_layersUpdates the parallax render sources and layers displayed to a client by an area.
update_parallax_layersUpdates the position of the parallax layer relative to the client's eye, taking into account the distance moved and the parallax value.
update_z_level_parallax_layersUpdates the parallax render sources and layers displayed to a client by a z-level.

Var Details

outermost_movable

The outermost atom/movable in the client's mob's .loc chain.

owner

The client that this parallax controller belongs to.

parallax_layers

The various parallax layers displayed on the client's screen that will require to be updated when the client's mob moves.

parallax_render_sources

An associative list of the parallax render sources and their corresponding layers displayed on the client's screen.

previous_area

The area that the outermost movable was in when update_area_parallax_layers() was last called.

previous_turf

The turf that the client's eye was centred upon when update_parallax_layers() was last called.

previous_z_level

The z-level that the outermost movable was in when update_z_level_parallax_layers() was last called.

render_source_groups

A list of all the render source groups that the client is currently a member of.

Proc Details

add_parallax_layer

Creates a new parallax layer for every provided parallax layer render source.

remove_parallax_layer

Removes the parallax layers corresponding to the provided parallax layer render sources.

update_area_parallax_layers

Updates the parallax render sources and layers displayed to a client by an area.

update_parallax_layers

Updates the position of the parallax layer relative to the client's eye, taking into account the distance moved and the parallax value.

update_z_level_parallax_layers

Updates the parallax render sources and layers displayed to a client by a z-level.

\ No newline at end of file diff --git a/datum/parallax_render_source_group.html b/datum/parallax_render_source_group.html new file mode 100644 index 0000000000000..8922fda92af24 --- /dev/null +++ b/datum/parallax_render_source_group.html @@ -0,0 +1,3 @@ +/datum/parallax_render_source_group - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/parallax_render_source_group

The parent type for parallax render source groups, which govern which parallax render sources should be shown to a client +in a given area or z-level. They also allow for the efficient manipulation of parallax render sources and layers within a +specified z-level or area, permitting more granular control over the appearance of parallax render sources.

Vars

membersAll clients that currently have render sources from this groups displayed to their screen.
parallax_render_source_typesA list of default parallax layer render source types that should be instantiated on New().
parallax_render_source_types_and_sourcesAn associative list of parallax render source types and the instance of that type belonging to this render source group.
parallax_render_sourcesA list of parallax layer render sources to render to layers on a client's screen.

Procs

add_parallax_render_sourceCreates a new parallax layer render source of the specified type or types in the group, and for each client assigns a parallax layer to it.
recolour_parallax_render_sourcesApplies the provided colour matrix to all eligible parallax layer render sources in the group, and animates the transition.
remove_parallax_render_sourceRemoves the specifed parallax layer render source type or types from the group, and their associated parallax layers.
restore_parallax_render_sources_to_defaultRestores the group's parallax render sources to their default state.

Var Details

members

All clients that currently have render sources from this groups displayed to their screen.

parallax_render_source_types

A list of default parallax layer render source types that should be instantiated on New().

parallax_render_source_types_and_sources

An associative list of parallax render source types and the instance of that type belonging to this render source group.

parallax_render_sources

A list of parallax layer render sources to render to layers on a client's screen.

Proc Details

add_parallax_render_source

Creates a new parallax layer render source of the specified type or types in the group, and for each client assigns a parallax layer to it.

recolour_parallax_render_sources

Applies the provided colour matrix to all eligible parallax layer render sources in the group, and animates the transition.

remove_parallax_render_source

Removes the specifed parallax layer render source type or types from the group, and their associated parallax layers.

restore_parallax_render_sources_to_default

Restores the group's parallax render sources to their default state.

\ No newline at end of file diff --git a/datum/parallax_render_source_group/planet.html b/datum/parallax_render_source_group/planet.html new file mode 100644 index 0000000000000..8747aa6095dde --- /dev/null +++ b/datum/parallax_render_source_group/planet.html @@ -0,0 +1,3 @@ +/datum/parallax_render_source_group/planet - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

/datum/parallax_render_source_group/planet

Planet render source groups are non-singleton datums, with each instance of each type varying in parallax render source +settings. They are assigned to planet areas during the procedural generation of planets, and permit variety in parallax +layers amongst planets.

Procs

setup_render_sourcesRandomly varies the parallax render sources within this group, or randomly adds additional layers.

Proc Details

setup_render_sources

Randomly varies the parallax render sources within this group, or randomly adds additional layers.

\ No newline at end of file diff --git a/datum/part_customization.html b/datum/part_customization.html new file mode 100644 index 0000000000000..1a3c31e0c9a1d --- /dev/null +++ b/datum/part_customization.html @@ -0,0 +1 @@ +/datum/part_customization - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/part_customization

These are SINGLETONS

Vars

custom_iconCustom icon overrides, otherwise just uses the part icon
incompatible_partsCannot be added alongside these part IDs
part_typeCan be a type or a list of types to randomly pick from

Procs

apply_toActually add the part
can_applyCan we add the part, custom_parts is an associative list of slot IDs to part IDs
get_base64_iconUI helper proc so we don't have to manage static data caches
get_nameDefaults to just the name of the part type, can be overridden
try_applyCheck if we can, then apply the part

Var Details

custom_icon

Custom icon overrides, otherwise just uses the part icon

incompatible_parts

Cannot be added alongside these part IDs

part_type

Can be a type or a list of types to randomly pick from

Proc Details

apply_to

Actually add the part

can_apply

Can we add the part, custom_parts is an associative list of slot IDs to part IDs

get_base64_icon

UI helper proc so we don't have to manage static data caches

get_name

Defaults to just the name of the part type, can be overridden

try_apply

Check if we can, then apply the part

\ No newline at end of file diff --git a/datum/pathfind.html b/datum/pathfind.html new file mode 100644 index 0000000000000..9a3631d789b72 --- /dev/null +++ b/datum/pathfind.html @@ -0,0 +1,21 @@ +/datum/pathfind - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/pathfind

The datum used to handle the JPS pathfinding, completely self-contained

Vars

avoidA specific turf we're avoiding, like if a mulebot is being blocked by someone t-posing in a doorway we're trying to get through
callerThe thing that we're actually trying to path for
cardinal_onlyWhether we only want cardinal steps
endsThe turf we're trying to path to (note that this won't track a moving target)
max_distanceI don't know what this does vs , but they limit how far we can search before giving up on a path
max_seenMax number of tiles seen, null skips the check
mintargetdistHow far away we have to get to the end target before we can call it quits
n_target_goalsThe number of goals we need to find to succeed
openThe open list/stack we pop nodes out from (TODO: make this a normal list and macro-ize the heap operations to reduce proc overhead)
optionsRaw associative list of options passed from get_path_to.
pathsThe list we compile at the end if successful to pass back
simulated_onlySpace is big and empty, if this is TRUE then we ignore pathing through unsimulated tiles
sourcesAn assoc list that serves as the closed list & tracks what turfs came from where. Key is the turf, and the value is what turf it came from
startThe turf where we started at
total_seenThe total number of tiles seen so far

Procs

cardinal_scan_specFor performing cardinal scans from a given starting turf.
diag_scan_specFor performing diagonal scans from a given starting turf.
searchsearch() is the proc you call to kick off and handle the actual pathfinding, and kills the pathfind datum instance when it's done.
unwind_pathCalled when we've hit the goal with the node that represents the last tile, then sets the path var to that path so it can be returned by datum/pathfind/proc/search

Var Details

avoid

A specific turf we're avoiding, like if a mulebot is being blocked by someone t-posing in a doorway we're trying to get through

caller

The thing that we're actually trying to path for

cardinal_only

Whether we only want cardinal steps

ends

The turf we're trying to path to (note that this won't track a moving target)

max_distance

I don't know what this does vs , but they limit how far we can search before giving up on a path

max_seen

Max number of tiles seen, null skips the check

mintargetdist

How far away we have to get to the end target before we can call it quits

n_target_goals

The number of goals we need to find to succeed

open

The open list/stack we pop nodes out from (TODO: make this a normal list and macro-ize the heap operations to reduce proc overhead)

options

Raw associative list of options passed from get_path_to.

paths

The list we compile at the end if successful to pass back

simulated_only

Space is big and empty, if this is TRUE then we ignore pathing through unsimulated tiles

sources

An assoc list that serves as the closed list & tracks what turfs came from where. Key is the turf, and the value is what turf it came from

start

The turf where we started at

total_seen

The total number of tiles seen so far

Proc Details

cardinal_scan_spec

For performing cardinal scans from a given starting turf.

+

These scans are called from both the main search loop, as well as subscans for diagonal scans, and they treat finding interesting turfs slightly differently. +If we're doing a normal cardinal scan, we already have a parent node supplied, so we just create the new node and immediately insert it into the heap, ezpz. +If we're part of a subscan, we still need for the diagonal scan to generate a parent node, so we return a node datum with just the turf and let the diag scan +proc handle transferring the values and inserting them into the heap.

+

Arguments:

+

diag_scan_spec

For performing diagonal scans from a given starting turf.

+

Unlike cardinal scans, these only are called from the main search loop, so we don't need to worry about returning anything, +though we do need to handle the return values of our cardinal subscans of course.

+

Arguments:

+

search

search() is the proc you call to kick off and handle the actual pathfinding, and kills the pathfind datum instance when it's done.

+

If a valid path was found, it's returned as a list. If invalid or cross-z-level params are entered, or if there's no valid path found, we +return null, which /proc/get_path_to translates to an empty list (notable for simple bots, who need empty lists)

unwind_path

Called when we've hit the goal with the node that represents the last tile, then sets the path var to that path so it can be returned by datum/pathfind/proc/search

\ No newline at end of file diff --git a/datum/phrase_log.html b/datum/phrase_log.html new file mode 100644 index 0000000000000..009cb6fb6a3c6 --- /dev/null +++ b/datum/phrase_log.html @@ -0,0 +1,3 @@ +/datum/phrase_log - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

/datum/phrase_log

Procs

log_phraseLogs a phrase to a selected category duh
random_api_phraseGets a random phrase from the Goonhub API database, categories are "ai_laws", "tickets", "fines"
random_phraseGets a random logged phrase from a selected category duh +arguments let you control if you only want phrases from previous rounds or only from the current round

Proc Details

log_phrase

Logs a phrase to a selected category duh

random_api_phrase

Gets a random phrase from the Goonhub API database, categories are "ai_laws", "tickets", "fines"

random_phrase

Gets a random logged phrase from a selected category duh +arguments let you control if you only want phrases from previous rounds or only from the current round

\ No newline at end of file diff --git a/datum/pid.html b/datum/pid.html new file mode 100644 index 0000000000000..03e2956795567 --- /dev/null +++ b/datum/pid.html @@ -0,0 +1,3 @@ +/datum/pid - Goonstation 13
Goonstation 13 - Modules - Types

/datum/pid

Provide support for basic PID Controller +Allows for dampening an approach to a target value

+

https://en.wikipedia.org/wiki/PID_controller

\ No newline at end of file diff --git a/datum/pipe_network.html b/datum/pipe_network.html new file mode 100644 index 0000000000000..7351c29f98072 --- /dev/null +++ b/datum/pipe_network.html @@ -0,0 +1,4 @@ +/datum/pipe_network - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/pipe_network

Vars

air_transientTemporary air datum to distribute out to members during reconcilation.
gasesAll of the gas_mixtures continuously connected in this network
line_membersList of pipelines to process.
normal_membersList of non-pipe atmospheric items. Items must add themselves to this list to be processed.
updateWhether to equalise our gases.

Procs

air_disposing_hookRemove gases in args from our gases.
build_network
member_disposingRemove pipeline from members.
mergeMerges giver's normal members and line members into self, deletes giver afterwards.
processProcess reconcilation if /datum/pipe_network/var/update is TRUE and processes line members.
reconcile_airPerfectly equalises all gases in [/datum/pipe_network/var/list/gases]. Fails if volume is negative.
update_network_gasesGoes through the membership roster and updates all gases to be up to date.

Var Details

air_transient

Temporary air datum to distribute out to members during reconcilation.

gases

All of the gas_mixtures continuously connected in this network

line_members

List of pipelines to process.

normal_members

List of non-pipe atmospheric items. Items must add themselves to this list to be processed.

update

Whether to equalise our gases.

Proc Details

air_disposing_hook

Remove gases in args from our gases.

build_network

member_disposing

Remove pipeline from members.

merge

Merges giver's normal members and line members into self, deletes giver afterwards.

process

Process reconcilation if /datum/pipe_network/var/update is TRUE and processes line members.

reconcile_air

Perfectly equalises all gases in [/datum/pipe_network/var/list/gases]. Fails if volume is negative.

update_network_gases

Goes through the membership roster and updates all gases to be up to date.

\ No newline at end of file diff --git a/datum/pipeline.html b/datum/pipeline.html new file mode 100644 index 0000000000000..1419100e85d56 --- /dev/null +++ b/datum/pipeline.html @@ -0,0 +1,3 @@ +/datum/pipeline - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/pipeline

Vars

airThe combined air mixture of all our members.
alert_pressurePressure at which to start checking for ruptures.
cooldownsUsed for the cooldown system
edgesList of pipes that border non-pipes. Pipeline extensions start from these.
membersAll the pipes that we own.
networkThe pipe network we belong in.

Procs

build_pipelineBuilds a pipeline out into other pipes.
mingle_with_turfMixes the turf with some volume of our air.
network_expandExpands new_network into our pipeline if we are not yet in it.
processProcess pipe ruptures.
return_networkReturns our network, building a new one if we do not yet have one.
temperature_interactExchanges the heat between the turf and some volume of our air. +Thermal_conductivity is used as a factor with 0 meaning no heat transfer and 1 meaning perfect equalisation.
temporarily_store_airTemporarily distributes [/datum/pipeline/var/datum/gas_mixture/air] into our members.

Var Details

air

The combined air mixture of all our members.

alert_pressure

Pressure at which to start checking for ruptures.

cooldowns

Used for the cooldown system

edges

List of pipes that border non-pipes. Pipeline extensions start from these.

members

All the pipes that we own.

network

The pipe network we belong in.

Proc Details

build_pipeline

Builds a pipeline out into other pipes.

mingle_with_turf

Mixes the turf with some volume of our air.

network_expand

Expands new_network into our pipeline if we are not yet in it.

process

Process pipe ruptures.

return_network

Returns our network, building a new one if we do not yet have one.

temperature_interact

Exchanges the heat between the turf and some volume of our air. +Thermal_conductivity is used as a factor with 0 meaning no heat transfer and 1 meaning perfect equalisation.

temporarily_store_air

Temporarily distributes [/datum/pipeline/var/datum/gas_mixture/air] into our members.

\ No newline at end of file diff --git a/datum/plant.html b/datum/plant.html new file mode 100644 index 0000000000000..078f9a4ee53ca --- /dev/null +++ b/datum/plant.html @@ -0,0 +1 @@ +/datum/plant - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

plant species name

Vars

dont_rename_cropDon't rename the crop after the plant.
force_seed_on_harvestan override on 1 so plants like synthmeat can give seeds. an override on -1 so plants like creeper don't give seeds at all.
innate_commutsWhat kind of mutations should every seed of this plant receive when it is generated

Procs

HYPget_growth_stageThis proc returns the theoretical growth stage of the plant with (optional) passed_plantgenes and a given growth
HYPget_growth_to_growingthis proc returns the time needed for the plant with (optional) passed_plantgenes to reach the "growing"-stage
HYPget_growth_to_harvestablethis proc returns the time needed for the plant with (optional) passed_plantgenes to reach the "harvestable"-stage
HYPget_growth_to_maturedthis proc returns the time needed for the plant with (optional) passed_plantgenes to reach the "matured"-stage

Var Details

dont_rename_crop

Don't rename the crop after the plant.

force_seed_on_harvest

an override on 1 so plants like synthmeat can give seeds. an override on -1 so plants like creeper don't give seeds at all.

innate_commuts

What kind of mutations should every seed of this plant receive when it is generated

Proc Details

HYPget_growth_stage

This proc returns the theoretical growth stage of the plant with (optional) passed_plantgenes and a given growth

HYPget_growth_to_growing

this proc returns the time needed for the plant with (optional) passed_plantgenes to reach the "growing"-stage

HYPget_growth_to_harvestable

this proc returns the time needed for the plant with (optional) passed_plantgenes to reach the "harvestable"-stage

HYPget_growth_to_matured

this proc returns the time needed for the plant with (optional) passed_plantgenes to reach the "matured"-stage

\ No newline at end of file diff --git a/datum/plant_gene_strain.html b/datum/plant_gene_strain.html new file mode 100644 index 0000000000000..22090e4334957 --- /dev/null +++ b/datum/plant_gene_strain.html @@ -0,0 +1,15 @@ +/datum/plant_gene_strain - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

/datum/plant_gene_strain

Procs

changes_after_splicingThis proc is called after a seed is created and received all changes associated with being spliced +This should also be called whenever you have changes that need to be done whenever this commut touches a seed
get_plant_stat_modifierThis proc is called when a commut does modify a stat. This lets more plants be affected by stuff like superior quality +and move some magic numbers out of plantpot.dm +This proc takes the base value of the stat and returns a modifier that is added/subtracted from the plant
on_additionThis proc is called when a plant or seed firstly receives the gene strain in question e.g. through HYPaddCommut, HYPnewcommutcheck. +Use this if you want to manipulate the plantgenes if its the first time the generation of seeds gains it +This is not called when a seed receive this plant gene through passing along the generation e.g. splicing or HYPpassplantgenes.
on_passingThis proc is called when a plant or seed firstly receives the gene strain in question e.g. throught splicing or HYPpassplantgenes. +call this if you want a certain effect to happen multiple times each generation.
on_removalThis proc is called when a plant or seed removes the gene strain in question e.g. through HYPremoveCommut +This may be usefull for some whacky gene strains that do something when added and decides at some point to remove themselves and e.g. tank stats as a result

Proc Details

changes_after_splicing

This proc is called after a seed is created and received all changes associated with being spliced +This should also be called whenever you have changes that need to be done whenever this commut touches a seed

get_plant_stat_modifier

This proc is called when a commut does modify a stat. This lets more plants be affected by stuff like superior quality +and move some magic numbers out of plantpot.dm +This proc takes the base value of the stat and returns a modifier that is added/subtracted from the plant

on_addition

This proc is called when a plant or seed firstly receives the gene strain in question e.g. through HYPaddCommut, HYPnewcommutcheck. +Use this if you want to manipulate the plantgenes if its the first time the generation of seeds gains it +This is not called when a seed receive this plant gene through passing along the generation e.g. splicing or HYPpassplantgenes.

on_passing

This proc is called when a plant or seed firstly receives the gene strain in question e.g. throught splicing or HYPpassplantgenes. +call this if you want a certain effect to happen multiple times each generation.

on_removal

This proc is called when a plant or seed removes the gene strain in question e.g. through HYPremoveCommut +This may be usefull for some whacky gene strains that do something when added and decides at some point to remove themselves and e.g. tank stats as a result

\ No newline at end of file diff --git a/datum/plantgenes.html b/datum/plantgenes.html new file mode 100644 index 0000000000000..e98af9a5822b8 --- /dev/null +++ b/datum/plantgenes.html @@ -0,0 +1 @@ +/datum/plantgenes - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

/datum/plantgenes

Procs

get_effective_valueThis gives out a plant stat, modified by all commuts that affect produce

Proc Details

get_effective_value

This gives out a plant stat, modified by all commuts that affect produce

\ No newline at end of file diff --git a/datum/plantgrowth_tick.html b/datum/plantgrowth_tick.html new file mode 100644 index 0000000000000..577bc87a660a6 --- /dev/null +++ b/datum/plantgrowth_tick.html @@ -0,0 +1,3 @@ +/datum/plantgrowth_tick - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/plantgrowth_tick

plantgrowth_tick is a container that saves information about changes that are happening within a plant during a tick. +This is passed to procs of chems and plantgenes and is modified +After plantgenes, chems and plant-effects are resolved, this proc can be resolved and removed with /obj/machinery/plantpot/proc/HYPresolve_plantgrowth_tick

Vars

acid_damageAcid damage dealt to the plant by chems, e.g. sulfuric acid
bonus_growth_rateBonus growth rate if the plant does not have too much water
bonus_growth_water_limitLimit, at which point the plant has too much water and thus doesn't gain additional growth
bonus_health_rateBonus health if the plant does not have too much water
cropsize_bonusA bonus to cropsize stat that will be applied to the plant
endurance_bonusA bonus to endurance stat that will be applied to the plant
fire_damageFire damage dealt to the plant by chems, e.g. phlog
growth_rateThe growth rate this plantgrowth_tick will apply
growtime_bonusA bonus to growtime stat that will be applied to the plant
harvests_bonusA bonus to harvests stat that will be applied to the plant
harvtime_bonusA bonus to harvtime stat that will be applied to the plant
health_changeA bonus to health that will be applied to the plant
mutation_severityMutation chance applied to the plant by chems, e.g. unstable mutagen
nectar_generation_multiplier_bonusA bonus to the random variable of the nectar-generation.
poison_damagePoison damage dealt to the plant by chems, e.g. weedkiller
potency_bonusA bonus to potency stat that will be applied to the plant
radiation_damageRadiation damage dealt to the plant by chems, e.g. radium
referenced_plantpotThis is the plantpot that currently handles the plantpot in question
thirst_damageThe amount of damage dealt to the plant if there is not enough water/water-substitute
thirst_growth_rate_multiplierthe multiplier the plant will receive to growth rate if there is no water in the plantpot, baseline 0 for normal plants, 1 for e.g. weeds
tick_multiplierMultiplier to the changes made by this, if something does quicken the growthcycles
water_consumptionThe rate of chemicals this tick of plantgrowth will consume

Var Details

acid_damage

Acid damage dealt to the plant by chems, e.g. sulfuric acid

bonus_growth_rate

Bonus growth rate if the plant does not have too much water

bonus_growth_water_limit

Limit, at which point the plant has too much water and thus doesn't gain additional growth

bonus_health_rate

Bonus health if the plant does not have too much water

cropsize_bonus

A bonus to cropsize stat that will be applied to the plant

endurance_bonus

A bonus to endurance stat that will be applied to the plant

fire_damage

Fire damage dealt to the plant by chems, e.g. phlog

growth_rate

The growth rate this plantgrowth_tick will apply

growtime_bonus

A bonus to growtime stat that will be applied to the plant

harvests_bonus

A bonus to harvests stat that will be applied to the plant

harvtime_bonus

A bonus to harvtime stat that will be applied to the plant

health_change

A bonus to health that will be applied to the plant

mutation_severity

Mutation chance applied to the plant by chems, e.g. unstable mutagen

nectar_generation_multiplier_bonus

A bonus to the random variable of the nectar-generation.

poison_damage

Poison damage dealt to the plant by chems, e.g. weedkiller

potency_bonus

A bonus to potency stat that will be applied to the plant

radiation_damage

Radiation damage dealt to the plant by chems, e.g. radium

referenced_plantpot

This is the plantpot that currently handles the plantpot in question

thirst_damage

The amount of damage dealt to the plant if there is not enough water/water-substitute

thirst_growth_rate_multiplier

the multiplier the plant will receive to growth rate if there is no water in the plantpot, baseline 0 for normal plants, 1 for e.g. weeds

tick_multiplier

Multiplier to the changes made by this, if something does quicken the growthcycles

water_consumption

The rate of chemicals this tick of plantgrowth will consume

\ No newline at end of file diff --git a/datum/plantmutation.html b/datum/plantmutation.html new file mode 100644 index 0000000000000..5e9cd237612ce --- /dev/null +++ b/datum/plantmutation.html @@ -0,0 +1 @@ +/datum/plantmutation - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/plantmutation

Vars

brew_resultOverride the crop's brew result
dont_rename_cropIf the crop should not be renamed based on the plant's mutation.
infusion_chancechance of an infusion of one of those reagents producing this mutation
infusion_reagentswhat reagents cause this mutation on infusion
required_mutationIs a particular other mutation required for this? (type not instance)

Procs

HYPdestroyplant_proc_MWhen the plant is destroyed or picked up by a trowel
HYPmatured_proc_MWhen the plant matures
HYPon_mutation_generalWhen the plant mutates to this mutation and you need to adjusted its stats/commuts (either in seed in plantmaster or pot)
HYPon_mutation_potWhen the plant mutates to this mutation and you want something special (like mutates with a burst of flames)
HYPpotted_proc_MWhen the plant is put in a decorative pot

Var Details

brew_result

Override the crop's brew result

dont_rename_crop

If the crop should not be renamed based on the plant's mutation.

infusion_chance

chance of an infusion of one of those reagents producing this mutation

infusion_reagents

what reagents cause this mutation on infusion

required_mutation

Is a particular other mutation required for this? (type not instance)

Proc Details

HYPdestroyplant_proc_M

When the plant is destroyed or picked up by a trowel

HYPmatured_proc_M

When the plant matures

HYPon_mutation_general

When the plant mutates to this mutation and you need to adjusted its stats/commuts (either in seed in plantmaster or pot)

HYPon_mutation_pot

When the plant mutates to this mutation and you want something special (like mutates with a burst of flames)

HYPpotted_proc_M

When the plant is put in a decorative pot

\ No newline at end of file diff --git a/datum/player.html b/datum/player.html new file mode 100644 index 0000000000000..db73c5feb6e2d --- /dev/null +++ b/datum/player.html @@ -0,0 +1 @@ +/datum/player - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/player

for client variables and stuff that has to persist between connections

Vars

antag_tokensAntag tokens this person has, null until it's fetched
buildmodebuildmode holder of our client so it doesn't need to get rebuilt every time we reconnect
cached_jobbansCache jobbans here to speed things up massively
ckeythe ckey of the client object that this datum is attached to
claimed_rewardsKeeps track of once-per-round rewards
clientthe client object that this datum is attached to
clients_posposition of client in in global.clients
cloudSavesManager for cloud data and saves
cooldownsa list of cooldowns that has to persist between connections
current_playtimethe total time that this player has been playing the game this round, in 1/10ths of a second
dnrwhether this person set DNR (Do not revive)
idthe ID of the player as provided by the Goonhub API
is_newbeeindicates if this is a player who is new to goonstation
joined_namesreal_names this person has joined as
joined_observerkeep track of whether this player joined round as an observer (blocks them from bank payouts)
keythe key of the client object that this datum is attached to
last_death_timeLast time this person died (used for critter respawns)
last_seentimestamp of when they were last seen
mentorare they a mentor?
perm_adminwhteher this person is a permanent admin
round_join_timethe server time that this player joined the game, in 1/10ths of a second
round_leave_timethe server time that this player left the game, in 1/10ths of a second
rounds_participatedhow many rounds (total) theyve declared ready and joined, null with to differentiate between not set and no participation
rounds_participated_rphow many rounds (rp only) theyve declared ready and joined, null with to differentiate between not set and no participation
rounds_seenhow many rounds (total) theyve joined to at least the lobby in, null to differentiate between not set and not seen
rounds_seen_rphow many rounds (rp only) theyve joined to at least the lobby in, null to differentiate between not set and not seen
see_mentor_pmsdo we want to see mentor pms?
shamecubedto make sure that they cant escape being shamecubed by just reconnecting
tempminwhether this person is a temporary admin (this round only)

Procs

Newsets up vars, caches player stats, adds by_type list entry for this datum
cache_round_statsqueries api to cache stats so its only done once per player per round
cache_round_stats_blockingblocking version of cache_round_stats, queries api to cache stats so its only done once per player per round (please update this proc when adding more player stat vars)
calculate_played_timeadds the calculated playtime (in 1/10ths of a second) to the playtime variable
clear_medalRemoves a medal from this player. Will sleep, make sure the proc calling this is in a spawn etc
disposingremoves by_type list entry for this datum, clears dangling references
get_all_medalsReturns a list of all medals of this player. Will sleep, make sure the proc calling this is in a spawn etc
get_round_statsreturns an assoc list of cached player stats (please update this proc when adding more player stat vars)
get_rounds_participatedreturns the number of rounds that the player has played by joining in at roundstart
get_rounds_seenreturns the number of rounds that the player has at least joined the lobby in
has_medalChecks if this player has a medal. Will sleep, make sure the proc calling this is in a spawn etc
log_join_timesets the join time to the current server time, in 1/10ths of a second
log_leave_timesets the leave time to the current server time, in 1/10ths of a second
record_loginRecord a player login via the API. Sets player ID field for future API use
unlock_medalGives this player a medal. Will not sleep, but does not have a return value. Use unlock_medal_sync if you need to know if it worked
unlock_medal_syncGives this player a medal. Will sleep, make sure the proc calling this is in a spawn etc

Var Details

antag_tokens

Antag tokens this person has, null until it's fetched

buildmode

buildmode holder of our client so it doesn't need to get rebuilt every time we reconnect

cached_jobbans

Cache jobbans here to speed things up massively

ckey

the ckey of the client object that this datum is attached to

claimed_rewards

Keeps track of once-per-round rewards

client

the client object that this datum is attached to

clients_pos

position of client in in global.clients

cloudSaves

Manager for cloud data and saves

cooldowns

a list of cooldowns that has to persist between connections

current_playtime

the total time that this player has been playing the game this round, in 1/10ths of a second

dnr

whether this person set DNR (Do not revive)

id

the ID of the player as provided by the Goonhub API

is_newbee

indicates if this is a player who is new to goonstation

joined_names

real_names this person has joined as

joined_observer

keep track of whether this player joined round as an observer (blocks them from bank payouts)

key

the key of the client object that this datum is attached to

last_death_time

Last time this person died (used for critter respawns)

last_seen

timestamp of when they were last seen

mentor

are they a mentor?

perm_admin

whteher this person is a permanent admin

round_join_time

the server time that this player joined the game, in 1/10ths of a second

round_leave_time

the server time that this player left the game, in 1/10ths of a second

rounds_participated

how many rounds (total) theyve declared ready and joined, null with to differentiate between not set and no participation

rounds_participated_rp

how many rounds (rp only) theyve declared ready and joined, null with to differentiate between not set and no participation

rounds_seen

how many rounds (total) theyve joined to at least the lobby in, null to differentiate between not set and not seen

rounds_seen_rp

how many rounds (rp only) theyve joined to at least the lobby in, null to differentiate between not set and not seen

see_mentor_pms

do we want to see mentor pms?

shamecubed

to make sure that they cant escape being shamecubed by just reconnecting

tempmin

whether this person is a temporary admin (this round only)

Proc Details

New

sets up vars, caches player stats, adds by_type list entry for this datum

cache_round_stats

queries api to cache stats so its only done once per player per round

cache_round_stats_blocking

blocking version of cache_round_stats, queries api to cache stats so its only done once per player per round (please update this proc when adding more player stat vars)

calculate_played_time

adds the calculated playtime (in 1/10ths of a second) to the playtime variable

clear_medal

Removes a medal from this player. Will sleep, make sure the proc calling this is in a spawn etc

disposing

removes by_type list entry for this datum, clears dangling references

get_all_medals

Returns a list of all medals of this player. Will sleep, make sure the proc calling this is in a spawn etc

get_round_stats

returns an assoc list of cached player stats (please update this proc when adding more player stat vars)

get_rounds_participated

returns the number of rounds that the player has played by joining in at roundstart

get_rounds_seen

returns the number of rounds that the player has at least joined the lobby in

has_medal

Checks if this player has a medal. Will sleep, make sure the proc calling this is in a spawn etc

log_join_time

sets the join time to the current server time, in 1/10ths of a second

log_leave_time

sets the leave time to the current server time, in 1/10ths of a second

record_login

Record a player login via the API. Sets player ID field for future API use

unlock_medal

Gives this player a medal. Will not sleep, but does not have a return value. Use unlock_medal_sync if you need to know if it worked

unlock_medal_sync

Gives this player a medal. Will sleep, make sure the proc calling this is in a spawn etc

\ No newline at end of file diff --git a/datum/poll_ballot.html b/datum/poll_ballot.html new file mode 100644 index 0000000000000..b6b0242fc3f73 --- /dev/null +++ b/datum/poll_ballot.html @@ -0,0 +1 @@ +/datum/poll_ballot - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/poll_ballot

Vars

rate_limit_soft_capsoft cap to start forcing 1 second cooldown
showVotestoggle for whether or not to show the votes on polls

Procs

pick_expiration_dateprompts users to select a date in the future, returns an iso8601 string or null
pick_serversprompts users to select which servers to target for polling

Var Details

rate_limit_soft_cap

soft cap to start forcing 1 second cooldown

showVotes

toggle for whether or not to show the votes on polls

Proc Details

pick_expiration_date

prompts users to select a date in the future, returns an iso8601 string or null

pick_servers

prompts users to select which servers to target for polling

\ No newline at end of file diff --git a/datum/poll_manager.html b/datum/poll_manager.html new file mode 100644 index 0000000000000..6b2bc7620c52d --- /dev/null +++ b/datum/poll_manager.html @@ -0,0 +1 @@ +/datum/poll_manager - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/poll_manager

master poll controller for the server. Caches the results, syncs with api

Vars

global_server_idserver id for global polls
rp_only_server_idserver id for rp only polls

Procs

sync_polldatafetch and cache the latest poll data from the API

Var Details

global_server_id

server id for global polls

rp_only_server_id

server id for rp only polls

Proc Details

sync_polldata

fetch and cache the latest poll data from the API

\ No newline at end of file diff --git a/datum/powernet.html b/datum/powernet.html new file mode 100644 index 0000000000000..89e2f538b817b --- /dev/null +++ b/datum/powernet.html @@ -0,0 +1 @@ +/datum/powernet - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/powernet

Vars

apc_charge_shareEach APC's share of excess power, offered for recharge
cablesall cables & junctions
data_nodesall networked machinery
nodesall APCs & sources
perapcEstimate of per-APC proportion of output

Var Details

apc_charge_share

Each APC's share of excess power, offered for recharge

cables

all cables & junctions

data_nodes

all networked machinery

nodes

all APCs & sources

perapc

Estimate of per-APC proportion of output

\ No newline at end of file diff --git a/datum/preferences.html b/datum/preferences.html new file mode 100644 index 0000000000000..cef57e9fd76b7 --- /dev/null +++ b/datum/preferences.html @@ -0,0 +1 @@ +/datum/preferences - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/preferences

Vars

custom_partsAn associative list of slots to part IDs, see part_customization.dm

Procs

cloudsave_loadLoad a character profile from the cloud.
cloudsave_saveSave a character profile to the cloud.

Var Details

custom_parts

An associative list of slots to part IDs, see part_customization.dm

Proc Details

cloudsave_load

Load a character profile from the cloud.

cloudsave_save

Save a character profile to the cloud.

\ No newline at end of file diff --git a/datum/proccall_editor.html b/datum/proccall_editor.html new file mode 100644 index 0000000000000..362af07d2449b --- /dev/null +++ b/datum/proccall_editor.html @@ -0,0 +1,3 @@ +/datum/proccall_editor - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/proccall_editor

Vars

closedBoolean field describing if the tgui_color_picker was closed by the user.

Procs

waitWaits for a user's response to the tgui_color_picker's prompt before returning. Returns early if +the window was closed by the user.

Var Details

closed

Boolean field describing if the tgui_color_picker was closed by the user.

Proc Details

wait

Waits for a user's response to the tgui_color_picker's prompt before returning. Returns early if +the window was closed by the user.

\ No newline at end of file diff --git a/datum/processSchedulerView.html b/datum/processSchedulerView.html new file mode 100644 index 0000000000000..68502d67c5a10 --- /dev/null +++ b/datum/processSchedulerView.html @@ -0,0 +1,3 @@ +/datum/processSchedulerView - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

/datum/processSchedulerView

Procs

getContextgetContext +Outputs an interface showing stats for all processes.

Proc Details

getContext

getContext +Outputs an interface showing stats for all processes.

\ No newline at end of file diff --git a/datum/projectile.html b/datum/projectile.html new file mode 100644 index 0000000000000..4bcc40c7402a4 --- /dev/null +++ b/datum/projectile.html @@ -0,0 +1,7 @@ +/datum/projectile - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

projectile

Vars

armor_ignored
fullauto_validif a fullauto-capable weapon should be able to fullauto this ammo type
last_thing_hitfor on_pre_hit. Causes it to early-return TRUE if the thing checked was already cleared for pass-thru
x_offsetabsolute pixel offset of the projectile, set automatically based on the icon size

Procs

copy_appearance_ofcopies the name, visuals, and sfx of another projectile datum - for varedit shenanigans
get_tooltip_contentreturns projectile stats that can be displayed in a tooltip
on_pre_hitCheck if we want to do something before actually hitting the thing we hit +Return TRUE for it to more or less skip collide()
tickDoes a thing every step this projectile takes

Var Details

armor_ignored

fullauto_valid

if a fullauto-capable weapon should be able to fullauto this ammo type

last_thing_hit

for on_pre_hit. Causes it to early-return TRUE if the thing checked was already cleared for pass-thru

x_offset

absolute pixel offset of the projectile, set automatically based on the icon size

Proc Details

copy_appearance_of

copies the name, visuals, and sfx of another projectile datum - for varedit shenanigans

get_tooltip_content

returns projectile stats that can be displayed in a tooltip

on_pre_hit

Check if we want to do something before actually hitting the thing we hit +Return TRUE for it to more or less skip collide()

tick

Does a thing every step this projectile takes

\ No newline at end of file diff --git a/datum/projectile/bullet.html b/datum/projectile/bullet.html new file mode 100644 index 0000000000000..35f0905f3d3ef --- /dev/null +++ b/datum/projectile/bullet.html @@ -0,0 +1 @@ +/datum/projectile/bullet - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/projectile/bullet

Vars

ricochetscan it ricochet off a wall?

Var Details

ricochets

can it ricochet off a wall?

\ No newline at end of file diff --git a/datum/projectile/laser/makeshift.html b/datum/projectile/laser/makeshift.html new file mode 100644 index 0000000000000..8842de82231a7 --- /dev/null +++ b/datum/projectile/laser/makeshift.html @@ -0,0 +1 @@ +/datum/projectile/laser/makeshift - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/projectile/laser/makeshift

Vars

heat_highhigher bounds of heat added to the makeshift laser rifle this was fired from
heat_lowlower bounds of heat added to the makeshift laser rifle this was fired from

Var Details

heat_high

higher bounds of heat added to the makeshift laser rifle this was fired from

heat_low

lower bounds of heat added to the makeshift laser rifle this was fired from

\ No newline at end of file diff --git a/datum/projectile/special/shotchem.html b/datum/projectile/special/shotchem.html new file mode 100644 index 0000000000000..2cd78e1721abe --- /dev/null +++ b/datum/projectile/special/shotchem.html @@ -0,0 +1,3 @@ +/datum/projectile/special/shotchem - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

chemical bolt

Procs

emit_chemsSprays some of the chems in the projectile onto everything on hit's turf +Try not to pass it something with an organholder, acid-throwers will disintigrate all their organs
emit_gasReleases some of the projectile's gas into the turf

Proc Details

emit_chems

Sprays some of the chems in the projectile onto everything on hit's turf +Try not to pass it something with an organholder, acid-throwers will disintigrate all their organs

emit_gas

Releases some of the projectile's gas into the turf

\ No newline at end of file diff --git a/datum/projectile/special/shotchem/wave.html b/datum/projectile/special/shotchem/wave.html new file mode 100644 index 0000000000000..bde90a186251a --- /dev/null +++ b/datum/projectile/special/shotchem/wave.html @@ -0,0 +1 @@ +/datum/projectile/special/shotchem/wave - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

chemicals

Vars

chem_pct_app_tilePercentage of total reagents applied to each turf affected
push_typeWhat type of things can we push around?
sizeHow far to either side of the central path does the projectile extend

Var Details

chem_pct_app_tile

Percentage of total reagents applied to each turf affected

push_type

What type of things can we push around?

size

How far to either side of the central path does the projectile extend

\ No newline at end of file diff --git a/datum/projectile/special/spawner.html b/datum/projectile/special/spawner.html new file mode 100644 index 0000000000000..6047f165dc067 --- /dev/null +++ b/datum/projectile/special/spawner.html @@ -0,0 +1 @@ +/datum/projectile/special/spawner - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

dimensional pocket

Vars

use_type_iconDo we get our icon from typetospawn?

Var Details

use_type_icon

Do we get our icon from typetospawn?

\ No newline at end of file diff --git a/datum/promise.html b/datum/promise.html new file mode 100644 index 0000000000000..46d38ca035d30 --- /dev/null +++ b/datum/promise.html @@ -0,0 +1,10 @@ +/datum/promise - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

/datum/promise

Represents a promised value that can then be fulfilled (likely by some other execution context). +Supports waiting for fulfillment.

+

You create this datum, give a copy to some other place and call wait() or wait_for_value() to wait for fulfillment. +The other place can then call the_promise.fulfill(value) to fulfill the promise with value value, this interrupts all the waits.

Procs

fulfillFulfills the promise with value value.
waitWait for the promise to be fulfilled.
wait_for_valueWait for the promise to be fulfilled and return the value.

Proc Details

fulfill

Fulfills the promise with value value.

+

@param value The value to fulfill the promise with. +@return TRUE if the promise was not already fulfilled, FALSE if it was.

wait

Wait for the promise to be fulfilled.

+

@param timeout How long to wait for fulfillment. If not provided wait indefinitely. +@return TRUE if fulfilled, FALSE if not (due to timeout expiring).

wait_for_value

Wait for the promise to be fulfilled and return the value.

+

@param timeout How long to wait for fulfillment. If not provided wait indefinitely. +@return The value of the promise or null if unfulfilled.

\ No newline at end of file diff --git a/datum/pump_ui.html b/datum/pump_ui.html new file mode 100644 index 0000000000000..6b56582075f31 --- /dev/null +++ b/datum/pump_ui.html @@ -0,0 +1 @@ +/datum/pump_ui - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/pump_ui

Vars

incr_lgThe amount to change by the large increment.
incr_smThe amount to change by the small increment.
max_valueThe maximum our value can be.
min_valueThe minimum our value can be.
pump_nameOur pump's name, simple enough.
value_nameThe name of the value we use.
value_unitsThe units used by our value.

Procs

get_atomReturn some atom from our pump.
get_valueReturn value from our pump.
is_onIs our pump on?
renderGenerates the HTML
set_valueWhat value to set arg to.
show_uiDisplays the UI
toggle_powerToggle our pump's power.

Var Details

incr_lg

The amount to change by the large increment.

incr_sm

The amount to change by the small increment.

max_value

The maximum our value can be.

min_value

The minimum our value can be.

pump_name

Our pump's name, simple enough.

value_name

The name of the value we use.

value_units

The units used by our value.

Proc Details

get_atom

Return some atom from our pump.

get_value

Return value from our pump.

is_on

Is our pump on?

render

Generates the HTML

set_value

What value to set arg to.

show_ui

Displays the UI

toggle_power

Toggle our pump's power.

\ No newline at end of file diff --git a/datum/random_event/major/ion_storm.html b/datum/random_event/major/ion_storm.html new file mode 100644 index 0000000000000..e4273df2b42b4 --- /dev/null +++ b/datum/random_event/major/ion_storm.html @@ -0,0 +1 @@ +/datum/random_event/major/ion_storm - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Ion Storm

Vars

stage_delayThe fraction of message_delay taken up by each stage of the ion storm

Var Details

stage_delay

The fraction of message_delay taken up by each stage of the ion storm

\ No newline at end of file diff --git a/datum/random_event/major/law_rack_corruption.html b/datum/random_event/major/law_rack_corruption.html new file mode 100644 index 0000000000000..b85fd2f644ecd --- /dev/null +++ b/datum/random_event/major/law_rack_corruption.html @@ -0,0 +1 @@ +/datum/random_event/major/law_rack_corruption - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Law Rack Corruption

Vars

new_lawsList of premade laws we can pick from

Var Details

new_laws

List of premade laws we can pick from

\ No newline at end of file diff --git a/datum/random_event/major/player_spawn.html b/datum/random_event/major/player_spawn.html new file mode 100644 index 0000000000000..a9b4648fd2905 --- /dev/null +++ b/datum/random_event/major/player_spawn.html @@ -0,0 +1 @@ +/datum/random_event/major/player_spawn - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/random_event/major/player_spawn

Vars

targetableCan this event be given a custom spawn location

Var Details

targetable

Can this event be given a custom spawn location

\ No newline at end of file diff --git a/datum/random_event/minor/trader.html b/datum/random_event/minor/trader.html new file mode 100644 index 0000000000000..65c0cf39914dd --- /dev/null +++ b/datum/random_event/minor/trader.html @@ -0,0 +1 @@ +/datum/random_event/minor/trader - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

Travelling Trader

Vars

end_locationStation area the shuttle goes to
start_locationCentcom area the shuttle comes from

Procs

arriveGet shuttle from centcom
departSend shuttle to centcom

Var Details

end_location

Station area the shuttle goes to

start_location

Centcom area the shuttle comes from

Proc Details

arrive

Get shuttle from centcom

depart

Send shuttle to centcom

\ No newline at end of file diff --git a/datum/rc_entry.html b/datum/rc_entry.html new file mode 100644 index 0000000000000..84b12f9ce721d --- /dev/null +++ b/datum/rc_entry.html @@ -0,0 +1,8 @@ +/datum/rc_entry - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/rc_entry

Requisition contract entry: analyzes things passed to it, returns whether they were needed, and is checked for completion at end of analyses.

Vars

countWhat quantity this entry requires (examples: item quantity, stack quantity or reagent units); can be adjusted at any point during creation.
entryclassThe evaluation class of the entry; used for formatting when building the text form of a contract's list of requirements.
feemodHow much this entry will contribute to a contract's overall payout, PER COUNT. Some entry types can configure this from commodity data.
nameName as shown on the requisition contract itself. Can be different from your item's real name for flavor purposes.
rollcountWhen an item contributes to fulfillment, this value should be incremented; when it matches or exceeds the count, the entry is fully satisfied.

Procs

extra_evalHook point for slight modifications to a contract entry's fulfillment condition. +This should ALWAYS be included in any entry variant, as late as possible in primary checks but before the rolling count is incremented. +It should return TRUE if additional checks pass, and FALSE if they do not.
rc_evalEvaluation proc called by contracts to see whether an item fulfills the entry's requirements.

Var Details

count

What quantity this entry requires (examples: item quantity, stack quantity or reagent units); can be adjusted at any point during creation.

entryclass

The evaluation class of the entry; used for formatting when building the text form of a contract's list of requirements.

feemod

How much this entry will contribute to a contract's overall payout, PER COUNT. Some entry types can configure this from commodity data.

name

Name as shown on the requisition contract itself. Can be different from your item's real name for flavor purposes.

rollcount

When an item contributes to fulfillment, this value should be incremented; when it matches or exceeds the count, the entry is fully satisfied.

Proc Details

extra_eval

Hook point for slight modifications to a contract entry's fulfillment condition. +This should ALWAYS be included in any entry variant, as late as possible in primary checks but before the rolling count is incremented. +It should return TRUE if additional checks pass, and FALSE if they do not.

rc_eval

Evaluation proc called by contracts to see whether an item fulfills the entry's requirements.

+

When creating an entry type, there are two required outputs from the variant's rc_eval proc. +First, it must return true if the atom the entry has been passed contributes to satisfying the condition, so the atom can be consumed. +Second, you must increment rollcount if the condition was satisfied; often by 1, but can be multiple for things like reagents or stacks.

\ No newline at end of file diff --git a/datum/rc_entry/artifact.html b/datum/rc_entry/artifact.html new file mode 100644 index 0000000000000..ab9fb1271df4f --- /dev/null +++ b/datum/rc_entry/artifact.html @@ -0,0 +1 @@ +/datum/rc_entry/artifact - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/rc_entry/artifact

Vars

acceptable_typesTypes of artifact functionality desired. Can be left empty.
required_originOrigin requirement, checked against the artifact's type_name if specified. Current type names are Silicon, Martian, Wizard, Eldritch, Precursor

Var Details

acceptable_types

Types of artifact functionality desired. Can be left empty.

required_origin

Origin requirement, checked against the artifact's type_name if specified. Current type names are Silicon, Martian, Wizard, Eldritch, Precursor

\ No newline at end of file diff --git a/datum/rc_entry/food.html b/datum/rc_entry/food.html new file mode 100644 index 0000000000000..357a52dcfb104 --- /dev/null +++ b/datum/rc_entry/food.html @@ -0,0 +1,9 @@ +/datum/rc_entry/food - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/rc_entry/food

Food item entry, used to properly detect food integrity.

Vars

commodityCommodity path. If defined, will augment the per-item payout with the highest market rate for that commodity, and set the type path if not initially specified.
exactpathIf true, requires precise path; if false (default), sub-paths are accepted.
food_integrityFood integrity determines how the requisition handles bites_left. +FOOD_REQ_BY_ITEM means each individual item fulfills one count, regardless of how many bites it has left. +FOOD_REQ_BY_BITE means each bite fulfills one count - useful for orders of sliceable foods like pizza. +FOOD_REQ_INTACT means the item's bites_left must be equal to the initial defined, suitable for items like fresh produce that should arrive intact. +If you are making a requisition for a particular food item and it's not sliceable, leave this with its default value.
typepathType path of the item the entry is looking for.

Var Details

commodity

Commodity path. If defined, will augment the per-item payout with the highest market rate for that commodity, and set the type path if not initially specified.

exactpath

If true, requires precise path; if false (default), sub-paths are accepted.

food_integrity

Food integrity determines how the requisition handles bites_left. +FOOD_REQ_BY_ITEM means each individual item fulfills one count, regardless of how many bites it has left. +FOOD_REQ_BY_BITE means each bite fulfills one count - useful for orders of sliceable foods like pizza. +FOOD_REQ_INTACT means the item's bites_left must be equal to the initial defined, suitable for items like fresh produce that should arrive intact. +If you are making a requisition for a particular food item and it's not sliceable, leave this with its default value.

typepath

Type path of the item the entry is looking for.

\ No newline at end of file diff --git a/datum/rc_entry/item.html b/datum/rc_entry/item.html new file mode 100644 index 0000000000000..322271f355fb8 --- /dev/null +++ b/datum/rc_entry/item.html @@ -0,0 +1 @@ +/datum/rc_entry/item - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/rc_entry/item

Basic item entry. Use for items that can't stack, and whose properties outside of path aren't relevant.

Vars

commodityCommodity path. If defined, will augment the per-item payout with the highest market rate for that commodity, and set the type path if not initially specified.
exactpathIf true, requires precise path; if false (default), sub-paths are accepted.
typepathType path of the item the entry is looking for.
typepath_altOptional alternate type path to look for. Useful when an item has two functionally interchangeable forms, such as an empty or charged power cell.

Var Details

commodity

Commodity path. If defined, will augment the per-item payout with the highest market rate for that commodity, and set the type path if not initially specified.

exactpath

If true, requires precise path; if false (default), sub-paths are accepted.

typepath

Type path of the item the entry is looking for.

typepath_alt

Optional alternate type path to look for. Useful when an item has two functionally interchangeable forms, such as an empty or charged power cell.

\ No newline at end of file diff --git a/datum/rc_entry/reagent.html b/datum/rc_entry/reagent.html new file mode 100644 index 0000000000000..c6da4e79b4ece --- /dev/null +++ b/datum/rc_entry/reagent.html @@ -0,0 +1 @@ +/datum/rc_entry/reagent - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/rc_entry/reagent

Vars

chem_idsIDs of reagents being looked for in the evaluation; can be a single one in string form, or a list containing several strings.
contained_inReagent container type: optionally set this to a path to require reagents be contained in that particular thing to count.
container_namePlural description of that container - beakers, patches, pills, etc. First letter capitalized. Should be set if contained_in is set.
single_containerIf set to true, entirety of requested reagent must be within a single reagent container in the shipment

Var Details

chem_ids

IDs of reagents being looked for in the evaluation; can be a single one in string form, or a list containing several strings.

contained_in

Reagent container type: optionally set this to a path to require reagents be contained in that particular thing to count.

container_name

Plural description of that container - beakers, patches, pills, etc. First letter capitalized. Should be set if contained_in is set.

single_container

If set to true, entirety of requested reagent must be within a single reagent container in the shipment

\ No newline at end of file diff --git a/datum/rc_entry/seed.html b/datum/rc_entry/seed.html new file mode 100644 index 0000000000000..468af99d08b2b --- /dev/null +++ b/datum/rc_entry/seed.html @@ -0,0 +1,8 @@ +/datum/rc_entry/seed - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/rc_entry/seed

Vars

cropnameName of the desired crop, as it appears in plant genes.
gene_reqsList of required plant gene parameters, each formatted as a key-value pair. +Add your key value pairs to this list, either hard-coded or with a thing in New() BEFORE ..(), for evaluation. Example of the latter: +src.gene_reqs["Maturation"] = rand(10,20) * -1

Var Details

cropname

Name of the desired crop, as it appears in plant genes.

gene_reqs

List of required plant gene parameters, each formatted as a key-value pair. +Add your key value pairs to this list, either hard-coded or with a thing in New() BEFORE ..(), for evaluation. Example of the latter: +src.gene_reqs["Maturation"] = rand(10,20) * -1

+

Available keys (strings): Maturation, Production, Lifespan, Yield, Potency, Endurance. +Number paired with key should be a negative integer for maturation or production, or a positive integer otherwise.

+

If this is left empty, any seed with a genome and the appropriate crop name will be accepted.

\ No newline at end of file diff --git a/datum/rc_entry/stack.html b/datum/rc_entry/stack.html new file mode 100644 index 0000000000000..acfca89849c4d --- /dev/null +++ b/datum/rc_entry/stack.html @@ -0,0 +1 @@ +/datum/rc_entry/stack - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/rc_entry/stack

Stackable item entry. Remarkably, used for items that can be stacked.

Vars

commodityCommodity path. If defined, will augment the per-item payout with the highest market rate for that commodity, and set the type path if not initially specified.
mat_idMaterial ID string. If defined, will require the stack's material's mat_id to match the specified mat_id.
typepathType path of the item the entry is looking for.
typepath_altOptional alternate type path to look for. Useful when an item has two functionally interchangeable forms, such as raw or refined ore.

Var Details

commodity

Commodity path. If defined, will augment the per-item payout with the highest market rate for that commodity, and set the type path if not initially specified.

mat_id

Material ID string. If defined, will require the stack's material's mat_id to match the specified mat_id.

typepath

Type path of the item the entry is looking for.

typepath_alt

Optional alternate type path to look for. Useful when an item has two functionally interchangeable forms, such as raw or refined ore.

\ No newline at end of file diff --git a/datum/rc_itemreward.html b/datum/rc_itemreward.html new file mode 100644 index 0000000000000..206a7b9ec0c07 --- /dev/null +++ b/datum/rc_itemreward.html @@ -0,0 +1,4 @@ +/datum/rc_itemreward - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

something

Item reward datum optionally used in contract creation. +Should generally return an object, or set of objects that makes sense as a list entry (i.e. "fast food meal" for a burger, fries and soda). +To use: in a contract's New(), instantiate one of these and add it to src.item_rewarders.

+

Rewards are only physically created once the contract is successfully fulfilled, so time-sensitive rewards should be feasible if desired.

Vars

countHow many of the reward you'll get; optional, used for more flexibility in front end descriptions
nameWhat the reward is, as shown in front-end if showing item rewards is not disabled

Procs

build_rewardThis should return an item or list of items (NOT A PATH) for the requisition handler to physically pack.

Var Details

count

How many of the reward you'll get; optional, used for more flexibility in front end descriptions

name

What the reward is, as shown in front-end if showing item rewards is not disabled

Proc Details

build_reward

This should return an item or list of items (NOT A PATH) for the requisition handler to physically pack.

\ No newline at end of file diff --git a/datum/reagent.html b/datum/reagent.html new file mode 100644 index 0000000000000..b1c1915d05088 --- /dev/null +++ b/datum/reagent.html @@ -0,0 +1 @@ +/datum/reagent - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

Reagent

Vars

fluid_flagsIs it banned from various fluid types, see _std/defines/reagents.dm
initial_metabolizedHas this chem been in the person's bloodstream for at least one cycle?
transparencyFluids now have colors

Procs

calculate_depletion_rateThis calculates the depletion rate of a chem. In case you want to modify the result of the chems normal depletion rate
get_recipes_in_textReturns a representation of this reagent's recipes in text form
initial_metabolizeCalled once on the first cycle that this chem is processed in the target

Var Details

fluid_flags

Is it banned from various fluid types, see _std/defines/reagents.dm

initial_metabolized

Has this chem been in the person's bloodstream for at least one cycle?

transparency

Fluids now have colors

Proc Details

calculate_depletion_rate

This calculates the depletion rate of a chem. In case you want to modify the result of the chems normal depletion rate

get_recipes_in_text

Returns a representation of this reagent's recipes in text form

initial_metabolize

Called once on the first cycle that this chem is processed in the target

\ No newline at end of file diff --git a/datum/reagent/blood.html b/datum/reagent/blood.html new file mode 100644 index 0000000000000..cdc0f064883b7 --- /dev/null +++ b/datum/reagent/blood.html @@ -0,0 +1 @@ +/datum/reagent/blood - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

blood

BODILY FLUIDS

Vars

congealedif this blood came from a pill, stops vampires getting points from it

Var Details

congealed

if this blood came from a pill, stops vampires getting points from it

\ No newline at end of file diff --git a/datum/reagent/harmful/acid.html b/datum/reagent/harmful/acid.html new file mode 100644 index 0000000000000..7796ff901b7c1 --- /dev/null +++ b/datum/reagent/harmful/acid.html @@ -0,0 +1 @@ +/datum/reagent/harmful/acid - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

sulfuric acid

Vars

melts_itemsdoes this melt items? sulfuric acid doesn't since it smokes on reaction and that's Brutal

Var Details

melts_items

does this melt items? sulfuric acid doesn't since it smokes on reaction and that's Brutal

\ No newline at end of file diff --git a/datum/reagent/harmful/hyper_vomitium.html b/datum/reagent/harmful/hyper_vomitium.html new file mode 100644 index 0000000000000..9b7930d40e351 --- /dev/null +++ b/datum/reagent/harmful/hyper_vomitium.html @@ -0,0 +1 @@ +/datum/reagent/harmful/hyper_vomitium - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

hyper vomitium

Vars

cycleshow much cycles this has been in the target's system.
vital_organsa list with vital organs the person should, additionally to non_vital_organ_strings, loose on cycle 40 and upwards

Var Details

cycles

how much cycles this has been in the target's system.

vital_organs

a list with vital organs the person should, additionally to non_vital_organ_strings, loose on cycle 40 and upwards

\ No newline at end of file diff --git a/datum/reagents.html b/datum/reagents.html new file mode 100644 index 0000000000000..1129f58658b82 --- /dev/null +++ b/datum/reagents.html @@ -0,0 +1,15 @@ +/datum/reagents - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/reagents

Vars

can_be_heatedcan be heated by external sources
defer_reactionsSet internally to prevent reactions inside reactions.
inertDo not react. At all. Do not pass go, do not collect $200. Halt. Stop right there, son.
postfoamattempt at killing infinite foam

Procs

del_reagent
get_average_colorreturns the average color of the reagents +taking into account concentration and transparency +reagent_exception_ids argument is a list of reagents to excluded from the calculation
get_descriptionreturns text description of reagent(s) +plus exact text of reagents if using correct equipment
get_prevalent_tastesgive a list of the n tastes that are most present in this mixture +takes argument of how many tastes
get_state_descriptionreturns whether reagents are solid, liquid, gas, or mixture
get_taste_stringGets a string of what something tastes like (as shown to the drinker/eater/whatever)
is_fullli'l tiny helper thing vOv
metabolizemultiplier is used to handle realtime metabolizations over byond time
reactionparamslist thingy can override the can_burn oh god im sorry. paramslist only used for mobs for now, feeel free to paste in for turfs objs
reagents_changedredirect my_atom.on_reagent_change() through this function. var/add will be 1 if reagents were just added
temperature_reactCalls the temperature reaction procs without changing the temp.
temperature_reagentsThis is what you use to change the temp of a reagent holder. +Do not manually change the reagent unless you know what youre doing.
trans_toindex = which reagent to transfer (0 = all)

Var Details

can_be_heated

can be heated by external sources

defer_reactions

Set internally to prevent reactions inside reactions.

inert

Do not react. At all. Do not pass go, do not collect $200. Halt. Stop right there, son.

postfoam

attempt at killing infinite foam

Proc Details

del_reagent

get_average_color

returns the average color of the reagents +taking into account concentration and transparency +reagent_exception_ids argument is a list of reagents to excluded from the calculation

get_description

returns text description of reagent(s) +plus exact text of reagents if using correct equipment

get_prevalent_tastes

give a list of the n tastes that are most present in this mixture +takes argument of how many tastes

get_state_description

returns whether reagents are solid, liquid, gas, or mixture

get_taste_string

Gets a string of what something tastes like (as shown to the drinker/eater/whatever)

is_full

li'l tiny helper thing vOv

metabolize

multiplier is used to handle realtime metabolizations over byond time

reaction

paramslist thingy can override the can_burn oh god im sorry. paramslist only used for mobs for now, feeel free to paste in for turfs objs

reagents_changed

redirect my_atom.on_reagent_change() through this function. var/add will be 1 if reagents were just added

temperature_react

Calls the temperature reaction procs without changing the temp.

temperature_reagents

This is what you use to change the temp of a reagent holder. +Do not manually change the reagent unless you know what youre doing.

trans_to

index = which reagent to transfer (0 = all)

\ No newline at end of file diff --git a/datum/recoil_controller.html b/datum/recoil_controller.html new file mode 100644 index 0000000000000..87eedbe5d64ba --- /dev/null +++ b/datum/recoil_controller.html @@ -0,0 +1 @@ +/datum/recoil_controller - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/recoil_controller

Vars

clientThe client that this recoil controller belongs to.
recoilcamera_activewhether or not this mob's recoil camera is active
recoilcamera_anglethe current angle of the mob's recoil camera
recoilcamera_damphow much recoil delta should be multiplied by every 10th of a second
recoilcamera_damp_distancehow much recoil delta should be decreased by, per pixel away from the centre
recoilcamera_flat_reset_speedhow much recoil_delta is reduced by, every 10th of a second
recoilcamera_lasttime of the last recoil impulse
recoilcamera_processingwhether or not this mob's recoil camera is active
recoilcamera_recoil_deltathe rate of change of recoil magnitude
recoilcamera_recoil_magnitudethe magnitude of recoil this mob's experiencing (ie. how far away is the camera)
recoilcamera_sway_damphow much sway delta should be multiplied by every 10th of a second
recoilcamera_sway_deltathe rate of change of the mob's recoil angle
recoilcamera_xcurrent camera x offset from recoil
recoilcamera_ycurrent camera y offset from recoil

Var Details

client

The client that this recoil controller belongs to.

recoilcamera_active

whether or not this mob's recoil camera is active

recoilcamera_angle

the current angle of the mob's recoil camera

recoilcamera_damp

how much recoil delta should be multiplied by every 10th of a second

recoilcamera_damp_distance

how much recoil delta should be decreased by, per pixel away from the centre

recoilcamera_flat_reset_speed

how much recoil_delta is reduced by, every 10th of a second

recoilcamera_last

time of the last recoil impulse

recoilcamera_processing

whether or not this mob's recoil camera is active

recoilcamera_recoil_delta

the rate of change of recoil magnitude

recoilcamera_recoil_magnitude

the magnitude of recoil this mob's experiencing (ie. how far away is the camera)

recoilcamera_sway_damp

how much sway delta should be multiplied by every 10th of a second

recoilcamera_sway_delta

the rate of change of the mob's recoil angle

recoilcamera_x

current camera x offset from recoil

recoilcamera_y

current camera y offset from recoil

\ No newline at end of file diff --git a/datum/region_allocator.html b/datum/region_allocator.html new file mode 100644 index 0000000000000..4511baeed23a1 --- /dev/null +++ b/datum/region_allocator.html @@ -0,0 +1,9 @@ +/datum/region_allocator - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/region_allocator

Vars

custom_admin_regionsdirect references to custom admin made regions to prevent garbage collection

Procs

allocateCalling this proc will give you an access to a region of the map where you can do whatever you want. (Usually load a prefab or generate +some room or something like that). +This region is not guaranteed to be empty of things so clean it up before use. +To free up the region just delete the /datum/allocated_region object or drop all references to it. +See /datum/allocated_region for details.

Var Details

custom_admin_regions

direct references to custom admin made regions to prevent garbage collection

Proc Details

allocate

Calling this proc will give you an access to a region of the map where you can do whatever you want. (Usually load a prefab or generate +some room or something like that). +This region is not guaranteed to be empty of things so clean it up before use. +To free up the region just delete the /datum/allocated_region object or drop all references to it. +See /datum/allocated_region for details.

\ No newline at end of file diff --git a/datum/req_contract.html b/datum/req_contract.html new file mode 100644 index 0000000000000..f80c0138a58db --- /dev/null +++ b/datum/req_contract.html @@ -0,0 +1,18 @@ +/datum/req_contract - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

Requisition Contract

The primary datum for requisitions contracts. +Top level contains cargo handling data, payout data, item reward generators if present, and formatted descriptions for the QM requisitions menu.

+

Actual evaluation of contract entries occurs through requisition entries (/datum/rc_entry) contained within. +The contents of containers are evaluated sequentially, using the rc_eval proc of each entry that hasn't been fulfilled yet at time of evaluation.

+

Fulfillment is managed internally within entries; the contract only cares about whether an item was needed, and whether the entry is satisfied. +You can have any sort of evaluation you like within new types of contract entry, as long as you're feeding back those two pieces of information.

+

Contracts are divided by requisition class. Three market classes of requisition currently exist: Aid, Civilian and Scientific. +Each market cycle, these requisitions are refreshed, with at least one requisition from each category being present after the refresh. +These contract types have different requirements and sometimes an influence on what you can do with them. See individual files for more details. +Special requisition contracts also exist, shipped directly as a hard copy. These obey notably different rules, as described in rc_special.dm.

Vars

countdetermines payout multiplier
flavor_descOptional but recommended flavor text to accompany the contract
hide_item_payoutsIs set to true to prevent any included item rewarders from being shown on contract
item_rewardersOptional list of item rewarder datums; their descriptions will be shown on contract unless flagged otherwise
nameTitle of the contract as used by the requisitions clearinghouse seen in the QM supply computer
payoutA baseline amount of cash you'll be given for fulfilling the requisition; this is modified by entries +The current thinking as of the time of writing this comment is for this to be 10 times some salary's wage, +times an additional modifier based on difficulty
pinnedTracks whether contract is pinned; one contract at a time may be pinned, reserving it for QM and preventing it from leaving with market shift
rc_entriesList of contract entry datums; sent cargo will be passed into these for evaluation
req_classClass of the requisition contract, defaulting to misc (0); aid requisitions are urgent and will not wait for you
req_codeRequisition code used for standard contracts; is automatically generated if not specified, but can be manually set if desired
requis_descMandatory descriptive text that lists contract requirements; automatically populated from the list of rc_entries
weightContract's roll weight; dictates frequency of market appearance, or probability of selection for special order event. Can be left default

Procs

requisifyCalled to tally a crate's contents, to evaluate whether they've fulfilled the contract. +If only_evaluate is FALSE, the proc will actually consume relevant contents, and return a post-sale handling code appropriately. +If only_evaluate is TRUE, the proc will simply index relevant contents, and return a textual summary of detected contract fulfillment.

Var Details

count

determines payout multiplier

flavor_desc

Optional but recommended flavor text to accompany the contract

hide_item_payouts

Is set to true to prevent any included item rewarders from being shown on contract

item_rewarders

Optional list of item rewarder datums; their descriptions will be shown on contract unless flagged otherwise

name

Title of the contract as used by the requisitions clearinghouse seen in the QM supply computer

payout

A baseline amount of cash you'll be given for fulfilling the requisition; this is modified by entries +The current thinking as of the time of writing this comment is for this to be 10 times some salary's wage, +times an additional modifier based on difficulty

pinned

Tracks whether contract is pinned; one contract at a time may be pinned, reserving it for QM and preventing it from leaving with market shift

rc_entries

List of contract entry datums; sent cargo will be passed into these for evaluation

req_class

Class of the requisition contract, defaulting to misc (0); aid requisitions are urgent and will not wait for you

req_code

Requisition code used for standard contracts; is automatically generated if not specified, but can be manually set if desired

requis_desc

Mandatory descriptive text that lists contract requirements; automatically populated from the list of rc_entries

weight

Contract's roll weight; dictates frequency of market appearance, or probability of selection for special order event. Can be left default

Proc Details

requisify

Called to tally a crate's contents, to evaluate whether they've fulfilled the contract. +If only_evaluate is FALSE, the proc will actually consume relevant contents, and return a post-sale handling code appropriately. +If only_evaluate is TRUE, the proc will simply index relevant contents, and return a textual summary of detected contract fulfillment.

\ No newline at end of file diff --git a/datum/req_contract/aid.html b/datum/req_contract/aid.html new file mode 100644 index 0000000000000..fd48562574f00 --- /dev/null +++ b/datum/req_contract/aid.html @@ -0,0 +1,6 @@ +/datum/req_contract/aid - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/req_contract/aid

Aid contracts are a class of standard (market-listed) contract. +Uniquely among contracts, aid contracts can't be pinned due to their urgency, +and will leave after a certain number of market cycles instead of at random. +Requirements and flavor text should convey this urgency.

+

These should -usually- be fairly ordinary supplies that a fast-moving Quartermasters' office can scrounge up with relatively little aid. +Anything more difficult to respond to in short order, or prepare in advance, should yield significantly more cash.

Vars

cycles_remainingNumber of cycles changes that the contract will survive. Defaults to one, which allows contract to be present in two cycles.

Var Details

cycles_remaining

Number of cycles changes that the contract will survive. Defaults to one, which allows contract to be present in two cycles.

\ No newline at end of file diff --git a/datum/req_contract/special.html b/datum/req_contract/special.html new file mode 100644 index 0000000000000..00fa2abb1a3d3 --- /dev/null +++ b/datum/req_contract/special.html @@ -0,0 +1,4 @@ +/datum/req_contract/special - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/req_contract/special

Contracts for utilisation by the special order event. +These are distinguished by the requisition being sent physically, either standalone or in a crate with stuff. +They are not inspected by the requisitions handler, and do not receive the screwup protection that is afforded to regular contracts. +They do not appear in the general market.

Vars

sendingCrateSpecify a crate to send the requisition in, if desired.

Procs

get_rewards_listFormats the requisition's item rewarders for being put on paper.
get_shopping_listFormats src.rc_entries for being put onto paper.

Var Details

sendingCrate

Specify a crate to send the requisition in, if desired.

Proc Details

get_rewards_list

Formats the requisition's item rewarders for being put on paper.

get_shopping_list

Formats src.rc_entries for being put onto paper.

\ No newline at end of file diff --git a/datum/ringtone.html b/datum/ringtone.html new file mode 100644 index 0000000000000..b14400e93e92e --- /dev/null +++ b/datum/ringtone.html @@ -0,0 +1,3 @@ +/datum/ringtone - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

Two-Beep

Ringtones that'll get mashed into a PDA

Vars

alertListThe alert text to play for the sound at this index -- if enabled and not blank
applyTextThe following are used by the PDA programs to display the menu option things +The text that you click to make this your ringtone
canSpawnWithCan this ringtone be selected through character creation?
descTextThe text that works as a flowery form of Description:
extrarange_adjustmentExtrarange added to all ringtones here
has_shortDoes this ringtone have short versions of their tones?
holderThe PDA this happens to be attached to
listCycleTypeSets how to change the index whenever the sound gets played
nameTextThe text that works as a flowery replacement for Name:
overrideAlertWhether this ringtone set should use its alert text instead of the PDA's
pitchListPitch to play the sound at this index
previewMessageThe message sent when previewing the ringtone
previewSenderThe sender of the preview message
previewTextThe test that you click to get a message and hear the ringtone without applying it
rangeListHow much further should this sound carry?
readMessagesDoes this ringtone have special message-specific functionality?
ringListList of sounds
ringListIndexCurrent index to read all the lists from, so if the ringtone wants to cycle through different sounds, it can
ringShortListList of alternate sounds
succTextThe success message when this ringtone gets applied
varyListWhether or not to vary the sound at this index
volListWhat volume to play the sound at this index -- keep all these lists at the same length as ringlist!

Procs

DoSpecialThingDo something special at certain indexes, after playing the sound?
MessageActionSo things with access to the ringtone can do things to it
PlayRingtonePlays the sound at the current index, then change the index

Var Details

alertList

The alert text to play for the sound at this index -- if enabled and not blank

applyText

The following are used by the PDA programs to display the menu option things +The text that you click to make this your ringtone

canSpawnWith

Can this ringtone be selected through character creation?

descText

The text that works as a flowery form of Description:

extrarange_adjustment

Extrarange added to all ringtones here

has_short

Does this ringtone have short versions of their tones?

holder

The PDA this happens to be attached to

listCycleType

Sets how to change the index whenever the sound gets played

nameText

The text that works as a flowery replacement for Name:

overrideAlert

Whether this ringtone set should use its alert text instead of the PDA's

pitchList

Pitch to play the sound at this index

previewMessage

The message sent when previewing the ringtone

previewSender

The sender of the preview message

previewText

The test that you click to get a message and hear the ringtone without applying it

rangeList

How much further should this sound carry?

readMessages

Does this ringtone have special message-specific functionality?

ringList

List of sounds

ringListIndex

Current index to read all the lists from, so if the ringtone wants to cycle through different sounds, it can

ringShortList

List of alternate sounds

succText

The success message when this ringtone gets applied

varyList

Whether or not to vary the sound at this index

volList

What volume to play the sound at this index -- keep all these lists at the same length as ringlist!

Proc Details

DoSpecialThing

Do something special at certain indexes, after playing the sound?

MessageAction

So things with access to the ringtone can do things to it

PlayRingtone

Plays the sound at the current index, then change the index

\ No newline at end of file diff --git a/datum/robot/module_tool_creator.html b/datum/robot/module_tool_creator.html new file mode 100644 index 0000000000000..2b82621acb4f8 --- /dev/null +++ b/datum/robot/module_tool_creator.html @@ -0,0 +1,35 @@ +/datum/robot/module_tool_creator - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

/datum/robot/module_tool_creator

Stub parent.

+

Allows for a tool (or lists of tools) to be created and configured properly.

+

Configuration includes correctly setting them up for inclusion in a robot module.

+

Configuration can include other processing, e.g. random generation.

Procs

apply_to_moduleInstantiates contents and adds to a specific module.
instantiateStub, used to instantiate tool(s). +Ensure setup is called when defining behavior.
setupStub proc. +Used to alter/configure instantiated tool(s).

Proc Details

apply_to_module

Instantiates contents and adds to a specific module.

+

instantiate

Stub, used to instantiate tool(s). +Ensure setup is called when defining behavior.

+

setup

Stub proc. +Used to alter/configure instantiated tool(s).

+
\ No newline at end of file diff --git a/datum/robot/module_tool_creator/item_type.html b/datum/robot/module_tool_creator/item_type.html new file mode 100644 index 0000000000000..422e7aa6bcdd6 --- /dev/null +++ b/datum/robot/module_tool_creator/item_type.html @@ -0,0 +1,11 @@ +/datum/robot/module_tool_creator/item_type - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

/datum/robot/module_tool_creator/item_type

Stub parent.

+

Allows for simple instantiation of a single /obj/item from a type.

+

@property {type</obj/item>} item_type

Procs

instantiateInstantiates single /obj/item from type.

Proc Details

instantiate

Instantiates single /obj/item from type.

+
\ No newline at end of file diff --git a/datum/robot/module_tool_creator/item_type/amount.html b/datum/robot/module_tool_creator/item_type/amount.html new file mode 100644 index 0000000000000..29da62695b696 --- /dev/null +++ b/datum/robot/module_tool_creator/item_type/amount.html @@ -0,0 +1,7 @@ +/datum/robot/module_tool_creator/item_type/amount - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

/datum/robot/module_tool_creator/item_type/amount

Stub parent.

+

Allows simple instantiation of a single /obj/item from a type that uses the amount var.

+

You may need to extend the setup proc for e.g. custom icon state behavior.

+

@property {number} amount=1

Procs

setupcontents {/obj/item} - Instantiated contents +proxy_loc {/atom} - Location used in instantiate

Proc Details

setup

contents {/obj/item} - Instantiated contents +proxy_loc {/atom} - Location used in instantiate

+

return {/obj/item} result

\ No newline at end of file diff --git a/datum/robot/module_tool_creator/item_type/random.html b/datum/robot/module_tool_creator/item_type/random.html new file mode 100644 index 0000000000000..67be5e1504ca0 --- /dev/null +++ b/datum/robot/module_tool_creator/item_type/random.html @@ -0,0 +1,12 @@ +/datum/robot/module_tool_creator/item_type/random - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

/datum/robot/module_tool_creator/item_type/random

Stub parent.

+

Allows instantiation of a single /obj/item type picked from a list of types.

+

@property {/list<type</obj/item>>} item_types

Procs

instantiateInstantiates random ]/obj/item] type picked from item_types

Proc Details

instantiate

Instantiates random ]/obj/item] type picked from item_types

+

Side effect of setting item_type when called

+
\ No newline at end of file diff --git a/datum/robot/module_tool_creator/item_types.html b/datum/robot/module_tool_creator/item_types.html new file mode 100644 index 0000000000000..43d867af9ce30 --- /dev/null +++ b/datum/robot/module_tool_creator/item_types.html @@ -0,0 +1,11 @@ +/datum/robot/module_tool_creator/item_types - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

/datum/robot/module_tool_creator/item_types

Stub parent.

+

Allows simple instantiation of multiple /obj/item instances from a list of types.

+

@property {/list<path</obj/item>>} item_types

Procs

instantiateInstantiates list of /obj/item instances from list of types.

Proc Details

instantiate

Instantiates list of /obj/item instances from list of types.

+
\ No newline at end of file diff --git a/datum/robot/module_tool_creator/recursive.html b/datum/robot/module_tool_creator/recursive.html new file mode 100644 index 0000000000000..361367056a5c1 --- /dev/null +++ b/datum/robot/module_tool_creator/recursive.html @@ -0,0 +1,23 @@ +/datum/robot/module_tool_creator/recursive - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

/datum/robot/module_tool_creator/recursive

Stub parent.

+

Allows instantiations of potentially multiple /obj/item instances via multiple methods.

+

N.B. If possible, use a simpler type due to more complexity in here.

+

@property {/list</datum/robot/module_tool_creator/recursive/definition>} definitions

Procs

instantiateInstantiates list of /obj/item instances via multiple methods.
instantiate_recursiveInstantiates list of /obj/item instances via multiple methods.

Proc Details

instantiate

Instantiates list of /obj/item instances via multiple methods.

+

instantiate_recursive

Instantiates list of /obj/item instances via multiple methods.

+
\ No newline at end of file diff --git a/datum/roundManagement.html b/datum/roundManagement.html new file mode 100644 index 0000000000000..7282f836685c7 --- /dev/null +++ b/datum/roundManagement.html @@ -0,0 +1 @@ +/datum/roundManagement - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

/datum/roundManagement

Procs

recordEndRecord the end of a round (just prior to reboot)
recordStartRecord the start of a round (when a server boots up)
recordUpdateRecord an update to the round (when the game starts)

Proc Details

recordEnd

Record the end of a round (just prior to reboot)

recordStart

Record the start of a round (when a server boots up)

recordUpdate

Record an update to the round (when the game starts)

\ No newline at end of file diff --git a/datum/score_tracker.html b/datum/score_tracker.html new file mode 100644 index 0000000000000..4ca05f17ccf4d --- /dev/null +++ b/datum/score_tracker.html @@ -0,0 +1 @@ +/datum/score_tracker - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

/datum/score_tracker

Procs

calculate_escape_statsEscapee stuff

Proc Details

calculate_escape_stats

Escapee stuff

\ No newline at end of file diff --git a/datum/shipping_market.html b/datum/shipping_market.html new file mode 100644 index 0000000000000..2e1bd92ee7134 --- /dev/null +++ b/datum/shipping_market.html @@ -0,0 +1,3 @@ +/datum/shipping_market - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/shipping_market

Vars

artifact_resupply_amountamount of artifacts in next resupply crate
artifacts_on_the_wayan artifact crate is already "on the way"
pending_cratesList of pending crates (used only for transception antenna, nadir cargo system)
pressure_crystal_peaksPressure crystal market peaks, will positively affect future sales (associative list of pressure to multipliers)
pressure_crystal_salesPreviously sold pressure crystal values, will negatively affect future sales (associative list of pressure to credit value)

Procs

get_market_timeleftReturns the time in MM:SS format
update_buy_pricesupdate the buy price of items based on market fluctuations +remove in demand goods from traders; they're all out!

Var Details

artifact_resupply_amount

amount of artifacts in next resupply crate

artifacts_on_the_way

an artifact crate is already "on the way"

pending_crates

List of pending crates (used only for transception antenna, nadir cargo system)

pressure_crystal_peaks

Pressure crystal market peaks, will positively affect future sales (associative list of pressure to multipliers)

pressure_crystal_sales

Previously sold pressure crystal values, will negatively affect future sales (associative list of pressure to credit value)

Proc Details

get_market_timeleft

Returns the time in MM:SS format

update_buy_prices

update the buy price of items based on market fluctuations +remove in demand goods from traders; they're all out!

\ No newline at end of file diff --git a/datum/shuttle_controller.html b/datum/shuttle_controller.html new file mode 100644 index 0000000000000..f72ae8f1b9b43 --- /dev/null +++ b/datum/shuttle_controller.html @@ -0,0 +1,9 @@ +/datum/shuttle_controller - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/shuttle_controller

Vars

announcement_donethe stages of the shuttle prepping for transit
callcountNumber of shuttle calls required to break through interference (wizard mode)
can_recallset to FALSE in the admin call thing to make it not recallable
centcom_turfNot currently modified
direction-1 = going back to central command, 1 = going back to SS13
disabledBlock shuttle calling if it's disabled.
endtimeround_elapsed_ticks that shuttle arrives
location0 = somewhere far away, 1 = at SS13, 2 = returned from SS13.
map_turfSet in New() by map settings
sound_turfwhere to play takeoff sounds, defined by landmark
transit_turfNot currently modified

Procs

incallcall the shuttle +if not called before, set the endtime to T+600 seconds +otherwise if outgoing, switch to incoming
setdirectionsets the shuttle direction +1 = towards SS13, -1 = back to centcom. Uses defines like SHUTTLE_DIRECTION_TO_STATION
settimeleftsets the time left to a given delay (in seconds)
timeleftreturns the time (in seconds) before shuttle arrival +note if direction = SHUTTLE_DIRECTION_TO_CENTCOMM, gives a count-up to SHUTTLEARRIVETIME

Var Details

announcement_done

the stages of the shuttle prepping for transit

callcount

Number of shuttle calls required to break through interference (wizard mode)

can_recall

set to FALSE in the admin call thing to make it not recallable

centcom_turf

Not currently modified

direction

-1 = going back to central command, 1 = going back to SS13

disabled

Block shuttle calling if it's disabled.

endtime

round_elapsed_ticks that shuttle arrives

location

0 = somewhere far away, 1 = at SS13, 2 = returned from SS13.

map_turf

Set in New() by map settings

sound_turf

where to play takeoff sounds, defined by landmark

transit_turf

Not currently modified

Proc Details

incall

call the shuttle +if not called before, set the endtime to T+600 seconds +otherwise if outgoing, switch to incoming

setdirection

sets the shuttle direction +1 = towards SS13, -1 = back to centcom. Uses defines like SHUTTLE_DIRECTION_TO_STATION

settimeleft

sets the time left to a given delay (in seconds)

timeleft

returns the time (in seconds) before shuttle arrival +note if direction = SHUTTLE_DIRECTION_TO_CENTCOMM, gives a count-up to SHUTTLEARRIVETIME

\ No newline at end of file diff --git a/datum/signal.html b/datum/signal.html new file mode 100644 index 0000000000000..05f6dc01c5145 --- /dev/null +++ b/datum/signal.html @@ -0,0 +1 @@ +/datum/signal - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/signal

Vars

encryptionSet to the error message displayed when sniffing the encrypted packet
encryption_obfuscationHow obfuscated is this encryption, if sniffed by things that can read it?

Var Details

encryption

Set to the error message displayed when sniffing the encrypted packet

encryption_obfuscation

How obfuscated is this encryption, if sniffed by things that can read it?

\ No newline at end of file diff --git a/datum/siphon_mineral.html b/datum/siphon_mineral.html new file mode 100644 index 0000000000000..c8f2d23ceacc6 --- /dev/null +++ b/datum/siphon_mineral.html @@ -0,0 +1 @@ +/datum/siphon_mineral - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Youshouldn'tseemium

Vars

indexedWhether this outcome should be indexed in the player-viewable settings compendium
nameName of mineral, can be used for the player-viewable settings compendium
productStuff to produce when parameters are successfully met
sens_windowSensitivity window for target resonances; a higher window is more forgiving of imprecise settings
setup_guideSetup guide, formatted as a list of strings describing individual resonator positions and intensities
shearTarget resonance shear, always positive; when positive and negative resonance cancel each other out, shear is the differential
tick_reqHow many extraction ticks (process iterations times resonator intensity) are required to produce this resource
x_torqueTarget resonance horizontal strength, positive or negative based on relative X position of resonator multiplied by its power.
y_torqueTarget resonance vertical strength, positive or negative based on relative Y position of resonator multiplied by its power.

Var Details

indexed

Whether this outcome should be indexed in the player-viewable settings compendium

name

Name of mineral, can be used for the player-viewable settings compendium

product

Stuff to produce when parameters are successfully met

sens_window

Sensitivity window for target resonances; a higher window is more forgiving of imprecise settings

setup_guide

Setup guide, formatted as a list of strings describing individual resonator positions and intensities

shear

Target resonance shear, always positive; when positive and negative resonance cancel each other out, shear is the differential

tick_req

How many extraction ticks (process iterations times resonator intensity) are required to produce this resource

x_torque

Target resonance horizontal strength, positive or negative based on relative X position of resonator multiplied by its power.

y_torque

Target resonance vertical strength, positive or negative based on relative Y position of resonator multiplied by its power.

\ No newline at end of file diff --git a/datum/sort_instance.html b/datum/sort_instance.html new file mode 100644 index 0000000000000..384feff99e249 --- /dev/null +++ b/datum/sort_instance.html @@ -0,0 +1,50 @@ +/datum/sort_instance - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/sort_instance

Vars

LThe array being sorted.
associativewhether we are sorting list keys (0: L[i]) or associated values (1: L[L[i]])
cmpThe comparator proc-reference
minGallopThis controls when we get into galloping mode. It is initialized to MIN_GALLOP. +The mergeLo and mergeHi methods nudge it higher for random data, and lower for highly structured data.

Procs

binarySortSorts the specified portion of the specified array using a binary insertion sort. +This is the best method for sorting small numbers of elements.
countRunAndMakeAscendingReturns the length of the run beginning at the specified position and reverses the run if it is back-to-front
gallopLeftLocates the position to insert key within the specified sorted range. +If the range contains elements equal to key, this will return the index of the LEFTMOST of those elements.
gallopRightLike gallopLeft, except that if the range contains an element equal to +key, gallopRight returns the index after the rightmost equal element.
mergeAtMerges the two consecutive runs at stack indices i and i+1. +Run i must be the penultimate or antepenultimate run on the stack. +In other words, i must be equal to stackSize-2 or stackSize-3.
mergeCollapseExamines the stack of runs waiting to be merged and merges adjacent runs until the stack invariants are reestablished:
mergeForceCollapseMerges all runs on the stack until only one remains. +Called only once, to finalise the sort
mergeLoMerges two adjacent runs in-place in a stable fashion. +For performance this method should only be called when len1 <= len2!
minRunLengthReturns the minimum acceptable run length for an array of the specified length. +Natural runs shorter than this will be extended with binarySort

Var Details

L

The array being sorted.

associative

whether we are sorting list keys (0: L[i]) or associated values (1: L[L[i]])

cmp

The comparator proc-reference

minGallop

This controls when we get into galloping mode. It is initialized to MIN_GALLOP. +The mergeLo and mergeHi methods nudge it higher for random data, and lower for highly structured data.

Proc Details

binarySort

Sorts the specified portion of the specified array using a binary insertion sort. +This is the best method for sorting small numbers of elements.

+

It requires O(n log n) compares, but O(n^2) data movement (worst case).

+

If the initial part of the specified range is already sorted, +this method can take advantage of it: the method assumes that the +elements in range [lo,start) are already sorted

+

lo the index of the first element in the range to be sorted

+

hi the index after the last element in the range to be sorted

+

start the index of the first element in the range that is not already known to be sorted

countRunAndMakeAscending

Returns the length of the run beginning at the specified position and reverses the run if it is back-to-front

+

A run is the longest ascending sequence with: +a[lo] <= a[lo + 1] <= a[lo + 2] <= ...

+

or the longest descending sequence with: +a[lo] > a[lo + 1] > a[lo + 2] > ...

+

For its intended use in a stable mergesort, the strictness of the +definition of "descending" is needed so that the call can safely +reverse a descending sequence without violating stability.

gallopLeft

Locates the position to insert key within the specified sorted range. +If the range contains elements equal to key, this will return the index of the LEFTMOST of those elements.

+

key the element to be inserted into the sorted range

+

base the index of the first element of the sorted range

+

len the length of the sorted range, must be greater than 0

+

hint the offset from base at which to begin the search, such that 0 <= hint < len; i.e. base <= hint < base+hint

+

Returns the index at which to insert element 'key'

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]

mergeAt

Merges the two consecutive runs at stack indices i and i+1. +Run i must be the penultimate or antepenultimate run on the stack. +In other words, i must be equal to stackSize-2 or stackSize-3.

mergeCollapse

Examines the stack of runs waiting to be merged and merges adjacent runs until the stack invariants are reestablished:

+

runLen[i-3] > runLen[i-2] + runLen[i-1]

+

runLen[i-2] > runLen[i-1]

+

This method is called each time a new run is pushed onto the stack. +So, the invariants are guaranteed to hold for i<stackSize upon entry to the method

mergeForceCollapse

Merges all runs on the stack until only one remains. +Called only once, to finalise the sort

mergeLo

Merges two adjacent runs in-place in a stable fashion. +For performance this method should only be called when len1 <= len2!

minRunLength

Returns the minimum acceptable run length for an array of the specified length. +Natural runs shorter than this will be extended with binarySort

\ No newline at end of file diff --git a/datum/spacebee_extension_command.html b/datum/spacebee_extension_command.html new file mode 100644 index 0000000000000..9a941b74deb0f --- /dev/null +++ b/datum/spacebee_extension_command.html @@ -0,0 +1 @@ +/datum/spacebee_extension_command - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/spacebee_extension_command

A command for the Spacebee extension thing

Vars

argument_instancesinstantiated arguments (singletons of the types)
argument_typesa list of subtypes of /datum/command_argument of the form list(type = name), name used only for help messages
help_messagehelp message shown in the ;;help command
instantiatedif TRUE a new copy is created for each call of the command, useful for /datum/spacebee_extension_command/state_based
namehow the command is actually called
server_targetinghow is the server processing this command chosen, see COMMAND_TARGETING_ defines
systemthe spacebee extension system this command is bound to

Procs

executethe actual command code

Var Details

argument_instances

instantiated arguments (singletons of the types)

argument_types

a list of subtypes of /datum/command_argument of the form list(type = name), name used only for help messages

help_message

help message shown in the ;;help command

instantiated

if TRUE a new copy is created for each call of the command, useful for /datum/spacebee_extension_command/state_based

name

how the command is actually called

server_targeting

how is the server processing this command chosen, see COMMAND_TARGETING_ defines

system

the spacebee extension system this command is bound to

Proc Details

execute

the actual command code

\ No newline at end of file diff --git a/datum/spacebee_extension_system.html b/datum/spacebee_extension_system.html new file mode 100644 index 0000000000000..6c1b81387f67c --- /dev/null +++ b/datum/spacebee_extension_system.html @@ -0,0 +1 @@ +/datum/spacebee_extension_system - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/spacebee_extension_system

the main thing that processes and runs the commands

Vars

active_callbacksa list of the form list(username = proc) or list(username = list(object, proc)), if an username has a callback assigned it's used instead of the basic command processing
commandsthe list of all available commands indexed by their name

Procs

paginated_sendpaginates a message in a way that fits into Discord messages
parse_argumentsparses arguments or returns null if unable
parse_command_headparses the name and the server key of the command (if any), returns list(name, server_key, the_rest)
process_asaycalled from world.dm from asay processing
process_raw_commandprocesses and runs a string that's supposed to be a command (with arguments and such)
register_callbackregisters a callback for a given user (it overrides default command processing)
replyreplies to a given user on Discord

Var Details

active_callbacks

a list of the form list(username = proc) or list(username = list(object, proc)), if an username has a callback assigned it's used instead of the basic command processing

commands

the list of all available commands indexed by their name

Proc Details

paginated_send

paginates a message in a way that fits into Discord messages

parse_arguments

parses arguments or returns null if unable

parse_command_head

parses the name and the server key of the command (if any), returns list(name, server_key, the_rest)

process_asay

called from world.dm from asay processing

process_raw_command

processes and runs a string that's supposed to be a command (with arguments and such)

register_callback

registers a callback for a given user (it overrides default command processing)

reply

replies to a given user on Discord

\ No newline at end of file diff --git a/datum/spatial_hashmap.html b/datum/spatial_hashmap.html new file mode 100644 index 0000000000000..a9104550a769b --- /dev/null +++ b/datum/spatial_hashmap.html @@ -0,0 +1,9 @@ +/datum/spatial_hashmap - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/spatial_hashmap

Vars

update_cooldownin actual server ticks (not deciseconds)

Procs

add_targetsImplement in children. +Example:
get_ids_by_coordsgets ids of buckets to check for atoms around a given x,y,z position
get_nearby_atoms_exact_by_coordsGets is of atoms that are truly within the given range as long as the range is at most cell size +This will only work if we are actually tracking atoms and not something else!!
get_nearby_by_coordsget_nearby() but for arbitrary x,y positions

Var Details

update_cooldown

in actual server ticks (not deciseconds)

Proc Details

add_targets

Implement in children. +Example:

+
for (var/atom/A in some_list_of_atoms_you_care_about)
+   var/turf/T = get_turf(A)
+   ADD_TO_MAP(A, T)
+

get_ids_by_coords

gets ids of buckets to check for atoms around a given x,y,z position

get_nearby_atoms_exact_by_coords

Gets is of atoms that are truly within the given range as long as the range is at most cell size +This will only work if we are actually tracking atoms and not something else!!

get_nearby_by_coords

get_nearby() but for arbitrary x,y positions

\ No newline at end of file diff --git a/datum/spawn_event.html b/datum/spawn_event.html new file mode 100644 index 0000000000000..3caed66989dc8 --- /dev/null +++ b/datum/spawn_event.html @@ -0,0 +1 @@ +/datum/spawn_event - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/spawn_event

Vars

add_to_manifestShould these newly spawned players show up on the manifest?
allow_dnrInclude DNR ghosts
amount_to_spawnHow many copies of thing_to_spawn do we want?
antag_roleAntag role ID to assign to the players on spawn
ask_permissionDo we give them a popup or just spawn them directly?
equip_antagShould antag datums give their default equipment (replaces whatever is currently equipped in those slots)
ghost_confirmation_delayHow long does the popup stay up for?
objective_textCustom objective text to display to players on spawn
spawn_directlyIf true, only a single ghost will be spawned and placed directly into the mob
spawn_locA custom location to spawn the mobs (can also be a landmark string)

Var Details

add_to_manifest

Should these newly spawned players show up on the manifest?

allow_dnr

Include DNR ghosts

amount_to_spawn

How many copies of thing_to_spawn do we want?

antag_role

Antag role ID to assign to the players on spawn

ask_permission

Do we give them a popup or just spawn them directly?

equip_antag

Should antag datums give their default equipment (replaces whatever is currently equipped in those slots)

ghost_confirmation_delay

How long does the popup stay up for?

objective_text

Custom objective text to display to players on spawn

spawn_directly

If true, only a single ghost will be spawned and placed directly into the mob

spawn_loc

A custom location to spawn the mobs (can also be a landmark string)

\ No newline at end of file diff --git a/datum/spawn_event_editor.html b/datum/spawn_event_editor.html new file mode 100644 index 0000000000000..38fda4083e1ce --- /dev/null +++ b/datum/spawn_event_editor.html @@ -0,0 +1 @@ +/datum/spawn_event_editor - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/spawn_event_editor

Vars

refresh_player_countSet to true whenever player eligibility parameters change so we're not iterating global.minds every TGUI tick

Var Details

refresh_player_count

Set to true whenever player eligibility parameters change so we're not iterating global.minds every TGUI tick

\ No newline at end of file diff --git a/datum/spawn_rule.html b/datum/spawn_rule.html new file mode 100644 index 0000000000000..c4909ea5c75e6 --- /dev/null +++ b/datum/spawn_rule.html @@ -0,0 +1 @@ +/datum/spawn_rule - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/spawn_rule

Represents a "rule" applied to a human or something they are wearing on spawn

Vars

slotThe slot this rule applies to, a null slot means it applies to the human directly. See clothing.dm for defines

Procs

apply_toApply the rule to a human mob, returns the atom to target
as_stringReturn a string representation of this rule to be used to identify it in the removal UI (must be unique)
is_equalDetermine if a given rule should override this one, ie they edit the same var or call the same proc

Var Details

slot

The slot this rule applies to, a null slot means it applies to the human directly. See clothing.dm for defines

Proc Details

apply_to

Apply the rule to a human mob, returns the atom to target

as_string

Return a string representation of this rule to be used to identify it in the removal UI (must be unique)

is_equal

Determine if a given rule should override this one, ie they edit the same var or call the same proc

\ No newline at end of file diff --git a/datum/spawn_rule/proc_call.html b/datum/spawn_rule/proc_call.html new file mode 100644 index 0000000000000..abdba4c2b2e41 --- /dev/null +++ b/datum/spawn_rule/proc_call.html @@ -0,0 +1 @@ +/datum/spawn_rule/proc_call - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/spawn_rule/proc_call

A proc call, complete with arguments list

Vars

arglistArguments list, can be associative or not

Var Details

arglist

Arguments list, can be associative or not

\ No newline at end of file diff --git a/datum/spawn_rules_controller.html b/datum/spawn_rules_controller.html new file mode 100644 index 0000000000000..6e5838e6bf039 --- /dev/null +++ b/datum/spawn_rules_controller.html @@ -0,0 +1 @@ +/datum/spawn_rules_controller - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

/datum/spawn_rules_controller

Procs

add_ruleRemove any rules the new rule should override, add it to the list and apply it to all humans
apply_toApply all current rules to the target mob

Proc Details

add_rule

Remove any rules the new rule should override, add it to the list and apply it to all humans

apply_to

Apply all current rules to the target mob

\ No newline at end of file diff --git a/datum/special_sprint.html b/datum/special_sprint.html new file mode 100644 index 0000000000000..cdd523d77a6fd --- /dev/null +++ b/datum/special_sprint.html @@ -0,0 +1 @@ +/datum/special_sprint - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/special_sprint

Vars

overrides_sprintDisable regular sprinting behaviour

Var Details

overrides_sprint

Disable regular sprinting behaviour

\ No newline at end of file diff --git a/datum/statusEffect.html b/datum/statusEffect.html new file mode 100644 index 0000000000000..10f8bd7ac9c2c --- /dev/null +++ b/datum/statusEffect.html @@ -0,0 +1,10 @@ +/datum/statusEffect - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/statusEffect

Our datum that keeps track of an individual status effect.

Vars

descTooltip desc
durationIn deciseconds (tenths of a second, same as ticks just sane). A duration of NULL is infinite. (This is distinct from 0)
effect_qualityIf the effect is positive (buffs), negative (debuffs), or neutral (misc)
exclusiveGroupoptional name of a group of buffs. players can only have a certain number of buffs of a given group - any new applications fail. useful for food buffs etc.
icon_stateIcon state to display.
idUnique ID of the status effect
maxDurationIf non-null, duration of the effect will be clamped to be max. this amount.
move_triggeredhas an on-move effect
movement_modifierHas a movement-modifying effect
nameTooltip name to display
ownerOwner of the status effect
track_catPut a label here to track anyone with this effect into this category
uniqueIf true, this status effect can only have one instance on any given object.
visibleIs this visible in the status effect bar?

Procs

dropSweatCalled by some foods, use inside onUpdate(timePassed)
getChefHintUsed to generate text specifically for the chef examining food. Otherwise fallbacks to getTooltip().
getExamineInformation that should show up when an object has this effect and is examined.
getTooltipUsed to generate tooltip. Can be changed to have dynamic tooltips.
onAddCalled when the status is added to an object. owner is already set at this point.
onChangeCalled when the status is changed using setStatus. Called after duration is updated etc.
onCheckCalled by hasStatus. Used to handle additional checks with the optional arg in that proc.
onRemoveCalled when the status is removed from the object. owner is still set at this point.
onUpdateCalled every tick by the status controller.
preCheckUsed to run a custom check before adding status to an object. For when you want something to be flat out immune or something.

Var Details

desc

Tooltip desc

duration

In deciseconds (tenths of a second, same as ticks just sane). A duration of NULL is infinite. (This is distinct from 0)

effect_quality

If the effect is positive (buffs), negative (debuffs), or neutral (misc)

exclusiveGroup

optional name of a group of buffs. players can only have a certain number of buffs of a given group - any new applications fail. useful for food buffs etc.

icon_state

Icon state to display.

id

Unique ID of the status effect

maxDuration

If non-null, duration of the effect will be clamped to be max. this amount.

move_triggered

has an on-move effect

movement_modifier

Has a movement-modifying effect

name

Tooltip name to display

owner

Owner of the status effect

track_cat

Put a label here to track anyone with this effect into this category

unique

If true, this status effect can only have one instance on any given object.

visible

Is this visible in the status effect bar?

Proc Details

dropSweat

Called by some foods, use inside onUpdate(timePassed)

+
Required: sweatReagent - the chemical you're sweating
+
+

targetTurf should be left default

getChefHint

Used to generate text specifically for the chef examining food. Otherwise fallbacks to getTooltip().

getExamine

Information that should show up when an object has this effect and is examined.

getTooltip

Used to generate tooltip. Can be changed to have dynamic tooltips.

onAdd

Called when the status is added to an object. owner is already set at this point.

+

optional {optional} - arg from setStatus (passed in)

onChange

Called when the status is changed using setStatus. Called after duration is updated etc.

+

optional {optional} - arg from setStatus (passed in)

onCheck

Called by hasStatus. Used to handle additional checks with the optional arg in that proc.

onRemove

Called when the status is removed from the object. owner is still set at this point.

onUpdate

Called every tick by the status controller.

+

required {timePassed} - the actual time since the last update call.

preCheck

Used to run a custom check before adding status to an object. For when you want something to be flat out immune or something.

+
\ No newline at end of file diff --git a/datum/statusEffect/changeling_regrow.html b/datum/statusEffect/changeling_regrow.html new file mode 100644 index 0000000000000..c74f2803fecfe --- /dev/null +++ b/datum/statusEffect/changeling_regrow.html @@ -0,0 +1 @@ +/datum/statusEffect/changeling_regrow - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

Regrowing Part:

Procs

getTooltipatom/proc/setStatus("c_regrow_body_part", 90 SECONDS, optional)

Proc Details

getTooltip

atom/proc/setStatus("c_regrow_body_part", 90 SECONDS, optional)

\ No newline at end of file diff --git a/datum/statusEffect/oiled/fresh.html b/datum/statusEffect/oiled/fresh.html new file mode 100644 index 0000000000000..551dfe1fe9f9d --- /dev/null +++ b/datum/statusEffect/oiled/fresh.html @@ -0,0 +1 @@ +/datum/statusEffect/oiled/fresh - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Freshly oiled

Vars

oiledDurationDuration of the oiled status effect a person has before more oil is applied.
tickspassedHow long have we had the status effect for

Var Details

oiledDuration

Duration of the oiled status effect a person has before more oil is applied.

tickspassed

How long have we had the status effect for

\ No newline at end of file diff --git a/datum/statusEffect/transparium.html b/datum/statusEffect/transparium.html new file mode 100644 index 0000000000000..e48d6374a05ab --- /dev/null +++ b/datum/statusEffect/transparium.html @@ -0,0 +1,5 @@ +/datum/statusEffect/transparium - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Faded

Vars

flickeringThis is an unintentional interaction turned into a feature +Patches apply reagents very slowly, meaning that a transparium patch would constantly cause its user to flicker, spamming messages all the while +This variable is set whenever the duration is less than one second, and prevents message spam as well as not invoking some of the logic

Var Details

flickering

This is an unintentional interaction turned into a feature +Patches apply reagents very slowly, meaning that a transparium patch would constantly cause its user to flicker, spamming messages all the while +This variable is set whenever the duration is less than one second, and prevents message spam as well as not invoking some of the logic

\ No newline at end of file diff --git a/datum/stock/article.html b/datum/stock/article.html new file mode 100644 index 0000000000000..d710fe7e6354d --- /dev/null +++ b/datum/stock/article.html @@ -0,0 +1 @@ +/datum/stock/article - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

/datum/stock/article

Procs

detokenizeReplaces %tokens% in the string with the various default, industry, or product tokens.
generateAuthorNameReturns a random author name
generateOutletNameReturns a random news outlet name

Proc Details

detokenize

Replaces %tokens% in the string with the various default, industry, or product tokens.

generateAuthorName

Returns a random author name

generateOutletName

Returns a random news outlet name

\ No newline at end of file diff --git a/datum/stock/ticker.html b/datum/stock/ticker.html new file mode 100644 index 0000000000000..88ab4928e6e5b --- /dev/null +++ b/datum/stock/ticker.html @@ -0,0 +1 @@ +/datum/stock/ticker - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Stock

stonks

Vars

average_optimismThe history of shareholder optimism of this stock
fluctuational_coefficientHow much the price fluctuates on an average daily basis
outside_shareholdersThe amount of offstation people holding shares in this company. The higher it is, the more fluctuation it causes.
performanceThe current performance of the company. Tends itself to 0 when no events happen.

Var Details

average_optimism

The history of shareholder optimism of this stock

fluctuational_coefficient

How much the price fluctuates on an average daily basis

outside_shareholders

The amount of offstation people holding shares in this company. The higher it is, the more fluctuation it causes.

performance

The current performance of the company. Tends itself to 0 when no events happen.

\ No newline at end of file diff --git a/datum/storage.html b/datum/storage.html new file mode 100644 index 0000000000000..7d6738cb6cc63 --- /dev/null +++ b/datum/storage.html @@ -0,0 +1,5 @@ +/datum/storage - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/storage

a datum for atoms that allows holdable storage of items in a hud

Vars

can_holdTypes that can be held
can_hold_exactExact types that can be held, in addition to can_hold, if it has types
check_wclassIf set, if can_hold is used, an item not in can_hold or can_hold_exact can fit in the storage if its weight is low enough
hudStorage hud attached to the storage
linked_itemThe storage item linked to this datum
max_wclassMaximum w_class that can be held
move_triggeredDoes moving the linked storage item cause anything to happen to stored items
opens_if_wornPrevent accessing storage when clicked when worn, ex. in pocket
prevent_holdingTypes that have a w_class holdable but that the storage will not hold
slotsNumber of storage slots, even numbers overlap the close button for the on-ground hud layout
sneakyDon't print a visible message on use
stack_stackablesWhether or not this storage allows stacking stackables into its contents
stealthy_storageDon't show the contents of the storage on its description
stored_itemsAll items stored

Procs

add_contentswhen adding an item in
add_contents_extraAvailable if add_contents needs to be overridden
add_contents_safeuse this versus add_contents() if you also want extra safety checks
check_can_holdcheck if the storage can hold an item or not
get_all_contentsreturn recursive search of all contents
get_capacity_stringreturn outputtable capacity
get_contentsreturn stored contents
get_fullnessstorage is full or not, or can hold some of the given item in it
get_hud_contentsreturn contents that can be seen in the hud
get_visible_slotsreturn number of visible slots in the hud
hide_hudhide storage
hud_can_addif an item can be added by clicking it on the visible hud
hud_shownif user sees the storage hud
is_fullstorage is full or not
make_my_stuffcreates initial contents in the storage
mousetrap_checkwhen reaching inside the storage item, check for traps
show_hudshow storage contents
storage_emp_actemping storage emps everything inside
storage_item_after_attackafter attacking an object with the storage item
storage_item_attack_bywhen clicking the storage item with an object
storage_item_attack_handwhen clicking the storage item with an empty hand
storage_item_attack_selfusing storage item in hand
storage_item_mouse_dropstorage item is mouse dropped onto something
storage_item_move_triggeredstorage item moving triggers a movement of items inside
storage_item_on_dropstorage item is dropped
transfer_stored_itemwhen transfering something in the storage out
transfer_stored_item_extrafor use if transfer_stored_item is overridden
try_stack_contentsFor adding an item by trying to stack it with other items. +Returns the item the input was stacked into if that happened, returns W +if it was instead stacked into an available slot. Returns null if it wasn't stacked.

Var Details

can_hold

Types that can be held

can_hold_exact

Exact types that can be held, in addition to can_hold, if it has types

check_wclass

If set, if can_hold is used, an item not in can_hold or can_hold_exact can fit in the storage if its weight is low enough

hud

Storage hud attached to the storage

linked_item

The storage item linked to this datum

max_wclass

Maximum w_class that can be held

move_triggered

Does moving the linked storage item cause anything to happen to stored items

opens_if_worn

Prevent accessing storage when clicked when worn, ex. in pocket

prevent_holding

Types that have a w_class holdable but that the storage will not hold

slots

Number of storage slots, even numbers overlap the close button for the on-ground hud layout

sneaky

Don't print a visible message on use

stack_stackables

Whether or not this storage allows stacking stackables into its contents

stealthy_storage

Don't show the contents of the storage on its description

stored_items

All items stored

Proc Details

add_contents

when adding an item in

add_contents_extra

Available if add_contents needs to be overridden

add_contents_safe

use this versus add_contents() if you also want extra safety checks

check_can_hold

check if the storage can hold an item or not

get_all_contents

return recursive search of all contents

get_capacity_string

return outputtable capacity

get_contents

return stored contents

get_fullness

storage is full or not, or can hold some of the given item in it

get_hud_contents

return contents that can be seen in the hud

get_visible_slots

return number of visible slots in the hud

hide_hud

hide storage

hud_can_add

if an item can be added by clicking it on the visible hud

hud_shown

if user sees the storage hud

is_full

storage is full or not

make_my_stuff

creates initial contents in the storage

mousetrap_check

when reaching inside the storage item, check for traps

show_hud

show storage contents

storage_emp_act

emping storage emps everything inside

storage_item_after_attack

after attacking an object with the storage item

storage_item_attack_by

when clicking the storage item with an object

storage_item_attack_hand

when clicking the storage item with an empty hand

storage_item_attack_self

using storage item in hand

storage_item_mouse_drop

storage item is mouse dropped onto something

storage_item_move_triggered

storage item moving triggers a movement of items inside

storage_item_on_drop

storage item is dropped

transfer_stored_item

when transfering something in the storage out

transfer_stored_item_extra

for use if transfer_stored_item is overridden

try_stack_contents

For adding an item by trying to stack it with other items. +Returns the item the input was stacked into if that happened, returns W +if it was instead stacked into an available slot. Returns null if it wasn't stacked.

\ No newline at end of file diff --git a/datum/storage/no_hud.html b/datum/storage/no_hud.html new file mode 100644 index 0000000000000..d07ba848168bf --- /dev/null +++ b/datum/storage/no_hud.html @@ -0,0 +1 @@ +/datum/storage/no_hud - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/storage/no_hud

Vars

cur_weightcurrent weight held in the storage
item_pick_typehow items are picked out of this storage
max_weightthe max weight that this storage can hold. keep null if this isn't checked
show_countif inventory_counter is used, if false this will show percentage, if true this will show count
use_inventory_counterwhether an inventory counter should be used or not
variable_weightif the weight of the storage item is equal to the highest weight its holding

Var Details

cur_weight

current weight held in the storage

item_pick_type

how items are picked out of this storage

max_weight

the max weight that this storage can hold. keep null if this isn't checked

show_count

if inventory_counter is used, if false this will show percentage, if true this will show count

use_inventory_counter

whether an inventory counter should be used or not

variable_weight

if the weight of the storage item is equal to the highest weight its holding

\ No newline at end of file diff --git a/datum/storage/terminus.html b/datum/storage/terminus.html new file mode 100644 index 0000000000000..83ec1dc7f17d5 --- /dev/null +++ b/datum/storage/terminus.html @@ -0,0 +1 @@ +/datum/storage/terminus - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

/datum/storage/terminus

Procs

desyncUnlinks an individual terminus from other terminii
synchronizeBrings an individual terminus that's being activated up to date with the terminus storage in The Cloud(TM)

Proc Details

desync

Unlinks an individual terminus from other terminii

synchronize

Brings an individual terminus that's being activated up to date with the terminus storage in The Cloud(TM)

\ No newline at end of file diff --git a/datum/storage/unholdable.html b/datum/storage/unholdable.html new file mode 100644 index 0000000000000..54d6eefdbebaa --- /dev/null +++ b/datum/storage/unholdable.html @@ -0,0 +1 @@ +/datum/storage/unholdable - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/storage/unholdable

Vars

rustleShould this thing do the storage rustle when we use it?

Var Details

rustle

Should this thing do the storage rustle when we use it?

\ No newline at end of file diff --git a/datum/supply_packs.html b/datum/supply_packs.html new file mode 100644 index 0000000000000..8f36f189a6e9f --- /dev/null +++ b/datum/supply_packs.html @@ -0,0 +1 @@ +/datum/supply_packs - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/supply_packs

Vars

exhaustionThis value will be used to increase the price of the supply pack if it's bought too many times.

Var Details

exhaustion

This value will be used to increase the price of the supply pack if it's bought too many times.

\ No newline at end of file diff --git a/datum/syndicate_buylist.html b/datum/syndicate_buylist.html new file mode 100644 index 0000000000000..b063cf58db692 --- /dev/null +++ b/datum/syndicate_buylist.html @@ -0,0 +1,6 @@ +/datum/syndicate_buylist - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/syndicate_buylist

Vars

br_allowedIf the item can be created as loot in Battle Royale
can_buyBitflags for what uplinks can buy this item (see _std/defines/uplink.dm for flags)
categoryThe category of the item, currently unused (somewhat used in the Nukeop Commander uplink)
costThe TC cost of the datum in a buylist. Set to 0 to make it unavailable
descThe extended description that will go in the "about" section of the item
itemA typepath for the item that will be spawned when the datum is purchased
item2A typepath for the second, optional, item that will be spawned when the datum is purchased
item3A typepath for the third, optional, item that will be spawned when the datum is purchased
jobA list of job names that you want the item to be restricted to, e.g. list("Clown", "Captain")
max_buyThe maximum amount a given uplink can buy this item
nameName of the buylist entry
not_in_cratesIf the item should show up in surplus crates or not
objectiveFor items that only can be purchased when you have a specfic objective. Needs to be a type, e.g. /datum/objective/assassinate
surplus_weightHow often should this show up in a surplus crate/spy bounty?
telecrystalIs this buylist entry for ejecting TC from an uplink?
vr_allowedIf the item should be allowed to be purchased in the VR murderbox

Procs

run_on_spawnRuns on the purchase of the buylist datum

Var Details

br_allowed

If the item can be created as loot in Battle Royale

can_buy

Bitflags for what uplinks can buy this item (see _std/defines/uplink.dm for flags)

category

The category of the item, currently unused (somewhat used in the Nukeop Commander uplink)

cost

The TC cost of the datum in a buylist. Set to 0 to make it unavailable

desc

The extended description that will go in the "about" section of the item

item

A typepath for the item that will be spawned when the datum is purchased

item2

A typepath for the second, optional, item that will be spawned when the datum is purchased

item3

A typepath for the third, optional, item that will be spawned when the datum is purchased

job

A list of job names that you want the item to be restricted to, e.g. list("Clown", "Captain")

max_buy

The maximum amount a given uplink can buy this item

name

Name of the buylist entry

not_in_crates

If the item should show up in surplus crates or not

objective

For items that only can be purchased when you have a specfic objective. Needs to be a type, e.g. /datum/objective/assassinate

surplus_weight

How often should this show up in a surplus crate/spy bounty?

telecrystal

Is this buylist entry for ejecting TC from an uplink?

vr_allowed

If the item should be allowed to be purchased in the VR murderbox

Proc Details

run_on_spawn

Runs on the purchase of the buylist datum

+

Arguments: +item, the item you're expecting +owner, the person who bought the item +in_surplus_crate, is TRUE if the item is in a surplus crate, FALSE otherwise. +uplink, the uplink that bought the item

\ No newline at end of file diff --git a/datum/targetable.html b/datum/targetable.html new file mode 100644 index 0000000000000..8b7aff0e85cdd --- /dev/null +++ b/datum/targetable.html @@ -0,0 +1,9 @@ +/datum/targetable - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/targetable

Vars

check_rangeDoes this check for range at all?
cooldown_after_actionif TRUE, cooldowns will be handled after action bars have ended. Needs action to call afterAction() on end.
do_logsdo we log casting this action? set false for stuff that doesn't need to be logged, like dancing
ignore_holder_lockCan we cast this spell when the holder is locked?
ignore_sticky_cooldownIf TRUE, Ability will stick to cursor even if ability goes on cooldown after first cast.
interrupt_action_barsIf TRUE, we will interrupt any action bars running with the INTERRUPT_ACT flag
lock_holderIf FALSE, bypass holder lock when we cast this spell.
restricted_area_checkAre we prohibited from casting this spell in 1 (all of Z2) or 2 (only the VR)?
stickyTargeting stays active after using spell if this is 1. click button again to disable the active spell.
target_anythingCan we target absolutely anything?
target_ghostsCan we target observers if we see them (ectogoggles)?
target_in_inventoryCan we target items in our inventory?
target_nodamage_checkCan we target godmoded mobs?
target_selection_checkSee comment in /atom/movable/screen/ability.
targetedDoes this need a target? If FALSE, ability is performed instantly

Procs

afterActionUsed for abilities with action bars which don't want to do cooldowns until after
allowcastPassive cast checking. Returns TRUE if the cast can proceed. +This fires every update, and is currently only used to gray out buttons/indicate to players that the ability is unusable. +Useful for things like different point requirements or only allowing casts under certain conditions. +Actual logic to prevent the cast from firing should be done in the cast() override too!
castHandle actual ability effects. This is the one you want to override. +Returns for this proc can be found in defines/abilities.dm.

Var Details

check_range

Does this check for range at all?

cooldown_after_action

if TRUE, cooldowns will be handled after action bars have ended. Needs action to call afterAction() on end.

do_logs

do we log casting this action? set false for stuff that doesn't need to be logged, like dancing

ignore_holder_lock

Can we cast this spell when the holder is locked?

ignore_sticky_cooldown

If TRUE, Ability will stick to cursor even if ability goes on cooldown after first cast.

interrupt_action_bars

If TRUE, we will interrupt any action bars running with the INTERRUPT_ACT flag

lock_holder

If FALSE, bypass holder lock when we cast this spell.

restricted_area_check

Are we prohibited from casting this spell in 1 (all of Z2) or 2 (only the VR)?

sticky

Targeting stays active after using spell if this is 1. click button again to disable the active spell.

target_anything

Can we target absolutely anything?

target_ghosts

Can we target observers if we see them (ectogoggles)?

target_in_inventory

Can we target items in our inventory?

target_nodamage_check

Can we target godmoded mobs?

target_selection_check

See comment in /atom/movable/screen/ability.

targeted

Does this need a target? If FALSE, ability is performed instantly

Proc Details

afterAction

Used for abilities with action bars which don't want to do cooldowns until after

allowcast

Passive cast checking. Returns TRUE if the cast can proceed. +This fires every update, and is currently only used to gray out buttons/indicate to players that the ability is unusable. +Useful for things like different point requirements or only allowing casts under certain conditions. +Actual logic to prevent the cast from firing should be done in the cast() override too!

cast

Handle actual ability effects. This is the one you want to override. +Returns for this proc can be found in defines/abilities.dm.

\ No newline at end of file diff --git a/datum/targetable/arcfiend.html b/datum/targetable/arcfiend.html new file mode 100644 index 0000000000000..51d3d5f287389 --- /dev/null +++ b/datum/targetable/arcfiend.html @@ -0,0 +1 @@ +/datum/targetable/arcfiend - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

base arcfiend ability (you should never see me)

Vars

container_safety_bypassWhether or not this ability can be cast from inside of things (locker, voltron, etc.)

Var Details

container_safety_bypass

Whether or not this ability can be cast from inside of things (locker, voltron, etc.)

\ No newline at end of file diff --git a/datum/targetable/arcfiend/arcFlash.html b/datum/targetable/arcfiend/arcFlash.html new file mode 100644 index 0000000000000..c551b83845b47 --- /dev/null +++ b/datum/targetable/arcfiend/arcFlash.html @@ -0,0 +1 @@ +/datum/targetable/arcfiend/arcFlash - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Arc Flash

Ranged chain lightning attack. Bounces between up to chain_count extra mobs within chain_range tiles of the initial target.

Vars

chain_countMax number of additional mobs to chain to.
chain_rangeMax range (in tiles) between mobs to chain between.
wattageThe amount of power used when shocking a mob.

Var Details

chain_count

Max number of additional mobs to chain to.

chain_range

Max range (in tiles) between mobs to chain between.

wattage

The amount of power used when shocking a mob.

\ No newline at end of file diff --git a/datum/targetable/arcfiend/discharge.html b/datum/targetable/arcfiend/discharge.html new file mode 100644 index 0000000000000..b18d0f9909348 --- /dev/null +++ b/datum/targetable/arcfiend/discharge.html @@ -0,0 +1 @@ +/datum/targetable/arcfiend/discharge - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Discharge

Melee attack. Shocks a targeted mob, or can be used on an airlock to temporarily cut its power.

Vars

direct_burn_damagehow much direct burn damage this attack deals, on top of any damage from the shock itself
target_disthow far to knock mobs away from ourselves
throw_speedhow fast to throw affected mobs away
wattageThis is the amount of power considered to be in use when we're shocking a mob.

Var Details

direct_burn_damage

how much direct burn damage this attack deals, on top of any damage from the shock itself

target_dist

how far to knock mobs away from ourselves

throw_speed

how fast to throw affected mobs away

wattage

This is the amount of power considered to be in use when we're shocking a mob.

\ No newline at end of file diff --git a/datum/targetable/arcfiend/jolt.html b/datum/targetable/arcfiend/jolt.html new file mode 100644 index 0000000000000..a47c4cdb50db0 --- /dev/null +++ b/datum/targetable/arcfiend/jolt.html @@ -0,0 +1,3 @@ +/datum/targetable/arcfiend/jolt - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Jolt

Killing skill that does decent damage even when it doesn't finish. +The final tick stops the target's heart (or can restart it if they have SMES human.) +Use time is instant if the user jolts themselves.

Vars

wattageEach individual shock will use this much wattage.

Var Details

wattage

Each individual shock will use this much wattage.

\ No newline at end of file diff --git a/datum/targetable/arcfiend/sap_power.html b/datum/targetable/arcfiend/sap_power.html new file mode 100644 index 0000000000000..5760737c083e8 --- /dev/null +++ b/datum/targetable/arcfiend/sap_power.html @@ -0,0 +1,9 @@ +/datum/targetable/arcfiend/sap_power - Goonstation 13
Goonstation 13 - Modules - Types

Sap Power

Arcfiend's main way of obtaining power for their abilities. +Can be used on:

+
\ No newline at end of file diff --git a/datum/targetable/arcfiend/voltron.html b/datum/targetable/arcfiend/voltron.html new file mode 100644 index 0000000000000..61970adedbbbc --- /dev/null +++ b/datum/targetable/arcfiend/voltron.html @@ -0,0 +1,2 @@ +/datum/targetable/arcfiend/voltron - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Ride the Lightning

This ability lets arcfiends travel through power cables like a Voltron (hence the type name). +Each tile traveled costs 3 units of power.

Vars

activeWhether or not we're using this ability.
cable_imagesA cache of images for each cable.
dummy_holderDummy effect used to represent and hold the traveling mob.
step_costEach tile traveled will cost this many units of energy.
view_rangeThe user will be able to see all cables within this many tiles of their location.

Var Details

active

Whether or not we're using this ability.

cable_images

A cache of images for each cable.

dummy_holder

Dummy effect used to represent and hold the traveling mob.

step_cost

Each tile traveled will cost this many units of energy.

view_range

The user will be able to see all cables within this many tiles of their location.

\ No newline at end of file diff --git a/datum/targetable/changeling/critter.html b/datum/targetable/changeling/critter.html new file mode 100644 index 0000000000000..8cf5fb391681a --- /dev/null +++ b/datum/targetable/changeling/critter.html @@ -0,0 +1 @@ +/datum/targetable/changeling/critter - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/targetable/changeling/critter

Vars

antag_roleThe associated ROLE_ define
use_mobThe observer mob we chose to transfer mind from, this should just be returned from New, but datum/targetable/New relies on truthy fail states

Var Details

antag_role

The associated ROLE_ define

use_mob

The observer mob we chose to transfer mind from, this should just be returned from New, but datum/targetable/New relies on truthy fail states

\ No newline at end of file diff --git a/datum/targetable/critter.html b/datum/targetable/critter.html new file mode 100644 index 0000000000000..e964ad57c6a0e --- /dev/null +++ b/datum/targetable/critter.html @@ -0,0 +1 @@ +/datum/targetable/critter - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/targetable/critter

Vars

needs_turfset to false if it can be cast while not on a turf. E.g. inside a locker

Var Details

needs_turf

set to false if it can be cast while not on a turf. E.g. inside a locker

\ No newline at end of file diff --git a/datum/targetable/critter/arcflash.html b/datum/targetable/critter/arcflash.html new file mode 100644 index 0000000000000..e4b2bafb898af --- /dev/null +++ b/datum/targetable/critter/arcflash.html @@ -0,0 +1 @@ +/datum/targetable/critter/arcflash - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Arc Flash

Ranged chain lightning attack. Bounces between up to chain_count extra mobs within chain_range tiles of the initial target.

Vars

chain_countMax number of additional mobs to chain to.
chain_rangeMax range (in tiles) between mobs to chain between.
wattageThe amount of power used when shocking a mob.

Var Details

chain_count

Max number of additional mobs to chain to.

chain_range

Max range (in tiles) between mobs to chain between.

wattage

The amount of power used when shocking a mob.

\ No newline at end of file diff --git a/datum/targetable/critter/bot/spray_foam.html b/datum/targetable/critter/bot/spray_foam.html new file mode 100644 index 0000000000000..e6f993cefcd9b --- /dev/null +++ b/datum/targetable/critter/bot/spray_foam.html @@ -0,0 +1 @@ +/datum/targetable/critter/bot/spray_foam - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Spray Foam

Vars

max_sprayreagent container size, passed to the spray proc
spray_reagentslist of reagents to spray and their quantities
spray_temperaturetemp of the sprayed reagents

Var Details

max_spray

reagent container size, passed to the spray proc

spray_reagents

list of reagents to spray and their quantities

spray_temperature

temp of the sprayed reagents

\ No newline at end of file diff --git a/datum/targetable/flockmindAbility/partitionMind.html b/datum/targetable/flockmindAbility/partitionMind.html new file mode 100644 index 0000000000000..401e14491578f --- /dev/null +++ b/datum/targetable/flockmindAbility/partitionMind.html @@ -0,0 +1 @@ +/datum/targetable/flockmindAbility/partitionMind - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Partition Mind

Vars

waitingAre we still waiting for ghosts to respond

Var Details

waiting

Are we still waiting for ghosts to respond

\ No newline at end of file diff --git a/datum/targetable/geneticsAbility/empath.html b/datum/targetable/geneticsAbility/empath.html new file mode 100644 index 0000000000000..1f33a82b8a7c7 --- /dev/null +++ b/datum/targetable/geneticsAbility/empath.html @@ -0,0 +1,2 @@ +/datum/targetable/geneticsAbility/empath - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

Mind Reader

Procs

steal_speech_textMostly stolen from laspgasp() (thanks pali)

Proc Details

steal_speech_text

Mostly stolen from laspgasp() (thanks pali)

+

Grab whatever they're typing from the say/whisper/radio menu, or the command bar. Separate proc so we can return if the target client goes null

\ No newline at end of file diff --git a/datum/teg_transformation.html b/datum/teg_transformation.html new file mode 100644 index 0000000000000..ffcdea1812250 --- /dev/null +++ b/datum/teg_transformation.html @@ -0,0 +1,7 @@ +/datum/teg_transformation - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/teg_transformation

Vars

mat_idmaterial id to apply
required_reagentsassociated list of reagent ids and amounts to cause transformation
skip_transformation_checksAutomatic transformation checks until a seperate criteria is achieved
tegref to TEG

Procs

on_grumpReturn False by default to cause classic grump behavior
on_revertRevert material back to initial values
on_transformBase transformation to assign material

Var Details

mat_id

material id to apply

required_reagents

associated list of reagent ids and amounts to cause transformation

skip_transformation_checks

Automatic transformation checks until a seperate criteria is achieved

teg

ref to TEG

Proc Details

on_grump

Return False by default to cause classic grump behavior

on_revert

Revert material back to initial values

on_transform

Base transformation to assign material

\ No newline at end of file diff --git a/datum/teg_transformation_mngr.html b/datum/teg_transformation_mngr.html new file mode 100644 index 0000000000000..3755541f9617c --- /dev/null +++ b/datum/teg_transformation_mngr.html @@ -0,0 +1,5 @@ +/datum/teg_transformation_mngr - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

/datum/teg_transformation_mngr

Transformation Manager for Thermo-Electric Generator

Procs

check_material_transformationTransform when a matsci semiconductor is inserted and the material differs the material +from the TEG. Transformation requires the semiconductor fully back in place and energy +is present to activate NANITES!
check_reagent_transformationPeriodic function to check if transformation by reagent is possible

Proc Details

check_material_transformation

Transform when a matsci semiconductor is inserted and the material differs the material +from the TEG. Transformation requires the semiconductor fully back in place and energy +is present to activate NANITES!

check_reagent_transformation

Periodic function to check if transformation by reagent is possible

\ No newline at end of file diff --git a/datum/tgs_api/v5.html b/datum/tgs_api/v5.html new file mode 100644 index 0000000000000..882b6da1524d6 --- /dev/null +++ b/datum/tgs_api/v5.html @@ -0,0 +1 @@ +/datum/tgs_api/v5 - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/tgs_api/v5

Vars

intercepted_message_queueList of chat messages list()s that attempted to be sent during a topic call. To be bundled in the result of the call
offline_message_queueList of chat messages list()s that attempted to be sent during a topic call. To be bundled in the result of the call

Var Details

intercepted_message_queue

List of chat messages list()s that attempted to be sent during a topic call. To be bundled in the result of the call

offline_message_queue

List of chat messages list()s that attempted to be sent during a topic call. To be bundled in the result of the call

\ No newline at end of file diff --git a/datum/tgs_chat_channel.html b/datum/tgs_chat_channel.html new file mode 100644 index 0000000000000..13311908ec4e7 --- /dev/null +++ b/datum/tgs_chat_channel.html @@ -0,0 +1 @@ +/datum/tgs_chat_channel - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/tgs_chat_channel

Represents a connected chat channel.

Vars

connection_nameName of the chat connection. This is the IRC server address or the Discord guild.
custom_tagTag string associated with the channel in TGS.
embeds_supported[TRUE]/[FALSE] if the channel supports embeds.
friendly_nameUser friendly name of the channel.
idTGS internal channel ID.
is_admin_channel[TRUE]/[FALSE] based on if the server operator has marked this channel for game admins only.
is_private_channel[TRUE]/[FALSE] if the channel is a private message channel for a /datum/tgs_chat_user.

Var Details

connection_name

Name of the chat connection. This is the IRC server address or the Discord guild.

custom_tag

Tag string associated with the channel in TGS.

embeds_supported

[TRUE]/[FALSE] if the channel supports embeds.

friendly_name

User friendly name of the channel.

id

TGS internal channel ID.

is_admin_channel

[TRUE]/[FALSE] based on if the server operator has marked this channel for game admins only.

is_private_channel

[TRUE]/[FALSE] if the channel is a private message channel for a /datum/tgs_chat_user.

\ No newline at end of file diff --git a/datum/tgs_chat_command.html b/datum/tgs_chat_command.html new file mode 100644 index 0000000000000..957831d7eb371 --- /dev/null +++ b/datum/tgs_chat_command.html @@ -0,0 +1,3 @@ +/datum/tgs_chat_command - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/tgs_chat_command

User definable chat command.

Vars

admin_onlyIf this command should be available to game administrators only.
help_textThe help text displayed for this command.
ignore_typeA subtype of /datum/tgs_chat_command that is ignored when enumerating available commands. Use this to create shared base /datums for commands.
nameThe string to trigger this command on a chat bot. e.g @bot name ... or !tgs name ....

Procs

RunProcess command activation. Should return a /datum/tgs_message_content to respond to the issuer with.

Var Details

admin_only

If this command should be available to game administrators only.

help_text

The help text displayed for this command.

ignore_type

A subtype of /datum/tgs_chat_command that is ignored when enumerating available commands. Use this to create shared base /datums for commands.

name

The string to trigger this command on a chat bot. e.g @bot name ... or !tgs name ....

Proc Details

Run

Process command activation. Should return a /datum/tgs_message_content to respond to the issuer with.

+

sender - The /datum/tgs_chat_user who issued the command. +params - The trimmed string following the command `/datum/tgs_chat_command/var/name].

\ No newline at end of file diff --git a/datum/tgs_chat_embed/footer.html b/datum/tgs_chat_embed/footer.html new file mode 100644 index 0000000000000..69f7fa4f4751d --- /dev/null +++ b/datum/tgs_chat_embed/footer.html @@ -0,0 +1 @@ +/datum/tgs_chat_embed/footer - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/tgs_chat_embed/footer

See https://discord.com/developers/docs/resources/channel#embed-object-embed-footer-structure for details.

Vars

textMust be set in New().

Var Details

text

Must be set in New().

\ No newline at end of file diff --git a/datum/tgs_chat_embed/media.html b/datum/tgs_chat_embed/media.html new file mode 100644 index 0000000000000..1d0fc8a6ae8eb --- /dev/null +++ b/datum/tgs_chat_embed/media.html @@ -0,0 +1 @@ +/datum/tgs_chat_embed/media - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/tgs_chat_embed/media

Common datum for similar discord embed medias.

Vars

urlMust be set in New().

Var Details

url

Must be set in New().

\ No newline at end of file diff --git a/datum/tgs_chat_embed/structure.html b/datum/tgs_chat_embed/structure.html new file mode 100644 index 0000000000000..b9f5be7d34579 --- /dev/null +++ b/datum/tgs_chat_embed/structure.html @@ -0,0 +1 @@ +/datum/tgs_chat_embed/structure - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/tgs_chat_embed/structure

User definable chat embed. Currently mirrors Discord chat embeds. See https://discord.com/developers/docs/resources/channel#embed-object-embed-structure for details.

Vars

colourColour must be #AARRGGBB or #RRGGBB hex string.
imageSee https://discord.com/developers/docs/resources/channel#embed-object-embed-image-structure for details.
thumbnailSee https://discord.com/developers/docs/resources/channel#embed-object-embed-thumbnail-structure for details.
timestampTimestamp must be encoded as: time2text(world.timeofday, "YYYY-MM-DD hh:mm:ss"). Use the active timezone.
videoSee https://discord.com/developers/docs/resources/channel#embed-object-embed-image-structure for details.

Var Details

colour

Colour must be #AARRGGBB or #RRGGBB hex string.

image

See https://discord.com/developers/docs/resources/channel#embed-object-embed-image-structure for details.

thumbnail

See https://discord.com/developers/docs/resources/channel#embed-object-embed-thumbnail-structure for details.

timestamp

Timestamp must be encoded as: time2text(world.timeofday, "YYYY-MM-DD hh:mm:ss"). Use the active timezone.

video

See https://discord.com/developers/docs/resources/channel#embed-object-embed-image-structure for details.

\ No newline at end of file diff --git a/datum/tgs_chat_user.html b/datum/tgs_chat_user.html new file mode 100644 index 0000000000000..482b0dcb3bb44 --- /dev/null +++ b/datum/tgs_chat_user.html @@ -0,0 +1 @@ +/datum/tgs_chat_user - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/tgs_chat_user

Vars

channelThe /datum/tgs_chat_channel the user was from.
friendly_nameThe user's display name.
idTGS internal user ID.
mentionThe string to use to ping this user in a message.

Var Details

channel

The /datum/tgs_chat_channel the user was from.

friendly_name

The user's display name.

id

TGS internal user ID.

mention

The string to use to ping this user in a message.

\ No newline at end of file diff --git a/datum/tgs_event_handler.html b/datum/tgs_event_handler.html new file mode 100644 index 0000000000000..f042475804da8 --- /dev/null +++ b/datum/tgs_event_handler.html @@ -0,0 +1,2 @@ +/datum/tgs_event_handler - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/tgs_event_handler

User definable handler for TGS events.

Vars

receive_health_checksIf the handler receieves TGS_EVENT_HEALTH_CHECK events.

Procs

HandleEventUser definable callback for handling TGS events.

Var Details

receive_health_checks

If the handler receieves TGS_EVENT_HEALTH_CHECK events.

Proc Details

HandleEvent

User definable callback for handling TGS events.

+

event_code - One of the TGS_EVENT_ defines. Extra parameters will be documented in each.

\ No newline at end of file diff --git a/datum/tgs_message_content.html b/datum/tgs_message_content.html new file mode 100644 index 0000000000000..6749fe89ad755 --- /dev/null +++ b/datum/tgs_message_content.html @@ -0,0 +1 @@ +/datum/tgs_message_content - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/tgs_message_content

User definable chat message.

Vars

embedThe /datum/tgs_chat_embed to embed in the message. Not supported on all chat providers.
textThe tring content of the message. Must be provided in New().

Var Details

embed

The /datum/tgs_chat_embed to embed in the message. Not supported on all chat providers.

text

The tring content of the message. Must be provided in New().

\ No newline at end of file diff --git a/datum/tgs_revision_information.html b/datum/tgs_revision_information.html new file mode 100644 index 0000000000000..90a6e94a301c5 --- /dev/null +++ b/datum/tgs_revision_information.html @@ -0,0 +1 @@ +/datum/tgs_revision_information - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/tgs_revision_information

Represents git revision information.

Vars

commitFull SHA of the commit.
origin_commitFull sha of last known remote commit. This may be null if the TGS repository is not currently tracking a remote branch.
timestampISO 8601 timestamp of when the commit was created.

Var Details

commit

Full SHA of the commit.

origin_commit

Full sha of last known remote commit. This may be null if the TGS repository is not currently tracking a remote branch.

timestamp

ISO 8601 timestamp of when the commit was created.

\ No newline at end of file diff --git a/datum/tgs_revision_information/test_merge.html b/datum/tgs_revision_information/test_merge.html new file mode 100644 index 0000000000000..e9c9fa6a864a5 --- /dev/null +++ b/datum/tgs_revision_information/test_merge.html @@ -0,0 +1 @@ +/datum/tgs_revision_information/test_merge - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/tgs_revision_information/test_merge

Represents a merge of a GitHub pull request.

Vars

authorThe Username of the test merge source's author.
bodyThe test merge source's body when it was merged.
commentOptional comment left by the TGS user who initiated the merge.
head_commitThe SHA of the test merge when that was merged.
numberThe test merge number.
titleThe test merge source's title when it was merged.
urlAn http URL to the test merge source.

Var Details

author

The Username of the test merge source's author.

body

The test merge source's body when it was merged.

comment

Optional comment left by the TGS user who initiated the merge.

head_commit

The SHA of the test merge when that was merged.

number

The test merge number.

title

The test merge source's title when it was merged.

url

An http URL to the test merge source.

\ No newline at end of file diff --git a/datum/tgs_version.html b/datum/tgs_version.html new file mode 100644 index 0000000000000..6d4a42a945e8e --- /dev/null +++ b/datum/tgs_version.html @@ -0,0 +1 @@ +/datum/tgs_version - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/tgs_version

Represents a version.

Vars

deprecated_patchLegacy version number. Generally null.
deprefixed_parameterString value minus prefix.
minorThe minor version number. null for wildcards.
patchThe patch version number. null for wildcards.
raw_parameterUnparsed string value.
suiteThe suite/major version number.

Var Details

deprecated_patch

Legacy version number. Generally null.

deprefixed_parameter

String value minus prefix.

minor

The minor version number. null for wildcards.

patch

The patch version number. null for wildcards.

raw_parameter

Unparsed string value.

suite

The suite/major version number.

\ No newline at end of file diff --git a/datum/tgui.html b/datum/tgui.html new file mode 100644 index 0000000000000..1b4bc082c1688 --- /dev/null +++ b/datum/tgui.html @@ -0,0 +1,34 @@ +/datum/tgui - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/tgui

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

+

tgui datum (represents a UI).

Vars

autoupdateUpdate the UI every MC tick.
closingStops further updates when close() was called.
cooldownsRate limit client refreshes to prevent DoS.
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.
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 the 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
closepublic
get_payloadprivate
on_act_messageWrapper for behavior to potentially wait until the next tick if the server is overloaded
on_messageprivate
openpublic
processprivate
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.

cooldowns

Rate limit client refreshes to prevent DoS.

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.

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 the 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.

+

return datum/tgui The requested UI.

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

private

+

Run an update cycle for this UI. Called internally by tgui_process +every second or so.

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

\ No newline at end of file diff --git a/datum/tgui_bug_report_form.html b/datum/tgui_bug_report_form.html new file mode 100644 index 0000000000000..5b9335d140de9 --- /dev/null +++ b/datum/tgui_bug_report_form.html @@ -0,0 +1 @@ +/datum/tgui_bug_report_form - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/tgui_bug_report_form

Vars

closedBoolean field describing if the bug report form was closed by the user.
dataData from the bug report form.
doneBoolean field describing if the bug report form was finished and confirmed by the user.

Var Details

closed

Boolean field describing if the bug report form was closed by the user.

data

Data from the bug report form.

done

Boolean field describing if the bug report form was finished and confirmed by the user.

\ No newline at end of file diff --git a/datum/tgui_color_picker.html b/datum/tgui_color_picker.html new file mode 100644 index 0000000000000..d797337fa402d --- /dev/null +++ b/datum/tgui_color_picker.html @@ -0,0 +1,3 @@ +/datum/tgui_color_picker - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

tgui_color_picker

Datum used for instantiating and using a TGUI-controlled color picker.

Vars

autofocusThe bool that controls if this modal should grab window focus
choiceThe color the user selected, null if no selection has been made
closedBoolean field describing if the tgui_color_picker was closed by the user.
defaultThe default choice, used if there is an existing value
messageThe message to show the user
start_timeThe time at which the tgui_color_picker was created, for displaying timeout progress.
timeoutThe lifespan of the tgui_color_picker, after which the window will close and delete itself.
titleThe title of the TGUI window

Procs

repeat_stringReturns string repeated times times
sanitize_hexcolorReturn color if it is a valid hex color, otherwise default
waitWaits for a user's response to the tgui_color_picker's prompt before returning. Returns early if +the window was closed by the user.

Var Details

autofocus

The bool that controls if this modal should grab window focus

choice

The color the user selected, null if no selection has been made

closed

Boolean field describing if the tgui_color_picker was closed by the user.

default

The default choice, used if there is an existing value

message

The message to show the user

start_time

The time at which the tgui_color_picker was created, for displaying timeout progress.

timeout

The lifespan of the tgui_color_picker, after which the window will close and delete itself.

title

The title of the TGUI window

Proc Details

repeat_string

Returns string repeated times times

sanitize_hexcolor

Return color if it is a valid hex color, otherwise default

wait

Waits for a user's response to the tgui_color_picker's prompt before returning. Returns early if +the window was closed by the user.

\ No newline at end of file diff --git a/datum/tgui_color_picker/async.html b/datum/tgui_color_picker/async.html new file mode 100644 index 0000000000000..2d016eabeab17 --- /dev/null +++ b/datum/tgui_color_picker/async.html @@ -0,0 +1 @@ +/datum/tgui_color_picker/async - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

async tgui_color_picker

An asynchronous version of tgui_color_picker to be used with callbacks instead of waiting on user responses.

Vars

callbackThe callback to be invoked by the tgui_color_picker upon having a choice made.

Var Details

callback

The callback to be invoked by the tgui_color_picker upon having a choice made.

\ No newline at end of file diff --git a/datum/tgui_input_bitfield.html b/datum/tgui_input_bitfield.html new file mode 100644 index 0000000000000..0ad0febca1722 --- /dev/null +++ b/datum/tgui_input_bitfield.html @@ -0,0 +1,3 @@ +/datum/tgui_input_bitfield - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

tgui_input_bitfield

Datum used for instantiating and using a TGUI-controlled bitfield editor.

Vars

autofocusThe bool that controls if this modal should grab window focus
closedBoolean field describing if the tgui_input_bitfield was closed by the user.
defaultThe default (or current) value, used if there is an existing value
entryThe value the user selected, null if no selection has been made
messageThe message to show the user
start_timeThe time at which the tgui_input_bitfield was created, for displaying timeout progress.
timeoutThe lifespan of the tgui_input_bitfield, after which the window will close and delete itself.
titleThe title of the TGUI window

Procs

waitWaits for a user's response to the tgui_input_bitfield's prompt before returning. Returns early if +the window was closed by the user.

Var Details

autofocus

The bool that controls if this modal should grab window focus

closed

Boolean field describing if the tgui_input_bitfield was closed by the user.

default

The default (or current) value, used if there is an existing value

entry

The value the user selected, null if no selection has been made

message

The message to show the user

start_time

The time at which the tgui_input_bitfield was created, for displaying timeout progress.

timeout

The lifespan of the tgui_input_bitfield, after which the window will close and delete itself.

title

The title of the TGUI window

Proc Details

wait

Waits for a user's response to the tgui_input_bitfield's prompt before returning. Returns early if +the window was closed by the user.

\ No newline at end of file diff --git a/datum/tgui_input_bitfield/async.html b/datum/tgui_input_bitfield/async.html new file mode 100644 index 0000000000000..8ef96737f5488 --- /dev/null +++ b/datum/tgui_input_bitfield/async.html @@ -0,0 +1 @@ +/datum/tgui_input_bitfield/async - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

async tgui_input_bitfield

An asynchronous version of tgui_input_bitfield to be used with callbacks instead of waiting on user responses.

Vars

callbackThe callback to be invoked by the tgui_input_bitfield upon having a choice made.

Var Details

callback

The callback to be invoked by the tgui_input_bitfield upon having a choice made.

\ No newline at end of file diff --git a/datum/tgui_input_number.html b/datum/tgui_input_number.html new file mode 100644 index 0000000000000..4c78c86a0eaa8 --- /dev/null +++ b/datum/tgui_input_number.html @@ -0,0 +1,4 @@ +/datum/tgui_input_number - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

tgui_input_number

Datum used for instantiating and using a TGUI-controlled numbox that prompts the user with +a message and has an input for text entry.

Vars

closedBoolean field describing if the tgui_input_number was closed by the user.
defaultThe default (or current) value, shown as a default. Users can press reset with this.
entryThe entry that the user has return_typed in.
max_valueThe maximum value that can be entered.
messageThe prompt's body, if any, of the TGUI window.
min_valueThe minimum value that can be entered.
round_inputIf the input should be rounded upon submitting
start_timeThe time at which the tgui_modal was created, for displaying timeout progress.
themeThe TGUI theme used for the window.
timeoutThe lifespan of the tgui_input_number, after which the window will close and delete itself.
titleThe title of the TGUI window
userThe user of the TGUI window

Procs

waitWaits for a user's response to the tgui_input_number's prompt before returning. Returns early if +the window was closed by the user.

Var Details

closed

Boolean field describing if the tgui_input_number was closed by the user.

default

The default (or current) value, shown as a default. Users can press reset with this.

entry

The entry that the user has return_typed in.

max_value

The maximum value that can be entered.

message

The prompt's body, if any, of the TGUI window.

min_value

The minimum value that can be entered.

round_input

If the input should be rounded upon submitting

start_time

The time at which the tgui_modal was created, for displaying timeout progress.

theme

The TGUI theme used for the window.

timeout

The lifespan of the tgui_input_number, after which the window will close and delete itself.

title

The title of the TGUI window

user

The user of the TGUI window

Proc Details

wait

Waits for a user's response to the tgui_input_number's prompt before returning. Returns early if +the window was closed by the user.

\ No newline at end of file diff --git a/datum/tgui_input_number/async.html b/datum/tgui_input_number/async.html new file mode 100644 index 0000000000000..17642b501dc17 --- /dev/null +++ b/datum/tgui_input_number/async.html @@ -0,0 +1 @@ +/datum/tgui_input_number/async - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

async tgui_input_number

An asynchronous version of tgui_input_number to be used with callbacks instead of waiting on user responses.

Vars

callbackThe callback to be invoked by the tgui_input_number upon having a choice made.

Var Details

callback

The callback to be invoked by the tgui_input_number upon having a choice made.

\ No newline at end of file diff --git a/datum/tgui_input_pin.html b/datum/tgui_input_pin.html new file mode 100644 index 0000000000000..d8ac2e0715c2a --- /dev/null +++ b/datum/tgui_input_pin.html @@ -0,0 +1,4 @@ +/datum/tgui_input_pin - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

tgui_input_pin

Datum used for instantiating and using a TGUI-controlled pin keyboard that prompts the user with +a message and has an input for pin entry.

Vars

closedBoolean field describing if the tgui_input_pin was closed by the user.
defaultThe default (or current) value, shown as a default. Users can press reset with this.
entryThe entry that the user has return_typed in.
max_valueThe maximum value that can be entered.
messageThe prompt's body, if any, of the TGUI window.
min_valueThe minimum value that can be entered.
start_timeThe time at which the tgui_modal was created, for displaying timeout progress.
themeThe TGUI theme used for the window.
timeoutThe lifespan of the tgui_input_pin, after which the window will close and delete itself.
titleThe title of the TGUI window
userThe user of the TGUI window

Procs

waitWaits for a user's response to the tgui_input_pin's prompt before returning. Returns early if +the window was closed by the user.

Var Details

closed

Boolean field describing if the tgui_input_pin was closed by the user.

default

The default (or current) value, shown as a default. Users can press reset with this.

entry

The entry that the user has return_typed in.

max_value

The maximum value that can be entered.

message

The prompt's body, if any, of the TGUI window.

min_value

The minimum value that can be entered.

start_time

The time at which the tgui_modal was created, for displaying timeout progress.

theme

The TGUI theme used for the window.

timeout

The lifespan of the tgui_input_pin, after which the window will close and delete itself.

title

The title of the TGUI window

user

The user of the TGUI window

Proc Details

wait

Waits for a user's response to the tgui_input_pin's prompt before returning. Returns early if +the window was closed by the user.

\ No newline at end of file diff --git a/datum/tgui_input_pin/async.html b/datum/tgui_input_pin/async.html new file mode 100644 index 0000000000000..838b66f03ea10 --- /dev/null +++ b/datum/tgui_input_pin/async.html @@ -0,0 +1 @@ +/datum/tgui_input_pin/async - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

async tgui_input_pin

An asynchronous version of tgui_input_pin to be used with callbacks instead of waiting on user responses.

Vars

callbackThe callback to be invoked by the tgui_input_pin upon having a choice made.

Var Details

callback

The callback to be invoked by the tgui_input_pin upon having a choice made.

\ No newline at end of file diff --git a/datum/tgui_input_text.html b/datum/tgui_input_text.html new file mode 100644 index 0000000000000..1978d6c84bc12 --- /dev/null +++ b/datum/tgui_input_text.html @@ -0,0 +1,4 @@ +/datum/tgui_input_text - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

tgui_input_text

Datum used for instantiating and using a TGUI-controlled textbox that prompts the user with +a message and has an input for text entry.

Vars

allowEmptyMakes the text box allow an empty string to be submitted
closedBoolean field describing if the tgui_input_text was closed by the user.
defaultThe default (or current) value, shown as a default.
entryThe entry that the user has return_typed in.
max_lengthThe maximum length for text entry
messageThe prompt's body, if any, of the TGUI window.
multilineMultiline input for larger input boxes.
start_timeThe time at which the tgui_modal was created, for displaying timeout progress.
themeThe TGUI theme used for the window
timeoutThe lifespan of the tgui_input_text, after which the window will close and delete itself.
titleThe title of the TGUI window
userThe user of the TGUI window

Procs

waitWaits for a user's response to the tgui_input_text's prompt before returning. Returns early if +the window was closed by the user.

Var Details

allowEmpty

Makes the text box allow an empty string to be submitted

closed

Boolean field describing if the tgui_input_text was closed by the user.

default

The default (or current) value, shown as a default.

entry

The entry that the user has return_typed in.

max_length

The maximum length for text entry

message

The prompt's body, if any, of the TGUI window.

multiline

Multiline input for larger input boxes.

start_time

The time at which the tgui_modal was created, for displaying timeout progress.

theme

The TGUI theme used for the window

timeout

The lifespan of the tgui_input_text, after which the window will close and delete itself.

title

The title of the TGUI window

user

The user of the TGUI window

Proc Details

wait

Waits for a user's response to the tgui_input_text's prompt before returning. Returns early if +the window was closed by the user.

\ No newline at end of file diff --git a/datum/tgui_input_text/async.html b/datum/tgui_input_text/async.html new file mode 100644 index 0000000000000..db3d5d772aae1 --- /dev/null +++ b/datum/tgui_input_text/async.html @@ -0,0 +1 @@ +/datum/tgui_input_text/async - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

async tgui_input_text

An asynchronous version of tgui_input_text to be used with callbacks instead of waiting on user responses.

Vars

callbackThe callback to be invoked by the tgui_input_text upon having a choice made.

Var Details

callback

The callback to be invoked by the tgui_input_text upon having a choice made.

\ No newline at end of file diff --git a/datum/tgui_message.html b/datum/tgui_message.html new file mode 100644 index 0000000000000..4206abaff9aba --- /dev/null +++ b/datum/tgui_message.html @@ -0,0 +1 @@ +/datum/tgui_message - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

tgui_message

Datum used for instantiating and using a TGUI-controlled simple message box

Vars

messageThe message displayed in the body of the TGUI window.
sanitizeWhether or not to sanitize the message. DO NOT TRUST USER INPUT. NO.
start_timeThe time at which the tgui_modal was created, for displaying timeout progress.
themeThe TGUI theme used for the window.
timeoutThe lifespan of the tgui_message, after which the window will close and delete itself.
titleThe title of the TGUI window
userThe user of the TGUI window

Var Details

message

The message displayed in the body of the TGUI window.

sanitize

Whether or not to sanitize the message. DO NOT TRUST USER INPUT. NO.

start_time

The time at which the tgui_modal was created, for displaying timeout progress.

theme

The TGUI theme used for the window.

timeout

The lifespan of the tgui_message, after which the window will close and delete itself.

title

The title of the TGUI window

user

The user of the TGUI window

\ No newline at end of file diff --git a/datum/tgui_modal.html b/datum/tgui_modal.html new file mode 100644 index 0000000000000..78cf9a0b67a57 --- /dev/null +++ b/datum/tgui_modal.html @@ -0,0 +1,4 @@ +/datum/tgui_modal - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

tgui_modal

Datum used for instantiating and using a TGUI-controlled modal that prompts the user with +a message and has items for responses.

Vars

autofocusThe bool that controls if this modal should grab window focus
choiceThe button that the user has pressed, null if no selection has been made
closedBoolean field describing if the tgui_modal was closed by the user.
content_windowThe name of the part to be used for the alert's content, to be used in lieu of message
itemsThe list of items (responses) provided on the TGUI window
messageThe textual body of the TGUI window
start_timeThe time at which the tgui_modal was created, for displaying timeout progress.
themeThe TGUI theme used for the window
timeoutThe lifespan of the tgui_modal, after which the window will close and delete itself.
titleThe title of the TGUI window
userThe user of the TGUI window

Procs

waitWaits for a user's response to the tgui_alert's prompt before returning. Returns early if +the window was closed by the user.

Var Details

autofocus

The bool that controls if this modal should grab window focus

choice

The button that the user has pressed, null if no selection has been made

closed

Boolean field describing if the tgui_modal was closed by the user.

content_window

The name of the part to be used for the alert's content, to be used in lieu of message

items

The list of items (responses) provided on the TGUI window

message

The textual body of the TGUI window

start_time

The time at which the tgui_modal was created, for displaying timeout progress.

theme

The TGUI theme used for the window

timeout

The lifespan of the tgui_modal, after which the window will close and delete itself.

title

The title of the TGUI window

user

The user of the TGUI window

Proc Details

wait

Waits for a user's response to the tgui_alert's prompt before returning. Returns early if +the window was closed by the user.

\ No newline at end of file diff --git a/datum/tgui_modal/list_input.html b/datum/tgui_modal/list_input.html new file mode 100644 index 0000000000000..f7a5da19e59fb --- /dev/null +++ b/datum/tgui_modal/list_input.html @@ -0,0 +1,2 @@ +/datum/tgui_modal/list_input - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

tgui_modal/list_input

Datum used for instantiating and using a TGUI-controlled list input that prompts the user with +a message and shows a list of selectable options

Vars

capitalizeWhether to capitalize the first letter of each item
defaultThe default button to be selected
items_mapButtons (strings specifically) mapped to the actual value (e.g. a mob or a verb)
start_with_searchWhether we start with the search bar open

Var Details

capitalize

Whether to capitalize the first letter of each item

default

The default button to be selected

items_map

Buttons (strings specifically) mapped to the actual value (e.g. a mob or a verb)

Whether we start with the search bar open

\ No newline at end of file diff --git a/datum/tgui_modal/list_input/async.html b/datum/tgui_modal/list_input/async.html new file mode 100644 index 0000000000000..1d7487c492c0d --- /dev/null +++ b/datum/tgui_modal/list_input/async.html @@ -0,0 +1 @@ +/datum/tgui_modal/list_input/async - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

async tgui_modal/list_input

An asynchronous version of tgui_modal/list_input to be used with callbacks instead of waiting on user responses.

Vars

callbackThe callback to be invoked by the tgui_modal/list_input upon having a choice made.

Var Details

callback

The callback to be invoked by the tgui_modal/list_input upon having a choice made.

\ No newline at end of file diff --git a/datum/tgui_window.html b/datum/tgui_window.html new file mode 100644 index 0000000000000..62b30b3ead6f7 --- /dev/null +++ b/datum/tgui_window.html @@ -0,0 +1,48 @@ +/datum/tgui_window - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/tgui_window

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

Vars

byondToTguiEventMapStatic list used to map in macros that will then emit execute events to the tgui window +A small disclaimer though I'm no tech wiz: I don't think it's possible to map in right or middle +clicks in the current state, as they're keywords rather than modifiers.

Procs

Newpublic
acquire_lockpublic
can_be_suspendedpublic
closepublic
flush_message_queueprivate
handle_cdn_assetprivate
initializepublic
is_readypublic
on_messageprivate
reinitializepublic
release_lockRelease the window lock.
send_assetpublic
send_messagepublic
send_raw_messagepublic
subscribepublic
unsubscribepublic

Var Details

byondToTguiEventMap

Static list used to map in macros that will then emit execute events to the tgui window +A small disclaimer though I'm no tech wiz: I don't think it's possible to map in right or middle +clicks in the current state, as they're keywords rather than modifiers.

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 hook its on_message +callback into the message stream.

+

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.

handle_cdn_asset

private

+

Parses our asset structures for the Goonstation CDN setup

+

return: the string to put in the html window

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

Release the window lock.

send_asset

public

+

Makes an asset available to use in tgui.

+

required asset datum/asset

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.

\ No newline at end of file diff --git a/datum/trader.html b/datum/trader.html new file mode 100644 index 0000000000000..d2ea641e7d7d8 --- /dev/null +++ b/datum/trader.html @@ -0,0 +1 @@ +/datum/trader - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

trader

Vars

business_cardA business card or other item type to occasionally include with orders

Var Details

business_card

A business card or other item type to occasionally include with orders

\ No newline at end of file diff --git a/datum/trait.html b/datum/trait.html new file mode 100644 index 0000000000000..444c23a7d7165 --- /dev/null +++ b/datum/trait.html @@ -0,0 +1 @@ +/datum/trait - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/trait

Vars

disability_descDescription of the disability for medical records
disability_nameName of the disability for medical records
disability_typeIs this a major/minor/not a disability

Var Details

disability_desc

Description of the disability for medical records

disability_name

Name of the disability for medical records

disability_type

Is this a major/minor/not a disability

\ No newline at end of file diff --git a/datum/trait/job/chaplain.html b/datum/trait/job/chaplain.html new file mode 100644 index 0000000000000..c8349c4a4453b --- /dev/null +++ b/datum/trait/job/chaplain.html @@ -0,0 +1 @@ +/datum/trait/job/chaplain - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Chaplain Training

Vars

faith_multmultiplier for faith gain only - faith losses ignore this

Var Details

faith_mult

multiplier for faith gain only - faith losses ignore this

\ No newline at end of file diff --git a/datum/traitHolder.html b/datum/traitHolder.html new file mode 100644 index 0000000000000..0c666d46d8b4a --- /dev/null +++ b/datum/traitHolder.html @@ -0,0 +1 @@ +/datum/traitHolder - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/traitHolder

Vars

mind_role_fallbackRole used to prevent addition of specific traits, in case of owner not (yet?) having a mind

Var Details

mind_role_fallback

Role used to prevent addition of specific traits, in case of owner not (yet?) having a mind

\ No newline at end of file diff --git a/datum/ui_state.html b/datum/ui_state.html new file mode 100644 index 0000000000000..5f0ee335cb8f5 --- /dev/null +++ b/datum/ui_state.html @@ -0,0 +1,6 @@ +/datum/ui_state - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

/datum/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.

\ No newline at end of file diff --git a/datum/unionfind.html b/datum/unionfind.html new file mode 100644 index 0000000000000..47d1973e1fa02 --- /dev/null +++ b/datum/unionfind.html @@ -0,0 +1,7 @@ +/datum/unionfind - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

/datum/unionfind

Union-find data structure.

+

This is a data structure that keeps track of a set of elements partitioned +into a number of disjoint (non-overlapping) subsets. It provides near-constant-time +operations (bounded by the inverse Ackermann function) to add new sets, to merge +existing sets, and to determine whether elements are in the same set.

Procs

FindFinds the representative of the set that the given element is in.
InSameSetReturns whether the given elements are in the same set.
NewCreates a new union-find data structure with the given number of elements. +The elements will be numbers from 1 to size.
UnionMerges the sets that the given elements are in.

Proc Details

Find

Finds the representative of the set that the given element is in.

InSameSet

Returns whether the given elements are in the same set.

New

Creates a new union-find data structure with the given number of elements. +The elements will be numbers from 1 to size.

Union

Merges the sets that the given elements are in.

\ No newline at end of file diff --git a/datum/unit_test.html b/datum/unit_test.html new file mode 100644 index 0000000000000..6d29af6084009 --- /dev/null +++ b/datum/unit_test.html @@ -0,0 +1,3 @@ +/datum/unit_test - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/unit_test

Vars

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

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

\ No newline at end of file diff --git a/datum/unit_test/passability_cache.html b/datum/unit_test/passability_cache.html new file mode 100644 index 0000000000000..39cf2e2dae7b0 --- /dev/null +++ b/datum/unit_test/passability_cache.html @@ -0,0 +1,5 @@ +/datum/unit_test/passability_cache - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/unit_test/passability_cache

Vars

forbidden_procsList of procs that are forbidden to be implemented on stable atoms.
permitted_instabilityList of types which are permitted to violate certain stability rules.

Procs

RunJPS Passability cache flag /atom/var/pass_unstable correctness checking. +Issue a failure for every descendent of /atom claiming to be stable, that is itself, or a descendant of, any type that contains an implementation +of a proc listed in forbidden_procs that is not explicitly allowed in permitted_instability.

Var Details

forbidden_procs

List of procs that are forbidden to be implemented on stable atoms.

permitted_instability

List of types which are permitted to violate certain stability rules.

Proc Details

Run

JPS Passability cache flag /atom/var/pass_unstable correctness checking. +Issue a failure for every descendent of /atom claiming to be stable, that is itself, or a descendant of, any type that contains an implementation +of a proc listed in forbidden_procs that is not explicitly allowed in permitted_instability.

\ No newline at end of file diff --git a/datum/unlockable_flock_structure.html b/datum/unlockable_flock_structure.html new file mode 100644 index 0000000000000..13f31352869b8 --- /dev/null +++ b/datum/unlockable_flock_structure.html @@ -0,0 +1,3 @@ +/datum/unlockable_flock_structure - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

/datum/unlockable_flock_structure

Subclass this for every new building type you add +Override the check_unlocked() function to do whatever unlock logic you have +If you're looking for a specific event, I recommend /datum/flock.hasAchieved()

Procs

check_unlockedReturns true when unlock condition is met, false when it isn't.

Proc Details

check_unlocked

Returns true when unlock condition is met, false when it isn't.

\ No newline at end of file diff --git a/datum/vis_storage_controller.html b/datum/vis_storage_controller.html new file mode 100644 index 0000000000000..6e9ae51b4d090 --- /dev/null +++ b/datum/vis_storage_controller.html @@ -0,0 +1 @@ +/datum/vis_storage_controller - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/vis_storage_controller

Vars

vis_itemsThe items this storage controller contains

Var Details

vis_items

The items this storage controller contains

\ No newline at end of file diff --git a/datum/xor_rand_generator.html b/datum/xor_rand_generator.html new file mode 100644 index 0000000000000..e691e844d587c --- /dev/null +++ b/datum/xor_rand_generator.html @@ -0,0 +1 @@ +/datum/xor_rand_generator - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

/datum/xor_rand_generator

XORSHIFT Pseudorandom number generator

Procs

xor_randRandom Integer from (L,H) otherwise 0-1
xor_randfRandom float from (L,H)

Proc Details

xor_rand

Random Integer from (L,H) otherwise 0-1

xor_randf

Random float from (L,H)

\ No newline at end of file diff --git a/datum/zlevel.html b/datum/zlevel.html new file mode 100644 index 0000000000000..53c9656256bf7 --- /dev/null +++ b/datum/zlevel.html @@ -0,0 +1 @@ +/datum/zlevel - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/zlevel

Datum representing a single z-level

Vars

nameSome name of the map loaded into this z-level, currently filename without extension
pathFilesystem path to the map loaded into this z-level
zZ coordinate of this z-level

Var Details

name

Some name of the map loaded into this z-level, currently filename without extension

path

Filesystem path to the map loaded into this z-level

z

Z coordinate of this z-level

\ No newline at end of file diff --git a/datum/zoldorfitem.html b/datum/zoldorfitem.html new file mode 100644 index 0000000000000..9f2df889830fd --- /dev/null +++ b/datum/zoldorfitem.html @@ -0,0 +1 @@ +/datum/zoldorfitem - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/datum/zoldorfitem

Zoldorf Player Shop Item

Vars

imgBase64 image for the UI
infiniteDoes this item have infinite stock (overrides stock)
nameName of the Zoldorf item
pathObject path the Zoldorf Item
stockAmount of stock (overridden by infinite)

Var Details

img

Base64 image for the UI

infinite

Does this item have infinite stock (overrides stock)

name

Name of the Zoldorf item

path

Object path the Zoldorf Item

stock

Amount of stock (overridden by infinite)

\ No newline at end of file diff --git a/dmdoc.css b/dmdoc.css new file mode 100644 index 0000000000000..367f005d2a85d --- /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 0000000000000..6bf31f7e94411 --- /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/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 0000000000000..beb7b0cf0a4d9 --- /dev/null +++ b/global.html @@ -0,0 +1,758 @@ +(global) - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/(global)

Vars

NTHoS/NTSO-whitelisted players
RARITY_COLORGlobal static list of rarity color associations
Z4_ACTIVECentcom / Earth Stuff +Contents: +Areas: +Main Area +Outside +Offices +Lobby +Lounge +Garden +Power Supply
action_namesUsed to translate internal action names to human-readable names.
action_verbsUsed for literal input of actions
adminsAdmins ( ["ckey"] = "rank" ) +Populated by proc call in world.New()
alldirsEvery direction known to 2D tile-grid-locked spessmen
antagonistsAn associative list of all antagonist IDs, associated with a list of all antagonist datums of that ID.
area_list_is_up_to_dateThe station_areas list is up to date. If something changes an area, make sure to set this to 0
area_parallax_render_source_groupsAn associative list of parallax render source group types and the corresponding instance of that type.
base_slip_delaybase movedelay threshold for slipping
biomesAll possible biomes in assoc list as type || instance
by_catcontains lists of objects indexed by a category string based on START_TRACKING_CAT / STOP_TRACKING_CAT
by_typecontains lists of objects indexed by their type based on [START_TRACKING] / [STOP_TRACKING]
cached_colorspaint cans
cardinalNever Soggy Eat Waffles
chessboard
compid_fileThe file holding computer ID information
cycling_airlocksa global associative list of all airlocks linked together by cycling mechanisms. Indexed by ID
dirnamesAssoc. list of dirs like "north"=NORTH
dirvaluesAssoc. list of dirs like "[NORTH]" = "NORTH", useful for screen_loc
do_compid_analysisShould we be analysing the comp IDs of new clients?
dont_init_spaceWhen toggled on creating new /turf/space will be faster but they will be slightly broken +used when creating new z-levels
ehjaxEHJAX - Like ajax but for byond +A framework for browser popups to interact with the byond server, async (client-side)
emergency_shuttleControls the emergency shuttle
fishing_spotsinitialised on world/New(), associative list with the format (fishing_atom_type = /datum/fishing_spot)
flock_signal_unleashedHas a flock relay been unleashed yet this round
flocksassociative list of flock names to their flock
flockstats_globalGlobal list to handle multiple flocks existing
generic_exit_listGlobal list representing the standard exit command packet.
input_window_presetsPresets for standard windows
ircbotProcs for handling ircbot connectivity and data transfer
is_blank_string_regexReturns true if given string is just space characters +The explicitly defined entries are various blank unicode characters that don't get included as white space by \s
key_namesUsed to translate bitflags of hotkeys into human-readable names
keybind_stylesThis file is intended to hold all data pertaining to keybind_style datums and related functionality
light_update_queueList of items that want to be deleted
logsLoooooooooogs
mapNamesid corresponds to the name of the /obj/landmark/map +playerPickable defines whether the map can be chosen by players when voting on a new map.
mentorsMentors
named_color_cacheglobal cache of all named colors once fetched with a color rgba
named_colorsglobal list of all named colors
no_more_radiosstupid global var, if true then all radios will start "bricked"
non_vital_organ_stringsThis contains a list with organ strings that not instantly kill someone when lost.
ordinalDiagonal directions
oven_recipesCOOKING RECODE
parallax_enabledWhether parallax has been enabled or disabled globally.
part_customizationsLazy init singleton list
pcap_kick_messagesspecifies if pcap kick messages show display to admins in chat
phrase_logThis system keeps a logged list of player-created phrases of various categories. The lists are cross-round. +Useful for stuff like hallucinations etc. If the number of phrases in a category exceeds src.max_length +random phrases get thrown out to reduce the size when saving. +Currently logged categories: +say - people talking +whisper - people whispering +pda - pda messages +deadsay - ghosts talking +ailaw - custom AI laws +record - custom radio station record names +emote - custom emotes +prayer - prayers +name-X - player chosen name for X where X is from the set {blob, ai, cyborg, clown, mime, wizard, ...} +vehicle - vehicle names (via a bottle of Champagne) +sing - people singing +pill - custom pill name +bottle - custom obttle name +voice-mimic - voices used by the changeling mimic voice ability +voice-radiostation - voices used by the radio station voice synthesizer +telepathy - messages sent through the telepathy genetics ability +bot-X - custom bot name, X is from the set {camera, fire, guard, med, sec} (I bet you didn't even know you could rename bots with a pen, huh) +name-bee - custom bee / bee larva name +name-critter - custom critter name (you can rename those with a pen too, whoa) +seed - custom botany seed name +paper - stuff people write on papers +crayon-queue - crayon queue mode inputs
planetZLevelThe following is based on GenerateMining.dm
planet_parallax_render_source_groupsAn list of parallax render source group instances that are used within procedurally generated planets.
portable_machineryRemote parent
protected_frequenciesradio frequencies unable to be picked up by (empowered) radio_brain
reagent_shorthandsList of 2 letter shorthands for the reagent, currently only used by the cybernetic hypospray
requirement_cacheManufacturing Requirements are datums which check if a material satisfies some given requirements, to determine if a manufacturer can produce +a blueprint. Manufacturing datums define them by their string ID, which gets converted to the single instance of it in the cache on New(). +Not shown in this file are the exact material ID requirement datums, which are generated for the cache on init using the material cache.
roles_to_prefsAssociative list of role defines and their respective client preferences.
roundManagementCollection of methods to handle recording round data to the API
sb_trickspool of precached sounds
sortInstanceThis is a global instance to allow much of this code to be reused. The interfaces are kept separately
station_areasAll the accessible areas on the station in one convenient place
statusGroupLimitsSimple global list of groupname : amount, that tells the system how many effects of a group we can have active at most. +See exclusiveGroup. Buffs above the max will not be applied.
switched_objsContains objects in ID-based switched object groups, such as blinds and their switches
tgui_admin_statetgui state: admin_state
tgui_always_statetgui state: always_state
tgui_broken_statetgui state: broken
tgui_conscious_statetgui state: conscious_state
tgui_contained_statetgui state: contained_state
tgui_deep_inventory_statetgui state: deep_inventory_state
tgui_default_statetgui state: default_state
tgui_hands_statetgui state: hands_state
tgui_human_adjacent_statetgui state: human_adjacent_state
tgui_inventory_statetgui state: inventory_state
tgui_not_incapacitated_statetgui state: not_incapacitated_state
tgui_not_incapacitated_turf_statetgui state: not_incapacitated_turf_state
tgui_notcontained_statetgui state: notcontained_state
tgui_observer_statetgui state: observer_state
tgui_physical_obscured_statetgui state: physical_obscured_state
tgui_physical_statetgui state: physical_state
tgui_self_statetgui state: self_state
tgui_z_statetgui state: z_state
the_automatoncogwerks spooky automaton thing that kinda just sits there being weird and ominous
transception_arrayStation's transception anrray, used for cargo I/O operations on maps that include one
triggerVarsThis contains the names of the trigger lists on materials. Required for copying materials. Remember to keep this updated if you add new triggers.
unconnected_zoneAreas built anew belong to a single unconnected zone, which gives its turfs over to other expandable areas when contacting them
valid_icon_statesIcon states that exist for a given icon ref. Format is valid_icon_states[icon] = list(). Populated by is_valid_icon_state(), used for caching.
waterflow_enabledFluid Object
whitelistCkeysPlayers whomst'd've get allowed if whitelist-only is enabled
worldgenCandidatesLargely used for handling auto turfs that update their appearance +to "connect" to nearby walls +Turfs add themselves to this in their New()
z_level_parallax_render_source_groupsAn associative list of each z-level define and its corresponding parallax layer render source group. See code\map\map_settings.dm for the default parallax render sources for each z-level.
zlevelsList containing all z-level datums indexed by their z coordinate

Procs

ClearBadsmokeRefsSMOKE SYSTEMS
FindBankAccountsByJobsGiven a list of jobs, return the associated bank account records. Does not de-duplicate bank account records.
GetRandomPerimeterTurfReturns a turf at the edge of a squared circle of specified radius around a thing
HYPchem_scalingThis proc causes all chem production of botany to have a diminishing return with potency (or other stats for e.g. maneaters)
HYPfull_potency_calculationthis proc is a shortcut to calculate the amount of chems to produce from a linear factor and the plantgenes
HeapPathWeightCompareTODO: Macro this to reduce proc overhead
IsGuestKeyReturns true if the given key is a guest key
addPlayerNoteAdding a player note
addTimeAdd time to a given BYOND time format
add_coloradds a named color to the global list +given name and RGB color
add_zeroAdds zeroes to the beginning of a string until it reaches the desired length
affine_color_mapping_matrixThe same thing as [proc/color_mapping_matrix] but with 4 mapped colors. +The first color is used as the origin in the affine transform.
angle2textReturns the given degree converted to a text string in the form of a direction
angle_inbetweenChecks if an angle is between two other angles
angle_to_dirTransforms a given angle to a cardinal/ordinal direction
angle_to_vectorTransforms a given angle to vec2 in a list
animate_spaghettificationAnimate being stretched and spun around a point. Looks best when combined with a distortion map. Note that the resulting dummy object is added to center.vis_contents and deleted when done. +atom/A is the thing to spaghettify. Note this proc does not delete A, you must handle that separately +atom/center is the central atom around which to spin, usually the singulo +spaget_time is how long to run the animation. Default 15 seconds. +right_spinning is whether to go clockwise or anti-clockwise. Default true. +client/C is to show the spaghetti to only one client, or null to show it to everybody. Default null.
applyCableMaterialsYes hello apparently we need a proc for this because theres a million types of different wires and cables.
approx_time_textreturns a string describing approximately how much time this represents, useful for when you want to be vague +if this already exists somewhere else I apologise but I couldn't find it
ass_explosion_limb_successReturns 0 if it cant be severed like this, 1 if it always gets severed, or 2 if it sometimes gets severed
ass_explosion_messagereturns some flufftext as to why their limb didnt come off. Or came off anyway.
attack_particleobj/attackby(var/obj/item/I, mob/user)
attenuate_for_locationreturns 0 to 1 based on air pressure in turf
bash_explodeBASH explode: Splits a string into string pieces the same way BASH handles this.
binobj_to_generatorParticle sets contain a "_binobj" variable, which exposes some of its properties, as the /particles/ "datum" is otherwise just a wrapper wih nothing relevant in it. +This proc extracts data from a given _binobj value and creates a generator with the same properties.
blank_or_es'they smash' vs 'he smashes'
blank_or_s'they run' vs 'he runs'
blend_skintoneBlends given rgb values with old human mob skin color (#ffca95) to return a new rgb value
build_manufacturer_iconsPre-build the icons for things manufacturers make
build_syndi_buylist_cacheBuilds the entire syndicate buylist cache, retrieved by uplinks. Ideally only executed once during the pre-round
calculateHeatTransferCoefficientReturns the thermal conductivity between two materials, based on thermal and electrical conductivity mat property. +Thermal conductivity ranges from 0 (perfect insulator) to infinity. Excellent conductors like copper are about 100
can_actReturns true if not incapicitated and unhandcuffed (by default)
change_ghost_invisibilityChanges ghost invisibility for the round.
checkTurfPassableReturns false if there is a dense atom on the turf, unless a custom hueristic is passed.
check_whitelistRemoves non-whitelisted reagents from the reagents of TA
ckey_to_mobA universal ckey -> mob reference lookup proc, adapted from whois() (Convair880).
ckey_to_mob_maybe_disconnectedGiven a ckey finds a mob with that ckey even if they are not in the game.
cloud_saves_put_data_bulkMass save a collection of cloud data for various players +Input format: +list( +list( +"player_id" = 1, +"key" = "foo", +"value" = "bar" +), +list( +"player_id" = 2, +"key" = "foo2", +"value" = "bar2" +) +)
cloud_saves_transferTransfer all cloud save files from one player to another +WARNING: This overwrites all the saves for the target
cmp_minimap_modifiersCompare the priority of two minimap render modifiers.
color_mapping_matrixTakes two lists, inp=list(i1, i2, i3), out=(o1, o2, o3). +Creates a color matrix which maps color i1 to o2, i2 to o2, i3 to o3. (Ignores alpha values.) +Keep the i1, i2, i3 vectors linearly independent. +The colors can be either be color hex strings or lists as returned from hex_to_rgb_list. +You need to supply all arguments. If you don't care about the third just set i3 = o3 to something linearly independent of i1 and i2.
command2listCommand2list is a modified version of dd_text2list() designed to eat empty list entries generated by superfluous whitespace. +It also can insert shell alias/variables if provided with a replacement value list.
concrete_typesof[/proc/typesof()] but only for concrete (not abstract) types, +it caches the result so you don't need to worry about doing that manually +so subsequent calls on the same type will be very fast.
connectdirs_to_byonddirsconverts get_connected_directions_bitflag() diagonal bits to byond direction flags
copy_overlaysCopies the overlay data from one atom to another
create_named_colorscalled at world startup +populates the color list
csoundSoundcache +NEVER use these sounds for modifying. +This should only be used for sounds that are played unaltered to the user. +@param text name the name of the sound that will be returned +@return sound
dead_player_listReturns a list of eligible dead players to be respawned as an antagonist or whatever (Convair880). +Text messages: 1: alert | 2: alert (chatbox) | 3: alert acknowledged (chatbox) | 4: no longer eligible (chatbox) | 5: waited too long (chatbox) +for_antag indicates that we are polling for an antag role and so should exclude antag-banned players
dectalkdectalk SAYS its default volume is 5 but it seems to actually be more like 100
deletePlayerNoteDeleting a player note
derive_analogous_colors
derive_color_from_hue_offset
derive_complementary_color
derive_square_colors
derive_triadic_colors
dir_to_angleTransforms a cardinal/ordinal direction to an angle
dir_to_dirnameReturns the lowercase english word for a direction (num)
dirname_to_dirReturns the direction (num) of a given lowercase english direction
display_slipup_imageSpawns an image above a patient when you slip up. Only the surgeon sees it.
doAssetParseCDN PROCS FOR LIVE SERVERS
do_hud_offset_thingadjusts a screen_loc to account for non-32px-width sprites, so they get centered in a HUD slot
do_slipupYou messed up. Cause damage and spawn some indicators.
eligible_dead_player_listReturns a list of eligible dead players that COULD choose to respawn or whatever
eligible_to_cloneCheck if a mind has a current mob, a client, and is dead/a ghost/doing afterlife stuff. +Scanning var controls whether we will return ghosts, because ghosts needs special handling in clone scans +to ensure they're not using a body that they've been cloned from before
english_listReturns a list in plain english as a string
faction_checkReturns TRUE if ourguy is enemies with otherguy FALSE otherwise
fake_bloodHelper procs
filename_from_pathGets the filaname from a filesystem path. Optionally strips extension too
filter_is_character_setup_ringtonetype filter for ringtones that're suposed to be selectable at roundstart
filtered_concrete_typesofThe same thing but now you can filter the types using a proc. Also cached. +The filter proc takes a type and should return 1 if we want to include it and 0 otherwise. +That proc should also be pure (always return the same thing for the same arguments) because of the caching. +If you want to use non-pure proc do the filtering manually yourself and don't use this. +Note that the first call to filtered_concrete_typesof with a given type and filter will be (possibly a lot) +slower than doing it manually. The benefit of this proc only shows itself for future calls which are +very fast due to caching.
findLastMatchreturns the position of the last matching needle in haystack, case sensitive
findLastMatchExreturns the position of the last matching needle in haystack, case insensitive
find_all_by_typeFinds all instance of a type in the world. +Returns a list of the instances if no procedure is given. +Otherwise, calls the procedure for each instance and returns an assoc list of the form list(instance = procedure(instance, arguments...), ...) +procedure_src is the src for the proc call. If it is null, a global proc is called. +If it is the string "instance" the output list will be instead list(instance = instance.procedure(arguments...), ...)
find_clientFind a client based on ckey
find_first_by_typeFinds some instance of a type in the world. Returns null if none found.
find_ghost_by_keyfind a ghost mob (or a ghost respawned as critter in vr/afterlife bar)
find_job_in_controller_by_stringSoft supresses logging on failing to find a job
find_playerreturns a reference to a player datum based on the ckey you put into it
fireflashgeneric proc for creating flashes of hotspot fire +falloff is in units of degrees per tile
fireflash_meltinggeneric proc for hotspot fire flashes that also melt turf
fixed_randompseudorandom number based on x, y in range 0 to 1
flatten_listFlattens a keyed list into a list of it's contents
flock_speakhow to speak in the flock +for speaker, pass: +-null to give a general system message +-mob to make a mob speak +-flock_structure for a structure message +involuntary overrides the sentient styling for messages generated by the possessed flock critter
formatTimeTextReturns time input as mm:ss
formattedShiftTimeReturns shift time as a string in hh:mm format. Call with TRUE to get time in hh:mm:ss format.
fromIso8601Convert ISO 8601 to BYOND time format (or epoch time if given argument for that)
gas_text_colorReturns the color of a given gas ID.
generate_access_name_lookupBuild the access_name_lookup table, to associate descriptions of accesses with their numerical value.
getClientFromCkeyFinds a client by ckey, throws exception if not found
getFlatIconCreates a single icon from a given /atom or /image. Only the first argument is required.
getFusedMaterialMerges two materials and returns result as new material.
getFusedTriggersFuses two material trigger lists.
getIconSizeHandles the two states icon_size can be in: basic number, or string in WxH format
getInterpolatedNameMerges two material names into one.
getItemIconGenerates item icons for manufacturers and other things, used in UI dialogs. Sends to client if needed.
getLineMatrixReturns the line matrix from a start atom to an end atom, used in creating line objects
getMatFailStringReturns a string for when a material fail or breaks depending on its material flags.
getMatFlagStringTranslates a material flag into a string.
getMaterialReturns one of the base materials by id.
getRoleReturns a string based on the current job and antag role of the mob e.g. "Staff Assistant [Traitor]"
getTimeInSecondsSinceTimeReturns the time in seconds since a given timestamp
get_accessGlobal lookup proc for access levels based on a job string (e.g. "Captain")
get_accessible_station_areasReturns a list of all areas on a station
get_adjacent_floorReturns the turf facing the fab for cardinal directions (which should also be the user's turf), +but for diagonals it returns a neighbouring turf depending on where you click +Just in case you're attacking a corner diagonally. (made initially for lamp manufacturers, probably behaves funky above range 1)
get_alive_antags_percentagereturns a decimal representing the percentage of alive crew that are also antags
get_all_antagonistsGets a list of all antagonist datums of ID role_id, or of all IDs if no ID is specified. +Returns a list of all antagonist datums. If no antagonist datums could be found, returns an empty list.
get_all_character_setup_ringtonessets up the list of ringtones players can select through character setup
get_all_gangsReturns a list of all gang datums.
get_all_mobs_inReturns list of all mobs within an atom. Not cheap! (unlike ur mum)
get_angleReturns the angle between two given atoms
get_assetsReturns either the already-created asset or creates a new one and returns it
get_available_custom_style_typesGets all the customization_styles which are available to a given client. Can be filtered by providing a gender flag or a type
get_average_colorTakes an icon and optionally two non-zero Pixel Intervals and returns the average color of the icon.
get_dead_crew_percentagereturns a decimal representing the percentage of dead crew (non-observers) to all crew
get_default_flockGimmick flock with infinite compute that lone structures and units automatically connect to
get_fullnessreturn description of how full a container is
get_general_recordReturns the datacore general record, or null if none found
get_hud_styleReturns hud style preferences of given client/mob
get_id_cardchecks an item for an id card
get_image_groupReturns the client image group for a given "key" argument. If one doesn't yet exist, creates it.
get_manifestReturns the crew manifest, but sorted according to the individual's rank. include_cryo includes a list of individuals in cryogenic storage +Set synd_int_request_device to the object calling the proc to get Syndicate Intelligence.
get_map_prefabsGets all prefabs of a given type.
get_matches_stringADMIN HELPER PROCS
get_nearest_colorreturns the name of the color nearest to the given color RGB
get_nearest_color_datumreturns the named_color datum that is nearest to the given color RGB
get_one_matchget_one_match attempts to find a type match for a given object. +The function allows customization of the base type, whether to use concrete types, +whether to use only admin spawnable, the comparison procedure, and the sort limit. +The function sorts the matches if a comparison procedure is provided and if the sort limit condition allows it, +then it presents a list of matches for the user to choose from.
get_ouija_word_listget_ouija_word_list
get_parallax_render_source_groupReturns a reference to the parallax render source group datum belonging to either an area or z-level.
get_path_toThis is the proc you use whenever you want to have pathfinding more complex than "try stepping towards the thing".
get_preference_for_roleReturn the name of a preference variable for the given role define.
get_random_station_storage_listReturn a list of station-level storage objects that are safe to spawn things into
get_random_subtypeReturns a random subtype when an atom has TYPEINFO with a random_subtypes list
get_singletonGets the instance of a singleton type (or a non-singleton type if you decide to use it on one).
get_standard_skintoneGiven user, will proompt user to select skin color from list (or custom) and returns skin tone after blending
get_tgm_maxxreturns the maxx value of a TGM formatted map. Accepts either a map file or preread map text data
get_tgm_maxyreturns the maxy value of a TGM formatted map. Accepts either a map file or preread map text data
get_top_ancestorGet the highest ancestor of this object in the tree that is an immediate child of a given ancestor.
get_type_typeinfoRetrieves the typeinfo datum for a given type.
get_uplink_typeReturns a path of a (presumably) valid uplink dependent on the user's mind.
get_weakrefGets a weak reference to the given datum. +This is a basically a reference that will not prevent garbage collection of the datum. Useful when you don't want to "own" the datum in question. +For example a mob holding a reference to its trinket. In that case it doesn't make sense to prevent garbage collection of the trinket. If the +trinket gets destroyed in-game we are fine if this weak reference to the trinket turns to null.
gradientTextRepeat a gradient between two colors across text. +Note: This is inaccurate because its a linear transformation, but human eyes do not perceive color this way.
handleTriggerGenerationsIncreases generations on material triggers and handles removal if over the generation cap.
hasParentMaterialSearches the parent materials of the given material, up to a given generation, for an id.
has_or_have'they have' vs 'he has'
he_or_she_dont_or_doesnt"he doesn't" vs "they don't"
hes_or_shes"they're outside" vs "he's outside"
hex2color_nameGiven hex color, returns string name of nearest named color
his_or_her'their cookie' vs 'her cookie'
hsv_transform_color_matrixGenerates a color matrix which performs an approximation of the HSV-space transform. +Hue is in degrees and is applied additively. +Saturation is in a 0-1 range and is applied multiplicatively. +Value is in a 0-1 range and is applied multiplicatively.
identify_objectFor runtime logs- returns the above plus ref
illiterateGarbleTextReturns given text replaced entirely by nonsense chars
in_cone_of_visionThis proc checks if one atom is in the cone of vision of another one.
in_interact_rangeFor interacting with stuff.
initialise_fishing_spotsrun on world/New(), clears global.fishing_spots (if it exists) and fills it with the format (fishing_atom_type = /datum/fishing_spot)
initialize_biomesInitialize all biomes, assoc as type || instance
isLeapYearreturns true if the year is divisible by 4, except for years that are divisible by 100. However, years that are divisible by 400 are also leap years.
isUpperReturns true if the char you feed it is uppercase.
isVowelReturns true if the given string has a vowel
is_hexReturns true if given value is a hex value
is_incapacitatedReturns true if the given mob is incapacitated
is_music_playingApproximate check of whether music is playing or not (radio / ad tapes / admin music all count as music here) +If music is playing this should return TRUE. But if music stopped playing only recently-ish it can sometimes return TRUE still. +In some rare cases it can happen that this has a false negative too so like don't rely on this for anything super important, ok?
is_or_are'they are' vs 'he is'
is_valid_abcu_objectChecks if a thing should be allowed to be saved / loaded by the ABCU. Currently does not do the whitelist / blacklist filtering.
isadminReturns true if given mob/client/mind is an admin
istypesistype but for checking a list of types
jobban_isbannedCan be provided with a mob, a raw cache list, or a ckey. Prefer providing a cache if you can't use a mob, as that reduces API load.
jpsTurfPassablethis is a slight modification of /proc/checkTurfPassable to avoid indirect proc call overhead +Returns false if there is a dense atom on the turf, unless a custom hueristic is passed.
list2textConverts a list into a string, placing a delimiter in between entries in the list.
load_config_listGets a list of ckeys from a file, ignoring comments/blank lines +This could probably be refactored to config files in general, but
log_objectFor logs- returns the thing's name and type. Handles nulls and non-datums fine, might do something weird for savefiles, clients, etc
log_respawn_eventLogs a player respawning as something from a respawn event, noting if they joined the round as an observer or not +Note: should be called BEFORE they are transferred to the new body
log_tguiAppends a tgui-related log entry. All arguments are optional.
make_associativeMake a normal list an associative one
make_playerreturns a reference to a player datum, but it tries to make a new one if it cant an already existing one (this is how it persists between connections)
man_or_woman'this man' vs 'this person'
mass_print_wanted_posterPrint a wanted poster to all station-level printers
matchesMaterialRecipeChecks if a material matches a recipe and returns the recipe if a match is found. returns null if nothing matches it.
maximal_subtypeReturns the maximal subtype (i.e. the most subby) in a list of given types
md5_to_more_pronouncableTakes a hash generated by md5() and turns it into a string of alternating consonants and vowels
move_elementMove a single element from position from_index within a list, to position to_index
move_rangeMove elements [from_index,from_index+len) to [to_index-len, to_index)
mult_color_matrixTakes two 20-length lists, turns them into 5x4 matrices, multiplies them together, and returns a 20-length list
newline_html_decodeReturns a string with all HTML special characters decoded and
replaced with newlines
newline_html_encodeReturns a string with all HTML special characters encoded and newlines replaced with
normalize_color_to_matrixTakes a possible value of the color var and returns a length 20 color matrix doing the same thing. +Available inputs: +null, "#rgb", "#rrggbb", "#rgba", "#rrggbbaa", all forms of color matrices
normalize_plain_data_listRecursively normalizes a list of plain_data and primitive values. Plain_data values are converted to lists, recursively.
o_clock_timeReturns the current timeofday in o'clock format
pad_leadingAdds char ahead of text until it reaches length characters total
pad_trailingAdds char after text until it reaches length characters total
pick_map_prefabPicks a random prefab from given prefab type. Filters the prefabs picked based on the given tags. +Choice is performed by a weighted random choice based on the prefab's probability. +Prefabs marked as required are always picked first.
pick_refGives the target mob a reference picker ability and returns the atom picked. Synchronous.
placeAllPrefabs
placeAllRandomRoomsSimilar to the prefab runtime checker. The following text is mostly plagiarised from PrefabRuntimeChecker.dm
playsound_globalPlays a sound to some clients without caring about its source location and stuff. +target can be either a list of clients or a list of mobs or world or an area or a z-level number.
predecessor_path_in_listFind predecessor of a type
prioritize_dead_playersReturns a randomized list of minds with players who joined as observer at the back
purge_fluid_blacklistDeletes any reagents that are banned in fluid puddles.
purge_smoke_blacklistDeletes any reagents that are banned in smoke clouds.
qdelqdel
radioGarbleTextReturns given text replaced by nonsense chars, excepting HTML tags, on a 40% or given % basis
random_emojiGenerates a random Unicode emoji that will look ok in the chat
random_hexReturns random hex value of length given
random_nonrestrictedz_turfReturns a random turf on a non-restricted z-level.
random_space_turfTries to return a random space turf. Tries a given number of times and if it fails it returns null instead.
random_splitReturns amount evenly distributed random integers that sum to sum
rc_buildentrySmall helper proc to simplify basic contract entry creation. +Accepts the path to the entry datum, and the count (in whatever unit it uses) to require.
record_cloner_defectsWrite current cloner defects to an existing datacore medical record
recursive_flistLists all files recursively in a given dir, refer to builtin flist() for details
resourceGENERIC HELPERS FOR BOTH SYSTEMS
reverse_list_rangeReverses a given list within the given range
rustg_get_versionGets the version of rust_g
rustg_redis_disconnect_rqDisconnects from a previously connected redis server
rustg_unix_timestampReturns the timestamp as a string
s_esReturns the plural based on a number provided.
sanitize_frequencyReturns f, ensured that it's a valid frequency
save_flock_statsIn a sensible language, this would be a static class proc. Alas this is DM. +This proc saves all the stats for all flocks in this round, and rotates the log so only the last FLOCK_ROUNDS_SAVED flock rounds are stored
seen_by_cameraReturn true if mob is on a turf with camera coverage
sendItemIconsSends all of the item icons to a client. Kinda gross, but whatever.
sendItemIconsToAllSends all item icons to all clients. Used at world startup to preload things.
send_assetsSends the list of asset files to client if they're needed
separate_radio_prefix_and_messageGiven a message, returns a list containing the radio prefix and the message, +so that the message can be manipulated seperately in various functions.
setup_z_level_parallax_render_sourcesInitialises z_level_parallax_render_source_groups by populating it with z-level parallax render source groups.
should_diary_logCheck config for whether a message should be logged to the diary
showLineCreates and shows a line object. Line object has an "affected" var that contains the cross tiles.
singularity_containment_checkChecks if there is a containment field in each direction from the center turf. If not returns null. +If yes returns the distance to the closest field.
sonic_attack_environmental_effectGiven center turf/atom, range, and list of things to smash, will damage said objects within range of center. +Used for sonic grenades and similar. Avoiding C&P Code.
sortListsortList - To sort lists via TimSort (in place)
sortListCopyJust like /proc/sortList, but return a sorted copy of the given list
string_type_of_anythingthing.type but it also returns "num" for numbers etc.
stringify_file_nameReturns a file objects name as a string with or without the exstension stripped
strip_prefixRemoves a given prefix from a string.
subtractTimeSubtract time from a given BYOND time format
swap_rangeMove elements from [from_index, from_index+len) to [to_index, to_index+len)
text2num_safeParses a number except for NaNs and infinities
tgui_TopicMiddleware for /client/Topic.
tgui_alertCreates a TGUI alert window and returns the user's response.
tgui_color_pickerCreates a TGUI color picker window and returns the user's response.
tgui_color_picker_asyncCreates an asynchronous TGUI color picker window with an associated callback.
tgui_input_bitfieldCopyright (c) 2024 @Azrun +SPDX-License-Identifier: MIT
tgui_input_listCreates a TGUI input list window and returns the user's response.
tgui_input_list_asyncCreates an asynchronous TGUI input list window with an associated callback.
tgui_input_numberCreates a TGUI window with a number input. Returns the user's response as num | null.
tgui_input_number_asyncCreates an asynchronous TGUI number input window with an associated callback.
tgui_input_pinCreates a TGUI window with a PIN input. Returns the user's response as string | null.
tgui_input_pin_asyncCreates an asynchronous TGUI PIN input window with an associated callback.
tgui_input_textCreates a TGUI window with a text input. Returns the user's response.
tgui_input_text_asyncCreates an asynchronous TGUI text input window with an associated callback.
tgui_message@file +@copyright 2024 +@author ZeWaka (https://github.com/zewaka) +@license MIT
tidy_net_dataCleans up data passed in from network packets for display so it doesn't mess with formatting
time_to_textReturns the passed decisecond-format time in the form of a text string
toIso8601Convert BYOND time format to ISO 8601
total_crossChecks if Cross succeeds for the turf and all atoms in it
total_densityReturns the sum of densities of all atoms in the given turf including the turf itself
type2parentReturns the parent type of a given type. +Assumes that parent_type was not overriden.
typecache_filter_listRurns a new list with only atoms that are in the typecache list
typecache_filter_list_reverseReturn a new list with atoms that are not in the typecache list
typecache_filter_multi_list_exclusionSimilar to typecache_filter_list and typecache_filter_list_reverse but it supports an inclusion list and and exclusion list
typecacheofLike typesof() or subtypesof(), but returns a typecache instead of a list.
ucfirstUppercases first letter
ucfirstsUppercases first letter of every word
ui_describe_reagentsReturns a serialized representation of the reagents of an atom for use with the ReagentInfo TGUI components +Note that this is not a built in TGUI proc
uwutalkuwutalk
validateIso8601Validate ISO 8601 format
ve_or_s"they've had" vs "he's had"
vector_magnitudeReturns the vector magnitude of an x value and a y value
vector_to_dirTransforms a supplied vector x & y to a direction
weighted_pickPicks a random element from a list based on a weighting system.
were_or_was'they were' vs 'he was'
whodeadFinds whoever's dead.
whoisLooks up a player based on a string. Searches a shit load of things whoa. Returns a list of mob refs.

Var Details

NT

HoS/NTSO-whitelisted players

RARITY_COLOR

Global static list of rarity color associations

Z4_ACTIVE

Centcom / Earth Stuff +Contents: +Areas: +Main Area +Outside +Offices +Lobby +Lounge +Garden +Power Supply

+
Turfs: Outside Concrete & Grass
+

action_names

Used to translate internal action names to human-readable names.

action_verbs

Used for literal input of actions

admins

Admins ( ["ckey"] = "rank" ) +Populated by proc call in world.New()

alldirs

Every direction known to 2D tile-grid-locked spessmen

antagonists

An associative list of all antagonist IDs, associated with a list of all antagonist datums of that ID.

area_list_is_up_to_date

The station_areas list is up to date. If something changes an area, make sure to set this to 0

area_parallax_render_source_groups

An associative list of parallax render source group types and the corresponding instance of that type.

base_slip_delay

base movedelay threshold for slipping

biomes

All possible biomes in assoc list as type || instance

by_cat

contains lists of objects indexed by a category string based on START_TRACKING_CAT / STOP_TRACKING_CAT

by_type

contains lists of objects indexed by their type based on [START_TRACKING] / [STOP_TRACKING]

cached_colors

paint cans

cardinal

Never Soggy Eat Waffles

chessboard


+

|\ |\ |\ |\ ___ \ |\ __\ |\ |\ _ \ _ |\ __ |\ |_ \ ___ \ |\ __ \ |\ ____\ |\ \ / __ |_ \
+\ \ _
|\ \ \\ \ \ /|\ \ _|
\ \ _
|\ \ \_
\ \ \ \ |\ \ \ _
||
\ _\ \ /|\ \ |\ \ \ \ _|
\ \ _
|
|/|\ ||\ /
+\ \ \ \ \ __ \ \ _|/\ _
_ \ _____ \ \ \|__| \ \ \ __ \ _____ \ \ \ \ \ \ _|/\ \ _ \ \ ___ \ _____ |/ \ \ \ |\ \
+\ \ _\ \ \ \ \ \ _|\ ||\ \||\ \ \ \ \ \ \ \ \ \ ||\ \ \ \ \ \ \ _|\ \ \ \ | __||\ \||\ \ \ \ \ _\ \
+\ _
__\ _\ _\ _____\ \ ___\ \ _\ \ _\ _\ ___\ \ \ _\ \ _\ _\ |___\ \ _\ \ \ _|_\
+|
____||||||_______|_\_|| ||||||_\ || |_||||||_\\ ||||
+|
|| || ||___|

+
+

|\ _|\ __ |\ __ |\ \ / /|\ __ |\ |\ |\ |\ |_ _\ / ___ |\ __ |\ __ |\ ____\ |\ \ |\ |\ __ |\ __ |\ ____\
+\ \ _
|\ \ |\ \ \ |\ \ \ / / | \ |\ \ \ \ \ _
|\ \ \\ |
\ _| /__/|_/ /\ \ |\ \ \ |\ \ \ _| \ \ \ \ \ \ \ |\ \ \ |\ \ \ _|
+\ \ \ \ \ \\ \ \ \ \ / / \ \ _ \ \ \ \ \ \ \ __ \ \ \ \ ||// / /\ \ \\ \ \ \\ \ \ _ \ \ \ \ \ \ \ __ \ \ _ \ \ \
+\ \ _
\ \ \\ \ \ _
|/ / / \ \ \ \ \ \ \ |\ \ \ \ \ \ \ \ \ ___ / /_/__\ \ \\ \ \ \\ \ \ ___ \ \ \ |__\ \ \ \ \ \ \ \ \ \ _
+\ _\ _\ _\ __/ / / \ _\ \ _\ ______\ _\ _\ \ _\\\ _\ _\ _\\ _________\ _\ _\ _\ \ ______
+|||||||_/ / |||||__||_______||||| |||||||||||||__________||||||||||____| +||/

compid_file

The file holding computer ID information

cycling_airlocks

a global associative list of all airlocks linked together by cycling mechanisms. Indexed by ID

dirnames

Assoc. list of dirs like "north"=NORTH

dirvalues

Assoc. list of dirs like "[NORTH]" = "NORTH", useful for screen_loc

do_compid_analysis

Should we be analysing the comp IDs of new clients?

dont_init_space

When toggled on creating new /turf/space will be faster but they will be slightly broken +used when creating new z-levels

ehjax

EHJAX - Like ajax but for byond +A framework for browser popups to interact with the byond server, async (client-side)

emergency_shuttle

Controls the emergency shuttle

fishing_spots

initialised on world/New(), associative list with the format (fishing_atom_type = /datum/fishing_spot)

flock_signal_unleashed

Has a flock relay been unleashed yet this round

flocks

associative list of flock names to their flock

flockstats_global

Global list to handle multiple flocks existing

generic_exit_list

Global list representing the standard exit command packet.

input_window_presets

Presets for standard windows

ircbot

Procs for handling ircbot connectivity and data transfer

is_blank_string_regex

Returns true if given string is just space characters +The explicitly defined entries are various blank unicode characters that don't get included as white space by \s

key_names

Used to translate bitflags of hotkeys into human-readable names

keybind_styles

This file is intended to hold all data pertaining to keybind_style datums and related functionality

+

To add a new keybind: +Add it in the right keybind_style below. +Then, you need to update action_names to allow the menu to translate into human-readable format. +Depending on what you're adding, you might need to update action_verbs as well. +Global list holding all of the keybind style datums

light_update_queue

List of items that want to be deleted

logs

Loooooooooogs

mapNames

id corresponds to the name of the /obj/landmark/map +playerPickable defines whether the map can be chosen by players when voting on a new map.

mentors

Mentors

named_color_cache

global cache of all named colors once fetched with a color rgba

named_colors

global list of all named colors

no_more_radios

stupid global var, if true then all radios will start "bricked"

non_vital_organ_strings

This contains a list with organ strings that not instantly kill someone when lost.

ordinal

Diagonal directions

oven_recipes

COOKING RECODE

parallax_enabled

Whether parallax has been enabled or disabled globally.

part_customizations

Lazy init singleton list

pcap_kick_messages

specifies if pcap kick messages show display to admins in chat

phrase_log

This system keeps a logged list of player-created phrases of various categories. The lists are cross-round. +Useful for stuff like hallucinations etc. If the number of phrases in a category exceeds src.max_length +random phrases get thrown out to reduce the size when saving. +Currently logged categories: +say - people talking +whisper - people whispering +pda - pda messages +deadsay - ghosts talking +ailaw - custom AI laws +record - custom radio station record names +emote - custom emotes +prayer - prayers +name-X - player chosen name for X where X is from the set {blob, ai, cyborg, clown, mime, wizard, ...} +vehicle - vehicle names (via a bottle of Champagne) +sing - people singing +pill - custom pill name +bottle - custom obttle name +voice-mimic - voices used by the changeling mimic voice ability +voice-radiostation - voices used by the radio station voice synthesizer +telepathy - messages sent through the telepathy genetics ability +bot-X - custom bot name, X is from the set {camera, fire, guard, med, sec} (I bet you didn't even know you could rename bots with a pen, huh) +name-bee - custom bee / bee larva name +name-critter - custom critter name (you can rename those with a pen too, whoa) +seed - custom botany seed name +paper - stuff people write on papers +crayon-queue - crayon queue mode inputs

planetZLevel

The following is based on GenerateMining.dm

planet_parallax_render_source_groups

An list of parallax render source group instances that are used within procedurally generated planets.

portable_machinery

Remote parent

protected_frequencies

radio frequencies unable to be picked up by (empowered) radio_brain

reagent_shorthands

List of 2 letter shorthands for the reagent, currently only used by the cybernetic hypospray

requirement_cache

Manufacturing Requirements are datums which check if a material satisfies some given requirements, to determine if a manufacturer can produce +a blueprint. Manufacturing datums define them by their string ID, which gets converted to the single instance of it in the cache on New(). +Not shown in this file are the exact material ID requirement datums, which are generated for the cache on init using the material cache.

roles_to_prefs

Associative list of role defines and their respective client preferences.

roundManagement

Collection of methods to handle recording round data to the API

sb_tricks

pool of precached sounds

sortInstance

This is a global instance to allow much of this code to be reused. The interfaces are kept separately

station_areas

All the accessible areas on the station in one convenient place

statusGroupLimits

Simple global list of groupname : amount, that tells the system how many effects of a group we can have active at most. +See exclusiveGroup. Buffs above the max will not be applied.

switched_objs

Contains objects in ID-based switched object groups, such as blinds and their switches

tgui_admin_state

tgui state: admin_state

+

Checks that the user is an admin, end-of-story.

tgui_always_state

tgui state: always_state

+

Always grants the user UI_INTERACTIVE. Period.

tgui_broken_state

tgui state: broken

+

Only checks if an object is not broken, can depend on obj type

tgui_conscious_state

tgui state: conscious_state

+

Only checks if the user is conscious.

tgui_contained_state

tgui state: contained_state

+

Checks that the user is inside the src_object.

tgui_deep_inventory_state

tgui state: deep_inventory_state

+

Checks that the src_object is in the user's deep (backpack, box, toolbox, etc) inventory.

tgui_default_state

tgui state: default_state

+

Checks a number of things -- mostly physical distance for humans and view for robots.

tgui_hands_state

tgui state: hands_state

+

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

tgui_human_adjacent_state

tgui state: human_adjacent_state

+

In addition to default checks, only allows interaction for a +human adjacent user.

tgui_inventory_state

tgui state: inventory_state

+

Checks that the src_object is in the user's top-level (hand, ear, pocket, belt, etc) inventory.

tgui_not_incapacitated_state

tgui state: not_incapacitated_state

+

Checks that the user isn't incapacitated

tgui_not_incapacitated_turf_state

tgui state: not_incapacitated_turf_state

+

Checks that the user isn't incapacitated and that their loc is a turf

tgui_notcontained_state

tgui state: notcontained_state

+

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

tgui_observer_state

tgui state: observer_state

+

Checks that the user is an observer/ghost.

tgui_physical_obscured_state

tgui state: physical_obscured_state

+

Short-circuits the default state to only check physical distance, being in view doesn't matter

tgui_physical_state

tgui state: physical_state

+

Short-circuits the default state to only check physical distance.

tgui_self_state

tgui state: self_state

+

Only checks that the user and src_object are the same.

tgui_z_state

tgui state: z_state

+

Only checks that the Z-level of the user and src_object are the same.

the_automaton

cogwerks spooky automaton thing that kinda just sits there being weird and ominous

transception_array

Station's transception anrray, used for cargo I/O operations on maps that include one

triggerVars

This contains the names of the trigger lists on materials. Required for copying materials. Remember to keep this updated if you add new triggers.

unconnected_zone

Areas built anew belong to a single unconnected zone, which gives its turfs over to other expandable areas when contacting them

valid_icon_states

Icon states that exist for a given icon ref. Format is valid_icon_states[icon] = list(). Populated by is_valid_icon_state(), used for caching.

waterflow_enabled

Fluid Object

whitelistCkeys

Players whomst'd've get allowed if whitelist-only is enabled

worldgenCandidates

Largely used for handling auto turfs that update their appearance +to "connect" to nearby walls +Turfs add themselves to this in their New()

z_level_parallax_render_source_groups

An associative list of each z-level define and its corresponding parallax layer render source group. See code\map\map_settings.dm for the default parallax render sources for each z-level.

zlevels

List containing all z-level datums indexed by their z coordinate

Proc Details

ClearBadsmokeRefs

SMOKE SYSTEMS

FindBankAccountsByJobs

Given a list of jobs, return the associated bank account records. Does not de-duplicate bank account records.

GetRandomPerimeterTurf

Returns a turf at the edge of a squared circle of specified radius around a thing

HYPchem_scaling

This proc causes all chem production of botany to have a diminishing return with potency (or other stats for e.g. maneaters)

HYPfull_potency_calculation

this proc is a shortcut to calculate the amount of chems to produce from a linear factor and the plantgenes

HeapPathWeightCompare

TODO: Macro this to reduce proc overhead

IsGuestKey

Returns true if the given key is a guest key

addPlayerNote

Adding a player note

addTime

Add time to a given BYOND time format

add_color

adds a named color to the global list +given name and RGB color

add_zero

Adds zeroes to the beginning of a string until it reaches the desired length

affine_color_mapping_matrix

The same thing as [proc/color_mapping_matrix] but with 4 mapped colors. +The first color is used as the origin in the affine transform.

angle2text

Returns the given degree converted to a text string in the form of a direction

angle_inbetween

Checks if an angle is between two other angles

angle_to_dir

Transforms a given angle to a cardinal/ordinal direction

angle_to_vector

Transforms a given angle to vec2 in a list

animate_spaghettification

Animate being stretched and spun around a point. Looks best when combined with a distortion map. Note that the resulting dummy object is added to center.vis_contents and deleted when done. +atom/A is the thing to spaghettify. Note this proc does not delete A, you must handle that separately +atom/center is the central atom around which to spin, usually the singulo +spaget_time is how long to run the animation. Default 15 seconds. +right_spinning is whether to go clockwise or anti-clockwise. Default true. +client/C is to show the spaghetti to only one client, or null to show it to everybody. Default null.

applyCableMaterials

Yes hello apparently we need a proc for this because theres a million types of different wires and cables.

approx_time_text

returns a string describing approximately how much time this represents, useful for when you want to be vague +if this already exists somewhere else I apologise but I couldn't find it

ass_explosion_limb_success

Returns 0 if it cant be severed like this, 1 if it always gets severed, or 2 if it sometimes gets severed

ass_explosion_message

returns some flufftext as to why their limb didnt come off. Or came off anyway.

attack_particle

obj/attackby(var/obj/item/I, mob/user)

attenuate_for_location

returns 0 to 1 based on air pressure in turf

bash_explode

BASH explode: Splits a string into string pieces the same way BASH handles this.

+
    +
  • Process quoted strings LTR: Apostrophized strings are unparsed. Quoted strings are parsed.
  • +
  • Insert parsed strings back into the string by using a placeholder for spaces.
  • +
  • Split the string with the usual space separation method.
  • +
  • Return list.
  • +

binobj_to_generator

Particle sets contain a "_binobj" variable, which exposes some of its properties, as the /particles/ "datum" is otherwise just a wrapper wih nothing relevant in it. +This proc extracts data from a given _binobj value and creates a generator with the same properties.

blank_or_es

'they smash' vs 'he smashes'

blank_or_s

'they run' vs 'he runs'

blend_skintone

Blends given rgb values with old human mob skin color (#ffca95) to return a new rgb value

build_manufacturer_icons

Pre-build the icons for things manufacturers make

build_syndi_buylist_cache

Builds the entire syndicate buylist cache, retrieved by uplinks. Ideally only executed once during the pre-round

calculateHeatTransferCoefficient

Returns the thermal conductivity between two materials, based on thermal and electrical conductivity mat property. +Thermal conductivity ranges from 0 (perfect insulator) to infinity. Excellent conductors like copper are about 100

can_act

Returns true if not incapicitated and unhandcuffed (by default)

change_ghost_invisibility

Changes ghost invisibility for the round.

checkTurfPassable

Returns false if there is a dense atom on the turf, unless a custom hueristic is passed.

check_whitelist

Removes non-whitelisted reagents from the reagents of TA

+
    +
  • +

    user: the mob that adds a reagent to an atom that has a reagent whitelist

    +
  • +
  • +

    TA: Target Atom. The thing that the user is adding the reagent to

    +
  • +

ckey_to_mob

A universal ckey -> mob reference lookup proc, adapted from whois() (Convair880).

ckey_to_mob_maybe_disconnected

Given a ckey finds a mob with that ckey even if they are not in the game.

cloud_saves_put_data_bulk

Mass save a collection of cloud data for various players +Input format: +list( +list( +"player_id" = 1, +"key" = "foo", +"value" = "bar" +), +list( +"player_id" = 2, +"key" = "foo2", +"value" = "bar2" +) +)

cloud_saves_transfer

Transfer all cloud save files from one player to another +WARNING: This overwrites all the saves for the target

cmp_minimap_modifiers

Compare the priority of two minimap render modifiers.

color_mapping_matrix

Takes two lists, inp=list(i1, i2, i3), out=(o1, o2, o3). +Creates a color matrix which maps color i1 to o2, i2 to o2, i3 to o3. (Ignores alpha values.) +Keep the i1, i2, i3 vectors linearly independent. +The colors can be either be color hex strings or lists as returned from hex_to_rgb_list. +You need to supply all arguments. If you don't care about the third just set i3 = o3 to something linearly independent of i1 and i2.

command2list

Command2list is a modified version of dd_text2list() designed to eat empty list entries generated by superfluous whitespace. +It also can insert shell alias/variables if provided with a replacement value list.

concrete_typesof

[/proc/typesof()] but only for concrete (not abstract) types, +it caches the result so you don't need to worry about doing that manually +so subsequent calls on the same type will be very fast.

+

just don't modify the result of the call directly

+

OKAY: var/list/hats = concrete_typesof(/obj/item/clothing/head) - /obj/item/clothing/head/hosberet

+

ALSO OKAY:

+
var/list/hats = concrete_typesof(/obj/item/clothing/head).Copy()
+hats -= /obj/item/clothing/head/hosberet
+
+

NOT OKAY:

+
var/list/hats = concrete_typesof(/obj/item/clothing/head)
+hats -= /obj/item/clothing/head/hosberet
+

connectdirs_to_byonddirs

converts get_connected_directions_bitflag() diagonal bits to byond direction flags

copy_overlays

Copies the overlay data from one atom to another

create_named_colors

called at world startup +populates the color list

csound

Soundcache +NEVER use these sounds for modifying. +This should only be used for sounds that are played unaltered to the user. +@param text name the name of the sound that will be returned +@return sound

dead_player_list

Returns a list of eligible dead players to be respawned as an antagonist or whatever (Convair880). +Text messages: 1: alert | 2: alert (chatbox) | 3: alert acknowledged (chatbox) | 4: no longer eligible (chatbox) | 5: waited too long (chatbox) +for_antag indicates that we are polling for an antag role and so should exclude antag-banned players

dectalk

dectalk SAYS its default volume is 5 but it seems to actually be more like 100

deletePlayerNote

Deleting a player note

derive_analogous_colors

    +
  • +

    Derives analogous colors based on a given base color

    +
  • +
  • +

    Parameters:

    +
      +
    • color: Hex color code of the base color.
    • +
    +
  • +
  • +

    Returns:

    +
      +
    • A list of two hex colors that are analogous to the color
    • +
    +
  • +

derive_color_from_hue_offset

    +
  • +

    Derives a color based on a given hue offset, accepting and returning hex color values.

    +
  • +
  • +

    Parameters:

    +
      +
    • color: Hex color code of the base color.
    • +
    • offset: Degree offset to apply to the hue of the base color.
    • +
    +
  • +
  • +

    Returns:

    +
      +
    • A hex color code derived from the adjusted hue.
    • +
    +
  • +

derive_complementary_color

    +
  • +

    Derives a complementary color based on a given base color

    +
  • +
  • +

    Parameters:

    +
      +
    • color: Hex color code of the base color.
    • +
    +
  • +
  • +

    Returns:

    +
      +
    • A hex color that is complementary to the given color.
    • +
    +
  • +

derive_square_colors

    +
  • +

    Derives three colors that form a square color scheme with the given color in HSL color space

    +
  • +
  • +

    Parameters:

    +
      +
    • color: Hex color code of the base color.
    • +
    +
  • +
  • +

    Returns:

    +
      +
    • A list of three hex colors that, along with the base color, form a square on the color wheel in HSL color space.
    • +
    +
  • +

derive_triadic_colors

    +
  • +

    Derives triadic colors based on a given base color

    +
  • +
  • +

    Parameters:

    +
      +
    • color: Hex color code of the base color.
    • +
    +
  • +
  • +

    Returns:

    +
      +
    • A list of three hex colors that are triadic to the color
    • +
    +
  • +

dir_to_angle

Transforms a cardinal/ordinal direction to an angle

dir_to_dirname

Returns the lowercase english word for a direction (num)

dirname_to_dir

Returns the direction (num) of a given lowercase english direction

display_slipup_image

Spawns an image above a patient when you slip up. Only the surgeon sees it.

doAssetParse

CDN PROCS FOR LIVE SERVERS

+

PROCS FOR LOCAL SERVER FALLBACK

do_hud_offset_thing

adjusts a screen_loc to account for non-32px-width sprites, so they get centered in a HUD slot

do_slipup

You messed up. Cause damage and spawn some indicators.

eligible_dead_player_list

Returns a list of eligible dead players that COULD choose to respawn or whatever

eligible_to_clone

Check if a mind has a current mob, a client, and is dead/a ghost/doing afterlife stuff. +Scanning var controls whether we will return ghosts, because ghosts needs special handling in clone scans +to ensure they're not using a body that they've been cloned from before

english_list

Returns a list in plain english as a string

faction_check

Returns TRUE if ourguy is enemies with otherguy FALSE otherwise

fake_blood

Helper procs

filename_from_path

Gets the filaname from a filesystem path. Optionally strips extension too

filter_is_character_setup_ringtone

type filter for ringtones that're suposed to be selectable at roundstart

filtered_concrete_typesof

The same thing but now you can filter the types using a proc. Also cached. +The filter proc takes a type and should return 1 if we want to include it and 0 otherwise. +That proc should also be pure (always return the same thing for the same arguments) because of the caching. +If you want to use non-pure proc do the filtering manually yourself and don't use this. +Note that the first call to filtered_concrete_typesof with a given type and filter will be (possibly a lot) +slower than doing it manually. The benefit of this proc only shows itself for future calls which are +very fast due to caching.

+

Example:

+
proc/filter_is_syndicate(type)
+	var/obj/fake_instance = type
+	return initial(fake_instance.is_syndicate)
+
+var/syndie_thing_type = pick(filtered_concrete_typesof(/obj/item, /proc/filter_is_syndicate))
+

findLastMatch

returns the position of the last matching needle in haystack, case sensitive

findLastMatchEx

returns the position of the last matching needle in haystack, case insensitive

find_all_by_type

Finds all instance of a type in the world. +Returns a list of the instances if no procedure is given. +Otherwise, calls the procedure for each instance and returns an assoc list of the form list(instance = procedure(instance, arguments...), ...) +procedure_src is the src for the proc call. If it is null, a global proc is called. +If it is the string "instance" the output list will be instead list(instance = instance.procedure(arguments...), ...)

find_client

Find a client based on ckey

find_first_by_type

Finds some instance of a type in the world. Returns null if none found.

find_ghost_by_key

find a ghost mob (or a ghost respawned as critter in vr/afterlife bar)

find_job_in_controller_by_string

Soft supresses logging on failing to find a job

find_player

returns a reference to a player datum based on the ckey you put into it

fireflash

generic proc for creating flashes of hotspot fire +falloff is in units of degrees per tile

fireflash_melting

generic proc for hotspot fire flashes that also melt turf

fixed_random

pseudorandom number based on x, y in range 0 to 1

flatten_list

Flattens a keyed list into a list of it's contents

flock_speak

how to speak in the flock +for speaker, pass: +-null to give a general system message +-mob to make a mob speak +-flock_structure for a structure message +involuntary overrides the sentient styling for messages generated by the possessed flock critter

formatTimeText

Returns time input as mm:ss

formattedShiftTime

Returns shift time as a string in hh:mm format. Call with TRUE to get time in hh:mm:ss format.

fromIso8601

Convert ISO 8601 to BYOND time format (or epoch time if given argument for that)

gas_text_color

Returns the color of a given gas ID.

+

This is used only in the gas mixer computer as of now.

generate_access_name_lookup

Build the access_name_lookup table, to associate descriptions of accesses with their numerical value.

getClientFromCkey

Finds a client by ckey, throws exception if not found

getFlatIcon

Creates a single icon from a given /atom or /image. Only the first argument is required.

getFusedMaterial

Merges two materials and returns result as new material.

getFusedTriggers

Fuses two material trigger lists.

getIconSize

Handles the two states icon_size can be in: basic number, or string in WxH format

getInterpolatedName

Merges two material names into one.

getItemIcon

Generates item icons for manufacturers and other things, used in UI dialogs. Sends to client if needed.

getLineMatrix

Returns the line matrix from a start atom to an end atom, used in creating line objects

getMatFailString

Returns a string for when a material fail or breaks depending on its material flags.

getMatFlagString

Translates a material flag into a string.

getMaterial

Returns one of the base materials by id.

getRole

Returns a string based on the current job and antag role of the mob e.g. "Staff Assistant [Traitor]"

getTimeInSecondsSinceTime

Returns the time in seconds since a given timestamp

get_access

Global lookup proc for access levels based on a job string (e.g. "Captain")

get_accessible_station_areas

Returns a list of all areas on a station

get_adjacent_floor

Returns the turf facing the fab for cardinal directions (which should also be the user's turf), +but for diagonals it returns a neighbouring turf depending on where you click +Just in case you're attacking a corner diagonally. (made initially for lamp manufacturers, probably behaves funky above range 1)

get_alive_antags_percentage

returns a decimal representing the percentage of alive crew that are also antags

get_all_antagonists

Gets a list of all antagonist datums of ID role_id, or of all IDs if no ID is specified. +Returns a list of all antagonist datums. If no antagonist datums could be found, returns an empty list.

get_all_character_setup_ringtones

sets up the list of ringtones players can select through character setup

get_all_gangs

Returns a list of all gang datums.

get_all_mobs_in

Returns list of all mobs within an atom. Not cheap! (unlike ur mum)

get_angle

Returns the angle between two given atoms

get_assets

Returns either the already-created asset or creates a new one and returns it

get_available_custom_style_types

Gets all the customization_styles which are available to a given client. Can be filtered by providing a gender flag or a type

get_average_color

Takes an icon and optionally two non-zero Pixel Intervals and returns the average color of the icon.

+

The pixel intervals represent the distance between each pixel scanned on the X/Y axes respectively, and default to 4 for performance. +For example, an X interval of 1 and a Y interval of 3 will mean every X coordinate of every 3rd Y coordinate will be scanned.

get_dead_crew_percentage

returns a decimal representing the percentage of dead crew (non-observers) to all crew

get_default_flock

Gimmick flock with infinite compute that lone structures and units automatically connect to

get_fullness

return description of how full a container is

get_general_record

Returns the datacore general record, or null if none found

get_hud_style

Returns hud style preferences of given client/mob

get_id_card

checks an item for an id card

get_image_group

Returns the client image group for a given "key" argument. If one doesn't yet exist, creates it.

get_manifest

Returns the crew manifest, but sorted according to the individual's rank. include_cryo includes a list of individuals in cryogenic storage +Set synd_int_request_device to the object calling the proc to get Syndicate Intelligence.

get_map_prefabs

Gets all prefabs of a given type.

get_matches_string

ADMIN HELPER PROCS

get_nearest_color

returns the name of the color nearest to the given color RGB

get_nearest_color_datum

returns the named_color datum that is nearest to the given color RGB

get_one_match

get_one_match attempts to find a type match for a given object. +The function allows customization of the base type, whether to use concrete types, +whether to use only admin spawnable, the comparison procedure, and the sort limit. +The function sorts the matches if a comparison procedure is provided and if the sort limit condition allows it, +then it presents a list of matches for the user to choose from.

+

@param object This is the object for which the function is attempting to find a match.

+

@param base This is the base type used for matching. All results will be of this type tree.

+

@param use_concrete_types determines whether the function should respect concrete types for matching.

+

@param only_admin_spawnable This boolean value determines whether the function should only consider objects that +are spawnable by an admin.

+

@param cmp_proc This is the comparison proc used for sorting matches. This should be a proc that takes two arguments +and returns a boolean. The default value is null, indicating no comparison procedure is used. +If cmp_proc is provided and the number of matches is within the sort_limit, the matches will be sorted using cmp_proc.

+

@param sort_limit This parameter defines the upper limit for the number of items to consider during the matching process. +If the number of matches exceeds sort_limit, they will not be sorted even if cmp_proc is provided. +If sort_limit is 0 or null, there will be no limit and matches will be sorted if cmp_proc is provided.

+

@return Returns the path of the selected match if one is chosen. If no matches are found, null is returned. If the operation is cancelled, FALSE is returned.

get_ouija_word_list

get_ouija_word_list

get_parallax_render_source_group

Returns a reference to the parallax render source group datum belonging to either an area or z-level.

get_path_to

This is the proc you use whenever you want to have pathfinding more complex than "try stepping towards the thing".

+

Arguments:

+
    +
  • caller: The movable atom that's trying to find the path
  • +
  • ends: What we're trying to path to. It doesn't matter if this is a turf or some other atom, we're gonna just path to the turf it's on anyway
  • +
  • max_distance: The maximum number of steps we can take in a given path to search (default: 30, 0 = infinite)
  • +
  • mintargetdistance: Minimum distance to the target before path returns, could be used to get near a target, but not right to it - for an AI mob with a gun, for example.
  • +
  • id: An ID card representing what access we have and what doors we can open. Its location relative to the pathing atom is irrelevant
  • +
  • simulated_only: Whether we consider turfs without atmos simulation (AKA do we want to ignore space)
  • +
  • exclude: If we want to avoid a specific turf, like if we're a mulebot who already got blocked by some turf
  • +
  • skip_first: Whether or not to delete the first item in the path. This would be done because the first item is the starting tile, which can break movement for some creatures.
  • +
  • cardinal_only: Whether to find only paths consisting of cardinal steps.
  • +
  • required_goals: How many goals to find to succeed. Null for all.
  • +
  • do_doorcheck: Whether or not to check if doors are blocked (welded, out of power, locked, etc...)
  • +
+

Returns: List of turfs from the caller to the end or a list of lists of the former if multiple ends are specified. +If no paths were found, returns an empty list, which is important for bots like medibots who expect an empty list rather than nothing.

get_preference_for_role

Return the name of a preference variable for the given role define.

+

Arguments:

+
    +
  • role - role to return a client preference for.
  • +

get_random_station_storage_list

Return a list of station-level storage objects that are safe to spawn things into

+
    +
  • closed: if TRUE, only include storage objects that are closed
  • +
  • breathable: if TRUE, only include storage on breathable turfs
  • +
  • no_others: if TRUE, do not include multiple storage objects on the same turf
  • +

get_random_subtype

Returns a random subtype when an atom has TYPEINFO with a random_subtypes list

get_singleton

Gets the instance of a singleton type (or a non-singleton type if you decide to use it on one).

get_standard_skintone

Given user, will proompt user to select skin color from list (or custom) and returns skin tone after blending

get_tgm_maxx

returns the maxx value of a TGM formatted map. Accepts either a map file or preread map text data

get_tgm_maxy

returns the maxy value of a TGM formatted map. Accepts either a map file or preread map text data

get_top_ancestor

Get the highest ancestor of this object in the tree that is an immediate child of a given ancestor.

+

Usage: +var/datum/fart/sassy/F = new +get_top_parent(F, /datum) //returns a path to /datum/fart

get_type_typeinfo

Retrieves the typeinfo datum for a given type.

+

Example:

+
for(var/type in types)
+	var/typeinfo/atom/typeinfo = get_type_typeinfo(type)
+	if(!typeinfo.admin_spawnable)
+		continue
+	valid_types += type
+

Returns a path of a (presumably) valid uplink dependent on the user's mind.

+

Arguments:

+
    +
  • target - the mob that will own the uplink. +
      +
    • uplink - the path of the uplink type that you wish to spawn
    • +
    +
  • +

get_weakref

Gets a weak reference to the given datum. +This is a basically a reference that will not prevent garbage collection of the datum. Useful when you don't want to "own" the datum in question. +For example a mob holding a reference to its trinket. In that case it doesn't make sense to prevent garbage collection of the trinket. If the +trinket gets destroyed in-game we are fine if this weak reference to the trinket turns to null.

+

You need to use [/datum/weakref/proc/deref] to get the datum from the weak reference.

gradientText

Repeat a gradient between two colors across text. +Note: This is inaccurate because its a linear transformation, but human eyes do not perceive color this way.

handleTriggerGenerations

Increases generations on material triggers and handles removal if over the generation cap.

hasParentMaterial

Searches the parent materials of the given material, up to a given generation, for an id.

+

Useful if you want to figure out if a given material was used in the making of another material.

+

Keep in mind that this can be expensive so use it only when you have to.

has_or_have

'they have' vs 'he has'

he_or_she_dont_or_doesnt

"he doesn't" vs "they don't"

+

should arguably just be 'does_or_doesnt' but i figure this is by far the dominant use of that so I'm rolling them together

hes_or_shes

"they're outside" vs "he's outside"

hex2color_name

Given hex color, returns string name of nearest named color

his_or_her

'their cookie' vs 'her cookie'

hsv_transform_color_matrix

Generates a color matrix which performs an approximation of the HSV-space transform. +Hue is in degrees and is applied additively. +Saturation is in a 0-1 range and is applied multiplicatively. +Value is in a 0-1 range and is applied multiplicatively.

identify_object

For runtime logs- returns the above plus ref

illiterateGarbleText

Returns given text replaced entirely by nonsense chars

in_cone_of_vision

This proc checks if one atom is in the cone of vision of another one.

+

It uses the following map grid for the check, where each point is an integer coordinate and the seer is at point X: +```

+
POV ->	X * * *
+
+
+```
+
+

A '*' represents a point that is within X's FOV

in_interact_range

For interacting with stuff.

initialise_fishing_spots

run on world/New(), clears global.fishing_spots (if it exists) and fills it with the format (fishing_atom_type = /datum/fishing_spot)

initialize_biomes

Initialize all biomes, assoc as type || instance

isLeapYear

returns true if the year is divisible by 4, except for years that are divisible by 100. However, years that are divisible by 400 are also leap years.

isUpper

Returns true if the char you feed it is uppercase.

isVowel

Returns true if the given string has a vowel

is_hex

Returns true if given value is a hex value

is_incapacitated

Returns true if the given mob is incapacitated

is_music_playing

Approximate check of whether music is playing or not (radio / ad tapes / admin music all count as music here) +If music is playing this should return TRUE. But if music stopped playing only recently-ish it can sometimes return TRUE still. +In some rare cases it can happen that this has a false negative too so like don't rely on this for anything super important, ok?

is_or_are

'they are' vs 'he is'

is_valid_abcu_object

Checks if a thing should be allowed to be saved / loaded by the ABCU. Currently does not do the whitelist / blacklist filtering.

isadmin

Returns true if given mob/client/mind is an admin

istypes

istype but for checking a list of types

jobban_isbanned

Can be provided with a mob, a raw cache list, or a ckey. Prefer providing a cache if you can't use a mob, as that reduces API load.

jpsTurfPassable

this is a slight modification of /proc/checkTurfPassable to avoid indirect proc call overhead +Returns false if there is a dense atom on the turf, unless a custom hueristic is passed.

list2text

Converts a list into a string, placing a delimiter in between entries in the list.

+

@param list/l The list to be textified.

+

@param d The string/delimiter to place inbetween list entries.

+

@return the string form of the list.

+

IE: list2text(list("this", "is", "a", "test"), " ") would return "this is a test".

load_config_list

Gets a list of ckeys from a file, ignoring comments/blank lines +This could probably be refactored to config files in general, but

log_object

For logs- returns the thing's name and type. Handles nulls and non-datums fine, might do something weird for savefiles, clients, etc

log_respawn_event

Logs a player respawning as something from a respawn event, noting if they joined the round as an observer or not +Note: should be called BEFORE they are transferred to the new body

log_tgui

Appends a tgui-related log entry. All arguments are optional.

make_associative

Make a normal list an associative one

make_player

returns a reference to a player datum, but it tries to make a new one if it cant an already existing one (this is how it persists between connections)

man_or_woman

'this man' vs 'this person'

mass_print_wanted_poster

Print a wanted poster to all station-level printers

matchesMaterialRecipe

Checks if a material matches a recipe and returns the recipe if a match is found. returns null if nothing matches it.

maximal_subtype

Returns the maximal subtype (i.e. the most subby) in a list of given types

md5_to_more_pronouncable

Takes a hash generated by md5() and turns it into a string of alternating consonants and vowels

move_element

Move a single element from position from_index within a list, to position to_index

+

All elements in the range [1,to_index) before the move will be before the pivot afterwards

+

All elements in the range [to_index, L.len+1) before the move will be after the pivot afterwards

+

In other words, it's as if the range [from_index,to_index) have been rotated using a <<< operation common to other languages.

+

from_index and to_index must be in the range [1,L.len+1] +Preserves associations

move_range

Move elements [from_index,from_index+len) to [to_index-len, to_index)

+

Same as /proc/move_element but for ranges of elements

+

Preserves associations

mult_color_matrix

Takes two 20-length lists, turns them into 5x4 matrices, multiplies them together, and returns a 20-length list

newline_html_decode

Returns a string with all HTML special characters decoded and
replaced with newlines

newline_html_encode

Returns a string with all HTML special characters encoded and newlines replaced with

normalize_color_to_matrix

Takes a possible value of the color var and returns a length 20 color matrix doing the same thing. +Available inputs: +null, "#rgb", "#rrggbb", "#rgba", "#rrggbbaa", all forms of color matrices

normalize_plain_data_list

Recursively normalizes a list of plain_data and primitive values. Plain_data values are converted to lists, recursively.

o_clock_time

Returns the current timeofday in o'clock format

pad_leading

Adds char ahead of text until it reaches length characters total

pad_trailing

Adds char after text until it reaches length characters total

pick_map_prefab

Picks a random prefab from given prefab type. Filters the prefabs picked based on the given tags. +Choice is performed by a weighted random choice based on the prefab's probability. +Prefabs marked as required are always picked first.

+

Prefab max count is respected. However, note that the count of a prefab is only updated in prefab's applyTo() function.

pick_ref

Gives the target mob a reference picker ability and returns the atom picked. Synchronous.

placeAllPrefabs

    +
  • The placeAllPrefabs() proc, as the name suggests, places all the prefabs +
      +
    • +

      on the map, at (3, 3, 1). It overwrites existing objects, mobs, and turfs

      +
    • +
    • +

      when doing so. This proc will only work correctly if RUNTIME_CHECKING is

      +
    • +
    • +

      defined, as some turfs cannot be replaced using turf/proc/ReplaceWith()

      +
    • +
    • +

      and RUNTIME_CHECKING fixes this.

      +
    • +
    • +

      Do not use this proc on a live server.

      +
    • +
    • +

      If you run it locally do not move your mob into the location turfs are

      +
    • +
    • +

      being placed (your client will be qdel'd).

      +
    • +
    • +

      This proc was designed to be used with totally blank maps, where

      +
    • +
    • +

      every tile is either space or trench. UNDERWATER_MAP is used in

      +
    • +
    • +

      /proc/filter_underwater_prefab() to choose underwater or space

      +
    • +
    • +

      prefabs appropriately, depending on the type of map.

      +
    • +
    • +

      Prefabs are found by looking for concrete types of

      +
    • +
    • +

      /datum/mapPrefab/mining. To add a new prefab to be checked, simply

      +
    • +
    • +

      create a type for it.

      +
    • +
    +
  • +

placeAllRandomRooms

Similar to the prefab runtime checker. The following text is mostly plagiarised from PrefabRuntimeChecker.dm

+

The proc places all random rooms on the map, at (3, 3, 1). +It overwrites existing objects, mobs, and turfs when doing so. +This proc will only work correctly if RUNTIME_CHECKING is defined, +as some turfs cannot be replaced using turf/proc/ReplaceWith() +and RUNTIME_CHECKING fixes this.

+

Do not use this proc on a live server.

+

If you run it locally do not move your mob into the location turfs are +being placed (your client will be qdel'd).

+

This proc was designed to be used with totally blank maps, where +every tile is either space or trench.

+

Prefabs are found by looking for concrete types of +/datum/mapPrefab/random_room. To add a new prefab to be checked, simply +create a type for it.

playsound_global

Plays a sound to some clients without caring about its source location and stuff. +target can be either a list of clients or a list of mobs or world or an area or a z-level number.

predecessor_path_in_list

Find predecessor of a type

prioritize_dead_players

Returns a randomized list of minds with players who joined as observer at the back

purge_fluid_blacklist

Deletes any reagents that are banned in fluid puddles.

purge_smoke_blacklist

Deletes any reagents that are banned in smoke clouds.

qdel

qdel

+

queues a var for deletion by the delete queue processor. +if used on /world, /list, /client, or /savefile, it just skips the queue.

radioGarbleText

Returns given text replaced by nonsense chars, excepting HTML tags, on a 40% or given % basis

random_emoji

Generates a random Unicode emoji that will look ok in the chat

random_hex

Returns random hex value of length given

random_nonrestrictedz_turf

Returns a random turf on a non-restricted z-level.

random_space_turf

Tries to return a random space turf. Tries a given number of times and if it fails it returns null instead.

random_split

Returns amount evenly distributed random integers that sum to sum

rc_buildentry

Small helper proc to simplify basic contract entry creation. +Accepts the path to the entry datum, and the count (in whatever unit it uses) to require.

record_cloner_defects

Write current cloner defects to an existing datacore medical record

recursive_flist

Lists all files recursively in a given dir, refer to builtin flist() for details

resource

GENERIC HELPERS FOR BOTH SYSTEMS

reverse_list_range

Reverses a given list within the given range

rustg_get_version

Gets the version of rust_g

rustg_redis_disconnect_rq

Disconnects from a previously connected redis server

rustg_unix_timestamp

Returns the timestamp as a string

s_es

Returns the plural based on a number provided.

+

@param number the number to base the judgement off of +@param es set this to true if your item's plural ends in "es" +@return the plural suffix based on numbers

sanitize_frequency

Returns f, ensured that it's a valid frequency

save_flock_stats

In a sensible language, this would be a static class proc. Alas this is DM. +This proc saves all the stats for all flocks in this round, and rotates the log so only the last FLOCK_ROUNDS_SAVED flock rounds are stored

seen_by_camera

Return true if mob is on a turf with camera coverage

sendItemIcons

Sends all of the item icons to a client. Kinda gross, but whatever.

sendItemIconsToAll

Sends all item icons to all clients. Used at world startup to preload things.

send_assets

Sends the list of asset files to client if they're needed

separate_radio_prefix_and_message

Given a message, returns a list containing the radio prefix and the message, +so that the message can be manipulated seperately in various functions.

setup_z_level_parallax_render_sources

Initialises z_level_parallax_render_source_groups by populating it with z-level parallax render source groups.

should_diary_log

Check config for whether a message should be logged to the diary

showLine

Creates and shows a line object. Line object has an "affected" var that contains the cross tiles.

singularity_containment_check

Checks if there is a containment field in each direction from the center turf. If not returns null. +If yes returns the distance to the closest field.

sonic_attack_environmental_effect

Given center turf/atom, range, and list of things to smash, will damage said objects within range of center. +Used for sonic grenades and similar. Avoiding C&P Code.

sortList

sortList - To sort lists via TimSort (in place)

+

If you want to not affect the original list, see /proc/sortListCopy

+

Arguments:

+
    +
  • L - Given list to sort in place (Pass a copy if you want a copy)
  • +
  • cmp - procpath to compare elements in the list
  • +
  • associative - whether we are sorting list keys (0: L[i]) or associated values (1: L[L[i]])
  • +
  • from/toIndex - indexes of the list you want to sort from and to
  • +

sortListCopy

Just like /proc/sortList, but return a sorted copy of the given list

string_type_of_anything

thing.type but it also returns "num" for numbers etc.

stringify_file_name

Returns a file objects name as a string with or without the exstension stripped

strip_prefix

Removes a given prefix from a string.

+

@return The string without the prefix if the prefix was present at the start. If not, the original string is returned.

+

Note: Non-text inputs will be converted into a string. The procedure is case sensitive.

subtractTime

Subtract time from a given BYOND time format

swap_range

Move elements from [from_index, from_index+len) to [to_index, to_index+len)

+

Move any elements being overwritten by the move to the now-empty elements, preserving order

+

Note: if the two ranges overlap, only the destination order will be preserved fully, since some elements will be within both ranges

text2num_safe

Parses a number except for NaNs and infinities

tgui_Topic

Middleware for /client/Topic.

+

return bool If TRUE, prevents propagation of the topic call.

tgui_alert

Creates a TGUI alert window and returns the user's response.

+

This proc should be used to create alerts that the caller will wait for a response from. +Arguments:

+
    +
  • user - The user to show the alert to.
  • +
  • message - The content of the alert, shown in the body of the TGUI window.
  • +
  • title - The of the alert modal, shown on the top of the TGUI window.
  • +
  • items - The options that can be chosen by the user, each string is assigned a button on the UI.
  • +
  • timeout - The timeout of the alert, after which the modal will close and qdel itself. Set to zero for no timeout.
  • +
  • autofocus - The bool that controls if this alert should grab window focus. - BROKEN DON'T SET TO FALSE (nulls items, ask zewaka)
  • +
  • content_window - The name of the part to be used for the alert's content, to be used in lieu of message
  • +
  • do_wait - waits for user input then returns it. Set to false for asynchronism
  • +
  • theme - The TGUI theme used for the window.
  • +

tgui_color_picker

Creates a TGUI color picker window and returns the user's response.

+

This proc should be used to create a color picker that the caller will wait for a response from. +Arguments:

+
    +
  • user - The user to show the picker to.
  • +
  • title - The of the picker modal, shown on the top of the TGUI window.
  • +
  • timeout - The timeout of the picker, after which the modal will close and qdel itself. Set to zero for no timeout.
  • +
  • autofocus - The bool that controls if this picker should grab window focus.
  • +

tgui_color_picker_async

Creates an asynchronous TGUI color picker window with an associated callback.

+

This proc should be used to create a color picker that invokes a callback with the user's chosen option. +Arguments:

+
    +
  • user - The user to show the picker to.
  • +
  • title - The of the picker modal, shown on the top of the TGUI window.
  • +
  • callback - The callback to be invoked when a choice is made.
  • +
  • timeout - The timeout of the picker, after which the modal will close and qdel itself. Set to zero for no timeout.
  • +
  • autofocus - The bool that controls if this picker should grab window focus.
  • +

tgui_input_bitfield

Copyright (c) 2024 @Azrun +SPDX-License-Identifier: MIT

tgui_input_list

Creates a TGUI input list window and returns the user's response.

+

This proc should be used to create alerts that the caller will wait for a response from. +Arguments:

+
    +
  • user - The user to show the input box to.
  • +
  • message - The content of the input box, shown in the body of the TGUI window.
  • +
  • title - The title of the input box, shown on the top of the TGUI window.
  • +
  • items - The options that can be chosen by the user, each string is assigned a button on the UI.
  • +
  • default - If an option is already preselected on the UI. Current values, etc.
  • +
  • timeout - The timeout of the input box, after which the menu will close and qdel itself. Set to zero for no timeout.
  • +
  • autofocus - The bool that controls if this alert should grab window focus.
  • +
  • allowIllegal - Whether to allow illegal characters in items.
  • +
  • start_with_search - Whether to start with the search bar open ("auto" for automatic, TRUE for yes, FALSE for no).
  • +
  • capitalize - Whether to capitalize the first letter of each item.
  • +
  • theme - The TGUI theme used for the window.
  • +

tgui_input_list_async

Creates an asynchronous TGUI input list window with an associated callback.

+

This proc should be used to create inputs that invoke a callback with the user's chosen option. +Arguments:

+
    +
  • user - The user to show the input box to.
  • +
  • message - The content of the input box, shown in the body of the TGUI window.
  • +
  • title - The title of the input box, shown on the top of the TGUI window.
  • +
  • items - The options that can be chosen by the user, each string is assigned a button on the UI.
  • +
  • default - If an option is already preselected on the UI. Current values, etc.
  • +
  • callback - The callback to be invoked when a choice is made.
  • +
  • timeout - The timeout of the input box, after which the menu will close and qdel itself. Set to zero for no timeout.
  • +
  • autofocus - The bool that controls if this alert should grab window focus.
  • +
  • allowIllegal - Whether to allow illegal characters in items.
  • +
  • start_with_search - Whether to start with the search bar open ("auto" for automatic, TRUE for yes, FALSE for no).
  • +
  • capitalize - Whether to capitalize the first letter of each item.
  • +
  • theme - The TGUI theme used for the window.
  • +

tgui_input_number

Creates a TGUI window with a number input. Returns the user's response as num | null.

+

This proc should be used to create windows for number entry that the caller will wait for a response from. +If tgui fancy chat is turned off: Will return a normal input. If a max or min value is specified, will +validate the input inside the UI and ui_act.

+

Arguments:

+
    +
  • user - The user to show the numbox to.
  • +
  • message - The content of the numbox, shown in the body of the TGUI window.
  • +
  • title - The title of the numbox modal, shown on the top of the TGUI window.
  • +
  • default - The default (or current) value, shown as a placeholder. Users can press refresh with this.
  • +
  • max_value - Specifies a maximum value. If none is set, it defaults to 1000.
  • +
  • min_value - Specifies a minimum value. If none is set, it defaults to 0.
  • +
  • timeout - The timeout of the numbox, after which the modal will close and qdel itself. Set to zero for no timeout.
  • +
  • round_input - If the number in the numbox should be rounded to the nearest integer.
  • +
  • theme - The TGUI theme used for the window.
  • +

tgui_input_number_async

Creates an asynchronous TGUI number input window with an associated callback.

+

This proc should be used to create numboxes that invoke a callback with the user's entry.

+

Arguments:

+
    +
  • user - The user to show the numbox to.
  • +
  • message - The content of the numbox, shown in the body of the TGUI window.
  • +
  • title - The title of the numbox modal, shown on the top of the TGUI window.
  • +
  • default - The default (or current) value, shown as a placeholder. Users can press refresh with this.
  • +
  • max_value - Specifies a maximum value. If none is set, it defaults to 1000.
  • +
  • min_value - Specifies a minimum value. If none is set, it defaults to 0.
  • +
  • callback - The callback to be invoked when a choice is made.
  • +
  • timeout - The timeout of the numbox, after which the modal will close and qdel itself. Disabled by default, can be set to seconds otherwise.
  • +
  • round_input - If the number in the numbox should be rounded to the nearest integer.
  • +
  • theme - The TGUI theme used for the window.
  • +

tgui_input_pin

Creates a TGUI window with a PIN input. Returns the user's response as string | null.

+

This proc should be used to create windows for PIN entry that the caller will wait for a response from. +If tgui fancy chat is turned off: Will return a normal input. If a max or min value is specified, will +validate the input inside the UI and ui_act.

+

Arguments:

+
    +
  • user - The user to show the numbox to.
  • +
  • message - The content of the numbox, shown in the body of the TGUI window.
  • +
  • title - The title of the numbox modal, shown on the top of the TGUI window.
  • +
  • default - The default (or current) value, shown as a placeholder. Users can press refresh with this.
  • +
  • max_value - Specifies a maximum value. If none is set, it defaults to 9999.
  • +
  • min_value - Specifies a minimum value. If none is set, it defaults to 0000.
  • +
  • timeout - The timeout of the numbox, after which the modal will close and qdel itself. Set to zero for no timeout.
  • +
  • theme - The TGUI theme used for the window.
  • +

tgui_input_pin_async

Creates an asynchronous TGUI PIN input window with an associated callback.

+

This proc should be used to create windows for PIN entry that invoke a callback with the user's entry.

+

Arguments:

+
    +
  • user - The user to show the numbox to.
  • +
  • message - The content of the numbox, shown in the body of the TGUI window.
  • +
  • title - The title of the numbox modal, shown on the top of the TGUI window.
  • +
  • default - The default (or current) value, shown as a placeholder. Users can press refresh with this.
  • +
  • max_value - Specifies a maximum value. If none is set, it defaults to 9999.
  • +
  • min_value - Specifies a minimum value. If none is set, it defaults to 0000.
  • +
  • callback - The callback to be invoked when a choice is made.
  • +
  • timeout - The timeout of the numbox, after which the modal will close and qdel itself. Disabled by default, can be set to seconds otherwise.
  • +
  • theme - The TGUI theme used for the window.
  • +

tgui_input_text

Creates a TGUI window with a text input. Returns the user's response.

+

This proc should be used to create windows for text entry that the caller will wait for a response from. +If tgui fancy chat is turned off: Will return a normal input. If max_length is specified, will return +stripped_multiline_input.

+

Arguments:

+
    +
  • user - The user to show the textbox to.
  • +
  • message - The content of the textbox, shown in the body of the TGUI window.
  • +
  • title - The title of the textbox modal, shown on the top of the TGUI window.
  • +
  • default - The default (or current) value, shown as a placeholder.
  • +
  • max_length - Specifies a max length for input.
  • +
  • multiline - Bool that determines if the input box is much larger. Good for large messages, laws, etc.
  • +
  • timeout - The timeout of the textbox, after which the modal will close and qdel itself. Set to zero for no timeout.
  • +
  • theme - The TGUI theme used for the window.
  • +

tgui_input_text_async

Creates an asynchronous TGUI text input window with an associated callback.

+

This proc should be used to create textboxes that invoke a callback with the user's entry. +Arguments:

+
    +
  • user - The user to show the textbox to.
  • +
  • message - The content of the textbox, shown in the body of the TGUI window.
  • +
  • title - The title of the textbox modal, shown on the top of the TGUI window.
  • +
  • default - The default (or current) value, shown as a placeholder.
  • +
  • max_length - Specifies a max length for input.
  • +
  • multiline - Bool that determines if the input box is much larger. Good for large messages, laws, etc.
  • +
  • callback - The callback to be invoked when a choice is made.
  • +
  • timeout - The timeout of the textbox, after which the modal will close and qdel itself. Disabled by default, can be set to seconds otherwise.
  • +
  • theme - The TGUI theme used for the window.
  • +

tgui_message

@file +@copyright 2024 +@author ZeWaka (https://github.com/zewaka) +@license MIT

+

Creates a TGUI window with that just displays a plain message to the user.

+

This should be used to display simple messages to the user, +in cases where you want to provide more text than you would include in an alert box.

+

Arguments:

+
    +
  • user - The user to show the msgbox to.
  • +
  • message - The content of the msgbox, shown in the body of the TGUI window.
  • +
  • title - The title of the msgbox modal, shown on the top of the TGUI window.
  • +
  • sanitize - Whether or not to sanitize the message. DO NOT TRUST USER INPUT. NO.
  • +
  • timeout - The timeout of the msgbox, after which the modal will close and qdel itself. Set to zero for no timeout.
  • +
  • theme - The TGUI theme used for the window.
  • +

tidy_net_data

Cleans up data passed in from network packets for display so it doesn't mess with formatting

time_to_text

Returns the passed decisecond-format time in the form of a text string

toIso8601

Convert BYOND time format to ISO 8601

total_cross

Checks if Cross succeeds for the turf and all atoms in it

total_density

Returns the sum of densities of all atoms in the given turf including the turf itself

type2parent

Returns the parent type of a given type. +Assumes that parent_type was not overriden.

typecache_filter_list

Rurns a new list with only atoms that are in the typecache list

typecache_filter_list_reverse

Return a new list with atoms that are not in the typecache list

typecache_filter_multi_list_exclusion

Similar to typecache_filter_list and typecache_filter_list_reverse but it supports an inclusion list and and exclusion list

typecacheof

Like typesof() or subtypesof(), but returns a typecache instead of a list.

+

Arguments:

+
    +
  • path: A typepath or list of typepaths.
  • +
  • only_root_path: Whether the typecache should be specifically of the passed types.
  • +
  • ignore_root_path: Whether to ignore the root path when caching subtypes.
  • +

ucfirst

Uppercases first letter

ucfirsts

Uppercases first letter of every word

ui_describe_reagents

Returns a serialized representation of the reagents of an atom for use with the ReagentInfo TGUI components +Note that this is not a built in TGUI proc

uwutalk

uwutalk

+

owo-talk version 2. +Nyo it's sewious!

validateIso8601

Validate ISO 8601 format

ve_or_s

"they've had" vs "he's had"

vector_magnitude

Returns the vector magnitude of an x value and a y value

vector_to_dir

Transforms a supplied vector x & y to a direction

weighted_pick

Picks a random element from a list based on a weighting system.

+

For example, given the following list: +A = 6, B = 3, C = 1, D = 0, +A would have a 60% chance of being picked, +B would have a 30% chance of being picked, +C would have a 10% chance of being picked, +and D would have a 0% chance of being picked.

+

You should only pass integers in.

were_or_was

'they were' vs 'he was'

whodead

Finds whoever's dead.

whois

Looks up a player based on a string. Searches a shit load of things whoa. Returns a list of mob refs.

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/index.html b/index.html new file mode 100644 index 0000000000000..b6cd7a12230f7 --- /dev/null +++ b/index.html @@ -0,0 +1,333 @@ +Index - Goonstation 13 + +
Goonstation 13 - Modules - Types

Goonstation 13

Modules

Types

  • (global)
  • _is_abstract
    • area
      • mining - old mining outpost
      • shuttle
      • station - Base station area
        • turret_protected - Turret protected areas, will activate AI turrets to pop up when entered, and vice-versa when exited.
    • datum
      • SWFuplinkspell - Wizard's spells
      • asset - Base asset type
        • basic - Basic assets
        • group - For grouping multiple assets together
      • cloner_defect
        • maxhealth_down - Max health decrease
        • missing_organ - Lose a random organ after cloning
      • component
        • hallucination - Generic hallucination effects - subclass for fancy effects
        • pitfall
      • jobXpReward/ai - AI
      • manufacture
        • pod - pod addons
        • pod_wars - pod-armor
      • manufacturing_requirement/mixed - Manufacturing requirements which check several conditions at once.
      • material - Base material datum definition
        • metal - Base metal material parent
        • organic - Base organic material parent
      • material_property - Base material property. Stuff like conductivity. See: /datum/material/var/properties
      • pipeshotrecipe - handmade shotgun shells
      • rc_entry
        • artifact - Artifact entry. Evaluates provided handheld artifacts based on their artifact parameters.
        • reagent - Reagent entry. Searches for reagents in sent objects, consuming any suitable reagent containers until the quantity is satisfied.
        • seed - Seed entry. Searches for seeds of the correct crop name, typically matching a particular genetic makeup.
      • stock/event - Stock market events that influence the market
      • syndicate_buylist
        • commander - Irregular Items
        • generic - Standard items (generic & nukeops uplink)
        • surplus - Surplus-exclusive items
        • traitor - Standard items (traitor uplink)
      • targetable/kart_powerup - the base kart ability
    • mob/living/critter
      • human - A file for human mob critters
      • robotic/bot - Playable bots
    • obj
      • Flock Structure Parent
      • item - Base item. These are objects you can hold, generally.
        • aiModule
          • hologram_expansion - Hologram Expansions
          • syndicate - Syndicate
      • machinery
        • activation_button - Machine activation buttons
        • macrofab/pod_wars - END of SCOREBOARD STUFF
      • mapping_helper/turf/floor
      • npc/trader
        • random - Generic Randomized visitor
        • robot - Robot parent
      • vehicle - Vehicle parent
  • Space
    • Build Space - currently for z4 just so people don't teleport in there randomly
    • Built Zone - Created when an APC is installed in an unconnected zone.
    • CORDON - Unless you are an admin, you may not pass GO nor collect $200
    • crypt - crypt place
      • Research Facility Sigma - Jam Mansion 3.0
    • dojo/sakura - Gannets Space Dojo Zone +Contents: +Areas: +Sakura Trees +Main Dojo +Mobs: +Ronin +Objs: +Dojo Hmamer +Unfinished Katana Decal & Sword +Torii Gate +Sakura Trees +Kanji Symbols +Dojo House +Lotus Flowers +Birdhouse Shrines +Plant Pots +Stone Lamps +Railing & Walls +Furnace +Anvil & Bellows +Sword Rack +Fake Katana +Lanterns +Hibachi & Teapot +Wall Scrolls +Books: +Sword Scroll +5 Lore Scrolls +Uguu Scroll +Turfs: +Sengoku Walls +False & Tall Sengoku Walls +Paper Walls +Tatami Floor +Water Floors +Bridge Floors +Stone Stairs +Sand Floors
    • Drone Assembly Outpost - syndicate drone factory areas
    • ???? - cogwerks - HELL
    • Lava Moon Surface
    • Rental Office - adhara setpiece
    • Listening Post - Nukeops listening post
    • meat_derelict - Meat Zone +Contents: +Meaty areas +Stomach acid turf & such +Meat lights. Not to be confused with Spam Lite reduced fat meat-like protein product. +Grumpy meat-infested monster doors, monster floors, mutant cosmonauts, and a very sad giant head. +Various log files. +Audio logs +Fancy items in the land of meat +Puzzle elements +Gross mutant limbs
    • moon - Lunar Moon Museum Zone +Contents: +Moon Areas +Moon turfs +Moon emails +A tourguid bud +Museum objects +Control Panel Puzzle +A li'l fake bomb for an exhibit.
    • Very Legitimate Pawn Shop - Areas That Walp Uses For Gimmick Maps To Load In
    • prison/cell_block/Asylum Wards - Used for the admin holding cells.
    • Regina Anchorage - new merchant areas
    • Research Outpost - Off-station research outpost. Used for Cog2.
    • Salvager Vessel Magpie Space - Used to allow the exterior of the Magpie to render parallax layers.
    • Shame Cube - Shamecube area, applied on the admin command. Blocks entry.
      • Unshameful Cube - Unshame cube area, replaces the previous shamecube area.
    • Solarium - cogwerks - solar lounge
    • station/Dev Zone - For Devtest testing purposes
    • X-05 Fatuus - BIODOME EXPANSION PROJECT AREAS
    • Syndicate Base - Syndicate base that is radproof and not Hadar-blocked, for Trench Warfare
    • Syndicate Station - Nukeops spawn station
    • Syndicate Station Space - Used to allow the exterior of the Cairngorm to render parallax layers.
    • Unconnected Zone
    • upper_arctic - /// cogwerks - stuff for the precursor ruins and some other various solarium-related puzzles ///////
    • Wizard's Den - Wizard den area for the wizard shuttle spawn
  • atom
    • movable
      • minimap_ui_handler - Minimap UI handles are responsible for all TGUI logic pertaining to minimaps and minimap controllers. This typically +involves setting up the ByondUI to display the minimap and passing other parameters to the UI.
      • screen
        • ability/topBar
          • grinch - Ability holder
          • hunter - Ability holder
          • pod_pilot - ABILITY HOLDER
          • spell - Ability holder
        • Score
        • hud
          • Relay Progress - Relay HUD icon for flockminds and player-controlled flockdrones to show progress towards objective
          • relay_back - Back of the relay HUD icon
          • Score - SCOREBOARD STUFF
        • parallax_layer
        • parallax_render_source - Parallax render sources are screens that hold the appearance data for a specific type of parallax layer; this appearance +is then drawn to client parallax layers using render targets and sources. This permits the appearance of a specific parallax +layer to be edited at runtime and efficiently distributed across all applicable clients.
          • planet
            • Rota Fortuna - fortuna area
            • Quadriga - inner system - Diner debris belt
        • plane_parent
  • chui - depreceated, bye
  • client
  • datum
    • Spell
    • abilityHolder
      • arcfiend - The ability holder used for arcfiends. Comes with no abilities on its own.
      • changeling
      • cyalume_knight - Ability holder
      • gimmick - Random Satan Gimmick Spells
      • kart_racing - This holds all of your abilities for kart racing
      • vampire - Ability holder
      • vampiric_thrall
      • werewolf - Ability holder
      • wraith
    • achievementReward
    • action
    • action_controller
    • admins
    • aiHolder
      • aggressive - Aggressive Wanderer
        • scavenger - Agressive Wanderer scavenger
      • empty - Empty AIholder for when you only want to add things to the prioritizer (such as retaliation tasks)
      • ranged - Aggressive wander with ranged attack
      • wanderer - Wanderer
    • task
      • prioritizer/base critter thinking (should never see this)
      • sequence/goal parent
        • ambushing - If a target is in range and we're hiding, attack them until they're incapacitated
        • critter
          • attacking - This one makes the critter move towards a target returned from holder.owner.seek_target()
            • attacking target - This one makes the critter move towards a fixed target
          • eating - This one makes the critter move towards a food item returned from holder.owner.seek_food_target()
          • maintain distance - This makes the critter maintain a distance and fire on the target from holder.owner.seek_target() if the target gets close we back away.
          • attacking at range - This makes the critter maintain a distance and fire on the target from holder.owner.seek_target() if the target gets close we back away.
          • scavenging - This one makes the critter move towards a corpse returned from holder.owner.seek_scavenge_target()
        • flock
          • barricading - Since we don't want flockdrones building barricades randomly, this task only exists for the targetable version to inherit from
          • build/targetable - Targetable AI tasks, instead of looking for targets around them they just override with their own target var
        • retaliating - This one makes the mob move towards a target mob and attack it. Repeats until the target is dead, gone, too far, or we are incapacitated. Called upon being attacked if the ai is set to retaliate
        • hiding - If a target can see us and we're not hiding, then lets run away and hide
      • succeedable
        • critter
          • attack subtask - The aiTask/succeedable handles the behaviour to do when we're in range of the target
          • flee subtask - The aiTask/succeedable handles the behaviour to do when we're in range of the target
          • ranged attack subtask - The aiTask/succeedable handles the behaviour to do when we're in range of the target
        • retaliate subtask
      • timed
        • targeted/attack
        • waiting in ambush - Wait in ambush - while hidden, stay hidden until a potential target is nearby, then interupt AI so ambush or attack can trigger
        • wander
          • critter/aggressive wander - This is standard wander behaviour with frequent checks for nearby enemies, which will interrupt the wandering.
          • flock - Wander override for better wandering
    • ailment
    • ailment_data
    • air_group - Air groups are collections of tiles that let us save processing time by treating a bunch of similar tiles as a single tile. +This is quite useful because atmospherics processing is quite the time hog and processing one tile is much faster. +Whenever our tiles become too different, we can break up and create new smaller groups.
    • allocated_region - Represents a map region you have allocated access to. +While you hold a reference to this region you are free to assume nothing else will allocate this part of the map and touch your region. +You should also not go out of its bounds of course. +Deallocate the region by qdel()ing it or dropping all references to it.
    • antagPopups - Singleton that handles antag popups, use get_singleton
    • antagWeighter
    • antagonist
    • antagonist_panel - Antagonist panel datums serve as per-UI-user datums that pass data fetched from the global antagonist panel data singleton +to the UI. These datums will also store and pass user specific data such as the current tab and subordinate antagonist data +requested by the UI user.
    • antagonist_panel_data - The global singleton datum responsible for generating and providing data to individual instances of antagonist panels. +Such a datum is necessary due to the relatively large amount of antagonist data that is required to be processed with +each update of individual antagonist panels; tab data may be collated once every update then stored in a cache in order +to be fetched by antagonist panels.
    • antagonist_panel_tab - Antagonist panel tab datums represent the individual tabs that may be present on an antagonist panel and are responsble +for generating the specific data contained within them.
    • apiBody - Represents the body of an API request - ABSTRACT +Everything is generally required unless annotated as such
    • apiHandler - Handles queries to the Goonhub APIv2
    • apiModel - Base apiModel datum - ABSTRACT +Everything is generally required unless annotated as such
      • DectalkPlayResource - DectalkPlayResource
      • Error - Error
      • GameAdminResource - GameAdminResource
      • GetPlayerSaves - GetPlayerSaves
      • HasMedalResource - HasMedalResource
      • JobBansForPlayer - JobBansForPlayer
      • MapSwitch - MapSwitch
      • Message - Message
      • NumbersStationPasswordResource - NumbersStationPasswordResource
      • Paginated - Paginated - ABSTRACT +Anything with a paginated list inherits from this
        • BanResourceList - BanResourceList
        • JobBanResourceList - JobBanResourceList
        • PlayerMedalResourceList - PlayerMedalResourceList
        • PlayerMetadataList - PlayerMetadataList
        • PlayerNoteResourceList - PlayerNoteResourceList
        • PollResourceList - PollResourceList
      • PlayerCompIdsResource - PlayerCompIdsResource
      • PlayerIpsResource - PlayerIpsResource
      • PlayerMetadataArray - PlayerMetadataArray
      • PlayerSearchResource - PlayerSearchResource
      • PollOptionResource - PollOptionResource
      • PreviousGauntlets - PreviousGauntlets
      • RandomEntries - RandomEntries
      • Tracked - Tracked - ABSTRACT +Anything with the two timestamp fields inherit from this
        • BanDetail - BanDetail
        • BanResource - BanResource
        • EventAiLawResource - EventAiLawResource
        • EventFineResource - EventFineResource
        • EventStationNameResource - EventStationNameResource
        • EventTicketResource - EventTicketResource
        • GameAdmin - GameAdmin
        • GameAdminRank - GameAdminRank
        • GameRound - GameRound
        • JobBanResource - JobBanResource
        • MapSwitchInternal - MapSwitchInternal
        • MedalResource - MedalResource
        • PlayerNoteResource - PlayerNoteResource
        • PlayerRes - PlayerRes - ABSTRACT +All PlayerResourceXYZ inherit from this - shared player id field
          • PlayerAntagResource - PlayerAntagResource
          • PlayerConnection - PlayerConnection
          • PlayerDataResource - PlayerDataResource
          • PlayerMedalResource - PlayerMedalResource
          • PlayerMetadataResource - PlayerMetadataResource
          • PlayerParticipationResource - PlayerParticipationResource
          • PlayerSaveResource - PlayerSaveResource
        • PlayerResource - PlayerResource
        • PlayerStatsResource - PlayerStatsResource
        • PollAnswerResource - PollAnswerResource
        • PollResource - PollResource
        • VpnWhitelistResource - VpnWhitelistResource
      • VpnCheckResource - VpnCheckResource
      • VpnWhitelistSearch - VpnWhitelistSearch
    • apiRoute - Base apiCall type +Represents a predefined query we can make to the Goonhub API +SECURITY: Sanitization occurs right before output
      • bans
        • add - POST /bans +Add a ban for given player data
        • add_detail - POST /bans/details/{ban} +Add new player details to an existing ban. This should be used when an evasion attempt is detected.
        • check - GET /bans/check +Check
        • delete - DELETE /bans/{ban} +Delete
        • get - GET /bans +Get
        • remove_detail - DELETE /bans/detail/{banDetail} +Add Details
        • update - PUT /bans/{ban} +Update
      • dectalk/play - POST /dectalk/play +Generate an audio file speaking the text provided.
      • gameadminrank/post - POST /game-admin-ranks +Add a new game admin rank
      • gameadminranks
        • delete - DELETE /game-admin-ranks/{gameAdmin} +Delete an existing game admin
        • get - GET /game-admin-ranks +List paginated and filtered game admin ranks
        • put - PUT /game-admin-ranks/{gameAdminRank} +Update an existing game admin
      • gameadmins
        • delete - DELETE /game-admins/{gameAdmin} +Delete an existing game admin
        • get - GET /game-admins +List paginated and filtered game admins
        • post - POST /game-admins +Add a new game admin
        • put - PUT /game-admins/{gameAdmin} +Update an existing game admin
      • gauntlet/getprevious - GET /gauntlets/get-previous +Retrieve a count of how many gauntlets a given key has completed
      • jobbans
        • add - POST /job-bans +Add a new job ban
        • check - GET /job-bans/check +Check if a job ban exists for given player and server details
        • delete - DELETE /job-bans/{jobBan} +Delete an existing job ban
        • get - GET /job-bans +List filtered and paginated job bans
        • getforplayer - GET /job-bans/get-for-player +Get all job bans for a given player and server
        • update - PUT /job-bans/{jobBan} +Update an existing job ban
      • mapswitch - POST /map-switch +Trigger a map switch for a given server
      • numbersstation/get - GET /numbers-station +Get the current numbers representing the password for the numbers station terminal
      • players
        • antags - POST /players/antags +Add a player antagonist for a given round
        • compids/get - GET /players/get-compids +Get a list of computed IDs associated with a player ckey, along with how many times they connected with each computer ID
        • ips/get - GET /players/get-ips +Get a list of IPs associated with a player ckey, along with how many times they connected with each IP
        • login - POST /players +Register a login for a player with associated details
        • medals
          • add - POST /medals +Add a medal for a player
          • delete - DELETE /medals +Delete medal for a player
          • get - GET /medals +List paginated and filtered player medals
          • has - GET /medals/has +Determine if a player has a medal
          • transfer - POST /medals/transfer +Transfer medals from one player to another
        • metadata
          • add - ADD /players/metadata +Add player metadata
          • delete - DELETE /players/metadata/clear-by-data/{metadata} +Delete a specific item of metadata
            • fromplayer - DELETE /players/metadata/clear-by-player/{ckey} +Delete all metadata associated with a specific player
          • get - GET /players/metadata +List paginated and filtered player metadata
          • getbydata - GET /players/metadata/get-by-data/{metadata} +Get all the ckeys associated with a piece of metadata
          • getbyplayer - GET /players/metadata/get-by-player/{ckey} +Get all the metadata associated with a ckey
        • notes
          • delete - DELETE /players/notes/{note} +Delete list
          • get - GET /players/notes +List paginated and filtered player notes
          • post - POST /players/notes +Add a new player note
          • update - PUT /players/notes/{note} +Update
        • participations - POST /players/participation +Add a player participation for a given round
        • participationsBulk - POST /players/participation +Add a player participation for a given round
        • playtime - POST /players/playtime/bulk +Record playtime for a list of players
        • saves
          • data
            • delete - DELETE /players/saves/data +Delete data for a player
            • post - POST /players/saves/data +Add player data
          • databulk/post - POST /players/saves/data-bulk +Add multiple entries of player data
          • file
            • delete - DELETE /players/saves/file/{playerSave} +Delete a save for a player
            • post - POST /players/saves/file +Add player save
            • transfer - POST /players/saves/transfer-files +Transfer all save files from a player to another +WARNING: This overwrites all the saves for the target
          • get - GET /players/saves +List all data and saves for a player
        • stats/get - GET /players/stats +Get various statistics associated with a player
      • polls
        • add - POST /polls +Add a new poll
        • delete - DELETE /polls/{poll} +Delete an existing poll
        • edit - PUT /polls/{poll} +Edit an existing poll
        • get - GET /polls +List paginated and filtered polls
        • options
          • add - POST /polls/option/{poll} +Add a new option to an existing poll
          • delete - DELETE /polls/option/{pollOption} +Delete an existing poll
          • edit - PUT /polls/option/{pollOption} +Update an existing poll option
          • pick - POST /polls/option/pick/{pollOption} +Register that a player picked a poll option
          • unpick - POST /polls/option/unpick/{pollOption} +Register that a player removed their pick of a poll option
        • show - GET /polls/{poll} +Get a specific poll
      • randomEntries - GET /random-entries +Get a list of random entries by type
      • remoteMusic - POST /remote-music +Queue a piece of music from youtube to be played in a given round
      • rounds
        • end - PUT /rounds/end/{gameRound} +End a game round.
        • post - POST /rounds +Start a new game round
        • update - PUT /rounds/{gameRound} +Update a game round. This should be used when game round data we care about is set after the start of the round.
      • test - GET /test +Test route for debugging
      • vpn/check - GET /vpncheck/{ip} +Check if a player is using a VPN
      • vpnwhitelist
        • add - POST /vpncheck-whitelist +Add a player into the whitelist. This will allow them to skip VPN checks.
        • delete - DELETE /vpncheck-whitelist +Delete a whitelist entry
        • search - GET /vpncheck-whitelist/search +Check if a player is whitelisted from the VPN checker
    • appearanceHolder - Holds all the appearance information.
    • artifact
    • artifact_controller
    • asset
      • basic
        • fontawesome - Fontawesome assets
        • tgui - Normal base window tgui assets
        • tgui_panel - tgui panel specific assets
      • group/base_tgui - Group for tgui assets
    • attackResults - attackResult datum
    • ban_panel - Admin Ban Panel
    • bansHandler
    • bioEffect
      • power/Healing Touch - COMBINATION-ONLY EFFECTS BELOW
    • bioHolder
      • unlinked - Bioholder type for when you need a bioholder that isn't strongly linked to an owner, uses a weakref to allow GC
    • bioluminescent_algae
    • biome - This datum handles the transitioning from a turf to a specific biome, and handles spawning decorative structures and mobs.
    • blob_ability/Deploy
    • bounty_claim - Datum used to combine the bounty being claimed with the item being delivered
    • bsp_tree
    • cargo_pad_manager - Basically a list wrapper that removes and adds cargo pads to a global list when it receives the respective signals
    • cell_grid
    • centcomviewer - Admin CentCom Viewer Panel for looking up public bans on other servers via the CentCom Viewer API
    • changelog
    • chatOutput
    • chemical_reaction
      • Lumen - EXAMPLE STATEFUL REACTION
    • chemicompiler_core - Chemicompiler
      • portableCore - Chemicompiler +v1.0 By volundr 9/24/14 +This device is a programmable chemistry mixing and heating device. +The javascript code to run the frontend is in browserassets/js/chemicompiler.min.js +which is minified javascript from browserassets/js/chemicompiler.js +If you make changes to the uncompressed javascript, you'll need to install node.js, +and run npm install -g uglify-js +then run uglifyjs browserassets/js/chemicompiler.js -c > browserassets/js/chemicompiler.min.js to rebuild the compressed version.
    • chemicompiler_executor
    • client_image_group
    • cloner_defect
      • Allergic Reaction - Get some histamine after cloning
      • Limb Discombobulation - Left and right arms are swapped, making them both initially useless TODO actually implement
      • Motor Control Impairment - Add some kind of 'clumsy' mutation/trait
      • Subj- OH GOD RUN - Just fucking explode. probably a bad idea. TODO maybe make it so if they're healed to max they don't explode? +CURRENTLY DISABLED
      • Facial Disfiguration - Sets seen name to 'unknown' (until repaired with synthflesh)
      • Failed Limb Reconstruction - Lose a random limb after cloning
      • Minor Flesh Abnormality - Some random brute/burn damage after cloning.
      • Rapid-Onset Puritanism - You become a puritan- no more clonings for you! (unless the docs are really solid)
      • Unexpected Genetic Development - Set to a random (safe) mutantrace after cloning
      • Poor Muscular Regulation - Makes you fall over when you sprint too hard (pug thing)
      • Vocal Chord Disfiguration - Sets heard voice to 'unknown' (until repaired with synthflesh)
    • cloner_defect_holder - Holds all the cloner defects for a person, as well as the weighted list of possible defects
    • cloudSaves
    • cobalt_tools - Datum used to manage the functionality and cache for the cobalt.tools API.
    • color - Simple datum for RGBA colours +used as an alternative to rgb() proc for ease of access to components +all stored as 0-255
    • color_matrix_editor - Nice admin editor for editing color matricies with a preview
    • command_argument - argument for a spacebee command, a singleton (should be created through get_singleton())
      • number - a number, not necessarily an integer
        • integer - an integer
      • string - a quoted or unquoted string argument
        • ckey - a quoted or unquoted string argument that gets ckey applied to it
        • optional - a string argument that doesn't have to exist (only supported as either the only argument or having another arg after it weirdly)
      • the_rest - the whole rest of the command (only supported as the last argument for obvious reasons)
    • commodity
      • airzooka - greg
      • bodyparts - body parts
      • clothing_restock - syndicate trader
      • contraband/command_suit - purchase stuff
      • costume - costume kits
      • drugs - 420 all day
        • methamphetamine - things you can buy from the traders
        • poppies - these are things that you can sell to the traders
      • hat - skeleton trader
      • podparts - pod sales
      • produce/special - food trader
      • relics - valuable space junk
      • salvage - salvage trader
    • Component - The component datum
      • analyzable - Makes an object scannable by the device analyzer. +The result type is drawn from either the parent's typepath or its mechanics_type_override. +Syndicate objects can't be scanned by non-Syndicate scanners.
      • arable - Makes a turf or atom/movable hold a plant datum by attaching an invisible plantpot (/obj/machinery/plantpot/bareplant)
        • manual_water - Plantpot must be watered manually (interacted with like a hydroponics tray clicking directly on the plant)
        • single_use - Component will destoy itself after plantpot is destroyed
      • assembly - This component calls a procref with a assembly_information string on the atom it was added to when it gets attacked with an object specified in the to_combine_item +This component can be used to get the convulent if-then-else trees of assemblies under control +Make the proc you call on sucessfull assembly return TRUE. Else the attack will go through!
      • auto_reagent
      • bloodflick - a component that makes items flick blood off them and onto the ground when twirled.
      • bullet_holes - A component which makes bullet holes appear on a thing when it gets shot
      • complexsignal - Handler for a complex singal, that is a signal that requires some additional handling. +You define such signal for example as: +#define XSIG_OUTERMOST_MOVABLE_CHANGED list(/datum/component/complexsignal/outermost_movable, "mov_outermost_changed") +When this signal gets registered at least once once to a datum the appropriate complex signal component will get registered to it. +When all instances of this signal get unregistered then the component will qdel itself unless [qdel_when_unneeded] is unset. +The intended use is for this component to keep some more complex and resource intensive handling (possibly using other signals) and then send the +actual complex signal when some conditions are met. That signal should be set to src like this: +SEND_COMPLEX_SIGNAL(src, X_OUTERMOST_MOVABLE_CHANGED, old_outermost, new_outermost)
      • consume - handles various overrides regarding eating things, like making certain inedible things edible, or eaten organs restore health
        • can_eat_raw_materials - Eating rocks
        • food_effects - Applies some status effects when eaten
      • conveyorplacer - conveyor placing component
      • cord
      • extradimensional_storage
        • ladder - subtype of the component that instead handles ladders
        • storage - subtype of the component that handles storage
      • flock_interest - Mark a specific flock as interested in this
      • flock_ping - Ping component, for highlighting something to the flock
        • obstruction - Used to mark objects blocking the construction of a flock tealprint
      • flock_protection - Raise COMSIG_FLOCK_ATTACK on common sources of damage (projectiles, items, fists, etc.)
      • fragile_item - Defines a "fragile item" component.
      • ghost_observable - DO NOT USE THIS IF YOU'RE CODING SOMETHING. For use at runtime only. Use START_TRACKING_CAT.
      • hallucination
        • fake_attack - Fake attack - hallucinate being attacked by something
        • fake_singulo - Fake singulo - hallucinate a loose singularity approaching you and eating the station
        • random_image - Random image - hallucinate an image on a visible tile with prob per life tick
        • random_image_override - Random image override - hallucinate an image on a filtered atom either in or out of view in range with prob per life tick, with an option to add as overlay or replace the icon
        • random_sound - Random sound - play a sound from a list with a prob per life tick
        • trippy_colors - Trippy colors - apply an RGB swap to client's vision
      • holdertargeting
      • mechanics_connector - component for pulsing tools that will connect mechcomponents the user clicks on to the specified mechcomponent
      • mechanics_holder
      • pitfall - A component for turfs which make movable atoms "fall down a pit"
        • target_area - a pitfall that targets an area
        • target_coordinates - a pitfall which targets a coordinate. At the moment only supports targeting a z level and picking a range around current coordinates.
        • target_landmark - a pitfall that targets a pitfall landmark
      • proximity
      • radioactive
      • reagent_overlay
      • reset_transform_on_pickup - Resets the transformation on an item when it's picked up. Used for resizing things coming out of gang crates.
      • secbot_command
      • seedy - Makes a /obj/item hold a seed data so it can be used on a plantpot
      • transfer_input - Provides many common item input features.
      • transfer_output - Provides ability to output items directly into item transfer-supporting things.
      • waddling
      • wearertargeting/energy_shield
    • computer
      • file
        • mainframe program - Mainframe programs represent computer programs, and are responsible for carrying out an instruction or set of instructions +specified by commands passed to them. Unlike real computer programs, mainframe programs are not in possession of any ingame +representation of "source code" and are hardcoded. Most of DWAINE's functionality is provided by computer programs, which +include the kernel, the shell, the drivers, and system utilities (ls, cd, etc...), among other programs.
          • Login - The user login manager is responsible for passing user login credentials from the user to the kernel to be authenticated, +displaying the daily welcome message to the user, and for notifying the user in the event of a login failure.
          • Base OS
            • Kernel - The kernel is the computer program at the core of the OS and is responsible for managing interactions with all hardware +devices, such as terminals, databanks, scanners and so forth through device drivers; for handling inputs; for creating and +terminating connections; for the execution of system calls; and for other basic system services.
        • blank program
        • blank program
        • text/***ERROR*** - TEMPUS
    • configuration
    • contextAction
      • Back surgery - Organ context action (tails/butts)
      • omnitool - Omnitool context action
      • Prepare an organ to be taken out - Context action for the steps to remove a specific organ
      • Cut out organ - Organ context action to pick an organ to operate on
      • prisoner_scanner - Prisoner Scanner Context Action
      • Open up a region of the patient's body - Context action for the steps to remove a specific organ
      • Open up surgery region - Organ context action to pick a region to operate on
    • contextLayout
      • experimentalcircle
      • screen_HUD_default - for drawing context menu buttons based on screen_loc position instead of //DONE NOTHING YET
    • controller
      • air_system
      • camera_coverage
      • gameticker
      • process - Base definition of a process controller
        • actions - handles timed player actions
        • ai_tracking - Handles the AI camera tracking players
        • air_system - handles air processing.
        • area_process - Controller for misc. processing on areas +Areas will only process when active (player inside) +Calls /area/proc/area_process, register your area to [TR_CAT_AREA_PROCESS]
        • arena - Handles the gauntlet
        • blob - Handles blobs without being pissy about it
        • camnets - Handles rebuilding of camnets if needed
        • chemistry - Handles chemistry reactions
        • critters - handles critters
        • cross_server_sync - proocess for cross server data syncing
        • delete_queue - The process controller for queued deletion
        • explosions - handles EXPLOSIONS
        • fMove - Controls forced movements
        • flock - proocess for flock_structure objects
        • fluid_group - Controller for fluids
        • fluid_turfs - Processes fluid turfs
        • ghost_notifications - Handles sending ghost notifications to players
        • healthupdates - handles health updates
        • items - handles item/process()
        • kudzu - Controlls the kudzu process
        • lighting - Controls the LIGHTS
        • machines - handles machines processing
        • mob_ai - Uncomment to remove mobai loop runtime safety for debugging +handles mobcritters
        • mob_ui - Controls mob UI, like abilityholders
        • mobs - handles mobs
        • particles - Controls the particle system
        • poll_sync - Syncs poll data with API every minute
        • railway - Controls railway movement
        • randomevents - handles random events
        • respawn - Controls the respawn controller
        • shipping_market - Handles updating the shipping market
        • stamina_updates - Handles mob stamina recovery
        • statusEffects - handles status effects
        • stock_market - Handles updating the stock exchange
        • telescope - handles telescope signals and whatnot
        • tgui - handles tgui interfaces
        • ticker - handles the game ticker, for gamemodes and such
        • world - Handles various global init and the position of the sun.
      • processScheduler
    • cookingrecipe
    • crewCredits
    • cross_server_message
    • customizationHolder - Holds all the customization information.
    • customization_style
    • data_input_result - A datum holding the data the caller needs- the formatted output itself and the format the src selected (text, JSON, color, etc etc) +Functionally a named tuple.
    • db_record
    • debugFileOutput - This is a generic handler for logging your dumb JS errors generated by html popups
    • digbot_ui - Digbot UI
    • digital_filter - Provide support for IIR filters to perform all your standard filtering needs! +Previous inputs and outputs of the function will be summed together and output
      • exponential_moving_average - Sum weighted current input and weighted previous output to achieve output +input weight will be ratio of weight assigned to input value while remaining goes to previous output
      • window_average - Sum equally weighted previous inputs of window_size
    • disjoint_turf
    • DJ Panel for Admins - Allows for easily accessible music/sound playing for admins/allowed players.
    • dnaBlocks
    • effects/system
      • foam_spread
      • harmless_smoke_spread - SMOKE SYSTEMS
      • mustard_gas_spread - SMOKE SYSTEMS
    • ehjax
    • eventRecord - Base eventCall type +Represents a predefined event we can send to the Goonhub event recorder +SECURITY: Sanitization occurs right before output
      • AILaw - Record a new AI law
      • Antag - Record an antag spawn
      • AntagItemPurchase - Record an antag item purchase
      • AntagObjective - Record an antag objective addition
      • BeeSpawn - Record a bee spawn
      • CyborgModuleSelection - Record initial cyborg module selection
      • Death - Record a player death
      • Error - Record an error
      • Fine - Record a new fine
      • GauntletHighScore - Record a new gauntlet high score
      • Log - Record a log message
      • StationName - Record a new station name
      • Ticket - Record a new ticket
    • eventRecordBody - Represents the body of an event - ABSTRACT
      • TracksPlayer - For events that require a player ID - ABSTRACT
    • eventRecorder
    • explosion
    • figure_info/patreon
    • fishing_lootpool - This code handles different lootpools for fishing +A fishing_lootpool is a datum that stores unified loottables for certain conditions on fishing +These loottables created in new()of a fishing spot and are added to a fishing spot. +These, in contrast to fishing spots, are NOT singletons, since they can be added and removed dynamically (for cases such as a fishing component) +Once someone tries to fish somewhere, proc/generate_fish iterate through all fishing_lootpools and generates a list to pick its fish from +Since fishing_lootpools have their own conditionals, this enables different loottables for e.g. different tier rods or other things such as baits +When adding loottables, is should be paid attention to that a loottable is avaible there.
      • charred_remains - charred items you potentionally can find in lava or the oven in the kitchen
      • clown_shoes_loot - extra loot from their shoes for clowns only
      • igneous_fish - A mid-tier fish you can find in hot places.
      • lava_fish - lava fish as T3 fish for fire-sources
      • pufferfish - minimum T2 to get pufferfish from exotic sources
      • standard - Here can the lootpools be found +Standard lootpool for the standard fishing tank
      • tiny_junk - tiny junk items you can find in vending machines and others.
    • fishing_spot - a datum that holds all the information about a "fishing spot"
    • flock - manages and holds information for a flock
    • invalid
    • game_server
    • gang
    • commodity
      • country_western/Colt Single Action Army .45 - COUNTRY WESTERN
      • weapon
        • Faux C-Saber - SPACE
        • Katana - NINJA
    • gangtileclaim - For a given tile, this contains the number of gang tags that see or influence this tile for a gang. Used to track overlays.
    • gas_mixture
    • hallucinated_sound
    • left hand
    • heap
    • HTTP Request - Holder datum for ingame HTTP requests
    • HTTP Response - Holder datum for HTTP responses
    • hud
      • critter - Highly modular HUD for critters.
      • silicon - A parent type for borg and AI huds used to hold the shared killswitch stuff
      • storage
    • hud_element - Represents a hud element within a hud zone
    • hud_zone - The internal datum representation of a hud zone
    • interruptible_sleep - Represents something akin to a sleep() call that can be interrupted.
    • ion_category
    • ircbot
    • item_special
    • job
    • jobXpReward
      • bartender/Spectroscopic Monocle - Bartender
      • Sushi Chef Outfit - Chef
      • Special Crayon - CLOWN
      • mime/Fancy Mime Suit - Mime
    • job_controller
    • jps_node - The JPS Node datum represents a turf that we find interesting enough to add to the open list and possibly search for new tiles from
    • keymap
    • lifeprocess
      • blood
      • breath
      • hivebot_statusupdate - obj/item/hive_module/security/New()
    • limb - Limb datums for arms. Describes all activity performed by the limb. +Currently, this is basically attack_hand().
      • gun
      • hot - Currently used by the High Fever disease which is obtainable from the "Too Much" chem which only shows up in sickly pears, which are currently commented out. Go there to make use of this.
      • mouth
      • small_critter - little critters with teeth, like mice! can pick up small items only.
        • med - same as the parent, but can pick up some heavier shit
      • swipe_quake - test for crab attack thing
      • tentacle - I wanted a claw-like limb but without the random item pickup fail
      • transposed - Transposed limb
      • zombie
    • lineResult
    • loot_crate_manager
    • loot_generator
    • loot_grid - data class representing a grid of goodies (like an inventory grid in RE4).
    • loot_spawner_info - Contains positional info and tags to pass to loot spawners, so they can spawn items in the right spot.
    • manufacture
      • Air Canister - cogwerks - gas extraction stuff
      • Alastor Pattern Laser Rifle - GUNS
      • Armor Vest - UBER-EXTREME SURVIVAL
      • Warp Beacon Frame - deployable warp beacon
      • Biosuit Set - Science
      • Crate - QM CRATES
      • Warp-1 Engine - Ship Items -- OLD COMPONENTS
      • ID card - HOP
      • Interdictor Frame Kit - INTERDICTOR STUFF
      • Reverse-Engineered Schematic
        • AI display - AI display (temp)
        • cloning pod - Cloner
        • Communications Dish - Communications Dish
        • Laser Mirror - Laser beam things
        • AI Law Rack Mount - AI Law Rack
        • loafer (deploy on plating) - Loafer
      • Nanoloom - NADIR GEAR
      • pod
        • Light Pod Armor - pod construction components
        • weapon/Mining Phaser System - pod-weapons
      • Type-AX Resonator - NADIR RESONATORS
      • Cyborg Frame - Robotics
      • Scalpel - Medical
    • manufacturing_requirement
    • mapPrefab
    • map_generator - This type is responsible for any map generation behavior that is done in areas, override this to allow for area-specific map generation. This generation is ran by areas on world/proc/init().
    • MAP
    • material
      • interpolated
      • metal/glowstick - Material for bundles of glowsticks as fuel rods
    • materialProc
    • material_property
      • Fissile Isotopes - Literally just indicating that it can be refined into good nuclear fuel in the centrifuge
    • material_recipe - material recipie definition
    • matfab_part - ///////////////////////////////////////////BASE CLASS BELOW +Base material fabrication part
    • matfab_recipe - ///////////////////////////////////////////BASE CLASS BELOW +Base material fabricator recipie
      • simple - Simple matfab recipie definition
    • mind
    • mind_mob_overlay
    • minimap - Minimap datums are responsible for handling the appearance of the minimap. This includes any displayed markers, the zoom level, +and the displayed z-level.
    • minimap_marker - Minimap marker datums are responsible for managing the appearance and position of a marker atom/movable that depicts a +tracked target object.
    • minimap_render_modifier - Minimap render modifiers are responsible for handling alterations to the pixel colour that represent a specific turf on +a minimap. Only one modifier may apply its effects to a pixel at a time, with higher priority modifiers being considered +first.
    • minimap_renderer - The minimap renderer is responsible for generating partial renders of area minimaps for each minimap type flag and generating +full renders of radar minimaps, alongside updating radar minimaps and dynamic area overlays. In the case of querying for area +minimaps, a minimap type bitflag may be passed to the renderer, which will then return a full render of the map comprised of +the aforementioned partial renders. In the case of querying for radar minimaps, a minimap atom/movable will be returned, +containing both the radar map icon and the radar map markers.
    • mining_encounter/Miraclium asteroid - TELESCOPE ENCOUNTERS BELOW
    • Movable Preview - Essentially, it creates a movable on a 1x1 map and gives you access to the it for modification.
      • Character Preview - This is intended only for use with humans. preview_thing will be a subtype of generic human.
        • multiclient - A shared character preview between multiple clients. +Again, use winset() to position the control.
        • window - Manages its own window. +Basically a simplified version for when you don't need to put other stuff in the preview window.
    • mutantrace
    • mutation_orb_mutdata - Guardbuddy stuff +Mutation orb stuff //
    • named_color - the datum holding one named color
    • objective
    • ore/event/geode
    • organHolder
    • parallax_controller
    • parallax_render_source_group - The parent type for parallax render source groups, which govern which parallax render sources should be shown to a client +in a given area or z-level. They also allow for the efficient manipulation of parallax render sources and layers within a +specified z-level or area, permitting more granular control over the appearance of parallax render sources.
      • area - Area render source groups are singleton datums stored in a lookup table by type. They permit areas of differing type paths +to share parallax render source instances and therefore permit parallax render source changes to take effect across several +areas consistantly.
      • planet - Planet render source groups are non-singleton datums, with each instance of each type varying in parallax render source +settings. They are assigned to planet areas during the procedural generation of planets, and permit variety in parallax +layers amongst planets.
      • z_level - Z-level render source groups are singleton datums stored in a lookup table by z-level. Their default parallax render source +types are defined by the current map settings, with each z-level render source group using the list on the map settings datum +corresponding to its z-level. See map.dm and the Z_LEVEL_PARALLAX_RENDER_SOURCES() macro.
    • part_customization - These are SINGLETONS
    • pathfind - The datum used to handle the JPS pathfinding, completely self-contained
    • phrase_log
    • pid - Provide support for basic PID Controller +Allows for dampening an approach to a target value
    • pipe_network
    • pipeline
    • plant species name
    • plant_gene_strain
    • plantgenes
    • plantgrowth_tick - plantgrowth_tick is a container that saves information about changes that are happening within a plant during a tick. +This is passed to procs of chems and plantgenes and is modified +After plantgenes, chems and plant-effects are resolved, this proc can be resolved and removed with /obj/machinery/plantpot/proc/HYPresolve_plantgrowth_tick
    • plantmutation
    • player - for client variables and stuff that has to persist between connections
    • player_panel - Admin Player Panel
    • poll_ballot
    • poll_manager - master poll controller for the server. Caches the results, syncs with api
    • powernet
    • preferences
    • proccall_editor
    • processSchedulerView
    • projectile
    • promise - Represents a promised value that can then be fulfilled (likely by some other execution context). +Supports waiting for fulfillment.
    • property_setter_property - Generic unique items stuff +Clothing properties stuff
    • pump_ui
    • pw_stats_manager - player stats tracking datum
    • random_event
    • rc_entry - Requisition contract entry: analyzes things passed to it, returns whether they were needed, and is checked for completion at end of analyses.
      • artifact
      • food - Food item entry, used to properly detect food integrity.
      • item - Basic item entry. Use for items that can't stack, and whose properties outside of path aren't relevant.
      • reagent
      • seed
      • stack - Stackable item entry. Remarkably, used for items that can be stacked.
    • something - Item reward datum optionally used in contract creation. +Should generally return an object, or set of objects that makes sense as a list entry (i.e. "fast food meal" for a burger, fries and soda). +To use: in a contract's New(), instantiate one of these and add it to src.item_rewarders.
    • Reagent
      • blood - BODILY FLUIDS
      • harmful
      • transmutation/liquid jeans - Jeans reagent turns turfs and objects into jeans +and on touch on humans will convert their clothes into jeans material
      • atrazine - BOTANY REAGENTS
    • reagents
      • fluid_group - Fluid Group
    • recoil_controller
    • region_allocator
    • region_allocator_panel - admin panel front end for interacting with the region allocator system
    • Requisition Contract - The primary datum for requisitions contracts. +Top level contains cargo handling data, payout data, item reward generators if present, and formatted descriptions for the QM requisitions menu.
      • aid - Aid contracts are a class of standard (market-listed) contract. +Uniquely among contracts, aid contracts can't be pinned due to their urgency, +and will leave after a certain number of market cycles instead of at random. +Requirements and flavor text should convey this urgency.
      • civilian - Civilian contracts are a class of standard (market-listed) contract. +These contracts should typically be somewhat "tame", revolving around what a station might need in normal, non-catastrophe operation. +If you can picture a station or colony needing something for expansion, or under-provisioned it, it's a good candidate for a Civilian contract.
      • scientific - Scientific contracts are a class of standard (market-listed) contract. +Of the contract types, these should typically lean more heavily on unusual materials or ones that require a sophisticated acquisition process. +This doesn't have to be limited to what the science department puts out; if a researcher somewhere wants it, that could be a contract.
      • special - Contracts for utilisation by the special order event. +These are distinguished by the requisition being sent physically, either standalone or in a crate with stuff. +They are not inspected by the requisitions handler, and do not receive the screwup protection that is afforded to regular contracts. +They do not appear in the general market.
    • Two-Beep - Ringtones that'll get mashed into a PDA
      • Retrospection - basic-ass ringtones for basic-ass spacepeople
      • Nooty's Tooter - Clown ringtones
      • WOLF PACK - Test ringtone for random sounds w/ varied and altered pitch
      • Norman Number's Counting Safari - Test ringtone for cycled numbers with special index
      • BEEP 2: The Fourth - Ringtones with Shorts
      • KABLAMMO - Realistic Explosion FX - Syndicate Distracto-tones
      • Three-Beep - Stock Thinktronic ringtones
    • robot/module_tool_creator - Stub parent.
    • robot_mover - movement control datum. Why yes, this is copied from secbot.dm. Which was copied from guardbot.dm
    • roundManagement
    • score_tracker
    • shipping_market
    • shuttle_controller
    • signal
    • signal_holder - Dummy datum used for holding onto global signals, initialized in preMapLoad
    • Youshouldn'tseemium
    • sort_instance
    • spacebee_extension_command - A command for the Spacebee extension thing
      • state_based - For commands with multiple states (several stages of entering inputs, confirmation dialogs etc.). +Define a proc for each state and use go_to_state(new_state) to go to that state. When the +user inputs their next command instead of being processed by the Spacebee extension system it will +get processed by said state of this command.
        • confirmation - For dangerous commands that the user should really doublecheck. Override +prepare to check the validity of the vars and return a message (or null to cancel). +User will need to reply with ;;yes to continue at which point do_it gets called.
    • spacebee_extension_system - the main thing that processes and runs the commands
    • spatial_hashmap
    • spawn_event
    • spawn_event_editor
    • spawn_rule - Represents a "rule" applied to a human or something they are wearing on spawn
      • proc_call - A proc call, complete with arguments list
      • var_edit - A var edit, var name and value to set it to
    • spawn_rules_controller
    • special_sprint
    • spectro_analysis - Analysis datum for the spectrometer
    • statusEffect - Our datum that keeps track of an individual status effect.
      • Speed regeneration - changeling speedregen status effect
      • Regrowing Part:
      • Disoriented - Basically disorient, but only does the animation and its maxDuration is +upped a bit to synchronize with other stuns.
      • lights_out - APC status that locks lighting circuit offline
      • nausea/Nausea - Music Status Effects
      • oiled/Freshly oiled
      • skeleton_rallied - skeleton commander rally effect, applied to obj/critters
      • spirit_candle - applied to waith by spirit candle, causes them to spawn dark shadows
      • Faded
    • stock
      • article
      • borrow - A borrow of stock
      • Industry - Stock market industries
      • Stock - stonks
    • storage - a datum for atoms that allows holdable storage of items in a hud
      • no_hud
        • machine - For things which are meant to be a part of a machine. No rustling, no interacting with by hand, etc. DONT!!!
      • terminus
      • unholdable
    • supply_packs
    • syndicate_buylist
      • generic/Pure Telecrystal - Telecrystals
      • traitor
        • Clown Car - Job-specific items
        • Fog Machine - Disabled items
        • Target ID Tracker - Objective-specific items
    • targetable
      • base arcfiend ability (you should never see me)
        • Arc Flash - Ranged chain lightning attack. Bounces between up to chain_count extra mobs within chain_range tiles of the initial target.
        • Discharge - Melee attack. Shocks a targeted mob, or can be used on an airlock to temporarily cut its power.
        • Flash - Super simple CC. Short-ranged elecflash.
        • Jamming Field - Makes the user functions as a radio jammer for the duration. Functions by applying a status effect with a visible aura.
        • Jolt - Killing skill that does decent damage even when it doesn't finish. +The final tick stops the target's heart (or can restart it if they have SMES human.) +Use time is instant if the user jolts themselves.
        • Polarize - Applies a magnetic aura to nearby humans, as with the bio-magnetic fields random event. All auras will be of the same polarity.
        • Sap Power - Arcfiend's main way of obtaining power for their abilities. +Can be used on:
        • Ride the Lightning - This ability lets arcfiends travel through power cables like a Voltron (hence the type name). +Each tile traveled costs 3 units of power.
      • changeling/critter
      • critter
        • Arc Flash - Ranged chain lightning attack. Bounces between up to chain_count extra mobs within chain_range tiles of the initial target.
        • bot/Spray Foam
        • Power Kick - obj/overlay/tile_effect/cracks/trilobite +obj/overlay/tile_effect/cracks/pikaia
      • flockmindAbility/Partition Mind
      • geneticsAbility/Mind Reader
      • gimmick
        • Planeshift - Kill Jesta
        • Toggle Reveal - Dumb Floorclown stuff
        • Scribble - Crayon-related stuff
      • grinch - Grinch spell parent
      • hunter - Hunter spell parent
      • merchant - Merchant spell parent
        • Summon Contract - Contract Summoning Spell
      • refpicker - Refpicker - click thing, get its ref. Tied to the data_input proc via a promise.
      • spell - Wizard spell parent
      • vampire - Vampire spell parent
      • virtual - Wrestler spell parent
      • werewolf - Werewolf spell parent
      • wraithAbility/Retreat - abilities
      • wrestler - Wrestler spell parent
    • teg_transformation
      • default - Default TEG Transformation we know and ""love""
      • matsci - Material Science Transformation +Triggered by /obj/item/teg_semiconductor having a material applied likely by /obj/machinery/arc_electroplater
    • teg_transformation_mngr - Transformation Manager for Thermo-Electric Generator
    • tgs_api/v5
    • tgs_chat_channel - Represents a connected chat channel.
    • tgs_chat_command - User definable chat command.
    • tgs_chat_embed
      • field - See https://discord.com/developers/docs/resources/channel#embed-object-embed-field-structure for details. Must have name and value set in New().
      • footer - See https://discord.com/developers/docs/resources/channel#embed-object-embed-footer-structure for details.
      • media - Common datum for similar discord embed medias.
      • provider - See https://discord.com/developers/docs/resources/channel#embed-object-embed-provider-structure for details.
        • author - See https://discord.com/developers/docs/resources/channel#embed-object-embed-author-structure for details. Must have name set in New().
      • structure - User definable chat embed. Currently mirrors Discord chat embeds. See https://discord.com/developers/docs/resources/channel#embed-object-embed-structure for details.
    • tgs_chat_user
    • tgs_event_handler - User definable handler for TGS events.
    • tgs_message_content - User definable chat message.
    • tgs_revision_information - Represents git revision information.
      • test_merge - Represents a merge of a GitHub pull request.
    • tgs_version - Represents a version.
    • tgui - Copyright (c) 2020 Aleksej Komarov +SPDX-License-Identifier: MIT
    • tgui_bug_report_form
    • tgui_color_picker - Datum used for instantiating and using a TGUI-controlled color picker.
      • async tgui_color_picker - An asynchronous version of tgui_color_picker to be used with callbacks instead of waiting on user responses.
    • tgui_input_bitfield - Datum used for instantiating and using a TGUI-controlled bitfield editor.
      • async tgui_input_bitfield - An asynchronous version of tgui_input_bitfield to be used with callbacks instead of waiting on user responses.
    • tgui_input_number - Datum used for instantiating and using a TGUI-controlled numbox that prompts the user with +a message and has an input for text entry.
      • async tgui_input_number - An asynchronous version of tgui_input_number to be used with callbacks instead of waiting on user responses.
    • tgui_input_pin - Datum used for instantiating and using a TGUI-controlled pin keyboard that prompts the user with +a message and has an input for pin entry.
      • async tgui_input_pin - An asynchronous version of tgui_input_pin to be used with callbacks instead of waiting on user responses.
    • tgui_input_text - Datum used for instantiating and using a TGUI-controlled textbox that prompts the user with +a message and has an input for text entry.
      • async tgui_input_text - An asynchronous version of tgui_input_text to be used with callbacks instead of waiting on user responses.
    • tgui_message - Datum used for instantiating and using a TGUI-controlled simple message box
    • tgui_modal - Datum used for instantiating and using a TGUI-controlled modal that prompts the user with +a message and has items for responses.
      • tgui_modal/list_input - Datum used for instantiating and using a TGUI-controlled list input that prompts the user with +a message and shows a list of selectable options
        • async tgui_modal/list_input - An asynchronous version of tgui_modal/list_input to be used with callbacks instead of waiting on user responses.
    • tgui_window - Copyright (c) 2020 Aleksej Komarov +SPDX-License-Identifier: MIT
    • trader
    • trait
    • traitHolder
    • ui_state
    • unionfind - Union-find data structure.
    • unit_test
      • deletion_regressions - This is for regression tests of deletions that used to runtime. +This would ideally be replaced by Del The World, unit testing every single deletion.
      • passability_cache
    • unlockable_flock_structure - Subclass this for every new building type you add +Override the check_unlocked() function to do whatever unlock logic you have +If you're looking for a specific event, I recommend /datum/flock.hasAchieved()
    • vis_storage_controller
    • xor_rand_generator - XORSHIFT Pseudorandom number generator
    • zlevel - Datum representing a single z-level
    • zoldorfitem - Zoldorf Player Shop Item
      • credit - Zoldorf items that cost credits
      • soul - Zoldorf items that cost part of user's soul
  • mob
  • obj
  • particles
    • barrel_embers - firey embers, for use with burning_barrel
    • bloody_aura - Used for bloodlings, maybe would be cool for other stuff!
    • petals - Used for Lavender reagent
  • plain_data - Data type for storing just data, without any procs or other fanciness. Meant to be used instead of deeply nested lists for e.g. TGUI ui_data.
  • procpath - Type used to sanely access vars on a proc. +Example:
  • turf
    • station - Tile that processes things such as air, explosions, and fluids.
      • floor
        • airless/solar - SPECIAL AIRLESS-ONLY TURFS
        • elevator shaft - Ice Moon Adventure Zone (surface) +Contents: +Turfs: +Elevator Shaft Fall +Snow +Ice Walls +Ice Lake +Cold Plating +Abyss Fall +Cliff Edges
        • auto edging turf
        • imitation martian dirt
        • martian - Martian Turf stuff
        • racing - ADVENTURE SIMULATED FLOORS
      • shuttle wall - TURFS
      • wall
        • strange wall - Shit that goes in the asteroid belt, might split it into an exploring.dm later i guess
        • auto
          • asteroid
            • martian rock - for the mapgen mountains, temp until we get something better
            • mountain - for the mapgen mountains, temp until we get something better
              • mountain - for the mapgen mountains, temp until we get something better
              • ice wall - for the mapgen mountains, temp until we get something better
              • silicate wall - for the mapgen mountains, temp until we get something better
            • asteroid - pod_wars asteroids
    • space/fluid/deep hole - duh look below
    • command
      • floor
      • wall
        • arctic/deep abyss - WALLS
        • auto
        • setpieces - ///////////////////////UNSIMULATED////////////////////////////////////// +cogwerks - setpiece stuff
  • typeinfo - type-level information type
  • World - If you think this Universe is bad, you should see some of the others. ~ Philip K. Dick
goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/mob.html b/mob.html new file mode 100644 index 0000000000000..c8ca88bf78079 --- /dev/null +++ b/mob.html @@ -0,0 +1,38 @@ +/mob - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/mob

Vars

aiAI controller for this mob - only active if is_npc is TRUE, in which case it's called by the mobAI loop at a frequency depending on mob flags
ai_tick_scheduleused for load balancing mob_ai ticks
ai_typeType path for the ai holder. Set to have the aiHolder instantiated on New()
being_controlledA flag set temporarily when a mob is being forced to say something, used to avoid HORRIBLE SPAGHETTI in say logging. I'm sorry okay.
factionFor assigning mobs various factions, see factions.dm for definitions
last_antag_popupStores the name of the last antag popup shown to the mob
last_radiation_dose_timelast time this mob got dosed with radiation
no_stamina_stunsIf TRUE then this mob won't be fully stunned by stamina stuns
observingset to observed mob if you're currently observing a mob, otherwise null
radiation_dosestores total accumulated radiation dose
radiation_dose_decaynatural decay of radiation exposure
tgui_open_uisglobal
trigger_emotesA list of emotes that trigger a special action for this mob
use_ai_toggleDo we add the special "Toggle AI" ability to this mob?

Procs

UpdateNamemob/proc/get_radiation()
add_stam_mod_maxAdds a stamina max modifier with the given key. This uses unique keys to allow for "categories" of max modifiers - so you can only have one food buff etc. +If you get a buff of a category you already have, nothing will happen.
apply_color_matrixAdds a 20-length color matrix to the mob's list of color matrices +cmatrix is the color matrix (must be a 16-length list!), label is the string to be used for dupe checks and removal
apply_custom_keybindsApplies the client's custom keybind changelist, fetched from the cloud.
attack_effectsAfter attack
build_keybind_stylesAdditiviely applies keybind styles onto the client's keymap.
calculate_bonus_damageReturns flat bonus damage to unarmed attacks - can also modify the attackResults passed in, e.g. to add to after_effects
calculate_bonus_stam_damagereturns additive adjustment to stamina damage for unarmed attacks (applied before stamina damage multiplier)
cancel_typingHide the typing indicator. The source signifies what action the user was typing for.
check_attack_resistanceTarget damage modifiers
closeContextActionsThe move param specifies whether the close call is generated by the mob moving
disarmDisarm intent
do_helpHelp intent
double_clickThis proc is called when a mob double clicks on something with the left mouse button. +Return TRUE if the click was handled, FALSE otherwise. Handled doubleclicks will suppress the Click() call that follows. +(Note that the Click() call for the first click always happens.)
emp_touchyHelper procs
equipment_listLegally distinct from equipped_list, this gets all items from equipment slots and not hands!
fake_damageMISC BULLSHIT
find_radiosearch for any radio device, starting with hands and then equipment +anything else is arbitrarily too deeply hidden and stowed away to get the signal +(more practically, they won't hear it)
find_tool_in_handGiven a tool flag, returns the src mob's tool in hand that matches the flag, or null
get_ability_hotkeyReturn the ability bound to the pressed ability hotkey combination
get_base_damage_multiplier/////////////////////////////////////////////////// Calculate damage ////////////////////////////////////////// +multipler to unarmed attack damage dealt
get_gangReturns the gang datum of this mob, provided they have one. Otherwise returns false.
get_hudReturns the default HUD of the mob, whatever that may be
get_stam_mod_maxReturns the total modifier for stamina max
get_staminaReturns current stamina
get_taken_base_damage_multipliermultipler to unarmed damage received
get_vampire_bloodHelper procs
handle_stamina_critResponsible for executing critical hits to stamina
initializeBioholderdo you want your mob to have custom hairstyles and stuff? don't use spawns but set all of those properties here
melee_attack_testTargeting checks
notes_aliasshortcut for the Notes - View verb
observeMobset_loc(mob) and set src.observing properly - use this to observe a mob, so it can be handled properly on deletion
parry_or_dodgereturn 1 on successful dodge or parry, 0 on fail
playsound_local_not_inworldlike playsound_local but without a source atom, this just plays at a given volume
remove_color_matrixRemoves whichever matrix is associated with the label. Must be a string!
remove_stam_mod_maxRemoves a stamina max modifier with the given key.
reset_keymapBuilds the mob's keybind styles, checks for valid movement controllers, and finally sets the keymap.
revenge_stun_reductionAdds 'get up' stun reduction, from taking beatdown damage.
say_wrapperWrappers
set_a_intentused to set the a_intent var of a mob
shared_ui_interactionpublic
stamina_stunChecks if mob should be stunned for being at or below 0 stamina and then does so.
start_typingShow the typing indicator. The source signifies what action the user is typing for.
step_towards_movedelaylike step_towards(), but respects move delay etc.
stopObservingcalled when the observed mob is deleted, override for custom behaviour.
take_radiation_doseabsorb radiation dose in Sieverts (note 0.4Sv is enough to make someone sick. 2Sv is enough to make someone dead without treatment, 4Sv is enough to make them dead.)
update_active_matrixMultiplies all of the mob's color matrices together and puts the result into src.active_color_matrix +This matrix will be applied to the mob at the end of this proc, and any time the client logs in
werewolf_transformHelper procs

Var Details

ai

AI controller for this mob - only active if is_npc is TRUE, in which case it's called by the mobAI loop at a frequency depending on mob flags

ai_tick_schedule

used for load balancing mob_ai ticks

ai_type

Type path for the ai holder. Set to have the aiHolder instantiated on New()

being_controlled

A flag set temporarily when a mob is being forced to say something, used to avoid HORRIBLE SPAGHETTI in say logging. I'm sorry okay.

faction

For assigning mobs various factions, see factions.dm for definitions

last_antag_popup

Stores the name of the last antag popup shown to the mob

last_radiation_dose_time

last time this mob got dosed with radiation

no_stamina_stuns

If TRUE then this mob won't be fully stunned by stamina stuns

observing

set to observed mob if you're currently observing a mob, otherwise null

radiation_dose

stores total accumulated radiation dose

radiation_dose_decay

natural decay of radiation exposure

tgui_open_uis

global

+

Tracks open UIs for a user.

trigger_emotes

A list of emotes that trigger a special action for this mob

use_ai_toggle

Do we add the special "Toggle AI" ability to this mob?

Proc Details

UpdateName

mob/proc/get_radiation()

add_stam_mod_max

Adds a stamina max modifier with the given key. This uses unique keys to allow for "categories" of max modifiers - so you can only have one food buff etc. +If you get a buff of a category you already have, nothing will happen.

apply_color_matrix

Adds a 20-length color matrix to the mob's list of color matrices +cmatrix is the color matrix (must be a 16-length list!), label is the string to be used for dupe checks and removal

apply_custom_keybinds

Applies the client's custom keybind changelist, fetched from the cloud.

+

Called by build_keybind_styles if not resetting the custom keybinds of a u

attack_effects

After attack

build_keybind_styles

Additiviely applies keybind styles onto the client's keymap.

+

To be extended upon in children types that want to have special keybind handling.

+

Call this proc first, and then do your specific application of keybind styles.

calculate_bonus_damage

Returns flat bonus damage to unarmed attacks - can also modify the attackResults passed in, e.g. to add to after_effects

calculate_bonus_stam_damage

returns additive adjustment to stamina damage for unarmed attacks (applied before stamina damage multiplier)

cancel_typing

Hide the typing indicator. The source signifies what action the user was typing for.

check_attack_resistance

Target damage modifiers

closeContextActions

The move param specifies whether the close call is generated by the mob moving

disarm

Disarm intent

do_help

Help intent

double_click

This proc is called when a mob double clicks on something with the left mouse button. +Return TRUE if the click was handled, FALSE otherwise. Handled doubleclicks will suppress the Click() call that follows. +(Note that the Click() call for the first click always happens.)

emp_touchy

Helper procs

equipment_list

Legally distinct from equipped_list, this gets all items from equipment slots and not hands!

fake_damage

MISC BULLSHIT

find_radio

search for any radio device, starting with hands and then equipment +anything else is arbitrarily too deeply hidden and stowed away to get the signal +(more practically, they won't hear it)

find_tool_in_hand

Given a tool flag, returns the src mob's tool in hand that matches the flag, or null

+
    +
  • +

    tool_flag {int} - See defines/item.dm for valid TOOL_X values

    +
  • +
  • +

    hand {string} - If set, checks only in specific hand, else checks all hands

    +
  • +
  • +

    return {obj/item | 0} - Tool that matched flag (and was in specific hand, if specified)

    +
  • +

get_ability_hotkey

Return the ability bound to the pressed ability hotkey combination

get_base_damage_multiplier

/////////////////////////////////////////////////// Calculate damage ////////////////////////////////////////// +multipler to unarmed attack damage dealt

get_gang

Returns the gang datum of this mob, provided they have one. Otherwise returns false.

get_hud

Returns the default HUD of the mob, whatever that may be

get_stam_mod_max

Returns the total modifier for stamina max

get_stamina

Returns current stamina

get_taken_base_damage_multiplier

multipler to unarmed damage received

get_vampire_blood

Helper procs

handle_stamina_crit

Responsible for executing critical hits to stamina

initializeBioholder

do you want your mob to have custom hairstyles and stuff? don't use spawns but set all of those properties here

melee_attack_test

Targeting checks

notes_alias

shortcut for the Notes - View verb

observeMob

set_loc(mob) and set src.observing properly - use this to observe a mob, so it can be handled properly on deletion

parry_or_dodge

return 1 on successful dodge or parry, 0 on fail

playsound_local_not_inworld

like playsound_local but without a source atom, this just plays at a given volume

remove_color_matrix

Removes whichever matrix is associated with the label. Must be a string!

remove_stam_mod_max

Removes a stamina max modifier with the given key.

reset_keymap

Builds the mob's keybind styles, checks for valid movement controllers, and finally sets the keymap.

+

Called on: Login, Vehicle change, WASD/TG/AZERTY toggle, Keybind menu Reset

revenge_stun_reduction

Adds 'get up' stun reduction, from taking beatdown damage.

say_wrapper

Wrappers

set_a_intent

used to set the a_intent var of a mob

shared_ui_interaction

public

+

Standard interaction/sanity checks. Different mob types may have overrides.

+

return UI_state The state of the UI.

stamina_stun

Checks if mob should be stunned for being at or below 0 stamina and then does so.

+

This is in a proc so we can easily instantly apply the stun from other areas of the game.

+

For example: You'd put this on a weapon after it removes stamina to make sure the stun applies +instantly and not on the next life tick.

start_typing

Show the typing indicator. The source signifies what action the user is typing for.

step_towards_movedelay

like step_towards(), but respects move delay etc.

stopObserving

called when the observed mob is deleted, override for custom behaviour.

take_radiation_dose

absorb radiation dose in Sieverts (note 0.4Sv is enough to make someone sick. 2Sv is enough to make someone dead without treatment, 4Sv is enough to make them dead.)

update_active_matrix

Multiplies all of the mob's color matrices together and puts the result into src.active_color_matrix +This matrix will be applied to the mob at the end of this proc, and any time the client logs in

werewolf_transform

Helper procs

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/mob/dead.html b/mob/dead.html new file mode 100644 index 0000000000000..79c69908bcd83 --- /dev/null +++ b/mob/dead.html @@ -0,0 +1 @@ +/mob/dead - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/mob/dead

Vars

corpseOur corpse, if one exists

Var Details

corpse

Our corpse, if one exists

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/mob/dead/observer.html b/mob/dead/observer.html new file mode 100644 index 0000000000000..e7709b2454988 --- /dev/null +++ b/mob/dead/observer.html @@ -0,0 +1 @@ +/mob/dead/observer - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/mob/dead/observer

Vars

doubleghostWhen a ghost gets busted they become a ghost of a ghost and this var is true
last_wordsLast words of the mob before they died
observe_menuObserver menu TGUI datum. Can be null.

Var Details

doubleghost

When a ghost gets busted they become a ghost of a ghost and this var is true

last_words

Last words of the mob before they died

observe_menu

Observer menu TGUI datum. Can be null.

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/mob/dead/target_observer.html b/mob/dead/target_observer.html new file mode 100644 index 0000000000000..4bc706fc08536 --- /dev/null +++ b/mob/dead/target_observer.html @@ -0,0 +1 @@ +/mob/dead/target_observer - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

spooky ghost

Vars

lockedIs this observer locked to one particular owner?

Procs

open_tgui_if_interactiveChecks if the tgui window being created is from an object with TGUI_INTERACTIVE, and opens the window for the observer if true
set_observe_targetLet's have a proc so as to make it easier to reassign an observer.

Var Details

locked

Is this observer locked to one particular owner?

Proc Details

open_tgui_if_interactive

Checks if the tgui window being created is from an object with TGUI_INTERACTIVE, and opens the window for the observer if true

set_observe_target

Let's have a proc so as to make it easier to reassign an observer.

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/mob/dead/target_observer/hivemind_observer.html b/mob/dead/target_observer/hivemind_observer.html new file mode 100644 index 0000000000000..009f6674d1fba --- /dev/null +++ b/mob/dead/target_observer/hivemind_observer.html @@ -0,0 +1 @@ +/mob/dead/target_observer/hivemind_observer - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/mob/dead/target_observer/hivemind_observer

Vars

point_imgHivemind pointing uses an image rather than a decal

Procs

make_hive_pointLike make_point, but the point is an image that is only displayed to hivemind members

Var Details

point_img

Hivemind pointing uses an image rather than a decal

Proc Details

make_hive_point

Like make_point, but the point is an image that is only displayed to hivemind members

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/mob/living.html b/mob/living.html new file mode 100644 index 0000000000000..e87225d625e34 --- /dev/null +++ b/mob/living.html @@ -0,0 +1,16 @@ +/mob/living - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/mob/living

Vars

ailment_immunecompletely immune to catching and spreading disease/medical-like ailments
applied_patchesall applied patches (ex. medical patches)
do_hurt_slowdowndo we slow down when hurt?
spell_soulguardTracks status of soalguard respawn on mob. SOULGUARD_INACTIVE, SOULGUARD_SPELL when from wizard ability, SOULGUARD_RING when from wizard ring.
void_mindswappableare we compatible with the void mindswapper?

Procs

add_food_bonusSpecial wrapper to add food status effects, due to special overriding and duration behavior.
auto_pickup_itemmakes mob auto pick up the highest weight item on a turf. if multiple have that weight, last one in the order of contents var is picked
can_be_converted_to_the_revolutionChecks whether a mob can be converted to the revolution by use of a flash, revolutionary flash, revolutionary flashbang, or violence.
capitalize_speechreturns true if first letter of things that person says should be capitalized
contract_diseaseContract the specified disease. +@param ailment_path Path of the ailment to add. If both ailment_path and ailment_name are passed, this is used. +@param ailment_name Name of the ailment to add. This is not cosmetic; the ailment type is retrieved via this name. +@param strain Instance of the ailment to add. Used to transfer an existing ailment to a person (such as in the case of a diseased organ transplant) +@param bypass_resistance If disease resistance should be bypassed while adding a disease.
create_submerged_imagesmob/living/carbon/human/update_clothing()
get_blood_absorption_rateReturns the rate of blood to absorb from the reagent holder per Life()
get_blood_bioholderhelper proc to return a new bioholder to be used for blood reagent data
get_chem_depletion_multiplierReturns a multiplier for how much chems to deplete from their reagent holder per Life() +This will be multiplied by that chems corresponding depletion rate
get_symbol_colorCurrently used for the color of pointing at things. Might be useful for other things that should have a color based off a mob.
get_targetsLooks for the kind_of_target movables within range, and throws the user an input +Valid kinds: "mob", "obj", "both"
restore_life_processesInit function for adding life processes. Called on New() and when being revived. The counterpart to reduce_lifeprocess_on_death
shared_living_ui_distancepublic
stun_glove_attackHarm intent

Var Details

ailment_immune

completely immune to catching and spreading disease/medical-like ailments

applied_patches

all applied patches (ex. medical patches)

do_hurt_slowdown

do we slow down when hurt?

spell_soulguard

Tracks status of soalguard respawn on mob. SOULGUARD_INACTIVE, SOULGUARD_SPELL when from wizard ability, SOULGUARD_RING when from wizard ring.

void_mindswappable

are we compatible with the void mindswapper?

Proc Details

add_food_bonus

Special wrapper to add food status effects, due to special overriding and duration behavior.

auto_pickup_item

makes mob auto pick up the highest weight item on a turf. if multiple have that weight, last one in the order of contents var is picked

can_be_converted_to_the_revolution

Checks whether a mob can be converted to the revolution by use of a flash, revolutionary flash, revolutionary flashbang, or violence.

capitalize_speech

returns true if first letter of things that person says should be capitalized

contract_disease

Contract the specified disease. +@param ailment_path Path of the ailment to add. If both ailment_path and ailment_name are passed, this is used. +@param ailment_name Name of the ailment to add. This is not cosmetic; the ailment type is retrieved via this name. +@param strain Instance of the ailment to add. Used to transfer an existing ailment to a person (such as in the case of a diseased organ transplant) +@param bypass_resistance If disease resistance should be bypassed while adding a disease.

create_submerged_images

mob/living/carbon/human/update_clothing()

get_blood_absorption_rate

Returns the rate of blood to absorb from the reagent holder per Life()

get_blood_bioholder

helper proc to return a new bioholder to be used for blood reagent data

get_chem_depletion_multiplier

Returns a multiplier for how much chems to deplete from their reagent holder per Life() +This will be multiplied by that chems corresponding depletion rate

get_symbol_color

Currently used for the color of pointing at things. Might be useful for other things that should have a color based off a mob.

get_targets

Looks for the kind_of_target movables within range, and throws the user an input +Valid kinds: "mob", "obj", "both"

restore_life_processes

Init function for adding life processes. Called on New() and when being revived. The counterpart to reduce_lifeprocess_on_death

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.

stun_glove_attack

Harm intent

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/mob/living/carbon/human.html b/mob/living/carbon/human.html new file mode 100644 index 0000000000000..d184378d4d0fa --- /dev/null +++ b/mob/living/carbon/human.html @@ -0,0 +1,22 @@ +/mob/living/carbon/human - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

human

Vars

chest_cavity_clampedHas our chest cavity been clamped by hemostats?
coreMRused by werewolf TF to store and restore what you were before TFing into a werewolf
hair_overrideforces the mob to display human hair, even if their flags tell them not to
juggle_dummyA dummy object that juggled objects go in the vis_contents of, so they can be scaled visually without affecting their actual scale
special_hair_overrideforces the mob to display their special hair, even if their flags tell them not to
underpants_overrideforces the mob to wear underpants, even if their flags tell them not to

Procs

ExitedClear chest item if it escapes/gets disposed
NewConcept: cloning you gives you wacky defects, which can be genetic, sci-fi, or just dumb space magic. If you're scanned while you have some cloner defects, +Those are also included in the scan, meaning after another cloning you'll be even more screwed up. However, curing defects before scanning (the curable ones, at least) +will mean they don't carry over. +Current concept is that defects will first be split into major/minor, and then weighted in those pools seperately.
ai_set_stateSets this mob's ai_state to state +returns TRUE if the state was set, FALSE otherwise
autoequip_slotswap I into the given slot, puts item in that slot (if it exists) into hand or on ground
clown_tallyReturns the number of clown items someone is wearing
equip_sensory_itemsEquip items from sensory traits
stow_in_availableTries to put an item in an available backpack, pocket, or hand slot; will delete the item if unable to place.
stun_glove_attackmob/living/critter/stun_glove_attack(var/mob/living/target)
update_blood_allUpdates all the blood overlays on the human +Currently the things that can have overlays are +Hands, Head, Mask, Uniform, Suit, Shoes, Feet, Hands and Gloves +Made to be cheaper than calling update_x() when adding blood.
update_colorful_partsGoes through all the things that can be recolored and updates their colors

Var Details

chest_cavity_clamped

Has our chest cavity been clamped by hemostats?

coreMR

used by werewolf TF to store and restore what you were before TFing into a werewolf

hair_override

forces the mob to display human hair, even if their flags tell them not to

juggle_dummy

A dummy object that juggled objects go in the vis_contents of, so they can be scaled visually without affecting their actual scale

special_hair_override

forces the mob to display their special hair, even if their flags tell them not to

underpants_override

forces the mob to wear underpants, even if their flags tell them not to

Proc Details

Exited

Clear chest item if it escapes/gets disposed

New

Concept: cloning you gives you wacky defects, which can be genetic, sci-fi, or just dumb space magic. If you're scanned while you have some cloner defects, +Those are also included in the scan, meaning after another cloning you'll be even more screwed up. However, curing defects before scanning (the curable ones, at least) +will mean they don't carry over. +Current concept is that defects will first be split into major/minor, and then weighted in those pools seperately.

+

Properties set in init() will only be ran/applied when the defect is initially added, not when the defect is applied after a later cloning. +Properties set in on_add() will be ran/applied on every further cloning, if not removed.

+

Applied when leaving the pod (via signal jank) rather than when starting the clone (to prevent us instantly botching the clone)

+
    +
  • This replaces the max health debuff, so the 'Quit Cloning Around' medal will need a new method. Maybe hitting a certain threshold of instability/defect score?
  • +

ai_set_state

Sets this mob's ai_state to state +returns TRUE if the state was set, FALSE otherwise

autoequip_slot

swap I into the given slot, puts item in that slot (if it exists) into hand or on ground

clown_tally

Returns the number of clown items someone is wearing

equip_sensory_items

Equip items from sensory traits

stow_in_available

Tries to put an item in an available backpack, pocket, or hand slot; will delete the item if unable to place.

stun_glove_attack

mob/living/critter/stun_glove_attack(var/mob/living/target)

update_blood_all

Updates all the blood overlays on the human +Currently the things that can have overlays are +Hands, Head, Mask, Uniform, Suit, Shoes, Feet, Hands and Gloves +Made to be cheaper than calling update_x() when adding blood.

+

Consider changing the overlays to use a mask like items since this only looks right for human proportions

update_colorful_parts

Goes through all the things that can be recolored and updates their colors

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/mob/living/carbon/human/normal/assistant/the_template.html b/mob/living/carbon/human/normal/assistant/the_template.html new file mode 100644 index 0000000000000..41daef526aa4c --- /dev/null +++ b/mob/living/carbon/human/normal/assistant/the_template.html @@ -0,0 +1 @@ +/mob/living/carbon/human/normal/assistant/the_template - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

/mob/living/carbon/human/normal/assistant/the_template

A template human, varedit or proc call this to generate rules

Procs

ClickShow admins a list of rules to delete
proc_calledCalled when a proc is manually called on this mob or its equipment (also called by trait and bioeffect admin editors for ease of use)
var_changedCalled when a var is manually edited on this mob or its equipment

Proc Details

Click

Show admins a list of rules to delete

proc_called

Called when a proc is manually called on this mob or its equipment (also called by trait and bioeffect admin editors for ease of use)

var_changed

Called when a var is manually edited on this mob or its equipment

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/mob/living/carbon/human/npc/monkey.html b/mob/living/carbon/human/npc/monkey.html new file mode 100644 index 0000000000000..45b085e967206 --- /dev/null +++ b/mob/living/carbon/human/npc/monkey.html @@ -0,0 +1 @@ +/mob/living/carbon/human/npc/monkey - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

monkey

Vars

ai_delay_moveDelays the AI from moving a single time if set

Var Details

ai_delay_move

Delays the AI from moving a single time if set

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/mob/living/carbon/human/npc/monkey/extremely_fast.html b/mob/living/carbon/human/npc/monkey/extremely_fast.html new file mode 100644 index 0000000000000..48cecf00aed82 --- /dev/null +++ b/mob/living/carbon/human/npc/monkey/extremely_fast.html @@ -0,0 +1 @@ +/mob/living/carbon/human/npc/monkey/extremely_fast - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/mob/living/carbon/human/npc/monkey/extremely_fast

Vars

fastness_factorExpected value of number of ai_process() calls per tick

Var Details

fastness_factor

Expected value of number of ai_process() calls per tick

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/mob/living/carbon/human/slasher.html b/mob/living/carbon/human/slasher.html new file mode 100644 index 0000000000000..6dd894e63deff --- /dev/null +++ b/mob/living/carbon/human/slasher.html @@ -0,0 +1 @@ +/mob/living/carbon/human/slasher - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

/mob/living/carbon/human/slasher

Procs

addAllAbilitiesGives the Slasher their abilities
blood_trailTrail some dried blood I guess?
corporealizeundo incorporealize()
incorporealizeGo invisible, get noclip, be unable to interact with the world
regenerateheals a bunch of bad things the Slasher can get hit with, but not all
remove_equipmentremoves equipment from slasher/possessed/whoever
send_machete_to_targetActually sending the machete to the Slasher if one exists already
soulStealSteal a dead body's soul, provided they have a full one, and get more machete damage
soulStealSetupActionbar handler for stealing a dead body's soul.
staggerNearbyCrowd control ability to stop people from running as easily, applies stagger
summon_macheteHandles creating a machete/the circumstances where we DON'T summon it

Proc Details

addAllAbilities

Gives the Slasher their abilities

blood_trail

Trail some dried blood I guess?

corporealize

undo incorporealize()

incorporealize

Go invisible, get noclip, be unable to interact with the world

regenerate

heals a bunch of bad things the Slasher can get hit with, but not all

remove_equipment

removes equipment from slasher/possessed/whoever

send_machete_to_target

Actually sending the machete to the Slasher if one exists already

soulSteal

Steal a dead body's soul, provided they have a full one, and get more machete damage

soulStealSetup

Actionbar handler for stealing a dead body's soul.

staggerNearby

Crowd control ability to stop people from running as easily, applies stagger

summon_machete

Handles creating a machete/the circumstances where we DON'T summon it

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/mob/living/critter.html b/mob/living/critter.html new file mode 100644 index 0000000000000..e954195856cd8 --- /dev/null +++ b/mob/living/critter.html @@ -0,0 +1,3 @@ +/mob/living/critter - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

critter

Vars

_ai_patience_countINTERNAL used for mob ai retaliation patience counting
ai_attack_countCounts the number of attacks this critter has performed without using an ability
ai_attacks_neutralWhether or not we attack mobs with the neutral faction flag
ai_attacks_per_abilityThe number of basic attacks this critter will perform in between using abilities
ai_retaliate_patienceIf the mob has an ai, and ai_retaliates is TRUE, how many attacks should we endure before attacking back?
ai_retaliate_persistenceIf the mob has an ai, and is currently retaliating against being attacked, how long should we do that for? (deciseconds) +Special values: RETALIATE_ONCE = Attack once, RETALIATE_UNTIL_INCAP = Attack until the target is incapacitated, RETALIATE_UNTIL_DEAD = Attck until the target is dead
ai_retaliatesIf the mob has an ai, turn this to TRUE if you want it to fight back upon being attacked
butchererThe mob who is butchering this critter
last_hibernation_wake_ticktime when mob last awoke from hibernation
registered_areaarea where the mob ai is registered when hibernating

Procs

butcherCreates meat and a brain named after the mob containing reagents. Both can be skipped to allow custom butchering at the mob level
can_critter_attackUsed for generic critter mobAI - returns TRUE when the mob is able to attack. For handling cooldowns, or other attack blocking conditions.
can_critter_eatUsed for generic critter mobAI - returns TRUE when the mob is able to eat. For handling cooldowns, or other eat blocking conditions.
can_critter_scavengeUsed for generic critter mobAI - returns TRUE when the mob is able to scavenge. For handling cooldowns, or other scavenge blocking conditions.
critter_ability_attackHow the critter should use abilities, return TRUE to indicate ability usage success
critter_attackUsed for generic critter mobAI - override if your critter needs special attack behaviour. If you need super special attack behaviour, you'll want to create your own attack aiTask
critter_basic_attackHow the critter should attack normally
critter_eatUsed for generic critter mobAI - override if your critter needs additional behaviour for eating
critter_range_attackHow the critter should attack from range (Only applicable for ranged limbs)
critter_retaliateUsed for generic critter mobAI - override if you need special retailation behaviour
critter_scavengeUsed for generic critter mobAI - override if your critter needs special scavenge behaviour. If you need super special attack behaviour, you'll want to create your own attack aiTask
modify_healthadmin varediting proc
seek_food_targetUsed for generic critter mobAI - targets returned from this proc will be chased and eaten. Return a list of potential targets, one will be picked based on distance.
seek_scavenge_targetUsed for generic critter mobAI - targets returned from this proc will be chased and scavenged. Return a list of potential targets, one will be picked based on distance.
seek_targetUsed for generic critter mobAI - targets returned from this proc will be chased and attacked. Return a list of potential targets, one will be picked based on distance.
should_critter_retaliateUsed for generic critter mobAI - returns TRUE when the mob should retaliate to this attack. Only used if ai_retaliates = TRUE
updateStatusUiupdates status effects on the owner's hud
wake_from_hibernationenables mob ai that was disabled by a hibernation task

Var Details

_ai_patience_count

INTERNAL used for mob ai retaliation patience counting

ai_attack_count

Counts the number of attacks this critter has performed without using an ability

ai_attacks_neutral

Whether or not we attack mobs with the neutral faction flag

ai_attacks_per_ability

The number of basic attacks this critter will perform in between using abilities

ai_retaliate_patience

If the mob has an ai, and ai_retaliates is TRUE, how many attacks should we endure before attacking back?

ai_retaliate_persistence

If the mob has an ai, and is currently retaliating against being attacked, how long should we do that for? (deciseconds) +Special values: RETALIATE_ONCE = Attack once, RETALIATE_UNTIL_INCAP = Attack until the target is incapacitated, RETALIATE_UNTIL_DEAD = Attck until the target is dead

ai_retaliates

If the mob has an ai, turn this to TRUE if you want it to fight back upon being attacked

butcherer

The mob who is butchering this critter

last_hibernation_wake_tick

time when mob last awoke from hibernation

registered_area

area where the mob ai is registered when hibernating

Proc Details

butcher

Creates meat and a brain named after the mob containing reagents. Both can be skipped to allow custom butchering at the mob level

can_critter_attack

Used for generic critter mobAI - returns TRUE when the mob is able to attack. For handling cooldowns, or other attack blocking conditions.

can_critter_eat

Used for generic critter mobAI - returns TRUE when the mob is able to eat. For handling cooldowns, or other eat blocking conditions.

can_critter_scavenge

Used for generic critter mobAI - returns TRUE when the mob is able to scavenge. For handling cooldowns, or other scavenge blocking conditions.

critter_ability_attack

How the critter should use abilities, return TRUE to indicate ability usage success

critter_attack

Used for generic critter mobAI - override if your critter needs special attack behaviour. If you need super special attack behaviour, you'll want to create your own attack aiTask

critter_basic_attack

How the critter should attack normally

critter_eat

Used for generic critter mobAI - override if your critter needs additional behaviour for eating

critter_range_attack

How the critter should attack from range (Only applicable for ranged limbs)

critter_retaliate

Used for generic critter mobAI - override if you need special retailation behaviour

critter_scavenge

Used for generic critter mobAI - override if your critter needs special scavenge behaviour. If you need super special attack behaviour, you'll want to create your own attack aiTask

modify_health

admin varediting proc

seek_food_target

Used for generic critter mobAI - targets returned from this proc will be chased and eaten. Return a list of potential targets, one will be picked based on distance.

seek_scavenge_target

Used for generic critter mobAI - targets returned from this proc will be chased and scavenged. Return a list of potential targets, one will be picked based on distance.

seek_target

Used for generic critter mobAI - targets returned from this proc will be chased and attacked. Return a list of potential targets, one will be picked based on distance.

should_critter_retaliate

Used for generic critter mobAI - returns TRUE when the mob should retaliate to this attack. Only used if ai_retaliates = TRUE

updateStatusUi

updates status effects on the owner's hud

wake_from_hibernation

enables mob ai that was disabled by a hibernation task

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/mob/living/critter/changeling.html b/mob/living/critter/changeling.html new file mode 100644 index 0000000000000..3bfb24f1c9daf --- /dev/null +++ b/mob/living/critter/changeling.html @@ -0,0 +1 @@ +/mob/living/critter/changeling - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

fire me into the sun

Vars

original_bodypartPart this limb critter is based off of- i.e. a cow making a legworm would be a cow leg. Could also be an eye or butt, hence loose type

Var Details

original_bodypart

Part this limb critter is based off of- i.e. a cow making a legworm would be a cow leg. Could also be an eye or butt, hence loose type

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/mob/living/critter/flock/drone.html b/mob/living/critter/flock/drone.html new file mode 100644 index 0000000000000..f8dd7c7097a1f --- /dev/null +++ b/mob/living/critter/flock/drone.html @@ -0,0 +1 @@ +/mob/living/critter/flock/drone - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

weird glowy thing

Procs

set_tutorial_aiSets the AI to tutorial mode, disabling all tasks except manual orders

Proc Details

set_tutorial_ai

Sets the AI to tutorial mode, disabling all tasks except manual orders

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/mob/living/critter/human.html b/mob/living/critter/human.html new file mode 100644 index 0000000000000..215c221f3299e --- /dev/null +++ b/mob/living/critter/human.html @@ -0,0 +1 @@ +/mob/living/critter/human - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Human critter parent

Vars

corpse_spawnerWhat do we spawn when we die should be a type of /obj/mapping_helper/mob_spawn/corpse/human. leave null for gibs.
human_to_copyPath of a human to copy appearance from should be a type of /mob/living/carbon/human.

Var Details

corpse_spawner

What do we spawn when we die should be a type of /obj/mapping_helper/mob_spawn/corpse/human. leave null for gibs.

human_to_copy

Path of a human to copy appearance from should be a type of /mob/living/carbon/human.

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/mob/living/critter/mimic.html b/mob/living/critter/mimic.html new file mode 100644 index 0000000000000..b42d66e47d9d7 --- /dev/null +++ b/mob/living/critter/mimic.html @@ -0,0 +1 @@ +/mob/living/critter/mimic - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

mimic

Vars

last_disturbedThe last time our disguise was interrupted
rehide_timeTime taken to hide if we sit still (Life interval dependent)

Var Details

last_disturbed

The last time our disguise was interrupted

rehide_time

Time taken to hide if we sit still (Life interval dependent)

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/mob/living/critter/plant.html b/mob/living/critter/plant.html new file mode 100644 index 0000000000000..deb641b865576 --- /dev/null +++ b/mob/living/critter/plant.html @@ -0,0 +1 @@ +/mob/living/critter/plant - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/mob/living/critter/plant

Vars

generationFor genetics tracking.
growersThis contains people who contributed to the plant. For AI purposes
plantgenessaves the plantgenes of the critter. Important for seed creation as well as scaling with plant attributes
planttypesaves the plattype the critter came from. Whenever someone wants a critter to replant itself :)

Var Details

generation

For genetics tracking.

growers

This contains people who contributed to the plant. For AI purposes

plantgenes

saves the plantgenes of the critter. Important for seed creation as well as scaling with plant attributes

planttype

saves the plattype the critter came from. Whenever someone wants a critter to replant itself :)

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/mob/living/critter/plant/maneater.html b/mob/living/critter/plant/maneater.html new file mode 100644 index 0000000000000..6aa2b59ccb948 --- /dev/null +++ b/mob/living/critter/plant/maneater.html @@ -0,0 +1 @@ +/mob/living/critter/plant/maneater - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

man-eating plant

Vars

baseline_healthhow much health the maneater should get normally and at 0 endurance
preferred_spicesa list of chems the maneater enjoys in its food (humans)
scaleable_limbused for scaling the values on one of the critters limbs

Var Details

baseline_health

how much health the maneater should get normally and at 0 endurance

preferred_spices

a list of chems the maneater enjoys in its food (humans)

scaleable_limb

used for scaling the values on one of the critters limbs

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/mob/living/critter/robotic.html b/mob/living/critter/robotic.html new file mode 100644 index 0000000000000..b7fbf552817d1 --- /dev/null +++ b/mob/living/critter/robotic.html @@ -0,0 +1 @@ +/mob/living/critter/robotic - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

a fucked up robot

Parent for robotic critters. Handles some traits that robots should have- damaged by EMPs, immune to fire and rads

Procs

emp_actEMP does 10 brute and 10 burn by default, can be adjusted linearly with emp_vuln

Proc Details

emp_act

EMP does 10 brute and 10 burn by default, can be adjusted linearly with emp_vuln

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/mob/living/critter/robotic/bot.html b/mob/living/critter/robotic/bot.html new file mode 100644 index 0000000000000..abde12e7b7402 --- /dev/null +++ b/mob/living/critter/robotic/bot.html @@ -0,0 +1 @@ +/mob/living/critter/robotic/bot - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

base bot mob (you should never see me)

Vars

icon_state_basedefined in new, this is the base of the icon_state with the suffix removed, i.e. "cleanbot" without the "1"

Var Details

icon_state_base

defined in new, this is the base of the icon_state with the suffix removed, i.e. "cleanbot" without the "1"

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/mob/living/critter/small_animal.html b/mob/living/critter/small_animal.html new file mode 100644 index 0000000000000..3171516172a97 --- /dev/null +++ b/mob/living/critter/small_animal.html @@ -0,0 +1 @@ +/mob/living/critter/small_animal - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

critter

Vars

genericDo we randomize stuff?
player_can_spawn_with_petFor the Pet Person trait that makes you spawn with a pet (do not confuse with is_pet!!!)

Var Details

generic

Do we randomize stuff?

player_can_spawn_with_pet

For the Pet Person trait that makes you spawn with a pet (do not confuse with is_pet!!!)

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/mob/living/critter/small_animal/dog.html b/mob/living/critter/small_animal/dog.html new file mode 100644 index 0000000000000..5e111b5549951 --- /dev/null +++ b/mob/living/critter/small_animal/dog.html @@ -0,0 +1 @@ +/mob/living/critter/small_animal/dog - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

space dog

Vars

fetch_itemThe item we run after if we are playing fetch
fetch_playmateWho threw the item we are fetching?

Var Details

fetch_item

The item we run after if we are playing fetch

fetch_playmate

Who threw the item we are fetching?

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/mob/living/critter/wraith/plaguerat.html b/mob/living/critter/wraith/plaguerat.html new file mode 100644 index 0000000000000..4cf967c6670cf --- /dev/null +++ b/mob/living/critter/wraith/plaguerat.html @@ -0,0 +1 @@ +/mob/living/critter/wraith/plaguerat - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

plague rat

Vars

bite_transfer_amtvenom injected per bite

Var Details

bite_transfer_amt

venom injected per bite

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/mob/living/critter/wraith/spiker.html b/mob/living/critter/wraith/spiker.html new file mode 100644 index 0000000000000..1045418a8194e --- /dev/null +++ b/mob/living/critter/wraith/spiker.html @@ -0,0 +1 @@ +/mob/living/critter/wraith/spiker - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

tentacle fiend

Vars

shufflingAre we currently escaping?

Var Details

shuffling

Are we currently escaping?

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/mob/living/intangible/flock/flockmind.html b/mob/living/intangible/flock/flockmind.html new file mode 100644 index 0000000000000..8ab117b8b06cd --- /dev/null +++ b/mob/living/intangible/flock/flockmind.html @@ -0,0 +1 @@ +/mob/living/intangible/flock/flockmind - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Flockmind

Vars

max_respawnsPity respawn max

Var Details

max_respawns

Pity respawn max

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/mob/living/intangible/wraith.html b/mob/living/intangible/wraith.html new file mode 100644 index 0000000000000..aa998bdb23caf --- /dev/null +++ b/mob/living/intangible/wraith.html @@ -0,0 +1 @@ +/mob/living/intangible/wraith - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

wraith

Vars

forced_haunt_durationstandard duration of an involuntary haunt action
forced_manifestflag set if we were manifested involuntarily, e.g. salt. Blocks wraith powers is true
formaldehyde_tolerancehow much formaldehyde a corpse can have while still being absorbable
hearghostscan the wraith hear ghosts? Toggleable with an ability
last_spirit_candle_timelast time that were forced to manifest by a spirit candle
linked_portalreference to our harbinger portal, if any
spawn_markerwhat is our minion summoning marker, if we have any?
weak_tkspecifiy strong or weak tk powers. Weak for poltergeists.

Var Details

forced_haunt_duration

standard duration of an involuntary haunt action

forced_manifest

flag set if we were manifested involuntarily, e.g. salt. Blocks wraith powers is true

formaldehyde_tolerance

how much formaldehyde a corpse can have while still being absorbable

hearghosts

can the wraith hear ghosts? Toggleable with an ability

last_spirit_candle_time

last time that were forced to manifest by a spirit candle

linked_portal

reference to our harbinger portal, if any

spawn_marker

what is our minion summoning marker, if we have any?

weak_tk

specifiy strong or weak tk powers. Weak for poltergeists.

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/mob/living/intangible/wraith/wraith_trickster.html b/mob/living/intangible/wraith/wraith_trickster.html new file mode 100644 index 0000000000000..1e55e37058b49 --- /dev/null +++ b/mob/living/intangible/wraith/wraith_trickster.html @@ -0,0 +1 @@ +/mob/living/intangible/wraith/wraith_trickster - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

trickster

Vars

copied_appearanceSteal someone's appearance and use it during haunt
copied_descSteal their descriptions and name too
points_to_possessHow many points do we need to possess someone?

Var Details

copied_appearance

Steal someone's appearance and use it during haunt

copied_desc

Steal their descriptions and name too

points_to_possess

How many points do we need to possess someone?

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/mob/living/object.html b/mob/living/object.html new file mode 100644 index 0000000000000..ec5986c82693c --- /dev/null +++ b/mob/living/object.html @@ -0,0 +1 @@ +/mob/living/object - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

living object

Procs

item_position_checkEnsure the item is still inside us. If it isn't, die and return false. Otherwise, return true.
update_densityUpdate the density of ourselves

Proc Details

item_position_check

Ensure the item is still inside us. If it isn't, die and return false. Otherwise, return true.

update_density

Update the density of ourselves

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/mob/living/silicon.html b/mob/living/silicon.html new file mode 100644 index 0000000000000..60082b77fbf8f --- /dev/null +++ b/mob/living/silicon.html @@ -0,0 +1 @@ +/mob/living/silicon - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/mob/living/silicon

Vars

fake_lawsa list of strings used as fake laws that may be stated via the State Fake Laws command, to deceive people as a rogue silicon

Procs

make_syndicateconverts a cyborg/AI to a syndicate version, taking the causing agent as an argument
use_powermob/living/silicon/proc/update_canmove()

Var Details

fake_laws

a list of strings used as fake laws that may be stated via the State Fake Laws command, to deceive people as a rogue silicon

Proc Details

make_syndicate

converts a cyborg/AI to a syndicate version, taking the causing agent as an argument

use_power

mob/living/silicon/proc/update_canmove()

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/mob/living/silicon/ai.html b/mob/living/silicon/ai.html new file mode 100644 index 0000000000000..644b069674758 --- /dev/null +++ b/mob/living/silicon/ai.html @@ -0,0 +1,5 @@ +/mob/living/silicon/ai - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

AI

Vars

alarmsList of currently active alarms
coreSkinThe icon_state for the outside non-screen bit of the core. icon_state is set to this in update_appearance() (which is called by New)
skinsListList of valid skins and their descriptions. Used for validation of setSkin()
termMutecontrols whether or not the ai will hear termos message notifications
viewport_limitMaximum number of viewports we can have open, unlimited vision was a bit silly

Procs

attackbymob/living/silicon/ai/playsound_local(var/atom/source, soundin, vol as num, vary, extrarange as num, pitch = 1, ignore_flag = 0, channel = VOLUME_CHANNEL_GAME)
capitalize_speechspecial behavior for AIs to make sure it still works in eyecam form
choose_nameLets the AI choose its own name. If renaming_mob is non-null, then that mob is allowed to rename the AI instead.
clearFaceOverlaysClears all overlays which constitute the displayed face/screen
process_moveMovement
setSkinCall with a valid skin icon state as string to set the skin to said icon state
soundToPlayerFor use when you want to play a sound to the AI player regardless of if it's in mainframe, eye, or shell +Calls playsound_local(), use its syntax
textToPlayerFor use when you want to send text to the AI player regardless of it's in its mainframe, eye, or shell +Calls show_text(), use its syntax
toggle_CPU_boltsfor dismantle action bar
update_terminalHandles connecting and disconnecting the AI from data terminals. Calling with disconnect or tryConnect is not required, but useful if you only want one to happen

Var Details

alarms

List of currently active alarms

coreSkin

The icon_state for the outside non-screen bit of the core. icon_state is set to this in update_appearance() (which is called by New)

skinsList

List of valid skins and their descriptions. Used for validation of setSkin()

termMute

controls whether or not the ai will hear termos message notifications

viewport_limit

Maximum number of viewports we can have open, unlimited vision was a bit silly

Proc Details

attackby

mob/living/silicon/ai/playsound_local(var/atom/source, soundin, vol as num, vary, extrarange as num, pitch = 1, ignore_flag = 0, channel = VOLUME_CHANNEL_GAME)

capitalize_speech

special behavior for AIs to make sure it still works in eyecam form

choose_name

Lets the AI choose its own name. If renaming_mob is non-null, then that mob is allowed to rename the AI instead.

clearFaceOverlays

Clears all overlays which constitute the displayed face/screen

process_move

Movement

setSkin

Call with a valid skin icon state as string to set the skin to said icon state

soundToPlayer

For use when you want to play a sound to the AI player regardless of if it's in mainframe, eye, or shell +Calls playsound_local(), use its syntax

textToPlayer

For use when you want to send text to the AI player regardless of it's in its mainframe, eye, or shell +Calls show_text(), use its syntax

toggle_CPU_bolts

for dismantle action bar

update_terminal

Handles connecting and disconnecting the AI from data terminals. Calling with disconnect or tryConnect is not required, but useful if you only want one to happen

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/mob/living/silicon/robot.html b/mob/living/silicon/robot.html new file mode 100644 index 0000000000000..bced386645a2c --- /dev/null +++ b/mob/living/silicon/robot.html @@ -0,0 +1 @@ +/mob/living/silicon/robot - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

Cyborg

Procs

swap_headsTake new_head from user, put whatever's in the current head and slap it in, equip new_head and give the empty old one to user.
swap_individual_toolModify one tool in existing module, ex redeeming rewards or modifying sponge. Precondition of item being in hand

Proc Details

swap_heads

Take new_head from user, put whatever's in the current head and slap it in, equip new_head and give the empty old one to user.

swap_individual_tool

Modify one tool in existing module, ex redeeming rewards or modifying sponge. Precondition of item being in hand

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/mob/new_player.html b/mob/new_player.html new file mode 100644 index 0000000000000..18f4a2bc9cbb1 --- /dev/null +++ b/mob/new_player.html @@ -0,0 +1 @@ +/mob/new_player - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/mob/new_player

Vars

blocked_from_joiningindicates if a player is currently barred from joining the game
my_own_roundstart_tipby default everyone sees the get_global_tip() tip, but if they press the button to refresh they get their own

Procs

LateJoinLinkcreate a set of latejoin cards for a job

Var Details

blocked_from_joining

indicates if a player is currently barred from joining the game

my_own_roundstart_tip

by default everyone sees the get_global_tip() tip, but if they press the button to refresh they get their own

Proc Details

create a set of latejoin cards for a job

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj.html b/obj.html new file mode 100644 index 0000000000000..3fc1c89417e27 --- /dev/null +++ b/obj.html @@ -0,0 +1,10 @@ +/obj - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/obj

Vars

forensic_IDif gun/bullet related, forensic profile of it

Procs

CreateIDcreates an id profile for any forenics purpose. override as needed
allowedDetermines if a mob is allowed to use an object (or pass through
can_access_remotely_defaultDetermines whether or not the user can remote access devices. +This is typically limited to Borgs and AI things that have +inherent packet abilities.
check_implanted_access@param {mob} M Mob of which to check the implanted credentials
get_chemical_effect_positionhow many pixels up or down chemistry reaction animations should shift, to fit the item it's reacting in
hideWhether or not to hide something based on the value of hide, usually whether or not the turf is intact.
remove_artifact_formsRemoves all artifact forms attached to this and makes them fall to the floor +Because artifacts often like to disappear in mysterious ways
shatter_chemicallyshatter effect, caused by chemicals inside object, should return TRUE if object actually shatters

Var Details

forensic_ID

if gun/bullet related, forensic profile of it

Proc Details

CreateID

creates an id profile for any forenics purpose. override as needed

allowed

Determines if a mob is allowed to use an object (or pass through

+

@param {mob} M Mob of which to check the credentials

+

@return {int} Whether mob has sufficient access (0=no, 1=implicit, 2=explicit)

can_access_remotely_default

Determines whether or not the user can remote access devices. +This is typically limited to Borgs and AI things that have +inherent packet abilities.

check_implanted_access

@param {mob} M Mob of which to check the implanted credentials

+

@return {bool} Whether mob has sufficient access via its implant

get_chemical_effect_position

how many pixels up or down chemistry reaction animations should shift, to fit the item it's reacting in

hide

Whether or not to hide something based on the value of hide, usually whether or not the turf is intact.

remove_artifact_forms

Removes all artifact forms attached to this and makes them fall to the floor +Because artifacts often like to disappear in mysterious ways

shatter_chemically

shatter effect, caused by chemicals inside object, should return TRUE if object actually shatters

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/ability_button.html b/obj/ability_button.html new file mode 100644 index 0000000000000..973da689feff5 --- /dev/null +++ b/obj/ability_button.html @@ -0,0 +1 @@ +/obj/ability_button - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

baseButton

Vars

requires_equipcan you see this button without equipping the item
target_anythingcan you target any atom, not just people?
targeteddoes activating this ability let you click on something to target it?

Var Details

requires_equip

can you see this button without equipping the item

target_anything

can you target any atom, not just people?

targeted

does activating this ability let you click on something to target it?

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/ability_button/stomper_boot_stomp.html b/obj/ability_button/stomper_boot_stomp.html new file mode 100644 index 0000000000000..8d78bd84caa6f --- /dev/null +++ b/obj/ability_button/stomper_boot_stomp.html @@ -0,0 +1 @@ +/obj/ability_button/stomper_boot_stomp - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Stomp

Vars

jump_heightJump height, in tiles.
jump_timeTime the jump takes, in seconds.

Var Details

jump_height

Jump height, in tiles.

jump_time

Time the jump takes, in seconds.

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/blob.html b/obj/blob.html new file mode 100644 index 0000000000000..2f5aef4572181 --- /dev/null +++ b/obj/blob.html @@ -0,0 +1 @@ +/obj/blob - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

blob

Vars

processed_on_killedWhether onKilled already ran
surroundedbitfield of dirs we have other blob tiles around us on

Var Details

processed_on_killed

Whether onKilled already ran

surrounded

bitfield of dirs we have other blob tiles around us on

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/bomb_decoy.html b/obj/bomb_decoy.html new file mode 100644 index 0000000000000..4a6f2468d24bb --- /dev/null +++ b/obj/bomb_decoy.html @@ -0,0 +1 @@ +/obj/bomb_decoy - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

nuclear bomb

Vars

extremely_convincingset to true to fool everyone in description, includidng nukies (using it will give it away still)
recognizable_rangepeople this far away and closer will see that this is a balloon in the description

Var Details

extremely_convincing

set to true to fool everyone in description, includidng nukies (using it will give it away still)

recognizable_range

people this far away and closer will see that this is a balloon in the description

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/cable.html b/obj/cable.html new file mode 100644 index 0000000000000..b022acc9e1546 --- /dev/null +++ b/obj/cable.html @@ -0,0 +1,9 @@ +/obj/cable - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

power cable

the power cable object

Procs

get_powernetreturns the powernet this cable belongs to
update_networkcalled when a new cable is created +can be 1 of 3 outcomes:

Proc Details

get_powernet

returns the powernet this cable belongs to

update_network

called when a new cable is created +can be 1 of 3 outcomes:

+
    +
  1. Isolated cable (or only connects to isolated machine) -> create new powernet
  2. +
  3. Joins to end or bridges loop of a single network (may also connect isolated machine) -> add to old network
  4. +
  5. Bridges gap between 2 networks -> merge the networks (must rebuild lists also) (currently just calls makepowernets. welp) +user is just for logging hotwires
  6. +
goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/cable/auto.html b/obj/cable/auto.html new file mode 100644 index 0000000000000..7735fb39ebaec --- /dev/null +++ b/obj/cable/auto.html @@ -0,0 +1 @@ +/obj/cable/auto - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

power cable spawner

a cable spawner which can spawn multiple cables to connect to other cables around it.

Vars

cable_surrcable_surr uses the unique ordinal dirs to save directions as it needs to store up to 8 at once

Procs

cable_layingplaces a cable with d1 and d2
checkchecks around itself for cables, adds up to 8 bits to cable_surr
initializemakes the cable spawners actually spawn cables and delete themselves
replacecauses cable spawner to spawn cables (amazing)

Var Details

cable_surr

cable_surr uses the unique ordinal dirs to save directions as it needs to store up to 8 at once

Proc Details

cable_laying

places a cable with d1 and d2

check

checks around itself for cables, adds up to 8 bits to cable_surr

initialize

makes the cable spawners actually spawn cables and delete themselves

replace

causes cable spawner to spawn cables (amazing)

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/computerframe.html b/obj/computerframe.html new file mode 100644 index 0000000000000..4ce8f4ead2dfd --- /dev/null +++ b/obj/computerframe.html @@ -0,0 +1 @@ +/obj/computerframe - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Console-frame

Vars

stateState of construction of the frame, see defines above

Var Details

state

State of construction of the frame, see defines above

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/critter/domestic_bee_larva.html b/obj/critter/domestic_bee_larva.html new file mode 100644 index 0000000000000..36ae30e9a932c --- /dev/null +++ b/obj/critter/domestic_bee_larva.html @@ -0,0 +1 @@ +/obj/critter/domestic_bee_larva - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

greater domestic space-larva

Vars

stored_hatstored when a larva is puked up by someone. when the larva grows up, the bee puts on this hat

Var Details

stored_hat

stored when a larva is puked up by someone. when the larva grows up, the bee puts on this hat

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/critter/sword.html b/obj/critter/sword.html new file mode 100644 index 0000000000000..9288b9403515d --- /dev/null +++ b/obj/critter/sword.html @@ -0,0 +1 @@ +/obj/critter/sword - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Deep Space Beacon

Vars

changing_modesUsed to prevent some things during transformation sequences.
cooldownUsed to prevent the SWORD from using abilities all the time.
current_abilityUsed to keep track of what ability the SWORD is currently using.
current_heat_levelUsed to keep track of the SWORD's heat for Heat Reallocation.
died_alreadyUsed to prevent spam-reporting the death of the SWORD.
glowThe glow overlay.
mode0 - Beacon. 1 - Unanchored. 2 - Anchored.
past_destructive_rotationUsed to prevent the SWORD from using Destructive Leap/Destructive Flight in the same direction twice in a row, at a 75% efficiency.
rotation_lockedUsed to lock the SWORD's rotation in place. Or, at the very least, attempt to.
seekrangeA perk of being a high-tech prototype - large detection range.
stuck_locationUsed to prevent the SWORD from getting stuck too much.
stuck_timerUsed to prevent the SWORD from getting stuck too much.
transformation_triggeredUsed to check if the initial transformation has already been started or not.
used_abilityUsed to only allow transforming after at least one ability has been used.

Var Details

changing_modes

Used to prevent some things during transformation sequences.

cooldown

Used to prevent the SWORD from using abilities all the time.

current_ability

Used to keep track of what ability the SWORD is currently using.

current_heat_level

Used to keep track of the SWORD's heat for Heat Reallocation.

died_already

Used to prevent spam-reporting the death of the SWORD.

glow

The glow overlay.

mode

0 - Beacon. 1 - Unanchored. 2 - Anchored.

past_destructive_rotation

Used to prevent the SWORD from using Destructive Leap/Destructive Flight in the same direction twice in a row, at a 75% efficiency.

rotation_locked

Used to lock the SWORD's rotation in place. Or, at the very least, attempt to.

seekrange

A perk of being a high-tech prototype - large detection range.

stuck_location

Used to prevent the SWORD from getting stuck too much.

stuck_timer

Used to prevent the SWORD from getting stuck too much.

transformation_triggered

Used to check if the initial transformation has already been started or not.

used_ability

Used to only allow transforming after at least one ability has been used.

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/cryotron.html b/obj/cryotron.html new file mode 100644 index 0000000000000..751941db9acd7 --- /dev/null +++ b/obj/cryotron.html @@ -0,0 +1,3 @@ +/obj/cryotron - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

industrial cryogenic sleep unit

Procs

ClickOverride for handling all interactions with the cryo chamber
MouseDrop_THandling dragging players in to cryo, mainly for silicon players.
attackbyOverride to stop slamming mobs into the cryotron, without this the user will +drop the player mob they're trying to insert

Proc Details

Click

Override for handling all interactions with the cryo chamber

MouseDrop_T

Handling dragging players in to cryo, mainly for silicon players.

attackby

Override to stop slamming mobs into the cryotron, without this the user will +drop the player mob they're trying to insert

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/decal/cleanable.html b/obj/decal/cleanable.html new file mode 100644 index 0000000000000..c074f52740cbf --- /dev/null +++ b/obj/decal/cleanable.html @@ -0,0 +1 @@ +/obj/decal/cleanable - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

/obj/decal/cleanable

Procs

streak_cleanableInput a cardinal direction, it'll throw it somewhere within +-45 degrees of that direction. More or less.

Proc Details

streak_cleanable

Input a cardinal direction, it'll throw it somewhere within +-45 degrees of that direction. More or less.

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/decal/exhibit.html b/obj/decal/exhibit.html new file mode 100644 index 0000000000000..7183aafc8d3c4 --- /dev/null +++ b/obj/decal/exhibit.html @@ -0,0 +1 @@ +/obj/decal/exhibit - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

empty exhibit

Vars

exhibit_idunqiue id's set in map
spacebux_costcost to purchase this exhibit space

Var Details

exhibit_id

unqiue id's set in map

spacebux_cost

cost to purchase this exhibit space

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/decal/gangtag.html b/obj/decal/gangtag.html new file mode 100644 index 0000000000000..08f3c40831a4a --- /dev/null +++ b/obj/decal/gangtag.html @@ -0,0 +1 @@ +/obj/decal/gangtag - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

gang tag

Procs

calculate_heatAdds heat to this tag based upon how many mobs it's remembered. Then forgets all mobs it's seen and cools down.
delete_same_tagsDeletes all duplicate tags (IE, from the same gang) on this tile
disableMakes this tag inert, so it no longer provides points.
find_playersLook for & remember players in this gang's sight range

Proc Details

calculate_heat

Adds heat to this tag based upon how many mobs it's remembered. Then forgets all mobs it's seen and cools down.

delete_same_tags

Deletes all duplicate tags (IE, from the same gang) on this tile

disable

Makes this tag inert, so it no longer provides points.

find_players

Look for & remember players in this gang's sight range

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/decal/poster/flag.html b/obj/decal/poster/flag.html new file mode 100644 index 0000000000000..95ceba2aec7e0 --- /dev/null +++ b/obj/decal/poster/flag.html @@ -0,0 +1 @@ +/obj/decal/poster/flag - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

flag

Vars

starting_flagMust by a type path of /obj/item/flag.

Var Details

starting_flag

Must by a type path of /obj/item/flag.

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/deployable_turret.html b/obj/deployable_turret.html new file mode 100644 index 0000000000000..b7b927ad8cbd0 --- /dev/null +++ b/obj/deployable_turret.html @@ -0,0 +1 @@ +/obj/deployable_turret - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

fucked up abstract turret that should never exist

Procs

repairRepair the turret by 10 health (only repaired by welding currently, so no custom values)
toggle_activatedToggle the turret on or off.
toggle_anchoredAnchor if unanchored, unanchor if anchored

Proc Details

repair

Repair the turret by 10 health (only repaired by welding currently, so no custom values)

toggle_activated

Toggle the turret on or off.

toggle_anchored

Anchor if unanchored, unanchor if anchored

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/disjoint_connector.html b/obj/disjoint_connector.html new file mode 100644 index 0000000000000..1e7cc5edf8da5 --- /dev/null +++ b/obj/disjoint_connector.html @@ -0,0 +1,3 @@ +/obj/disjoint_connector - Goonstation 13
Goonstation 13 - Modules - Types

Disjoint Connector

Helper object to define how disjoint connections are formed.

+

Use /obj/disjoint_connector/id to connect thing by name. All turfs sharing the same name will be linked according to that id +Use /obj/disjoint_connector/location to connect to a x,y,z. This allows can be used for a one way connection.

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/disposalholder.html b/obj/disposalholder.html new file mode 100644 index 0000000000000..207017a6420b5 --- /dev/null +++ b/obj/disposalholder.html @@ -0,0 +1 @@ +/obj/disposalholder - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/obj/disposalholder

Vars

countcan travel 1000 steps before going inactive (in case of loops)

Var Details

count

can travel 1000 steps before going inactive (in case of loops)

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/disposalpipe.html b/obj/disposalpipe.html new file mode 100644 index 0000000000000..ea2cf81910d08 --- /dev/null +++ b/obj/disposalpipe.html @@ -0,0 +1 @@ +/obj/disposalpipe - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

disposal pipe

Vars

base_icon_stateInitial icon state on map
dirdir will contain dominant direction for junction pipes
dpdirbitmask of pipe directions
healthHealth points 0-10
isautowhether or not this is an auto pipe, used for pipe detection in auto pipes
levelunderfloor only
mail_tagTag of mail group for switching pipes
welding_costAmount of welding fuel it costs to install/remove

Procs

build_missing_imageBuilds the 'missing pipe' overlay visible on T-ray scanners

Var Details

base_icon_state

Initial icon state on map

dir

dir will contain dominant direction for junction pipes

dpdir

bitmask of pipe directions

health

Health points 0-10

isauto

whether or not this is an auto pipe, used for pipe detection in auto pipes

level

underfloor only

mail_tag

Tag of mail group for switching pipes

welding_cost

Amount of welding fuel it costs to install/remove

Proc Details

build_missing_image

Builds the 'missing pipe' overlay visible on T-ray scanners

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/disposalpipe/segment.html b/obj/disposalpipe/segment.html new file mode 100644 index 0000000000000..9285ee2b11c23 --- /dev/null +++ b/obj/disposalpipe/segment.html @@ -0,0 +1 @@ +/obj/disposalpipe/segment - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

/obj/disposalpipe/segment

Procs

fix_spritefixes the sprite and rotates it. hasidr is true by default, put false if the dir doesn't necessarily match the icon.

Proc Details

fix_sprite

fixes the sprite and rotates it. hasidr is true by default, put false if the dir doesn't necessarily match the icon.

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/effects/foam.html b/obj/effects/foam.html new file mode 100644 index 0000000000000..d720a26a19b91 --- /dev/null +++ b/obj/effects/foam.html @@ -0,0 +1 @@ +/obj/effects/foam - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

foam

Vars

lube1 = normal lube, 2 = harmlube

Var Details

lube

1 = normal lube, 2 = harmlube

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/fake_attacker.html b/obj/fake_attacker.html new file mode 100644 index 0000000000000..c26b63e15d3f3 --- /dev/null +++ b/obj/fake_attacker.html @@ -0,0 +1 @@ +/obj/fake_attacker - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

thing

Vars

should_attackDoes this hallucination constantly whack you

Var Details

should_attack

Does this hallucination constantly whack you

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/fakeobject/nuclear_reactor_destroyed.html b/obj/fakeobject/nuclear_reactor_destroyed.html new file mode 100644 index 0000000000000..3eaa75fe4c25e --- /dev/null +++ b/obj/fakeobject/nuclear_reactor_destroyed.html @@ -0,0 +1 @@ +/obj/fakeobject/nuclear_reactor_destroyed - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Molten Reactor Core

Vars

_light_turfref to the turf the reactor light is stored on, because you can't center simple lights

Var Details

_light_turf

ref to the turf the reactor light is stored on, because you can't center simple lights

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/flock_structure.html b/obj/flock_structure.html new file mode 100644 index 0000000000000..bbca4486b13c6 --- /dev/null +++ b/obj/flock_structure.html @@ -0,0 +1 @@ +/obj/flock_structure - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

uh oh

Vars

accepts_sapper_powerif the building can be supported by a sapper structure
cap_tick_spacingmaximum allowed tick spacing for mult calculations due to lag
computebase compute provided. negative amount means it uses compute
flock_descShown on the TGUI tooltip for the structure
flock_idThe actual name of the structure shown to the flock
hitTwitchShould it twitch on being hit?
last_processTIME of last process
online_compute_costcompute required to stay online
passthroughcan flockdrones pass through this akin to a grille?
resourcecostresource cost for building
show_in_tutorialDoes this structure show up in the list of flock structures shown in the tutorial?
tick_spacingnormal expected tick spacing
time_startedwhen did we get created?

Procs

get_multipliermultipler for flock loop, used to compensate for lag
skip_processoverridable checks for if we should skip processing this cycle

Var Details

accepts_sapper_power

if the building can be supported by a sapper structure

cap_tick_spacing

maximum allowed tick spacing for mult calculations due to lag

compute

base compute provided. negative amount means it uses compute

flock_desc

Shown on the TGUI tooltip for the structure

flock_id

The actual name of the structure shown to the flock

hitTwitch

Should it twitch on being hit?

last_process

TIME of last process

online_compute_cost

compute required to stay online

passthrough

can flockdrones pass through this akin to a grille?

resourcecost

resource cost for building

show_in_tutorial

Does this structure show up in the list of flock structures shown in the tutorial?

tick_spacing

normal expected tick spacing

time_started

when did we get created?

Proc Details

get_multiplier

multipler for flock loop, used to compensate for lag

skip_process

overridable checks for if we should skip processing this cycle

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/flock_structure/collector.html b/obj/flock_structure/collector.html new file mode 100644 index 0000000000000..cc845e038eb27 --- /dev/null +++ b/obj/flock_structure/collector.html @@ -0,0 +1 @@ +/obj/flock_structure/collector - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

weird lookin' pulsing thing

Vars

activeis it active?
area_apcthe apc it charges
charge_cyclecharge cycle time
charge_per_cyclepercent charge of connected apc it will charge per cycle
connectedtothe tiles its connected to
drawfromgriddoes it draw from the local apc if its strong enough.
maxrangemax range for the thing.
src_areathe area the collector is in

Var Details

active

is it active?

area_apc

the apc it charges

charge_cycle

charge cycle time

charge_per_cycle

percent charge of connected apc it will charge per cycle

connectedto

the tiles its connected to

drawfromgrid

does it draw from the local apc if its strong enough.

maxrange

max range for the thing.

src_area

the area the collector is in

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/flock_structure/gnesisturret.html b/obj/flock_structure/gnesisturret.html new file mode 100644 index 0000000000000..4bfb1a277d35b --- /dev/null +++ b/obj/flock_structure/gnesisturret.html @@ -0,0 +1 @@ +/obj/flock_structure/gnesisturret - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Gnesis Turret - Shoots syringes full of coagulated gnesis at poor staffies

Vars

fluid_gen_amthow much gnesis is generated per-tick while there is sufficient compute
fluid_gen_typegnesis fluid ID - change this to do exciting things like having a turret that fires QGP
fluid_level_maxmaximum volume of coagualted gnesis that can be stored in the tank

Var Details

fluid_gen_amt

how much gnesis is generated per-tick while there is sufficient compute

fluid_gen_type

gnesis fluid ID - change this to do exciting things like having a turret that fires QGP

fluid_level_max

maximum volume of coagualted gnesis that can be stored in the tank

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/flock_structure/interceptor.html b/obj/flock_structure/interceptor.html new file mode 100644 index 0000000000000..e38e1071226de --- /dev/null +++ b/obj/flock_structure/interceptor.html @@ -0,0 +1 @@ +/obj/flock_structure/interceptor - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

gnesis fountain

Vars

checker_radiusprojectile destroying radius of the interceptor
checkers_poweredif the interceptor's projectile checkers are checking for projectiles
poweredif the interceptor has enough compute to work
projectile_checkerslist of projectile checker objects the interceptor uses to work

Var Details

checker_radius

projectile destroying radius of the interceptor

checkers_powered

if the interceptor's projectile checkers are checking for projectiles

powered

if the interceptor has enough compute to work

projectile_checkers

list of projectile checker objects the interceptor uses to work

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/flock_structure/relay.html b/obj/flock_structure/relay.html new file mode 100644 index 0000000000000..14866ad6cebd4 --- /dev/null +++ b/obj/flock_structure/relay.html @@ -0,0 +1 @@ +/obj/flock_structure/relay - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

titanic polyhedron

Procs

destroy_radiosBrick every headset noisily

Proc Details

destroy_radios

Brick every headset noisily

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/flock_structure/sentinel.html b/obj/flock_structure/sentinel.html new file mode 100644 index 0000000000000..fec17ad42678e --- /dev/null +++ b/obj/flock_structure/sentinel.html @@ -0,0 +1 @@ +/obj/flock_structure/sentinel - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

glowing pylon

Vars

charge0-100 charge percent
charge_per_tickcharge gained per tick
extra_chain_rangehas extra range when chaining
rangeTurret range in tiles
wattageThe wattage of the arcflash

Var Details

charge

0-100 charge percent

charge_per_tick

charge gained per tick

extra_chain_range

has extra range when chaining

range

Turret range in tiles

wattage

The wattage of the arcflash

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/forcefield/energyshield.html b/obj/forcefield/energyshield.html new file mode 100644 index 0000000000000..0f5027436c135 --- /dev/null +++ b/obj/forcefield/energyshield.html @@ -0,0 +1 @@ +/obj/forcefield/energyshield - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Forcefield

Vars

powered_locallySpecial variable, set to FALSE for shields created by door-shield generators so doors won't inherently power them off when the area loses power

Var Details

powered_locally

Special variable, set to FALSE for shields created by door-shield generators so doors won't inherently power them off when the area loses power

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/ganglocker.html b/obj/ganglocker.html new file mode 100644 index 0000000000000..de09ac6a44d7f --- /dev/null +++ b/obj/ganglocker.html @@ -0,0 +1 @@ +/obj/ganglocker - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

gang closet

Vars

aggregate_item_score_timeHow long to wait before displaying maptext after recieving bulk items
aggregate_score_countHow many points have been scored in the aggregate_item_score_time window?
default_screen_overlaythe overlay this locker should show, after doing stuff like blinking red for errors
ganggang that owns this locker
gang_weedHow many leaves of weed have been given in
ghost_confirmation_delaytime that ghosts get to choose to be a gang member
has_sold_ttvhas some angel sold TTVs to this locker yet?
hunting_for_ghostsare we hunting for new gang members right now?
is_aggregating_item_scoresDo we have a queued maptext for showing bulk item scores?
stored_cashthe amount of money stored inside this locker for laundering
superlaunder_stackshow many ticks are left of super laundering (when you insert pre-laundered money)
tracked_drugs_listTracks how many units of each drug this gang has inserted
untracked_drugs_scoreTracks how many points' worth of drugs have been inserted, after the GANG_DRUG_BONUS_CAP

Procs

aggregate_scoreAdd score to the next maptext that can be shown once per second.
do_drug_scoreCalculate the score of provided drugs, adding them to the total acquired
gang_respawnRespawns a mind as a new gang member
get_I_score_drugget the score of an item given the drugs inside
get_drug_scoreGet the price per unit of a drug, taking into account multipliers
get_gang_gearHandle spawning equipment for a gang member
handle_gang_gearCheck that it's feasible to give a user gang equipment
handle_get_spraypaintdeploys a spraypaint for the user, if possible
handle_respawn_newChecks to see if the user can respawn a gang member at this locker
handle_respawn_syringeAttempt to buy a janktank II
insert_itemHandles an item being inserted into a gang locker
take_damageHandles dropping laundering money if the locker takes damage.
try_gang_respawnTries to find a ghost to respawn

Var Details

aggregate_item_score_time

How long to wait before displaying maptext after recieving bulk items

aggregate_score_count

How many points have been scored in the aggregate_item_score_time window?

default_screen_overlay

the overlay this locker should show, after doing stuff like blinking red for errors

gang

gang that owns this locker

gang_weed

How many leaves of weed have been given in

ghost_confirmation_delay

time that ghosts get to choose to be a gang member

has_sold_ttv

has some angel sold TTVs to this locker yet?

hunting_for_ghosts

are we hunting for new gang members right now?

is_aggregating_item_scores

Do we have a queued maptext for showing bulk item scores?

stored_cash

the amount of money stored inside this locker for laundering

superlaunder_stacks

how many ticks are left of super laundering (when you insert pre-laundered money)

tracked_drugs_list

Tracks how many units of each drug this gang has inserted

untracked_drugs_score

Tracks how many points' worth of drugs have been inserted, after the GANG_DRUG_BONUS_CAP

Proc Details

aggregate_score

Add score to the next maptext that can be shown once per second.

do_drug_score

Calculate the score of provided drugs, adding them to the total acquired

gang_respawn

Respawns a mind as a new gang member

get_I_score_drug

get the score of an item given the drugs inside

get_drug_score

Get the price per unit of a drug, taking into account multipliers

get_gang_gear

Handle spawning equipment for a gang member

handle_gang_gear

Check that it's feasible to give a user gang equipment

handle_get_spraypaint

deploys a spraypaint for the user, if possible

handle_respawn_new

Checks to see if the user can respawn a gang member at this locker

handle_respawn_syringe

Attempt to buy a janktank II

insert_item

Handles an item being inserted into a gang locker

take_damage

Handles dropping laundering money if the locker takes damage.

try_gang_respawn

Tries to find a ghost to respawn

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/geode.html b/obj/geode.html new file mode 100644 index 0000000000000..004a914ce9566 --- /dev/null +++ b/obj/geode.html @@ -0,0 +1 @@ +/obj/geode - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

rock geode

Vars

weightWeighting var for the random asteroid generation

Var Details

weight

Weighting var for the random asteroid generation

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/geode/crystal.html b/obj/geode/crystal.html new file mode 100644 index 0000000000000..961d024bb28db --- /dev/null +++ b/obj/geode/crystal.html @@ -0,0 +1,3 @@ +/obj/geode/crystal - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/obj/geode/crystal

Vars

custom_crystal_statesIf true, look for custom material icon states in the form crystals$$materialname, otherwise do a best attempt to recolour using the material colour +Darker materials (ie uqil) may need custom crystal sprites

Var Details

custom_crystal_states

If true, look for custom material icon states in the form crystals$$materialname, otherwise do a best attempt to recolour using the material colour +Darker materials (ie uqil) may need custom crystal sprites

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/grille.html b/obj/grille.html new file mode 100644 index 0000000000000..6606f0848ed07 --- /dev/null +++ b/obj/grille.html @@ -0,0 +1 @@ +/obj/grille - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

grille

Vars

can_be_probedcan you use a multitool to check for current?
can_be_snippedcan you use wirecutters to dismantle it?
can_be_unscrewedcan you use a screwdriver to unanchor it?
can_build_windowcan you use this as a base for a new window?

Var Details

can_be_probed

can you use a multitool to check for current?

can_be_snipped

can you use wirecutters to dismantle it?

can_be_unscrewed

can you use a screwdriver to unanchor it?

can_build_window

can you use this as a base for a new window?

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/hotspot.html b/obj/hotspot.html new file mode 100644 index 0000000000000..260f629dce187 --- /dev/null +++ b/obj/hotspot.html @@ -0,0 +1,5 @@ +/obj/hotspot - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/obj/hotspot

The object that represents fire ingame. Very nice and warm.

Vars

bypassingIf true, we've reached our last stage and should bypass processing reactions within ourselves. +We may then start spreading heat and call /turf/simulated/hotspot_expose on other tiles.
catalyst_activeAre we allowed to pass the temperature limit for non-catalysed fires?
just_spawnedIf we've just spawned then don't process yet, wait a cycle.
temperatureOur temperature.
volumeVolume to expose to other atoms. Also used while /obj/hotspot/var/bypassing is FALSE to act on a volume of gas on our turf.

Procs

CrossedTemperature expose every atom that crosses us, burning living mobs that cross us.
perform_exposureInteract with our turf, performing reactions, scaling volume up, and exposing things on our turf while /obj/hotspot/var/bypassing is FALSE, +and simply scaling up while it is set to TRUE.
processProcess fire survival, mob burning, hotspot exposure, and heat radiation.
set_real_coloroverride. used to modify fire color and ambient light at any point of its lifetime

Var Details

bypassing

If true, we've reached our last stage and should bypass processing reactions within ourselves. +We may then start spreading heat and call /turf/simulated/hotspot_expose on other tiles.

catalyst_active

Are we allowed to pass the temperature limit for non-catalysed fires?

just_spawned

If we've just spawned then don't process yet, wait a cycle.

temperature

Our temperature.

volume

Volume to expose to other atoms. Also used while /obj/hotspot/var/bypassing is FALSE to act on a volume of gas on our turf.

Proc Details

Crossed

Temperature expose every atom that crosses us, burning living mobs that cross us.

perform_exposure

Interact with our turf, performing reactions, scaling volume up, and exposing things on our turf while /obj/hotspot/var/bypassing is FALSE, +and simply scaling up while it is set to TRUE.

process

Process fire survival, mob burning, hotspot exposure, and heat radiation.

set_real_color

override. used to modify fire color and ambient light at any point of its lifetime

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/hotspot/gasfire.html b/obj/hotspot/gasfire.html new file mode 100644 index 0000000000000..207fd4c1cd082 --- /dev/null +++ b/obj/hotspot/gasfire.html @@ -0,0 +1 @@ +/obj/hotspot/gasfire - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

/obj/hotspot/gasfire

fire created by a gaseous source. or atmos fire.

Procs

set_real_colorConverts our temperature into an approximate color based on blackbody radiation.

Proc Details

set_real_color

Converts our temperature into an approximate color based on blackbody radiation.

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/icecube.html b/obj/icecube.html new file mode 100644 index 0000000000000..c425e166d1053 --- /dev/null +++ b/obj/icecube.html @@ -0,0 +1 @@ +/obj/icecube - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

ice cube

Vars

cooltempthe temperature the cube will try to cool you to. changing this allows you to more aggressively cool
melttempthe temperature the cube will start taking damage at

Var Details

cooltemp

the temperature the cube will try to cool you to. changing this allows you to more aggressively cool

melttemp

the temperature the cube will start taking damage at

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item.html b/obj/item.html new file mode 100644 index 0000000000000..d4056810be782 --- /dev/null +++ b/obj/item.html @@ -0,0 +1,9 @@ +/obj/item - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

item

Base vars & procs

Vars

amountThis is for things which are stackable! It means that there are [amount] things here, which could be discretely split or stacked! +if you use this to represent something other than a literal stack of items I will break your kneecaps
attack_verbsVerb used when you attack someone with this, as in [attacker] [attack_verbs] [victim]. Can be a list or single entry
brew_resultWhat reagent will it make if it's brewable?
burn_outputHow hot does the item burn once on fire
burn_pointAmbient temperature at which the item may spontaneously ignite
burn_possibleIs this item burnable
burn_remainsWhat is left when it's burnt up
burningAre we currently burning
burning_last_processKeep track of last burning state
equip_sfxSound for when you equip this from an inventory (ie not a turf)
firesourceIs this a valid source for lighting fires
hat_offset_xUsed for the hattable component
hat_offset_yUsed for the hattable component
healthHow long an item takes to burn (or be consumed by other means), based on the weight class if no value is set
inhand_colorset to a colour to make the inhand image be that colour. if the item is coloured though that takes priority over this variable
item_stateThe in-hand icon state
leaves_slash_woundwhen attacking, this item can leave a slash wound
masterThis var fucking sucks. It's used for prox sensors and other stuff that when triggered trigger an item they're attached to. Why is this on /item i am so sad
mimic_chanceChance for this item to be replaced by a mimic disguised as it - note, setting this high here is a really bad idea
pickup_sfxSound for when you pick this up from anywhere. If null, we auto-pick from a list based on w_class
storedstorage datum holding it
wear_stateicon state used for worn sprites, icon_state used otherwise

Procs

AfterAttackCall this proc inplace of afterattack(...)
AttackSelfCall this proc inplace of attack_self(...)
UpdateStackAppearanceDon't override this, override _update_stack_appearance() instead.
_update_stack_appearanceCall UpdateStackAppearance() instead.
afterattackDO NOT CALL THIS PROC - Call AfterAttack(...) Instead!
attack_selfDO NOT CALL THIS PROC - Call AttackSelf(...) Instead!
enchantEnchants an item (minor armor boost for clothing, otherwise increases melee damage)
force_dropForce the item to drop from the mob's hands. +If sever is TRUE, items will be severed from item arms
get_heroPick one human trying to cover the object
material_on_dropCalled when an item is dropped for mat effects
material_on_pickupCalled when an item is picked up for mat effects
place_to_turf_by_gridMove item to turf, and snap its pixel offsets to a grid of the input size.
setTwoHandedThis is the safe way of changing 2-handed-ness at runtime. Use this please.
should_place_onOverride to implement custom logic for determining whether the item should be placed onto a target object
try_specific_equipattempt unique functionality when item is held in hand and and using the equip hotkey

Var Details

amount

This is for things which are stackable! It means that there are [amount] things here, which could be discretely split or stacked! +if you use this to represent something other than a literal stack of items I will break your kneecaps

attack_verbs

Verb used when you attack someone with this, as in [attacker] [attack_verbs] [victim]. Can be a list or single entry

brew_result

What reagent will it make if it's brewable?

burn_output

How hot does the item burn once on fire

burn_point

Ambient temperature at which the item may spontaneously ignite

burn_possible

Is this item burnable

burn_remains

What is left when it's burnt up

burning

Are we currently burning

burning_last_process

Keep track of last burning state

equip_sfx

Sound for when you equip this from an inventory (ie not a turf)

firesource

Is this a valid source for lighting fires

hat_offset_x

Used for the hattable component

hat_offset_y

Used for the hattable component

health

How long an item takes to burn (or be consumed by other means), based on the weight class if no value is set

inhand_color

set to a colour to make the inhand image be that colour. if the item is coloured though that takes priority over this variable

item_state

The in-hand icon state

leaves_slash_wound

when attacking, this item can leave a slash wound

master

This var fucking sucks. It's used for prox sensors and other stuff that when triggered trigger an item they're attached to. Why is this on /item i am so sad

mimic_chance

Chance for this item to be replaced by a mimic disguised as it - note, setting this high here is a really bad idea

pickup_sfx

Sound for when you pick this up from anywhere. If null, we auto-pick from a list based on w_class

stored

storage datum holding it

wear_state

icon state used for worn sprites, icon_state used otherwise

Proc Details

AfterAttack

Call this proc inplace of afterattack(...)

AttackSelf

Call this proc inplace of attack_self(...)

UpdateStackAppearance

Don't override this, override _update_stack_appearance() instead.

_update_stack_appearance

Call UpdateStackAppearance() instead.

afterattack

DO NOT CALL THIS PROC - Call AfterAttack(...) Instead!

+

Only override this proc!

attack_self

DO NOT CALL THIS PROC - Call AttackSelf(...) Instead!

+

Only override this proc!

enchant

Enchants an item (minor armor boost for clothing, otherwise increases melee damage)

+

incr - value to enchant by +setTo - when true, sets enchantment to incr, otherwise will add incr to existing enchantment (positive or negative)

force_drop

Force the item to drop from the mob's hands. +If sever is TRUE, items will be severed from item arms

get_hero

Pick one human trying to cover the object

material_on_drop

Called when an item is dropped for mat effects

material_on_pickup

Called when an item is picked up for mat effects

place_to_turf_by_grid

Move item to turf, and snap its pixel offsets to a grid of the input size.

setTwoHanded

This is the safe way of changing 2-handed-ness at runtime. Use this please.

should_place_on

Override to implement custom logic for determining whether the item should be placed onto a target object

try_specific_equip

attempt unique functionality when item is held in hand and and using the equip hotkey

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/SWF_uplink.html b/obj/item/SWF_uplink.html new file mode 100644 index 0000000000000..019fe0397495d --- /dev/null +++ b/obj/item/SWF_uplink.html @@ -0,0 +1 @@ +/obj/item/SWF_uplink - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Spellbook

Wizard's spellbook

Vars

wizard_nameThe name of the spellbook's wizard for display purposes

Var Details

wizard_name

The name of the spellbook's wizard for display purposes

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/aiModule/asimov1.html b/obj/item/aiModule/asimov1.html new file mode 100644 index 0000000000000..f64762c63ca13 --- /dev/null +++ b/obj/item/aiModule/asimov1.html @@ -0,0 +1,2 @@ +/obj/item/aiModule/asimov1 - Goonstation 13
Goonstation 13 - Modules - Types

AI Law Module - 'Asimov's 1st Law of Robotics'

Modules

+

Asimov

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/ai_plating_kit.html b/obj/item/ai_plating_kit.html new file mode 100644 index 0000000000000..0aa040ed208fb --- /dev/null +++ b/obj/item/ai_plating_kit.html @@ -0,0 +1 @@ +/obj/item/ai_plating_kit - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

AI Frame Plating Kit (YOU SHOULD NOT SEE THIS, FILE A BUG REPORT IF YOU ARE READING THIS)

Vars

skinThe skin to apply to an AI core frame when we install this as plating. Needs to be a valid string from /ai/var/skinsList

Var Details

skin

The skin to apply to an AI core frame when we install this as plating. Needs to be a valid string from /ai/var/skinsList

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/ammo/bullets.html b/obj/item/ammo/bullets.html new file mode 100644 index 0000000000000..9111da50c0fee --- /dev/null +++ b/obj/item/ammo/bullets.html @@ -0,0 +1 @@ +/obj/item/ammo/bullets - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Ammo box

Bullets for kinetic firearms

Vars

refillableTRUE if this ammo can be refilled from an ammo bag. Used to prevent duping

Var Details

refillable

TRUE if this ammo can be refilled from an ammo bag. Used to prevent duping

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/artifact/bag_of_holding.html b/obj/item/artifact/bag_of_holding.html new file mode 100644 index 0000000000000..4a9f9b18bbf12 --- /dev/null +++ b/obj/item/artifact/bag_of_holding.html @@ -0,0 +1 @@ +/obj/item/artifact/bag_of_holding - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

artifact bag of holding

Vars

back_iconsworn back icon states
base_icon_stateoriginal icon state, without artifact activation fx
base_item_stateoriginal item_state
belt_iconsworn belt icon states
wizard_gem_imagewizard arts have an overlay applied, this is used to store it, otherwise it appears in the transformed icon when worn

Var Details

back_icons

worn back icon states

base_icon_state

original icon state, without artifact activation fx

base_item_state

original item_state

belt_icons

worn belt icon states

wizard_gem_image

wizard arts have an overlay applied, this is used to store it, otherwise it appears in the transformed icon when worn

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/assembly/prox_ignite.html b/obj/item/assembly/prox_ignite.html new file mode 100644 index 0000000000000..76d43360d7903 --- /dev/null +++ b/obj/item/assembly/prox_ignite.html @@ -0,0 +1 @@ +/obj/item/assembly/prox_ignite - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

Proximity/Igniter Assembly

Proximity/igniter

Procs

beakerbomb_assemblyBeakerbomb-assembly
pipebomb_assemblyPipebomb-assembly out of standard pipebomb
pipebomb_frame_assemblyPipebomb-assembly out of cabled pipebomb

Proc Details

beakerbomb_assembly

Beakerbomb-assembly

pipebomb_assembly

Pipebomb-assembly out of standard pipebomb

pipebomb_frame_assembly

Pipebomb-assembly out of cabled pipebomb

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/assembly/rad_ignite.html b/obj/item/assembly/rad_ignite.html new file mode 100644 index 0000000000000..d9eeb255a58c5 --- /dev/null +++ b/obj/item/assembly/rad_ignite.html @@ -0,0 +1 @@ +/obj/item/assembly/rad_ignite - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

Radio/Igniter Assembly

Remote signaller/igniter

Procs

beakerbomb_assemblyBeakerbomb-assembly
pipebomb_assemblyPipebomb-assembly out of standard pipebomb
pipebomb_frame_assemblyPipebomb-assembly out of cabled pipebomb

Proc Details

beakerbomb_assembly

Beakerbomb-assembly

pipebomb_assembly

Pipebomb-assembly out of standard pipebomb

pipebomb_frame_assembly

Pipebomb-assembly out of cabled pipebomb

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/assembly/time_ignite.html b/obj/item/assembly/time_ignite.html new file mode 100644 index 0000000000000..ef68dad8cda5a --- /dev/null +++ b/obj/item/assembly/time_ignite.html @@ -0,0 +1 @@ +/obj/item/assembly/time_ignite - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

Timer/Igniter Assembly

Timer/igniter

Procs

beakerbomb_assemblyBeakerbomb-assembly
pipebomb_assemblyPipebomb-assembly out of standard pipebomb
pipebomb_frame_assemblyPipebomb-assembly out of cabled pipebomb

Proc Details

beakerbomb_assembly

Beakerbomb-assembly

pipebomb_assembly

Pipebomb-assembly out of standard pipebomb

pipebomb_frame_assembly

Pipebomb-assembly out of cabled pipebomb

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/barrier.html b/obj/item/barrier.html new file mode 100644 index 0000000000000..ec6432c9ebe9e --- /dev/null +++ b/obj/item/barrier.html @@ -0,0 +1 @@ +/obj/item/barrier - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

barrier

Vars

use_two_handedPotentially could be used for subtypes; set it to 1 so that the object occupies two hands when activated.

Var Details

use_two_handed

Potentially could be used for subtypes; set it to 1 so that the object occupies two hands when activated.

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/bat.html b/obj/item/bat.html new file mode 100644 index 0000000000000..ecb973745c30a --- /dev/null +++ b/obj/item/bat.html @@ -0,0 +1 @@ +/obj/item/bat - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Baseball Bat

Vars

typeinfo_typeBaseball Bat

Var Details

typeinfo_type

Baseball Bat

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/baton.html b/obj/item/baton.html new file mode 100644 index 0000000000000..1688ba2531fa1 --- /dev/null +++ b/obj/item/baton.html @@ -0,0 +1 @@ +/obj/item/baton - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

stun baton

Vars

flippedIs it currently rotated so that you're grabbing it by the head?
typeinfo_typeStun baton parent

Var Details

flipped

Is it currently rotated so that you're grabbing it by the head?

typeinfo_type

Stun baton parent

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/bible.html b/obj/item/bible.html new file mode 100644 index 0000000000000..9c10abd2ab6aa --- /dev/null +++ b/obj/item/bible.html @@ -0,0 +1 @@ +/obj/item/bible - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

bible

Procs

farty_heresyCalled when someone farts on a bible. Return TRUE if we killed them, FALSE otherwise.

Proc Details

farty_heresy

Called when someone farts on a bible. Return TRUE if we killed them, FALSE otherwise.

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/boardgame.html b/obj/item/boardgame.html new file mode 100644 index 0000000000000..d0357481656c6 --- /dev/null +++ b/obj/item/boardgame.html @@ -0,0 +1,37 @@ +/obj/item/boardgame - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

Boardgame

Vars

active_users
board_widthDesignate the size of the board +Don't forget to update styling["aspectRatio"] +if you want to keep the board autoscaling
boardstyleUsed by TGUI to render a board design
lock_pieces_to_tileIf true, pieces will be locked to the center of the tile they're on, otherwise they'll be free to move around
styling

Procs

resetColorStylingReset the board to its color scheme, in case it has been changed

Var Details

active_users

Boardgame Data and State

board_width

Designate the size of the board +Don't forget to update styling["aspectRatio"] +if you want to keep the board autoscaling

boardstyle

Used by TGUI to render a board design

lock_pieces_to_tile

If true, pieces will be locked to the center of the tile they're on, otherwise they'll be free to move around

styling

Boardgame styling

+
src.styling[key] = value
+
+

Give the boardgame a custom look by using these key value pairs.

+
// Sets color of first tile
+[STYLING_TILECOLOR1] = "#FFFFFF" or rgb(255, 255, 255)
+
+
// Sets color of second tile
+[STYLING_TILECOLOR2] = "#FFFFFF" or rgb(255, 255, 255)
+
+
// Sets color of the border
+[STYLING_BORDER] = "#FFFFFF" or rgb(255, 255, 255)
+
+
// Aspect ratio of the board. This is the ratio of the width to the height.
+1 = 1:1, 2 = 2:1, 0.5 = 1:2
+[STYLING_ASPECT] = NUMBER
+```dm
+
+
+

// Whether to use chess-like notation around the board. +... +[STYLING_NOTATIONS] = TRUE/FALSE

+
The following keys are used by the boardgame itself and changes itself.
+```dm
+// Sets original color of first tile
+[STYLING_OLDTILECOLOR1] = "#FFFFFF" or rgb(255, 255, 255)
+```
+
+```dm
+// Sets original color of first tile
+[STYLING_OLDTILECOLOR2] = "#FFFFFF" or rgb(255, 255, 255)
+```
+

Proc Details

resetColorStyling

Reset the board to its color scheme, in case it has been changed

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/bunsen_burner.html b/obj/item/bunsen_burner.html new file mode 100644 index 0000000000000..7dac15bd2932a --- /dev/null +++ b/obj/item/bunsen_burner.html @@ -0,0 +1 @@ +/obj/item/bunsen_burner - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Bunsen burner

Vars

current_temp_caphow hot the container will have to be before it stops heating
current_temp_to_heathow much the bunsen burner heats per processing tick

Var Details

current_temp_cap

how hot the container will have to be before it stops heating

current_temp_to_heat

how much the bunsen burner heats per processing tick

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/cable_coil.html b/obj/item/cable_coil.html new file mode 100644 index 0000000000000..4844825257575 --- /dev/null +++ b/obj/item/cable_coil.html @@ -0,0 +1 @@ +/obj/item/cable_coil - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

cable coil

Procs

attack_selfREINFORCED CABLE
plop_a_cableThis was copy-pasted some 5 times across the 4 cable laying procs that existed) FSR?

Proc Details

attack_self

REINFORCED CABLE

plop_a_cable

This was copy-pasted some 5 times across the 4 cable laying procs that existed) FSR?

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/card/id.html b/obj/item/card/id.html new file mode 100644 index 0000000000000..e7904b4546f5e --- /dev/null +++ b/obj/item/card/id.html @@ -0,0 +1 @@ +/obj/item/card/id - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

identification card

Vars

keep_iconthis determines if the icon_state of the ID changes if it is given a new job

Var Details

keep_icon

this determines if the icon_state of the ID changes if it is given a new job

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/card_group.html b/obj/item/card_group.html new file mode 100644 index 0000000000000..4c548aaa2883d --- /dev/null +++ b/obj/item/card_group.html @@ -0,0 +1 @@ +/obj/item/card_group - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

deck of cards

since "playing_card"s are singular cards, card_groups handling groups of playing_cards in the form of either a deck or hand

Vars

card_namesame function as playing_card card name
card_stylethe type of card back used for this group (references icon_state names in the dmi)
max_hand_sizethe number of cards you can have in a hand before it automatically becomes a deck
total_cardshow many cards are in a fully built deck of this type? (54 for plain decks, 78 for tarot, etc.) : used for reference on stack heights

Var Details

card_name

same function as playing_card card name

card_style

the type of card back used for this group (references icon_state names in the dmi)

max_hand_size

the number of cards you can have in a hand before it automatically becomes a deck

total_cards

how many cards are in a fully built deck of this type? (54 for plain decks, 78 for tarot, etc.) : used for reference on stack heights

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/cargotele.html b/obj/item/cargotele.html new file mode 100644 index 0000000000000..c8984e95db485 --- /dev/null +++ b/obj/item/cargotele.html @@ -0,0 +1 @@ +/obj/item/cargotele - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

cargo transporter

Vars

allowed_typesList of types that cargo teles are allowed to send. Built in New, shared across all teles
cell_typeType of cell used in this
costPower cost per teleport
targetTarget pad we send cargo to. Make sure you're sending to the pad's loc and not the pad itself
teleport_delayLength of action bar before teleport completes

Var Details

allowed_types

List of types that cargo teles are allowed to send. Built in New, shared across all teles

cell_type

Type of cell used in this

cost

Power cost per teleport

target

Target pad we send cargo to. Make sure you're sending to the pad's loc and not the pad itself

teleport_delay

Length of action bar before teleport completes

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/cargotele/traitor.html b/obj/item/cargotele/traitor.html new file mode 100644 index 0000000000000..77e7d16435c3a --- /dev/null +++ b/obj/item/cargotele/traitor.html @@ -0,0 +1 @@ +/obj/item/cargotele/traitor - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/obj/item/cargotele/traitor

Vars

accountThe account to credit for sales
total_earnedThe total amount earned from selling/stealing

Var Details

account

The account to credit for sales

total_earned

The total amount earned from selling/stealing

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/catalytic_rod.html b/obj/item/catalytic_rod.html new file mode 100644 index 0000000000000..31238624db179 --- /dev/null +++ b/obj/item/catalytic_rod.html @@ -0,0 +1 @@ +/obj/item/catalytic_rod - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

catalytic rod

Vars

anode_efficacyGeneration efficacy for anode use. Influenced by material properties, increases dramatically above standard parameters
cathode_efficacyGeneration efficacy for cathode use. Influenced by material properties, increases dramatically above standard parameters
conditionRod condition: decays over time, combines with generation efficacy to yield a production rate
decay_ratioDecay ratio: how fast rod will fall apart. Influenced by material corrosion resistance

Procs

expend_rodConsumes rod condition in furtherance of electrical generation; pass anode or cathode use for appropriate effectiveness factor

Var Details

anode_efficacy

Generation efficacy for anode use. Influenced by material properties, increases dramatically above standard parameters

cathode_efficacy

Generation efficacy for cathode use. Influenced by material properties, increases dramatically above standard parameters

condition

Rod condition: decays over time, combines with generation efficacy to yield a production rate

decay_ratio

Decay ratio: how fast rod will fall apart. Influenced by material corrosion resistance

Proc Details

expend_rod

Consumes rod condition in furtherance of electrical generation; pass anode or cathode use for appropriate effectiveness factor

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/chem_grenade.html b/obj/item/chem_grenade.html new file mode 100644 index 0000000000000..957167dc57041 --- /dev/null +++ b/obj/item/chem_grenade.html @@ -0,0 +1 @@ +/obj/item/chem_grenade - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

imcoder chemical grenade

Vars

grenade_timetime until the grenade explodes when triggered
grenade_time_standardstandard time until the grenade explodes when triggered
interval_grenade_timetime intervals you are able to set the grenade to
launcher_damagedamage when loaded into a 40mm convesion chamber
maximum_grenade_timemaximum time be able to be set in seconds

Procs

adjust_timechem grenade time adjustment
chem_grenade_assemblieschem grenade assembly creation
launcher_cloneclone for grenade launcher purposes only. Not a real deep copy, just barely good enough to work for something that's going to be instantly detonated. Mostly for like, custom grenades or whatever

Var Details

grenade_time

time until the grenade explodes when triggered

grenade_time_standard

standard time until the grenade explodes when triggered

interval_grenade_time

time intervals you are able to set the grenade to

launcher_damage

damage when loaded into a 40mm convesion chamber

maximum_grenade_time

maximum time be able to be set in seconds

Proc Details

adjust_time

chem grenade time adjustment

chem_grenade_assemblies

chem grenade assembly creation

launcher_clone

clone for grenade launcher purposes only. Not a real deep copy, just barely good enough to work for something that's going to be instantly detonated. Mostly for like, custom grenades or whatever

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/chem_grenade/custom.html b/obj/item/chem_grenade/custom.html new file mode 100644 index 0000000000000..989f99539176c --- /dev/null +++ b/obj/item/chem_grenade/custom.html @@ -0,0 +1 @@ +/obj/item/chem_grenade/custom - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

disassembled chemical grenade

Vars

custom_grenade_max_beaker_volumemaximum beaker size when assemblying beaker into custom grenades
fluid_image1The fluid image of the first beaker inserted into the custom grenade
fluid_image2The fluid image of the second beaker inserted into the custom grenade
stagethe stage of the current assembly

Procs

assemble_fuseOn stage 0, using the grenade in hand sets the fuse into the grenade
chem_grenade_completingchem grenade completion proc
chem_grenade_fillingchem grenade filling proc
disassembly_filledchem grenade disassembly

Var Details

custom_grenade_max_beaker_volume

maximum beaker size when assemblying beaker into custom grenades

fluid_image1

The fluid image of the first beaker inserted into the custom grenade

fluid_image2

The fluid image of the second beaker inserted into the custom grenade

stage

the stage of the current assembly

Proc Details

assemble_fuse

On stage 0, using the grenade in hand sets the fuse into the grenade

chem_grenade_completing

chem grenade completion proc

chem_grenade_filling

chem grenade filling proc

disassembly_filled

chem grenade disassembly

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/chem_pill_bottle.html b/obj/item/chem_pill_bottle.html new file mode 100644 index 0000000000000..918919defe7e8 --- /dev/null +++ b/obj/item/chem_pill_bottle.html @@ -0,0 +1 @@ +/obj/item/chem_pill_bottle - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

pill bottle

Vars

consumption_actionA reference to the action currently in use if eating pills from the bottle.

Procs

eat_pill_from_bottleReturns true if a pill was successfully swallowed.
total_pillsreturns the total number of remaining pills

Var Details

consumption_action

A reference to the action currently in use if eating pills from the bottle.

Proc Details

eat_pill_from_bottle

Returns true if a pill was successfully swallowed.

total_pills

returns the total number of remaining pills

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/clothing.html b/obj/item/clothing.html new file mode 100644 index 0000000000000..7429d03d45b9b --- /dev/null +++ b/obj/item/clothing.html @@ -0,0 +1 @@ +/obj/item/clothing - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

clothing

Vars

compatible_speciesallow mutantraces to wear certain garments, see /datum/mutantrace/var/uses_human_clothes
material_piecewe want to use Z rather than Y incase anything gets rotated, it would look all jank
nodescripitionMakes it so the item doesn't show up upon examining, currently only applied for gloves

Procs

check_for_coveredThis proc returns true if the zone specified is covered by the clothing in question

Var Details

compatible_species

allow mutantraces to wear certain garments, see /datum/mutantrace/var/uses_human_clothes

material_piece

we want to use Z rather than Y incase anything gets rotated, it would look all jank

nodescripition

Makes it so the item doesn't show up upon examining, currently only applied for gloves

Proc Details

check_for_covered

This proc returns true if the zone specified is covered by the clothing in question

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/clothing/glasses/thermal.html b/obj/item/clothing/glasses/thermal.html new file mode 100644 index 0000000000000..5417af52ff53e --- /dev/null +++ b/obj/item/clothing/glasses/thermal.html @@ -0,0 +1 @@ +/obj/item/clothing/glasses/thermal - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

optical thermal scanner

Vars

upgradedFor seeing through walls

Var Details

upgraded

For seeing through walls

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/clothing/gloves.html b/obj/item/clothing/gloves.html new file mode 100644 index 0000000000000..a911f1052907b --- /dev/null +++ b/obj/item/clothing/gloves.html @@ -0,0 +1 @@ +/obj/item/clothing/gloves - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

gloves

Vars

fingertip_colorGlove fingertip color, for coloring some overlays
punch_damage_modifieradditive modifier to punch damage
which_handswhich hands is this glove on. So that we don't have a dozen blank iconstate in wear images for rings/etc. that are only on one side

Var Details

fingertip_color

Glove fingertip color, for coloring some overlays

punch_damage_modifier

additive modifier to punch damage

which_hands

which hands is this glove on. So that we don't have a dozen blank iconstate in wear images for rings/etc. that are only on one side

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/clothing/head/helmet/welding.html b/obj/item/clothing/head/helmet/welding.html new file mode 100644 index 0000000000000..9ab204bf93c50 --- /dev/null +++ b/obj/item/clothing/head/helmet/welding.html @@ -0,0 +1 @@ +/obj/item/clothing/head/helmet/welding - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

welding helmet

Procs

emote_handlerRan when the wearer emotes

Proc Details

emote_handler

Ran when the wearer emotes

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/clothing/head/wig.html b/obj/item/clothing/head/wig.html new file mode 100644 index 0000000000000..b67ba6b628f74 --- /dev/null +++ b/obj/item/clothing/head/wig.html @@ -0,0 +1 @@ +/obj/item/clothing/head/wig - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

toupée

Procs

setup_wigTakes a list of style ids to colors and generates a wig from it

Proc Details

setup_wig

Takes a list of style ids to colors and generates a wig from it

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/clothing/suit.html b/obj/item/clothing/suit.html new file mode 100644 index 0000000000000..12b75e3ced3dc --- /dev/null +++ b/obj/item/clothing/suit.html @@ -0,0 +1 @@ +/obj/item/clothing/suit - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

suit parent

Vars

coat_styleUsed for the toggle_hood component, should be the same as the default icon_state so it can get updated with medal rewards.
hoodedUsed for hoodies (and anything that uses the toggle_hood component)
over_hairIf TRUE the suit will hide whoever is wearing it's hair

Var Details

coat_style

Used for the toggle_hood component, should be the same as the default icon_state so it can get updated with medal rewards.

hooded

Used for hoodies (and anything that uses the toggle_hood component)

over_hair

If TRUE the suit will hide whoever is wearing it's hair

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/clothing/suit/hazard.html b/obj/item/clothing/suit/hazard.html new file mode 100644 index 0000000000000..df34bd84f5876 --- /dev/null +++ b/obj/item/clothing/suit/hazard.html @@ -0,0 +1 @@ +/obj/item/clothing/suit/hazard - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

abstract hazard suit

Vars

armor_iconWhat's the icon_state for the armored version of this suit?
armoredIs this suit armored?

Procs

armorChanges this suit's properties to be armored

Var Details

armor_icon

What's the icon_state for the armored version of this suit?

armored

Is this suit armored?

Proc Details

armor

Changes this suit's properties to be armored

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/device/analyzer.html b/obj/item/device/analyzer.html new file mode 100644 index 0000000000000..e26b8cdc02f5b --- /dev/null +++ b/obj/item/device/analyzer.html @@ -0,0 +1 @@ +/obj/item/device/analyzer - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

/obj/item/device/analyzer

Procs

addUpgrademethod to upgrade an analyzer if the correct upgrade cartridge is used on it

Proc Details

addUpgrade

method to upgrade an analyzer if the correct upgrade cartridge is used on it

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/device/analyzer/atmospheric.html b/obj/item/device/analyzer/atmospheric.html new file mode 100644 index 0000000000000..8268bc7210a07 --- /dev/null +++ b/obj/item/device/analyzer/atmospheric.html @@ -0,0 +1 @@ +/obj/item/device/analyzer/atmospheric - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

atmospheric analyzer

Vars

targetThe breach we are currently tracking
tracking_airgroupWe keep track of the airgroup so we can acquire a new breach after the old one is patched, even if the user is standing on space at the time
typeinfo_typeAtmos analyzer

Procs

find_breachSearch the current airgroup for space borders and point to the closest one
update_breachWhen our target is replaced (most likely no longer a breach), pick a new one

Var Details

target

The breach we are currently tracking

tracking_airgroup

We keep track of the airgroup so we can acquire a new breach after the old one is patched, even if the user is standing on space at the time

typeinfo_type

Atmos analyzer

Proc Details

find_breach

Search the current airgroup for space borders and point to the closest one

update_breach

When our target is replaced (most likely no longer a breach), pick a new one

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/device/analyzer/healthanalyzer.html b/obj/item/device/analyzer/healthanalyzer.html new file mode 100644 index 0000000000000..c63847cadee97 --- /dev/null +++ b/obj/item/device/analyzer/healthanalyzer.html @@ -0,0 +1 @@ +/obj/item/device/analyzer/healthanalyzer - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

health analyzer

Vars

typeinfo_typeHealth analyzer

Var Details

typeinfo_type

Health analyzer

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/device/detective_scanner.html b/obj/item/device/detective_scanner.html new file mode 100644 index 0000000000000..744e5f757b239 --- /dev/null +++ b/obj/item/device/detective_scanner.html @@ -0,0 +1 @@ +/obj/item/device/detective_scanner - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

forensic scanner

Vars

typeinfo_typeForensic scanner

Var Details

typeinfo_type

Forensic scanner

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/device/event_beacon.html b/obj/item/device/event_beacon.html new file mode 100644 index 0000000000000..d30b5f3df66ab --- /dev/null +++ b/obj/item/device/event_beacon.html @@ -0,0 +1 @@ +/obj/item/device/event_beacon - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Beacon deployer

Vars

spawner_keyThe ckey of the admin who spawned this

Var Details

spawner_key

The ckey of the admin who spawned this

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/device/fingerprinter.html b/obj/item/device/fingerprinter.html new file mode 100644 index 0000000000000..52762c22bf384 --- /dev/null +++ b/obj/item/device/fingerprinter.html @@ -0,0 +1 @@ +/obj/item/device/fingerprinter - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

fingerprinter

Vars

current_printsList of prints currently scanned into the device. Each print maps to the name of the owner.

Var Details

current_prints

List of prints currently scanned into the device. Each print maps to the name of the owner.

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/device/flash/conspiracy.html b/obj/item/device/flash/conspiracy.html new file mode 100644 index 0000000000000..5376acd1981aa --- /dev/null +++ b/obj/item/device/flash/conspiracy.html @@ -0,0 +1 @@ +/obj/item/device/flash/conspiracy - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/obj/item/device/flash/conspiracy

Vars

convert_cooldownHow long between successful conversions
convert_durationHow long the (private) actionbar is to convert

Var Details

convert_cooldown

How long between successful conversions

convert_duration

How long the (private) actionbar is to convert

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/device/gps.html b/obj/item/device/gps.html new file mode 100644 index 0000000000000..790a89baee53e --- /dev/null +++ b/obj/item/device/gps.html @@ -0,0 +1 @@ +/obj/item/device/gps - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

space GPS

Vars

wrenched_inis this wrenched in a cabinet frame?

Var Details

wrenched_in

is this wrenched in a cabinet frame?

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/device/infra.html b/obj/item/device/infra.html new file mode 100644 index 0000000000000..07d4796ecb4ea --- /dev/null +++ b/obj/item/device/infra.html @@ -0,0 +1 @@ +/obj/item/device/infra - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Laser Tripwire

Vars

typeinfo_typeLaser tripwire

Var Details

typeinfo_type

Laser tripwire

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/device/infra_sensor.html b/obj/item/device/infra_sensor.html new file mode 100644 index 0000000000000..9f830570a68b5 --- /dev/null +++ b/obj/item/device/infra_sensor.html @@ -0,0 +1 @@ +/obj/item/device/infra_sensor - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Infrared Sensor

Vars

typeinfo_typeInfrared sensor

Var Details

typeinfo_type

Infrared sensor

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/device/laser_designator.html b/obj/item/device/laser_designator.html new file mode 100644 index 0000000000000..801b77e260627 --- /dev/null +++ b/obj/item/device/laser_designator.html @@ -0,0 +1 @@ +/obj/item/device/laser_designator - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Laser Designator

Laser Designator & Airstrikes

Vars

in_useTRUE if an air strike is waiting to happen/happening
linked_gunThe gun that "fires" the shell
ship_looking_forTakes a string for a ship that's set in the linked_gun's vars, e.g. "Cairngorm"
target_overlayOverlay sprite for where the strike will land, set to null for no overlay
usesHow many times can this be used?

Var Details

in_use

TRUE if an air strike is waiting to happen/happening

linked_gun

The gun that "fires" the shell

ship_looking_for

Takes a string for a ship that's set in the linked_gun's vars, e.g. "Cairngorm"

target_overlay

Overlay sprite for where the strike will land, set to null for no overlay

uses

How many times can this be used?

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/device/light/zippo.html b/obj/item/device/light/zippo.html new file mode 100644 index 0000000000000..19026314cb749 --- /dev/null +++ b/obj/item/device/light/zippo.html @@ -0,0 +1 @@ +/obj/item/device/light/zippo - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Zippo lighter

Vars

enviromental_expose_tempexposure temp of passive enviromental heating
reagent_expose_tempexposure temp when heating reagents

Var Details

enviromental_expose_temp

exposure temp of passive enviromental heating

reagent_expose_temp

exposure temp when heating reagents

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/device/nukeop_commander_uplink.html b/obj/item/device/nukeop_commander_uplink.html new file mode 100644 index 0000000000000..774a7d8a09417 --- /dev/null +++ b/obj/item/device/nukeop_commander_uplink.html @@ -0,0 +1 @@ +/obj/item/device/nukeop_commander_uplink - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

nuclear commander uplink

Vars

purchase_flagsBitflags for what items this uplink can buy (see _std/defines/uplink.dm for flags)

Var Details

purchase_flags

Bitflags for what items this uplink can buy (see _std/defines/uplink.dm for flags)

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/device/pda2.html b/obj/item/device/pda2.html new file mode 100644 index 0000000000000..c6a7bf5d91f7a --- /dev/null +++ b/obj/item/device/pda2.html @@ -0,0 +1 @@ +/obj/item/device/pda2 - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

PDA

Vars

alert_ringtonesA list of ringtones tied to an alert -- Overrides whatever settings set for their mailgroup. Typically remains static in length
locked_bg_coloris the background colour of this PDA locked due to annoying propreitary software
mailgroup_ringtonesmailgroup-specific ringtones, added on the fly!
r_toneThe PDA's currently loaded ringtone set
r_tone_tempA temporary ringtone set for preview purposed
speaker_bustedSyndie sound programs can blow out the speakers and render it forever silent

Procs

ringtone2programTakes a ringtone datum and outputs the program that supposedly holds it

Var Details

alert_ringtones

A list of ringtones tied to an alert -- Overrides whatever settings set for their mailgroup. Typically remains static in length

locked_bg_color

is the background colour of this PDA locked due to annoying propreitary software

mailgroup_ringtones

mailgroup-specific ringtones, added on the fly!

r_tone

The PDA's currently loaded ringtone set

r_tone_temp

A temporary ringtone set for preview purposed

speaker_busted

Syndie sound programs can blow out the speakers and render it forever silent

Proc Details

ringtone2program

Takes a ringtone datum and outputs the program that supposedly holds it

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/device/prisoner_scanner.html b/obj/item/device/prisoner_scanner.html new file mode 100644 index 0000000000000..60bb368931061 --- /dev/null +++ b/obj/item/device/prisoner_scanner.html @@ -0,0 +1 @@ +/obj/item/device/prisoner_scanner - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

security RecordTrak

Vars

modeThe current setting
modesList of record settings
sechud_flagThe sechud flag that will be applied when scanning someone
typeinfo_typePrisoner scanner

Var Details

mode

The current setting

modes

List of record settings

sechud_flag

The sechud flag that will be applied when scanning someone

typeinfo_type

Prisoner scanner

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/device/radio.html b/obj/item/device/radio.html new file mode 100644 index 0000000000000..32435d6723abc --- /dev/null +++ b/obj/item/device/radio.html @@ -0,0 +1 @@ +/obj/item/device/radio - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

station bounced radio

Vars

brickedSet to make it not work, used by flock victory screech
bricked_msgMessage shown when you attempt to use the radio while bricked
doesMapTextSet to TRUE for your radio obj to have unconditional flying text. Override showMapText() to conditionalize it.
hardenedThis is for being able to run through signal jammers (just solar flares for now). acceptable values = 0 and 1.

Procs

associateRadioToMobHandles adding radio objs to the list of radios someone is hearing a message through.
generateMapTextRenders maptext to the receiving radio by default. Set textLoc to the loc you want to render the text on otherwise.
showMapTextHandles the displaying of maptext to a player; called on the actual object that the maptext is generating on. Override in child to change maptext behavior!

Var Details

bricked

Set to make it not work, used by flock victory screech

bricked_msg

Message shown when you attempt to use the radio while bricked

doesMapText

Set to TRUE for your radio obj to have unconditional flying text. Override showMapText() to conditionalize it.

hardened

This is for being able to run through signal jammers (just solar flares for now). acceptable values = 0 and 1.

Proc Details

associateRadioToMob

Handles adding radio objs to the list of radios someone is hearing a message through.

generateMapText

Renders maptext to the receiving radio by default. Set textLoc to the loc you want to render the text on otherwise.

showMapText

Handles the displaying of maptext to a player; called on the actual object that the maptext is generating on. Override in child to change maptext behavior!

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/device/reagentscanner.html b/obj/item/device/reagentscanner.html new file mode 100644 index 0000000000000..2e929e98ebcca --- /dev/null +++ b/obj/item/device/reagentscanner.html @@ -0,0 +1 @@ +/obj/item/device/reagentscanner - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

reagent scanner

Vars

typeinfo_typeReagent scanner

Var Details

typeinfo_type

Reagent scanner

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/device/speech_pro.html b/obj/item/device/speech_pro.html new file mode 100644 index 0000000000000..6cb3f50783677 --- /dev/null +++ b/obj/item/device/speech_pro.html @@ -0,0 +1 @@ +/obj/item/device/speech_pro - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Speech Pro

Vars

contextsCustom contextActions list so we can handle opening them ourselves
phrasesThe phrases that this device has available to it

Var Details

contexts

Custom contextActions list so we can handle opening them ourselves

phrases

The phrases that this device has available to it

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/device/t_scanner.html b/obj/item/device/t_scanner.html new file mode 100644 index 0000000000000..5308e624fc3a4 --- /dev/null +++ b/obj/item/device/t_scanner.html @@ -0,0 +1 @@ +/obj/item/device/t_scanner - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

T-ray scanner

Vars

typeinfo_typeT-ray scanner

Procs

set_onUpdate the inventory, ability, and context buttons

Var Details

typeinfo_type

T-ray scanner

Proc Details

set_on

Update the inventory, ability, and context buttons

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/device/timer.html b/obj/item/device/timer.html new file mode 100644 index 0000000000000..0b6419c3800bb --- /dev/null +++ b/obj/item/device/timer.html @@ -0,0 +1 @@ +/obj/item/device/timer - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

timer

Procs

get_min_timeWhen attached to a detonator we can't be set to detonate immediately

Proc Details

get_min_time

When attached to a detonator we can't be set to detonate immediately

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/device/transfer_valve.html b/obj/item/device/transfer_valve.html new file mode 100644 index 0000000000000..3e7129347936b --- /dev/null +++ b/obj/item/device/transfer_valve.html @@ -0,0 +1 @@ +/obj/item/device/transfer_valve - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

tank transfer valve

Vars

allow_wearableif true, allows adding cable to wear on back. TODO: refactor this out
p_classHEH

Procs

NewH E H
admin_command_vacuum_tanksvacuum out all attached tanks - for admin purposes, to defuse someone's 'self-defense TTV'
attach_tankAttach the tank the mob is currently holding

Var Details

allow_wearable

if true, allows adding cable to wear on back. TODO: refactor this out

p_class

HEH

Proc Details

New

H E H

admin_command_vacuum_tanks

vacuum out all attached tanks - for admin purposes, to defuse someone's 'self-defense TTV'

attach_tank

Attach the tank the mob is currently holding

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/device/transfer_valve/vr.html b/obj/item/device/transfer_valve/vr.html new file mode 100644 index 0000000000000..3105a2c1922d6 --- /dev/null +++ b/obj/item/device/transfer_valve/vr.html @@ -0,0 +1 @@ +/obj/item/device/transfer_valve/vr - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

VR explosive

Vars

update_counterHow many atmos ticks we have listened to thus far

Var Details

update_counter

How many atmos ticks we have listened to thus far

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/disk/data/floppy/manudrive.html b/obj/item/disk/data/floppy/manudrive.html new file mode 100644 index 0000000000000..d9b0e6bf81951 --- /dev/null +++ b/obj/item/disk/data/floppy/manudrive.html @@ -0,0 +1 @@ +/obj/item/disk/data/floppy/manudrive - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Standard ManuDrive: Empty

Vars

fablimit-1 Means it can be used unlimited time, its a lazy solution yet an effective one, numbers above 0 can only have things fabricated from those manudrives x amount of times.
temp_recipe_stringPut the recipe string here and itll make em into instances.

Var Details

fablimit

-1 Means it can be used unlimited time, its a lazy solution yet an effective one, numbers above 0 can only have things fabricated from those manudrives x amount of times.

temp_recipe_string

Put the recipe string here and itll make em into instances.

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/engivac.html b/obj/item/engivac.html new file mode 100644 index 0000000000000..d5a0aee2272f8 --- /dev/null +++ b/obj/item/engivac.html @@ -0,0 +1,3 @@ +/obj/item/engivac - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

engineering material vacuum

Procs

NewOVERRIDES FOR COMMON PROCS
attempt_fillReturns TRUE if we fit the target thing (or some of the thing if it's a stack of stuff) into the toolbox.
equippedChange worn sprite depending on slot
find_crud_on_turf
scan_for_floortilesSets current_stack to the first stack of floortiles we find in the toolbox, or null otherwise. Returns TRUE or FALSE respectively.
toolbox_contents_checkReturns TRUE if the toolbox should be accepted and FALSE if it should not
update_iconSPRITE-ALTERING PROCS

Proc Details

New

OVERRIDES FOR COMMON PROCS

attempt_fill

Returns TRUE if we fit the target thing (or some of the thing if it's a stack of stuff) into the toolbox.

equipped

Change worn sprite depending on slot

find_crud_on_turf

			VAC SPECIFIC HELPER PROCS
+
+

Find stuff on a turf and try to grab it. Returns TRUE if it manages to find and collect at least 1 thing

scan_for_floortiles

Sets current_stack to the first stack of floortiles we find in the toolbox, or null otherwise. Returns TRUE or FALSE respectively.

toolbox_contents_check

Returns TRUE if the toolbox should be accepted and FALSE if it should not

update_icon

SPRITE-ALTERING PROCS

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/extinguisher.html b/obj/item/extinguisher.html new file mode 100644 index 0000000000000..41d2992dec178 --- /dev/null +++ b/obj/item/extinguisher.html @@ -0,0 +1 @@ +/obj/item/extinguisher - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

fire extinguisher

Vars

reinforcedDoes it get destroyed from exploding

Var Details

reinforced

Does it get destroyed from exploding

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/fishing_rod.html b/obj/item/fishing_rod.html new file mode 100644 index 0000000000000..c4a798ebe6a41 --- /dev/null +++ b/obj/item/fishing_rod.html @@ -0,0 +1 @@ +/obj/item/fishing_rod - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

fishing rod

Vars

fishing_delayhow long to wait between casts in seconds - mainly so sounds dont overlap
fishing_speedaverage time to fish up something, in seconds - will vary on the upper and lower bounds by a maximum of 4 seconds, with a minimum time of 0.5 seconds.
is_fishingtrue if the rod is currently "fishing", false if it isnt
last_fishedset to TIME when fished, value is checked when deciding if the rod is currently on cooldown
tierwhat tier of rod is this? can be 0, 1 or 2

Var Details

fishing_delay

how long to wait between casts in seconds - mainly so sounds dont overlap

fishing_speed

average time to fish up something, in seconds - will vary on the upper and lower bounds by a maximum of 4 seconds, with a minimum time of 0.5 seconds.

is_fishing

true if the rod is currently "fishing", false if it isnt

last_fished

set to TIME when fished, value is checked when deciding if the rod is currently on cooldown

tier

what tier of rod is this? can be 0, 1 or 2

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/flag.html b/obj/item/flag.html new file mode 100644 index 0000000000000..95ad2e0d61d5d --- /dev/null +++ b/obj/item/flag.html @@ -0,0 +1 @@ +/obj/item/flag - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

flag

Vars

associated_flagMust by a type path of /obj/decal/poster/flag.

Var Details

associated_flag

Must by a type path of /obj/decal/poster/flag.

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/furniture_parts.html b/obj/item/furniture_parts.html new file mode 100644 index 0000000000000..7c82974ad362a --- /dev/null +++ b/obj/item/furniture_parts.html @@ -0,0 +1 @@ +/obj/item/furniture_parts - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

furniture parts

Vars

density_checkDo we want to prevent building on turfs with something dense there?

Var Details

density_check

Do we want to prevent building on turfs with something dense there?

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/gang_loot.html b/obj/item/gang_loot.html new file mode 100644 index 0000000000000..388e20324b212 --- /dev/null +++ b/obj/item/gang_loot.html @@ -0,0 +1 @@ +/obj/item/gang_loot - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

suspicious looking duffle bag

Smaller, handheld loot bags. These can be opened by hand by gang members

Vars

idiotThe civilian who has this in their hands, if the trap is active.
informantThe name of the informant who knows about this bag
owning_gangThe gang who should own this duffel bag
sealedWhether this bag is unopened. If TRUE, it will grant points when opened.
start_areaThe area this bag spawned in.
trackingWhether this bag is tracking its' location
trappedWhether this bag's trap is active
vis_controllerItems that haven't been removed from the bag. These will travel with it.

Procs

hideUses the boolean 'intact' value of the floor it's beneath to hide, if applicable

Var Details

idiot

The civilian who has this in their hands, if the trap is active.

informant

The name of the informant who knows about this bag

owning_gang

The gang who should own this duffel bag

sealed

Whether this bag is unopened. If TRUE, it will grant points when opened.

start_area

The area this bag spawned in.

tracking

Whether this bag is tracking its' location

trapped

Whether this bag's trap is active

vis_controller

Items that haven't been removed from the bag. These will travel with it.

Proc Details

hide

Uses the boolean 'intact' value of the floor it's beneath to hide, if applicable

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/gardentrowel.html b/obj/item/gardentrowel.html new file mode 100644 index 0000000000000..bbcbe155769b5 --- /dev/null +++ b/obj/item/gardentrowel.html @@ -0,0 +1 @@ +/obj/item/gardentrowel - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

garden trowel

Garden Trowel

Vars

genesThe genes of the plant when it was plucked
grow_levelThe growth level of the plant when it was plucked
plantyboiThe "plant" overlay of the plant
plantyboi_plantoverlayThe "plantoverlay" of the plant

Var Details

genes

The genes of the plant when it was plucked

grow_level

The growth level of the plant when it was plucked

plantyboi

The "plant" overlay of the plant

plantyboi_plantoverlay

The "plantoverlay" of the plant

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/gimmickbomb.html b/obj/item/gimmickbomb.html new file mode 100644 index 0000000000000..a9a56e5c0c18a --- /dev/null +++ b/obj/item/gimmickbomb.html @@ -0,0 +1 @@ +/obj/item/gimmickbomb - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

Don't spawn this directly!

Vars

typeinfo_typeGimmick bombs

Procs

dress_upEnforce a dress code upon victims

Var Details

typeinfo_type

Gimmick bombs

Proc Details

dress_up

Enforce a dress code upon victims

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/grab.html b/obj/item/grab.html new file mode 100644 index 0000000000000..70d040e4abc4d --- /dev/null +++ b/obj/item/grab.html @@ -0,0 +1 @@ +/obj/item/grab - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

grab

Procs

on_strong_grab_dropHelper for allowing people to move again for strong grabs so I can listen for the grab being deleted and run this

Proc Details

on_strong_grab_drop

Helper for allowing people to move again for strong grabs so I can listen for the grab being deleted and run this

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/gun.html b/obj/item/gun.html new file mode 100644 index 0000000000000..6af2eea2558c2 --- /dev/null +++ b/obj/item/gun.html @@ -0,0 +1,9 @@ +/obj/item/gun - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

gun

Vars

camera_recoil_enabledShould this gun kickback the camera when fired?
camera_recoil_multiplierMultiply the recoil value by this for camera movement
camera_recoil_swayIf enabled, camera recoil rattles perpendicular to the aim direction too (recommended)
camera_recoil_sway_maxMaximum recoil variance
camera_recoil_sway_minMinimum recoil variance
click_soundthe "out of ammo oh no" click
current_anim_recoilcurrent icon rotation, used to make sure the icon resets properly
icon_recoil_capAt maximum recoil, what angle should the icon state be at?
icon_recoil_enabledShould this gun's icon tilt?
recoilcurrent cumulative recoil value, for inaccuracy. leave at 0
recoil_inaccuracy_maxat recoil_max, the weapon has this much additional spread
recoil_last_shotlast time this was fired, for recoil purposes
recoil_maxWhat's the max cumulative recoil this gun can hit?
recoil_resethow long it takes for recoil to start resetting (6 deci seconds feels nice)
recoil_reset_addadditive reduction to accumulated recoil (affects low recoil recovery better than mult)
recoil_reset_multmultiplier to apply to recoil every .1 seconds (affects high recoil recovery)
recoil_stacking_amountHow much should recoil_strength go up by, every shot
recoil_stacking_enabledShould this gun gain more recoil strength as it shoots?
recoil_stacking_max_stacksHow many times can recoil-stacking_amount apply?
recoil_stacking_safe_stacksIgnore this many shots before stacking up (if you want 3-shot bursts not to be penalsied)
recoil_stackscurrent number of shots fired before recoil_reset elapsed.
recoil_strengthHow strong this gun's base recoil impulse is.
safe_spinCan this gun be *spin emoted without a chance to shoot yourself?

Procs

canshootCheck if the gun can shoot or not. user will be null if the gun is shot by a non-mob (gun component)
check_lockCHECK_LOCK +Call to run a weaponlock check vs the users implant +Return 0 for fail
check_valid_shotCHECK_VALID_SHOT +Call to check and make sure the shot is ok +Not called much atm might remove, is now inside shoot
set_current_projectilesetter for current_projectile so we can have a signal attached. do not set current_projectile on guns without this proc

Var Details

camera_recoil_enabled

Should this gun kickback the camera when fired?

camera_recoil_multiplier

Multiply the recoil value by this for camera movement

camera_recoil_sway

If enabled, camera recoil rattles perpendicular to the aim direction too (recommended)

camera_recoil_sway_max

Maximum recoil variance

camera_recoil_sway_min

Minimum recoil variance

click_sound

the "out of ammo oh no" click

current_anim_recoil

current icon rotation, used to make sure the icon resets properly

icon_recoil_cap

At maximum recoil, what angle should the icon state be at?

icon_recoil_enabled

Should this gun's icon tilt?

recoil

current cumulative recoil value, for inaccuracy. leave at 0

recoil_inaccuracy_max

at recoil_max, the weapon has this much additional spread

recoil_last_shot

last time this was fired, for recoil purposes

recoil_max

What's the max cumulative recoil this gun can hit?

recoil_reset

how long it takes for recoil to start resetting (6 deci seconds feels nice)

recoil_reset_add

additive reduction to accumulated recoil (affects low recoil recovery better than mult)

recoil_reset_mult

multiplier to apply to recoil every .1 seconds (affects high recoil recovery)

recoil_stacking_amount

How much should recoil_strength go up by, every shot

recoil_stacking_enabled

Should this gun gain more recoil strength as it shoots?

recoil_stacking_max_stacks

How many times can recoil-stacking_amount apply?

recoil_stacking_safe_stacks

Ignore this many shots before stacking up (if you want 3-shot bursts not to be penalsied)

recoil_stacks

current number of shots fired before recoil_reset elapsed.

recoil_strength

How strong this gun's base recoil impulse is.

safe_spin

Can this gun be *spin emoted without a chance to shoot yourself?

Proc Details

canshoot

Check if the gun can shoot or not. user will be null if the gun is shot by a non-mob (gun component)

check_lock

CHECK_LOCK +Call to run a weaponlock check vs the users implant +Return 0 for fail

check_valid_shot

CHECK_VALID_SHOT +Call to check and make sure the shot is ok +Not called much atm might remove, is now inside shoot

set_current_projectile

setter for current_projectile so we can have a signal attached. do not set current_projectile on guns without this proc

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/gun/energy.html b/obj/item/gun/energy.html new file mode 100644 index 0000000000000..76ca50a906a31 --- /dev/null +++ b/obj/item/gun/energy.html @@ -0,0 +1 @@ +/obj/item/gun/energy - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

energy weapon

Vars

uses_charge_overlayDoes this gun use charge overlays on the sprite?

Var Details

uses_charge_overlay

Does this gun use charge overlays on the sprite?

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/gun/energy/antique.html b/obj/item/gun/energy/antique.html new file mode 100644 index 0000000000000..cf8a15d6cd23c --- /dev/null +++ b/obj/item/gun/energy/antique.html @@ -0,0 +1 @@ +/obj/item/gun/energy/antique - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

antique laser gun

Vars

typeinfo_typeAntique laser gun

Var Details

typeinfo_type

Antique laser gun

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/gun/energy/blaster_pistol.html b/obj/item/gun/energy/blaster_pistol.html new file mode 100644 index 0000000000000..6249083ae4035 --- /dev/null +++ b/obj/item/gun/energy/blaster_pistol.html @@ -0,0 +1 @@ +/obj/item/gun/energy/blaster_pistol - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

GRF Zap-Pistole

Vars

typeinfo_typeParticle Blasters

Var Details

typeinfo_type

Particle Blasters

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/gun/energy/blaster_pod_wars.html b/obj/item/gun/energy/blaster_pod_wars.html new file mode 100644 index 0000000000000..0f087767308e5 --- /dev/null +++ b/obj/item/gun/energy/blaster_pod_wars.html @@ -0,0 +1 @@ +/obj/item/gun/energy/blaster_pod_wars - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

blaster pistol

Vars

typeinfo_typePW Blasters

Var Details

typeinfo_type

PW Blasters

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/gun/energy/crossbow.html b/obj/item/gun/energy/crossbow.html new file mode 100644 index 0000000000000..47c7cda37c87d --- /dev/null +++ b/obj/item/gun/energy/crossbow.html @@ -0,0 +1 @@ +/obj/item/gun/energy/crossbow - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Wenshen mini rad-poison-crossbow

Vars

typeinfo_typeRad Crossbow

Var Details

typeinfo_type

Rad Crossbow

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/gun/energy/egun.html b/obj/item/gun/energy/egun.html new file mode 100644 index 0000000000000..003f7ababf285 --- /dev/null +++ b/obj/item/gun/energy/egun.html @@ -0,0 +1 @@ +/obj/item/gun/energy/egun - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

energy gun

Vars

typeinfo_typeEGun

Var Details

typeinfo_type

EGun

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/gun/energy/ghost.html b/obj/item/gun/energy/ghost.html new file mode 100644 index 0000000000000..4cbc6e77e4721 --- /dev/null +++ b/obj/item/gun/energy/ghost.html @@ -0,0 +1 @@ +/obj/item/gun/energy/ghost - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

ectoplasmic destabilizer

Vars

typeinfo_typeGhost Gun

Var Details

typeinfo_type

Ghost Gun

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/gun/energy/makeshift.html b/obj/item/gun/energy/makeshift.html new file mode 100644 index 0000000000000..a0a410a9c9651 --- /dev/null +++ b/obj/item/gun/energy/makeshift.html @@ -0,0 +1 @@ +/obj/item/gun/energy/makeshift - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

makeshift laser rifle

Vars

heatHow much heat this weapon has after firing, the weapon breaks if this gets too high
heat_repairWhat step of repair are we on if we have broken? 0 = functional
our_cellWhat battery this gun uses
our_lightWhat light source we use for the rifle

Var Details

heat

How much heat this weapon has after firing, the weapon breaks if this gets too high

heat_repair

What step of repair are we on if we have broken? 0 = functional

our_cell

What battery this gun uses

our_light

What light source we use for the rifle

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/gun/energy/pickpocket.html b/obj/item/gun/energy/pickpocket.html new file mode 100644 index 0000000000000..bf5e0badd7ebe --- /dev/null +++ b/obj/item/gun/energy/pickpocket.html @@ -0,0 +1 @@ +/obj/item/gun/energy/pickpocket - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Super! Grapple Friend

Vars

typeinfo_typePickpocket Grapple, Grayshift's grif gun

Var Details

typeinfo_type

Pickpocket Grapple, Grayshift's grif gun

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/gun/energy/plasma_gun.html b/obj/item/gun/energy/plasma_gun.html new file mode 100644 index 0000000000000..edbf032826916 --- /dev/null +++ b/obj/item/gun/energy/plasma_gun.html @@ -0,0 +1 @@ +/obj/item/gun/energy/plasma_gun - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

plasma rifle

Vars

typeinfo_typeHunter

Var Details

typeinfo_type

Hunter

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/gun/energy/teleport.html b/obj/item/gun/energy/teleport.html new file mode 100644 index 0000000000000..77119101b6669 --- /dev/null +++ b/obj/item/gun/energy/teleport.html @@ -0,0 +1 @@ +/obj/item/gun/energy/teleport - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

teleport gun

Vars

typeinfo_typeTelegun

Var Details

typeinfo_type

Telegun

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/gun/energy/vuvuzela_gun.html b/obj/item/gun/energy/vuvuzela_gun.html new file mode 100644 index 0000000000000..e1fb97e56e491 --- /dev/null +++ b/obj/item/gun/energy/vuvuzela_gun.html @@ -0,0 +1 @@ +/obj/item/gun/energy/vuvuzela_gun - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

amplified vuvuzela

Vars

typeinfo_typeVUVUV

Var Details

typeinfo_type

VUVUV

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/gun/energy/wasp.html b/obj/item/gun/energy/wasp.html new file mode 100644 index 0000000000000..96f6f6de63245 --- /dev/null +++ b/obj/item/gun/energy/wasp.html @@ -0,0 +1 @@ +/obj/item/gun/energy/wasp - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

mini wasp-egg-crossbow

Vars

typeinfo_typeWasp Gun

Var Details

typeinfo_type

Wasp Gun

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/gun/flamethrower.html b/obj/item/gun/flamethrower.html new file mode 100644 index 0000000000000..832523aea08ce --- /dev/null +++ b/obj/item/gun/flamethrower.html @@ -0,0 +1 @@ +/obj/item/gun/flamethrower - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

flamethrower

Vars

adjustable_chem_amtCan this thing vary the amount of stuff loaded?
adjustable_tempCan this thing vary the temperature?
amt_chemHow much chem to try to stuff into the projectile
amt_chem_maxMaximum volume this thing can shoot per shot
base_temperatureSet the projectile to make the reagents be this hot
chem_divisorDivisor for chem amount - make all modes use chems at around the same rate
max_temperatureMaximum temperature this thing'll set the reagents to
min_temperatureMinimum temperature this thing'll set the reagents to
swappable_tanksCan we swap out the tanks? Mainly so backpack flamers don't lose their flamer

Procs

afterattackallow refilling the fuel tank by simply clicking the reagent dispensers
canshootJust check if there's a usable air and fuel tank
process_ammocheck for tank, pressure in tank, fuelltank, fuel in tank, and... then dump the stuff into it!
swap_anySwaps out the fuel tank

Var Details

adjustable_chem_amt

Can this thing vary the amount of stuff loaded?

adjustable_temp

Can this thing vary the temperature?

amt_chem

How much chem to try to stuff into the projectile

amt_chem_max

Maximum volume this thing can shoot per shot

base_temperature

Set the projectile to make the reagents be this hot

chem_divisor

Divisor for chem amount - make all modes use chems at around the same rate

max_temperature

Maximum temperature this thing'll set the reagents to

min_temperature

Minimum temperature this thing'll set the reagents to

swappable_tanks

Can we swap out the tanks? Mainly so backpack flamers don't lose their flamer

Proc Details

afterattack

allow refilling the fuel tank by simply clicking the reagent dispensers

canshoot

Just check if there's a usable air and fuel tank

process_ammo

check for tank, pressure in tank, fuelltank, fuel in tank, and... then dump the stuff into it!

swap_any

Swaps out the fuel tank

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/gun/kinetic.html b/obj/item/gun/kinetic.html new file mode 100644 index 0000000000000..7618f7298082d --- /dev/null +++ b/obj/item/gun/kinetic.html @@ -0,0 +1 @@ +/obj/item/gun/kinetic - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

kinetic weapon

Vars

add_residueDoes this gun add gunshot residue when fired? Kinetic guns should (Convair880).
allowDropReloadCan you Drag & Drop ammo onto the gun to reload?
allowReverseReloadCan you use the gun on ammo to reload?
ammo_catsCan be a list too. The .357 Mag revolver can also chamber .38 Spc rounds, for instance (Convair880).
ammobag_magazinesAssoc list of magazine types, standard ammo first, special ammo second
ammobag_restock_costHow many charges it costs an ammobag to fabricate ammo for this gun
ammobag_spec_requiredCan only special-ammo ammobags restock these?
auto_ejectDo we eject casings on firing, or on reload?
casings_to_ejectIf we don't automatically ejected them, we need to keep track (Convair880).
default_magazineWhat's the default magazine used in this gun? Set this in place of putting the type in New()
gildableCan this gun be affected by the [Helios] medal reward?
gildedIs this gun currently gilded by the [Helios] medal reward?
has_empty_stateDoes this gun have a special icon state for having no ammo lefT?
has_fire_anim_stateDoes this gun have a special icon state it should flick to when fired?
max_ammo_capacityHow much ammo can this gun hold? Don't make this null (Convair880).
max_move_amountHow many bullets get moved into this gun per action?
muzzle_flashicon_state of the muzzle flash of the gun (if any)
reload_cooldownWhat's the fastest speed we can reload this? 2 deciseconds is the default spam limiter.
sound_load_overrideDoes this gun have a special sound it makes when loading instead of the assigned ammo sound?

Var Details

add_residue

Does this gun add gunshot residue when fired? Kinetic guns should (Convair880).

allowDropReload

Can you Drag & Drop ammo onto the gun to reload?

allowReverseReload

Can you use the gun on ammo to reload?

ammo_cats

Can be a list too. The .357 Mag revolver can also chamber .38 Spc rounds, for instance (Convair880).

ammobag_magazines

Assoc list of magazine types, standard ammo first, special ammo second

ammobag_restock_cost

How many charges it costs an ammobag to fabricate ammo for this gun

ammobag_spec_required

Can only special-ammo ammobags restock these?

auto_eject

Do we eject casings on firing, or on reload?

casings_to_eject

If we don't automatically ejected them, we need to keep track (Convair880).

default_magazine

What's the default magazine used in this gun? Set this in place of putting the type in New()

gildable

Can this gun be affected by the [Helios] medal reward?

gilded

Is this gun currently gilded by the [Helios] medal reward?

has_empty_state

Does this gun have a special icon state for having no ammo lefT?

has_fire_anim_state

Does this gun have a special icon state it should flick to when fired?

max_ammo_capacity

How much ammo can this gun hold? Don't make this null (Convair880).

max_move_amount

How many bullets get moved into this gun per action?

muzzle_flash

icon_state of the muzzle flash of the gun (if any)

reload_cooldown

What's the fastest speed we can reload this? 2 deciseconds is the default spam limiter.

sound_load_override

Does this gun have a special sound it makes when loading instead of the assigned ammo sound?

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/gun/kinetic/foamdartgun/borg.html b/obj/item/gun/kinetic/foamdartgun/borg.html new file mode 100644 index 0000000000000..0f0f17020b00b --- /dev/null +++ b/obj/item/gun/kinetic/foamdartgun/borg.html @@ -0,0 +1 @@ +/obj/item/gun/kinetic/foamdartgun/borg - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

cybernetic foam dart gun

Vars

power_requirementThe amount of power deducted from a borg's cell when they fire this.

Var Details

power_requirement

The amount of power deducted from a borg's cell when they fire this.

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/gun/kinetic/pumpweapon.html b/obj/item/gun/kinetic/pumpweapon.html new file mode 100644 index 0000000000000..083329899b20d --- /dev/null +++ b/obj/item/gun/kinetic/pumpweapon.html @@ -0,0 +1 @@ +/obj/item/gun/kinetic/pumpweapon - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/obj/item/gun/kinetic/pumpweapon

Vars

hammer_readyWhether this shotgun is ready to fire (if the slide is not racked)
is_heavyWhether this shotgun needs an action to pump in each direction
pump_backWhether this shotgun's action is open (pump is pulled backwards)
pumpsoundThe path to the sound played when the shotgun is pumped, or if is_heavy, pulled back
pushsoundThe path to the sound played when the shotgun is pushed forwards, if is_heavy
rack_delayThe delay between racking this gun

Var Details

hammer_ready

Whether this shotgun is ready to fire (if the slide is not racked)

is_heavy

Whether this shotgun needs an action to pump in each direction

pump_back

Whether this shotgun's action is open (pump is pulled backwards)

pumpsound

The path to the sound played when the shotgun is pumped, or if is_heavy, pulled back

pushsound

The path to the sound played when the shotgun is pushed forwards, if is_heavy

rack_delay

The delay between racking this gun

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/gun/reagent.html b/obj/item/gun/reagent.html new file mode 100644 index 0000000000000..832258b0f0325 --- /dev/null +++ b/obj/item/gun/reagent.html @@ -0,0 +1 @@ +/obj/item/gun/reagent - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

reagent gun

Vars

fractionalwill fill a projectile only partway

Var Details

fractional

will fill a projectile only partway

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/halberd.html b/obj/item/halberd.html new file mode 100644 index 0000000000000..f5c77402ee21b --- /dev/null +++ b/obj/item/halberd.html @@ -0,0 +1 @@ +/obj/item/halberd - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Halberd

Vars

guardused to keep track of what melee properties we're using

Var Details

guard

used to keep track of what melee properties we're using

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/hand_tele.html b/obj/item/hand_tele.html new file mode 100644 index 0000000000000..b7c480150380a --- /dev/null +++ b/obj/item/hand_tele.html @@ -0,0 +1 @@ +/obj/item/hand_tele - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

hand tele

Vars

typeinfo_typeHAND TELE

Var Details

typeinfo_type

HAND TELE

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/implant/marionette.html b/obj/item/implant/marionette.html new file mode 100644 index 0000000000000..50dc5709b5ae0 --- /dev/null +++ b/obj/item/implant/marionette.html @@ -0,0 +1,15 @@ +/obj/item/implant/marionette - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

marionette implant

Vars

burned_outIf TRUE, this implant is burned out and permanently unusable.
emote_blacklistThis is some messy code, but emotes are like that. Anything in this list will not be triggered by the force-emote function.
heatThe implant's heat level, increased by various actions. Slowly reduces over time.
heat_danger_zoneIf heat is above this value, each activation has a chance to break the implant permanently.
heat_dissipationThe implant's heat dissipation. heat is reduced by this value every processing tick. +The value slowly ramps up over time, but is reset upon being activated. This makes short-term overuse very punishing, +but allows it to recover decently quickly if given time to rest.
linked_addressA network address that this implant is linked to. Can be null. +Packets sent by this address skip the passkey requirement, and if the implant burns out, +it will send a signal to this address to alert it.
passkeyA string that's (usually) unique to each implant. Signals must provide the correct passkey to issue commands to the implant.
prev_heatThe implant's previous heat level, set after it's adjusted. +This is used so that the implant can send an alert signal when it enters the danger zone for the first time.

Procs

adjust_heatAdjusts heat by to_heat. Also handles potentially burning out when overheating, and alerting a linked address if we enter the danger zone.
burn_outBurns out the implant and makes it permanently unusable.
send_activation_replySends an activation reply to the provided address. Any activation with a non-null fail_reason is considered a fail.
send_pingSends a ping packet to the provided address, containing information about the implant's status. +If special is non-null, it will be provided in the special parameter; +this is currently used to indicate when an implant goes above the danger zone when it was previously safe.

Var Details

burned_out

If TRUE, this implant is burned out and permanently unusable.

emote_blacklist

This is some messy code, but emotes are like that. Anything in this list will not be triggered by the force-emote function.

heat

The implant's heat level, increased by various actions. Slowly reduces over time.

heat_danger_zone

If heat is above this value, each activation has a chance to break the implant permanently.

heat_dissipation

The implant's heat dissipation. heat is reduced by this value every processing tick. +The value slowly ramps up over time, but is reset upon being activated. This makes short-term overuse very punishing, +but allows it to recover decently quickly if given time to rest.

linked_address

A network address that this implant is linked to. Can be null. +Packets sent by this address skip the passkey requirement, and if the implant burns out, +it will send a signal to this address to alert it.

passkey

A string that's (usually) unique to each implant. Signals must provide the correct passkey to issue commands to the implant.

prev_heat

The implant's previous heat level, set after it's adjusted. +This is used so that the implant can send an alert signal when it enters the danger zone for the first time.

Proc Details

adjust_heat

Adjusts heat by to_heat. Also handles potentially burning out when overheating, and alerting a linked address if we enter the danger zone.

burn_out

Burns out the implant and makes it permanently unusable.

send_activation_reply

Sends an activation reply to the provided address. Any activation with a non-null fail_reason is considered a fail.

send_ping

Sends a ping packet to the provided address, containing information about the implant's status. +If special is non-null, it will be provided in the special parameter; +this is currently used to indicate when an implant goes above the danger zone when it was previously safe.

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/implant/revenge.html b/obj/item/implant/revenge.html new file mode 100644 index 0000000000000..95ba2f5df4687 --- /dev/null +++ b/obj/item/implant/revenge.html @@ -0,0 +1,3 @@ +/obj/item/implant/revenge - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

YOU SHOULDN'T SEE THIS - TELL A CODER

Abstract supertype for implants that do something explodey-ish when you die. Includes functionality for scaling with implant number

Vars

powerMeans different things for different implants, but in a general sense how Powerful the effect is. Scales additively with implant number.

Procs

do_effectThis is where you put the actual effect the implant has on death (some kind of an explosion probably) +You probably want to call this parent after exploding or whatever

Var Details

power

Means different things for different implants, but in a general sense how Powerful the effect is. Scales additively with implant number.

Proc Details

do_effect

This is where you put the actual effect the implant has on death (some kind of an explosion probably) +You probably want to call this parent after exploding or whatever

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/instrument.html b/obj/item/instrument.html new file mode 100644 index 0000000000000..8436a9a9d6364 --- /dev/null +++ b/obj/item/instrument.html @@ -0,0 +1 @@ +/obj/item/instrument - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

instrument

Vars

default_keys_stringDefault keybinds, ranging from c2 to c7.
instrument_sound_directoryThe directory in which the sound files for the instrument are stored; represented as a string. Used for new interface instruments.
note_keys_stringString representing the keybinds used in keyboard mode

Procs

generate_keybindsCreates a string that is converted into the instrument keybinds for the interface using the list of notes an instrument has.

Var Details

default_keys_string

Default keybinds, ranging from c2 to c7.

instrument_sound_directory

The directory in which the sound files for the instrument are stored; represented as a string. Used for new interface instruments.

note_keys_string

String representing the keybinds used in keyboard mode

Proc Details

generate_keybinds

Creates a string that is converted into the instrument keybinds for the interface using the list of notes an instrument has.

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/interdictor_rod.html b/obj/item/interdictor_rod.html new file mode 100644 index 0000000000000..9e2116d7a0c5b --- /dev/null +++ b/obj/item/interdictor_rod.html @@ -0,0 +1 @@ +/obj/item/interdictor_rod - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Lambda phase-control rod

Vars

interdistHow far the interdictor constructed with this rod will extend its interdiction field. Also influences strength against non-localized phenomena.
power_multiplierIf present, influences the efficiency of interdictor operation. Lower number is more efficiency.

Var Details

interdist

How far the interdictor constructed with this rod will extend its interdiction field. Also influences strength against non-localized phenomena.

power_multiplier

If present, influences the efficiency of interdictor operation. Lower number is more efficiency.

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/lamp_manufacturer.html b/obj/item/lamp_manufacturer.html new file mode 100644 index 0000000000000..4427444b1a58e --- /dev/null +++ b/obj/item/lamp_manufacturer.html @@ -0,0 +1 @@ +/obj/item/lamp_manufacturer - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

miniaturized lamp manufacturer

Procs

add_wall_lightProcs for the action bars

Proc Details

add_wall_light

Procs for the action bars

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/light.html b/obj/item/light.html new file mode 100644 index 0000000000000..f4ccea6e0fd2d --- /dev/null +++ b/obj/item/light.html @@ -0,0 +1 @@ +/obj/item/light - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/obj/item/light

Vars

breakprobChance for the bulb to burst
burnprobChance for the bulb to burn out

Var Details

breakprob

Chance for the bulb to burst

burnprob

Chance for the bulb to burn out

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/lotteryTicket.html b/obj/item/lotteryTicket.html new file mode 100644 index 0000000000000..cef299d83bb19 --- /dev/null +++ b/obj/item/lotteryTicket.html @@ -0,0 +1 @@ +/obj/item/lotteryTicket - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

lottery ticket

Vars

lotteryRoundLottery rounds
numbers4 numbers between 1 and 3 gives a one in 81 chance of winning. It's 3^4 possible combinations.

Var Details

lotteryRound

Lottery rounds

numbers

4 numbers between 1 and 3 gives a one in 81 chance of winning. It's 3^4 possible combinations.

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/material_piece.html b/obj/item/material_piece.html new file mode 100644 index 0000000000000..d7e40cc7b3e7b --- /dev/null +++ b/obj/item/material_piece.html @@ -0,0 +1 @@ +/obj/item/material_piece - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

bar

Material piece

Vars

default_materialused for prefab bars

Var Details

default_material

used for prefab bars

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/mechanics.html b/obj/item/mechanics.html new file mode 100644 index 0000000000000..d989c1078602d --- /dev/null +++ b/obj/item/mechanics.html @@ -0,0 +1 @@ +/obj/item/mechanics - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

testhing

Vars

cabinet_bannedwhether or not this component is prevented from being anchored in cabinets
cabinet_onlywhether or not this component can only be used in cabinets
one_per_tileif true makes it so that only one component can be wrenched on the tile

Var Details

cabinet_banned

whether or not this component is prevented from being anchored in cabinets

cabinet_only

whether or not this component can only be used in cabinets

one_per_tile

if true makes it so that only one component can be wrenched on the tile

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/mechanics/hangman.html b/obj/item/mechanics/hangman.html new file mode 100644 index 0000000000000..8af4c2bb48617 --- /dev/null +++ b/obj/item/mechanics/hangman.html @@ -0,0 +1 @@ +/obj/item/mechanics/hangman - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

hangman game component

Vars

bad_guesses(single letter) guesses used so far
guessesif the puzzle was solved
letters(single letter) guesses used so far that didn't uncover anything
puzzle_currentalphabetical-only version of the puzzle
puzzle_filteredoriginal puzzle string
solvedcurrent alphabetical-only revealed puzzle

Procs

Newlist of not-yet-guessed letters

Var Details

bad_guesses

(single letter) guesses used so far

guesses

if the puzzle was solved

letters

(single letter) guesses used so far that didn't uncover anything

puzzle_current

alphabetical-only version of the puzzle

puzzle_filtered

original puzzle string

solved

current alphabetical-only revealed puzzle

Proc Details

New

list of not-yet-guessed letters

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/mechanics/movement.html b/obj/item/mechanics/movement.html new file mode 100644 index 0000000000000..fc5b69dcb713c --- /dev/null +++ b/obj/item/mechanics/movement.html @@ -0,0 +1,3 @@ +/obj/item/mechanics/movement - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

Movement Component

allows cabinets to move around

Procs

movement_stuffset our glide size in case it was changed +check if we are in a container or space and stop in that case
walk_checkchecks if we may move right now

Proc Details

movement_stuff

set our glide size in case it was changed +check if we are in a container or space and stop in that case

walk_check

checks if we may move right now

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/mechanics/textmanip.html b/obj/item/mechanics/textmanip.html new file mode 100644 index 0000000000000..cc1538d8f076c --- /dev/null +++ b/obj/item/mechanics/textmanip.html @@ -0,0 +1 @@ +/obj/item/mechanics/textmanip - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Text manipulation component

Vars

cap_firstdo we capitalize the first letter of the output
text_limitdo we limit the length of the output
trim_textdo we trim whitespace from the ends of the output
uppertext_modedo we enforce lowercase(false)/uppercase(true) or leave it as is

Var Details

cap_first

do we capitalize the first letter of the output

text_limit

do we limit the length of the output

trim_text

do we trim whitespace from the ends of the output

uppertext_mode

do we enforce lowercase(false)/uppercase(true) or leave it as is

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/megaphone.html b/obj/item/megaphone.html new file mode 100644 index 0000000000000..7c0cfa50c164c --- /dev/null +++ b/obj/item/megaphone.html @@ -0,0 +1 @@ +/obj/item/megaphone - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

megaphone

Vars

loudness_modAmount this modifies your speech loudness by, ranging from -1 to 2

Var Details

loudness_mod

Amount this modifies your speech loudness by, ranging from -1 to 2

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/old_grenade.html b/obj/item/old_grenade.html new file mode 100644 index 0000000000000..3fd524a0a722c --- /dev/null +++ b/obj/item/old_grenade.html @@ -0,0 +1 @@ +/obj/item/old_grenade - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

old grenade

Vars

launcher_damagedamage when loaded into a 40mm convesion chamber

Procs

launcher_cloneclone for grenade launcher purposes only. Not a real deep copy, just barely good enough to work for something that's going to be instantly detonated

Var Details

launcher_damage

damage when loaded into a 40mm convesion chamber

Proc Details

launcher_clone

clone for grenade launcher purposes only. Not a real deep copy, just barely good enough to work for something that's going to be instantly detonated

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/ore_scoop.html b/obj/item/ore_scoop.html new file mode 100644 index 0000000000000..7fef187439fe7 --- /dev/null +++ b/obj/item/ore_scoop.html @@ -0,0 +1 @@ +/obj/item/ore_scoop - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

ore scoop

Vars

collect_junkDoes this scoop pick up rock, ice etc.

Var Details

collect_junk

Does this scoop pick up rock, ice etc.

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/organ.html b/obj/item/organ.html new file mode 100644 index 0000000000000..ef60219eeedfd --- /dev/null +++ b/obj/item/organ.html @@ -0,0 +1 @@ +/obj/item/organ - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

organ

Vars

donor_originalWhoever had this organ first, the original owner
either_sideCan this organ be inserted on either side? (literally just kidneys, wegh)
in_bodyif the organ is currently acting as an organ in a body
regionIn which region is this organ supposed to be implanted? E.g. RIBS for the heart and lungs
surgery_contextsList of buttons we'll show when doing organ surgery
surgery_flagsWhich type of surgery tools do we need to operate on this organ?
transplantedIf our organ's been severed and reattached. Used by heads to preserve their appearance across icon updates if reattached

Procs

on_brokenWhat should happen each life tick when an organ is broken.

Var Details

donor_original

Whoever had this organ first, the original owner

either_side

Can this organ be inserted on either side? (literally just kidneys, wegh)

in_body

if the organ is currently acting as an organ in a body

region

In which region is this organ supposed to be implanted? E.g. RIBS for the heart and lungs

surgery_contexts

List of buttons we'll show when doing organ surgery

surgery_flags

Which type of surgery tools do we need to operate on this organ?

transplanted

If our organ's been severed and reattached. Used by heads to preserve their appearance across icon updates if reattached

Proc Details

on_broken

What should happen each life tick when an organ is broken.

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/organ/head.html b/obj/item/organ/head.html new file mode 100644 index 0000000000000..db98fc4a153d8 --- /dev/null +++ b/obj/item/organ/head.html @@ -0,0 +1,7 @@ +/obj/item/organ/head - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

head

Vars

head_appearance_flagsHolds the head appearance flags. So a transplanted head doesn't get overwritten
head_typeDefines what kind of head this is, for things like lizards being able to colorchange a transplanted lizardhead +Since we can't easily swap out one head for a different type

Procs

attack_selfTaking items off a head
update_iconThis proc does a full rebuild of the head's stored data +only call it if something changes the head in a major way, like becoming a lizard +it will cause the head to be rebuilt from the mob's appearanceholder!

Var Details

head_appearance_flags

Holds the head appearance flags. So a transplanted head doesn't get overwritten

head_type

Defines what kind of head this is, for things like lizards being able to colorchange a transplanted lizardhead +Since we can't easily swap out one head for a different type

Proc Details

attack_self

Taking items off a head

update_icon

This proc does a full rebuild of the head's stored data +only call it if something changes the head in a major way, like becoming a lizard +it will cause the head to be rebuilt from the mob's appearanceholder!

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/organ/kidney.html b/obj/item/organ/kidney.html new file mode 100644 index 0000000000000..7ea1ec5a8f95f --- /dev/null +++ b/obj/item/organ/kidney.html @@ -0,0 +1 @@ +/obj/item/organ/kidney - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

kidneys

Procs

randomize_modifierrandomizes the kidneys chem_metabolism_modifier to a value between its min and max
set_chem_metabolism_modifiersets the chem_metabolism_modifier for this kidney, clamping it to the min and max value and dividing it by 100

Proc Details

randomize_modifier

randomizes the kidneys chem_metabolism_modifier to a value between its min and max

set_chem_metabolism_modifier

sets the chem_metabolism_modifier for this kidney, clamping it to the min and max value and dividing it by 100

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/organ/lung.html b/obj/item/organ/lung.html new file mode 100644 index 0000000000000..8ff8799039aa2 --- /dev/null +++ b/obj/item/organ/lung.html @@ -0,0 +1 @@ +/obj/item/organ/lung - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

lungs

Procs

breatheReturn value indicates whether we have enough oxygen to breathe

Proc Details

breathe

Return value indicates whether we have enough oxygen to breathe

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/organ/stomach.html b/obj/item/organ/stomach.html new file mode 100644 index 0000000000000..6f38e9ade6ffb --- /dev/null +++ b/obj/item/organ/stomach.html @@ -0,0 +1 @@ +/obj/item/organ/stomach - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

stomach

Vars

capacityHow much food can we fit, based on fill_amt var on food items
digestion_per_tickAmount of reagents we digest from each bite per life tick, also how fast the bites dissolve
food_amountHow much food and other stuff we have (also based on fill_amt)
stomach_contentsStomach contents are actually stored in the mob so that things like matsci effects work

Procs

digest_mobsLOOK I'M ONLY REORGANISING THIS CODE OKAY, I AM NOT RESPONSIBLE FOR THIS DO NOT @ ME
food_valueHow much does this thing fill a stomach

Var Details

capacity

How much food can we fit, based on fill_amt var on food items

digestion_per_tick

Amount of reagents we digest from each bite per life tick, also how fast the bites dissolve

food_amount

How much food and other stuff we have (also based on fill_amt)

stomach_contents

Stomach contents are actually stored in the mob so that things like matsci effects work

Proc Details

digest_mobs

LOOK I'M ONLY REORGANISING THIS CODE OKAY, I AM NOT RESPONSIBLE FOR THIS DO NOT @ ME

food_value

How much does this thing fill a stomach

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/organ/tail.html b/obj/item/organ/tail.html new file mode 100644 index 0000000000000..540a87f741ab2 --- /dev/null +++ b/obj/item/organ/tail.html @@ -0,0 +1,4 @@ +/obj/item/organ/tail - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

tail

Severed tail images go in 'icons/obj/organ/tail.dmi' +on-mob tail images are defined by organ_image_icon +both severed and on-mob tail icon_states are defined by just icon_state +try to keep the names the same, or everything breaks

Vars

clothing_image_iconIf a monkey's getting a human tail
human_getting_monkeytailThe organ failure ability associated with this organ.
icon_piece_1if we need to run update_tail_icon
monkey_getting_humantailIf a human's getting a monkey tail
multipart_iconif we need to colorize it
tail_image_1if the tail has clothing sprites, set this to the appropriate icon

Var Details

clothing_image_icon

If a monkey's getting a human tail

human_getting_monkeytail

The organ failure ability associated with this organ.

icon_piece_1

if we need to run update_tail_icon

monkey_getting_humantail

If a human's getting a monkey tail

multipart_icon

if we need to colorize it

tail_image_1

if the tail has clothing sprites, set this to the appropriate icon

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/paper.html b/obj/item/paper.html new file mode 100644 index 0000000000000..bd88db76dfc41 --- /dev/null +++ b/obj/item/paper.html @@ -0,0 +1 @@ +/obj/item/paper - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

paper

Vars

scrollbarSome subtypes might want to hide the scrollbar

Var Details

scrollbar

Some subtypes might want to hide the scrollbar

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/paper/book/from_file/pocketguide.html b/obj/item/paper/book/from_file/pocketguide.html new file mode 100644 index 0000000000000..c85184adf6c94 --- /dev/null +++ b/obj/item/paper/book/from_file/pocketguide.html @@ -0,0 +1,2 @@ +/obj/item/paper/book/from_file/pocketguide - Goonstation 13
Goonstation 13 - Modules - Types

/obj/item/paper/book/from_file/pocketguide

JOB GUIDES / IN GAME GUIDES

+

Pocket Guides

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/paper/manufacturer_blueprint.html b/obj/item/paper/manufacturer_blueprint.html new file mode 100644 index 0000000000000..38fb2b660b2b5 --- /dev/null +++ b/obj/item/paper/manufacturer_blueprint.html @@ -0,0 +1 @@ +/obj/item/paper/manufacturer_blueprint - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

manufacturer blueprint

Manufacturer blueprints can be read by any manufacturer unit to add the referenced object to the unit's production options.

Vars

override_name_descIf non-zero, the name and description of this blueprint will be overriden on New() with standardized values

Var Details

override_name_desc

If non-zero, the name and description of this blueprint will be overriden on New() with standardized values

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/paper/newspaper.html b/obj/item/paper/newspaper.html new file mode 100644 index 0000000000000..8b93bb6499165 --- /dev/null +++ b/obj/item/paper/newspaper.html @@ -0,0 +1 @@ +/obj/item/paper/newspaper - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

Newspaper

A blank newspaper, which will randomly generate a headline usually.

Procs

generate_articlegenerates a random newspaper article.

Proc Details

generate_article

generates a random newspaper article.

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/paper_bin.html b/obj/item/paper_bin.html new file mode 100644 index 0000000000000..d5dc13766c4e6 --- /dev/null +++ b/obj/item/paper_bin.html @@ -0,0 +1 @@ +/obj/item/paper_bin - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

paper bin

Vars

bin_typethe item type this bin contains, should always be a subtype for /obj/item for reasons...

Var Details

bin_type

the item type this bin contains, should always be a subtype for /obj/item for reasons...

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/parts.html b/obj/item/parts.html new file mode 100644 index 0000000000000..5b3b8a121101a --- /dev/null +++ b/obj/item/parts.html @@ -0,0 +1 @@ +/obj/item/parts - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

body part

Vars

accepts_normal_human_overlaysfor avoiding istype in update icon
bodyImageUsed by getMobIcon to pass off to update_body. Typically holds image(the_limb's_icon, "[src.slot]")
bonesfor medical crap
breaks_cuffsCan break cuffs/shackles instantly if both limbs have this set. Has to be this high because limb pathing is a fuck.
decomp_affectedset to TRUE if this limb has decomposition icons
easy_attachAttachable without surgery?
fingertip_colorfingertip_color
handfoot_overlay_1Gets sent to update_body to overlay something onto this hand/foot, like kudzu vines. Only handles the hand/foot, not the limb!
handfoot_overlay_1_colorThe color reference. null for uncolored("#ffffff"), CUST_1/2/3 for one of the mob's haircolors, SKIN_TONE for the mob's skintone
handfoot_overlay_1_iconThe icon of this overlay
handfoot_overlay_1_stateThe state of this overlay
handlistPartUsed by getHandIconState to determine the attached-to-mob-sprite hand sprite
kind_of_limbWhat kind of limb is this? So we dont have to do dozens of typechecks. is bitflags, check defines/item.dm
limb_dataused by arms for attack_hand overrides
limb_is_transplantedLimb is not attached to its original owner
limb_is_unnaturalIf TRUE, it'll resist mutantraces trying to change them
limb_overlay_1Gets sent to update_body to overlay something onto this limb, like kudzu vines. Only handles the limb, not the hand/foot!
limb_overlay_1_colorThe color reference. null for uncolored("#ffffff"), CUST_1/2/3 for one of the mob's haircolors, SKIN_TONE for the mob's skintone
limb_overlay_1_iconThe icon of this overlay
limb_overlay_1_stateThe state of this overlay
limb_typethe type of limb_data
movement_modifierWhen attached, applies this movement modifier
no_iconif the only icon is above the clothes layer ie. in the handlistPart list
partIconThe icon the mob sprite uses when attached, change if the limb's icon isnt in 'icons/mob/human.dmi'
partIconModifierThe part of the icon state that differs per part, ie "brullbar" for brullbar arms
partlistPartUsed by getPartIconState to determine the attached-to-mob-sprite non-hand sprite
random_limb_blacklistedCan we roll this limb as a random limb?
remove_objectset to create an item when severed rather than removing the arm itself
remove_stage2 will fall off, 3 is removed. This should use defines honestly but eh.
severed_overlay_1_colorThe color reference. null for uncolored("#ffffff"), CUST_1/2/3 for one of the mob's haircolors, SKIN_TONE for the mob's skintone
severed_overlay_1_iconThe icon of this overlay
severed_overlay_1_stateThe state of this overlay
sideused for streak direction
skintonedis this affected by human skin tones? Also if the severed limb uses a separate bloody-stump icon layered on top
slotwhich part of the person or robot suit does it go on???????
step_image_statefor legs, we leave footprints in this style (located in blood.dmi)
streak_decalwhat streaks everywhere when it's cut off?
streak_descriptorbloody, oily, etc

Procs

get_fingertip_colorFingertip color, used to tint overlays
on_lifeCalled every life tick when attached to a mob

Var Details

accepts_normal_human_overlays

for avoiding istype in update icon

bodyImage

Used by getMobIcon to pass off to update_body. Typically holds image(the_limb's_icon, "[src.slot]")

bones

for medical crap

breaks_cuffs

Can break cuffs/shackles instantly if both limbs have this set. Has to be this high because limb pathing is a fuck.

decomp_affected

set to TRUE if this limb has decomposition icons

easy_attach

Attachable without surgery?

fingertip_color

fingertip_color

handfoot_overlay_1

Gets sent to update_body to overlay something onto this hand/foot, like kudzu vines. Only handles the hand/foot, not the limb!

handfoot_overlay_1_color

The color reference. null for uncolored("#ffffff"), CUST_1/2/3 for one of the mob's haircolors, SKIN_TONE for the mob's skintone

handfoot_overlay_1_icon

The icon of this overlay

handfoot_overlay_1_state

The state of this overlay

handlistPart

Used by getHandIconState to determine the attached-to-mob-sprite hand sprite

kind_of_limb

What kind of limb is this? So we dont have to do dozens of typechecks. is bitflags, check defines/item.dm

limb_data

used by arms for attack_hand overrides

limb_is_transplanted

Limb is not attached to its original owner

limb_is_unnatural

If TRUE, it'll resist mutantraces trying to change them

limb_overlay_1

Gets sent to update_body to overlay something onto this limb, like kudzu vines. Only handles the limb, not the hand/foot!

limb_overlay_1_color

The color reference. null for uncolored("#ffffff"), CUST_1/2/3 for one of the mob's haircolors, SKIN_TONE for the mob's skintone

limb_overlay_1_icon

The icon of this overlay

limb_overlay_1_state

The state of this overlay

limb_type

the type of limb_data

movement_modifier

When attached, applies this movement modifier

no_icon

if the only icon is above the clothes layer ie. in the handlistPart list

partIcon

The icon the mob sprite uses when attached, change if the limb's icon isnt in 'icons/mob/human.dmi'

partIconModifier

The part of the icon state that differs per part, ie "brullbar" for brullbar arms

partlistPart

Used by getPartIconState to determine the attached-to-mob-sprite non-hand sprite

random_limb_blacklisted

Can we roll this limb as a random limb?

remove_object

set to create an item when severed rather than removing the arm itself

remove_stage

2 will fall off, 3 is removed. This should use defines honestly but eh.

severed_overlay_1_color

The color reference. null for uncolored("#ffffff"), CUST_1/2/3 for one of the mob's haircolors, SKIN_TONE for the mob's skintone

severed_overlay_1_icon

The icon of this overlay

severed_overlay_1_state

The state of this overlay

side

used for streak direction

skintoned

is this affected by human skin tones? Also if the severed limb uses a separate bloody-stump icon layered on top

slot

which part of the person or robot suit does it go on???????

step_image_state

for legs, we leave footprints in this style (located in blood.dmi)

streak_decal

what streaks everywhere when it's cut off?

streak_descriptor

bloody, oily, etc

Proc Details

get_fingertip_color

Fingertip color, used to tint overlays

on_life

Called every life tick when attached to a mob

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/parts/human_parts.html b/obj/item/parts/human_parts.html new file mode 100644 index 0000000000000..6c8228f4f94cf --- /dev/null +++ b/obj/item/parts/human_parts.html @@ -0,0 +1 @@ +/obj/item/parts/human_parts - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

human parts

Procs

colorize_limb_iconDetermines what the limb's skin tone should be
get_owner_appearance_holderGets an appearanceholder, either the owner's or the one in the limb
set_limb_icon_colorationApplies the correct (hopefully) colors to the severed limbs
setup_limb_overlayAssembles the limb's overlays, if any

Proc Details

colorize_limb_icon

Determines what the limb's skin tone should be

get_owner_appearance_holder

Gets an appearanceholder, either the owner's or the one in the limb

set_limb_icon_coloration

Applies the correct (hopefully) colors to the severed limbs

setup_limb_overlay

Assembles the limb's overlays, if any

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/parts/human_parts/arm/left/abomination.html b/obj/item/parts/human_parts/arm/left/abomination.html new file mode 100644 index 0000000000000..c18b73c227270 --- /dev/null +++ b/obj/item/parts/human_parts/arm/left/abomination.html @@ -0,0 +1 @@ +/obj/item/parts/human_parts/arm/left/abomination - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

left chitinous tendril

Vars

limb_is_unnaturalAbout as unnatural as it gets

Var Details

limb_is_unnatural

About as unnatural as it gets

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/parts/human_parts/arm/left/brullbar.html b/obj/item/parts/human_parts/arm/left/brullbar.html new file mode 100644 index 0000000000000..cac49f725387b --- /dev/null +++ b/obj/item/parts/human_parts/arm/left/brullbar.html @@ -0,0 +1 @@ +/obj/item/parts/human_parts/arm/left/brullbar - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

left brullbar arm

Vars

limb_is_unnaturalBrullbar are pretty unnatural, and most people'd miss em if they suddenly turned into a lizard arm

Var Details

limb_is_unnatural

Brullbar are pretty unnatural, and most people'd miss em if they suddenly turned into a lizard arm

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/parts/human_parts/arm/left/item.html b/obj/item/parts/human_parts/arm/left/item.html new file mode 100644 index 0000000000000..5f522491675c7 --- /dev/null +++ b/obj/item/parts/human_parts/arm/left/item.html @@ -0,0 +1 @@ +/obj/item/parts/human_parts/arm/left/item - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

left item arm

Vars

limb_is_unnaturalNo more yee eating csaber arms
original_flagsuses defines and flags to determine if you can drop or remove it.

Var Details

limb_is_unnatural

No more yee eating csaber arms

original_flags

uses defines and flags to determine if you can drop or remove it.

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/parts/human_parts/arm/left/synth.html b/obj/item/parts/human_parts/arm/left/synth.html new file mode 100644 index 0000000000000..466ea9ebeedf5 --- /dev/null +++ b/obj/item/parts/human_parts/arm/left/synth.html @@ -0,0 +1 @@ +/obj/item/parts/human_parts/arm/left/synth - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

synthetic left arm

Vars

limb_is_unnaturalPlants are pretty unnatural

Var Details

limb_is_unnatural

Plants are pretty unnatural

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/parts/human_parts/arm/left/zombie.html b/obj/item/parts/human_parts/arm/left/zombie.html new file mode 100644 index 0000000000000..27207f4998944 --- /dev/null +++ b/obj/item/parts/human_parts/arm/left/zombie.html @@ -0,0 +1 @@ +/obj/item/parts/human_parts/arm/left/zombie - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

left rotten arm

Vars

limb_is_unnaturalSupernatural if not abnormally gross

Var Details

limb_is_unnatural

Supernatural if not abnormally gross

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/parts/human_parts/arm/right/brullbar.html b/obj/item/parts/human_parts/arm/right/brullbar.html new file mode 100644 index 0000000000000..6d89d5b2b2cbd --- /dev/null +++ b/obj/item/parts/human_parts/arm/right/brullbar.html @@ -0,0 +1 @@ +/obj/item/parts/human_parts/arm/right/brullbar - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

right brullbar arm

Vars

limb_is_unnaturalIf you went through the trouble to get yourself a wendy arm, you should keep it no matter how inhuman you become

Var Details

limb_is_unnatural

If you went through the trouble to get yourself a wendy arm, you should keep it no matter how inhuman you become

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/parts/human_parts/arm/right/item.html b/obj/item/parts/human_parts/arm/right/item.html new file mode 100644 index 0000000000000..1770f5c10facf --- /dev/null +++ b/obj/item/parts/human_parts/arm/right/item.html @@ -0,0 +1 @@ +/obj/item/parts/human_parts/arm/right/item - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

right item arm

Vars

limb_is_unnaturalAlso, item arms are supposedly junk jammed into a severed limb's socket
original_flagsuses defines and flags to determine if you can drop or remove it.

Var Details

limb_is_unnatural

Also, item arms are supposedly junk jammed into a severed limb's socket

original_flags

uses defines and flags to determine if you can drop or remove it.

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/parts/robot_parts.html b/obj/item/parts/robot_parts.html new file mode 100644 index 0000000000000..a5f5d281ac961 --- /dev/null +++ b/obj/item/parts/robot_parts.html @@ -0,0 +1 @@ +/obj/item/parts/robot_parts - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

robot parts

Vars

limb_is_unnaturalRobot limbs shouldn't get replaced through mutant race changes
powerdraindoes this part consume any extra power
weightCurrently vestigal variable previously used for speed, being left for potiental future application

Procs

ropart_ex_actFor special explosion behaviour, explosive damage is handled in ropart_take_damage

Var Details

limb_is_unnatural

Robot limbs shouldn't get replaced through mutant race changes

powerdrain

does this part consume any extra power

weight

Currently vestigal variable previously used for speed, being left for potiental future application

Proc Details

ropart_ex_act

For special explosion behaviour, explosive damage is handled in ropart_take_damage

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/parts/robot_parts/head.html b/obj/item/parts/robot_parts/head.html new file mode 100644 index 0000000000000..d14dcc1faf1ad --- /dev/null +++ b/obj/item/parts/robot_parts/head.html @@ -0,0 +1 @@ +/obj/item/parts/robot_parts/head - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

cyborg head

Vars

modelod (light-on-dark) or dol (dark-on-light)

Var Details

mode

lod (light-on-dark) or dol (dark-on-light)

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/parts/robot_parts/robot_frame.html b/obj/item/parts/robot_parts/robot_frame.html new file mode 100644 index 0000000000000..c72a4558a4047 --- /dev/null +++ b/obj/item/parts/robot_parts/robot_frame.html @@ -0,0 +1 @@ +/obj/item/parts/robot_parts/robot_frame - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

robot frame

Vars

syndicateThis will make the borg a syndie one

Var Details

syndicate

This will make the borg a syndie one

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/pen.html b/obj/item/pen.html new file mode 100644 index 0000000000000..ca0c953256f5e --- /dev/null +++ b/obj/item/pen.html @@ -0,0 +1,3 @@ +/obj/item/pen - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

pen

Procs

reset_colorReset the color of this crayon. Default behavior is to reset to initial color, but random crayons might save their color and rainbow ones +might just re-randomize, etc

Proc Details

reset_color

Reset the color of this crayon. Default behavior is to reset to initial color, but random crayons might save their color and rainbow ones +might just re-randomize, etc

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/pet_carrier.html b/obj/item/pet_carrier.html new file mode 100644 index 0000000000000..7a0f5fbdf97cd --- /dev/null +++ b/obj/item/pet_carrier.html @@ -0,0 +1,6 @@ +/obj/item/pet_carrier - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

Pet carriers.

Code by DisturbHerb, icons by Azwald/Sunkiisu.

+

A handheld item which can hold some mob instances inside with support for visually displaying its occupants with vis_contents. +This was created without access to the pre-existing chicken carrier code so it could be pretty bad.

+

The icon for the carrier is constructed using a base where two /obj/dummys are layered on top. These dummy objects are held in the carrier's +vis_contents and each of them hold the mobs and the door of the carrier. The reason why the vis_contents of vis_contents_proxy hold the mobs rather +than the carrier doing so directly is so that an alpha mask can prevent parts of the occupants from rendering outside of the inside of the carrier.

Vars

actionbar_durationTime it takes for each action (eg. grabbing, releasing).
allowed_mob_typesPlease override this in child types to specify what can actually fit in.
can_break_outIf FALSE, an occupant cannot escape the carrier on their own.
carrier_alpha_maskAlpha mask icon state for cutting out the mob on non-transparent pixels.
carrier_max_capacityHow many mobs can fit inside the crate. Usually not overridden by anything, this is to let the system be permissive for var-editing.
carrier_occupantsA list of the current occupants inside the carrier.
carrier_open_item_stateCarrier item state names.
carrier_vis_flagsCarrier-related (grate_proxy, vis_contents_proxy) vis_flags.
damage_per_resistThe damage dealt to the door's health upon resisting.
default_mob_typeType path, If not null, the pet carrier will spawn with one of this mob on New().
door_healthCauses the door to open and release its occupants when it reaches 0, subsequently resetting itself to the maximum.
empty_carrier_icon_stateEmpty carrier icon state name.
explicit_name_limitNumber of mobs named explicitly on examine() before switching to "there's a lot of mobs in here wow".
gildedFor Noah's Shuttle medal
grate_open_icon_stateGrate icon state names.
grate_proxyGrate object to be held in src.vis_contents
mob_vis_flagsMob-specific vis_flags.
release_mob_icon_stateThe icon_state for the src.RELEASE_MOB() actionbar.
trap_mob_icon_stateThe icon_state for the src.TRAP_MOB() actionbar.
vis_contents_proxyProxy object for storing the vis_contents of each occupant, which itself is contained in the vis_contents of the parent carrier.

Procs

add_mobDirectly adds a target mob to the carrier.
eject_mobDirectly ejects a target mob from the carrier.
release_mobCalled when a given mob/user releases an mob after an actionbar.
take_door_damageDeals damage to the door. If the remaining health <= 0, release everyone and reset the carrier.
trap_mobCalled when a given mob/user steals a mob after an actionbar.

Var Details

actionbar_duration

Time it takes for each action (eg. grabbing, releasing).

allowed_mob_types

Please override this in child types to specify what can actually fit in.

can_break_out

If FALSE, an occupant cannot escape the carrier on their own.

carrier_alpha_mask

Alpha mask icon state for cutting out the mob on non-transparent pixels.

carrier_max_capacity

How many mobs can fit inside the crate. Usually not overridden by anything, this is to let the system be permissive for var-editing.

carrier_occupants

A list of the current occupants inside the carrier.

carrier_open_item_state

Carrier item state names.

carrier_vis_flags

Carrier-related (grate_proxy, vis_contents_proxy) vis_flags.

damage_per_resist

The damage dealt to the door's health upon resisting.

default_mob_type

Type path, If not null, the pet carrier will spawn with one of this mob on New().

door_health

Causes the door to open and release its occupants when it reaches 0, subsequently resetting itself to the maximum.

empty_carrier_icon_state

Empty carrier icon state name.

explicit_name_limit

Number of mobs named explicitly on examine() before switching to "there's a lot of mobs in here wow".

gilded

For Noah's Shuttle medal

grate_open_icon_state

Grate icon state names.

grate_proxy

Grate object to be held in src.vis_contents

mob_vis_flags

Mob-specific vis_flags.

release_mob_icon_state

The icon_state for the src.RELEASE_MOB() actionbar.

trap_mob_icon_state

The icon_state for the src.TRAP_MOB() actionbar.

vis_contents_proxy

Proxy object for storing the vis_contents of each occupant, which itself is contained in the vis_contents of the parent carrier.

Proc Details

add_mob

Directly adds a target mob to the carrier.

eject_mob

Directly ejects a target mob from the carrier.

release_mob

Called when a given mob/user releases an mob after an actionbar.

take_door_damage

Deals damage to the door. If the remaining health <= 0, release everyone and reset the carrier.

trap_mob

Called when a given mob/user steals a mob after an actionbar.

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/photo.html b/obj/item/photo.html new file mode 100644 index 0000000000000..477efd72e6940 --- /dev/null +++ b/obj/item/photo.html @@ -0,0 +1 @@ +/obj/item/photo - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

photo

Procs

render_photo_imageResize and update photo overlay (layer)

Proc Details

render_photo_image

Resize and update photo overlay (layer)

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/pinpointer.html b/obj/item/pinpointer.html new file mode 100644 index 0000000000000..f745f47bd7591 --- /dev/null +++ b/obj/item/pinpointer.html @@ -0,0 +1 @@ +/obj/item/pinpointer - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

pinpointer

Vars

activedo not set directly, use turn_on and turn_off
target_criteriatarget type to search for in world
target_refexact target reference

Var Details

active

do not set directly, use turn_on and turn_off

target_criteria

target type to search for in world

target_ref

exact target reference

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/pipebomb/bomb.html b/obj/item/pipebomb/bomb.html new file mode 100644 index 0000000000000..511f4bfd24774 --- /dev/null +++ b/obj/item/pipebomb/bomb.html @@ -0,0 +1 @@ +/obj/item/pipebomb/bomb - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

pipe bomb

Procs

set_up_special_ingredientsThis proc handles the addition of special effects to the pipebomb. Pass a list with the items to items_to_account for this

Proc Details

set_up_special_ingredients

This proc handles the addition of special effects to the pipebomb. Pass a list with the items to items_to_account for this

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/pipebomb/frame.html b/obj/item/pipebomb/frame.html new file mode 100644 index 0000000000000..ab5eb9a2219a8 --- /dev/null +++ b/obj/item/pipebomb/frame.html @@ -0,0 +1 @@ +/obj/item/pipebomb/frame - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

pipe frame

Procs

mousetrap_roller_craftingmousetrap roller crafting proc
pipebomb_cablingPipebomb cabling proc
pipebomb_fillingPipebomb fuel filling proc
pipebomb_stuffingPipebomb special effect filling proc
pipeframe_weldingPipeframe welding proc
pipeshot_craftingpipeshot crafting proc
pipeshot_fillingPipeshot fuel filling proc
slamgun_craftingSlamgun crafting proc
standard_pipebomb_craftingStandard pipebomb without assemblies
zipgun_craftingZipgun crafting proc

Proc Details

mousetrap_roller_crafting

mousetrap roller crafting proc

pipebomb_cabling

Pipebomb cabling proc

pipebomb_filling

Pipebomb fuel filling proc

pipebomb_stuffing

Pipebomb special effect filling proc

pipeframe_welding

Pipeframe welding proc

pipeshot_crafting

pipeshot crafting proc

pipeshot_filling

Pipeshot fuel filling proc

slamgun_crafting

Slamgun crafting proc

standard_pipebomb_crafting

Standard pipebomb without assemblies

zipgun_crafting

Zipgun crafting proc

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/plant/flower/rose/poisoned.html b/obj/item/plant/flower/rose/poisoned.html new file mode 100644 index 0000000000000..5b0d266224698 --- /dev/null +++ b/obj/item/plant/flower/rose/poisoned.html @@ -0,0 +1 @@ +/obj/item/plant/flower/rose/poisoned - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/obj/item/plant/flower/rose/poisoned

Vars

trickTrick roses don't poison on attack, only on pickup

Var Details

trick

Trick roses don't poison on attack, only on pickup

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/plant/flower/sunflower.html b/obj/item/plant/flower/sunflower.html new file mode 100644 index 0000000000000..8dd4d2a24bf70 --- /dev/null +++ b/obj/item/plant/flower/sunflower.html @@ -0,0 +1 @@ +/obj/item/plant/flower/sunflower - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

sunflower

Vars

current_seed_counthow many seeds the flower has left
initial_seed_counthow many seeds the flower started with

Var Details

current_seed_count

how many seeds the flower has left

initial_seed_count

how many seeds the flower started with

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/plant/tumbling_creeper.html b/obj/item/plant/tumbling_creeper.html new file mode 100644 index 0000000000000..63956e94bd484 --- /dev/null +++ b/obj/item/plant/tumbling_creeper.html @@ -0,0 +1 @@ +/obj/item/plant/tumbling_creeper - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

tumbling creeper

Vars

armedThis determinates if the trap is armed or not
armed_forcehow much damage the trap does when stepped upon. Will be set when harvested
crashed_forcehow much damage the trap does when crashed into. Will be set when harvested
target_zonewhich zone the trap tries to target and calculate the damage resist from

Var Details

armed

This determinates if the trap is armed or not

armed_force

how much damage the trap does when stepped upon. Will be set when harvested

crashed_force

how much damage the trap does when crashed into. Will be set when harvested

target_zone

which zone the trap tries to target and calculate the damage resist from

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/plantanalyzer.html b/obj/item/plantanalyzer.html new file mode 100644 index 0000000000000..fe6842725ad42 --- /dev/null +++ b/obj/item/plantanalyzer.html @@ -0,0 +1 @@ +/obj/item/plantanalyzer - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

plant analyzer

Vars

typeinfo_typePlant analyzer

Var Details

typeinfo_type

Plant analyzer

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/plate.html b/obj/item/plate.html new file mode 100644 index 0000000000000..2da665932e56f --- /dev/null +++ b/obj/item/plate.html @@ -0,0 +1,9 @@ +/obj/item/plate - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

plate

Vars

can_headsmashCan this smash someone on the head?
food_insideUsed to track all the non-plate items inside the plate
grabs_food_on_spawnFor mapping overrides- should this plate automatically place food on the same tile on it?
hit_soundThe sound which is played when you plate someone on help intent, tapping them
initial_foods
is_plateWill separate what we can put into plates/pizza boxes or not
plate_stackedDo we have a plate stacked on us?
space_leftUsed to measure what you can fit on the plate before it gets full
stackableCan this be stacked with other stackable plates?
throw_distThe amount the plate contents are thrown when this plate is dropped or thrown

Procs

add_contentsAttempts to add an item to the plate, if there's space. Returns TRUE if food is successfully added.
indirect_pickupHandles food being dragged around
remove_contentsRemoves a piece of food from the plate.
shatterThe plate shatters into shards and tosses its contents around.
shit_goes_everywhereCalled when you throw or smash the plate, throwing the contents everywhere
unique_attack_garbage_fuckUsed to smash the plate over someone's head

Var Details

can_headsmash

Can this smash someone on the head?

food_inside

Used to track all the non-plate items inside the plate

grabs_food_on_spawn

For mapping overrides- should this plate automatically place food on the same tile on it?

hit_sound

The sound which is played when you plate someone on help intent, tapping them

initial_foods

    +
  • List of types of initial food on this plate; added and positioned in New(). Can be associative. For subtypes for mapping. +
      +
    • Will runtime if the food doesn't fit.
    • +
    • Ex: list(/obj/item/reagent_containers/food/snacks/plant/peach = 2, /obj/item/reagent_containers/food/snacks/plant/apple)
    • +
    • [2 peaches and 1 apple]
    • +
    +
  • +

is_plate

Will separate what we can put into plates/pizza boxes or not

plate_stacked

Do we have a plate stacked on us?

space_left

Used to measure what you can fit on the plate before it gets full

stackable

Can this be stacked with other stackable plates?

throw_dist

The amount the plate contents are thrown when this plate is dropped or thrown

Proc Details

add_contents

Attempts to add an item to the plate, if there's space. Returns TRUE if food is successfully added.

indirect_pickup

Handles food being dragged around

remove_contents

Removes a piece of food from the plate.

shatter

The plate shatters into shards and tosses its contents around.

shit_goes_everywhere

Called when you throw or smash the plate, throwing the contents everywhere

unique_attack_garbage_fuck

Used to smash the plate over someone's head

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/playing_card.html b/obj/item/playing_card.html new file mode 100644 index 0000000000000..c8438401a293e --- /dev/null +++ b/obj/item/playing_card.html @@ -0,0 +1 @@ +/obj/item/playing_card - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/obj/item/playing_card

Vars

card_namethe overall name of a given card type : used to communicate with card groups (i.e. playing, tarot, hanafuda)
card_stylewhat style of card sprite are we using?
solitaire_offsetwhen solitaire stacking, how far down is the newest card pixel shifted?
stored_infovital card information that is referenced when a card flips over
total_cardsnumber of cards in a full deck (used for reference when updating stack size)

Var Details

card_name

the overall name of a given card type : used to communicate with card groups (i.e. playing, tarot, hanafuda)

card_style

what style of card sprite are we using?

solitaire_offset

when solitaire stacking, how far down is the newest card pixel shifted?

stored_info

vital card information that is referenced when a card flips over

total_cards

number of cards in a full deck (used for reference when updating stack size)

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/pocketwatch.html b/obj/item/pocketwatch.html new file mode 100644 index 0000000000000..0a5a1340c1776 --- /dev/null +++ b/obj/item/pocketwatch.html @@ -0,0 +1 @@ +/obj/item/pocketwatch - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

T-MO Watch

Vars

counting_stepstrue when in hands or pockets
currently_timingused for timer mode
display_typeused to show analog or screen displays on sprite
hour_minute_dividerused to make the colon in the time blink like a clock display

Var Details

counting_steps

true when in hands or pockets

currently_timing

used for timer mode

display_type

used to show analog or screen displays on sprite

hour_minute_divider

used to make the colon in the time blink like a clock display

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/raw_material.html b/obj/item/raw_material.html new file mode 100644 index 0000000000000..581c5d8573dda --- /dev/null +++ b/obj/item/raw_material.html @@ -0,0 +1 @@ +/obj/item/raw_material - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

construction materials

Vars

mat_changenameDoes the raw material item get its name set?

Var Details

mat_changename

Does the raw material item get its name set?

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/rcd.html b/obj/item/rcd.html new file mode 100644 index 0000000000000..8cc0da2f2c24d --- /dev/null +++ b/obj/item/rcd.html @@ -0,0 +1,19 @@ +/obj/item/rcd - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

rapid construction device

Base RCD this is the variant actually used in most scenarios

Vars

contextsCustom contextActions list so we can handle opening them ourselves
material_nameMaterial the RCD will build structures out of
modeThe selected mode
modesThe modes that this RCD has available to it
really_actually_bypass_z_restrictiondo we really actually for real want this to work in adventure zones?? just do this with varedit dont make children with this on
restricted_materialsList of materials that the RCD can deconstruct, if empty no restriction.
safe_deconstructWhether deconstructing a wall will make the material +of the floor be different than the material of the wall +used to prevent venting with a material RCD by building a wall, deconstructing it, and then deconstructing the floor.
unsafeIf true will spark after completing an action

Procs

do_rcd_actionDo an action with the RCD +user - who is doing it +target - to what +what - a string describing the action +delay - time it takes to do +callback - proc reference to action code, needs to be of signature proc/my_proc(atom/A, mob/user, other/args) +callback_owner - what the callback proc needs to be called on +... - remaining arguments will be passed to callback

Var Details

contexts

Custom contextActions list so we can handle opening them ourselves

material_name

Material the RCD will build structures out of

mode

The selected mode

modes

The modes that this RCD has available to it

really_actually_bypass_z_restriction

do we really actually for real want this to work in adventure zones?? just do this with varedit dont make children with this on

restricted_materials

List of materials that the RCD can deconstruct, if empty no restriction.

safe_deconstruct

Whether deconstructing a wall will make the material +of the floor be different than the material of the wall +used to prevent venting with a material RCD by building a wall, deconstructing it, and then deconstructing the floor.

unsafe

If true will spark after completing an action

Proc Details

do_rcd_action

Do an action with the RCD +user - who is doing it +target - to what +what - a string describing the action +delay - time it takes to do +callback - proc reference to action code, needs to be of signature proc/my_proc(atom/A, mob/user, other/args) +callback_owner - what the callback proc needs to be called on +... - remaining arguments will be passed to callback

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/rcd/material.html b/obj/item/rcd/material.html new file mode 100644 index 0000000000000..cb298e28d62ab --- /dev/null +++ b/obj/item/rcd/material.html @@ -0,0 +1 @@ +/obj/item/rcd/material - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/obj/item/rcd/material

Vars

window_materialMaterial the RCD will build specifically windows out of (if left null, defaults to the same material as the structure)

Var Details

window_material

Material the RCD will build specifically windows out of (if left null, defaults to the same material as the structure)

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/rcd/material/viscerite.html b/obj/item/rcd/material/viscerite.html new file mode 100644 index 0000000000000..3b3640f1b3c8b --- /dev/null +++ b/obj/item/rcd/material/viscerite.html @@ -0,0 +1 @@ +/obj/item/rcd/material/viscerite - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

biomimetic rapid construction device

Procs

reload_from_stackLoad the RCD from a stack of items at an (optional) fill ratio

Proc Details

reload_from_stack

Load the RCD from a stack of items at an (optional) fill ratio

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/reactor_component.html b/obj/item/reactor_component.html new file mode 100644 index 0000000000000..29b3ee916e41b --- /dev/null +++ b/obj/item/reactor_component.html @@ -0,0 +1 @@ +/obj/item/reactor_component - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

base reactor component

Vars

_max_healthMax health to set melth_health to on init
cap_iconINTERNAL: Actual component grid icon, coloured and textured by material
gas_volumeHow much gas this component can hold, and will be processed per tick
icon_state_capIcon state that appears on the component grid overlay on the reactor
icon_state_insertedIcon that appears in the UI
is_control_rodControl rods don't moderate neutrons, they absorb them.
melt_healthEssentially indicates how long this component can be at a dangerous temperature before it melts
meltedIf this component is melted, you can't take it out of the reactor and it might do some weird stuff
melting_pointThe dangerous temperature above which this component starts to melt. 1700K is the melting point of steel
neutron_cross_sectionHow adept is this component at interacting with neutrons - fuel rods are set up to capture them, heat exchangers are set up not to
temperatureTemperature of this component, starts at room temp Kelvin by default
thermal_cross_sectionHow much does this component share heat with surrounding components? Basically surface area in contact (m2)
thermal_massThermal mass. Basically how much energy it takes to heat this up 1Kelvin
ui_imageINTERNAL: Actual UI icon, base64 encoded
ui_image_base64_cacheINTERNAL: cache of base64 encoded UI icons, so we don't have to store one copy for every component, just the types

Var Details

_max_health

Max health to set melth_health to on init

cap_icon

INTERNAL: Actual component grid icon, coloured and textured by material

gas_volume

How much gas this component can hold, and will be processed per tick

icon_state_cap

Icon state that appears on the component grid overlay on the reactor

icon_state_inserted

Icon that appears in the UI

is_control_rod

Control rods don't moderate neutrons, they absorb them.

melt_health

Essentially indicates how long this component can be at a dangerous temperature before it melts

melted

If this component is melted, you can't take it out of the reactor and it might do some weird stuff

melting_point

The dangerous temperature above which this component starts to melt. 1700K is the melting point of steel

neutron_cross_section

How adept is this component at interacting with neutrons - fuel rods are set up to capture them, heat exchangers are set up not to

temperature

Temperature of this component, starts at room temp Kelvin by default

thermal_cross_section

How much does this component share heat with surrounding components? Basically surface area in contact (m2)

thermal_mass

Thermal mass. Basically how much energy it takes to heat this up 1Kelvin

ui_image

INTERNAL: Actual UI icon, base64 encoded

ui_image_base64_cache

INTERNAL: cache of base64 encoded UI icons, so we don't have to store one copy for every component, just the types

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/reactor_component/control_rod.html b/obj/item/reactor_component/control_rod.html new file mode 100644 index 0000000000000..0afe58ab57843 --- /dev/null +++ b/obj/item/reactor_component/control_rod.html @@ -0,0 +1 @@ +/obj/item/reactor_component/control_rod - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

control rod

Vars

configured_insertion_levelTarget insertion level, will be approached by up to 0.1 per tick
neutron_cross_sectionControl rods have a variable neutron_cross_section, which is essentially actual insertion level

Var Details

configured_insertion_level

Target insertion level, will be approached by up to 0.1 per tick

neutron_cross_section

Control rods have a variable neutron_cross_section, which is essentially actual insertion level

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/reagent_containers.html b/obj/item/reagent_containers.html new file mode 100644 index 0000000000000..09fa2af6260f4 --- /dev/null +++ b/obj/item/reagent_containers.html @@ -0,0 +1 @@ +/obj/item/reagent_containers - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Container

Vars

accepts_lidif true, container will accept beaker lids. lids should not go onto containers that aren't open
current_lidthe lid applied to the container

Var Details

accepts_lid

if true, container will accept beaker lids. lids should not go onto containers that aren't open

current_lid

the lid applied to the container

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/reagent_containers/balloon.html b/obj/item/reagent_containers/balloon.html new file mode 100644 index 0000000000000..d167de2102bd4 --- /dev/null +++ b/obj/item/reagent_containers/balloon.html @@ -0,0 +1 @@ +/obj/item/reagent_containers/balloon - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

balloon

Vars

breathshow many breaths should this balloon fill with at a canister

Var Details

breaths

how many breaths should this balloon fill with at a canister

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/reagent_containers/emergency_injector.html b/obj/item/reagent_containers/emergency_injector.html new file mode 100644 index 0000000000000..6f21497e78483 --- /dev/null +++ b/obj/item/reagent_containers/emergency_injector.html @@ -0,0 +1 @@ +/obj/item/reagent_containers/emergency_injector - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

emergency auto-injector

Vars

manipulated_injectionis this injector being tampered with and being unuseable for injecting people?

Procs

knife_manipulationautoinjector manipulation procs

Var Details

manipulated_injection

is this injector being tampered with and being unuseable for injecting people?

Proc Details

knife_manipulation

autoinjector manipulation procs

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/reagent_containers/food.html b/obj/item/reagent_containers/food.html new file mode 100644 index 0000000000000..70f39cec7a262 --- /dev/null +++ b/obj/item/reagent_containers/food.html @@ -0,0 +1 @@ +/obj/item/reagent_containers/food - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/obj/item/reagent_containers/food

Vars

ant_amntHow many ants are added to food / how much reagents removed?
custom_foodCan it be used to make custom food like for pizzas
did_stomach_reactHas this already reacted when being digested
digest_countHow digested is this while in stomach
dissolve_thresholdHow digested something needs to be before it dissolves
doantsWill ants spawn to eat this food if it's on the floor
festivityAmount of cheer this food adds/subtracts when eaten
fill_amtAmount of space this takes up in a stomach
food_colorColor for various food items
from_emagged_ovenWas this food created by an emagged oven? To prevent re-rolling of food in emagged ovens.
heal_amtAmount this food heals for when eaten
made_antsHas this food already spawned ants
required_utensilWhich utensil we need to use to eat this
slice_amountHow many slices to spawn after slicing
slice_inertIf the food is inert while slicing (ie chemical reactions won't occur)
slice_productType to spawn when we slice this food
slice_suffixWhen we want to name them slices or wedges or what-have-you
slice_toolsWhich tools can be used to slice this food
sliceableCan this food be sliced
unlock_medal_when_eatenAdd medal name here in the format of e.g. "That tasted funny".

Procs

process_stomachSlowly dissolve in stomach, releasing reagents

Var Details

ant_amnt

How many ants are added to food / how much reagents removed?

custom_food

Can it be used to make custom food like for pizzas

did_stomach_react

Has this already reacted when being digested

digest_count

How digested is this while in stomach

dissolve_threshold

How digested something needs to be before it dissolves

doants

Will ants spawn to eat this food if it's on the floor

festivity

Amount of cheer this food adds/subtracts when eaten

fill_amt

Amount of space this takes up in a stomach

food_color

Color for various food items

from_emagged_oven

Was this food created by an emagged oven? To prevent re-rolling of food in emagged ovens.

heal_amt

Amount this food heals for when eaten

made_ants

Has this food already spawned ants

required_utensil

Which utensil we need to use to eat this

slice_amount

How many slices to spawn after slicing

slice_inert

If the food is inert while slicing (ie chemical reactions won't occur)

slice_product

Type to spawn when we slice this food

slice_suffix

When we want to name them slices or wedges or what-have-you

slice_tools

Which tools can be used to slice this food

sliceable

Can this food be sliced

unlock_medal_when_eaten

Add medal name here in the format of e.g. "That tasted funny".

Proc Details

process_stomach

Slowly dissolve in stomach, releasing reagents

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/reagent_containers/food/drinks.html b/obj/item/reagent_containers/food/drinks.html new file mode 100644 index 0000000000000..40a41b68d2a85 --- /dev/null +++ b/obj/item/reagent_containers/food/drinks.html @@ -0,0 +1 @@ +/obj/item/reagent_containers/food/drinks - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

drink

Procs

take_a_drinkCalled when we successfully take a drink of something (or make someone else take a drink of something)

Proc Details

take_a_drink

Called when we successfully take a drink of something (or make someone else take a drink of something)

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/reagent_containers/food/drinks/drinkingglass.html b/obj/item/reagent_containers/food/drinks/drinkingglass.html new file mode 100644 index 0000000000000..88450b3f1f236 --- /dev/null +++ b/obj/item/reagent_containers/food/drinks/drinkingglass.html @@ -0,0 +1 @@ +/obj/item/reagent_containers/food/drinks/drinkingglass - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

drinking glass

Vars

reagent_overlay_iconThe icon file that this container should for reagent overlays.
reagent_overlay_icon_stateThe icon state that this container should for reagent overlays.
reagent_overlay_scalingThe scaling that this container's fluid overlays should use.
reagent_overlay_statesThe number of reagent overlay states that this container has.

Var Details

reagent_overlay_icon

The icon file that this container should for reagent overlays.

reagent_overlay_icon_state

The icon state that this container should for reagent overlays.

reagent_overlay_scaling

The scaling that this container's fluid overlays should use.

reagent_overlay_states

The number of reagent overlay states that this container has.

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/reagent_containers/food/fish.html b/obj/item/reagent_containers/food/fish.html new file mode 100644 index 0000000000000..2a8c7d4c64587 --- /dev/null +++ b/obj/item/reagent_containers/food/fish.html @@ -0,0 +1 @@ +/obj/item/reagent_containers/food/fish - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/obj/item/reagent_containers/food/fish

Vars

categoryWhat kind of fish is this? (See defines above)

Var Details

category

What kind of fish is this? (See defines above)

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/reagent_containers/food/snacks.html b/obj/item/reagent_containers/food/snacks.html new file mode 100644 index 0000000000000..376388191c6b3 --- /dev/null +++ b/obj/item/reagent_containers/food/snacks.html @@ -0,0 +1 @@ +/obj/item/reagent_containers/food/snacks - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

snack

Procs

check_favorite_foodCheck wether the current food is in the list of favorite foods for a human
displease_picky_eaterWhat happens when a picky eater is fed something they do not like
take_a_biteCalled when we successfully take a bite of something (or make someone else take a bite of something)

Proc Details

check_favorite_food

Check wether the current food is in the list of favorite foods for a human

displease_picky_eater

What happens when a picky eater is fed something they do not like

take_a_bite

Called when we successfully take a bite of something (or make someone else take a bite of something)

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/reagent_containers/food/snacks/breadloaf.html b/obj/item/reagent_containers/food/snacks/breadloaf.html new file mode 100644 index 0000000000000..f04be55bddf09 --- /dev/null +++ b/obj/item/reagent_containers/food/snacks/breadloaf.html @@ -0,0 +1 @@ +/obj/item/reagent_containers/food/snacks/breadloaf - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

loaf of bread

Vars

teleport_counthow many times the bread has been teleported
teleport_requirementthe number of teleports to start rolling to turn into a mimic

Procs

mutaterolls to turn the bread loaf into a mimic once the requirement is reached

Var Details

teleport_count

how many times the bread has been teleported

teleport_requirement

the number of teleports to start rolling to turn into a mimic

Proc Details

mutate

rolls to turn the bread loaf into a mimic once the requirement is reached

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/reagent_containers/food/snacks/candy.html b/obj/item/reagent_containers/food/snacks/candy.html new file mode 100644 index 0000000000000..131072aafb4fc --- /dev/null +++ b/obj/item/reagent_containers/food/snacks/candy.html @@ -0,0 +1 @@ +/obj/item/reagent_containers/food/snacks/candy - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

candy

Vars

has_razor_bladeIs this BOOBYTRAPPED CANDY?

Var Details

has_razor_blade

Is this BOOBYTRAPPED CANDY?

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/reagent_containers/food/snacks/candy/lollipop.html b/obj/item/reagent_containers/food/snacks/candy/lollipop.html new file mode 100644 index 0000000000000..f5eb9404bd3f7 --- /dev/null +++ b/obj/item/reagent_containers/food/snacks/candy/lollipop.html @@ -0,0 +1 @@ +/obj/item/reagent_containers/food/snacks/candy/lollipop - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

lollipop

Vars

icon_randomdoes it just choose from the existing random colors?

Var Details

icon_random

does it just choose from the existing random colors?

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/reagent_containers/food/snacks/ingredient/pizza_base.html b/obj/item/reagent_containers/food/snacks/ingredient/pizza_base.html new file mode 100644 index 0000000000000..6d65d70afc764 --- /dev/null +++ b/obj/item/reagent_containers/food/snacks/ingredient/pizza_base.html @@ -0,0 +1 @@ +/obj/item/reagent_containers/food/snacks/ingredient/pizza_base - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

pizza dough

Vars

fancy_spinshow many times this dough was flourished
max_topping_spaceHow much w_class fits on the pizza
topping_scaleHow much to scale toppings by
topping_space_leftHow much w_class remains

Procs

add_toppingAdds a topping to the pizza
indirect_pickupHandles toppings being dragged around
remove_toppingRemoves a topping from the pizza.

Var Details

fancy_spins

how many times this dough was flourished

max_topping_space

How much w_class fits on the pizza

topping_scale

How much to scale toppings by

topping_space_left

How much w_class remains

Proc Details

add_topping

Adds a topping to the pizza

indirect_pickup

Handles toppings being dragged around

remove_topping

Removes a topping from the pizza.

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/reagent_containers/food/snacks/pie.html b/obj/item/reagent_containers/food/snacks/pie.html new file mode 100644 index 0000000000000..8f8e30a811fb1 --- /dev/null +++ b/obj/item/reagent_containers/food/snacks/pie.html @@ -0,0 +1 @@ +/obj/item/reagent_containers/food/snacks/pie - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

pie

Vars

max_stuck_timeIn the case of a thrown splattered pie, maximum amount of time we remain visually stuck on someone's face.
min_stuck_timeIn the case of a thrown splattered pie, minimum amount of time we remain visually stuck on someone's face.

Procs

clown_pieStick to a person's face comedically when thrown by a clown
item_pieEffect for when pie contains an item, hit the target with that item and call AfterAttack

Var Details

max_stuck_time

In the case of a thrown splattered pie, maximum amount of time we remain visually stuck on someone's face.

min_stuck_time

In the case of a thrown splattered pie, minimum amount of time we remain visually stuck on someone's face.

Proc Details

clown_pie

Stick to a person's face comedically when thrown by a clown

item_pie

Effect for when pie contains an item, hit the target with that item and call AfterAttack

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/reagent_containers/food/snacks/plant.html b/obj/item/reagent_containers/food/snacks/plant.html new file mode 100644 index 0000000000000..3b373483fe716 --- /dev/null +++ b/obj/item/reagent_containers/food/snacks/plant.html @@ -0,0 +1,7 @@ +/obj/item/reagent_containers/food/snacks/plant - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

fruit or vegetable

Vars

already_burstFor bowling melons and midair katana slicing

Procs

midair_slice_checkThis proc checks if the produce that is thrown gets sliced midair, important for produce with special on-throw effects +(e.g. tomatoes, bowling melons) +The conditions are: 1. the produce is sliceable 2. the target is a mob +3. the target is blocking and 4. the target wields a sword that can cut produce midair

Var Details

already_burst

For bowling melons and midair katana slicing

Proc Details

midair_slice_check

This proc checks if the produce that is thrown gets sliced midair, important for produce with special on-throw effects +(e.g. tomatoes, bowling melons) +The conditions are: 1. the produce is sliceable 2. the target is a mob +3. the target is blocking and 4. the target wields a sword that can cut produce midair

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/reagent_containers/food/snacks/spaghetti/spicy.html b/obj/item/reagent_containers/food/snacks/spaghetti/spicy.html new file mode 100644 index 0000000000000..de5f525284178 --- /dev/null +++ b/obj/item/reagent_containers/food/snacks/spaghetti/spicy.html @@ -0,0 +1 @@ +/obj/item/reagent_containers/food/snacks/spaghetti/spicy - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

spaghetti arrabbiata

Vars

securedIs this spaghetti under high security? (ie will it burn non security members who eat it)

Var Details

secured

Is this spaghetti under high security? (ie will it burn non security members who eat it)

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/reagent_containers/glass.html b/obj/item/reagent_containers/glass.html new file mode 100644 index 0000000000000..4edf764eac20d --- /dev/null +++ b/obj/item/reagent_containers/glass.html @@ -0,0 +1 @@ +/obj/item/reagent_containers/glass - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/obj/item/reagent_containers/glass

Vars

container_iconThe icon file that this container should for fluid overlays.
container_styleThe icon state that this container should for fluid overlays.
fluid_overlay_scalingThe scaling that this container's fluid overlays should use.
fluid_overlay_statesThe number of fluid overlay states that this container has.
shatter_immuneFor internal tanks and other things that definitely should not shatter

Var Details

container_icon

The icon file that this container should for fluid overlays.

container_style

The icon state that this container should for fluid overlays.

fluid_overlay_scaling

The scaling that this container's fluid overlays should use.

fluid_overlay_states

The number of fluid overlay states that this container has.

shatter_immune

For internal tanks and other things that definitely should not shatter

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/reagent_containers/glass/condenser.html b/obj/item/reagent_containers/glass/condenser.html new file mode 100644 index 0000000000000..ece70c978a95c --- /dev/null +++ b/obj/item/reagent_containers/glass/condenser.html @@ -0,0 +1 @@ +/obj/item/reagent_containers/glass/condenser - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

chemical condenser

Vars

connected_containersthe containers currently connected to the condenser

Var Details

connected_containers

the containers currently connected to the condenser

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/reagent_containers/glass/condenser/fractional.html b/obj/item/reagent_containers/glass/condenser/fractional.html new file mode 100644 index 0000000000000..fbc7a50ede20d --- /dev/null +++ b/obj/item/reagent_containers/glass/condenser/fractional.html @@ -0,0 +1 @@ +/obj/item/reagent_containers/glass/condenser/fractional - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

fractional condenser

Vars

container_orderorders the output containers, so key 1 = condenser output 1

Var Details

container_order

orders the output containers, so key 1 = condenser output 1

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/reagent_containers/synthflesh_pustule.html b/obj/item/reagent_containers/synthflesh_pustule.html new file mode 100644 index 0000000000000..1d7aca686604a --- /dev/null +++ b/obj/item/reagent_containers/synthflesh_pustule.html @@ -0,0 +1 @@ +/obj/item/reagent_containers/synthflesh_pustule - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

synthetic pustule

Vars

amount_of_reagent_to_usehow much blood to remove per process tick, medium pustule is very fast
chemical_efficiencyhow much chemical you get per unit of chemical in
organ_efficiencysynthflesh organ multiplier

Var Details

amount_of_reagent_to_use

how much blood to remove per process tick, medium pustule is very fast

chemical_efficiency

how much chemical you get per unit of chemical in

organ_efficiency

synthflesh organ multiplier

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/reagent_containers/syringe.html b/obj/item/reagent_containers/syringe.html new file mode 100644 index 0000000000000..90626f6aeb2d9 --- /dev/null +++ b/obj/item/reagent_containers/syringe.html @@ -0,0 +1 @@ +/obj/item/reagent_containers/syringe - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

syringe

Vars

amount_per_stageThe amount each visual stage of the icon increments by. Defaults to amount_per_transfer_from_this

Var Details

amount_per_stage

The amount each visual stage of the icon increments by. Defaults to amount_per_transfer_from_this

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/remote/marionette_implant.html b/obj/item/remote/marionette_implant.html new file mode 100644 index 0000000000000..985cd535f4b03 --- /dev/null +++ b/obj/item/remote/marionette_implant.html @@ -0,0 +1 @@ +/obj/item/remote/marionette_implant - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

marionette implant remote

Vars

entered_dataData entered by the user. Its contents will be provided as the data field in packets sent to implants.
implant_statusAn associative list of tracked implants, where keys are network IDs of implants and values are the last ping result from those addresses.
net_idThe network ID of the remote. Communicated to tracked implants when pinging.
selected_commandThe current selected command that implants will be sent.

Var Details

entered_data

Data entered by the user. Its contents will be provided as the data field in packets sent to implants.

implant_status

An associative list of tracked implants, where keys are network IDs of implants and values are the last ping result from those addresses.

net_id

The network ID of the remote. Communicated to tracked implants when pinging.

selected_command

The current selected command that implants will be sent.

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/robospray.html b/obj/item/robospray.html new file mode 100644 index 0000000000000..c50d3922dfe54 --- /dev/null +++ b/obj/item/robospray.html @@ -0,0 +1 @@ +/obj/item/robospray - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

cybernetic hypospray

Vars

contextsCustom contextActions list so we can handle opening them ourselves

Var Details

contexts

Custom contextActions list so we can handle opening them ourselves

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/robot_module.html b/obj/item/robot_module.html new file mode 100644 index 0000000000000..53625995c3f7c --- /dev/null +++ b/obj/item/robot_module.html @@ -0,0 +1 @@ +/obj/item/robot_module - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

blank cyborg module

Job/tool modules for cyborgs

Procs

admin_add_toolAdmin interact menu for adding tools to the module
admin_remove_toolAdmin interact menu for removing tools from the module

Proc Details

admin_add_tool

Admin interact menu for adding tools to the module

admin_remove_tool

Admin interact menu for removing tools from the module

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/roboupgrade.html b/obj/item/roboupgrade.html new file mode 100644 index 0000000000000..a1f4b27e88d57 --- /dev/null +++ b/obj/item/roboupgrade.html @@ -0,0 +1 @@ +/obj/item/roboupgrade - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

cyborg upgrade

Vars

activatedlive ingame variable
activeIs this upgrade used like an item?
borg_overlayUsed for cyborg update_appearance proc
chargesHow many times a limited upgrade can be used before it is consumed (infinite if negative)
drainrateHow much charge the upgrade consumes while installed
passiveDoes this upgrade always work once installed?
removableCan be removed from the cyborg

Var Details

activated

live ingame variable

active

Is this upgrade used like an item?

borg_overlay

Used for cyborg update_appearance proc

charges

How many times a limited upgrade can be used before it is consumed (infinite if negative)

drainrate

How much charge the upgrade consumes while installed

passive

Does this upgrade always work once installed?

removable

Can be removed from the cyborg

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/room_planner.html b/obj/item/room_planner.html new file mode 100644 index 0000000000000..804b5521a26b0 --- /dev/null +++ b/obj/item/room_planner.html @@ -0,0 +1 @@ +/obj/item/room_planner - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Floor and Wall Designer

Vars

selectediconicon file selected
selectedmodmod to use for generating smoothwalls
selectedtypeiconstate selected

Var Details

selectedicon

icon file selected

selectedmod

mod to use for generating smoothwalls

selectedtype

iconstate selected

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/salvager.html b/obj/item/salvager.html new file mode 100644 index 0000000000000..b957903981971 --- /dev/null +++ b/obj/item/salvager.html @@ -0,0 +1 @@ +/obj/item/salvager - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

salvage reclaimer

Vars

really_actually_bypass_z_restrictiondo we really actually for real want this to work in adventure zones?? just do this with varedit dont make children with this on

Var Details

really_actually_bypass_z_restriction

do we really actually for real want this to work in adventure zones?? just do this with varedit dont make children with this on

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/satchel.html b/obj/item/satchel.html new file mode 100644 index 0000000000000..93d778efd15c5 --- /dev/null +++ b/obj/item/satchel.html @@ -0,0 +1 @@ +/obj/item/satchel - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

satchel

Vars

exceptionsthis list are for items that are in the allowed-list for other reasons, but should not be able to be put in satchels
max_stack_scoopif you try to put stacks inside the item, this one limits how much you can in one action. Creating 100 items out of a stack in a single action should not happen.
maximal_w_classthe maximum weight class the satchels should be able to carry.

Var Details

exceptions

this list are for items that are in the allowed-list for other reasons, but should not be able to be put in satchels

max_stack_scoop

if you try to put stacks inside the item, this one limits how much you can in one action. Creating 100 items out of a stack in a single action should not happen.

maximal_w_class

the maximum weight class the satchels should be able to carry.

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/saw.html b/obj/item/saw.html new file mode 100644 index 0000000000000..52ff02bf67a1a --- /dev/null +++ b/obj/item/saw.html @@ -0,0 +1 @@ +/obj/item/saw - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

chainsaw

Vars

typeinfo_typeChainsaw

Var Details

typeinfo_type

Chainsaw

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/seed.html b/obj/item/seed.html new file mode 100644 index 0000000000000..a93c53e283fa6 --- /dev/null +++ b/obj/item/seed.html @@ -0,0 +1 @@ +/obj/item/seed - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

plant seed

Vars

dont_mutateDo not randomly mutate this seed on plant

Var Details

dont_mutate

Do not randomly mutate this seed on plant

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/sheet.html b/obj/item/sheet.html new file mode 100644 index 0000000000000..c3e206cb29455 --- /dev/null +++ b/obj/item/sheet.html @@ -0,0 +1 @@ +/obj/item/sheet - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

sheet

Vars

default_reinforcementthe material id string (lowercase) of the starting reinforcement

Var Details

default_reinforcement

the material id string (lowercase) of the starting reinforcement

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/shipcomponent.html b/obj/item/shipcomponent.html new file mode 100644 index 0000000000000..c65bf976965e9 --- /dev/null +++ b/obj/item/shipcomponent.html @@ -0,0 +1,3 @@ +/obj/item/shipcomponent - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

Ship Component

ship components have their work proc called in the vehicle's process

Vars

activeIf the part is working or not
component_classDetermines if a part can be installed.
disruptedThe part is disrupted by an attack and is forced to be off
power_usedHow much of the engine's capacity the part takes up
readySome parts need setup before full functionality
shipThe owner of the part
systemWhat system it is, to avoid a bunch of istype checks

Procs

activateWhat the component does when activated +Returns 1 if successful
deactivateWhat the component does when deactived
mob_activateHandles mob entering ship
mob_deactivateHandles mob exiting from ship
run_componentComponent does this constantly

Var Details

active

If the part is working or not

component_class

Determines if a part can be installed.

disrupted

The part is disrupted by an attack and is forced to be off

power_used

How much of the engine's capacity the part takes up

ready

Some parts need setup before full functionality

ship

The owner of the part

system

What system it is, to avoid a bunch of istype checks

Proc Details

activate

What the component does when activated +Returns 1 if successful

deactivate

What the component does when deactived

mob_activate

Handles mob entering ship

mob_deactivate

Handles mob exiting from ship

run_component

Component does this constantly

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/shipcomponent/engine.html b/obj/item/shipcomponent/engine.html new file mode 100644 index 0000000000000..12ccfa5ddc6f6 --- /dev/null +++ b/obj/item/shipcomponent/engine.html @@ -0,0 +1 @@ +/obj/item/shipcomponent/engine - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

Warp-1 Engine

Procs

readyWarp requires recharge time

Proc Details

ready

Warp requires recharge time

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/shipcomponent/mainweapon.html b/obj/item/shipcomponent/mainweapon.html new file mode 100644 index 0000000000000..8a25e8695f376 --- /dev/null +++ b/obj/item/shipcomponent/mainweapon.html @@ -0,0 +1 @@ +/obj/item/shipcomponent/mainweapon - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Class-A Light Phaser

Vars

removableCan it be removed by a player

Var Details

removable

Can it be removed by a player

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/shipcomponent/mainweapon/constructor.html b/obj/item/shipcomponent/mainweapon/constructor.html new file mode 100644 index 0000000000000..d0da943870bfe --- /dev/null +++ b/obj/item/shipcomponent/mainweapon/constructor.html @@ -0,0 +1,3 @@ +/obj/item/shipcomponent/mainweapon/constructor - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

EFIF-1 Construction System

Vars

active_fieldsCurrently active construction fields
max_sheetsMaximum allowable sheets loaded within tool
steel_sheetsCurrent loaded steel sheets (only accepts steel, as the system's metalforming is designed for it)
wide_fieldSecondary toggleable setting to increase build size (can be deactivated for fine work)

Procs

build_mode_evalHelper proc to determine suitability of current tile for construction field application
check_sheetsHelper proc that checks if enough sheets are available for building given current build mode and ship size
do_constructSelects locations for construction operation and initiates action bar
do_repairSelects locations for construction operation and initiates action bar. Needs construction recall on turf or area to work
get_cost_modHelper proc to get an individual construction field's cost (used by action bar as well)
scoop_up_sheetsShip arms' proc to find and attempt loading of sheets on the ground
sheet_load_helperSheet-loading proc for both automatic and manual loading. Set up for flag-based return, for responsive player messaging. +Returns FALSE if provided object is unsuitable, LOAD_FULL (1) if storage is full, and/or LOAD_SUCCESS (2) if sheets were loaded.

Var Details

active_fields

Currently active construction fields

max_sheets

Maximum allowable sheets loaded within tool

steel_sheets

Current loaded steel sheets (only accepts steel, as the system's metalforming is designed for it)

wide_field

Secondary toggleable setting to increase build size (can be deactivated for fine work)

Proc Details

build_mode_eval

Helper proc to determine suitability of current tile for construction field application

check_sheets

Helper proc that checks if enough sheets are available for building given current build mode and ship size

do_construct

Selects locations for construction operation and initiates action bar

do_repair

Selects locations for construction operation and initiates action bar. Needs construction recall on turf or area to work

get_cost_mod

Helper proc to get an individual construction field's cost (used by action bar as well)

scoop_up_sheets

Ship arms' proc to find and attempt loading of sheets on the ground

sheet_load_helper

Sheet-loading proc for both automatic and manual loading. Set up for flag-based return, for responsive player messaging. +Returns FALSE if provided object is unsuitable, LOAD_FULL (1) if storage is full, and/or LOAD_SUCCESS (2) if sheets were loaded.

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/shipcomponent/secondary_system/orescoop.html b/obj/item/shipcomponent/secondary_system/orescoop.html new file mode 100644 index 0000000000000..40a584f20ef5e --- /dev/null +++ b/obj/item/shipcomponent/secondary_system/orescoop.html @@ -0,0 +1 @@ +/obj/item/shipcomponent/secondary_system/orescoop - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Alloyed Solutions Ore Scoop/Hold

Vars

max_stack_scoopif you try to put stacks inside the item, this one limits how much you can in one action. Creating 100 items out of a stack in a single action should not happen.

Var Details

max_stack_scoop

if you try to put stacks inside the item, this one limits how much you can in one action. Creating 100 items out of a stack in a single action should not happen.

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/spray_paint_gang.html b/obj/item/spray_paint_gang.html new file mode 100644 index 0000000000000..2116f76c46a45 --- /dev/null +++ b/obj/item/spray_paint_gang.html @@ -0,0 +1 @@ +/obj/item/spray_paint_gang - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

'Red X' Xtra Heavy Spray Paint

Procs

check_tile_unclaimedChecks a tile has no nearby claims from other tags

Proc Details

check_tile_unclaimed

Checks a tile has no nearby claims from other tags

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/sticker/postit/artifact_paper.html b/obj/item/sticker/postit/artifact_paper.html new file mode 100644 index 0000000000000..8501ca695c6e0 --- /dev/null +++ b/obj/item/sticker/postit/artifact_paper.html @@ -0,0 +1 @@ +/obj/item/sticker/postit/artifact_paper - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

artifact analysis form

Procs

removeTypeLabelremoves the label that shows what type the artifact supposedly is
updateTypeLabelupdates the label that shows what type the artifact supposedly is

Proc Details

removeTypeLabel

removes the label that shows what type the artifact supposedly is

updateTypeLabel

updates the label that shows what type the artifact supposedly is

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/storage/backpack/recharge_bay.html b/obj/item/storage/backpack/recharge_bay.html new file mode 100644 index 0000000000000..140c0e912fe9b --- /dev/null +++ b/obj/item/storage/backpack/recharge_bay.html @@ -0,0 +1 @@ +/obj/item/storage/backpack/recharge_bay - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

portable recharge bay

Vars

cell_port_openWhether the access port is open to allow for swapping of power cell (and tampering with systems)
safety_regulatorDisallows recharging of weaponry

Var Details

cell_port_open

Whether the access port is open to allow for swapping of power cell (and tampering with systems)

safety_regulator

Disallows recharging of weaponry

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/storage/pill_bottle.html b/obj/item/storage/pill_bottle.html new file mode 100644 index 0000000000000..c28a868771b6d --- /dev/null +++ b/obj/item/storage/pill_bottle.html @@ -0,0 +1,3 @@ +/obj/item/storage/pill_bottle - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

pill bottle

Vars

consumption_actionA reference to the action currently in use if eating pills from the bottle.

Procs

consume_next_pillReturns true if a pill was successfully swallowed.
try_consume_from_bottleconsume_next_pill() wrapper that handles sounds, clumsiness and majority of messaging. +Returns true if a pill was successfully swallowed.

Var Details

consumption_action

A reference to the action currently in use if eating pills from the bottle.

Proc Details

consume_next_pill

Returns true if a pill was successfully swallowed.

try_consume_from_bottle

consume_next_pill() wrapper that handles sounds, clumsiness and majority of messaging. +Returns true if a pill was successfully swallowed.

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/storage/secure.html b/obj/item/storage/secure.html new file mode 100644 index 0000000000000..8a1cf34e60716 --- /dev/null +++ b/obj/item/storage/secure.html @@ -0,0 +1 @@ +/obj/item/storage/secure - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

storage/secure

Vars

crackableCan we do the mastermind game to try to crack this safe?
number_of_guessesAssociative list of ckeys to the number of incorrect guesses they have made

Var Details

crackable

Can we do the mastermind game to try to crack this safe?

number_of_guesses

Associative list of ckeys to the number of incorrect guesses they have made

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/swingsignfolded.html b/obj/item/swingsignfolded.html new file mode 100644 index 0000000000000..1f4ff241b6158 --- /dev/null +++ b/obj/item/swingsignfolded.html @@ -0,0 +1 @@ +/obj/item/swingsignfolded - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

swing sign

Vars

messageStored message for the deployed object

Procs

attackBasically copied this from stool.dm /obj/item/chair/folded/attack

Var Details

message

Stored message for the deployed object

Proc Details

attack

Basically copied this from stool.dm /obj/item/chair/folded/attack

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/sword.html b/obj/item/sword.html new file mode 100644 index 0000000000000..62b495852dffc --- /dev/null +++ b/obj/item/sword.html @@ -0,0 +1 @@ +/obj/item/sword - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

cyalume saber

Vars

typeinfo_typeCyalume saber/esword, famed traitor item

Var Details

typeinfo_type

Cyalume saber/esword, famed traitor item

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/swords.html b/obj/item/swords.html new file mode 100644 index 0000000000000..b10337079a17c --- /dev/null +++ b/obj/item/swords.html @@ -0,0 +1 @@ +/obj/item/swords - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

youshouldntseeme sword

Swords

Vars

midair_fruit_sliceif this is TRUE, blocking with this weapon can slice thrown food items midair
midair_fruit_slice_stamina_costThe amount of stamina it costs to slice food midair

Procs

SeverButtStuffChecks if the target is facing in some way away from the user. Or they're lying down

Var Details

midair_fruit_slice

if this is TRUE, blocking with this weapon can slice thrown food items midair

midair_fruit_slice_stamina_cost

The amount of stamina it costs to slice food midair

Proc Details

SeverButtStuff

Checks if the target is facing in some way away from the user. Or they're lying down

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/syndie_fishing_rod.html b/obj/item/syndie_fishing_rod.html new file mode 100644 index 0000000000000..fae6be9071d2d --- /dev/null +++ b/obj/item/syndie_fishing_rod.html @@ -0,0 +1 @@ +/obj/item/syndie_fishing_rod - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Glaucus fishing rod

Vars

is_fishingtrue if the rod is currently ""fishing"", false if it isnt
line_lengthhow far the line can stretch
syndie_fishing_speedtime per step to reel/filet a mob
usage_cooldowndelay between tossing or reeling or etc
yank_cooldowncooldown after throwing a hooked target around
yank_rangehow far you throw when yanking them

Var Details

is_fishing

true if the rod is currently ""fishing"", false if it isnt

line_length

how far the line can stretch

syndie_fishing_speed

time per step to reel/filet a mob

usage_cooldown

delay between tossing or reeling or etc

yank_cooldown

cooldown after throwing a hooked target around

yank_range

how far you throw when yanking them

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/tank.html b/obj/item/tank.html new file mode 100644 index 0000000000000..bc740345b4dc3 --- /dev/null +++ b/obj/item/tank.html @@ -0,0 +1 @@ +/obj/item/tank - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

tank

Vars

air_contentsThe air contents of this tank.
compatible_with_TTVWhether or not this tank can be used in a tank transfer valve.
distribute_pressureThis tank's contents will be released at this pressure. Most subtypes use the minimum breathable value here.
extra_descThis value is read by get_desc(), and is used by subtypes instead of copy-pasting the entire description with minor changes.
integrityDecremented over time when the tank is overpressurized. A damaged tank will leak or even rupture.
previous_pressureTank's previous pressure. Used for tanks that are going to explode

Procs

ui_describeReturns a serialized description of this tank for use with the PortableHoldingTank TGUI component

Var Details

air_contents

The air contents of this tank.

compatible_with_TTV

Whether or not this tank can be used in a tank transfer valve.

distribute_pressure

This tank's contents will be released at this pressure. Most subtypes use the minimum breathable value here.

extra_desc

This value is read by get_desc(), and is used by subtypes instead of copy-pasting the entire description with minor changes.

integrity

Decremented over time when the tank is overpressurized. A damaged tank will leak or even rupture.

previous_pressure

Tank's previous pressure. Used for tanks that are going to explode

Proc Details

ui_describe

Returns a serialized description of this tank for use with the PortableHoldingTank TGUI component

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/tank/jetpack.html b/obj/item/tank/jetpack.html new file mode 100644 index 0000000000000..d0a74a257c0c3 --- /dev/null +++ b/obj/item/tank/jetpack.html @@ -0,0 +1 @@ +/obj/item/tank/jetpack - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

jetpack (oxygen)

Vars

onIs our propulsion enabled?

Var Details

on

Is our propulsion enabled?

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/tool/janktanktwo.html b/obj/item/tool/janktanktwo.html new file mode 100644 index 0000000000000..2df28c7a9261e --- /dev/null +++ b/obj/item/tool/janktanktwo.html @@ -0,0 +1 @@ +/obj/item/tool/janktanktwo - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

JankTank II

Procs

do_healheals and revives a human to JANKTANK2_DESIRED_HEALTH_PCT percent
injectTurns the in-hand item into an implant inside a gang member.

Proc Details

do_heal

heals and revives a human to JANKTANK2_DESIRED_HEALTH_PCT percent

inject

Turns the in-hand item into an implant inside a gang member.

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/tool/omnitool.html b/obj/item/tool/omnitool.html new file mode 100644 index 0000000000000..717f110d7cbb9 --- /dev/null +++ b/obj/item/tool/omnitool.html @@ -0,0 +1 @@ +/obj/item/tool/omnitool - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

omnitool

Vars

modeThe current setting
modesList of tool settings

Procs

get_fuelWELDER STUFF

Var Details

mode

The current setting

modes

List of tool settings

Proc Details

get_fuel

WELDER STUFF

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/toolbox_tiles.html b/obj/item/toolbox_tiles.html new file mode 100644 index 0000000000000..edd86273ff3ea --- /dev/null +++ b/obj/item/toolbox_tiles.html @@ -0,0 +1 @@ +/obj/item/toolbox_tiles - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

tiles and toolbox

Procs

attack_selfFloorbot Construction

Proc Details

attack_self

Floorbot Construction

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/uplink.html b/obj/item/uplink.html new file mode 100644 index 0000000000000..8d3cf7d13b292 --- /dev/null +++ b/obj/item/uplink.html @@ -0,0 +1 @@ +/obj/item/uplink - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

uplink

Uplink parent

Vars

purchase_flagsBitflags for what items this uplink can buy (see _std/defines/uplink.dm for flags)
purchase_logAssociative list, where keys are /datum/syndicate_buylist instances and values are the number of purchases.

Var Details

purchase_flags

Bitflags for what items this uplink can buy (see _std/defines/uplink.dm for flags)

purchase_log

Associative list, where keys are /datum/syndicate_buylist instances and values are the number of purchases.

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/uplink/integrated/pda/spy.html b/obj/item/uplink/integrated/pda/spy.html new file mode 100644 index 0000000000000..3b030c35be7c8 --- /dev/null +++ b/obj/item/uplink/integrated/pda/spy.html @@ -0,0 +1 @@ +/obj/item/uplink/integrated/pda/spy - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/obj/item/uplink/integrated/pda/spy

Vars

last_photo_printfor use with photo printer cooldown

Procs

bounty_is_claimableReturns a /datum/bounty_claim containing the bounty that can be claimed and the item that will be delivered
master_pre_attackbyWe have hit something with our uplink master device
print_photoPrints a photo of the spy theif's target item or mob owner

Var Details

last_photo_print

for use with photo printer cooldown

Proc Details

bounty_is_claimable

Returns a /datum/bounty_claim containing the bounty that can be claimed and the item that will be delivered

master_pre_attackby

We have hit something with our uplink master device

print_photo

Prints a photo of the spy theif's target item or mob owner

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/wall_trophy.html b/obj/item/wall_trophy.html new file mode 100644 index 0000000000000..c9d53fa313629 --- /dev/null +++ b/obj/item/wall_trophy.html @@ -0,0 +1 @@ +/obj/item/wall_trophy - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Wall Trophy

Vars

allowed_itemwhat items are allowed to be attached?
auto_anchorautomatically anchors the item that gets attached to it
can_unanchorcan we un anchor the object?
initial_itemfor spawning it with an item
item_addeddo we have something attached?

Var Details

allowed_item

what items are allowed to be attached?

auto_anchor

automatically anchors the item that gets attached to it

can_unanchor

can we un anchor the object?

initial_item

for spawning it with an item

item_added

do we have something attached?

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/item/weldingtool.html b/obj/item/weldingtool.html new file mode 100644 index 0000000000000..73c7d3b082920 --- /dev/null +++ b/obj/item/weldingtool.html @@ -0,0 +1,5 @@ +/obj/item/weldingtool - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

weldingtool

Procs

set_state
try_weldfuel_amt is how much fuel is needed to weld, use_amt is how much fuel is used per action

Proc Details

set_state

    +
  • Set the stats for the weldingtool and handles side effects when transitioning on->off or off->on +* on - TRUE for welding, FALSE for not welding +* user - mob toggling the welder, if applicable. Can be null. Currently only used to send chat feedback
  • +

try_weld

fuel_amt is how much fuel is needed to weld, use_amt is how much fuel is used per action

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/ladder.html b/obj/ladder.html new file mode 100644 index 0000000000000..86b89a3a36890 --- /dev/null +++ b/obj/ladder.html @@ -0,0 +1 @@ +/obj/ladder - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

ladder

Vars

climberslist of active ladder climbers, used for loose item/mob expulsion
unclimbableif true, disables ladder climbing behavior

Var Details

climbers

list of active ladder climbers, used for loose item/mob expulsion

unclimbable

if true, disables ladder climbing behavior

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/landmark/random_room.html b/obj/landmark/random_room.html new file mode 100644 index 0000000000000..8017f4cce1efe --- /dev/null +++ b/obj/landmark/random_room.html @@ -0,0 +1 @@ +/obj/landmark/random_room - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/obj/landmark/random_room

Vars

additional_tagsAll of these tags must be present on the random room prefab for it to be chosen

Var Details

additional_tags

All of these tags must be present on the random room prefab for it to be chosen

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/landmark/spawner.html b/obj/landmark/spawner.html new file mode 100644 index 0000000000000..be1fe39d21eef --- /dev/null +++ b/obj/landmark/spawner.html @@ -0,0 +1 @@ +/obj/landmark/spawner - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

spawner

Vars

type_to_spawnType this landmark should spawn. Do not edit this on a map instance. Create a subtype.

Var Details

type_to_spawn

Type this landmark should spawn. Do not edit this on a map instance. Create a subtype.

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/landmark/viscontents_spawn.html b/obj/landmark/viscontents_spawn.html new file mode 100644 index 0000000000000..5ada0d800a3ba --- /dev/null +++ b/obj/landmark/viscontents_spawn.html @@ -0,0 +1 @@ +/obj/landmark/viscontents_spawn - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

visual mirror spawn

Vars

targetZtarget z-level to push it's contents to
warptarget_modifiermodifier for restricting criteria of what gets warped by mirror
xOffsetx offset relative to the landmark, will cause visual jump effect due to set_loc not gliding
yOffsety offset relative to the landmark, will cause visual jump effect due to set_loc not gliding

Var Details

targetZ

target z-level to push it's contents to

warptarget_modifier

modifier for restricting criteria of what gets warped by mirror

xOffset

x offset relative to the landmark, will cause visual jump effect due to set_loc not gliding

yOffset

y offset relative to the landmark, will cause visual jump effect due to set_loc not gliding

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/laser_sink.html b/obj/laser_sink.html new file mode 100644 index 0000000000000..1557e0ee6815c --- /dev/null +++ b/obj/laser_sink.html @@ -0,0 +1,3 @@ +/obj/laser_sink - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

/obj/laser_sink

The abstract concept of a thing that does stuff when hit by a laser

Procs

exident"that's not a word" - 🤓 +When a laser stops hitting this sink
incidentWhen a laser hits this sink, return TRUE on successful connection
traverseAnother stub, should call traverse on all emitted laser segments with the proc passed through

Proc Details

exident

"that's not a word" - 🤓 +When a laser stops hitting this sink

incident

When a laser hits this sink, return TRUE on successful connection

traverse

Another stub, should call traverse on all emitted laser segments with the proc passed through

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/lattice.html b/obj/lattice.html new file mode 100644 index 0000000000000..299d0c5516227 --- /dev/null +++ b/obj/lattice.html @@ -0,0 +1 @@ +/obj/lattice - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

lattice

metal beam lattices for connecting station parts.

Vars

dirmaskbitmask of directions it connects to.

Procs

Newif icon is manually var edited, set dirmask. Else, input temp_dirmask and select the correct icon.

Var Details

dirmask

bitmask of directions it connects to.

Proc Details

New

if icon is manually var edited, set dirmask. Else, input temp_dirmask and select the correct icon.

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/lattice/auto.html b/obj/lattice/auto.html new file mode 100644 index 0000000000000..6b12738bc3638 --- /dev/null +++ b/obj/lattice/auto.html @@ -0,0 +1,2 @@ +/obj/lattice/auto - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/obj/lattice/auto

lattice spawners, for mapping large quantities of lattice at once. +They auto connect in four directions depending on the lattices around them, plus you can set them to connect to certain turfs.

Vars

attach_to_all_turfsmakes it attach to all non space turfs
attach_to_wallmakes the lattices connect to walls too

Procs

initializechecks around itself for spots to connect to, creates a new lattice, then qdels itself.

Var Details

attach_to_all_turfs

makes it attach to all non space turfs

attach_to_wall

makes the lattices connect to walls too

Proc Details

initialize

checks around itself for spots to connect to, creates a new lattice, then qdels itself.

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/linked_laser.html b/obj/linked_laser.html new file mode 100644 index 0000000000000..34f245beb1842 --- /dev/null +++ b/obj/linked_laser.html @@ -0,0 +1,5 @@ +/obj/linked_laser - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/obj/linked_laser

Vars

is_endpointAre we at the very end of the beam, and so watching to see if the next turf becomes free
lengthHow many laser segments are behind us
max_lengthMaximum number of segments in the beam, this exists to prevent nerds from blowing up the server
powerRelative laser power, modified by splitters etc.
sinkA laser sink we're pointing into (null on most beams)

Procs

CrossedNB: the parent is allowed to qdel src here, so child types should handle being qdeled in Crossed
become_endpointCalled on the last laser in the chain to make it watch for changes to the turf blocking it
copy_laserReturns a new segment with all its properties copied over (override on child types)
current_turf_density_changeSomething is changing density in our current turf
current_turf_replaced///////////clusterfuck signal registered procs/////////////// +Our turf is being replaced with another
disposingKill any upstream laser objects
extendSet up a new laser on the next turf
is_blockingDoes something block the laser?
next_turf_replacedThe next turf in line is being replaced with another, so check if it's now suitable to put another laser on
next_turf_updatedSomething is crossing into or changing density in the next turf in line
release_endpointCalled when we extend a new laser object and are therefore no longer an endpoint
traverseTraverses all upstream laser segments and calls proc_to_call on each of them
try_propagateAttempt to propagate the laser by extending, interacting with sinks etc. +Separated from New to allow setting up properties on a laser object without passing them as New args
turf_checkDoes anything on a turf block the laser?

Var Details

is_endpoint

Are we at the very end of the beam, and so watching to see if the next turf becomes free

length

How many laser segments are behind us

max_length

Maximum number of segments in the beam, this exists to prevent nerds from blowing up the server

power

Relative laser power, modified by splitters etc.

sink

A laser sink we're pointing into (null on most beams)

Proc Details

Crossed

NB: the parent is allowed to qdel src here, so child types should handle being qdeled in Crossed

become_endpoint

Called on the last laser in the chain to make it watch for changes to the turf blocking it

copy_laser

Returns a new segment with all its properties copied over (override on child types)

current_turf_density_change

Something is changing density in our current turf

current_turf_replaced

///////////clusterfuck signal registered procs/////////////// +Our turf is being replaced with another

disposing

Kill any upstream laser objects

extend

Set up a new laser on the next turf

is_blocking

Does something block the laser?

next_turf_replaced

The next turf in line is being replaced with another, so check if it's now suitable to put another laser on

next_turf_updated

Something is crossing into or changing density in the next turf in line

release_endpoint

Called when we extend a new laser object and are therefore no longer an endpoint

traverse

Traverses all upstream laser segments and calls proc_to_call on each of them

try_propagate

Attempt to propagate the laser by extending, interacting with sinks etc. +Separated from New to allow setting up properties on a laser object without passing them as New args

turf_check

Does anything on a turf block the laser?

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/linked_laser/h7_beam.html b/obj/linked_laser/h7_beam.html new file mode 100644 index 0000000000000..e103962431a14 --- /dev/null +++ b/obj/linked_laser/h7_beam.html @@ -0,0 +1 @@ +/obj/linked_laser/h7_beam - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

energy beam

Vars

powerHow dangerous is this beam, anyhow? 1-5. 1-3 cause minor teleport hops and radiation damage, 4 tends to deposit people in a place separate from their stuff (or organs), and 5 tears their molecules apart

Var Details

power

How dangerous is this beam, anyhow? 1-5. 1-3 cause minor teleport hops and radiation damage, 4 tends to deposit people in a place separate from their stuff (or organs), and 5 tears their molecules apart

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/loot_spawner.html b/obj/loot_spawner.html new file mode 100644 index 0000000000000..dc6e61c517a24 --- /dev/null +++ b/obj/loot_spawner.html @@ -0,0 +1 @@ +/obj/loot_spawner - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/obj/loot_spawner

Vars

xSizeThe width of this spawner
ySizeThe height of this spawner

Procs

handle_lootCalls spawn_loot, then handles disappearing & overrides
spawn_itemspawn a given item with the 'transform on pickup' component. Refer to function definition for better docs.
spawn_lootSpawn the loot for this instance. Return TRUE if this should not take up grid squares.

Var Details

xSize

The width of this spawner

ySize

The height of this spawner

Proc Details

handle_loot

Calls spawn_loot, then handles disappearing & overrides

spawn_item

spawn a given item with the 'transform on pickup' component. Refer to function definition for better docs.

spawn_loot

Spawn the loot for this instance. Return TRUE if this should not take up grid squares.

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/loot_spawner/random.html b/obj/loot_spawner/random.html new file mode 100644 index 0000000000000..c0f0f5f3da353 --- /dev/null +++ b/obj/loot_spawner/random.html @@ -0,0 +1 @@ +/obj/loot_spawner/random - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/obj/loot_spawner/random

Vars

booze_itemsgeneric booze loot pool
drug_itemsgeneric drug loot pool
strong_stimsuncommon, valuable drugs, for placement in syringes
tierwhat tier must be selected to select this spawner.
weightthe weight this spawner has to be selected in its' tier, defaults to 3.

Var Details

booze_items

generic booze loot pool

drug_items

generic drug loot pool

strong_stims

uncommon, valuable drugs, for placement in syringes

tier

what tier must be selected to select this spawner.

weight

the weight this spawner has to be selected in its' tier, defaults to 3.

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery.html b/obj/machinery.html new file mode 100644 index 0000000000000..3c8a97590e62d --- /dev/null +++ b/obj/machinery.html @@ -0,0 +1,3 @@ +/obj/machinery - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

machinery

Procs

can_access_remotelyDetermines whether or not the user can remote access devices. +This is typically limited to Borgs and AI things
can_eject_occupantcheck if a mob is allowed to eject occupants from various machines
on_add_contentsCalled when contents are added to the machine so it can do any special things it needs to

Proc Details

can_access_remotely

Determines whether or not the user can remote access devices. +This is typically limited to Borgs and AI things

can_eject_occupant

check if a mob is allowed to eject occupants from various machines

on_add_contents

Called when contents are added to the machine so it can do any special things it needs to

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/activation_button.html b/obj/machinery/activation_button.html new file mode 100644 index 0000000000000..1127c817c3a67 --- /dev/null +++ b/obj/machinery/activation_button.html @@ -0,0 +1 @@ +/obj/machinery/activation_button - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Activation Button

Vars

idcompatible machines with a matching id will be activated

Var Details

id

compatible machines with a matching id will be activated

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/alarm.html b/obj/machinery/alarm.html new file mode 100644 index 0000000000000..1ee3b4266efa4 --- /dev/null +++ b/obj/machinery/alarm.html @@ -0,0 +1,3 @@ +/obj/machinery/alarm - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

air monitor

Vars

gas_safety_levelsthis is a list of safe & good partial pressures of each gas. If all gasses are in the good range, the alarm will show green. If any gas is outside the safe range, the alarm will show alert. Otherwise caution. +most of these values are taken from lung.dm
last_safekeeps track of last alarm status
skipprocesssave some CPU by only checking every tick when something is amiss

Var Details

gas_safety_levels

this is a list of safe & good partial pressures of each gas. If all gasses are in the good range, the alarm will show green. If any gas is outside the safe range, the alarm will show alert. Otherwise caution. +most of these values are taken from lung.dm

last_safe

keeps track of last alarm status

skipprocess

save some CPU by only checking every tick when something is amiss

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/arc_electroplater.html b/obj/machinery/arc_electroplater.html new file mode 100644 index 0000000000000..b37ac9ef133b4 --- /dev/null +++ b/obj/machinery/arc_electroplater.html @@ -0,0 +1,7 @@ +/obj/machinery/arc_electroplater - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Arc Electroplater

Vars

typeinfo_type

Var Details

typeinfo_type

    +
  • Arc Electroplater +
      +
    • Applies materials directly to items
    • +
    +
  • +
goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/atmospherics.html b/obj/machinery/atmospherics.html new file mode 100644 index 0000000000000..954c848ddd285 --- /dev/null +++ b/obj/machinery/atmospherics.html @@ -0,0 +1,16 @@ +/obj/machinery/atmospherics - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/obj/machinery/atmospherics

Quick overview: +Pipes combine to form pipelines. +Pipelines and other atmospheric objects combine to form pipe_networks. +Note: A single pipe_network represents a completely open space. +Pipes -> Pipelines +Pipelines + Other Objects -> Pipe network

Vars

initialize_directionsDirections to look for other atmospheric devices.

Procs

build_networkCalled to build a network from this node.
disconnectDisconnect reference from our nodes.
network_disposingCalled by a network associated with this machine when it is being disposed. +This must be implemented to unhook any references to the network.
network_expandCheck to see if should be added to network. Add self if so and adjust variables appropriately. +Note don't forget to have neighbors look as well!
reassign_networkUsed when two pipe_networks are combining.
return_networkReturns pipe_network associated with connection to reference. +Notes: Should create network if necessary so it never returns null.
return_network_air

Var Details

initialize_directions

Directions to look for other atmospheric devices.

Proc Details

build_network

Called to build a network from this node.

disconnect

Disconnect reference from our nodes.

network_disposing

Called by a network associated with this machine when it is being disposed. +This must be implemented to unhook any references to the network.

network_expand

Check to see if should be added to network. Add self if so and adjust variables appropriately. +Note don't forget to have neighbors look as well!

reassign_network

Used when two pipe_networks are combining.

return_network

Returns pipe_network associated with connection to reference. +Notes: Should create network if necessary so it never returns null.

return_network_air

    +
  • Return a list of gas_mixture(s) in the object
  • +
  • associated with reference pipe_network for use in rebuilding the networks gases list.
  • +
  • Is permitted to return null.
  • +
goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/atmospherics/binary/dp_vent_pump.html b/obj/machinery/atmospherics/binary/dp_vent_pump.html new file mode 100644 index 0000000000000..93e042c9faa4b --- /dev/null +++ b/obj/machinery/atmospherics/binary/dp_vent_pump.html @@ -0,0 +1 @@ +/obj/machinery/atmospherics/binary/dp_vent_pump - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Dual Port Air Vent

Vars

external_pressure_boundMax pressure for the environment when releasing, and minimum pressure when siphoning.
frequencyRadio frequency to operate on.
idRadio ID we respond to for multicast.
input_pressure_minThe minimum pressure to keep our input at.
net_idRadio ID that refers to specifically us.
output_pressure_maxThe maximum pressure to keep our output at.
pressure_checksWhat bounds to check for.
pump_directionTakes gas from the environment

Var Details

external_pressure_bound

Max pressure for the environment when releasing, and minimum pressure when siphoning.

frequency

Radio frequency to operate on.

id

Radio ID we respond to for multicast.

input_pressure_min

The minimum pressure to keep our input at.

net_id

Radio ID that refers to specifically us.

output_pressure_max

The maximum pressure to keep our output at.

pressure_checks

What bounds to check for.

pump_direction

Takes gas from the environment

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/atmospherics/binary/nuclear_reactor.html b/obj/machinery/atmospherics/binary/nuclear_reactor.html new file mode 100644 index 0000000000000..46ea49443a065 --- /dev/null +++ b/obj/machinery/atmospherics/binary/nuclear_reactor.html @@ -0,0 +1 @@ +/obj/machinery/atmospherics/binary/nuclear_reactor - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

Model NTBMK Nuclear Reactor

Vars

_comp_grid_overlay_updateINTERNAL: Used to detemine whether an icon update is needed for the component grid overlay
_debug_modeINTERNAL DEBUG: set to true to output debug messages
_last_total_coolant_eINTERNAL DEBUG: tracks total stored thermal energy in the coolant
_last_total_thermal_eINTERNAL DEBUG: tracks total stored thermal energy in the reactor grid
_light_turfref to the turf the reactor light is stored on, because you can't center simple lights
_pending_grid_updatesINTERNAL: count of old pending grid updates, for the flicker prevention code
air_contentsgas that has been processed, primarily used for atmos analyser
component_grid2D grid of reactor components, or null where there are no components. Size is REACTOR_GRID_WIDTH x REACTOR_GRID_HEIGHT
current_gasCurrent gas mixture to process
flux_grid2D grid of lists of neutrons in each grid slot of the component grid. Lists can be empty.
meltedFlag indicating total meltdown has happened
net_idID of this object on the pnet
radiationLevelNumber of neutrons that hit the edge of the reactor grid last tick
reactor_vessel_gas_volumeVolume of gas to process each tick
temperatureReactor casing temperature
terminalReference to the power terminal we use to register onto the pnet
thermal_massThermal mass. Basically how much energy it takes to heat this up 1Kelvin

Procs

setMaterialTransmuting nuclear engine into jeans sometimes causes a client crash

Var Details

_comp_grid_overlay_update

INTERNAL: Used to detemine whether an icon update is needed for the component grid overlay

_debug_mode

INTERNAL DEBUG: set to true to output debug messages

_last_total_coolant_e

INTERNAL DEBUG: tracks total stored thermal energy in the coolant

_last_total_thermal_e

INTERNAL DEBUG: tracks total stored thermal energy in the reactor grid

_light_turf

ref to the turf the reactor light is stored on, because you can't center simple lights

_pending_grid_updates

INTERNAL: count of old pending grid updates, for the flicker prevention code

air_contents

gas that has been processed, primarily used for atmos analyser

component_grid

2D grid of reactor components, or null where there are no components. Size is REACTOR_GRID_WIDTH x REACTOR_GRID_HEIGHT

current_gas

Current gas mixture to process

flux_grid

2D grid of lists of neutrons in each grid slot of the component grid. Lists can be empty.

melted

Flag indicating total meltdown has happened

net_id

ID of this object on the pnet

radiationLevel

Number of neutrons that hit the edge of the reactor grid last tick

reactor_vessel_gas_volume

Volume of gas to process each tick

temperature

Reactor casing temperature

terminal

Reference to the power terminal we use to register onto the pnet

thermal_mass

Thermal mass. Basically how much energy it takes to heat this up 1Kelvin

Proc Details

setMaterial

Transmuting nuclear engine into jeans sometimes causes a client crash

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/atmospherics/binary/pump.html b/obj/machinery/atmospherics/binary/pump.html new file mode 100644 index 0000000000000..22a3065d31003 --- /dev/null +++ b/obj/machinery/atmospherics/binary/pump.html @@ -0,0 +1 @@ +/obj/machinery/atmospherics/binary/pump - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Gas pump

Vars

frequencyRadio frequency to operate on.
idRadio ID we respond to for multicast.
net_idRadio ID that refers to specifically us.

Var Details

frequency

Radio frequency to operate on.

id

Radio ID we respond to for multicast.

net_id

Radio ID that refers to specifically us.

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/atmospherics/binary/reactor_turbine.html b/obj/machinery/atmospherics/binary/reactor_turbine.html new file mode 100644 index 0000000000000..ee6d313ae66cc --- /dev/null +++ b/obj/machinery/atmospherics/binary/reactor_turbine.html @@ -0,0 +1 @@ +/obj/machinery/atmospherics/binary/reactor_turbine - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Gas Turbine

Vars

RPMCurrent RPM of the turbing
_last_rpm_icon_updateINTERNAL: used to determine whether an icon update is required
_light_turfINTERNAL: ref to the turf the turbine light is stored on, because you can't center simple lights
air_contentsCurrent gas for processing
best_RPMmost efficient power generation at this value, overspeed at 1.2*this
flow_rateVolume of gas to process per tick for power generation
historyTurbine RPM/powergen/stator load history
lastgenHow much power we generated last tick
net_idID of this object on the pnet
overspeedFlag for RPM being > best_RPM*1.2
overtempFlag for gas temperature being > 3000K
power_multiplierbodge factor for power generation
stallingFlag for indicating that energy available is less than needed to turn the turbine
stator_loadStator load is basically watts per revolution
terminalReference to the power terminal we use to dump power onto the net
turbine_massCalibration factor which determines how much inertia the turbine has - ie, resistance to change in RPM
undertempFlag for gas temperature being < T20C

Var Details

RPM

Current RPM of the turbing

_last_rpm_icon_update

INTERNAL: used to determine whether an icon update is required

_light_turf

INTERNAL: ref to the turf the turbine light is stored on, because you can't center simple lights

air_contents

Current gas for processing

best_RPM

most efficient power generation at this value, overspeed at 1.2*this

flow_rate

Volume of gas to process per tick for power generation

history

Turbine RPM/powergen/stator load history

lastgen

How much power we generated last tick

net_id

ID of this object on the pnet

overspeed

Flag for RPM being > best_RPM*1.2

overtemp

Flag for gas temperature being > 3000K

power_multiplier

bodge factor for power generation

stalling

Flag for indicating that energy available is less than needed to turn the turbine

stator_load

Stator load is basically watts per revolution

terminal

Reference to the power terminal we use to dump power onto the net

turbine_mass

Calibration factor which determines how much inertia the turbine has - ie, resistance to change in RPM

undertemp

Flag for gas temperature being < T20C

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/atmospherics/binary/valve.html b/obj/machinery/atmospherics/binary/valve.html new file mode 100644 index 0000000000000..e76cb95faeffd --- /dev/null +++ b/obj/machinery/atmospherics/binary/valve.html @@ -0,0 +1 @@ +/obj/machinery/atmospherics/binary/valve - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

manual valve

Vars

high_riskDoes this valve have enough grief potential that the admins should be messaged when this is opened?
openAre we letting gas pass through us?

Procs

closeClose us down and split the network we are connected to.
openOpen us up and connect the networks we are connected to.

Var Details

high_risk

Does this valve have enough grief potential that the admins should be messaged when this is opened?

open

Are we letting gas pass through us?

Proc Details

close

Close us down and split the network we are connected to.

open

Open us up and connect the networks we are connected to.

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/atmospherics/binary/volume_pump.html b/obj/machinery/atmospherics/binary/volume_pump.html new file mode 100644 index 0000000000000..d855d46926ac2 --- /dev/null +++ b/obj/machinery/atmospherics/binary/volume_pump.html @@ -0,0 +1 @@ +/obj/machinery/atmospherics/binary/volume_pump - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Gas pump

Vars

frequencyRadio frequency to operate on.
idRadio ID we respond to for multicast.
net_idRadio ID that refers to specifically us.

Var Details

frequency

Radio frequency to operate on.

id

Radio ID we respond to for multicast.

net_id

Radio ID that refers to specifically us.

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/atmospherics/pipe.html b/obj/machinery/atmospherics/pipe.html new file mode 100644 index 0000000000000..d2b2342a9d000 --- /dev/null +++ b/obj/machinery/atmospherics/pipe.html @@ -0,0 +1,3 @@ +/obj/machinery/atmospherics/pipe - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/obj/machinery/atmospherics/pipe

The basic pipe parent for things that can support pipelines and bursting and stuff.

Vars

parentOur pipeline.
volumeOur volume for gas.

Procs

check_pressureReturn TRUE if parent should continue checking other pipes. +Return FALSE or null if parent should stop checking other pipes. Recall: qdel(src) will by default return null.
pipeline_expansionReturns a list of nodes that we can add to the pipeline. List may be null or contain nulls.

Var Details

parent

Our pipeline.

volume

Our volume for gas.

Proc Details

check_pressure

Return TRUE if parent should continue checking other pipes. +Return FALSE or null if parent should stop checking other pipes. Recall: qdel(src) will by default return null.

pipeline_expansion

Returns a list of nodes that we can add to the pipeline. List may be null or contain nulls.

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/atmospherics/pipe/simple.html b/obj/machinery/atmospherics/pipe/simple.html new file mode 100644 index 0000000000000..89cbd26d13816 --- /dev/null +++ b/obj/machinery/atmospherics/pipe/simple.html @@ -0,0 +1 @@ +/obj/machinery/atmospherics/pipe/simple - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

pipe

The pipe type you usually see wandering around and are most familiar with.

Vars

can_ruptureCan this pipe rupture?
destroyedAre we destroyed and need replacement?
disconnectedAre we currently in a disconnected state?
fatigue_pressurePressure needed before the pipe gets a chance to burst, see proc/effective_fatigue_pressure for the value that takes into account material stats too
minimum_temperature_differenceThe minimum temperature between us and the environment before we start sharing temperature.
rupturedHow broken is our pipe.
thermal_conductivityHow well we share temperature.

Procs

get_welding_positionsReturns list of coordinates to start and stop welding animation.
leak_gasMoves gas from the high pressure mixture to the low pressure mixture, usually pipe to tile.
reconstruct_pipeRebuilds pipe from completely destroyed state to disconnected state.
repair_pipeRepairs the pipe back to orginal state.
ruptureRuptures the pipe, with varying levels of leakage.

Var Details

can_rupture

Can this pipe rupture?

destroyed

Are we destroyed and need replacement?

disconnected

Are we currently in a disconnected state?

fatigue_pressure

Pressure needed before the pipe gets a chance to burst, see proc/effective_fatigue_pressure for the value that takes into account material stats too

minimum_temperature_difference

The minimum temperature between us and the environment before we start sharing temperature.

ruptured

How broken is our pipe.

thermal_conductivity

How well we share temperature.

Proc Details

get_welding_positions

Returns list of coordinates to start and stop welding animation.

leak_gas

Moves gas from the high pressure mixture to the low pressure mixture, usually pipe to tile.

reconstruct_pipe

Rebuilds pipe from completely destroyed state to disconnected state.

repair_pipe

Repairs the pipe back to orginal state.

rupture

Ruptures the pipe, with varying levels of leakage.

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/atmospherics/trinary.html b/obj/machinery/atmospherics/trinary.html new file mode 100644 index 0000000000000..a57921094d740 --- /dev/null +++ b/obj/machinery/atmospherics/trinary.html @@ -0,0 +1 @@ +/obj/machinery/atmospherics/trinary - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/obj/machinery/atmospherics/trinary

Vars

flippedAre our inputs flipped around?

Var Details

flipped

Are our inputs flipped around?

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/atmospherics/trinary/filter.html b/obj/machinery/atmospherics/trinary/filter.html new file mode 100644 index 0000000000000..5762be44df487 --- /dev/null +++ b/obj/machinery/atmospherics/trinary/filter.html @@ -0,0 +1 @@ +/obj/machinery/atmospherics/trinary/filter - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Gas filter

Vars

filter_typeID of the gas you wish to filter
target_pressureWhat output pressure we aiming for?

Var Details

filter_type

ID of the gas you wish to filter

target_pressure

What output pressure we aiming for?

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/atmospherics/trinary/manifold_valve.html b/obj/machinery/atmospherics/trinary/manifold_valve.html new file mode 100644 index 0000000000000..e28be6d1a0346 --- /dev/null +++ b/obj/machinery/atmospherics/trinary/manifold_valve.html @@ -0,0 +1 @@ +/obj/machinery/atmospherics/trinary/manifold_valve - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

manifold valve

Vars

divertDiverts gas flow into the middle node.
frequencyWhat frequency we are listening on.
idWhat label is used to contact us on packets?

Procs

divertDivert gas flow from node3 to node2.
undivertDivert gas flow from node2 back to node3.

Var Details

divert

Diverts gas flow into the middle node.

frequency

What frequency we are listening on.

id

What label is used to contact us on packets?

Proc Details

divert

Divert gas flow from node3 to node2.

undivert

Divert gas flow from node2 back to node3.

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/atmospherics/trinary/mixer.html b/obj/machinery/atmospherics/trinary/mixer.html new file mode 100644 index 0000000000000..257fe97d8b43d --- /dev/null +++ b/obj/machinery/atmospherics/trinary/mixer.html @@ -0,0 +1 @@ +/obj/machinery/atmospherics/trinary/mixer - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Gas mixer

Vars

frequencyWhat frequency we listening on.
id_tagID tag used to refer to us.
master_idWho controls us?
node1_ratioRatio of gas from node1.
node2_ratioRatio of gas from node2.
target_pressurePressure we output at.

Var Details

frequency

What frequency we listening on.

id_tag

ID tag used to refer to us.

master_id

Who controls us?

node1_ratio

Ratio of gas from node1.

node2_ratio

Ratio of gas from node2.

target_pressure

Pressure we output at.

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/atmospherics/trinary/retrofilter.html b/obj/machinery/atmospherics/trinary/retrofilter.html new file mode 100644 index 0000000000000..769fbf970a5c0 --- /dev/null +++ b/obj/machinery/atmospherics/trinary/retrofilter.html @@ -0,0 +1 @@ +/obj/machinery/atmospherics/trinary/retrofilter - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Gas filter

Vars

emaggedAre we emagged?
filter_modeBitfield determining gases to filter.
hackedHas our access system been bypassed?
lockedAre we locked from access?
openIs the access system open?
transfer_ratioPercentage of passing gas to consider for transfer.

Var Details

emagged

Are we emagged?

filter_mode

Bitfield determining gases to filter.

hacked

Has our access system been bypassed?

locked

Are we locked from access?

open

Is the access system open?

transfer_ratio

Percentage of passing gas to consider for transfer.

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/atmospherics/unary.html b/obj/machinery/atmospherics/unary.html new file mode 100644 index 0000000000000..8179f5b8153fe --- /dev/null +++ b/obj/machinery/atmospherics/unary.html @@ -0,0 +1 @@ +/obj/machinery/atmospherics/unary - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/obj/machinery/atmospherics/unary

Vars

air_contentsOur sweet sweet air.
networkThe pipe network we belong to.
nodeOur sole connection to other atmospheric devices.

Var Details

air_contents

Our sweet sweet air.

network

The pipe network we belong to.

node

Our sole connection to other atmospheric devices.

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/atmospherics/unary/cold_sink.html b/obj/machinery/atmospherics/unary/cold_sink.html new file mode 100644 index 0000000000000..1eb30ae95de4e --- /dev/null +++ b/obj/machinery/atmospherics/unary/cold_sink.html @@ -0,0 +1 @@ +/obj/machinery/atmospherics/unary/cold_sink - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Cold Sink

Vars

current_heat_capacityHow well do we change a mixture's temperature, essentially.
current_temperatureWhat temperature are we changing the gas to.

Var Details

current_heat_capacity

How well do we change a mixture's temperature, essentially.

current_temperature

What temperature are we changing the gas to.

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/atmospherics/unary/cryo_cell.html b/obj/machinery/atmospherics/unary/cryo_cell.html new file mode 100644 index 0000000000000..481598e402c3b --- /dev/null +++ b/obj/machinery/atmospherics/unary/cryo_cell.html @@ -0,0 +1 @@ +/obj/machinery/atmospherics/unary/cryo_cell - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

cryogenic healing pod

Vars

beakerThe beaker containing chems which are applied to the occupant. May or may not be present.
occupantMob inside the tube being healed
occupied_power_useAdditional power usage when the pod is occupied (and on)
onWhether the cell is turned on or not

Procs

expel_gasLeaks some gas out.
go_outProc to exit the cryo cell.
heat_gas_contentsSlowly heats air_contents to 20C
try_push_inProc for entering a cryo tube. If a mob is shoving another mob in, user and target are different. If a mob is entering on its own, user and target are the same.

Var Details

beaker

The beaker containing chems which are applied to the occupant. May or may not be present.

occupant

Mob inside the tube being healed

occupied_power_use

Additional power usage when the pod is occupied (and on)

on

Whether the cell is turned on or not

Proc Details

expel_gas

Leaks some gas out.

go_out

Proc to exit the cryo cell.

heat_gas_contents

Slowly heats air_contents to 20C

try_push_in

Proc for entering a cryo tube. If a mob is shoving another mob in, user and target are different. If a mob is entering on its own, user and target are the same.

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/atmospherics/unary/outlet_injector.html b/obj/machinery/atmospherics/unary/outlet_injector.html new file mode 100644 index 0000000000000..27f661b8b9367 --- /dev/null +++ b/obj/machinery/atmospherics/unary/outlet_injector.html @@ -0,0 +1 @@ +/obj/machinery/atmospherics/unary/outlet_injector - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

Air Injector

Vars

frequencyRadio frequency to operate on.
idRadio ID we respond to for multicast.
injectingAre we injecting air at this current moment?
net_idRadio ID that refers to specifically us.
onAre we doing anything?
volume_rateVolume of air to output.

Procs

injectInjects gas into the environment once.

Var Details

frequency

Radio frequency to operate on.

id

Radio ID we respond to for multicast.

injecting

Are we injecting air at this current moment?

net_id

Radio ID that refers to specifically us.

on

Are we doing anything?

volume_rate

Volume of air to output.

Proc Details

inject

Injects gas into the environment once.

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/atmospherics/unary/vent_pump.html b/obj/machinery/atmospherics/unary/vent_pump.html new file mode 100644 index 0000000000000..cda512d4ad7b7 --- /dev/null +++ b/obj/machinery/atmospherics/unary/vent_pump.html @@ -0,0 +1 @@ +/obj/machinery/atmospherics/unary/vent_pump - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Air Vent

Vars

external_pressure_boundMax pressure outside when releasing, and min pressure outside when siphoning.
frequencyRadio frequency to operate on.
idRadio ID we respond to for multicast.
internal_pressure_boundMin pressure inside when releasing, and max pressure inside when siphoning.
net_idRadio ID that refers to us only.
pressure_checksAre we applying the external bound, internal bound, or both?
pump_directionAre we pumping air in or out?

Var Details

external_pressure_bound

Max pressure outside when releasing, and min pressure outside when siphoning.

frequency

Radio frequency to operate on.

id

Radio ID we respond to for multicast.

internal_pressure_bound

Min pressure inside when releasing, and max pressure inside when siphoning.

net_id

Radio ID that refers to us only.

pressure_checks

Are we applying the external bound, internal bound, or both?

pump_direction

Are we pumping air in or out?

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/atmospherics/unary/vent_scrubber.html b/obj/machinery/atmospherics/unary/vent_scrubber.html new file mode 100644 index 0000000000000..0ccdc8d290f24 --- /dev/null +++ b/obj/machinery/atmospherics/unary/vent_scrubber.html @@ -0,0 +1 @@ +/obj/machinery/atmospherics/unary/vent_scrubber - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Air Scrubber

Vars

frequencyFrequency we communicate on, usually with air alarms.
idID we respond to for multicast.
net_idID that refers specifically to us.
onAre we doing anything at all?
scrubbingAre we sucking in all gas or only some?
volume_rateVolume of gas to take from turf.

Var Details

frequency

Frequency we communicate on, usually with air alarms.

id

ID we respond to for multicast.

net_id

ID that refers specifically to us.

on

Are we doing anything at all?

scrubbing

Are we sucking in all gas or only some?

volume_rate

Volume of gas to take from turf.

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/bot.html b/obj/machinery/bot.html new file mode 100644 index 0000000000000..454c184a29dd4 --- /dev/null +++ b/obj/machinery/bot.html @@ -0,0 +1,11 @@ +/obj/machinery/bot - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/obj/machinery/bot

Vars

PT_activeMiddle process rate for bots currently trying to murder someone
PT_idleBots get their processing tier changed based on what they're doing +If they're offscreen and not doing anything interesting, they get processed less rapidly +If they're onscreen and not in the middle of something major, they get processed rapidly +If they're right in the middle of something like arresting someone, they get processed ehhh quick +Low process rate for bots that we can't see
PT_searchHigh process rate for bots looking for something to do
bot_chat_styleWhat does our bot's chat text speech look like?
bot_move_delayHow slowly the bot moves by default -- higher is slower!
bot_speech_bubbleThe bot's speech bubble
bot_speech_colorWhat color is the bot's speech?
bot_speech_styleWhat does our bot's popup speech look like?
bot_voiceThe noise that happens whenever the bot speaks
botnet_idThe bot's net ID
doing_somethingIf we're in the middle of something and don't want our tier to go wonky
dynamic_processingIs this bot dynamic enough to need a higher processing tier when being watched? +Set to 0 for bots that don't typically directly interact with people, like ducks and floorbots
hash_check_rangeRange that the bot checks for clients
speakverbsWhat's it talk like?
speech2textShould the bot's speech pop up over them?

Procs

turf2coordinatesTakes a turf and spits out string of coordinates

Var Details

PT_active

Middle process rate for bots currently trying to murder someone

PT_idle

Bots get their processing tier changed based on what they're doing +If they're offscreen and not doing anything interesting, they get processed less rapidly +If they're onscreen and not in the middle of something major, they get processed rapidly +If they're right in the middle of something like arresting someone, they get processed ehhh quick +Low process rate for bots that we can't see

High process rate for bots looking for something to do

bot_chat_style

What does our bot's chat text speech look like?

bot_move_delay

How slowly the bot moves by default -- higher is slower!

bot_speech_bubble

The bot's speech bubble

bot_speech_color

What color is the bot's speech?

bot_speech_style

What does our bot's popup speech look like?

bot_voice

The noise that happens whenever the bot speaks

botnet_id

The bot's net ID

doing_something

If we're in the middle of something and don't want our tier to go wonky

dynamic_processing

Is this bot dynamic enough to need a higher processing tier when being watched? +Set to 0 for bots that don't typically directly interact with people, like ducks and floorbots

hash_check_range

Range that the bot checks for clients

speakverbs

What's it talk like?

speech2text

Should the bot's speech pop up over them?

Proc Details

turf2coordinates

Takes a turf and spits out string of coordinates

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/bot/buttbot.html b/obj/machinery/bot/buttbot.html new file mode 100644 index 0000000000000..985e8a9201a05 --- /dev/null +++ b/obj/machinery/bot/buttbot.html @@ -0,0 +1 @@ +/obj/machinery/bot/buttbot - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

buttbot

Vars

PT_idleA really obnoxious one at that
butthello this is my butt
butt_cooldownMinimum butt between butts
butt_fluffWhat kind of butt is this? For fluff purposes
butt_memoryList of things overheard
buttarmand this is the arm sticking out of my butt
buttfartCan this awful thing fart?
buttmobileCan this wretched thing move?
buttranslateButt up things it heard?
default_buttand this is the fallback butt I have if someone spawns me
dynamic_processingIts a butt
fart_cooldownMinimum time between farts
fart_memoryList of people farted on
no_more_butt_explosionsYou can't superfart your way out of hell
scoot_cooldownMinimum time between moves

Procs

robo_expel_fart_gascant possibly be a bad idea
scootMakes the buttbot mill around aimlessly, or chase people if emagged

Var Details

PT_idle

A really obnoxious one at that

butt

hello this is my butt

butt_cooldown

Minimum butt between butts

butt_fluff

What kind of butt is this? For fluff purposes

butt_memory

List of things overheard

buttarm

and this is the arm sticking out of my butt

buttfart

Can this awful thing fart?

buttmobile

Can this wretched thing move?

buttranslate

Butt up things it heard?

default_butt

and this is the fallback butt I have if someone spawns me

dynamic_processing

Its a butt

fart_cooldown

Minimum time between farts

fart_memory

List of people farted on

no_more_butt_explosions

You can't superfart your way out of hell

scoot_cooldown

Minimum time between moves

Proc Details

robo_expel_fart_gas

cant possibly be a bad idea

scoot

Makes the buttbot mill around aimlessly, or chase people if emagged

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/bot/cambot.html b/obj/machinery/bot/cambot.html new file mode 100644 index 0000000000000..f1bf8479bdec8 --- /dev/null +++ b/obj/machinery/bot/cambot.html @@ -0,0 +1 @@ +/obj/machinery/bot/cambot - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

Cambot

Vars

last_shotTime we last took a picture
shot_cooldownMinimum time between photography

Procs

EnteredProximityGotta catch those driveby moments

Var Details

last_shot

Time we last took a picture

shot_cooldown

Minimum time between photography

Proc Details

EnteredProximity

Gotta catch those driveby moments

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/bot/chefbot.html b/obj/machinery/bot/chefbot.html new file mode 100644 index 0000000000000..176d065d286c2 --- /dev/null +++ b/obj/machinery/bot/chefbot.html @@ -0,0 +1 @@ +/obj/machinery/bot/chefbot - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Dramatic Chef

Vars

dynamic_processingDoesn't feel right to have this guy constantly flipping its lid like a methed up graytider

Var Details

dynamic_processing

Doesn't feel right to have this guy constantly flipping its lid like a methed up graytider

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/bot/cleanbot.html b/obj/machinery/bot/cleanbot.html new file mode 100644 index 0000000000000..5da08a6639508 --- /dev/null +++ b/obj/machinery/bot/cleanbot.html @@ -0,0 +1 @@ +/obj/machinery/bot/cleanbot - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

cleanbot

Cleanbot

Vars

dynamic_processingThey're designed to work best while nobody's looking
scan_originFavor scanning from this spot, so that they'll tend to build out from here, and not just a bunch of metal spaghetti

Var Details

dynamic_processing

They're designed to work best while nobody's looking

scan_origin

Favor scanning from this spot, so that they'll tend to build out from here, and not just a bunch of metal spaghetti

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/bot/duckbot.html b/obj/machinery/bot/duckbot.html new file mode 100644 index 0000000000000..5cc2347508fc7 --- /dev/null +++ b/obj/machinery/bot/duckbot.html @@ -0,0 +1 @@ +/obj/machinery/bot/duckbot - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

Amusing Duck

Vars

amusement_cooldownTo make sure MAKING NOISE IS TRUE is false
annoy_path_cooldownDon't spam that pathfinding
annoy_targetPick someone, then mill around them making noise. If emagged is true.
annoy_timeoutThough maybe pick someone else after a while
duck_migration_targetLocation on the station where all these damn things migrate to for whatever reason
dynamic_processingha ha NO.
egg_processWhen it gets to 100, free egg!
forget_annoyed_timeoutAnd forget about who you annoyed after a while
migration_overrideSomeone set our migration path, let's go there instead of picking something
quack_cooldownMinimum time between gaggles and quacks

Procs

declare_migrationTells all the other bots that it's time to migrate... somewhere
migrateSends all the duckbots to a random spot on the station
mystical_accessGives the duckbot all access while on its quest
mystical_journeySends the duckbot to a random spot on the station
wakka_wakkaMakes the duckbot mill around aimlessly, or chase people if emagged

Var Details

amusement_cooldown

To make sure MAKING NOISE IS TRUE is false

annoy_path_cooldown

Don't spam that pathfinding

annoy_target

Pick someone, then mill around them making noise. If emagged is true.

annoy_timeout

Though maybe pick someone else after a while

duck_migration_target

Location on the station where all these damn things migrate to for whatever reason

dynamic_processing

ha ha NO.

egg_process

When it gets to 100, free egg!

forget_annoyed_timeout

And forget about who you annoyed after a while

migration_override

Someone set our migration path, let's go there instead of picking something

quack_cooldown

Minimum time between gaggles and quacks

Proc Details

declare_migration

Tells all the other bots that it's time to migrate... somewhere

migrate

Sends all the duckbots to a random spot on the station

mystical_access

Gives the duckbot all access while on its quest

mystical_journey

Sends the duckbot to a random spot on the station

wakka_wakka

Makes the duckbot mill around aimlessly, or chase people if emagged

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/bot/firebot.html b/obj/machinery/bot/firebot.html new file mode 100644 index 0000000000000..3f2bcb29fb155 --- /dev/null +++ b/obj/machinery/bot/firebot.html @@ -0,0 +1 @@ +/obj/machinery/bot/firebot - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Firebot

Vars

last_pointedIf we pointed at someone, don't keep pointing at them, its rude

Var Details

last_pointed

If we pointed at someone, don't keep pointing at them, its rude

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/bot/floorbot.html b/obj/machinery/bot/floorbot.html new file mode 100644 index 0000000000000..0845dfa943c49 --- /dev/null +++ b/obj/machinery/bot/floorbot.html @@ -0,0 +1,3 @@ +/obj/machinery/bot/floorbot - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Floorbot

Vars

dynamic_processingThey're designed to work best while nobody's looking +and they lag to shit at higher processing levels (i actually fixed that lag, but theyre kinda good at this rate sooo)
scan_originFavor scanning from this spot, so that they'll tend to build out from here, and not just a bunch of metal spaghetti

Var Details

dynamic_processing

They're designed to work best while nobody's looking +and they lag to shit at higher processing levels (i actually fixed that lag, but theyre kinda good at this rate sooo)

scan_origin

Favor scanning from this spot, so that they'll tend to build out from here, and not just a bunch of metal spaghetti

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/bot/guardbot.html b/obj/machinery/bot/guardbot.html new file mode 100644 index 0000000000000..950a5059f01db --- /dev/null +++ b/obj/machinery/bot/guardbot.html @@ -0,0 +1 @@ +/obj/machinery/bot/guardbot - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Guardbuddy

Vars

budgun_whitelistGUN STUFF -V
control_freqGUN STUFF -^
emotionThe current emotion of this robuddy, corresponding to an icon state.
face_icon_overrideIf set, the icon file that this robuddy's face icons should use.
gunfire_cooldownMinimum time between shooting an attached gun
lights_icon_stateThe current state of this robuddy's lights, corresponding to an icon state.
skin_icon_stateThe skin icon state that this robuddy should use.

Var Details

budgun_whitelist

GUN STUFF -V

control_freq

GUN STUFF -^

emotion

The current emotion of this robuddy, corresponding to an icon state.

face_icon_override

If set, the icon file that this robuddy's face icons should use.

gunfire_cooldown

Minimum time between shooting an attached gun

lights_icon_state

The current state of this robuddy's lights, corresponding to an icon state.

skin_icon_state

The skin icon state that this robuddy should use.

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/bot/medbot.html b/obj/machinery/bot/medbot.html new file mode 100644 index 0000000000000..cd09cfc852d01 --- /dev/null +++ b/obj/machinery/bot/medbot.html @@ -0,0 +1 @@ +/obj/machinery/bot/medbot - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Medibot

Vars

dangerous_stuffthe stuff the bot injects when emagged
last_patient_cooldownTime after injecting someone before they'll try to inject them again. Encourages them to spread the love (and poison). Hitting the bot overrides the cooldown
override_reagentSet this to make the bot only inject all this crap
override_reagent_limit_multThey'll stop stop injecting that crap if the patient has the per-inject amount
terrifying_medsList of drugs that terrifying derelist bots will inject

Var Details

dangerous_stuff

the stuff the bot injects when emagged

last_patient_cooldown

Time after injecting someone before they'll try to inject them again. Encourages them to spread the love (and poison). Hitting the bot overrides the cooldown

override_reagent

Set this to make the bot only inject all this crap

override_reagent_limit_mult

They'll stop stop injecting that crap if the patient has the per-inject amount

terrifying_meds

List of drugs that terrifying derelist bots will inject

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/bot/mulebot.html b/obj/machinery/bot/mulebot.html new file mode 100644 index 0000000000000..eeeac06b07307 --- /dev/null +++ b/obj/machinery/bot/mulebot.html @@ -0,0 +1 @@ +/obj/machinery/bot/mulebot - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Mulebot

Vars

unloadingsanitycheck so we can't try to unload during an unload operation

Var Details

unloading

sanitycheck so we can't try to unload during an unload operation

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/bot/secbot.html b/obj/machinery/bot/secbot.html new file mode 100644 index 0000000000000..4b1a26f8eaa5b --- /dev/null +++ b/obj/machinery/bot/secbot.html @@ -0,0 +1,3 @@ +/obj/machinery/bot/secbot - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

Securitron

Vars

baton_charge_durationHow long these batons hold a charge
baton_chargedSet by the stun action bar if the target isnt in range, grants a brief window for a free zap next time they try to attack
baton_chargingBusy charging
chatspam_cooldownLots of bots say lots of things. Let's space them out since most of it is just guff
container_cool_off_counterHow long has the bot been sitting in the time-out locker? (process cycles spent inside a locked/welded storage object)
container_cool_off_maxWhen the bot's been stuck in a locker this long, they'll forget who they were mad at +Note, this is in process() calls, not seconds, so it could vary quite a bit
cuff_threat_thresholdHow much of a threat does something have to be for us to actually cuff them?
cuffingSo we dont try to cuff someone while we're cuffing someone
guard_areaSet a bot to guard an area, and they'll go there and mill around
guard_area_lockdownArrest anyone who arent security / heads if they're in this area?
guard_mill_cooldownHow often should the bot try to wander around their guard post?
guard_start_no_announceWas on guard duty, apprehended someone, then went to return to guard duty? Keep it to yourself please
helpme_cooldownSecbots send a message when attacked. How long after this message should they send another?
last_target_cooldownTime after giving up on assaulting someone before they'll consider assaulting them again
lockdown_permitWho is exempt from our wrath while locking down an area?
warn_minor_crimeObey the threat threshold. Otherwise, just cuff em
weeooingOne WEEOOWEEOO at a time, please

Procs

assault_targetMakes the bot chase perps, hit them, and cuff them
baton_attackHits someone with our baton, or charges it if it isnt
charge_batonMakes the bot able to baton people, then makes them unable to baton people after a while
find_patrol_targetfinds a new patrol target
guard_targetMakes bots go to an area, mill around, and maybe attack people who shouldnt be there
move_the_botSends the bot on to a patrol target. Or Summon target, if that's what patrol_target is set to

Var Details

baton_charge_duration

How long these batons hold a charge

baton_charged

Set by the stun action bar if the target isnt in range, grants a brief window for a free zap next time they try to attack

baton_charging

Busy charging

chatspam_cooldown

Lots of bots say lots of things. Let's space them out since most of it is just guff

container_cool_off_counter

How long has the bot been sitting in the time-out locker? (process cycles spent inside a locked/welded storage object)

container_cool_off_max

When the bot's been stuck in a locker this long, they'll forget who they were mad at +Note, this is in process() calls, not seconds, so it could vary quite a bit

cuff_threat_threshold

How much of a threat does something have to be for us to actually cuff them?

cuffing

So we dont try to cuff someone while we're cuffing someone

guard_area

Set a bot to guard an area, and they'll go there and mill around

guard_area_lockdown

Arrest anyone who arent security / heads if they're in this area?

guard_mill_cooldown

How often should the bot try to wander around their guard post?

guard_start_no_announce

Was on guard duty, apprehended someone, then went to return to guard duty? Keep it to yourself please

helpme_cooldown

Secbots send a message when attacked. How long after this message should they send another?

last_target_cooldown

Time after giving up on assaulting someone before they'll consider assaulting them again

lockdown_permit

Who is exempt from our wrath while locking down an area?

warn_minor_crime

Obey the threat threshold. Otherwise, just cuff em

weeooing

One WEEOOWEEOO at a time, please

Proc Details

assault_target

Makes the bot chase perps, hit them, and cuff them

baton_attack

Hits someone with our baton, or charges it if it isnt

charge_baton

Makes the bot able to baton people, then makes them unable to baton people after a while

find_patrol_target

finds a new patrol target

guard_target

Makes bots go to an area, mill around, and maybe attack people who shouldnt be there

move_the_bot

Sends the bot on to a patrol target. Or Summon target, if that's what patrol_target is set to

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/bot/skullbot.html b/obj/machinery/bot/skullbot.html new file mode 100644 index 0000000000000..b2eecdd15897f --- /dev/null +++ b/obj/machinery/bot/skullbot.html @@ -0,0 +1 @@ +/obj/machinery/bot/skullbot - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

skullbot

Vars

dynamic_processinga bonehead on a stick doesnt need to process a million times a sec

Var Details

dynamic_processing

a bonehead on a stick doesnt need to process a million times a sec

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/broadside_gun.html b/obj/machinery/broadside_gun.html new file mode 100644 index 0000000000000..4beb5a67bd6da --- /dev/null +++ b/obj/machinery/broadside_gun.html @@ -0,0 +1 @@ +/obj/machinery/broadside_gun - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

Broadside Gun Parent

Vars

ammoAmount of ammo the gun has, set to -1 for infinite
firingfromShip name you're firing from, important for the designator
sound_offset_dirIn case you need to offset the gun firing's sound dir (if it's aiming left for example)
sound_offset_lengthIn case you need to offset the gun firing's sound by offset tiles (if it's aiming left for example)
sound_turfHolding var for the exact turf to play the gun's firing sound from
target_overlayOverlay sprite for where the strike will land, set to null for no overlay

Procs

bombardOverride this for the child of /obj/machinery/broadside_gun to determine what happens on-firing

Var Details

ammo

Amount of ammo the gun has, set to -1 for infinite

firingfrom

Ship name you're firing from, important for the designator

sound_offset_dir

In case you need to offset the gun firing's sound dir (if it's aiming left for example)

sound_offset_length

In case you need to offset the gun firing's sound by offset tiles (if it's aiming left for example)

sound_turf

Holding var for the exact turf to play the gun's firing sound from

target_overlay

Overlay sprite for where the strike will land, set to null for no overlay

Proc Details

bombard

Override this for the child of /obj/machinery/broadside_gun to determine what happens on-firing

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/camera.html b/obj/machinery/camera.html new file mode 100644 index 0000000000000..8997c88b58207 --- /dev/null +++ b/obj/machinery/camera.html @@ -0,0 +1 @@ +/obj/machinery/camera - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

security camera

Vars

ai_onlyCameras only the AI can see through
alternate_spritesdo auto position cameras use the alternate diagonal sprites?
c_tagThe camera tag which identifies this camera
camera_statusWhether the camera is on or off (bad var name)
invulnCan't be destroyed by explosions
lightRobust light
networkUsed by camera monitors to display certain cameras only
prefixUsed by autoname: EX "security camera"
referrersHere's a list of cameras pointing to this camera for reprocessing purposes
reinforcedCant be snipped by wirecutters
stickyautomatically offsets and snaps to perspective walls. Not for televisions or internal cameras.
uses_area_nameUsed by autoname: EX "camera - west primary hallway"
viewersThe viewers of the camera, for quickly disconnecting them when needed

Procs

connect_viewerConnect a viewer to this camera
disconnect_viewerDisconnect a viewer from this camera
disconnect_viewersDisconnect all viewers from this camera
move_viewer_toMove viewers eyes from current camera to a new camera

Var Details

ai_only

Cameras only the AI can see through

alternate_sprites

do auto position cameras use the alternate diagonal sprites?

c_tag

The camera tag which identifies this camera

camera_status

Whether the camera is on or off (bad var name)

invuln

Can't be destroyed by explosions

light

Robust light

network

Used by camera monitors to display certain cameras only

prefix

Used by autoname: EX "security camera"

referrers

Here's a list of cameras pointing to this camera for reprocessing purposes

reinforced

Cant be snipped by wirecutters

sticky

automatically offsets and snaps to perspective walls. Not for televisions or internal cameras.

uses_area_name

Used by autoname: EX "camera - west primary hallway"

viewers

The viewers of the camera, for quickly disconnecting them when needed

Proc Details

connect_viewer

Connect a viewer to this camera

disconnect_viewer

Disconnect a viewer from this camera

disconnect_viewers

Disconnect all viewers from this camera

move_viewer_to

Move viewers eyes from current camera to a new camera

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/cashreg.html b/obj/machinery/cashreg.html new file mode 100644 index 0000000000000..f5db12f50910f --- /dev/null +++ b/obj/machinery/cashreg.html @@ -0,0 +1 @@ +/obj/machinery/cashreg - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

credit transfer device

Vars

active_transactionSafety thing to prevent other tasks from occurring during a transaction.
amountThe price set by the owner of the machine.
tipThe proportion of the given price to be added on as a tip, from 0 to 1.
transaction_countThe number of transfers the machine has processed.
transaction_limitMaximum amount of credits a single transaction can move.

Procs

authenticate_cardChecks that the scanned card's PIN was entered correctly and that it exists on the database.
register_ownerRegisters mob/user as the owner of the device.

Var Details

active_transaction

Safety thing to prevent other tasks from occurring during a transaction.

amount

The price set by the owner of the machine.

tip

The proportion of the given price to be added on as a tip, from 0 to 1.

transaction_count

The number of transfers the machine has processed.

transaction_limit

Maximum amount of credits a single transaction can move.

Proc Details

authenticate_card

Checks that the scanned card's PIN was entered correctly and that it exists on the database.

register_owner

Registers mob/user as the owner of the device.

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/catalytic_rod_unit.html b/obj/machinery/catalytic_rod_unit.html new file mode 100644 index 0000000000000..2d25de943cbee --- /dev/null +++ b/obj/machinery/catalytic_rod_unit.html @@ -0,0 +1 @@ +/obj/machinery/catalytic_rod_unit - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

catalytic rod unit

Vars

contained_rodRod contained within the rod units
gentypeWhat type of unit this is; used for viability calculation
modePossible modes: open (rod clamp exposed and load/unloadable), inactive (clamp squared away, whether a rod is inserted or not), active (active)
oldmodeOldmode: update_icon uses this for reference purposes
overlay_dirDirectionality to be given to overlays; should be 4 for right unit and 8 for left
rod_conditionRod condition reference for overlay; should update when rod is expended
rod_viabilityRod viability reference for overlay; should update when rod is installed, based on viability for the unit type
togglingTrue while toggling between modes

Procs

report_efficacyReports installed rod's efficacy (effective power output multiplier) for use by external sources (currently power checker pda program)

Var Details

contained_rod

Rod contained within the rod units

gentype

What type of unit this is; used for viability calculation

mode

Possible modes: open (rod clamp exposed and load/unloadable), inactive (clamp squared away, whether a rod is inserted or not), active (active)

oldmode

Oldmode: update_icon uses this for reference purposes

overlay_dir

Directionality to be given to overlays; should be 4 for right unit and 8 for left

rod_condition

Rod condition reference for overlay; should update when rod is expended

rod_viability

Rod viability reference for overlay; should update when rod is installed, based on viability for the unit type

toggling

True while toggling between modes

Proc Details

report_efficacy

Reports installed rod's efficacy (effective power output multiplier) for use by external sources (currently power checker pda program)

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/chem_dispenser.html b/obj/machinery/chem_dispenser.html new file mode 100644 index 0000000000000..d259736a17379 --- /dev/null +++ b/obj/machinery/chem_dispenser.html @@ -0,0 +1 @@ +/obj/machinery/chem_dispenser - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

chem dispenser

Vars

glass_pathShould always be a type of /obj/item/reagent_containers

Var Details

glass_path

Should always be a type of /obj/item/reagent_containers

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/chem_master.html b/obj/machinery/chem_master.html new file mode 100644 index 0000000000000..3e72bb8a4215f --- /dev/null +++ b/obj/machinery/chem_master.html @@ -0,0 +1 @@ +/obj/machinery/chem_master - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

CheMaster 3000

Vars

rebuild_cacheIf TRUE, the beaker cache will be rebuilt on ui_data

Var Details

rebuild_cache

If TRUE, the beaker cache will be rebuilt on ui_data

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/chem_shaker.html b/obj/machinery/chem_shaker.html new file mode 100644 index 0000000000000..e8acb3c318757 --- /dev/null +++ b/obj/machinery/chem_shaker.html @@ -0,0 +1 @@ +/obj/machinery/chem_shaker - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Orbital Shaker

Vars

container_row_lengthThe arrangement of the containers on the platform in the X direction.
max_containersAlso acts as the number of containers in the Y direction when divided by src.container_row_length.
orbital_periodThe time it takes for the platform to complete one orbit.
physical_shock_forceHow much force does the shaker apply on process()?
radiusRadius of the platform's orbit in pixels.

Var Details

container_row_length

The arrangement of the containers on the platform in the X direction.

max_containers

Also acts as the number of containers in the Y direction when divided by src.container_row_length.

orbital_period

The time it takes for the platform to complete one orbit.

physical_shock_force

How much force does the shaker apply on process()?

radius

Radius of the platform's orbit in pixels.

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/clonepod.html b/obj/machinery/clonepod.html new file mode 100644 index 0000000000000..99b4c5c134e6c --- /dev/null +++ b/obj/machinery/clonepod.html @@ -0,0 +1 @@ +/obj/machinery/clonepod - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

cloning pod

Vars

meat_usedTotal meat used to grow the current clone

Var Details

meat_used

Total meat used to grow the current clone

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/clothingbooth.html b/obj/machinery/clothingbooth.html new file mode 100644 index 0000000000000..3a5837e5616a1 --- /dev/null +++ b/obj/machinery/clothingbooth.html @@ -0,0 +1 @@ +/obj/machinery/clothingbooth - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

Clothing Booth

Vars

dyeoptional dye color or matrix to apply to all sold objects

Procs

closeclose the booth
ejectejects occupant if any along with any contents
openopen the booth
update_previewgenerates a preview of the current occupant

Var Details

dye

optional dye color or matrix to apply to all sold objects

Proc Details

close

close the booth

eject

ejects occupant if any along with any contents

open

open the booth

update_preview

generates a preview of the current occupant

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/communications_dish/transception.html b/obj/machinery/communications_dish/transception.html new file mode 100644 index 0000000000000..798e2f9a2d6b3 --- /dev/null +++ b/obj/machinery/communications_dish/transception.html @@ -0,0 +1 @@ +/obj/machinery/communications_dish/transception - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

Transception Array

Vars

direct_queueList of items to forcibly send to pads when possible
grid_surplus_thresholdAmount of surplus past intcap_draw_rate that's required for charging, as a safeguard against spikes in demand
intcapInternal capacitor; cell installed inside the array itself. Draws from grid surplus when available, configurable from the array computer.
intcap_chargingWhether the array's conditions for refilling its internal capacitor are satisfied; used for load logic and overlay control
intcap_door_openWhether the door for the internal capacitor's compartment is open
intcap_draw_rateHow fast the internal capacitor will attempt to draw down grid power while intcap_charging is true
is_transceivingWhether array is currently transceiving (interfacing with a pad for the process of sending or receiving a thing)
primedWhether array permits transception (false means just comms); disabled by the failsafe when power gets too low
repair_statusThis condition tracks the progress of array repair; status of 8 (defined above, change if process changes) indicates full condition
telebeamBeam overlay (this was made an object overlay for the purpose of having access to flick)
use_standard_failsafeDetermines if failsafe threshold is equipment power threshold plus transception cost (true) or transception cost (false).

Procs

attempt_restartWhen array has failsafe active, this is called each machine tick to see if power has sufficiently recovered to restart transception
can_transceiveRespond to a pad's inquiry of whether a transception can occur
failsafe_inquiryChecks status of local APC, activates failsafe if power is insufficient (30% plus 1 startcost with standard failsafe, 1 startcost otherwise)
intcap_failureSabotaged cells, instead of blowing out the turf, will blow out the associated microvoltage cabinet and bring the array offline
pay_startcostAttempt to pay the "kick-start" cost for transception; uses internal capacitor first, then area power cell
transceiveRespond to a pad's request to do a transception; if successful, do the transception animation, power draw and cooldown
use_intcapLayer for using internal capacitor; separated to intercept rigged cells and handle with custom damage behavior

Var Details

direct_queue

List of items to forcibly send to pads when possible

grid_surplus_threshold

Amount of surplus past intcap_draw_rate that's required for charging, as a safeguard against spikes in demand

intcap

Internal capacitor; cell installed inside the array itself. Draws from grid surplus when available, configurable from the array computer.

intcap_charging

Whether the array's conditions for refilling its internal capacitor are satisfied; used for load logic and overlay control

intcap_door_open

Whether the door for the internal capacitor's compartment is open

intcap_draw_rate

How fast the internal capacitor will attempt to draw down grid power while intcap_charging is true

is_transceiving

Whether array is currently transceiving (interfacing with a pad for the process of sending or receiving a thing)

primed

Whether array permits transception (false means just comms); disabled by the failsafe when power gets too low

repair_status

This condition tracks the progress of array repair; status of 8 (defined above, change if process changes) indicates full condition

telebeam

Beam overlay (this was made an object overlay for the purpose of having access to flick)

use_standard_failsafe

Determines if failsafe threshold is equipment power threshold plus transception cost (true) or transception cost (false).

Proc Details

attempt_restart

When array has failsafe active, this is called each machine tick to see if power has sufficiently recovered to restart transception

can_transceive

Respond to a pad's inquiry of whether a transception can occur

failsafe_inquiry

Checks status of local APC, activates failsafe if power is insufficient (30% plus 1 startcost with standard failsafe, 1 startcost otherwise)

intcap_failure

Sabotaged cells, instead of blowing out the turf, will blow out the associated microvoltage cabinet and bring the array offline

pay_startcost

Attempt to pay the "kick-start" cost for transception; uses internal capacitor first, then area power cell

transceive

Respond to a pad's request to do a transception; if successful, do the transception animation, power draw and cooldown

use_intcap

Layer for using internal capacitor; separated to intercept rigged cells and handle with custom damage behavior

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/computer.html b/obj/machinery/computer.html new file mode 100644 index 0000000000000..98b752447d882 --- /dev/null +++ b/obj/machinery/computer.html @@ -0,0 +1 @@ +/obj/machinery/computer - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

computer

Vars

can_reconnectSet to TRUE to make multitools call connection_scan. For consoles with associated equipment (cloner, genetek etc)
circuit_typeThe related circuit board type for replacement/repairs
glow_in_dark_screendoes it have a glow in the dark screen? see computer_screens.dmi

Procs

connection_scanPut the code for finding the stuff your computer needs in this proc
special_deconstructSpecial changes for deconstruction can be added by overriding this

Var Details

can_reconnect

Set to TRUE to make multitools call connection_scan. For consoles with associated equipment (cloner, genetek etc)

circuit_type

The related circuit board type for replacement/repairs

glow_in_dark_screen

does it have a glow in the dark screen? see computer_screens.dmi

Proc Details

connection_scan

Put the code for finding the stuff your computer needs in this proc

special_deconstruct

Special changes for deconstruction can be added by overriding this

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/computer/announcement.html b/obj/machinery/computer/announcement.html new file mode 100644 index 0000000000000..f71ed47ab4988 --- /dev/null +++ b/obj/machinery/computer/announcement.html @@ -0,0 +1 @@ +/obj/machinery/computer/announcement - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

announcement computer

General Announcement Computer

Vars

area_nameOverride for where this says it's coming from

Var Details

area_name

Override for where this says it's coming from

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/computer/atmosphere/pumpcontrol.html b/obj/machinery/computer/atmosphere/pumpcontrol.html new file mode 100644 index 0000000000000..0dd5b9054ebe1 --- /dev/null +++ b/obj/machinery/computer/atmosphere/pumpcontrol.html @@ -0,0 +1 @@ +/obj/machinery/computer/atmosphere/pumpcontrol - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

Pump control computer

Vars

frequencyDefault frequency of the computer. Can be varedited so it only listens to relevant pumps, e.g. toxins computer controls toxins pumps
pump_infosetThis is a list in which contains pump information datums keyed by their areas.

Procs

check_if_aliveCheck for pumps that 'sploded or are otherwise unreachable
getPumpGet a pump by net id. Does not ask for pump data from pump
receive_signalAdd or update a new pump
togglePumpGet a pump by net id and toggle its power

Var Details

frequency

Default frequency of the computer. Can be varedited so it only listens to relevant pumps, e.g. toxins computer controls toxins pumps

pump_infoset

This is a list in which contains pump information datums keyed by their areas.

Proc Details

check_if_alive

Check for pumps that 'sploded or are otherwise unreachable

getPump

Get a pump by net id. Does not ask for pump data from pump

receive_signal

Add or update a new pump

togglePump

Get a pump by net id and toggle its power

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/computer/battlecruiser_podbay.html b/obj/machinery/computer/battlecruiser_podbay.html new file mode 100644 index 0000000000000..7ba30fe6c68b9 --- /dev/null +++ b/obj/machinery/computer/battlecruiser_podbay.html @@ -0,0 +1 @@ +/obj/machinery/computer/battlecruiser_podbay - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

podbay authorization

Vars

auth_needHow many authentications are needed to release the shielding on the podbay. Set the first time someone clicks this.
authedWhether or not the podbay on the Cairngorm is authorized.
authorizedA list of the mobs who authorized.

Var Details

auth_need

How many authentications are needed to release the shielding on the podbay. Set the first time someone clicks this.

authed

Whether or not the podbay on the Cairngorm is authorized.

authorized

A list of the mobs who authorized.

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/computer/genetics.html b/obj/machinery/computer/genetics.html new file mode 100644 index 0000000000000..1daf7387aa115 --- /dev/null +++ b/obj/machinery/computer/genetics.html @@ -0,0 +1 @@ +/obj/machinery/computer/genetics - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

genetics console

Vars

scannerLinked scanner. For scanning.

Var Details

scanner

Linked scanner. For scanning.

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/computer/riotgear.html b/obj/machinery/computer/riotgear.html new file mode 100644 index 0000000000000..049ae9d4eeebc --- /dev/null +++ b/obj/machinery/computer/riotgear.html @@ -0,0 +1 @@ +/obj/machinery/computer/riotgear - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

Armory Authorization

Vars

authdisk_authorizedWas the armory authorized via authdisk?

Procs

manual_unauthorizeHandles unauthorization from armory computer interaction

Var Details

authdisk_authorized

Was the armory authorized via authdisk?

Proc Details

manual_unauthorize

Handles unauthorization from armory computer interaction

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/computer/siphon_control.html b/obj/machinery/computer/siphon_control.html new file mode 100644 index 0000000000000..fbcea3a46ecf3 --- /dev/null +++ b/obj/machinery/computer/siphon_control.html @@ -0,0 +1 @@ +/obj/machinery/computer/siphon_control - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

siphon systems control

control for siphon and associated resonators: receives siphon and resonator data, and controls resonator operation

Vars

formatted_listformatted version of above device manifest
known_deviceslist of devices known to the siphon control device
list_is_updatedthing to avoid having to update the list every time you click the window

Var Details

formatted_list

formatted version of above device manifest

known_devices

list of devices known to the siphon control device

list_is_updated

thing to avoid having to update the list every time you click the window

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/computer/siphon_db.html b/obj/machinery/computer/siphon_db.html new file mode 100644 index 0000000000000..1f243528bde7c --- /dev/null +++ b/obj/machinery/computer/siphon_db.html @@ -0,0 +1 @@ +/obj/machinery/computer/siphon_db - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Resonance Calibration Database

Vars

mineral_listtextified list of all indexed (non-hidden) minerals

Var Details

mineral_list

textified list of all indexed (non-hidden) minerals

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/computer/transception.html b/obj/machinery/computer/transception.html new file mode 100644 index 0000000000000..96e078ab00754 --- /dev/null +++ b/obj/machinery/computer/transception.html @@ -0,0 +1 @@ +/obj/machinery/computer/transception - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

transception interlink

Vars

formatted_listformatted version of above pad list
known_padslist of transception pads known to the interlink
list_is_updatedthing to avoid having to update the list every time you click the window
queue_dialog_updatevariable to queue dialog update after list is refreshed

Var Details

formatted_list

formatted version of above pad list

known_pads

list of transception pads known to the interlink

list_is_updated

thing to avoid having to update the list every time you click the window

queue_dialog_update

variable to queue dialog update after list is refreshed

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/computer3.html b/obj/machinery/computer3.html new file mode 100644 index 0000000000000..3c985c651a389 --- /dev/null +++ b/obj/machinery/computer3.html @@ -0,0 +1 @@ +/obj/machinery/computer3 - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

computer

Vars

glow_in_dark_screendoes it have a glow in the dark screen? see computer_screens.dmi
tgui_input_history(Keyed by CKEY) A list of strings representing the terminal's command execution history. New history is appended as commands are executed
tgui_input_index(Keyed by CKEY) An index pointing to the position in tgui_input_history to update tgui_last_accessed with
tgui_last_accessed(Keyed by CKEY) The most recently accessed command from the console

Procs

get_historyGet the history entry at a certain index. Returns null if the index is out of bounds or the ckey is null. Will return an empty string for length+1
traverse_historyTraverse the current history by some amount. Returns true if different history was accessed, false otherwise (usually if new index OOB)

Var Details

glow_in_dark_screen

does it have a glow in the dark screen? see computer_screens.dmi

tgui_input_history

(Keyed by CKEY) A list of strings representing the terminal's command execution history. New history is appended as commands are executed

tgui_input_index

(Keyed by CKEY) An index pointing to the position in tgui_input_history to update tgui_last_accessed with

tgui_last_accessed

(Keyed by CKEY) The most recently accessed command from the console

Proc Details

get_history

Get the history entry at a certain index. Returns null if the index is out of bounds or the ckey is null. Will return an empty string for length+1

traverse_history

Traverse the current history by some amount. Returns true if different history was accessed, false otherwise (usually if new index OOB)

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/conveyor.html b/obj/machinery/conveyor.html new file mode 100644 index 0000000000000..58aa794dc84ca --- /dev/null +++ b/obj/machinery/conveyor.html @@ -0,0 +1 @@ +/obj/machinery/conveyor - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

conveyor belt

Vars

deconstructableDetermines whether the conveyor can be modified and deconstructed. (Whether the cover is open.)
dir_inDirection for objects going into the conveyor.
dir_outDirection for objects going out of the conveyor.
divdirif diverting, will be conveyer dir needed to divert (otherwise dense)
divertif non-zero, direction to divert items
idthe control ID, what the conveyor switch refers to when looking for new conveyors at world init.
linked_switcheslist of conveyor_switches that have us in their conveyors list
move_lagThe lag at which the movement happens. Lower = faster
operabletrue if can operate (no broken segments in this belt run)
operatingThe direction the conveyor is going to. 1 if running forward, -1 if backwards, 0 if off
protectedDetermines whether the conveyor can have it's cover open, that is, whether it can be deconstructable at all.

Procs

set_operableset the operable var if ID matches, propagating in the given direction
setdirset the dir and target turf depending on the operating direction
updateupdate the icon depending on the operating condition

Var Details

deconstructable

Determines whether the conveyor can be modified and deconstructed. (Whether the cover is open.)

dir_in

Direction for objects going into the conveyor.

dir_out

Direction for objects going out of the conveyor.

divdir

if diverting, will be conveyer dir needed to divert (otherwise dense)

divert

if non-zero, direction to divert items

id

the control ID, what the conveyor switch refers to when looking for new conveyors at world init.

linked_switches

list of conveyor_switches that have us in their conveyors list

move_lag

The lag at which the movement happens. Lower = faster

operable

true if can operate (no broken segments in this belt run)

operating

The direction the conveyor is going to. 1 if running forward, -1 if backwards, 0 if off

protected

Determines whether the conveyor can have it's cover open, that is, whether it can be deconstructable at all.

Proc Details

set_operable

set the operable var if ID matches, propagating in the given direction

setdir

set the dir and target turf depending on the operating direction

update

update the icon depending on the operating condition

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/conveyor_switch.html b/obj/machinery/conveyor_switch.html new file mode 100644 index 0000000000000..d5d037dc1422f --- /dev/null +++ b/obj/machinery/conveyor_switch.html @@ -0,0 +1 @@ +/obj/machinery/conveyor_switch - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

conveyor switch

the conveyor control switch

Vars

conveyorsthe list of converyors that are controlled by this switch
last_poslast direction setting
positioncurrent direction setting
slowdownHow much this switch is configured to manually slow down by
speedupHow much speed boost this switch is getting

Procs

update_iconupdate the icon depending on the position
update_othersUpdate matching switches and conveyors to our position

Var Details

conveyors

the list of converyors that are controlled by this switch

last_pos

last direction setting

position

current direction setting

slowdown

How much this switch is configured to manually slow down by

speedup

How much speed boost this switch is getting

Proc Details

update_icon

update the icon depending on the position

update_others

Update matching switches and conveyors to our position

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/deep_fryer.html b/obj/machinery/deep_fryer.html new file mode 100644 index 0000000000000..af8bd110c2412 --- /dev/null +++ b/obj/machinery/deep_fryer.html @@ -0,0 +1 @@ +/obj/machinery/deep_fryer - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

Deep Fryer

Procs

check_hungerShivers: You notice the fryer looks famished, needing to consume ice - VxnipVk6j5A

Proc Details

check_hunger

Shivers: You notice the fryer looks famished, needing to consume ice - VxnipVk6j5A

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/defib_mount.html b/obj/machinery/defib_mount.html new file mode 100644 index 0000000000000..d82add78efaca --- /dev/null +++ b/obj/machinery/defib_mount.html @@ -0,0 +1 @@ +/obj/machinery/defib_mount - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

mounted defibrillator

Vars

defibdefibrillator, when out of mount

Procs

put_back_defibPut the defib back in the mount, by force if necessary.

Var Details

defib

defibrillator, when out of mount

Proc Details

put_back_defib

Put the defib back in the mount, by force if necessary.

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/dialysis.html b/obj/machinery/dialysis.html new file mode 100644 index 0000000000000..1f3602bd3ee68 --- /dev/null +++ b/obj/machinery/dialysis.html @@ -0,0 +1 @@ +/obj/machinery/dialysis - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

dialysis machine

Vars

patient_blood_idReagent ID of the current patient's blood.

Var Details

patient_blood_id

Reagent ID of the current patient's blood.

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/dispenser.html b/obj/machinery/dispenser.html new file mode 100644 index 0000000000000..b3cb49c7c8daf --- /dev/null +++ b/obj/machinery/dispenser.html @@ -0,0 +1 @@ +/obj/machinery/dispenser - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

Tank Storage Unit

Procs

pop_o2Return an inserted oxy tank if avaiable, otherwise a new one if available, null if there's neither
pop_plReturn an inserted plasma tank if avaiable, otherwise a new one if available, null if there's neither

Proc Details

pop_o2

Return an inserted oxy tank if avaiable, otherwise a new one if available, null if there's neither

pop_pl

Return an inserted plasma tank if avaiable, otherwise a new one if available, null if there's neither

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/disposal.html b/obj/machinery/disposal.html new file mode 100644 index 0000000000000..94e10dd783e76 --- /dev/null +++ b/obj/machinery/disposal.html @@ -0,0 +1 @@ +/obj/machinery/disposal - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

disposal unit

Vars

repressure_speedHow fast do we repressurize

Var Details

repressure_speed

How fast do we repressurize

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/disposal/chemlink.html b/obj/machinery/disposal/chemlink.html new file mode 100644 index 0000000000000..b3c4134698a13 --- /dev/null +++ b/obj/machinery/disposal/chemlink.html @@ -0,0 +1 @@ +/obj/machinery/disposal/chemlink - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

dispensary supply chute

Vars

allowed_typesCopied from the vendor on link
flush_dummyA dummy object in vis_contents so we can use flick() to animate the flush overlay
linkedThe vendor at the other end

Var Details

allowed_types

Copied from the vendor on link

flush_dummy

A dummy object in vis_contents so we can use flick() to animate the flush overlay

linked

The vendor at the other end

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/door.html b/obj/machinery/door.html new file mode 100644 index 0000000000000..d838bde7e96ca --- /dev/null +++ b/obj/machinery/door.html @@ -0,0 +1 @@ +/obj/machinery/door - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

door

Vars

bumperSet before calling open() for handling COMSIG_DOOR_OPENED. Can be null. This gets immediately set to null after the signal calls.

Procs

set_lockedlocks the door, aka bolt / key lock
set_unlockedunlocks the door, aka unbolt / un-key lock
toggle_lockedtoggles the lock state of the door

Var Details

bumper

Set before calling open() for handling COMSIG_DOOR_OPENED. Can be null. This gets immediately set to null after the signal calls.

Proc Details

set_locked

locks the door, aka bolt / key lock

set_unlocked

unlocks the door, aka unbolt / un-key lock

toggle_locked

toggles the lock state of the door

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/door/airlock.html b/obj/machinery/door/airlock.html new file mode 100644 index 0000000000000..f2a5cccc4900c --- /dev/null +++ b/obj/machinery/door/airlock.html @@ -0,0 +1 @@ +/obj/machinery/door/airlock - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

airlock

Vars

cycle_enter_idAn ID for double doors sharing a direction in a cycling airlock system.
cycle_idWhich airlocks this door is connected too.

Procs

attempt_cycle_linkadds the airlock in question to the global list.

Var Details

cycle_enter_id

An ID for double doors sharing a direction in a cycling airlock system.

cycle_id

Which airlocks this door is connected too.

Proc Details

adds the airlock in question to the global list.

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/door_control.html b/obj/machinery/door_control.html new file mode 100644 index 0000000000000..ce46357e95c02 --- /dev/null +++ b/obj/machinery/door_control.html @@ -0,0 +1 @@ +/obj/machinery/door_control - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

Remote Door Control

Vars

idMatch to a door to have it be controlled.
welcome_textfor the speak proc, relays the message to speak.
welcome_text_alphaalpha value for speak proc
welcome_text_colorcolour value for speak proc

Procs

speakFor a flying chat and message addition upon controller activation, not called outside of a child as things stand

Var Details

id

Match to a door to have it be controlled.

welcome_text

for the speak proc, relays the message to speak.

welcome_text_alpha

alpha value for speak proc

welcome_text_color

colour value for speak proc

Proc Details

speak

For a flying chat and message addition upon controller activation, not called outside of a child as things stand

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/door_control/antagscanner.html b/obj/machinery/door_control/antagscanner.html new file mode 100644 index 0000000000000..1718eeecfe9d6 --- /dev/null +++ b/obj/machinery/door_control/antagscanner.html @@ -0,0 +1 @@ +/obj/machinery/door_control/antagscanner - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Dubious Hand Scanner

for sleepers entering listening post

Vars

entrance_scannerFor the front door having a flying chat message or not.

Var Details

entrance_scanner

For the front door having a flying chat message or not.

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/drainage.html b/obj/machinery/drainage.html new file mode 100644 index 0000000000000..ee469b8d06da3 --- /dev/null +++ b/obj/machinery/drainage.html @@ -0,0 +1 @@ +/obj/machinery/drainage - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

drain

Vars

typeinfo_typeDrainage

Var Details

typeinfo_type

Drainage

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/emitter.html b/obj/machinery/emitter.html new file mode 100644 index 0000000000000..08366c0523db0 --- /dev/null +++ b/obj/machinery/emitter.html @@ -0,0 +1 @@ +/obj/machinery/emitter - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Emitter

Vars

typeinfo_typeEmitter

Var Details

typeinfo_type

Emitter

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/field_generator.html b/obj/machinery/field_generator.html new file mode 100644 index 0000000000000..e31b9b449da2f --- /dev/null +++ b/obj/machinery/field_generator.html @@ -0,0 +1 @@ +/obj/machinery/field_generator - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Field Generator

Vars

typeinfo_typeField generator

Var Details

typeinfo_type

Field generator

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/firealarm.html b/obj/machinery/firealarm.html new file mode 100644 index 0000000000000..193af1d4d299d --- /dev/null +++ b/obj/machinery/firealarm.html @@ -0,0 +1 @@ +/obj/machinery/firealarm - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Fire Alarm

Vars

alarm_activespecifies if the alarm is currently going off
manual_off_reactivate_idlehow many machine loop ticks to idle after being manually switched off

Var Details

alarm_active

specifies if the alarm is currently going off

manual_off_reactivate_idle

how many machine loop ticks to idle after being manually switched off

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/fluid_canister.html b/obj/machinery/fluid_canister.html new file mode 100644 index 0000000000000..a00f76675137b --- /dev/null +++ b/obj/machinery/fluid_canister.html @@ -0,0 +1 @@ +/obj/machinery/fluid_canister - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

fluid canister

Vars

typeinfo_typecanister

Var Details

typeinfo_type

canister

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/hair_dye_dispenser.html b/obj/machinery/hair_dye_dispenser.html new file mode 100644 index 0000000000000..6c24d9415c007 --- /dev/null +++ b/obj/machinery/hair_dye_dispenser.html @@ -0,0 +1 @@ +/obj/machinery/hair_dye_dispenser - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Hair Dye Mixer 3000

Vars

typeinfo_typeDye Bottle Dispenser

Var Details

typeinfo_type

Dye Bottle Dispenser

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/interdictor.html b/obj/machinery/interdictor.html new file mode 100644 index 0000000000000..5054642bf749b --- /dev/null +++ b/obj/machinery/interdictor.html @@ -0,0 +1,12 @@ +/obj/machinery/interdictor - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

spatial interdictor

Vars

canInterdictIndication of operability; if 0, whether from depletion or new installation, internal cell must fill to set this to 1 and activate interdiction
chargerateCurrent target rate at which the internal capacitor may be charged, in cell units restored per tick.
chargerate_maxMaximum allowable internal capacitor charge rate for user configuration.
chargerate_minMinimum allowable internal capacitor charge rate for user configuration.
connectedTracks whether interdictor is tied into area power and ready to attempt operation.
cumulative_costTally of power used for interdiction in this machine tick. Used to determine presence and volume of the interdictor operating noise.
deployed_fieldsList of fields that the interdictor has deployed; these fields are strictly visual, and outline the interdictor's operating range for clarity.
emaggedTracks whether the interdictor has been emagged, removing the device's maglock access restriction.
intcapInternal capacitor; the cell installed internally during construction, which acts as a capacitor for energy used in interdictor operation.
interdict_classType of interdictor. Standard interdictors provide only the stellar phenomena protection; alternate variants unlock new functionality.
interdict_cost_multInterdiction cost multiplier. Some part selections can influence this value, raising or lowing the effective energy cost of device functions.
interdict_rangeRange of the interdictor's field; for effects that are wide-band interdicted, such as solar flares, this should dictate the response strength.
maglock_cooldownCooldown after the magnetic lock switches on or off before it can be toggled again.
radstorm_paidSet during radstorm interdiction; when true, a cost has been paid in this tick, and further radstorm interdictions inside the tick are free.

Procs

expend_interdictThings capable of being influenced by a spatial interdictor call this proc when iterating over interdictors. +The core function of interdictors is to suppress energy-based random events; other beneficial functions are provided by alternate mainboards.
radstorm_interdictSpecialized radiation storm interdiction proc that allows multiple protections under a single unified cost per process.
updatechargeSmall visual update proc used for interdictions that want to immediately show an expenditure of charge and don't need a full update_icon

Var Details

canInterdict

Indication of operability; if 0, whether from depletion or new installation, internal cell must fill to set this to 1 and activate interdiction

chargerate

Current target rate at which the internal capacitor may be charged, in cell units restored per tick.

chargerate_max

Maximum allowable internal capacitor charge rate for user configuration.

chargerate_min

Minimum allowable internal capacitor charge rate for user configuration.

connected

Tracks whether interdictor is tied into area power and ready to attempt operation.

cumulative_cost

Tally of power used for interdiction in this machine tick. Used to determine presence and volume of the interdictor operating noise.

deployed_fields

List of fields that the interdictor has deployed; these fields are strictly visual, and outline the interdictor's operating range for clarity.

emagged

Tracks whether the interdictor has been emagged, removing the device's maglock access restriction.

intcap

Internal capacitor; the cell installed internally during construction, which acts as a capacitor for energy used in interdictor operation.

interdict_class

Type of interdictor. Standard interdictors provide only the stellar phenomena protection; alternate variants unlock new functionality.

interdict_cost_mult

Interdiction cost multiplier. Some part selections can influence this value, raising or lowing the effective energy cost of device functions.

interdict_range

Range of the interdictor's field; for effects that are wide-band interdicted, such as solar flares, this should dictate the response strength.

maglock_cooldown

Cooldown after the magnetic lock switches on or off before it can be toggled again.

radstorm_paid

Set during radstorm interdiction; when true, a cost has been paid in this tick, and further radstorm interdictions inside the tick are free.

Proc Details

expend_interdict

Things capable of being influenced by a spatial interdictor call this proc when iterating over interdictors. +The core function of interdictors is to suppress energy-based random events; other beneficial functions are provided by alternate mainboards.

+

The first argument (use_cost) is the cost in cell power units, charged to the interdictor's internal cell on successful expenditure. +It's passed through modified_use_cost to take into account any multipliers on efficiency provided by installed parts.

+

The second argument (target) specifies a range-checking target for localized effect application (i.e. blocking a radiation pulse). +To perform a global interdiction (such as shielding from solar flares), this argument can be skipped entirely.

+

The third argument (skipanim), if set to true, skips immediate visual update of the interdictor (instead allowing it to update on machine tick). +For high-volume blocking, such as shielding a large set of tiles from an effect, this should be used.

+

The fourth argument (itdr_class) optionally passes in an interdictor class that's required for successful expenditure. +This is used for alternate functionality, such as wireless cyborg charging; random event blocking should not pass a specific class requirement. +These classes are numbers, but should use the defines, such as ITDR_ZEPHYR. Interdictors are given a class by the mainboard used in assembly.

radstorm_interdict

Specialized radiation storm interdiction proc that allows multiple protections under a single unified cost per process.

updatecharge

Small visual update proc used for interdictions that want to immediately show an expenditure of charge and don't need a full update_icon

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/launcher_loader.html b/obj/machinery/launcher_loader.html new file mode 100644 index 0000000000000..a7fa682bc2cc5 --- /dev/null +++ b/obj/machinery/launcher_loader.html @@ -0,0 +1 @@ +/obj/machinery/launcher_loader - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Automatic mass-driver loader (AMDL)

Vars

door_delayAmount of time in seconds before connected blast doors should close

Var Details

door_delay

Amount of time in seconds before connected blast doors should close

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/lawrack.html b/obj/machinery/lawrack.html new file mode 100644 index 0000000000000..73307b3adc18d --- /dev/null +++ b/obj/machinery/lawrack.html @@ -0,0 +1,40 @@ +/obj/machinery/lawrack - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

AI Law Mount Rack

Vars

ai_abilitieslist of ability expansions
holo_expansionslist of hologram expansions
last_lawsused during UpdateLaws to determine which laws have changed
law_circuitslist of aiModules ref'd by slot number.
screwedscrewed status of law module by slot number
unique_idunique id for logs - please don't ever assign except in ai_law_rack_manager.register
weldedwelded status of law module by slot number

Procs

DeleteAllLawsDeletes all laws. Does not call UpdateLaws()
DeleteLawDeletes a law in an abritrary slot. Does not call UpdateLaws()
SetLawSets an arbitrary slot to the passed aiModule - will override any module in the slot. +Does not call UpdateLaws()
SetLawCustomSets an arbitrary slot to a custom law specified by lawName and lawText - will override any module in the slot. +Does not call UpdateLaws() +Intended for Admemery
UpdateLaws
cause_law_glitchThis will cause a module to glitch, either totally replace it law or adding picked_law to its text (depening on replace). +Lawnumber is a suggestion, not a guarentee.
drop_all_modulesCauses all law modules to drop to the ground, does not call UpdateLaws()
format_for_display
format_for_irc
format_for_logs
show_lawsTakes a list or single target to show laws to
update_last_lawsSaves the current law list to last_laws so we can see diffs

Var Details

ai_abilities

list of ability expansions

holo_expansions

list of hologram expansions

last_laws

used during UpdateLaws to determine which laws have changed

law_circuits

list of aiModules ref'd by slot number.

screwed

screwed status of law module by slot number

unique_id

unique id for logs - please don't ever assign except in ai_law_rack_manager.register

welded

welded status of law module by slot number

Proc Details

DeleteAllLaws

Deletes all laws. Does not call UpdateLaws()

DeleteLaw

Deletes a law in an abritrary slot. Does not call UpdateLaws()

SetLaw

Sets an arbitrary slot to the passed aiModule - will override any module in the slot. +Does not call UpdateLaws()

SetLawCustom

Sets an arbitrary slot to a custom law specified by lawName and lawText - will override any module in the slot. +Does not call UpdateLaws() +Intended for Admemery

UpdateLaws

    +
  • Pushes law updates to all connected AIs and Borgs - notification text allows you to customise the header +
      +
    • Defaults to

      Law update detected

    • +
    +
  • +

cause_law_glitch

This will cause a module to glitch, either totally replace it law or adding picked_law to its text (depening on replace). +Lawnumber is a suggestion, not a guarentee.

+
    +
  • If there is no law in that slot, this will trigger on the law closest to that slot.
  • +
  • If there are no laws to glitch, just do nothing.
  • +

drop_all_modules

Causes all law modules to drop to the ground, does not call UpdateLaws()

format_for_display

    +
  • Formats current laws for display to game chat +
      +
    • Output is the same as format_for_logs, but also includes removed laws at the top and styling for added laws
    • +
    +
  • +

format_for_irc

    +
  • Formats current laws as a list in the format: +
      +
    • {[lawnumber]=lawtext,etc.}
    • +
    +
  • +

format_for_logs

    +
  • Formats current laws for logging, argument glue defaults to
    +
      +
    • Output is:
    • +
    • [law number]: [law text]
    • +
    • [law number]: [law text]
    • +
    • etc.
    • +
    +
  • +

show_laws

Takes a list or single target to show laws to

update_last_laws

Saves the current law list to last_laws so we can see diffs

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/light_switch.html b/obj/machinery/light_switch.html new file mode 100644 index 0000000000000..6e621a856a69e --- /dev/null +++ b/obj/machinery/light_switch.html @@ -0,0 +1 @@ +/obj/machinery/light_switch - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/obj/machinery/light_switch

Vars

toggled_countHow many times has this been toggled

Var Details

toggled_count

How many times has this been toggled

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/manufacturer.html b/obj/machinery/manufacturer.html new file mode 100644 index 0000000000000..c8ec7a7be4482 --- /dev/null +++ b/obj/machinery/manufacturer.html @@ -0,0 +1,31 @@ +/obj/machinery/manufacturer - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

manufacturing unit

Vars

accept_blueprintsWhether or not we accept blueprints from the ruk kit into this manufacturer.
accountCard currently scanned into the machine, used when deducting payment for ores from a Rockbox
active_power_consumptionHow much power is consumed while active? This is determined automatically when the unit starts a production cycle
availableA list of every manufacture datum typepath available in this unit subtype by default
base_material_classBase class for material pieces that the manufacturer accepts. +Keep this as material pieces only unless you're making larger changes to the system, +Various parts of the code are coupled to assuming that this is a material piece w/ a material.
categoriesA list of valid categories the manufacturer will use. Any invalid provided categories are assigned "Miscellaneous".
dismantle_stageThe dismantlement stage we are currently at. See manufacturer.dm line 15 for details on the defines
downloadManufacture datum typepaths gained from scanned blueprints
drive_recipesManufacture datum typepaths provided by an inserted manudrive
electrifiedThis is a timer and not a true/false; it's decremented every process() tick
emaggedWhether or not a traitor emagged the manufacturer, and thus will start acting really weird atop other things
errorA somewhat legacy variable to output silent yet visible errors to the user in the UI. +Current uses include when there is a lack of materials, an invalid blueprint, and when there is not enough manudrive uses.
free_resource_amtThe amount of each free resource that the manufacturer comes preloaded with. +Separate from free_resources() as typically manufacturers use the same amount of each type.
free_resourcesThe types of material pieces of which the manufacturer will be spawned with. +The amount of each resource is defined on free_resource_amt
hackedWhether or not we are hacked, and thus will show our hidden blueprints + change our maximum speed setting.
hiddenThese manufacture datum typepaths are available by default, but can't be printed or seen unless the machine is hacked
icon_baseThis is used to make icon state changes cleaner by setting it to "fab-[icon_base]"
linkThe data terminal attached underfloor to this manufacturer. Allows use of PNET packets
malfunctionWhether or not the manufacturer is malfunctioning, and thus will occasionally flip_out() among other glitchy things.
manudriveWhere insertible manudrives are held for reading blueprints and getting/setting fablimits.
material_patterns_by_refHelper list which stores all the material patterns each loaded material satisfies, by ref to the piece
modeThe current status of the machine. +"ready" / MODE_READY - The machine is ready to produce more blueprints. +"working" / MODE_WORKING - The machine is currently producing a blueprint. +"halt" / MODE_HALT - The machine stopped due to some problem arising.
nearby_turfsTurfs around the manufacturer are stored here for performance reasons
original_durationOriginal duration of the currently queued print, used to keep track of progress when M.time gets modified weirdly in queueing
output_capThe maximum amount of produce this can dispense on outputting a blueprint's chosen outputs.
output_targetThe current atom we will output product into. Can be a turf, a crate, etc.
panel_openWhether or not the wiring panel is open for the UI.
power_wire_cutWhether or not the power wire is cut, removing the ability for the manufacturer to do work
queueA list of manufacture datums in the form of a queue. Blueprints are taken from index 1 and added at the last index
repeatControls whether or not to repeat the first item in the queue while working.
req_accessreq_access is used to lock out specific features and not limit deconstruction therefore DECON_NO_ACCESS is required
resource_amountsSupposedly used by podwards manufacturers, but not really +Kind of legacy is this is removed soon
should_update_statictrue by default to update first time around, set to true whenever something is done that invalidates static data
speedControls how fast blueprints are produced. Higher speed settings have a exponential effect on power use.
supplemental_descAppended in get_desc() to the base description, to make subtype definitions cleaner
time_leftTime left until the current blueprint is complete. Updated on pausing and on starting a new blueprint.
time_left_electrifiedThis is a timer decremented every process() tick representing how long the machine will be electrified for.
time_startedTime the blueprint was queued, or if paused/resumed, the time we resumed the blueprint.
wiresThis is a bitflag used to track wire states, for hacking and such. Replace it with something cleaner if an option exists when you're reading this :p

Procs

blueprint_is_availableReturns whether or not a blueprint is able to be used for printing
blueprints_as_listConverts list of manufacture datums to list keyed by category containing listified manufacture datums of said category.
broken_state_topicOverriden to not disable if no power, wire maintenence to restore power is on the GUI which creates catch-22 situation
can_eject_materialHelper proc to check whether or not we can eject the material from storage or not.
can_use_rangedCheck if the target is allowed to interact with this at range. Silicons can, humans can't.
check_enough_materialsCheck if a blueprint can be manufactured with the current materials. +mats_used - a list from get_materials_needed to avoid calling the proc twice
check_physical_proximityHandle checking and outputting for not being close to the machine
claim_free_resourcesAdds the resources we define in free_resources to our storage, and clears the list when we're done +to represent we do not have more resources to claim
eject_materialHandles allowing the user to eject integer amounts of material
get_bank_dataGet the relevant bank record data from the current account. Returns null if there's no account scanned yet
get_blueprint_typeGet whether a blueprint is available, hidden, downloaded, or a drive recipe. If in multiple print lists, picks the first result. Or null.
get_contentsSafely gets our storage contents. In case someone does something like load materials into the machine before we have initialized our storage +Also ejects things w/o material or that aren't pieces, to ensure safety
get_drive_uses_leftGet how many more times a drive can produce items it is stocked with
get_material_by_refReturns material which matches ref from storage, else returns null
get_material_for_requirementGet the material in storage which satisfies some amount of a requirement.
get_materials_neededReturns associative list of manufacturing requirement to material piece references, but does not guarantee all item_paths are satisfied or that +the blueprint will have the required materials ready by the time it reaches the front of the queue. Reqs not satisfied are not added to mats_used
get_requirements_material_satisfiesGet a list of the patterns a material satisfies. Does not include "ALL" in list, as it is assumed such a requirement is handled separately. +Includes all previous material tier strings for simple "x in y" checks, as well as material ID for those recipies which need exact mat.
grump_messageHelper to play the grump with or without a grump message/sound. Just as a note the sound is appropriate when the machine is reporting the error, +if its a grump that the player probably had to think about or find out then theres no "reason" for there to be sound
has_physical_proximityCheck if the target is within arm's reach of the machine
manufacture_as_listConverts a manufacture datum to a list with string keys to relevant vars for the UI
remove_materialsGo through the material requirements of a blueprint, removing the respective used materials
rockboxes_as_listGets rockbox data as list for ui_static_data
scan_cardScan in some supposed card into the machine, prompting the usr for a PIN. Returns TRUE if we managed to scan the card.
swap_materialsSwap the "position" of two materials in the manufacturer for the sake of priority use management.
try_shockTry to shock the target if the machine is electrified, returns whether or not the target got shocked

Var Details

accept_blueprints

Whether or not we accept blueprints from the ruk kit into this manufacturer.

account

Card currently scanned into the machine, used when deducting payment for ores from a Rockbox

active_power_consumption

How much power is consumed while active? This is determined automatically when the unit starts a production cycle

available

A list of every manufacture datum typepath available in this unit subtype by default

base_material_class

Base class for material pieces that the manufacturer accepts. +Keep this as material pieces only unless you're making larger changes to the system, +Various parts of the code are coupled to assuming that this is a material piece w/ a material.

categories

A list of valid categories the manufacturer will use. Any invalid provided categories are assigned "Miscellaneous".

dismantle_stage

The dismantlement stage we are currently at. See manufacturer.dm line 15 for details on the defines

download

Manufacture datum typepaths gained from scanned blueprints

drive_recipes

Manufacture datum typepaths provided by an inserted manudrive

electrified

This is a timer and not a true/false; it's decremented every process() tick

emagged

Whether or not a traitor emagged the manufacturer, and thus will start acting really weird atop other things

error

A somewhat legacy variable to output silent yet visible errors to the user in the UI. +Current uses include when there is a lack of materials, an invalid blueprint, and when there is not enough manudrive uses.

free_resource_amt

The amount of each free resource that the manufacturer comes preloaded with. +Separate from free_resources() as typically manufacturers use the same amount of each type.

free_resources

The types of material pieces of which the manufacturer will be spawned with. +The amount of each resource is defined on free_resource_amt

hacked

Whether or not we are hacked, and thus will show our hidden blueprints + change our maximum speed setting.

hidden

These manufacture datum typepaths are available by default, but can't be printed or seen unless the machine is hacked

icon_base

This is used to make icon state changes cleaner by setting it to "fab-[icon_base]"

The data terminal attached underfloor to this manufacturer. Allows use of PNET packets

malfunction

Whether or not the manufacturer is malfunctioning, and thus will occasionally flip_out() among other glitchy things.

manudrive

Where insertible manudrives are held for reading blueprints and getting/setting fablimits.

material_patterns_by_ref

Helper list which stores all the material patterns each loaded material satisfies, by ref to the piece

mode

The current status of the machine. +"ready" / MODE_READY - The machine is ready to produce more blueprints. +"working" / MODE_WORKING - The machine is currently producing a blueprint. +"halt" / MODE_HALT - The machine stopped due to some problem arising.

nearby_turfs

Turfs around the manufacturer are stored here for performance reasons

original_duration

Original duration of the currently queued print, used to keep track of progress when M.time gets modified weirdly in queueing

output_cap

The maximum amount of produce this can dispense on outputting a blueprint's chosen outputs.

output_target

The current atom we will output product into. Can be a turf, a crate, etc.

panel_open

Whether or not the wiring panel is open for the UI.

power_wire_cut

Whether or not the power wire is cut, removing the ability for the manufacturer to do work

queue

A list of manufacture datums in the form of a queue. Blueprints are taken from index 1 and added at the last index

repeat

Controls whether or not to repeat the first item in the queue while working.

req_access

req_access is used to lock out specific features and not limit deconstruction therefore DECON_NO_ACCESS is required

resource_amounts

Supposedly used by podwards manufacturers, but not really +Kind of legacy is this is removed soon

should_update_static

true by default to update first time around, set to true whenever something is done that invalidates static data

speed

Controls how fast blueprints are produced. Higher speed settings have a exponential effect on power use.

supplemental_desc

Appended in get_desc() to the base description, to make subtype definitions cleaner

time_left

Time left until the current blueprint is complete. Updated on pausing and on starting a new blueprint.

time_left_electrified

This is a timer decremented every process() tick representing how long the machine will be electrified for.

time_started

Time the blueprint was queued, or if paused/resumed, the time we resumed the blueprint.

wires

This is a bitflag used to track wire states, for hacking and such. Replace it with something cleaner if an option exists when you're reading this :p

Proc Details

blueprint_is_available

Returns whether or not a blueprint is able to be used for printing

blueprints_as_list

Converts list of manufacture datums to list keyed by category containing listified manufacture datums of said category.

broken_state_topic

Overriden to not disable if no power, wire maintenence to restore power is on the GUI which creates catch-22 situation

can_eject_material

Helper proc to check whether or not we can eject the material from storage or not.

can_use_ranged

Check if the target is allowed to interact with this at range. Silicons can, humans can't.

check_enough_materials

Check if a blueprint can be manufactured with the current materials. +mats_used - a list from get_materials_needed to avoid calling the proc twice

check_physical_proximity

Handle checking and outputting for not being close to the machine

claim_free_resources

Adds the resources we define in free_resources to our storage, and clears the list when we're done +to represent we do not have more resources to claim

eject_material

Handles allowing the user to eject integer amounts of material

get_bank_data

Get the relevant bank record data from the current account. Returns null if there's no account scanned yet

get_blueprint_type

Get whether a blueprint is available, hidden, downloaded, or a drive recipe. If in multiple print lists, picks the first result. Or null.

get_contents

Safely gets our storage contents. In case someone does something like load materials into the machine before we have initialized our storage +Also ejects things w/o material or that aren't pieces, to ensure safety

get_drive_uses_left

Get how many more times a drive can produce items it is stocked with

get_material_by_ref

Returns material which matches ref from storage, else returns null

get_material_for_requirement

Get the material in storage which satisfies some amount of a requirement.

get_materials_needed

Returns associative list of manufacturing requirement to material piece references, but does not guarantee all item_paths are satisfied or that +the blueprint will have the required materials ready by the time it reaches the front of the queue. Reqs not satisfied are not added to mats_used

get_requirements_material_satisfies

Get a list of the patterns a material satisfies. Does not include "ALL" in list, as it is assumed such a requirement is handled separately. +Includes all previous material tier strings for simple "x in y" checks, as well as material ID for those recipies which need exact mat.

grump_message

Helper to play the grump with or without a grump message/sound. Just as a note the sound is appropriate when the machine is reporting the error, +if its a grump that the player probably had to think about or find out then theres no "reason" for there to be sound

has_physical_proximity

Check if the target is within arm's reach of the machine

manufacture_as_list

Converts a manufacture datum to a list with string keys to relevant vars for the UI

remove_materials

Go through the material requirements of a blueprint, removing the respective used materials

rockboxes_as_list

Gets rockbox data as list for ui_static_data

scan_card

Scan in some supposed card into the machine, prompting the usr for a PIN. Returns TRUE if we managed to scan the card.

swap_materials

Swap the "position" of two materials in the manufacturer for the sake of priority use management.

try_shock

Try to shock the target if the machine is electrified, returns whether or not the target got shocked

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/maptext_monitor.html b/obj/machinery/maptext_monitor.html new file mode 100644 index 0000000000000..bb153cd3a3ccf --- /dev/null +++ b/obj/machinery/maptext_monitor.html @@ -0,0 +1,3 @@ +/obj/machinery/maptext_monitor - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

maptext monitor doodad

Vars

autosize_enabledIf enabled and autosize_target is set, scales the target based on the monitored value and the set scale and value boundaries.

Procs

update_monitorUpdates the maptext monitor
validate_monitoredChecks if a monitored thing still exists

Var Details

autosize_enabled

If enabled and autosize_target is set, scales the target based on the monitored value and the set scale and value boundaries.

Proc Details

update_monitor

Updates the maptext monitor

validate_monitored

Checks if a monitored thing still exists

+

Returns 0 if monitoring should stop, +1 if monitoring is okay

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/medimulcher.html b/obj/machinery/medimulcher.html new file mode 100644 index 0000000000000..1d222b5cf26dd --- /dev/null +++ b/obj/machinery/medimulcher.html @@ -0,0 +1 @@ +/obj/machinery/medimulcher - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

APS-4 bio-integrator

A prototypist "artifact reverse-engineer" reward: hybridized Martian tech turning food into synthflesh "patches"

Vars

digestion_progressCumulative progress - can pop out 1 anticyst per 100 progress.
grouchy_meterIf you poke it too much, it's not just going to nibble
last_poke_time"Stop poking me" tracker - to not get bit if you're just poking it a little
last_ratioRolling counter to facilitate responsive overlay updates
stomachCurrent amount of held food.

Procs

try_food_loadHelper proc to load one piece of food into the machine. Returns FALSE if machine is full

Var Details

digestion_progress

Cumulative progress - can pop out 1 anticyst per 100 progress.

grouchy_meter

If you poke it too much, it's not just going to nibble

last_poke_time

"Stop poking me" tracker - to not get bit if you're just poking it a little

last_ratio

Rolling counter to facilitate responsive overlay updates

stomach

Current amount of held food.

Proc Details

try_food_load

Helper proc to load one piece of food into the machine. Returns FALSE if machine is full

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/microwave.html b/obj/machinery/microwave.html new file mode 100644 index 0000000000000..2d1e8eb5ccd21 --- /dev/null +++ b/obj/machinery/microwave.html @@ -0,0 +1 @@ +/obj/machinery/microwave - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

Microwave

Vars

available_recipesList of the recipes the microwave will check
being_cookedThe item to create when finished cooking
cook_timeThe time to wait before spawning the item
cooked_recipeThe current recipe being cooked
dirtyIf dirty the microwave cannot be used until cleaned
donkpocket_amountCurrent total of donk pockets inside the microwave
egg_amountCurrent number of eggs inside the microwave
extra_itemSingle non food item that can be added to the microwave
flour_amountCurrent amount of flour inside the microwave
humanmeat_amountCurrent total of human meat inside the microwave
humanmeat_jobStored job of human meat for cooked recipe
humanmeat_nameStored name of human meat for cooked recipe
microwave_stateMicrowave damage, cannot be used until repaired
monkeymeat_amountCurrent total of monkey meat inside the microwave
operatingMicrowave is currently running
synthmeat_amountCurrent total of synth meat inside the microwave
water_amountCurrent amount of water inside the microwave

Procs

NewAfter making the recipe in datums\recipes.dm, add it in here!
TopicMicrowave Menu Selection Handling
attack_handMicrowave Menu
attackbyItem Adding
clean_upDisposing of microwave contents
cookMicrowave Cooking

Var Details

available_recipes

List of the recipes the microwave will check

being_cooked

The item to create when finished cooking

cook_time

The time to wait before spawning the item

cooked_recipe

The current recipe being cooked

dirty

If dirty the microwave cannot be used until cleaned

donkpocket_amount

Current total of donk pockets inside the microwave

egg_amount

Current number of eggs inside the microwave

extra_item

Single non food item that can be added to the microwave

flour_amount

Current amount of flour inside the microwave

humanmeat_amount

Current total of human meat inside the microwave

humanmeat_job

Stored job of human meat for cooked recipe

humanmeat_name

Stored name of human meat for cooked recipe

microwave_state

Microwave damage, cannot be used until repaired

monkeymeat_amount

Current total of monkey meat inside the microwave

operating

Microwave is currently running

synthmeat_amount

Current total of synth meat inside the microwave

water_amount

Current amount of water inside the microwave

Proc Details

New

After making the recipe in datums\recipes.dm, add it in here!

Topic

Microwave Menu Selection Handling

attack_hand

Microwave Menu

attackby

Item Adding

clean_up

Disposing of microwave contents

cook

Microwave Cooking

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/nanofab.html b/obj/machinery/nanofab.html new file mode 100644 index 0000000000000..9cce50cb04e67 --- /dev/null +++ b/obj/machinery/nanofab.html @@ -0,0 +1 @@ +/obj/machinery/nanofab - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Nano-fabricator

Material science fabricator

Vars

outputInternalProduced objects are fed back into the fabricator.
tabrecipes,storage,selected,part

Var Details

outputInternal

Produced objects are fed back into the fabricator.

tab

recipes,storage,selected,part

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/navbeacon.html b/obj/machinery/navbeacon.html new file mode 100644 index 0000000000000..95dcdf20f874b --- /dev/null +++ b/obj/machinery/navbeacon.html @@ -0,0 +1 @@ +/obj/machinery/navbeacon - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

navigation beacon

Procs

remove_coderemoves a code and also makes sure the packet component tag is updated appropriately
set_codeadds or edits a code and also makes sure the packet component tag is updated appropriately

Proc Details

remove_code

removes a code and also makes sure the packet component tag is updated appropriately

set_code

adds or edits a code and also makes sure the packet component tag is updated appropriately

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/networked/storage/bomb_tester.html b/obj/machinery/networked/storage/bomb_tester.html new file mode 100644 index 0000000000000..37ad7ec99b312 --- /dev/null +++ b/obj/machinery/networked/storage/bomb_tester.html @@ -0,0 +1 @@ +/obj/machinery/networked/storage/bomb_tester - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

Explosive Simulator

Vars

resultsFile record where the simulation results are kept
tank1One of two tanks this holds as a basis for the simulation
tank2Two of two tanks this holds as a basis for the simulation
vr_landmarkWhere the bomb gets dropped
vrbombOur VR TTV to attach tank1 and tank2 to

Procs

add_tankInteract with one of the tank slots on the machine. 1 for the first slot, 2 for the second. "null" to use an empty slot, if there is one.
can_simulateDetermine if the simulator is ready, returns a list of a bool for whether it's ready, and a dialogue for the user
is_valid_tankHandheld tanks and butts are both fair game here
update_bomb_logCalled by our vrbomb as it heats up (Or doesn't.)

Var Details

results

File record where the simulation results are kept

tank1

One of two tanks this holds as a basis for the simulation

tank2

Two of two tanks this holds as a basis for the simulation

vr_landmark

Where the bomb gets dropped

vrbomb

Our VR TTV to attach tank1 and tank2 to

Proc Details

add_tank

Interact with one of the tank slots on the machine. 1 for the first slot, 2 for the second. "null" to use an empty slot, if there is one.

can_simulate

Determine if the simulator is ready, returns a list of a bool for whether it's ready, and a dialogue for the user

is_valid_tank

Handheld tanks and butts are both fair game here

update_bomb_log

Called by our vrbomb as it heats up (Or doesn't.)

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/nuclearbomb.html b/obj/machinery/nuclearbomb.html new file mode 100644 index 0000000000000..5d95faeecbb73 --- /dev/null +++ b/obj/machinery/nuclearbomb.html @@ -0,0 +1 @@ +/obj/machinery/nuclearbomb - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

nuclear bomb

Vars

gives_medalDoes this nuke give the "brown pants" medal when authed by a captain? Only true by default for the specific nuke spawned by the nukies gamemode
no_warningskips the prompt asking if you want to arm the bomb. For 'pranks'

Var Details

gives_medal

Does this nuke give the "brown pants" medal when authed by a captain? Only true by default for the specific nuke spawned by the nukies gamemode

no_warning

skips the prompt asking if you want to arm the bomb. For 'pranks'

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/plantpot.html b/obj/machinery/plantpot.html new file mode 100644 index 0000000000000..dc48132798655 --- /dev/null +++ b/obj/machinery/plantpot.html @@ -0,0 +1 @@ +/obj/machinery/plantpot - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

hydroponics tray

Vars

current_tickthe plantgrowth_tick the plantpot will resolve next. This can be accessed and modifed by machinery like e.g. UV-lamps

Var Details

current_tick

the plantgrowth_tick the plantpot will resolve next. This can be accessed and modifed by machinery like e.g. UV-lamps

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/plantpot/bareplant.html b/obj/machinery/plantpot/bareplant.html new file mode 100644 index 0000000000000..7b2417e8c71f9 --- /dev/null +++ b/obj/machinery/plantpot/bareplant.html @@ -0,0 +1 @@ +/obj/machinery/plantpot/bareplant - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

arable soil

Vars

spawn_commutslist of commuts to apply to plant
spawn_growthgrowth level to spawn with
spawn_plantplant to grow

Var Details

spawn_commuts

list of commuts to apply to plant

spawn_growth

growth level to spawn with

spawn_plant

plant to grow

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/playerzoldorf.html b/obj/machinery/playerzoldorf.html new file mode 100644 index 0000000000000..d2761b116cbe2 --- /dev/null +++ b/obj/machinery/playerzoldorf.html @@ -0,0 +1 @@ +/obj/machinery/playerzoldorf - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

Zoldorf

Player-controlled Zoldorf Machine

Procs

soul_cost_checkCheck to see if the dispensing user has enough soul to purchase an item

Proc Details

soul_cost_check

Check to see if the dispensing user has enough soul to purchase an item

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/port_a_brig.html b/obj/machinery/port_a_brig.html new file mode 100644 index 0000000000000..2756c0870bc91 --- /dev/null +++ b/obj/machinery/port_a_brig.html @@ -0,0 +1 @@ +/obj/machinery/port_a_brig - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Port-A-Brig

Vars

typeinfo_typePort-a-Brig

Var Details

typeinfo_type

Port-a-Brig

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/portable_atmospherics/canister.html b/obj/machinery/portable_atmospherics/canister.html new file mode 100644 index 0000000000000..c319fc3954f83 --- /dev/null +++ b/obj/machinery/portable_atmospherics/canister.html @@ -0,0 +1 @@ +/obj/machinery/portable_atmospherics/canister - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

canister

Vars

isemptySpawns it in as empty

Var Details

isempty

Spawns it in as empty

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/portable_atmospherics/pressurizer.html b/obj/machinery/portable_atmospherics/pressurizer.html new file mode 100644 index 0000000000000..fc71930d129f5 --- /dev/null +++ b/obj/machinery/portable_atmospherics/pressurizer.html @@ -0,0 +1,6 @@ +/obj/machinery/portable_atmospherics/pressurizer - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Extreme-Pressure Pressurization Device

Vars

blacklistItems enabled by emag
process_rateRate at which materials will be processed
target_materialObject actively being processed
typeinfo_type
whitelistDefault processable materials

Var Details

blacklist

Items enabled by emag

process_rate

Rate at which materials will be processed

target_material

Object actively being processed

typeinfo_type

    +
  • Portable Pressurization Device
  • +
  • Acts as a /obj/machinery/portable_atmospherics/pump + /obj/machinery/manufacturer/gas
  • +
  • Allows for input/output of enviromental air and will convert objects made of materials that produce gas to.. gas.
  • +
  • Once sufficient pressure has been reached it can be released spreading it across the current airgroup with a minor stun explosion.
  • +

whitelist

Default processable materials

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/portable_atmospherics/scrubber.html b/obj/machinery/portable_atmospherics/scrubber.html new file mode 100644 index 0000000000000..ce3f50a1a5864 --- /dev/null +++ b/obj/machinery/portable_atmospherics/scrubber.html @@ -0,0 +1 @@ +/obj/machinery/portable_atmospherics/scrubber - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Portable Air Scrubber

Vars

bufferTemporary reagent buffer, reagents are stored in src.reagents

Var Details

buffer

Temporary reagent buffer, reagents are stored in src.reagents

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/power.html b/obj/machinery/power.html new file mode 100644 index 0000000000000..b392c5f434488 --- /dev/null +++ b/obj/machinery/power.html @@ -0,0 +1,3 @@ +/obj/machinery/power - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/obj/machinery/power

Vars

directwiredby default, power machines are connected by a cable in a neighbouring turf +if set to 0, requires a 0-X cable on this turf
use_datanetIf set to 1, communicate with other devices over cable network.

Procs

attackbyattach a wire to a power machine - leads from the turf you are standing on

Var Details

directwired

by default, power machines are connected by a cable in a neighbouring turf +if set to 0, requires a 0-X cable on this turf

use_datanet

If set to 1, communicate with other devices over cable network.

Proc Details

attackby

attach a wire to a power machine - leads from the turf you are standing on

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/power/apc.html b/obj/machinery/power/apc.html new file mode 100644 index 0000000000000..d3912d54fad87 --- /dev/null +++ b/obj/machinery/power/apc.html @@ -0,0 +1 @@ +/obj/machinery/power/apc - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

area power controller

Procs

accept_excessPost-cycle APC proc; updates charging status, and delivers discretionary recharging if excess power is available.
cell_cycleAPC cycle phase 2: cell cycle. Debit the load from cell, and if any external power is available, attempt to use it to "settle up"
load_cycleAPC cycle phase 1: load cycle. Check if the APC's able to operate, and if so, combine and prepare the load for phase 2 where it gets expended.

Proc Details

accept_excess

Post-cycle APC proc; updates charging status, and delivers discretionary recharging if excess power is available.

cell_cycle

APC cycle phase 2: cell cycle. Debit the load from cell, and if any external power is available, attempt to use it to "settle up"

load_cycle

APC cycle phase 1: load cycle. Check if the APC's able to operate, and if so, combine and prepare the load for phase 2 where it gets expended.

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/power/catalytic_generator.html b/obj/machinery/power/catalytic_generator.html new file mode 100644 index 0000000000000..a4e0e5174eb9a --- /dev/null +++ b/obj/machinery/power/catalytic_generator.html @@ -0,0 +1 @@ +/obj/machinery/power/catalytic_generator - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

catalytic generator core

Vars

gen_rateGeneration rate, determined by the least effective rod between the two inserted rods
output_tierInteger for picking an overlay icon state, determined by gen_rate during process

Var Details

gen_rate

Generation rate, determined by the least effective rod between the two inserted rods

output_tier

Integer for picking an overlay icon state, determined by gen_rate during process

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/power/pt_laser.html b/obj/machinery/power/pt_laser.html new file mode 100644 index 0000000000000..9151269731439 --- /dev/null +++ b/obj/machinery/power/pt_laser.html @@ -0,0 +1,6 @@ +/obj/machinery/power/pt_laser - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

power transmission laser

Vars

laserthe first laser object
selling_lasersA list of all laser segments from this PTL that reached the edge of the z-level
wackyIs this PTL so wacky, weird and whimsical that its laser goes in squiggles?

Procs

process

Var Details

laser

the first laser object

selling_lasers

A list of all laser segments from this PTL that reached the edge of the z-level

wacky

Is this PTL so wacky, weird and whimsical that its laser goes in squiggles?

Proc Details

process

    +
  1. Calculate available power.
  2. +
  3. Figure out next state and power available.
  4. +
  5. Adjust battery charge and, terminal.add_load and set last_load.
  6. +
  7. Execute the new laser state.
  8. +
goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/power/solar.html b/obj/machinery/power/solar.html new file mode 100644 index 0000000000000..ec037c0344010 --- /dev/null +++ b/obj/machinery/power/solar.html @@ -0,0 +1 @@ +/obj/machinery/power/solar - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Kuafu photoelectric panel

Vars

typeinfo_typeSolar panel

Var Details

typeinfo_type

Solar panel

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/power/tracker.html b/obj/machinery/power/tracker.html new file mode 100644 index 0000000000000..7c560e6d72ecf --- /dev/null +++ b/obj/machinery/power/tracker.html @@ -0,0 +1 @@ +/obj/machinery/power/tracker - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Houyi stellar tracker

Vars

typeinfo_typeSolar tracker

Var Details

typeinfo_type

Solar tracker

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/printing_press.html b/obj/machinery/printing_press.html new file mode 100644 index 0000000000000..026d6c8e8fce7 --- /dev/null +++ b/obj/machinery/printing_press.html @@ -0,0 +1 @@ +/obj/machinery/printing_press - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

Academy automated printing press

makes books and pamphlets.

Vars

alchemical_symbolsalchemical symbols (because theres a lot of them)
book_amounthow many books to make?
book_authorwho made the book?
book_coverwhat cover design to use?
book_infowhat text will the made books have?
book_info_rawraw version of the text, for editing.
book_namewhats the made book's name?
books_upgradeFALSE by default, set to TRUE when custom book covers upgrade is installed
colorable_flairsflairs that can be coloured
colorable_symbolslist of symbols that can be coloured
colors_upgradeFALSE by default, set to TRUE when ink colors upgrade is installed
cover_colorwhite by default, what colour will our book be?
cover_designslist of covers to choose from
cover_flairwhats the "flair" thing on the book?
cover_symbolwhat symbol is on our front cover?
flair_colorwhite by default, whats the color of the flair (if its colorable)?
flair_colorablethis is a bugfix for non-colourable flairs being coloured
forbidden_upgradeFALSE by default, set to TRUE when forbidden covers/symbols/styles upgrade is installed
headline_len_limheadlines can be 128 characters max, unlike book titles
info_len_lim64 character titles/author names max
ink_colorwhat color is the text written in?
ink_leveldecrements by 2 for each book printed, can be refilled (expensively)
is_runningTRUE if its working, FALSE when idle/depowered
newspaper_amountAmount of newspapers to print
newspaper_headlineheadline of the newspaper. Saved separately to book details.
newspaper_infoThe contents of the article
newspaper_info_rawraw version of newspaper_info, for editing
newspaper_publisherthe name of the newspaper e.g. Nanotrasen Daily.
newspaper_upgradeFalse by default, set to true when newspaper printing upgrade is installed.
non_writing_iconsjust the bible for now. add covers to this list if their icon file isnt icons/obj/writing.dmi
paper_amtempty by default, 0 to 70
press_modesthe default modes, can be expanded to have "Ink Colors" and "Custom Cover"
standard_flairsflairs that can't be coloured
standard_symbolssymbols that can't be coloured
symbol_colorwhite by default, if our symbol is colourable, what colour is it?
symbol_colorablethis is a bugfix for non-colourable symbols being coloured
was_paperworkaround for now, need to update icon if paper_amt is 0 to clear overlay

Procs

convert_inputHTML encodes input and converts bbcode to HTML
trim_inputtrim text down to max length for contents

Var Details

alchemical_symbols

alchemical symbols (because theres a lot of them)

book_amount

how many books to make?

book_author

who made the book?

book_cover

what cover design to use?

book_info

what text will the made books have?

book_info_raw

raw version of the text, for editing.

book_name

whats the made book's name?

books_upgrade

FALSE by default, set to TRUE when custom book covers upgrade is installed

colorable_flairs

flairs that can be coloured

colorable_symbols

list of symbols that can be coloured

colors_upgrade

FALSE by default, set to TRUE when ink colors upgrade is installed

cover_color

white by default, what colour will our book be?

cover_designs

list of covers to choose from

cover_flair

whats the "flair" thing on the book?

cover_symbol

what symbol is on our front cover?

flair_color

white by default, whats the color of the flair (if its colorable)?

flair_colorable

this is a bugfix for non-colourable flairs being coloured

forbidden_upgrade

FALSE by default, set to TRUE when forbidden covers/symbols/styles upgrade is installed

headline_len_lim

headlines can be 128 characters max, unlike book titles

info_len_lim

64 character titles/author names max

ink_color

what color is the text written in?

ink_level

decrements by 2 for each book printed, can be refilled (expensively)

is_running

TRUE if its working, FALSE when idle/depowered

newspaper_amount

Amount of newspapers to print

newspaper_headline

headline of the newspaper. Saved separately to book details.

newspaper_info

The contents of the article

newspaper_info_raw

raw version of newspaper_info, for editing

newspaper_publisher

the name of the newspaper e.g. Nanotrasen Daily.

newspaper_upgrade

False by default, set to true when newspaper printing upgrade is installed.

non_writing_icons

just the bible for now. add covers to this list if their icon file isnt icons/obj/writing.dmi

paper_amt

empty by default, 0 to 70

press_modes

the default modes, can be expanded to have "Ink Colors" and "Custom Cover"

standard_flairs

flairs that can't be coloured

standard_symbols

symbols that can't be coloured

symbol_color

white by default, if our symbol is colourable, what colour is it?

symbol_colorable

this is a bugfix for non-colourable symbols being coloured

was_paper

workaround for now, need to update icon if paper_amt is 0 to clear overlay

Proc Details

convert_input

HTML encodes input and converts bbcode to HTML

trim_input

trim text down to max length for contents

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/r_door_control.html b/obj/machinery/r_door_control.html new file mode 100644 index 0000000000000..32bbef0799421 --- /dev/null +++ b/obj/machinery/r_door_control.html @@ -0,0 +1,2 @@ +/obj/machinery/r_door_control - Goonstation 13
Goonstation 13 - Modules - Types

Remote Door Control

////Uses a radio signal to control the door

+

Remote Door Control //////////////////////////////////////////////

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/recharge_station.html b/obj/machinery/recharge_station.html new file mode 100644 index 0000000000000..93dcb10515a6b --- /dev/null +++ b/obj/machinery/recharge_station.html @@ -0,0 +1,3 @@ +/obj/machinery/recharge_station - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

cyborg docking station

Procs

move_human_insidecheck if we may put this human inside the chamber +on success returns true, else returns false

Proc Details

move_human_inside

check if we may put this human inside the chamber +on success returns true, else returns false

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/rkit.html b/obj/machinery/rkit.html new file mode 100644 index 0000000000000..388bec69d6128 --- /dev/null +++ b/obj/machinery/rkit.html @@ -0,0 +1 @@ +/obj/machinery/rkit - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

ruckingenur kit

no

Vars

host_rucknet_id of the ruck that will send messages
known_ruckslist of rucks we've seen send a SYNC or SYNCREPLY (or even DROP but that's weird)

Var Details

host_ruck

net_id of the ruck that will send messages

known_rucks

list of rucks we've seen send a SYNC or SYNCREPLY (or even DROP but that's weird)

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/shieldgenerator.html b/obj/machinery/shieldgenerator.html new file mode 100644 index 0000000000000..0c11d1e9a8fce --- /dev/null +++ b/obj/machinery/shieldgenerator.html @@ -0,0 +1 @@ +/obj/machinery/shieldgenerator - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Shield generator parent

Vars

recharge_rateHow fast the cell recharges when attached to a wire
typeinfo_typeNot related to the other shield generator at all.

Var Details

recharge_rate

How fast the cell recharges when attached to a wire

typeinfo_type

Not related to the other shield generator at all.

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/shieldgenerator/energy_shield.html b/obj/machinery/shieldgenerator/energy_shield.html new file mode 100644 index 0000000000000..c97e55b766425 --- /dev/null +++ b/obj/machinery/shieldgenerator/energy_shield.html @@ -0,0 +1,5 @@ +/obj/machinery/shieldgenerator/energy_shield - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

Energy-Shield Generator

Procs

checkForcefieldAllowedProc to check if it's valid to place a force field on a given tile. +Checks for turf density, then blocking objects; however, we ignore ON_BORDER objects such as railings +Mobs are not considered.

Proc Details

checkForcefieldAllowed

Proc to check if it's valid to place a force field on a given tile. +Checks for turf density, then blocking objects; however, we ignore ON_BORDER objects such as railings +Mobs are not considered.

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/shower.html b/obj/machinery/shower.html new file mode 100644 index 0000000000000..52b5e1f1d3cfb --- /dev/null +++ b/obj/machinery/shower.html @@ -0,0 +1 @@ +/obj/machinery/shower - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

shower head

Procs

mechcomp_toggleSilly wrapper proc to drop the args

Proc Details

mechcomp_toggle

Silly wrapper proc to drop the args

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/shuttle/weapon.html b/obj/machinery/shuttle/weapon.html new file mode 100644 index 0000000000000..787add74bd847 --- /dev/null +++ b/obj/machinery/shuttle/weapon.html @@ -0,0 +1 @@ +/obj/machinery/shuttle/weapon - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/obj/machinery/shuttle/weapon

Vars

typeinfo_typeSHIP-SCALE WEAPONRY. BEEOO BEEOO HIT THE DECK

Var Details

typeinfo_type

SHIP-SCALE WEAPONRY. BEEOO BEEOO HIT THE DECK

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/siphon.html b/obj/machinery/siphon.html new file mode 100644 index 0000000000000..4d6beeba4f363 --- /dev/null +++ b/obj/machinery/siphon.html @@ -0,0 +1 @@ +/obj/machinery/siphon - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/obj/machinery/siphon

Vars

netnameshortened name for networked control

Procs

build_net_updateprepares an update for the siphon control console; placed in a discrete proc so subtypes can handle input commands before signal post
build_readoutsconstructs a list of readouts specific to the device, to be automatically interpreted; should return a list

Var Details

netname

shortened name for networked control

Proc Details

build_net_update

prepares an update for the siphon control console; placed in a discrete proc so subtypes can handle input commands before signal post

build_readouts

constructs a list of readouts specific to the device, to be automatically interpreted; should return a list

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/siphon/core.html b/obj/machinery/siphon/core.html new file mode 100644 index 0000000000000..b567e75f37cf5 --- /dev/null +++ b/obj/machinery/siphon/core.html @@ -0,0 +1 @@ +/obj/machinery/siphon/core - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

harmonic siphon

Vars

can_extractlist of possible siphon targets for the siphon
extract_overloadedextract tick overload state, set during process; if tick consumption is missing or insufficient, tick buildup causes blowouts
extract_ticksprogress in extraction, incremented each process by total intensity of resonators; consumption varies by material. also known as EEU
max_held_itemshow much the siphon can hold in its internal reservoir before it has to be unloaded
modepossible modes: high (raised and inactive), low (drill is set over hole, resonators lock in place), active (drilling)
output_targetwhere extracted minerals are sent
paired_leverpaired control console for non-manual operation
resofactortotal intensity of all connected resonators; increases power draw and production progress per tick
resonatorslist of paired resonators, built when drill enters active position
togglingtrue while toggling between high and low
total_drawsum of baseline draw from siphon and current draw from paired resonators

Procs

calibrate_resonanceiterates over all currently connected resonators to get their cumulative effect on drilling

Var Details

can_extract

list of possible siphon targets for the siphon

extract_overloaded

extract tick overload state, set during process; if tick consumption is missing or insufficient, tick buildup causes blowouts

extract_ticks

progress in extraction, incremented each process by total intensity of resonators; consumption varies by material. also known as EEU

max_held_items

how much the siphon can hold in its internal reservoir before it has to be unloaded

mode

possible modes: high (raised and inactive), low (drill is set over hole, resonators lock in place), active (drilling)

output_target

where extracted minerals are sent

paired_lever

paired control console for non-manual operation

resofactor

total intensity of all connected resonators; increases power draw and production progress per tick

resonators

list of paired resonators, built when drill enters active position

toggling

true while toggling between high and low

total_draw

sum of baseline draw from siphon and current draw from paired resonators

Proc Details

calibrate_resonance

iterates over all currently connected resonators to get their cumulative effect on drilling

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/siphon/resonator.html b/obj/machinery/siphon/resonator.html new file mode 100644 index 0000000000000..a8f8cc8cbef25 --- /dev/null +++ b/obj/machinery/siphon/resonator.html @@ -0,0 +1 @@ +/obj/machinery/siphon/resonator - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Type-AX siphon resonator

Vars

formatted_coordsformatted coordinates for reporting to central console
intensityintensity scalar from 0 to max (4 for base model), increasing power draw and resonance strength
lightglowy light, should vary in intensity based on resonator power level
maglockedtrue when resonator is maglocked (can be configured, cannot move)
max_intensitymaximum intensity that can be provided by the resonator
paired_corereference
panelopentrue when front panel is open (done for repairs; operating resonator while its front panel is open can end poorly)
resclassaffix for overlay icon states, permits cleaner subtyping
shearmodmodifier to total shear value AFTER regular shear calculation; can change dynamically as long as it's set before calibrate_resonance
wrenchedtrue when manually secured with wrench (affects anchoring)
x_torquebaseline X torque value, set when the resonator is anchored by the central siphon
y_torquebaseline Y torque value, set when the resonator is anchored by the central siphon

Var Details

formatted_coords

formatted coordinates for reporting to central console

intensity

intensity scalar from 0 to max (4 for base model), increasing power draw and resonance strength

light

glowy light, should vary in intensity based on resonator power level

maglocked

true when resonator is maglocked (can be configured, cannot move)

max_intensity

maximum intensity that can be provided by the resonator

paired_core

reference

panelopen

true when front panel is open (done for repairs; operating resonator while its front panel is open can end poorly)

resclass

affix for overlay icon states, permits cleaner subtyping

shearmod

modifier to total shear value AFTER regular shear calculation; can change dynamically as long as it's set before calibrate_resonance

wrenched

true when manually secured with wrench (affects anchoring)

x_torque

baseline X torque value, set when the resonator is anchored by the central siphon

y_torque

baseline Y torque value, set when the resonator is anchored by the central siphon

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/sleep_console.html b/obj/machinery/sleep_console.html new file mode 100644 index 0000000000000..074f01e14953d --- /dev/null +++ b/obj/machinery/sleep_console.html @@ -0,0 +1 @@ +/obj/machinery/sleep_console - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

sleeper console

Vars

typeinfo_typeSleeper control console

Var Details

typeinfo_type

Sleeper control console

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/sleeper.html b/obj/machinery/sleeper.html new file mode 100644 index 0000000000000..b6ebe27f56b64 --- /dev/null +++ b/obj/machinery/sleeper.html @@ -0,0 +1 @@ +/obj/machinery/sleeper - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

sleeper

Vars

typeinfo_typeSleeper

Var Details

typeinfo_type

Sleeper

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/sleeper/port_a_medbay.html b/obj/machinery/sleeper/port_a_medbay.html new file mode 100644 index 0000000000000..27d52e12b99cd --- /dev/null +++ b/obj/machinery/sleeper/port_a_medbay.html @@ -0,0 +1 @@ +/obj/machinery/sleeper/port_a_medbay - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

Port-A-Medbay

Vars

mailgroupsMailgroups it'll try to send PDA notifications to

Procs

PDA_alert_checkYells at doctors to check the thing when it's sent home

Var Details

mailgroups

Mailgroups it'll try to send PDA notifications to

Proc Details

PDA_alert_check

Yells at doctors to check the thing when it's sent home

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/space_heater.html b/obj/machinery/space_heater.html new file mode 100644 index 0000000000000..452dec6eebade --- /dev/null +++ b/obj/machinery/space_heater.html @@ -0,0 +1 @@ +/obj/machinery/space_heater - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

space HVAC

Vars

cooling_powerfake heat capacity

Var Details

cooling_power

fake heat capacity

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/status_display.html b/obj/machinery/status_display.html new file mode 100644 index 0000000000000..82d67979ca455 --- /dev/null +++ b/obj/machinery/status_display.html @@ -0,0 +1 @@ +/obj/machinery/status_display - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

status display

Vars

message1message line 1
message2message line 2
modeCurrent mode of the display
picture_stateicon_state of alert picture
proxyProxy object for putting map text on top of overlays
repeat_updateRepeat update this ptick
the_bombReference to the nuclear bomb in Nuclear Operatives mode
zeta_selfdestructScreen will show zeta station self destruct messages

Procs

get_market_timerGet text for next shipping market shift
get_shuttle_timerGet text for next emergency shuttle milestone (arriving, departing, centcom)
timeleft_to_textGenerate the time left text for our display

Var Details

message1

message line 1

message2

message line 2

mode

Current mode of the display

picture_state

icon_state of alert picture

proxy

Proxy object for putting map text on top of overlays

repeat_update

Repeat update this ptick

the_bomb

Reference to the nuclear bomb in Nuclear Operatives mode

zeta_selfdestruct

Screen will show zeta station self destruct messages

Proc Details

get_market_timer

Get text for next shipping market shift

get_shuttle_timer

Get text for next emergency shuttle milestone (arriving, departing, centcom)

timeleft_to_text

Generate the time left text for our display

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/the_singularity.html b/obj/machinery/the_singularity.html new file mode 100644 index 0000000000000..45f32caf137bb --- /dev/null +++ b/obj/machinery/the_singularity.html @@ -0,0 +1 @@ +/obj/machinery/the_singularity - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

gravitational singularity

Singularity

Vars

gib_mobsif it should call gib on mobs
katamari_modeIf true the sucked-in objects will get stuck to the singularity
num_absorbedNumber of objects absorbed by the singularity
num_absorbed_playersnumber of players absorbed
right_spinningboolean for the spaghettification animation spin direction
spaget_countCount for rate-limiting the spaghettification effect

Procs

eventControls which "event" is called

Var Details

gib_mobs

if it should call gib on mobs

katamari_mode

If true the sucked-in objects will get stuck to the singularity

num_absorbed

Number of objects absorbed by the singularity

num_absorbed_players

number of players absorbed

right_spinning

boolean for the spaghettification animation spin direction

spaget_count

Count for rate-limiting the spaghettification effect

Proc Details

event

Controls which "event" is called

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/the_singularitygen.html b/obj/machinery/the_singularitygen.html new file mode 100644 index 0000000000000..1c1af69543b24 --- /dev/null +++ b/obj/machinery/the_singularitygen.html @@ -0,0 +1 @@ +/obj/machinery/the_singularitygen - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Gravitational Singularity Generator

Vars

typeinfo_typeSingularity generator

Var Details

typeinfo_type

Singularity generator

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/transception_pad.html b/obj/machinery/transception_pad.html new file mode 100644 index 0000000000000..8ee77de83ef60 --- /dev/null +++ b/obj/machinery/transception_pad.html @@ -0,0 +1 @@ +/obj/machinery/transception_pad - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

transception pad

Vars

pad_idFancy identifier, which you can see in the pad's name; lets you know which pad you're operating from the transception interlink computer

Procs

attempt_transceiveTry to receive or send a thing, contextually; receive if it was passed an index for pending inbound cargo or a manual receive, send otherwise
check_transceivePolls to see if the pad can connect to the array, and if it can, whether said array is capable of completing the pad's request
telefragStanding on the pad while it's trying to transport cargo is an extremely dumb idea, prepare to get owned

Var Details

pad_id

Fancy identifier, which you can see in the pad's name; lets you know which pad you're operating from the transception interlink computer

Proc Details

attempt_transceive

Try to receive or send a thing, contextually; receive if it was passed an index for pending inbound cargo or a manual receive, send otherwise

check_transceive

Polls to see if the pad can connect to the array, and if it can, whether said array is capable of completing the pad's request

telefrag

Standing on the pad while it's trying to transport cargo is an extremely dumb idea, prepare to get owned

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/traymachine.html b/obj/machinery/traymachine.html new file mode 100644 index 0000000000000..54f5b3bfb9c23 --- /dev/null +++ b/obj/machinery/traymachine.html @@ -0,0 +1 @@ +/obj/machinery/traymachine - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

tray machine

Procs

collect_trayTray goes in
eject_trayTray comes out - probably override this if your tray should move weirdly
updateUpdate the tray machine's sprite

Proc Details

collect_tray

Tray goes in

eject_tray

Tray comes out - probably override this if your tray should move weirdly

update

Update the tray machine's sprite

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/vehicle.html b/obj/machinery/vehicle.html new file mode 100644 index 0000000000000..2603a9f1784d3 --- /dev/null +++ b/obj/machinery/vehicle.html @@ -0,0 +1,5 @@ +/obj/machinery/vehicle - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

Vehicle Pod

Vars

init_comms_typeI got sick of having the comms type swapping code in 17 New() ship types +so this is the initial type of comms array this vehicle will have
numbers_in_nameWhether to append a random number to the name of the vehicle
rcsbrake toggle

Procs

InstallInstall Ship Part
MouseDrop_TMouseDrop Crate Loading
access_computerMain Ship Computer Access
access_main_computerShip Verbs
attackbyAttack Code
boardBoard Code (also eject code lol)
ejectCalled when the loc of an occupant changes to something other than a pod. (It's in mob/set_loc. Yes, really.) +Use leave_pod if the occupant is exiting the pod normally, and don't call this directly.
exit_shipExit Ship Code
find_pilotFind new pilot
get_welding_positionsProduces a random small welding line across the vehicle
handle_occupants_shipdeathWhat happens to occupants when ship is destroyed
open_parts_panelOpen Part Panel
setup_ion_trailNew Vehicle Code
ship_messageShip Message
shipdeathShip Death
threat_alertIncoming!
weld_actionCallback for welding repair actionbar

Var Details

init_comms_type

I got sick of having the comms type swapping code in 17 New() ship types +so this is the initial type of comms array this vehicle will have

numbers_in_name

Whether to append a random number to the name of the vehicle

rcs

brake toggle

Proc Details

Install

Install Ship Part

MouseDrop_T

MouseDrop Crate Loading

access_computer

Main Ship Computer Access

access_main_computer

Ship Verbs

attackby

Attack Code

board

Board Code (also eject code lol)

eject

Called when the loc of an occupant changes to something other than a pod. (It's in mob/set_loc. Yes, really.) +Use leave_pod if the occupant is exiting the pod normally, and don't call this directly.

exit_ship

Exit Ship Code

find_pilot

Find new pilot

get_welding_positions

Produces a random small welding line across the vehicle

handle_occupants_shipdeath

What happens to occupants when ship is destroyed

open_parts_panel

Open Part Panel

setup_ion_trail

New Vehicle Code

ship_message

Ship Message

shipdeath

Ship Death

threat_alert

Incoming!

weld_action

Callback for welding repair actionbar

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/vending.html b/obj/machinery/vending.html new file mode 100644 index 0000000000000..59d90a3debf69 --- /dev/null +++ b/obj/machinery/vending.html @@ -0,0 +1 @@ +/obj/machinery/vending - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Vendomat

Vars

currently_vendingThe product currently being vended
player_listFor player vending machines
vend_inhandTry to put the item in the user's hand

Var Details

currently_vending

The product currently being vended

player_list

For player vending machines

vend_inhand

Try to put the item in the user's hand

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/vending/player.html b/obj/machinery/vending/player.html new file mode 100644 index 0000000000000..55e1917c62aaa --- /dev/null +++ b/obj/machinery/vending/player.html @@ -0,0 +1 @@ +/obj/machinery/vending/player - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

Build-A-Vend

Vars

static_data_invalidSet this var to update all static data at the end of the machine tick, done like this to avoid updating for every item added in a stack

Procs

expelThis is a mild hack, an expel proc to match /obj/disposaloutlet

Var Details

static_data_invalid

Set this var to update all static data at the end of the machine tick, done like this to avoid updating for every item added in a stack

Proc Details

expel

This is a mild hack, an expel proc to match /obj/disposaloutlet

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/vending/player/chemicals.html b/obj/machinery/vending/player/chemicals.html new file mode 100644 index 0000000000000..103a4ccb2856c --- /dev/null +++ b/obj/machinery/vending/player/chemicals.html @@ -0,0 +1 @@ +/obj/machinery/vending/player/chemicals - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

dispensary interlink

Vars

allowed_typesStuff wot can be put in
idFor linking to the chemlink console thingy

Var Details

allowed_types

Stuff wot can be put in

id

For linking to the chemlink console thingy

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/vending/port_a_nanomed.html b/obj/machinery/vending/port_a_nanomed.html new file mode 100644 index 0000000000000..9b7888ef9497f --- /dev/null +++ b/obj/machinery/vending/port_a_nanomed.html @@ -0,0 +1 @@ +/obj/machinery/vending/port_a_nanomed - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Port-A-NanoMed

Vars

typeinfo_typePort-a-NanoMed

Var Details

typeinfo_type

Port-a-NanoMed

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/machinery/wraith/runetrap.html b/obj/machinery/wraith/runetrap.html new file mode 100644 index 0000000000000..02f73bf94bc59 --- /dev/null +++ b/obj/machinery/wraith/runetrap.html @@ -0,0 +1 @@ +/obj/machinery/wraith/runetrap - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

rune trap

Procs

try_triggerattempts to detonate a runetrap, checks if the trap is armed and if the crosser is a valid target

Proc Details

try_trigger

attempts to detonate a runetrap, checks if the trap is armed and if the crosser is a valid target

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/mapping_helper/airlock/cycler.html b/obj/mapping_helper/airlock/cycler.html new file mode 100644 index 0000000000000..d99b8fcf3fb7a --- /dev/null +++ b/obj/mapping_helper/airlock/cycler.html @@ -0,0 +1 @@ +/obj/mapping_helper/airlock/cycler - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

airlock cycler linkage

Vars

cycle_idThe ID of the cycling airlock. All airlocks connected should have the same ID
enter_idUsed within a network for things like double doors.

Var Details

cycle_id

The ID of the cycling airlock. All airlocks connected should have the same ID

enter_id

Used within a network for things like double doors.

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/mapping_helper/mob_spawn.html b/obj/mapping_helper/mob_spawn.html new file mode 100644 index 0000000000000..8a5b28b1c3c6d --- /dev/null +++ b/obj/mapping_helper/mob_spawn.html @@ -0,0 +1 @@ +/obj/mapping_helper/mob_spawn - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Mob Spawn

Vars

container_typeContainer path such as a locker or crate, spawned with the corpse. It should obviously be openable by some means.
spawn_typePath to spawn, should be a mob/living and not gib itself on death unless you want a mess

Var Details

container_type

Container path such as a locker or crate, spawned with the corpse. It should obviously be openable by some means.

spawn_type

Path to spawn, should be a mob/living and not gib itself on death unless you want a mess

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/mapping_helper/mob_spawn/corpse/human.html b/obj/mapping_helper/mob_spawn/corpse/human.html new file mode 100644 index 0000000000000..ef307d47c677f --- /dev/null +++ b/obj/mapping_helper/mob_spawn/corpse/human.html @@ -0,0 +1 @@ +/obj/mapping_helper/mob_spawn/corpse/human - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Human Corpse Spawn

Vars

appearance_overrideSent in if we are spawned by a human critter that drops a spawner
armlessIf TRUE we sever the arms of the corpse on spawn
break_headsetIf TRUE we break the headset and make it unscannable after spawning
corpseUsed to track the created corpse after setup
decomp_stageOverride this if you want a specific decomp stage
delete_idIf TRUE we delete the ID slot contents after spawning
do_damageIf TRUE we call do_damage() by default this is random damage of every type
empty_bagIf TRUE we delete the contents of the backpack after spawning
empty_pocketsIf TRUE delete the pocket contents if any
headlessIf TRUE we decapitate the corpse on spawn
huskedIf TRUE we husk the corpse on spawn and disfigure face
leglessIf TRUE we sever the legs of the corpse on spawn
max_limbs_removedIf this has a value, remove a random number of limbs between 0 and this max
max_organs_removedIf this has a value, remove a random number of organs between 0 and this max
muteraceCan be used to override default mutant race
no_decompIf TRUE we are magically preserved and don't decay
no_miasmaIf TRUE we make no miasma, since filling prefabs or maint etc with that would suck
randomise_decomp_stageIf TRUE randomise the decomp stage of the body after spawning
skeletonizedIf TRUE we skeletonize the corpse on spawn
try_buckleIf TRUE we buckle corpse to chair if there is one

Var Details

appearance_override

Sent in if we are spawned by a human critter that drops a spawner

armless

If TRUE we sever the arms of the corpse on spawn

break_headset

If TRUE we break the headset and make it unscannable after spawning

corpse

Used to track the created corpse after setup

decomp_stage

Override this if you want a specific decomp stage

delete_id

If TRUE we delete the ID slot contents after spawning

do_damage

If TRUE we call do_damage() by default this is random damage of every type

empty_bag

If TRUE we delete the contents of the backpack after spawning

empty_pockets

If TRUE delete the pocket contents if any

headless

If TRUE we decapitate the corpse on spawn

husked

If TRUE we husk the corpse on spawn and disfigure face

legless

If TRUE we sever the legs of the corpse on spawn

max_limbs_removed

If this has a value, remove a random number of limbs between 0 and this max

max_organs_removed

If this has a value, remove a random number of organs between 0 and this max

muterace

Can be used to override default mutant race

no_decomp

If TRUE we are magically preserved and don't decay

no_miasma

If TRUE we make no miasma, since filling prefabs or maint etc with that would suck

randomise_decomp_stage

If TRUE randomise the decomp stage of the body after spawning

skeletonized

If TRUE we skeletonize the corpse on spawn

try_buckle

If TRUE we buckle corpse to chair if there is one

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/merge_conflict_marker.html b/obj/merge_conflict_marker.html new file mode 100644 index 0000000000000..e96aa9449efcc --- /dev/null +++ b/obj/merge_conflict_marker.html @@ -0,0 +1 @@ +/obj/merge_conflict_marker - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

Merge Conflict Marker - DO NOT USE

DO NOT USE THIS IN NORMAL MAPPING!!! Linters WILL fail.

Procs

NewWe REALLY do not want un-addressed merge conflicts in maps for an inexhaustible list of reasons. This should help ensure that this will not be missed in case linters fail to catch it for any reason what-so-ever.

Proc Details

New

We REALLY do not want un-addressed merge conflicts in maps for an inexhaustible list of reasons. This should help ensure that this will not be missed in case linters fail to catch it for any reason what-so-ever.

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/minimap.html b/obj/minimap.html new file mode 100644 index 0000000000000..063c8a857d267 --- /dev/null +++ b/obj/minimap.html @@ -0,0 +1,2 @@ +/obj/minimap - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

Station Map

Minimap objects are responsible for displaying and handling player interaction with minimaps. They act as the physical +manifestation of minimap datums, being displayed either on the map or in a UI element.

Vars

mapThe minimap datum for this minimap object, containing data on the appearance and scale of the minimap, handling resizes, and managing markers.
map_pathThe minimap type path that map should use.
map_scaleThe desired scale of the physical map, as a multiple of the original size (300x300px).
map_typeA bitflag that will be passed to the datum and determines which areas and minimap markers are to be rendered on the minimap. For available flags, see _std/defines/minimap.dm.

Procs

initialise_minimapSet up this minimap object's minimap datum and click overlay.

Var Details

map

The minimap datum for this minimap object, containing data on the appearance and scale of the minimap, handling resizes, and managing markers.

map_path

The minimap type path that map should use.

map_scale

The desired scale of the physical map, as a multiple of the original size (300x300px).

map_type

A bitflag that will be passed to the datum and determines which areas and minimap markers are to be rendered on the minimap. For available flags, see _std/defines/minimap.dm.

Proc Details

initialise_minimap

Set up this minimap object's minimap datum and click overlay.

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/minimap_controller.html b/obj/minimap_controller.html new file mode 100644 index 0000000000000..95ad1840bcb1c --- /dev/null +++ b/obj/minimap_controller.html @@ -0,0 +1,2 @@ +/obj/minimap_controller - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

Map Controller

Minimap controllers are responsible for handling player manipulation of minimaps, including panning and zooming the map, +managing minimap marker visibility, and creating and deleting markers.

Vars

controlled_minimapThe controlled minimap object.
displayed_minimapThe minimap to be displayed, mostly identical to the controlled minimap with the exception that the scale will always be 1. Used to circumvent a bug.
marker_silhouetteA semi-transparent minimap marker used to communicate where the marker will be placed on the minimap.
selected_iconThe icon that the marker silouette should use.
selected_xThe sampled x coordinate.
selected_yThe sampled y coordinate.
selecting_coordinatesWhether the next click will sample coordinates at the clicked point.
start_click_pos_xThe "starting" x position of the drag/pan, allowing for distance moved in the x axis to be calculated and applied to the minimap.
start_click_pos_yThe "starting" y position of the drag/pan, allowing for distance moved in the y axis to be calculated and applied to the minimap.

Procs

delete_markerDeletes a minimap marker and removes it on the minimap.
initialise_minimap_controllerSet up this minimap controller's displayed minimap datum and click overlay.
new_markerCreates a new minimap marker and displays it on the minimap.
pan_mapPans the minimap by a specified number of pixels.
reset_scaleResets the minimap to the defaut offset and zoom.
toggle_visibilityToggles the visibility of a specified minimap marker.
toggle_visibility_allToggles the visibility of all minimap markers.

Var Details

controlled_minimap

The controlled minimap object.

displayed_minimap

The minimap to be displayed, mostly identical to the controlled minimap with the exception that the scale will always be 1. Used to circumvent a bug.

marker_silhouette

A semi-transparent minimap marker used to communicate where the marker will be placed on the minimap.

selected_icon

The icon that the marker silouette should use.

selected_x

The sampled x coordinate.

selected_y

The sampled y coordinate.

selecting_coordinates

Whether the next click will sample coordinates at the clicked point.

start_click_pos_x

The "starting" x position of the drag/pan, allowing for distance moved in the x axis to be calculated and applied to the minimap.

start_click_pos_y

The "starting" y position of the drag/pan, allowing for distance moved in the y axis to be calculated and applied to the minimap.

Proc Details

delete_marker

Deletes a minimap marker and removes it on the minimap.

initialise_minimap_controller

Set up this minimap controller's displayed minimap datum and click overlay.

new_marker

Creates a new minimap marker and displays it on the minimap.

pan_map

Pans the minimap by a specified number of pixels.

reset_scale

Resets the minimap to the defaut offset and zoom.

toggle_visibility

Toggles the visibility of a specified minimap marker.

toggle_visibility_all

Toggles the visibility of all minimap markers.

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/newmeteor/massive.html b/obj/newmeteor/massive.html new file mode 100644 index 0000000000000..7dc219a6512b9 --- /dev/null +++ b/obj/newmeteor/massive.html @@ -0,0 +1 @@ +/obj/newmeteor/massive - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

huge asteroid

HUGE

Vars

solid_rockDo we spawn a solid lump of rock on impact?

Var Details

solid_rock

Do we spawn a solid lump of rock on impact?

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/npc/station_trader.html b/obj/npc/station_trader.html new file mode 100644 index 0000000000000..fd4359aae14a4 --- /dev/null +++ b/obj/npc/station_trader.html @@ -0,0 +1 @@ +/obj/npc/station_trader - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

Shady Robot

Procs

haggleProc for haggling with dealer
spawncrateSpawn the crate or card
updatecardpriceUpdate card price
updatemenuUpdate the menu with the default items

Proc Details

haggle

Proc for haggling with dealer

spawncrate

Spawn the crate or card

updatecardprice

Update card price

updatemenu

Update the menu with the default items

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/npc/trader.html b/obj/npc/trader.html new file mode 100644 index 0000000000000..bf0e74ca98cce --- /dev/null +++ b/obj/npc/trader.html @@ -0,0 +1,3 @@ +/obj/npc/trader - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

Trader

Vars

business_cardA business card or other item type to occasionally include with orders +copy pasted from /datum/trader because we have two separate trader types APPARENTLY

Procs

MouseDrop_Tbatch selling - cogwerks
haggleProc for haggling with dealer
sold_itemspecial handling for selling an item
spawncrateSpawn the crates full of goods
updatemenuUpdate the menu with the default items

Var Details

business_card

A business card or other item type to occasionally include with orders +copy pasted from /datum/trader because we have two separate trader types APPARENTLY

Proc Details

MouseDrop_T

batch selling - cogwerks

haggle

Proc for haggling with dealer

sold_item

special handling for selling an item

spawncrate

Spawn the crates full of goods

updatemenu

Update the menu with the default items

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/overlay/construction_field.html b/obj/overlay/construction_field.html new file mode 100644 index 0000000000000..b479dfa8f2139 --- /dev/null +++ b/obj/overlay/construction_field.html @@ -0,0 +1 @@ +/obj/overlay/construction_field - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

energy

Vars

repair_modeIf in repair mode, build the precise initial turf
to_buildTracks the build type of what each field is building for cost calculation and placement logic

Var Details

repair_mode

If in repair mode, build the precise initial turf

to_build

Tracks the build type of what each field is building for cost calculation and placement logic

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/placeholder.html b/obj/placeholder.html new file mode 100644 index 0000000000000..89743478659e3 --- /dev/null +++ b/obj/placeholder.html @@ -0,0 +1,4 @@ +/obj/placeholder - Goonstation 13
Goonstation 13 - Modules - Types

Placeholder Object

    +
  • Placeholder Spawner
  • +
  • Spawns a designated atom/movable at it's location upon creation
  • +
goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/projectile.html b/obj/projectile.html new file mode 100644 index 0000000000000..99731a4317a07 --- /dev/null +++ b/obj/projectile.html @@ -0,0 +1,13 @@ +/obj/projectile - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

projectile

This file is not good +Fucked up var names lie ahead +Caution, traveler

+

General cleanup todo: +Go through undocumented math and document it +Remove bad vars, fill in gaps then created +Deduplicate info between this and proj_data

Vars

angleAngle of this shot. For reference @see setup()
armor_ignoredDoes this projectile pierce armor?
called_targetTarget for called shots behavior - by default does not affect projectile behaviour
called_target_turfTurf of the called_target during projectile initialization
collide_with_other_projectilesBelow stuff but also this is dumb and only used for frost bats and I don't even know why it's used there. TODO remove
crossingNo clue. Assoc list seems like? Also accessed as a non-assoc list sometimes. fuck. TODO
curr_tNo clue. Related to curr_t. TODO
dataArbitrary projectile data. Currently only used to hold an object that a projectile is seeking for a singular type. TODO remove
facing_dirDefault dir, set to in do_step()
goes_through_mobsWhether this projectile can freely pass through mobs
goes_through_wallsWhether this projectile can freely pass through dense turfs
has_diedFor disabling collision when a projectile has died but hasn't been disposed yet, e.g. under on_end effects
hitlistList of atoms collided with this tick
implantedWhat kind of implant this projectile leaves in impacted mobs
incidenceReflection normal on the current tile (NORTH if projectile came from the north, etc.) +TODO can maybe be replaced with a single dir check when relevant? not 100% sure why we need to track this always. Might be crucial, dunno
initial_powerTODO this var also feels dumb. convert to initial() prolly (on data not on this)
is_processingYeah this sucks. TODO remove. I don't care bring the bug back so we can actually fix it
max_rangeMaximum range this projectile can travel before impacting a (non-dense) turf
mob_shooterMob-typed copy of shooter var to save time on casts later
orig_turfOriginal turf this projectiles was fired from
pierces_leftNumber of impassable atoms this projectile can pierce. Decremented on pierce. Can probably be axed in favor of the component. TODO remove
powerOne of the two below vars needs to be renamed or removed. Fucking confusing +I don't know why this var is here it just stores the result of a proc called on the proj data. TODO revisit
proj_dataProjectile data; almost all specific projectile information and functionality lives here
reflectcountNumber of times this projectile has been reflected off of things. Used to cap reflections
shooterThe mob/thing that fired this projectile
special_dataBullshit var for storing special data for niche cases. Sucks, is probably necessary nonetheless
targetsList of all targets this projectile can go after; useful for homing projectiles and the like
ticks_until_can_hit_mobTracks the number of steps before a piercing projectile is allowed to hit a mob after hitting another one. Scarcely used. TODO remove?
travelledNumber of tiles this projectile has travelled
was_pointblankWhether this projectile was shot point-blank style (clicking an adjacent mob). Adjusts the log entry accordingly
was_setupTODO axe this after testing. Used very infrequently, looks redundant
wxWhat the fuck is this comment your shit jesus christ ????? TODO
xoTODO dunno what these are. guessing 'original x' and 'original y' but all the code involving them is mathy and i don't have the patience rn +Fill in if u know ty

Var Details

angle

Angle of this shot. For reference @see setup()

armor_ignored

Does this projectile pierce armor?

called_target

Target for called shots behavior - by default does not affect projectile behaviour

called_target_turf

Turf of the called_target during projectile initialization

collide_with_other_projectiles

Below stuff but also this is dumb and only used for frost bats and I don't even know why it's used there. TODO remove

crossing

No clue. Assoc list seems like? Also accessed as a non-assoc list sometimes. fuck. TODO

curr_t

No clue. Related to curr_t. TODO

data

Arbitrary projectile data. Currently only used to hold an object that a projectile is seeking for a singular type. TODO remove

facing_dir

Default dir, set to in do_step()

goes_through_mobs

Whether this projectile can freely pass through mobs

goes_through_walls

Whether this projectile can freely pass through dense turfs

has_died

For disabling collision when a projectile has died but hasn't been disposed yet, e.g. under on_end effects

hitlist

List of atoms collided with this tick

implanted

What kind of implant this projectile leaves in impacted mobs

incidence

Reflection normal on the current tile (NORTH if projectile came from the north, etc.) +TODO can maybe be replaced with a single dir check when relevant? not 100% sure why we need to track this always. Might be crucial, dunno

initial_power

TODO this var also feels dumb. convert to initial() prolly (on data not on this)

is_processing

Yeah this sucks. TODO remove. I don't care bring the bug back so we can actually fix it

max_range

Maximum range this projectile can travel before impacting a (non-dense) turf

mob_shooter

Mob-typed copy of shooter var to save time on casts later

orig_turf

Original turf this projectiles was fired from

pierces_left

Number of impassable atoms this projectile can pierce. Decremented on pierce. Can probably be axed in favor of the component. TODO remove

power

One of the two below vars needs to be renamed or removed. Fucking confusing +I don't know why this var is here it just stores the result of a proc called on the proj data. TODO revisit

proj_data

Projectile data; almost all specific projectile information and functionality lives here

reflectcount

Number of times this projectile has been reflected off of things. Used to cap reflections

shooter

The mob/thing that fired this projectile

special_data

Bullshit var for storing special data for niche cases. Sucks, is probably necessary nonetheless

targets

List of all targets this projectile can go after; useful for homing projectiles and the like

ticks_until_can_hit_mob

Tracks the number of steps before a piercing projectile is allowed to hit a mob after hitting another one. Scarcely used. TODO remove?

travelled

Number of tiles this projectile has travelled

was_pointblank

Whether this projectile was shot point-blank style (clicking an adjacent mob). Adjusts the log entry accordingly

was_setup

TODO axe this after testing. Used very infrequently, looks redundant

wx

What the fuck is this comment your shit jesus christ ????? TODO

xo

TODO dunno what these are. guessing 'original x' and 'original y' but all the code involving them is mathy and i don't have the patience rn +Fill in if u know ty

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/racing_clowncar/kart.html b/obj/racing_clowncar/kart.html new file mode 100644 index 0000000000000..751da92fca813 --- /dev/null +++ b/obj/racing_clowncar/kart.html @@ -0,0 +1 @@ +/obj/racing_clowncar/kart - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Go-Kart

Vars

occupant_vis_flagsthe vis_flags to be restored on exiting the vehicle

Var Details

occupant_vis_flags

the vis_flags to be restored on exiting the vehicle

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/rack/organized.html b/obj/rack/organized.html new file mode 100644 index 0000000000000..1d685e2079634 --- /dev/null +++ b/obj/rack/organized.html @@ -0,0 +1 @@ +/obj/rack/organized - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/obj/rack/organized

Map-spawn helper for regularly stacked rack items

Vars

initializedHave we spawned our items yet
items_to_spawnWhat items are we going to spawn
order_overrideForce a specific organization layout
shuffle_chanceProbability of the card order being shuffled

Procs

diagonalLay out items from top left to bottom right
zigzagLay out items in a zig-zag pattern

Var Details

initialized

Have we spawned our items yet

items_to_spawn

What items are we going to spawn

order_override

Force a specific organization layout

shuffle_chance

Probability of the card order being shuffled

Proc Details

diagonal

Lay out items from top left to bottom right

zigzag

Lay out items in a zig-zag pattern

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/shrub.html b/obj/shrub.html new file mode 100644 index 0000000000000..d455c6b2c1ea1 --- /dev/null +++ b/obj/shrub.html @@ -0,0 +1 @@ +/obj/shrub - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

shrub

Vars

bitesHow many bites can cow people take out of it?
current_maskThe mask used to show bite marks
is_plasticIs the bush actually made out of plastic?

Var Details

bites

How many bites can cow people take out of it?

current_mask

The mask used to show bite marks

is_plastic

Is the bush actually made out of plastic?

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/solar_control.html b/obj/solar_control.html new file mode 100644 index 0000000000000..b837b8d8e21ab --- /dev/null +++ b/obj/solar_control.html @@ -0,0 +1 @@ +/obj/solar_control - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

solar panel servo

Solar Panel thingamajig

Procs

extendDebug verbs

Proc Details

extend

Debug verbs

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/statue.html b/obj/statue.html new file mode 100644 index 0000000000000..c53f39c18af3d --- /dev/null +++ b/obj/statue.html @@ -0,0 +1 @@ +/obj/statue - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

/obj/statue

Procs

remove_occupantRemove (read: kill and delete) the mob inside this statue

Proc Details

remove_occupant

Remove (read: kill and delete) the mob inside this statue

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/storage.html b/obj/storage.html new file mode 100644 index 0000000000000..4816edf148bab --- /dev/null +++ b/obj/storage.html @@ -0,0 +1 @@ +/obj/storage - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

storage

Vars

needs_pryingIf the storage needs a crowbar to open it
pried_openIf the storage is pried open, prevents closing
vis_controllerControls items that are 'inside' the crate, even when it's open. These will be dragged around with the crate until removed.

Var Details

needs_prying

If the storage needs a crowbar to open it

pried_open

If the storage is pried open, prevents closing

vis_controller

Controls items that are 'inside' the crate, even when it's open. These will be dragged around with the crate until removed.

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/storage/closet.html b/obj/storage/closet.html new file mode 100644 index 0000000000000..d35cece8e295f --- /dev/null +++ b/obj/storage/closet.html @@ -0,0 +1 @@ +/obj/storage/closet - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

closet

Vars

auto_closeWill this locker auto-close when someone is flung into it

Var Details

auto_close

Will this locker auto-close when someone is flung into it

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/storage/secure/closet.html b/obj/storage/secure/closet.html new file mode 100644 index 0000000000000..2dead0983cfa6 --- /dev/null +++ b/obj/storage/secure/closet.html @@ -0,0 +1 @@ +/obj/storage/secure/closet - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

secure locker

Vars

boltedAnchored if TRUE
reinforcedCan't be broken open with melee

Var Details

bolted

Anchored if TRUE

reinforced

Can't be broken open with melee

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/submachine/ATM.html b/obj/submachine/ATM.html new file mode 100644 index 0000000000000..6e19c3525437a --- /dev/null +++ b/obj/submachine/ATM.html @@ -0,0 +1 @@ +/obj/submachine/ATM - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

ATM

Vars

spacebux_limitLimits how much spacebux can be physically withdrawn from the machine

Var Details

spacebux_limit

Limits how much spacebux can be physically withdrawn from the machine

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/submachine/cargopad.html b/obj/submachine/cargopad.html new file mode 100644 index 0000000000000..c79aebc3638f3 --- /dev/null +++ b/obj/submachine/cargopad.html @@ -0,0 +1 @@ +/obj/submachine/cargopad - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Cargo Pad

Vars

mailgroupThe mailgroup to send notifications to

Var Details

mailgroup

The mailgroup to send notifications to

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/submachine/chem_extractor.html b/obj/submachine/chem_extractor.html new file mode 100644 index 0000000000000..0b83f54df416b --- /dev/null +++ b/obj/submachine/chem_extractor.html @@ -0,0 +1 @@ +/obj/submachine/chem_extractor - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

reagent extractor

Vars

typeinfo_typeReagent Extractor

Var Details

typeinfo_type

Reagent Extractor

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/submachine/laundry_machine.html b/obj/submachine/laundry_machine.html new file mode 100644 index 0000000000000..5315075bdd04b --- /dev/null +++ b/obj/submachine/laundry_machine.html @@ -0,0 +1 @@ +/obj/submachine/laundry_machine - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

laundry machine

Vars

has_brickoh no

Var Details

has_brick

oh no

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/submachine/slot_machine.html b/obj/submachine/slot_machine.html new file mode 100644 index 0000000000000..75306930785e0 --- /dev/null +++ b/obj/submachine/slot_machine.html @@ -0,0 +1 @@ +/obj/submachine/slot_machine - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Slot Machine

Vars

max_rollbreak-even point for slots when this is set to 2500. make lower to make slots pay out better, or higher to give the house an edge

Var Details

max_roll

break-even point for slots when this is set to 2500. make lower to make slots pay out better, or higher to give the house an edge

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/swingsign.html b/obj/swingsign.html new file mode 100644 index 0000000000000..e6ecc89e2217f --- /dev/null +++ b/obj/swingsign.html @@ -0,0 +1 @@ +/obj/swingsign - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

swing sign

Vars

descpreambleText inserted before the actual message
maptext_holderHolder of the swing sign maptext that appears on hover
maxcrashdamageDamage when thrown into a swing sign
maxmessagecolsMax width of the message
maxmessagerowsMax length of the message
messageStored message

Procs

overflowControlTrims the message if it's longer than expected. UI has a similar function so it'll probably never be fully used.

Var Details

descpreamble

Text inserted before the actual message

maptext_holder

Holder of the swing sign maptext that appears on hover

maxcrashdamage

Damage when thrown into a swing sign

maxmessagecols

Max width of the message

maxmessagerows

Max length of the message

message

Stored message

Proc Details

overflowControl

Trims the message if it's longer than expected. UI has a similar function so it'll probably never be fully used.

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/table.html b/obj/table.html new file mode 100644 index 0000000000000..3db785bc4c5b0 --- /dev/null +++ b/obj/table.html @@ -0,0 +1 @@ +/obj/table - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

table

Vars

drawer_contentslist of contents to add to storage
drawer_lockedwhether the storage can be accessed or not
has_drawerhas a drawer storage
lock_idid for key checks, keys with the same id can lock it

Procs

gentle_slamSlam a dude on the table (gently, with great care)
harm_slamSlam a dude on a table (harmfully)

Var Details

drawer_contents

list of contents to add to storage

drawer_locked

whether the storage can be accessed or not

has_drawer

has a drawer storage

lock_id

id for key checks, keys with the same id can lock it

Proc Details

gentle_slam

Slam a dude on the table (gently, with great care)

harm_slam

Slam a dude on a table (harmfully)

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/vehicle.html b/obj/vehicle.html new file mode 100644 index 0000000000000..f9647117b59ac --- /dev/null +++ b/obj/vehicle.html @@ -0,0 +1 @@ +/obj/vehicle - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

vehicle

Vars

ability_buttonsStorage for the ability buttons after initialization
ability_buttons_to_initializeList of types of ability buttons to be initialized
attacks_fast_ejectWhether any attack with an item that has a force value will immediately eject the rider (only works if rider_visible is true)
booster_imageWhat overlay icon do we use for the booster upgrade? (we have to initialize this in New)
booster_upgradeDo we go through space?
can_eject_itemsSee /mob/proc/drop_item() in mob.dm and /atom/movable/proc/throw_at in throwing.dm
delaySpeed, lower is faster, minimum of MINIMUM_EFFECTIVE_DELAY
in_bumpSanity variable to prevent the vehicle from crashing multiple times due to a single collision
riderRider is basically the "driver" of the vehicle
rider_visibleCan we see the driver from outside of the vehicle? (used for overlays)
sealed_cabinDoes the vehicle have air conditioning? (check /datum/lifeprocess/bodytemp in bodytemp.dm for details)

Procs

eject_riderkick out the rider
handle_button_additionadd the ability buttons to the rider
handle_button_removalremove the ability buttons from the rider
setup_ability_buttonsinitializes the ability buttons (if we have any)

Var Details

ability_buttons

Storage for the ability buttons after initialization

ability_buttons_to_initialize

List of types of ability buttons to be initialized

attacks_fast_eject

Whether any attack with an item that has a force value will immediately eject the rider (only works if rider_visible is true)

booster_image

What overlay icon do we use for the booster upgrade? (we have to initialize this in New)

booster_upgrade

Do we go through space?

can_eject_items

See /mob/proc/drop_item() in mob.dm and /atom/movable/proc/throw_at in throwing.dm

delay

Speed, lower is faster, minimum of MINIMUM_EFFECTIVE_DELAY

in_bump

Sanity variable to prevent the vehicle from crashing multiple times due to a single collision

rider

Rider is basically the "driver" of the vehicle

rider_visible

Can we see the driver from outside of the vehicle? (used for overlays)

sealed_cabin

Does the vehicle have air conditioning? (check /datum/lifeprocess/bodytemp in bodytemp.dm for details)

Proc Details

eject_rider

kick out the rider

handle_button_addition

add the ability buttons to the rider

handle_button_removal

remove the ability buttons from the rider

setup_ability_buttons

initializes the ability buttons (if we have any)

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/vehicle/adminbus.html b/obj/vehicle/adminbus.html new file mode 100644 index 0000000000000..fdf5056f2577e --- /dev/null +++ b/obj/vehicle/adminbus.html @@ -0,0 +1 @@ +/obj/vehicle/adminbus - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Admin Bus

Vars

typeinfo_typeAdmin bus

Var Details

typeinfo_type

Admin bus

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/vehicle/clowncar.html b/obj/vehicle/clowncar.html new file mode 100644 index 0000000000000..6cbf9cb57a5f0 --- /dev/null +++ b/obj/vehicle/clowncar.html @@ -0,0 +1 @@ +/obj/vehicle/clowncar - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Clown Car

Vars

typeinfo_typeClown car

Var Details

typeinfo_type

Clown car

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/vehicle/floorbuffer.html b/obj/vehicle/floorbuffer.html new file mode 100644 index 0000000000000..0d41cbe2abd69 --- /dev/null +++ b/obj/vehicle/floorbuffer.html @@ -0,0 +1 @@ +/obj/vehicle/floorbuffer - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Buff-R-Matic 3000

Vars

typeinfo_typeFloor buffer

Var Details

typeinfo_type

Floor buffer

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/vehicle/forklift.html b/obj/vehicle/forklift.html new file mode 100644 index 0000000000000..70c34a3dbf5e6 --- /dev/null +++ b/obj/vehicle/forklift.html @@ -0,0 +1 @@ +/obj/vehicle/forklift - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

forklift

Vars

typeinfo_typeForklift

Var Details

typeinfo_type

Forklift

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/vehicle/segway.html b/obj/vehicle/segway.html new file mode 100644 index 0000000000000..bf3712c927467 --- /dev/null +++ b/obj/vehicle/segway.html @@ -0,0 +1 @@ +/obj/vehicle/segway - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

Space Segway

Vars

initial_weewoo_cyclesNumber of times our lights cycle with each press of the siren button
typeinfo_typeSegway
weewoo_cycles_remainingNumber of light cycles currently left to perform

Var Details

initial_weewoo_cycles

Number of times our lights cycle with each press of the siren button

typeinfo_type

Segway

weewoo_cycles_remaining

Number of light cycles currently left to perform

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/warp_beacon.html b/obj/warp_beacon.html new file mode 100644 index 0000000000000..5ac12477375a2 --- /dev/null +++ b/obj/warp_beacon.html @@ -0,0 +1,2 @@ +/obj/warp_beacon - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

warp beacon

Warp Beacons and Wormholes +Used by spaceships to travel to other Z-planes

Procs

startpackYou will appear adjacent to the beacon

Proc Details

startpack

You will appear adjacent to the beacon

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/warp_portal.html b/obj/warp_portal.html new file mode 100644 index 0000000000000..cc12827f0a653 --- /dev/null +++ b/obj/warp_portal.html @@ -0,0 +1 @@ +/obj/warp_portal - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

particularly buff portal

Vars

bypass_tele_blockallows a portal to warp to restricted Zs and areas

Var Details

bypass_tele_block

allows a portal to warp to restricted Zs and areas

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/window/auto.html b/obj/window/auto.html new file mode 100644 index 0000000000000..6d534902d1d98 --- /dev/null +++ b/obj/window/auto.html @@ -0,0 +1 @@ +/obj/window/auto - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/obj/window/auto

Vars

connects_to_exceptionsGotta be a typecache list

Var Details

connects_to_exceptions

Gotta be a typecache list

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/obj/xmastree.html b/obj/xmastree.html new file mode 100644 index 0000000000000..66a094b45efea --- /dev/null +++ b/obj/xmastree.html @@ -0,0 +1,3 @@ +/obj/xmastree - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

Spacemas tree

Procs

bound_of_wilson_score_confidence_interval_for_a_bernoulli_parameter_of_an_ornamentCalculates the "score" of an ornament based on upvotes and downvotes +which_bound is -1 if you are sorting by best, 1 if you are sorting by worst

Proc Details

bound_of_wilson_score_confidence_interval_for_a_bernoulli_parameter_of_an_ornament

Calculates the "score" of an ornament based on upvotes and downvotes +which_bound is -1 if you are sorting by best, 1 if you are sorting by worst

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/particles.html b/particles.html new file mode 100644 index 0000000000000..ee9e7dd502ff7 --- /dev/null +++ b/particles.html @@ -0,0 +1,3 @@ +/particles - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

/particles

Procs

particleset_deserialize_filePrompts user to select a file to which a particle set was earlier serialized, to load it into the particle set object this proc is attached to.
particleset_serialize_dialogPrompts user to save the properties of the particle set object this proc is attached to into a file to load in the future. +Unless dont_serialize_icon is set, also serializes the icon in the file, otherwise only saves the particle properties.

Proc Details

particleset_deserialize_file

Prompts user to select a file to which a particle set was earlier serialized, to load it into the particle set object this proc is attached to.

particleset_serialize_dialog

Prompts user to save the properties of the particle set object this proc is attached to into a file to load in the future. +Unless dont_serialize_icon is set, also serializes the icon in the file, otherwise only saves the particle properties.

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/plain_data.html b/plain_data.html new file mode 100644 index 0000000000000..3a9d71ce80df7 --- /dev/null +++ b/plain_data.html @@ -0,0 +1,3 @@ +/plain_data - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

/plain_data

Data type for storing just data, without any procs or other fanciness. Meant to be used instead of deeply nested lists for e.g. TGUI ui_data.

+

Subtype this type and declare vars on the subtype. By contract all vars on the subtype must be either plain_data or a list or some primitive type +(number, text, null).

Procs

to_jsonReturns a json string with all the data in this plain_data.
to_listReturns a list with all the data in this plain_data. The list is normalized, i.e. all plain_data values are converted to lists, recursively.

Proc Details

to_json

Returns a json string with all the data in this plain_data.

to_list

Returns a list with all the data in this plain_data. The list is normalized, i.e. all plain_data values are converted to lists, recursively.

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/procpath.html b/procpath.html new file mode 100644 index 0000000000000..a4dcd804c919f --- /dev/null +++ b/procpath.html @@ -0,0 +1,7 @@ +/procpath - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/procpath

Type used to sanely access vars on a proc. +Example:

+
var/procpath/some_proc = /proc/foo
+world.log << some_proc.name
+
+

Do not instantiate this type directly, it's just an interface for procs. +Instead of istype(proc, /procpath), use isproc(proc). (defined in address.dm)

Vars

categorydefined by using set category = "foo" in the proc
descdefined by using set desc = "foo" in the proc
invisibilitydefined by using set invisibility = 1 in the proc
namedefined by using set name = "foo" in the proc

Var Details

category

defined by using set category = "foo" in the proc

desc

defined by using set desc = "foo" in the proc

invisibility

defined by using set invisibility = 1 in the proc

name

defined by using set name = "foo" in the proc

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/turf.html b/turf.html new file mode 100644 index 0000000000000..7ab70df14bebd --- /dev/null +++ b/turf.html @@ -0,0 +1,18 @@ +/turf - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

/turf

Vars

active_hotspotsCurrent fire object on us.
allow_unrestricted_hotboxthis turf is allowing unrestricted hotbox reactions
blocked_dirsdirections of this turf being blocked by directional blocking objects. So we don't need to loop through the entire contents
controlling_gangsan associative list of gangs to gang claims, representing who has a claim to, or other ownership on this tile
messyvalue corresponds to how many cleanables exist on this turf. Exists for the purpose of making fluid spreads do less checks.
pass_unstableSum of all unstable atoms on the turf.
passability_cacheWhether this turf is passable. Used in the pathfinding system.
pressure_differencePressure delta between us and some turf.
pressure_directionThe direction of the pressure delta.
taggedGang wars thing
transfer_evaluationWhether this turf is currently being evaluated for changing hands from the "unconnected zone" area (constructed) to a "real" area
vistargettarget turf for projecting its contents elsewhere
warptargettarget turf for teleporting its contents elsewhere
warptarget_modifiercontrol who gets warped to warptarget

Procs

ReplaceWithInitialReturns a turf to its initial path, if it is a simulated floor or wall. Returns FALSE if requested turf was not one of these initially.
SL_litAn approximation of "is there a simple light shining on this turf", it's slow and bad but that's the price we pay for simple lights
add_hotspotAdds a hotspot to self, deletes the previous of the same type if there was one. Sets processing to true also, since a fire kinda should be processed.
assume_airAssumes air into the turf. Use this instead of directly adding to air.
fluid_reactthis should happen whenever a liquid reagent hits a simulated tile
gas_crossChecks if gas can pass between two turfs. If anything within the turf does not allow passage, the check fails. +Returns: TRUE if gas can pass, FALSE if not.
generate_worldgenGets called after the world is finished loading and the game is basically ready to start
get_disjoint_objects_by_typeRetrieve a list of objects matching the provided type on connection with the given flag.
get_disjoint_turfsRetrieve a list of turfs connected by given flag(s).
hotspot_exposeWe react to the exposed temperature, call /atom/proc/temperature_expose on everything within us, and expose things within fluids to electricity if need be.
is_litA very loose approximation of "is there some light shining on this thing", taking into account all lighting systems and byond internal crap +Performance warning since simple light checks are NOT CHEAP
remove_airReturn a new gas mixture with a specified amount of moles with the composition of our gas vars.
return_airReturn new gas mixture with the gas variables we start with.
update_nearby_tilesTells our neighbors it's time to update.

Var Details

active_hotspots

Current fire object on us.

allow_unrestricted_hotbox

this turf is allowing unrestricted hotbox reactions

blocked_dirs

directions of this turf being blocked by directional blocking objects. So we don't need to loop through the entire contents

controlling_gangs

an associative list of gangs to gang claims, representing who has a claim to, or other ownership on this tile

messy

value corresponds to how many cleanables exist on this turf. Exists for the purpose of making fluid spreads do less checks.

pass_unstable

Sum of all unstable atoms on the turf.

passability_cache

Whether this turf is passable. Used in the pathfinding system.

pressure_difference

Pressure delta between us and some turf.

pressure_direction

The direction of the pressure delta.

tagged

Gang wars thing

transfer_evaluation

Whether this turf is currently being evaluated for changing hands from the "unconnected zone" area (constructed) to a "real" area

vistarget

target turf for projecting its contents elsewhere

warptarget

target turf for teleporting its contents elsewhere

warptarget_modifier

control who gets warped to warptarget

Proc Details

ReplaceWithInitial

Returns a turf to its initial path, if it is a simulated floor or wall. Returns FALSE if requested turf was not one of these initially.

SL_lit

An approximation of "is there a simple light shining on this turf", it's slow and bad but that's the price we pay for simple lights

add_hotspot

Adds a hotspot to self, deletes the previous of the same type if there was one. Sets processing to true also, since a fire kinda should be processed.

assume_air

Assumes air into the turf. Use this instead of directly adding to air.

fluid_react

this should happen whenever a liquid reagent hits a simulated tile

gas_cross

Checks if gas can pass between two turfs. If anything within the turf does not allow passage, the check fails. +Returns: TRUE if gas can pass, FALSE if not.

generate_worldgen

Gets called after the world is finished loading and the game is basically ready to start

get_disjoint_objects_by_type

Retrieve a list of objects matching the provided type on connection with the given flag.

+

NOTE: Only one object per turf will be provided.

+

Arguments:

+
    +
  • flag - Flag to test for on disjoint connections.
  • +
  • target_type - Target type to test for.
  • +
  • limit_key - (Optional) Specific conceptual link to limit search to ("up", "down", etc)
  • +

get_disjoint_turfs

Retrieve a list of turfs connected by given flag(s).

+

NOTE: Only one object per turf will be provided.

+

Arguments:

+
    +
  • flag - Flag to test for on disjoint connections.
  • +
  • limit_key - (Optional) Specific conceptual link to limit search to ("up", "down", etc)
  • +

hotspot_expose

We react to the exposed temperature, call /atom/proc/temperature_expose on everything within us, and expose things within fluids to electricity if need be.

is_lit

A very loose approximation of "is there some light shining on this thing", taking into account all lighting systems and byond internal crap +Performance warning since simple light checks are NOT CHEAP

remove_air

Return a new gas mixture with a specified amount of moles with the composition of our gas vars.

return_air

Return new gas mixture with the gas variables we start with.

update_nearby_tiles

Tells our neighbors it's time to update.

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/turf/simulated.html b/turf/simulated.html new file mode 100644 index 0000000000000..7365d3075b9a6 --- /dev/null +++ b/turf/simulated.html @@ -0,0 +1,21 @@ +/turf/simulated - Goonstation 13
Goonstation 13 - Modules - TypesVar Details - Proc Details

station

Tile that processes things such as air, explosions, and fluids.

Vars

airOur gas mixture
air_check_directionsWhich directions should we consider for air processing.
archived_cycleWhich cycle were our archived variables made.
being_superconductiveAre we currently radiating heat to other tiles?
current_cycleWhat cycle are we on currently.
default_melt_chancedefault melt chance from fire
dist_to_spaceOur distance to the nearest space border.
gas_icon_overlayThe overlay used to show gases on us such as plasma.
group_borderOR of directions in which we border other singletons or groups.
length_space_borderThe length of our border to space.
parentThe air group we belong in. Null if we're a singleton.
processingAre we processing atmospherics?
typeinfo_typeturf/simulated/floor/Entered(atom/movable/A, atom/OL) //this used to run on every simulated turf (yes walls too!) -zewaka
visuals_stateBitfield representing gas graphics on us.

Procs

assume_airMerges all air from giver into turf or air group. Deletes giver.
consider_pressure_difference
consider_pressure_difference_space
consider_superconductivityChecks if we're hot enough to start superconducting heat to other tiles.
find_group
high_pressure_movementsProcess moving movable atoms within us based on the pressure differential.
hotspot_expose
mimic_temperature_solidSimilar to share_temperature_mutual_solid(...) but the model is not modified.
process_cellDoes a fair amount. Shares with neighbors, updates hotspots, update graphics, checks superconductivity, the whole nine yards.
remove_airRemoves some moles from turf or air group.
return_airReturns air mixture of turf or air group, if we have one. If we don't, return /turf/return_air.
share_temperature_mutual_solidShare heat between solid turfs with a conduction_coefficient as a factor for efficiency.
super_conductConducts heat to other tiles through open and closed turfs, also radiates some heat into space.
update_air_propertiesUpdates parent, processing, air checking directions, and space borders.
update_visualsUpdates, or creates, our overlay if /datum/gas_mixture/var/graphic on model is different from [/turf/simulated/var/tmp/visuals_state]. +If model doesn't have a graphic, delete our overlay.
wetifywetType: [-2 = glue, -1 = slime, 0 = dry, 1 = water, 2 = lube, 3 = superlube] +silent: makes the overlay invisible and prevents the sound effect

Var Details

air

Our gas mixture

air_check_directions

Which directions should we consider for air processing.

archived_cycle

Which cycle were our archived variables made.

being_superconductive

Are we currently radiating heat to other tiles?

current_cycle

What cycle are we on currently.

default_melt_chance

default melt chance from fire

dist_to_space

Our distance to the nearest space border.

gas_icon_overlay

The overlay used to show gases on us such as plasma.

group_border

OR of directions in which we border other singletons or groups.

length_space_border

The length of our border to space.

parent

The air group we belong in. Null if we're a singleton.

processing

Are we processing atmospherics?

typeinfo_type

turf/simulated/floor/Entered(atom/movable/A, atom/OL) //this used to run on every simulated turf (yes walls too!) -zewaka

visuals_state

Bitfield representing gas graphics on us.

Proc Details

assume_air

Merges all air from giver into turf or air group. Deletes giver.

consider_pressure_difference

consider_pressure_difference_space

consider_superconductivity

Checks if we're hot enough to start superconducting heat to other tiles.

find_group

    +
  • Basically, join any nearby valid groups.
  • +
  • If more than one, pick one with most members at my borders.
  • +
  • If can not find any but there was an ungrouped at border with me, call for group assembly.
  • +

high_pressure_movements

Process moving movable atoms within us based on the pressure differential.

hotspot_expose

    +
  • Checks if we should light on fire if we do not have a hotspot already. If we should and don't have one, spawns one.
  • +
  • Returns: TRUE if we ignited or already have a hotspot, FALSE if we didn't make one or have one.
  • +

mimic_temperature_solid

Similar to share_temperature_mutual_solid(...) but the model is not modified.

process_cell

Does a fair amount. Shares with neighbors, updates hotspots, update graphics, checks superconductivity, the whole nine yards.

remove_air

Removes some moles from turf or air group.

return_air

Returns air mixture of turf or air group, if we have one. If we don't, return /turf/return_air.

share_temperature_mutual_solid

Share heat between solid turfs with a conduction_coefficient as a factor for efficiency.

super_conduct

Conducts heat to other tiles through open and closed turfs, also radiates some heat into space.

update_air_properties

Updates parent, processing, air checking directions, and space borders.

update_visuals

Updates, or creates, our overlay if /datum/gas_mixture/var/graphic on model is different from [/turf/simulated/var/tmp/visuals_state]. +If model doesn't have a graphic, delete our overlay.

wetify

wetType: [-2 = glue, -1 = slime, 0 = dry, 1 = water, 2 = lube, 3 = superlube] +silent: makes the overlay invisible and prevents the sound effect

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/turf/simulated/floor.html b/turf/simulated/floor.html new file mode 100644 index 0000000000000..40bf65aacbde6 --- /dev/null +++ b/turf/simulated/floor.html @@ -0,0 +1,3 @@ +/turf/simulated/floor - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

floor

Vars

explosion_immuneif this turf is immune to explosion (explosion immune turfs immediately return on ex_act())
hidden_contentsThings that are hidden "in" this turf that are revealed when it is pried up. +Kept in a hidden object on the turf so that get_turf works as normal. Yes this is crime, fight me I have a possum.
reinforcedSet to instantiated material datum ([getMaterial()]) for custom material floors

Var Details

explosion_immune

if this turf is immune to explosion (explosion immune turfs immediately return on ex_act())

hidden_contents

Things that are hidden "in" this turf that are revealed when it is pried up. +Kept in a hidden object on the turf so that get_turf works as normal. Yes this is crime, fight me I have a possum.

reinforced

Set to instantiated material datum ([getMaterial()]) for custom material floors

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/turf/simulated/floor/auto.html b/turf/simulated/floor/auto.html new file mode 100644 index 0000000000000..ec8d1b903f70a --- /dev/null +++ b/turf/simulated/floor/auto.html @@ -0,0 +1 @@ +/turf/simulated/floor/auto - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

auto edging turf

Vars

connect_imageThe image we're using to connect to stuff with
edge_priority_levelturf won't draw edges on turfs with higher or equal priority

Var Details

connect_image

The image we're using to connect to stuff with

edge_priority_level

turf won't draw edges on turfs with higher or equal priority

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/turf/simulated/floor/marslike.html b/turf/simulated/floor/marslike.html new file mode 100644 index 0000000000000..2951260c9fd43 --- /dev/null +++ b/turf/simulated/floor/marslike.html @@ -0,0 +1 @@ +/turf/simulated/floor/marslike - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

imitation martian dirt

Vars

typeinfo_typesome other floors

Var Details

typeinfo_type

some other floors

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/turf/simulated/wall/auto.html b/turf/simulated/wall/auto.html new file mode 100644 index 0000000000000..2ca9a77455d77 --- /dev/null +++ b/turf/simulated/wall/auto.html @@ -0,0 +1 @@ +/turf/simulated/wall/auto - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/turf/simulated/wall/auto

Vars

connect_imageThe image we're using to connect to stuff with
d_stateDeconstruction state

Var Details

connect_image

The image we're using to connect to stuff with

d_state

Deconstruction state

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/turf/unsimulated.html b/turf/unsimulated.html new file mode 100644 index 0000000000000..0c5a9d762a8ed --- /dev/null +++ b/turf/unsimulated.html @@ -0,0 +1 @@ +/turf/unsimulated - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

command

Vars

can_replace_with_stuffIf ReplaceWith() actually does a thing or not.

Var Details

can_replace_with_stuff

If ReplaceWith() actually does a thing or not.

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/turf/unsimulated/floor/auto.html b/turf/unsimulated/floor/auto.html new file mode 100644 index 0000000000000..9cacbf79ec573 --- /dev/null +++ b/turf/unsimulated/floor/auto.html @@ -0,0 +1 @@ +/turf/unsimulated/floor/auto - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

auto edging turf

Vars

connect_imageThe image we're using to connect to stuff with
edge_priority_levelturf won't draw edges on turfs with higher or equal priority

Var Details

connect_image

The image we're using to connect to stuff with

edge_priority_level

turf won't draw edges on turfs with higher or equal priority

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/turf/unsimulated/wall/auto.html b/turf/unsimulated/wall/auto.html new file mode 100644 index 0000000000000..624f54b246304 --- /dev/null +++ b/turf/unsimulated/wall/auto.html @@ -0,0 +1 @@ +/turf/unsimulated/wall/auto - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/turf/unsimulated/wall/auto

Vars

d_statedeconstruct state

Var Details

d_state

deconstruct state

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/typeinfo/atom.html b/typeinfo/atom.html new file mode 100644 index 0000000000000..63db27db841c1 --- /dev/null +++ b/typeinfo/atom.html @@ -0,0 +1 @@ +/typeinfo/atom - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/typeinfo/atom

Vars

admin_procsA list of procs that should appear on the admin interact menu (must support being called without arguments)
mat_appearances_to_ignoreA list of material IDs that should be ignored when applying appearance
random_subtypesUsed to provide a list of subtypes that will be returned by get_random_subtype

Var Details

admin_procs

A list of procs that should appear on the admin interact menu (must support being called without arguments)

mat_appearances_to_ignore

A list of material IDs that should be ignored when applying appearance

random_subtypes

Used to provide a list of subtypes that will be returned by get_random_subtype

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/typeinfo/atom/movable.html b/typeinfo/atom/movable.html new file mode 100644 index 0000000000000..5723ea5445eac --- /dev/null +++ b/typeinfo/atom/movable.html @@ -0,0 +1,3 @@ +/typeinfo/atom/movable - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/typeinfo/atom/movable

Vars

matsA key-value list of match property or material IDs and an amount required to construct the item +See /datum/manufacturing_requirement/match_property for match properties

Var Details

mats

A key-value list of match property or material IDs and an amount required to construct the item +See /datum/manufacturing_requirement/match_property for match properties

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/typeinfo/datum/customization_style.html b/typeinfo/datum/customization_style.html new file mode 100644 index 0000000000000..90b5abde0d7f1 --- /dev/null +++ b/typeinfo/datum/customization_style.html @@ -0,0 +1 @@ +/typeinfo/datum/customization_style - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/typeinfo/datum/customization_style

Vars

gimmickIs this a gimmick hairstyle? (available to genetics/barbers, not to char setup)
special_criteriaDoes this hair have some special unlock condition? (medal, rank, etc.)

Var Details

gimmick

Is this a gimmick hairstyle? (available to genetics/barbers, not to char setup)

special_criteria

Does this hair have some special unlock condition? (medal, rank, etc.)

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/typeinfo/datum/mutantrace.html b/typeinfo/datum/mutantrace.html new file mode 100644 index 0000000000000..b6d6b9574198e --- /dev/null +++ b/typeinfo/datum/mutantrace.html @@ -0,0 +1,3 @@ +/typeinfo/datum/mutantrace - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/typeinfo/datum/mutantrace

Vars

clothing_icon_stateslist of the icon states for each icon file, put here because for some ungodly reason icon_states() can take 200ms randomly
clothing_iconsicon definitions for mutantrace clothing variants. one icon file per slot.
iconThis is used for static icons if the mutant isn't built from pieces +For chunked mutantraces this must still point to a valid full-body image to generate a staticky sprite for ghostdrones.
icon_statesThe icon states of the above icon, cached because byond is bad

Var Details

clothing_icon_states

list of the icon states for each icon file, put here because for some ungodly reason icon_states() can take 200ms randomly

clothing_icons

icon definitions for mutantrace clothing variants. one icon file per slot.

icon

This is used for static icons if the mutant isn't built from pieces +For chunked mutantraces this must still point to a valid full-body image to generate a staticky sprite for ghostdrones.

icon_states

The icon states of the above icon, cached because byond is bad

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/typeinfo/obj/item/clothing/suit/hazard.html b/typeinfo/obj/item/clothing/suit/hazard.html new file mode 100644 index 0000000000000..19b5b72cf100b --- /dev/null +++ b/typeinfo/obj/item/clothing/suit/hazard.html @@ -0,0 +1 @@ +/typeinfo/obj/item/clothing/suit/hazard - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/typeinfo/obj/item/clothing/suit/hazard

Vars

pre_armoredDoes this always start armored?

Var Details

pre_armored

Does this always start armored?

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/typeinfo/obj/table.html b/typeinfo/obj/table.html new file mode 100644 index 0000000000000..2664aeb6d5627 --- /dev/null +++ b/typeinfo/obj/table.html @@ -0,0 +1 @@ +/typeinfo/obj/table - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/typeinfo/obj/table

Vars

smooth_listDetermines what types this table will smooth with

Var Details

smooth_list

Determines what types this table will smooth with

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/typeinfo/turf/simulated/floor/auto.html b/typeinfo/turf/simulated/floor/auto.html new file mode 100644 index 0000000000000..d43b60ea77fa1 --- /dev/null +++ b/typeinfo/turf/simulated/floor/auto.html @@ -0,0 +1,3 @@ +/typeinfo/turf/simulated/floor/auto - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/typeinfo/turf/simulated/floor/auto

Vars

connect_diagonal0 = no diagonal sprites, 1 = diagonal only if both adjacent cardinals are present, 2 = always allow diagonals
connect_overlaydo we have wall connection overlays, ex nornwalls?
connects_toList of types this autowall connects to
connects_to_exceptionsBecause connections now work by parent type searches, this is for when you don't want certain subtypes to connect. +This must be a typecache ([/proc/typecachesof]) list

Var Details

connect_diagonal

0 = no diagonal sprites, 1 = diagonal only if both adjacent cardinals are present, 2 = always allow diagonals

connect_overlay

do we have wall connection overlays, ex nornwalls?

connects_to

List of types this autowall connects to

connects_to_exceptions

Because connections now work by parent type searches, this is for when you don't want certain subtypes to connect. +This must be a typecache ([/proc/typecachesof]) list

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/typeinfo/turf/simulated/wall/auto.html b/typeinfo/turf/simulated/wall/auto.html new file mode 100644 index 0000000000000..ec94a449591ca --- /dev/null +++ b/typeinfo/turf/simulated/wall/auto.html @@ -0,0 +1,3 @@ +/typeinfo/turf/simulated/wall/auto - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/typeinfo/turf/simulated/wall/auto

Vars

connect_diagonal0 = no diagonal sprites, 1 = diagonal only if both adjacent cardinals are present, 2 = always allow diagonals
connect_overlaydo we have wall connection overlays, ex nornwalls?
connects_toList of types this autowall connects to
connects_to_exceptionsBecause connections now work by parent type searches, this is for when you don't want certain subtypes to connect. +This must be a typecache ([/proc/typecachesof]) list

Var Details

connect_diagonal

0 = no diagonal sprites, 1 = diagonal only if both adjacent cardinals are present, 2 = always allow diagonals

connect_overlay

do we have wall connection overlays, ex nornwalls?

connects_to

List of types this autowall connects to

connects_to_exceptions

Because connections now work by parent type searches, this is for when you don't want certain subtypes to connect. +This must be a typecache ([/proc/typecachesof]) list

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/typeinfo/turf/unsimulated/floor/auto.html b/typeinfo/turf/unsimulated/floor/auto.html new file mode 100644 index 0000000000000..9a5e7626da835 --- /dev/null +++ b/typeinfo/turf/unsimulated/floor/auto.html @@ -0,0 +1 @@ +/typeinfo/turf/unsimulated/floor/auto - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/typeinfo/turf/unsimulated/floor/auto

Vars

connect_diagonal0 = no diagonal sprites, 1 = diagonal only if both adjacent cardinals are present, 2 = always allow diagonals
connect_overlaydo we have wall connection overlays, ex nornwalls?
connects_to_exceptionsmust be typecache list

Var Details

connect_diagonal

0 = no diagonal sprites, 1 = diagonal only if both adjacent cardinals are present, 2 = always allow diagonals

connect_overlay

do we have wall connection overlays, ex nornwalls?

connects_to_exceptions

must be typecache list

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/typeinfo/turf/unsimulated/wall/auto.html b/typeinfo/turf/unsimulated/wall/auto.html new file mode 100644 index 0000000000000..3ff9e32e00bca --- /dev/null +++ b/typeinfo/turf/unsimulated/wall/auto.html @@ -0,0 +1 @@ +/typeinfo/turf/unsimulated/wall/auto - Goonstation 13
Goonstation 13 - Modules - TypesVar Details

/typeinfo/turf/unsimulated/wall/auto

Vars

connect_diagonal0 = no diagonal sprites, 1 = diagonal only if both adjacent cardinals are present, 2 = always allow diagonals
connect_overlaydo we have wall connection overlays, ex nornwalls?
connects_to_exceptionsmust be typecache list

Var Details

connect_diagonal

0 = no diagonal sprites, 1 = diagonal only if both adjacent cardinals are present, 2 = always allow diagonals

connect_overlay

do we have wall connection overlays, ex nornwalls?

connects_to_exceptions

must be typecache list

goonstation.dme 5f8628d270a0f2fd3e82536d325bb72bf9805beb — dmdoc 1.9.0
\ No newline at end of file diff --git a/world.html b/world.html new file mode 100644 index 0000000000000..ae3225d7da13b --- /dev/null +++ b/world.html @@ -0,0 +1,15 @@ +/world - Goonstation 13
Goonstation 13 - Modules - TypesProc Details

World

If you think this Universe is bad, you should see some of the others. ~ Philip K. Dick

+

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

DelEXPERIMENTAL STUFF
GenesisTHIS !!!SINGLE!!! PROC IS WHERE ANY FORM OF INIITIALIZATION THAT CAN'T BE PERFORMED IN CONTROLLERS, WORLD/NEW, OR preMapLoad IS DONE +NOWHERE THE FUCK ELSE +I DON'T CARE HOW MANY LAYERS OF DEBUG/PROFILE/TRACE WE HAVE, YOU JUST HAVE TO DEAL WITH THIS PROC EXISTING +YOU WILL BE SENT TO THE CRUSHER IF YOU TOUCH THIS UNNECESSAIRLY
Topicworld Topic. This is where external shit comes into byond and does shit.
_THIS IS THE VERY FIRST LINE OF DM CODE TO EXECUTE +THIS IS TECHNICALLY UB BEHAIVOR BUT IT'S USEFUL

Proc Details

Del

EXPERIMENTAL STUFF

Genesis

THIS !!!SINGLE!!! PROC IS WHERE ANY FORM OF INIITIALIZATION THAT CAN'T BE PERFORMED IN CONTROLLERS, WORLD/NEW, OR preMapLoad IS DONE +NOWHERE THE FUCK ELSE +I DON'T CARE HOW MANY LAYERS OF DEBUG/PROFILE/TRACE WE HAVE, YOU JUST HAVE TO DEAL WITH THIS PROC EXISTING +YOU WILL BE SENT TO THE CRUSHER IF YOU TOUCH THIS UNNECESSAIRLY

Topic

world Topic. This is where external shit comes into byond and does shit.

_

THIS IS THE VERY FIRST LINE OF DM CODE TO EXECUTE +THIS IS TECHNICALLY UB BEHAIVOR BUT IT'S USEFUL

+

!! PLEASE READ THE OTHER INITIALIZATION FILES INSTEAD OF THIS ONE !!

+

This is a nameless, no-op function, because it does absolutely nothing. +It exists to hold a static var which is initialized to null. +It's on /world to hide it from reflection.

\ No newline at end of file