From c30f2b9c4957255a5398d465f56248442bd97d24 Mon Sep 17 00:00:00 2001 From: Kashargul <144968721+Kashargul@users.noreply.github.com> Date: Fri, 28 Mar 2025 21:25:08 +0100 Subject: [PATCH] next grep, no spaces (#17437) * next grep, no spaces * next few files * fix that * fix that --- code/__defines/dcs/signals.dm | 2 +- code/__defines/machinery.dm | 2 +- code/__defines/overmap.dm | 2 +- code/__defines/vore_prefs.dm | 2 +- code/_helpers/global_lists.dm | 24 +- code/_helpers/verbs.dm | 28 +- code/_onclick/hud/alert.dm | 17 +- code/datums/chat_message.dm | 86 +++--- code/datums/components/_component.dm | 4 +- code/datums/wires/wires.dm | 2 +- code/game/area/Space Station 13 areas.dm | 38 +-- code/game/dna/dna_modifier.dm | 38 +-- code/game/gamemodes/endgame/endgame.dm | 34 +-- .../endgame/supermatter_cascade/universe.dm | 19 +- code/game/machinery/computer/cloning.dm | 24 +- code/game/machinery/computer/medical.dm | 28 +- code/game/machinery/computer/robot.dm | 62 ++--- code/game/machinery/computer/security.dm | 28 +- code/game/machinery/computer/skills.dm | 28 +- code/game/machinery/doors/blast_door.dm | 4 +- code/game/machinery/newscaster.dm | 12 +- code/game/machinery/telecomms/broadcaster.dm | 16 +- code/game/mecha/mech_fabricator.dm | 164 ++++++------ code/game/mecha/mecha.dm | 4 +- code/game/mecha/mecha_construction_paths.dm | 4 +- code/game/mecha/mecha_parts.dm | 2 +- code/game/objects/effects/zone_divider.dm | 6 +- code/game/objects/items/devices/gps.dm | 4 +- code/game/objects/items/devices/uplink.dm | 20 +- code/game/objects/items/toys/mech_toys.dm | 116 ++++----- code/game/objects/items/toys/toys.dm | 2 +- .../objects/items/weapons/storage/belt.dm | 54 ++-- .../objects/items/weapons/storage/bible.dm | 10 +- code/game/objects/structures/props/prop.dm | 2 +- code/game/response_team.dm | 2 +- code/game/sound.dm | 2 +- code/game/turfs/simulated/fancy_shuttles.dm | 2 +- code/modules/admin/view_variables/helpers.dm | 2 +- code/modules/client/client defines.dm | 8 +- code/modules/clothing/glasses/glasses.dm | 2 +- code/modules/compass/_compass.dm | 10 +- .../emotes/definitions/audible_furry_vr.dm | 6 +- code/modules/library/lib_readme.dm | 28 +- .../equipment_vendor.dm | 12 +- code/modules/mob/freelook/read_me.dm | 102 ++++---- code/modules/mob/language/generic.dm | 118 ++++----- code/modules/mob/language/station.dm | 166 ++++++------ .../mob/living/carbon/alien/diona/life.dm | 4 +- .../carbon/human/human_modular_limbs.dm | 14 +- .../species/station/protean/protean_rig.dm | 6 +- .../living/silicon/robot/robot_movement.dm | 2 +- .../subtypes/vore/zz_vore_overrides.dm | 32 +-- code/modules/mob/mob.dm | 2 +- code/modules/nano/nanoexternal.dm | 40 +-- code/modules/persistence/serialize.dm | 4 +- code/modules/power/cable.dm | 16 +- .../power/singularity/field_generator.dm | 20 +- .../particle_accelerator.dm | 10 +- code/modules/random_map/noise/noise.dm | 20 +- .../modules/reagents/machinery/chem_master.dm | 12 +- code/modules/resleeving/computers.dm | 12 +- code/modules/rogueminer_vr/wrappers.dm | 30 +-- code/modules/tgui/modal.dm | 244 +++++++++--------- code/modules/tgui/states/admin.dm | 8 +- code/modules/tgui/states/always.dm | 8 +- code/modules/tgui/states/conscious.dm | 8 +- code/modules/tgui/states/contained.dm | 8 +- code/modules/tgui/states/deep_inventory.dm | 8 +- code/modules/tgui/states/default.dm | 8 +- code/modules/tgui/states/hands.dm | 8 +- code/modules/tgui/states/human_adjacent.dm | 10 +- code/modules/tgui/states/inventory.dm | 8 +- code/modules/tgui/states/mentor.dm | 8 +- code/modules/tgui/states/not_incapacitated.dm | 16 +- code/modules/tgui/states/notcontained.dm | 8 +- code/modules/tgui/states/observer.dm | 8 +- code/modules/tgui/states/physical.dm | 18 +- code/modules/tgui/states/self.dm | 8 +- code/modules/tgui/states/vorepanel_vr.dm | 8 +- code/modules/tgui/states/zlevel.dm | 8 +- code/modules/vore/eating/vore_vr.dm | 37 +-- code/modules/vore/eating/vorepanel_vr.dm | 86 +++--- .../modules/xenoarcheaology/tools/tools_vr.dm | 4 +- tools/ci/validate_files.sh | 7 + 84 files changed, 1058 insertions(+), 1048 deletions(-) diff --git a/code/__defines/dcs/signals.dm b/code/__defines/dcs/signals.dm index 2aa9f41c5ff..6bdf7e73e5f 100644 --- a/code/__defines/dcs/signals.dm +++ b/code/__defines/dcs/signals.dm @@ -141,7 +141,7 @@ #define COMPONENT_BLOCK_CONTAMINATION (1<<0) ///from base of datum/radiation_wave/check_obstructions(): (datum/radiation_wave, width) #define COMSIG_ATOM_RAD_WAVE_PASSING "atom_rad_wave_pass" - #define COMPONENT_RAD_WAVE_HANDLED (1<<0) + #define COMPONENT_RAD_WAVE_HANDLED (1<<0) ///from internal loop in atom/movable/proc/CanReach(): (list/next) #define COMSIG_ATOM_CANREACH "atom_can_reach" #define COMPONENT_BLOCK_REACH (1<<0) diff --git a/code/__defines/machinery.dm b/code/__defines/machinery.dm index f8f506ef28f..cca73b22099 100644 --- a/code/__defines/machinery.dm +++ b/code/__defines/machinery.dm @@ -1,7 +1,7 @@ var/global/defer_powernet_rebuild = 0 // True if net rebuild will be called manually after an event. #define CELLRATE 0.002 // Multiplier for watts per tick <> cell storage (e.g., 0.02 means if there is a load of 1000 watts, 20 units will be taken from a cell per second) - // It's a conversion constant. power_used*CELLRATE = charge_provided, or charge_used/CELLRATE = power_provided + // It's a conversion constant. power_used*CELLRATE = charge_provided, or charge_used/CELLRATE = power_provided #define SMESRATE 0.03333 // Same for SMESes. A different number for some reason. #define KILOWATTS *1000 diff --git a/code/__defines/overmap.dm b/code/__defines/overmap.dm index 503675b44e6..21c7e13760a 100644 --- a/code/__defines/overmap.dm +++ b/code/__defines/overmap.dm @@ -1,4 +1,4 @@ - //How far from the edge of overmap zlevel could randomly placed objects spawn +//How far from the edge of overmap zlevel could randomly placed objects spawn #define OVERMAP_EDGE 2 #define SHIP_SIZE_TINY 1 diff --git a/code/__defines/vore_prefs.dm b/code/__defines/vore_prefs.dm index 9a016bb0067..8e1e1340b50 100644 --- a/code/__defines/vore_prefs.dm +++ b/code/__defines/vore_prefs.dm @@ -1,4 +1,4 @@ -#define VORE_PREF_TRANSFER(target, source) \ +#define VORE_PREF_TRANSFER(target, source) \ target.digestable = source.digestable; \ target.devourable = source.devourable; \ target.feeding = source.feeding; \ diff --git a/code/_helpers/global_lists.dm b/code/_helpers/global_lists.dm index 020872ed82e..5835ec5d7d2 100644 --- a/code/_helpers/global_lists.dm +++ b/code/_helpers/global_lists.dm @@ -23,19 +23,19 @@ var/global/list/joblist = list() //list of all jobstypes, minus borg and AI #define all_genders_define_list list(MALE,FEMALE,PLURAL,NEUTER,HERM) //VOREStaton Edit #define all_genders_text_list list("Male","Female","Plural","Neuter","Herm") //VOREStation Edit #define pronoun_set_to_genders list(\ - "He/Him" = MALE,\ - "She/Her" = FEMALE,\ - "It/Its" = NEUTER,\ - "They/Them" = PLURAL,\ - "Shi/Hir" = HERM\ - ) + "He/Him" = MALE,\ + "She/Her" = FEMALE,\ + "It/Its" = NEUTER,\ + "They/Them" = PLURAL,\ + "Shi/Hir" = HERM\ + ) #define genders_to_pronoun_set list(\ - MALE = "He/Him",\ - FEMALE = "She/Her",\ - NEUTER = "It/Its",\ - PLURAL = "They/Them",\ - HERM = "Shi/Hir"\ - ) + MALE = "He/Him",\ + FEMALE = "She/Her",\ + NEUTER = "It/Its",\ + PLURAL = "They/Them",\ + HERM = "Shi/Hir"\ + ) var/list/mannequins_ diff --git a/code/_helpers/verbs.dm b/code/_helpers/verbs.dm index 8a35bb9c6cf..4c86e43e0c4 100644 --- a/code/_helpers/verbs.dm +++ b/code/_helpers/verbs.dm @@ -1,11 +1,11 @@ /** - * handles adding verbs and updating the stat panel browser - * - * pass the verb type path to this instead of adding it directly to verbs so the statpanel can update - * Arguments: - * * target - Who the verb is being added to, client or mob typepath - * * verb - typepath to a verb, or a list of verbs, supports lists of lists - */ + * handles adding verbs and updating the stat panel browser + * + * pass the verb type path to this instead of adding it directly to verbs so the statpanel can update + * Arguments: + * * target - Who the verb is being added to, client or mob typepath + * * verb - typepath to a verb, or a list of verbs, supports lists of lists + */ /proc/add_verb(client/target, verb_or_list_to_add) if(!target) CRASH("add_verb called without a target") @@ -47,13 +47,13 @@ target.stat_panel.send_message("add_verb_list", output_list) /** - * handles removing verb and sending it to browser to update, use this for removing verbs - * - * pass the verb type path to this instead of removing it from verbs so the statpanel can update - * Arguments: - * * target - Who the verb is being removed from, client or mob typepath - * * verb - typepath to a verb, or a list of verbs, supports lists of lists - */ + * handles removing verb and sending it to browser to update, use this for removing verbs + * + * pass the verb type path to this instead of removing it from verbs so the statpanel can update + * Arguments: + * * target - Who the verb is being removed from, client or mob typepath + * * verb - typepath to a verb, or a list of verbs, supports lists of lists + */ /proc/remove_verb(client/target, verb_or_list_to_remove) if(IsAdminAdvancedProcCall()) return diff --git a/code/_onclick/hud/alert.dm b/code/_onclick/hud/alert.dm index 49425714ba2..ca57838190b 100644 --- a/code/_onclick/hud/alert.dm +++ b/code/_onclick/hud/alert.dm @@ -1,17 +1,18 @@ //A system to manage and display alerts on screen without needing you to do it yourself -//PUBLIC - call these wherever you want +//PUBLIC - call these wherever you want /mob/proc/throw_alert(category, type, severity, obj/new_master) -/* Proc to create or update an alert. Returns the alert if the alert is new or updated, 0 if it was thrown already - category is a text string. Each mob may only have one alert per category; the previous one will be replaced - path is a type path of the actual alert type to throw - severity is an optional number that will be placed at the end of the icon_state for this alert - For example, high pressure's icon_state is "highpressure" and can be serverity 1 or 2 to get "highpressure1" or "highpressure2" - new_master is optional and sets the alert's icon state to "template" in the ui_style icons with the master as an overlay. - Clicks are forwarded to master */ +/** Proc to create or update an alert. Returns the alert if the alert is new or updated, 0 if it was thrown already + * category is a text string. Each mob may only have one alert per category; the previous one will be replaced + * path is a type path of the actual alert type to throw + * severity is an optional number that will be placed at the end of the icon_state for this alert + * For example, high pressure's icon_state is "highpressure" and can be serverity 1 or 2 to get "highpressure1" or "highpressure2" + * new_master is optional and sets the alert's icon state to "template" in the ui_style icons with the master as an overlay. + * Clicks are forwarded to master + */ if(!category) return diff --git a/code/datums/chat_message.dm b/code/datums/chat_message.dm index 4df23e6c0c3..bbf9a35a72b 100644 --- a/code/datums/chat_message.dm +++ b/code/datums/chat_message.dm @@ -19,11 +19,11 @@ #define CHAT_RUNE_RADIO 0x2 /** - * # Chat Message Overlay - * - * Datum for generating a message overlay on the map - * Ported from TGStation; https://github.com/tgstation/tgstation/pull/50608/, author: bobbahbrown - */ + * # Chat Message Overlay + * + * Datum for generating a message overlay on the map + * Ported from TGStation; https://github.com/tgstation/tgstation/pull/50608/, author: bobbahbrown + */ // Cached runechat icon var/list/runechat_image_cache = list() @@ -60,15 +60,15 @@ var/list/runechat_image_cache = list() /** - * Constructs a chat message overlay - * - * Arguments: - * * text - The text content of the overlay - * * target - The target atom to display the overlay at - * * owner - The mob that owns this overlay, only this mob will be able to view it - * * extra_classes - Extra classes to apply to the span that holds the text - * * lifespan - The lifespan of the message in deciseconds - */ + * Constructs a chat message overlay + * + * Arguments: + * * text - The text content of the overlay + * * target - The target atom to display the overlay at + * * owner - The mob that owns this overlay, only this mob will be able to view it + * * extra_classes - Extra classes to apply to the span that holds the text + * * lifespan - The lifespan of the message in deciseconds + */ /datum/chatmessage/New(text, atom/target, mob/owner, list/extra_classes = null, lifespan = CHAT_MESSAGE_LIFESPAN) . = ..() if(!istype(target)) @@ -96,15 +96,15 @@ var/list/runechat_image_cache = list() return ..() /** - * Generates a chat message image representation - * - * Arguments: - * * text - The text content of the overlay - * * target - The target atom to display the overlay at - * * owner - The mob that owns this overlay, only this mob will be able to view it - * * extra_classes - Extra classes to apply to the span that holds the text - * * lifespan - The lifespan of the message in deciseconds - */ + * Generates a chat message image representation + * + * Arguments: + * * text - The text content of the overlay + * * target - The target atom to display the overlay at + * * owner - The mob that owns this overlay, only this mob will be able to view it + * * extra_classes - Extra classes to apply to the span that holds the text + * * lifespan - The lifespan of the message in deciseconds + */ /datum/chatmessage/proc/generate_image(text, atom/target, mob/owner, list/extra_classes, lifespan) if(!target || !owner) @@ -306,8 +306,8 @@ var/list/runechat_image_cache = list() return (1 - ((time_spent - time_before_fade) / CHAT_MESSAGE_EOL_FADE)) * 255 /** - * Applies final animations to overlay CHAT_MESSAGE_EOL_FADE deciseconds prior to message deletion - */ + * Applies final animations to overlay CHAT_MESSAGE_EOL_FADE deciseconds prior to message deletion + */ /datum/chatmessage/proc/end_of_life(fadetime = CHAT_MESSAGE_EOL_FADE) if(gc_destroyed || ending_life) return @@ -316,14 +316,14 @@ var/list/runechat_image_cache = list() addtimer(CALLBACK(GLOBAL_PROC, GLOBAL_PROC_REF(qdel), src), fadetime, TIMER_DELETE_ME) /** - * Creates a message overlay at a defined location for a given speaker - * - * Arguments: - * * speaker - The atom who is saying this message - * * message - The text content of the message - * * italics - Decides if this should be small or not, as generally italics text are for whisper/radio overhear - * * existing_extra_classes - Additional classes to add to the message - */ + * Creates a message overlay at a defined location for a given speaker + * + * Arguments: + * * speaker - The atom who is saying this message + * * message - The text content of the message + * * italics - Decides if this should be small or not, as generally italics text are for whisper/radio overhear + * * existing_extra_classes - Additional classes to add to the message + */ /mob/proc/create_chat_message(atom/movable/speaker, message, italics, list/existing_extra_classes, audible = TRUE) if(!client) return @@ -350,7 +350,7 @@ var/list/runechat_image_cache = list() message = strip_html_properly(message) if(!message) return - */ + */ var/list/extra_classes = list() extra_classes += existing_extra_classes @@ -378,15 +378,15 @@ var/list/runechat_image_cache = list() #define CM_COLOR_LUM_MAX 0.90 /** - * Gets a color for a name, will return the same color for a given string consistently within a round.atom - * - * Note that this proc aims to produce pastel-ish colors using the HSL colorspace. These seem to be favorable for displaying on the map. - * - * Arguments: - * * name - The name to generate a color for - * * sat_shift - A value between 0 and 1 that will be multiplied against the saturation - * * lum_shift - A value between 0 and 1 that will be multiplied against the luminescence - */ + * Gets a color for a name, will return the same color for a given string consistently within a round.atom + * + * Note that this proc aims to produce pastel-ish colors using the HSL colorspace. These seem to be favorable for displaying on the map. + * + * Arguments: + * * name - The name to generate a color for + * * sat_shift - A value between 0 and 1 that will be multiplied against the saturation + * * lum_shift - A value between 0 and 1 that will be multiplied against the luminescence + */ /datum/chatmessage/proc/colorize_string(name, sat_shift = 1, lum_shift = 1) // seed to help randomness var/static/rseed = rand(1,26) diff --git a/code/datums/components/_component.dm b/code/datums/components/_component.dm index d5caf60cf36..0e134ae6063 100644 --- a/code/datums/components/_component.dm +++ b/code/datums/components/_component.dm @@ -431,9 +431,9 @@ if(!.) return _AddComponent(arguments) /** - * Removes the component from parent, ends up with a null parent + * Removes the component from parent, ends up with a null parent * Used as a helper proc by the component transfer proc, does not clean up the component like Destroy does - */ + */ /datum/component/proc/RemoveComponent() if(!parent) return diff --git a/code/datums/wires/wires.dm b/code/datums/wires/wires.dm index ecf6c8e2328..6a2153226c9 100644 --- a/code/datums/wires/wires.dm +++ b/code/datums/wires/wires.dm @@ -221,7 +221,7 @@ * * user - the mob who is interacting with the wires. */ /datum/wires/proc/can_see_wire_info(mob/user) - // TODO: Reimplement this if we ever get Advanced Admin Interaction. + // TODO: Reimplement this if we ever get Advanced Admin Interaction. // if(user.can_admin_interact()) // return TRUE var/obj/item/I = user.get_active_hand() diff --git a/code/game/area/Space Station 13 areas.dm b/code/game/area/Space Station 13 areas.dm index d3c09856c84..62d87f4223d 100755 --- a/code/game/area/Space Station 13 areas.dm +++ b/code/game/area/Space Station 13 areas.dm @@ -2,11 +2,11 @@ ### This file contains a list of all the areas in your station. Format is as follows: -/area/CATEGORY/OR/DESCRIPTOR/NAME (you can make as many subdivisions as you want) - name = "NICE NAME" (not required but makes things really nice) - icon = "ICON FILENAME" (defaults to areas.dmi) - icon_state = "NAME OF ICON" (defaults to "unknown" (blank)) - requires_power = 0 (defaults to 1) +/area/CATEGORY/OR/DESCRIPTOR/NAME (you can make as many subdivisions as you want) + name = "NICE NAME" (not required but makes things really nice) + icon = "ICON FILENAME" (defaults to areas.dmi) + icon_state = "NAME OF ICON" (defaults to "unknown" (blank)) + requires_power = 0 (defaults to 1) music = "music/music.ogg" (defaults to "music/music.ogg") NOTE: there are two lists of areas in the end of this file: centcom and station itself. Please maintain these lists valid. --rastaf0 @@ -1263,26 +1263,26 @@ NOTE: there are two lists of areas in the end of this file: centcom and station sound_env = LARGE_SOFTFLOOR /area/crew_quarters/visitor_lodging - name = "\improper Visitor Lodging" - icon_state = "visitor_lodging" + name = "\improper Visitor Lodging" + icon_state = "visitor_lodging" /area/crew_quarters/visitor_dining - name = "\improper Visitor Dining" - icon_state = "visitor_dinning" + name = "\improper Visitor Dining" + icon_state = "visitor_dinning" /area/crew_quarters/visitor_laundry - name = "\improper Visitor Laundry" - icon_state = "visitor_laundry" + name = "\improper Visitor Laundry" + icon_state = "visitor_laundry" /area/library - name = "\improper Library" - icon_state = "library" - sound_env = LARGE_SOFTFLOOR - lightswitch = 0 // VOREStation Edit - We like dark libraries + name = "\improper Library" + icon_state = "library" + sound_env = LARGE_SOFTFLOOR + lightswitch = 0 // VOREStation Edit - We like dark libraries /area/library_conference_room - name = "\improper Library Conference Room" - icon_state = "library_conference_room" + name = "\improper Library Conference Room" + icon_state = "library_conference_room" /area/chapel ambience = AMBIENCE_CHAPEL @@ -2585,8 +2585,8 @@ NOTE: there are two lists of areas in the end of this file: centcom and station ///////////////////////////////////////////////////////////////////// /* - Lists of areas to be used with is_type_in_list. - Used in gamemodes code at the moment. --rastaf0 + * Lists of areas to be used with is_type_in_list. + * Used in gamemodes code at the moment. --rastaf0 */ // CENTCOM diff --git a/code/game/dna/dna_modifier.dm b/code/game/dna/dna_modifier.dm index 9dc056d614d..6b16c06f7fc 100644 --- a/code/game/dna/dna_modifier.dm +++ b/code/game/dna/dna_modifier.dm @@ -696,12 +696,12 @@ return TRUE /** - * Creates a blank injector with the name of the buffer at the given buffer_id - * - * Arguments: - * * buffer_id - The ID of the buffer - * * copy_buffer - Whether the injector should copy the buffer contents - */ + * Creates a blank injector with the name of the buffer at the given buffer_id + * + * Arguments: + * * buffer_id - The ID of the buffer + * * copy_buffer - Whether the injector should copy the buffer contents + */ /obj/machinery/computer/scan_consolenew/proc/create_injector(buffer_id, copy_buffer = FALSE) if(buffer_id < 1 || buffer_id > length(buffers)) return @@ -721,18 +721,18 @@ return I /** - * Called when the injector creation cooldown finishes - */ + * Called when the injector creation cooldown finishes + */ /obj/machinery/computer/scan_consolenew/proc/injector_cooldown_finish() injector_ready = TRUE /** - * Called in tgui_act() to process modal actions - * - * Arguments: - * * action - The action passed by tgui - * * params - The params passed by tgui - */ + * Called in tgui_act() to process modal actions + * + * Arguments: + * * action - The action passed by tgui + * * params - The params passed by tgui + */ /obj/machinery/computer/scan_consolenew/proc/tgui_act_modal(action, params) . = TRUE var/id = params["id"] // The modal's ID @@ -763,11 +763,11 @@ /** - * Triggers sleeve growing in a clonepod within the area - * - * Arguments: - * * active_br - Body record to print - */ + * Triggers sleeve growing in a clonepod within the area + * + * Arguments: + * * active_br - Body record to print + */ /obj/machinery/computer/scan_consolenew/proc/print_sleeve(var/mob/user, var/datum/transhuman/body_record/active_br) //deleted record if(!istype(active_br)) diff --git a/code/game/gamemodes/endgame/endgame.dm b/code/game/gamemodes/endgame/endgame.dm index 721ae98f716..59ea24ad934 100644 --- a/code/game/gamemodes/endgame/endgame.dm +++ b/code/game/gamemodes/endgame/endgame.dm @@ -2,27 +2,27 @@ * ENDGAME STUFF **********************/ - // Universal State - // Handles stuff like space icon_state, constants, etc. - // Essentially a policy manager. Once shit hits the fan, this changes its policies. - // Called by master controller. +// Universal State +// Handles stuff like space icon_state, constants, etc. +// Essentially a policy manager. Once shit hits the fan, this changes its policies. +// Called by master controller. - // Default shit. +// Default shit. /datum/universal_state // Just for reference, for now. // Might eventually add an observatory job. - var/name = "Normal" - var/desc = "Nothing seems awry." + var/name = "Normal" + var/desc = "Nothing seems awry." - // Sets world.turf, replaces all turfs of type /turf/space. - var/space_type = /turf/space + // Sets world.turf, replaces all turfs of type /turf/space. + var/space_type = /turf/space - // Replaces all turfs of type /turf/space/transit - var/transit_space_type = /turf/space/transit + // Replaces all turfs of type /turf/space/transit + var/transit_space_type = /turf/space/transit - // Chance of a floor or wall getting damaged [0-100] - // Simulates stuff getting broken due to molecular bonds decaying. - var/decay_rate = 0 + // Chance of a floor or wall getting damaged [0-100] + // Simulates stuff getting broken due to molecular bonds decaying. + var/decay_rate = 0 // Actually decay the turf. /datum/universal_state/proc/DecayTurf(var/turf/T) @@ -50,15 +50,15 @@ // Apply changes when exiting state /datum/universal_state/proc/OnExit() - // Does nothing by default + // Does nothing by default // Apply changes when entering state /datum/universal_state/proc/OnEnter() - // Does nothing by default + // Does nothing by default // Apply changes to a new turf. /datum/universal_state/proc/OnTurfChange(var/turf/NT) - return + return /datum/universal_state/proc/OverlayAndAmbientSet() return diff --git a/code/game/gamemodes/endgame/supermatter_cascade/universe.dm b/code/game/gamemodes/endgame/supermatter_cascade/universe.dm index 5889e778bba..6860c37b452 100644 --- a/code/game/gamemodes/endgame/supermatter_cascade/universe.dm +++ b/code/game/gamemodes/endgame/supermatter_cascade/universe.dm @@ -2,10 +2,10 @@ var/global/universe_has_ended = 0 /datum/universal_state/supermatter_cascade - name = "Supermatter Cascade" - desc = "Unknown harmonance affecting universal substructure, converting nearby matter to supermatter." + name = "Supermatter Cascade" + desc = "Unknown harmonance affecting universal substructure, converting nearby matter to supermatter." - decay_rate = 5 // 5% chance of a turf decaying on lighting update/airflow (there's no actual tick for turfs) + decay_rate = 5 // 5% chance of a turf decaying on lighting update/airflow (there's no actual tick for turfs) /datum/universal_state/supermatter_cascade/OnShuttleCall(var/mob/user) if(user) @@ -61,16 +61,15 @@ var/global/universe_has_ended = 0 new /obj/singularity/narsie/large/exit(pick(endgame_exits)) spawn(rand(30,60) SECONDS) var/txt = {" -There's been a galaxy-wide electromagnetic pulse. All of our systems are heavily damaged and many personnel are dead or dying. We are seeing increasing indications of the universe itself beginning to unravel. + There's been a galaxy-wide electromagnetic pulse. All of our systems are heavily damaged and many personnel are dead or dying. We are seeing increasing indications of the universe itself beginning to unravel. -[station_name()], you are the only facility nearby a bluespace rift, which is near your research outpost. You are hereby directed to enter the rift using all means necessary, quite possibly as the last of your species alive. + [station_name()], you are the only facility nearby a bluespace rift, which is near your research outpost. You are hereby directed to enter the rift using all means necessary, quite possibly as the last of your species alive. -You have five minutes before the universe collapses. Good l\[\[###!!!- + You have five minutes before the universe collapses. Good l\[\[###!!!- + AUTOMATED ALERT: Link to [command_name()] lost. -AUTOMATED ALERT: Link to [command_name()] lost. - -The access requirements on the Asteroid Shuttles' consoles have now been revoked. -"} + The access requirements on the Asteroid Shuttles' consoles have now been revoked. + "} priority_announcement.Announce(txt,"SUPERMATTER CASCADE DETECTED") for(var/obj/machinery/computer/shuttle_control/C in machines) diff --git a/code/game/machinery/computer/cloning.dm b/code/game/machinery/computer/cloning.dm index 74e0908ffba..da4e264154e 100644 --- a/code/game/machinery/computer/cloning.dm +++ b/code/game/machinery/computer/cloning.dm @@ -461,24 +461,24 @@ return (scanner && scanner.scan_level > 3) /** - * Sets a temporary message to display to the user - * - * Arguments: - * * text - Text to display, null/empty to clear the message from the UI - * * style - The style of the message: (color name), info, success, warning, danger - */ + * Sets a temporary message to display to the user + * + * Arguments: + * * text - Text to display, null/empty to clear the message from the UI + * * style - The style of the message: (color name), info, success, warning, danger + */ /obj/machinery/computer/cloning/proc/set_temp(text = "", style = "info", update_now = FALSE) temp = list(text = text, style = style) if(update_now) SStgui.update_uis(src) /** - * Sets a temporary scan message to display to the user - * - * Arguments: - * * text - Text to display, null/empty to clear the message from the UI - * * color - The color of the message: (color name) - */ + * Sets a temporary scan message to display to the user + * + * Arguments: + * * text - Text to display, null/empty to clear the message from the UI + * * color - The color of the message: (color name) + */ /obj/machinery/computer/cloning/proc/set_scan_temp(text = "", color = "", update_now = FALSE) scantemp = list(text = text, color = color) if(update_now) diff --git a/code/game/machinery/computer/medical.dm b/code/game/machinery/computer/medical.dm index 3c48a366a78..78e7b5bb3cb 100644 --- a/code/game/machinery/computer/medical.dm +++ b/code/game/machinery/computer/medical.dm @@ -368,12 +368,12 @@ return FALSE /** - * Called in tgui_act() to process modal actions - * - * Arguments: - * * action - The action passed by tgui - * * params - The params passed by tgui - */ + * Called in tgui_act() to process modal actions + * + * Arguments: + * * action - The action passed by tgui + * * params - The params passed by tgui + */ /obj/machinery/computer/med_data/proc/tgui_act_modal(action, params) . = TRUE var/id = params["id"] // The modal's ID @@ -427,8 +427,8 @@ /** - * Called when the print timer finishes - */ + * Called when the print timer finishes + */ /obj/machinery/computer/med_data/proc/print_finish() var/obj/item/paper/P = new(loc) P.info = "
" + span_bold("Medical Record") + "

" @@ -470,12 +470,12 @@ SStgui.update_uis(src) /** - * Sets a temporary message to display to the user - * - * Arguments: - * * text - Text to display, null/empty to clear the message from the UI - * * style - The style of the message: (color name), info, success, warning, danger, virus - */ + * Sets a temporary message to display to the user + * + * Arguments: + * * text - Text to display, null/empty to clear the message from the UI + * * style - The style of the message: (color name), info, success, warning, danger, virus + */ /obj/machinery/computer/med_data/proc/set_temp(text = "", style = "info", update_now = FALSE) temp = list(text = text, style = style) if(update_now) diff --git a/code/game/machinery/computer/robot.dm b/code/game/machinery/computer/robot.dm index 14d342031ad..cb565ba7f10 100644 --- a/code/game/machinery/computer/robot.dm +++ b/code/game/machinery/computer/robot.dm @@ -30,13 +30,13 @@ return FALSE /** - * Does this borg show up in the console - * - * Returns TRUE if a robot will show up in the console - * Returns FALSE if a robot will not show up in the console - * Arguments: - * * R - The [mob/living/silicon/robot] to be checked - */ + * Does this borg show up in the console + * + * Returns TRUE if a robot will show up in the console + * Returns FALSE if a robot will not show up in the console + * Arguments: + * * R - The [mob/living/silicon/robot] to be checked + */ /obj/machinery/computer/robotics/proc/console_shows(mob/living/silicon/robot/R) if(!istype(R)) return FALSE @@ -49,15 +49,15 @@ return TRUE /** - * Check if a user can send a lockdown/detonate command to a specific borg - * - * Returns TRUE if a user can send the command (does not guarantee it will work) - * Returns FALSE if a user cannot - * Arguments: - * * user - The [mob/user] to be checked - * * R - The [mob/living/silicon/robot] to be checked - * * telluserwhy - Bool of whether the user should be sent a to_chat message if they don't have access - */ + * Check if a user can send a lockdown/detonate command to a specific borg + * + * Returns TRUE if a user can send the command (does not guarantee it will work) + * Returns FALSE if a user cannot + * Arguments: + * * user - The [mob/user] to be checked + * * R - The [mob/living/silicon/robot] to be checked + * * telluserwhy - Bool of whether the user should be sent a to_chat message if they don't have access + */ /obj/machinery/computer/robotics/proc/can_control(mob/user, mob/living/silicon/robot/R, telluserwhy = FALSE) if(!istype(user)) return FALSE @@ -76,13 +76,13 @@ return TRUE /** - * Check if the user is the right kind of entity to be able to hack borgs - * - * Returns TRUE if a user is a traitor AI, or aghost - * Returns FALSE otherwise - * Arguments: - * * user - The [mob/user] to be checked - */ + * Check if the user is the right kind of entity to be able to hack borgs + * + * Returns TRUE if a user is a traitor AI, or aghost + * Returns FALSE otherwise + * Arguments: + * * user - The [mob/user] to be checked + */ /obj/machinery/computer/robotics/proc/can_hack_any(mob/user) if(!istype(user)) return FALSE @@ -95,14 +95,14 @@ return (user.mind.special_role && user.mind.original == user) /** - * Check if the user is allowed to hack a specific borg - * - * Returns TRUE if a user can hack the specific cyborg - * Returns FALSE if a user cannot - * Arguments: - * * user - The [mob/user] to be checked - * * R - The [mob/living/silicon/robot] to be checked - */ + * Check if the user is allowed to hack a specific borg + * + * Returns TRUE if a user can hack the specific cyborg + * Returns FALSE if a user cannot + * Arguments: + * * user - The [mob/user] to be checked + * * R - The [mob/living/silicon/robot] to be checked + */ /obj/machinery/computer/robotics/proc/can_hack(mob/user, mob/living/silicon/robot/R) if(!can_hack_any(user)) return FALSE diff --git a/code/game/machinery/computer/security.dm b/code/game/machinery/computer/security.dm index 5448841efad..d3179e8e57d 100644 --- a/code/game/machinery/computer/security.dm +++ b/code/game/machinery/computer/security.dm @@ -361,12 +361,12 @@ return FALSE /** - * Called in tgui_act() to process modal actions - * - * Arguments: - * * action - The action passed by tgui - * * params - The params passed by tgui - */ + * Called in tgui_act() to process modal actions + * + * Arguments: + * * action - The action passed by tgui + * * params - The params passed by tgui + */ /obj/machinery/computer/secure_data/proc/tgui_act_modal(action, params) . = TRUE var/id = params["id"] // The modal's ID @@ -428,8 +428,8 @@ /** - * Called when the print timer finishes - */ + * Called when the print timer finishes + */ /obj/machinery/computer/secure_data/proc/print_finish() var/obj/item/paper/P = new(loc) P.info = "
" + span_bold("Security Record") + "

" @@ -465,12 +465,12 @@ /** - * Sets a temporary message to display to the user - * - * Arguments: - * * text - Text to display, null/empty to clear the message from the UI - * * style - The style of the message: (color name), info, success, warning, danger, virus - */ + * Sets a temporary message to display to the user + * + * Arguments: + * * text - Text to display, null/empty to clear the message from the UI + * * style - The style of the message: (color name), info, success, warning, danger, virus + */ /obj/machinery/computer/secure_data/proc/set_temp(text = "", style = "info", update_now = FALSE) temp = list(text = text, style = style) if(update_now) diff --git a/code/game/machinery/computer/skills.dm b/code/game/machinery/computer/skills.dm index ff55f7777cd..81aa6d05228 100644 --- a/code/game/machinery/computer/skills.dm +++ b/code/game/machinery/computer/skills.dm @@ -266,12 +266,12 @@ return FALSE /** - * Called in tgui_act() to process modal actions - * - * Arguments: - * * action - The action passed by tgui - * * params - The params passed by tgui - */ + * Called in tgui_act() to process modal actions + * + * Arguments: + * * action - The action passed by tgui + * * params - The params passed by tgui + */ /obj/machinery/computer/skills/proc/tgui_act_modal(action, params) . = TRUE var/id = params["id"] // The modal's ID @@ -323,8 +323,8 @@ return FALSE /** - * Called when the print timer finishes - */ + * Called when the print timer finishes + */ /obj/machinery/computer/skills/proc/print_finish() var/obj/item/paper/P = new(loc) P.info = "
" + span_bold("Medical Record") + "

" @@ -355,12 +355,12 @@ SStgui.update_uis(src) /** - * Sets a temporary message to display to the user - * - * Arguments: - * * text - Text to display, null/empty to clear the message from the UI - * * style - The style of the message: (color name), info, success, warning, danger, virus - */ + * Sets a temporary message to display to the user + * + * Arguments: + * * text - Text to display, null/empty to clear the message from the UI + * * style - The style of the message: (color name), info, success, warning, danger, virus + */ /obj/machinery/computer/skills/proc/set_temp(text = "", style = "info", update_now = FALSE) temp = list(text = text, style = style) if(update_now) diff --git a/code/game/machinery/doors/blast_door.dm b/code/game/machinery/doors/blast_door.dm index a7ae7bc9a26..233b764dfe2 100644 --- a/code/game/machinery/doors/blast_door.dm +++ b/code/game/machinery/doors/blast_door.dm @@ -396,8 +396,8 @@ // SUBTYPE: Multi-tile // Pod doors ported from Paradise - // Whoever wrote the old code for multi-tile spesspod doors needs to burn in hell. - Unknown - // Wise words. - Bxil +// Whoever wrote the old code for multi-tile spesspod doors needs to burn in hell. - Unknown +// Wise words. - Bxil /obj/machinery/door/blast/multi_tile name = "large blast door" diff --git a/code/game/machinery/newscaster.dm b/code/game/machinery/newscaster.dm index 94febe84f70..0c2e10ce8f3 100644 --- a/code/game/machinery/newscaster.dm +++ b/code/game/machinery/newscaster.dm @@ -276,12 +276,12 @@ GLOBAL_LIST_BOILERPLATE(allCasters, /obj/machinery/newscaster) tgui_interact(user) /** - * Sets a temporary message to display to the user - * - * Arguments: - * * text - Text to display, null/empty to clear the message from the UI - * * style - The style of the message: (color name), info, success, warning, danger, virus - */ + * Sets a temporary message to display to the user + * + * Arguments: + * * text - Text to display, null/empty to clear the message from the UI + * * style - The style of the message: (color name), info, success, warning, danger, virus + */ /obj/machinery/newscaster/proc/set_temp(text = "", style = "info", update_now = FALSE) temp = list(text = text, style = style) if(update_now) diff --git a/code/game/machinery/telecomms/broadcaster.dm b/code/game/machinery/telecomms/broadcaster.dm index ba32005141b..04fe4c0c6d4 100644 --- a/code/game/machinery/telecomms/broadcaster.dm +++ b/code/game/machinery/telecomms/broadcaster.dm @@ -341,7 +341,7 @@ var/message_delay = 0 // To make sure restarting the recentmessages list is kept var/data, var/compression, var/list/level, var/freq, var/verbage = "says", var/list/forced_radios) - /* ###### Prepare the radio connection ###### */ + /* ###### Prepare the radio connection ###### */ var/display_freq = freq @@ -392,9 +392,9 @@ var/message_delay = 0 // To make sure restarting the recentmessages list is kept // Get a list of mobs who can hear from the radios we collected. var/list/receive = get_mobs_in_radio_ranges(radios) - /* ###### Organize the receivers into categories for displaying the message ###### */ + /* ###### Organize the receivers into categories for displaying the message ###### */ - // Understood the message: + // Understood the message: var/list/heard_masked = list() // masked name or no real name var/list/heard_normal = list() // normal message @@ -447,7 +447,7 @@ var/message_delay = 0 // To make sure restarting the recentmessages list is kept heard_garbled += R - /* ###### Begin formatting and sending the message ###### */ + /* ###### Begin formatting and sending the message ###### */ if(length(heard_masked) || length(heard_normal) || length(heard_voice) || length(heard_garbled) || length(heard_gibberish)) /* --- Some miscellaneous variables to format the string output --- */ @@ -551,7 +551,7 @@ var/message_delay = 0 // To make sure restarting the recentmessages list is kept /proc/Broadcast_SimpleMessage(var/source, var/frequency, list/message_pieces, var/data, var/mob/M, var/compression, var/level, var/list/forced_radios) var/text = multilingual_to_message(message_pieces) - /* ###### Prepare the radio connection ###### */ + /* ###### Prepare the radio connection ###### */ if(!M) var/mob/living/carbon/human/H = new @@ -607,7 +607,7 @@ var/message_delay = 0 // To make sure restarting the recentmessages list is kept receive |= R.send_hear(display_freq) - /* ###### Organize the receivers into categories for displaying the message ###### */ + /* ###### Organize the receivers into categories for displaying the message ###### */ // Understood the message: var/list/heard_normal = list() // normal message @@ -644,7 +644,7 @@ var/message_delay = 0 // To make sure restarting the recentmessages list is kept heard_garbled += R - /* ###### Begin formatting and sending the message ###### */ + /* ###### Begin formatting and sending the message ###### */ if(length(heard_normal) || length(heard_garbled) || length(heard_gibberish)) /* --- Some miscellaneous variables to format the string output --- */ @@ -753,7 +753,7 @@ var/message_delay = 0 // To make sure restarting the recentmessages list is kept ) signal.frequency = PUB_FREQ// Common channel - //#### Sending the signal to all subspace receivers ####// + //#### Sending the signal to all subspace receivers ####// for(var/obj/machinery/telecomms/receiver/R in telecomms_list) R.receive_signal(signal) diff --git a/code/game/mecha/mech_fabricator.dm b/code/game/mecha/mech_fabricator.dm index 626e66cbe5b..8365358d81c 100644 --- a/code/game/mecha/mech_fabricator.dm +++ b/code/game/mecha/mech_fabricator.dm @@ -116,12 +116,12 @@ /** - * Generates an info list for a given part. - * - * Returns a list of part information. - * * D - Design datum to get information on. - * * categories - Boolean, whether or not to parse snowflake categories into the part information list. - */ + * Generates an info list for a given part. + * + * Returns a list of part information. + * * D - Design datum to get information on. + * * categories - Boolean, whether or not to parse snowflake categories into the part information list. + */ /obj/machinery/mecha_part_fabricator/proc/output_part_info(datum/design/D, var/categories = FALSE) var/cost = list() for(var/c in D.materials) @@ -205,11 +205,11 @@ /** - * Generates a list of resources / materials available to this Exosuit Fab - * - * Returns null if there is no material container available. - * List format is list(material_name = list(amount = ..., ref = ..., etc.)) - */ + * Generates a list of resources / materials available to this Exosuit Fab + * + * Returns null if there is no material container available. + * List format is list(material_name = list(amount = ..., ref = ..., etc.)) + */ /obj/machinery/mecha_part_fabricator/proc/output_available_resources() var/list/material_data = list() @@ -227,19 +227,19 @@ return material_data /** - * Intended to be called when an item starts printing. - * - * Adds the overlay to show the fab working and sets active power usage settings. - */ + * Intended to be called when an item starts printing. + * + * Adds the overlay to show the fab working and sets active power usage settings. + */ /obj/machinery/mecha_part_fabricator/proc/on_start_printing() add_overlay("[icon_state]-active") use_power = USE_POWER_ACTIVE /** - * Intended to be called when the exofab has stopped working and is no longer printing items. - * - * Removes the overlay to show the fab working and sets idle power usage settings. Additionally resets the description and turns off queue processing. - */ + * Intended to be called when the exofab has stopped working and is no longer printing items. + * + * Removes the overlay to show the fab working and sets idle power usage settings. Additionally resets the description and turns off queue processing. + */ /obj/machinery/mecha_part_fabricator/proc/on_finish_printing() cut_overlay("[icon_state]-active") use_power = USE_POWER_IDLE @@ -247,11 +247,11 @@ process_queue = FALSE /** - * Calculates resource/material costs for printing an item based on the machine's resource coefficient. - * - * Returns a list of k,v resources with their amounts. - * * D - Design datum to calculate the modified resource cost of. - */ + * Calculates resource/material costs for printing an item based on the machine's resource coefficient. + * + * Returns a list of k,v resources with their amounts. + * * D - Design datum to calculate the modified resource cost of. + */ /obj/machinery/mecha_part_fabricator/proc/get_resources_w_coeff(datum/design/D) var/list/resources = list() for(var/mat_id in D.materials) @@ -259,12 +259,12 @@ return resources /** - * Checks if the Exofab has enough resources to print a given item. - * - * Returns FALSE if the design has no reagents used in its construction (?) or if there are insufficient resources. - * Returns TRUE if there are sufficient resources to print the item. - * * D - Design datum to calculate the modified resource cost of. - */ + * Checks if the Exofab has enough resources to print a given item. + * + * Returns FALSE if the design has no reagents used in its construction (?) or if there are insufficient resources. + * Returns TRUE if there are sufficient resources to print the item. + * * D - Design datum to calculate the modified resource cost of. + */ /obj/machinery/mecha_part_fabricator/proc/check_resources(datum/design/D) if(length(D.chemicals)) // No reagents storage - no reagent designs. return FALSE @@ -275,12 +275,12 @@ return FALSE /** - * Attempts to build the next item in the build queue. - * - * Returns FALSE if either there are no more parts to build or the next part is not buildable. - * Returns TRUE if the next part has started building. - * * verbose - Whether the machine should use say() procs. Set to FALSE to disable the machine saying reasons for failure to build. - */ + * Attempts to build the next item in the build queue. + * + * Returns FALSE if either there are no more parts to build or the next part is not buildable. + * Returns TRUE if the next part has started building. + * * verbose - Whether the machine should use say() procs. Set to FALSE to disable the machine saying reasons for failure to build. + */ /obj/machinery/mecha_part_fabricator/proc/build_next_in_queue(verbose = TRUE) if(!length(queue)) return FALSE @@ -293,13 +293,13 @@ return FALSE /** - * Starts the build process for a given design datum. - * - * Returns FALSE if the procedure fails. Returns TRUE when being_built is set. - * Uses materials. - * * D - Design datum to attempt to print. - * * verbose - Whether the machine should use say() procs. Set to FALSE to disable the machine saying reasons for failure to build. - */ + * Starts the build process for a given design datum. + * + * Returns FALSE if the procedure fails. Returns TRUE when being_built is set. + * Uses materials. + * * D - Design datum to attempt to print. + * * verbose - Whether the machine should use say() procs. Set to FALSE to disable the machine saying reasons for failure to build. + */ /obj/machinery/mecha_part_fabricator/proc/build_part(datum/design/D, verbose = TRUE) if(!D) return FALSE @@ -350,12 +350,12 @@ /** - * Dispenses a part to the tile infront of the Exosuit Fab. - * - * Returns FALSE is the machine cannot dispense the part on the appropriate turf. - * Return TRUE if the part was successfully dispensed. - * * D - Design datum to attempt to dispense. - */ + * Dispenses a part to the tile infront of the Exosuit Fab. + * + * Returns FALSE is the machine cannot dispense the part on the appropriate turf. + * Return TRUE if the part was successfully dispensed. + * * D - Design datum to attempt to dispense. + */ /obj/machinery/mecha_part_fabricator/proc/dispense_built_part(datum/design/D) var/obj/item/I = D.Fabricate(src, src) // I.material_flags |= MATERIAL_NO_EFFECTS //Find a better way to do this. @@ -375,23 +375,23 @@ return I /** - * Adds a list of datum designs to the build queue. - * - * Will only add designs that are in this machine's stored techweb. - * Does final checks for datum IDs and makes sure this machine can build the designs. - * * part_list - List of datum design ids for designs to add to the queue. - */ + * Adds a list of datum designs to the build queue. + * + * Will only add designs that are in this machine's stored techweb. + * Does final checks for datum IDs and makes sure this machine can build the designs. + * * part_list - List of datum design ids for designs to add to the queue. + */ /obj/machinery/mecha_part_fabricator/proc/add_part_set_to_queue(list/part_list) for(var/datum/design/D in files.known_designs) if((D.build_type & valid_buildtype) && (D.id in part_list)) add_to_queue(D) /** - * Adds a datum design to the build queue. - * - * Returns TRUE if successful and FALSE if the design was not added to the queue. - * * D - Datum design to add to the queue. - */ + * Adds a datum design to the build queue. + * + * Returns TRUE if successful and FALSE if the design was not added to the queue. + * * D - Datum design to add to the queue. + */ /obj/machinery/mecha_part_fabricator/proc/add_to_queue(datum/design/D) if(!istype(queue)) queue = list() @@ -401,11 +401,11 @@ return FALSE /** - * Removes datum design from the build queue based on index. - * - * Returns TRUE if successful and FALSE if a design was not removed from the queue. - * * index - Index in the build queue of the element to remove. - */ + * Removes datum design from the build queue based on index. + * + * Returns TRUE if successful and FALSE if a design was not removed from the queue. + * * index - Index in the build queue of the element to remove. + */ /obj/machinery/mecha_part_fabricator/proc/remove_from_queue(index) if(!isnum(index) || !ISINTEGER(index) || !istype(queue) || (index<1 || index>length(queue))) return FALSE @@ -413,10 +413,10 @@ return TRUE /** - * Generates a list of parts formatted for tgui based on the current build queue. - * - * Returns a formatted list of lists containing formatted part information for every part in the build queue. - */ + * Generates a list of parts formatted for tgui based on the current build queue. + * + * Returns a formatted list of lists containing formatted part information for every part in the build queue. + */ /obj/machinery/mecha_part_fabricator/proc/list_queue() if(!istype(queue) || !length(queue)) return null @@ -444,23 +444,23 @@ return /** - * Calculates the coefficient-modified resource cost of a single material component of a design's recipe. - * - * Returns coefficient-modified resource cost for the given material component. - * * D - Design datum to pull the resource cost from. - * * resource - Material datum reference to the resource to calculate the cost of. - * * roundto - Rounding value for round() proc - */ + * Calculates the coefficient-modified resource cost of a single material component of a design's recipe. + * + * Returns coefficient-modified resource cost for the given material component. + * * D - Design datum to pull the resource cost from. + * * resource - Material datum reference to the resource to calculate the cost of. + * * roundto - Rounding value for round() proc + */ /obj/machinery/mecha_part_fabricator/proc/get_resource_cost_w_coeff(datum/design/D, var/amt, roundto = 1) return round(amt * component_coeff, roundto) /** - * Calculates the coefficient-modified build time of a design. - * - * Returns coefficient-modified build time of a given design. - * * D - Design datum to calculate the modified build time of. - * * roundto - Rounding value for round() proc - */ + * Calculates the coefficient-modified build time of a design. + * + * Returns coefficient-modified build time of a given design. + * * D - Design datum to calculate the modified build time of. + * * roundto - Rounding value for round() proc + */ /obj/machinery/mecha_part_fabricator/proc/get_construction_time_w_coeff(construction_time, roundto = 1) //aran return round(construction_time * time_coeff, roundto) diff --git a/code/game/mecha/mecha.dm b/code/game/mecha/mecha.dm index 654e34401e2..ff2f9dd997f 100644 --- a/code/game/mecha/mecha.dm +++ b/code/game/mecha/mecha.dm @@ -2847,8 +2847,8 @@ MECHA_INT_SHORT_CIRCUIT
MECHA_INT_TANK_BREACH
MECHA_INT_CONTROL_LOST
- - "} + + "} occupant << browse(output, "window=ex_debug") //src.health = initial(src.health)/2.2 diff --git a/code/game/mecha/mecha_construction_paths.dm b/code/game/mecha/mecha_construction_paths.dm index f7733a61084..76f2fece549 100644 --- a/code/game/mecha/mecha_construction_paths.dm +++ b/code/game/mecha/mecha_construction_paths.dm @@ -556,7 +556,7 @@ return - ////////////////////// +////////////////////// // Serenity ////////////////////// /datum/construction/mecha/serenity_chassis @@ -679,7 +679,7 @@ if(!..()) return 0 - //TODO: better messages. + //TODO: better messages. switch(index) if(20) user.visible_message(span_infoplain("[user] connects [holder] hydraulic systems"), span_infoplain("You connect [holder] hydraulic systems.")) diff --git a/code/game/mecha/mecha_parts.dm b/code/game/mecha/mecha_parts.dm index 7c7becddace..a8a2eab1c3e 100644 --- a/code/game/mecha/mecha_parts.dm +++ b/code/game/mecha/mecha_parts.dm @@ -1,4 +1,4 @@ - ///////////////////////// +///////////////////////// ////// Mecha Parts ////// ///////////////////////// diff --git a/code/game/objects/effects/zone_divider.dm b/code/game/objects/effects/zone_divider.dm index 3638219b20f..fef0743f83f 100644 --- a/code/game/objects/effects/zone_divider.dm +++ b/code/game/objects/effects/zone_divider.dm @@ -10,9 +10,9 @@ can_atmos_pass = ATMOS_PASS_PROC /obj/effect/zone_divider/CanZASPass(turf/T, is_zone) - // Special case to prevent us from being part of a zone during the first air master tick. - // We must merge ourselves into a zone on next tick. This will cause a bit of lag on - // startup, but it can't really be helped you know? + // Special case to prevent us from being part of a zone during the first air master tick. + // We must merge ourselves into a zone on next tick. This will cause a bit of lag on + // startup, but it can't really be helped you know? if(SSair && SSair.current_cycle == 0) spawn(1) SSair.mark_for_update(get_turf(src)) diff --git a/code/game/objects/items/devices/gps.dm b/code/game/objects/items/devices/gps.dm index 6c74731b043..c4eacc3f4da 100644 --- a/code/game/objects/items/devices/gps.dm +++ b/code/game/objects/items/devices/gps.dm @@ -183,8 +183,8 @@ GLOBAL_LIST_EMPTY(GPS_list) /obj/item/gps/attack_self(mob/user) display(user) - // Compiles all the data not available directly from the GPS - // Like the positions and directions to all other GPS units +// Compiles all the data not available directly from the GPS +// Like the positions and directions to all other GPS units /obj/item/gps/proc/display_list() var/list/dat = list() diff --git a/code/game/objects/items/devices/uplink.dm b/code/game/objects/items/devices/uplink.dm index d352e26dafc..eb998f72f29 100644 --- a/code/game/objects/items/devices/uplink.dm +++ b/code/game/objects/items/devices/uplink.dm @@ -38,16 +38,16 @@ return //Stub, used on children. // HIDDEN UPLINK - Can be stored in anything but the host item has to have a trigger for it. -/* How to create an uplink in 3 easy steps! - - 1. All obj/item 's have a hidden_uplink var. By default it's null. Give the item one with "new(src)", it must be in it's contents. Feel free to add "uses". - - 2. Code in the triggers. Use check_trigger for this, I recommend closing the item's menu with "usr << browse(null, "window=windowname") if it returns true. - The var/value is the value that will be compared with the var/target. If they are equal it will activate the menu. - - 3. If you want the menu to stay until the users locks his uplink, add an active_uplink_check(mob/user as mob) in your interact/attack_hand proc. - Then check if it's true, if true return. This will stop the normal menu appearing and will instead show the uplink menu. -*/ +/** How to create an uplink in 3 easy steps! + * + * 1. All obj/item 's have a hidden_uplink var. By default it's null. Give the item one with "new(src)", it must be in it's contents. Feel free to add "uses". + * + * 2. Code in the triggers. Use check_trigger for this, I recommend closing the item's menu with "usr << browse(null, "window=windowname") if it returns true. + * The var/value is the value that will be compared with the var/target. If they are equal it will activate the menu. + * + * 3. If you want the menu to stay until the users locks his uplink, add an active_uplink_check(mob/user as mob) in your interact/attack_hand proc. + * Then check if it's true, if true return. This will stop the normal menu appearing and will instead show the uplink menu. + */ /obj/item/uplink/hidden name = "hidden uplink" diff --git a/code/game/objects/items/toys/mech_toys.dm b/code/game/objects/items/toys/mech_toys.dm index 270cb60d6bc..e404e7bb551 100644 --- a/code/game/objects/items/toys/mech_toys.dm +++ b/code/game/objects/items/toys/mech_toys.dm @@ -58,18 +58,18 @@ return 0 //not in range and not telekinetic /** - * this proc combines "sleep" while also checking for if the battle should continue - * - * this goes through some of the checks - the toys need to be next to each other to fight! - * if it's player vs themself: They need to be able to "control" both mechs (either must be adjacent or using TK). - * if it's player vs player: Both players need to be able to "control" their mechs (either must be adjacent or using TK). - * if all the checks are TRUE, it does the sleeps, and returns TRUE. Otherwise, it returns FALSE. - * Arguments: - * * delay - the amount of time the sleep at the end of the check will sleep for - * * attacker - the attacking toy in the battle. - * * attacker_controller - the controller of the attacking toy. there should ALWAYS be an attacker_controller - * * opponent - (optional) the defender controller in the battle, for PvP - */ + * this proc combines "sleep" while also checking for if the battle should continue + * + * this goes through some of the checks - the toys need to be next to each other to fight! + * if it's player vs themself: They need to be able to "control" both mechs (either must be adjacent or using TK). + * if it's player vs player: Both players need to be able to "control" their mechs (either must be adjacent or using TK). + * if all the checks are TRUE, it does the sleeps, and returns TRUE. Otherwise, it returns FALSE. + * Arguments: + * * delay - the amount of time the sleep at the end of the check will sleep for + * * attacker - the attacking toy in the battle. + * * attacker_controller - the controller of the attacking toy. there should ALWAYS be an attacker_controller + * * opponent - (optional) the defender controller in the battle, for PvP + */ /obj/item/toy/mecha/proc/combat_sleep(var/delay, obj/item/toy/mecha/attacker, mob/living/carbon/attacker_controller, mob/living/carbon/opponent) if(!attacker_controller) // If the attacker for whatever reason is null, don't continue. @@ -130,8 +130,8 @@ attack_self(user) /** - * If you attack a mech with a mech, initiate combat between them - */ + * If you attack a mech with a mech, initiate combat between them + */ /obj/item/toy/mecha/attackby(obj/item/user_toy, mob/living/user) if(istype(user_toy, /obj/item/toy/mecha)) var/obj/item/toy/mecha/M = user_toy @@ -140,8 +140,8 @@ ..() /** - * Attack is called from the user's toy, aimed at target(another human), checking for target's toy. - */ + * Attack is called from the user's toy, aimed at target(another human), checking for target's toy. + */ /obj/item/toy/mecha/attack(mob/living/carbon/human/target, mob/living/carbon/human/user) if(target == user) to_chat(user, span_notice("Target another toy mech if you want to start a battle with yourself.")) @@ -176,8 +176,8 @@ ..() /** - * Overrides attack_tk - Sorry, you have to be face to face to initiate a battle, it's good sportsmanship - */ + * Overrides attack_tk - Sorry, you have to be face to face to initiate a battle, it's good sportsmanship + */ /obj/item/toy/mecha/attack_tk(mob/user) if(timer < world.time) to_chat(user, span_notice("You telekinetically play with [src].")) @@ -185,12 +185,12 @@ playsound(user, 'sound/mecha/mechstep.ogg', 20, TRUE) /** - * Resets the request for battle. - * - * For use in a timer, this proc resets the wants_to_battle variable after a short period. - * Arguments: - * * user - the user wanting to do battle - */ + * Resets the request for battle. + * + * For use in a timer, this proc resets the wants_to_battle variable after a short period. + * Arguments: + * * user - the user wanting to do battle + */ /obj/item/toy/mecha/proc/withdraw_offer(mob/living/carbon/user) if(wants_to_battle) wants_to_battle = FALSE @@ -209,18 +209,18 @@ . += span_notice("This toy has [wins] wins, and [losses] losses.") /** - * The 'master' proc of the mech battle. Processes the entire battle's events and makes sure it start and finishes correctly. - * - * src is the defending toy, and the battle proc is called on it to begin the battle. - * After going through a few checks at the beginning to ensure the battle can start properly, the battle begins a loop that lasts - * until either toy has no more health. During this loop, it also ensures the mechs stay in combat range of each other. - * It will then randomly decide attacks for each toy, occasionally making one or the other use their special attack. - * When either mech has no more health, the loop ends, and it displays the victor and the loser while updating their stats and resetting them. - * Arguments: - * * attacker - the attacking toy, the toy in the attacker_controller's hands - * * attacker_controller - the user, the one who is holding the toys / controlling the fight - * * opponent - optional arg used in Mech PvP battles: the other person who is taking part in the fight (controls src) - */ + * The 'master' proc of the mech battle. Processes the entire battle's events and makes sure it start and finishes correctly. + * + * src is the defending toy, and the battle proc is called on it to begin the battle. + * After going through a few checks at the beginning to ensure the battle can start properly, the battle begins a loop that lasts + * until either toy has no more health. During this loop, it also ensures the mechs stay in combat range of each other. + * It will then randomly decide attacks for each toy, occasionally making one or the other use their special attack. + * When either mech has no more health, the loop ends, and it displays the victor and the loser while updating their stats and resetting them. + * Arguments: + * * attacker - the attacking toy, the toy in the attacker_controller's hands + * * attacker_controller - the user, the one who is holding the toys / controlling the fight + * * opponent - optional arg used in Mech PvP battles: the other person who is taking part in the fight (controls src) + */ /obj/item/toy/mecha/proc/mecha_brawl(obj/item/toy/mecha/attacker, mob/living/carbon/attacker_controller, mob/living/carbon/opponent) //A GOOD DAY FOR A SWELL BATTLE! attacker_controller.visible_message(span_danger(" [attacker_controller.name] collides [attacker] with [src]! Looks like they're preparing for a brawl! "), \ @@ -380,16 +380,16 @@ return /** - * This proc checks if a battle can be initiated between src and attacker. - * - * Both SRC and attacker (if attacker is included) timers are checked if they're on cooldown, and - * both SRC and attacker (if attacker is included) are checked if they are in combat already. - * If any of the above are true, the proc returns FALSE and sends a message to user (and target, if included) otherwise, it returns TRUE - * Arguments: - * * user: the user who is initiating the battle - * * attacker: optional arg for checking two mechs at once - * * target: optional arg used in Mech PvP battles (if used, attacker is target's toy) - */ + * This proc checks if a battle can be initiated between src and attacker. + * + * Both SRC and attacker (if attacker is included) timers are checked if they're on cooldown, and + * both SRC and attacker (if attacker is included) are checked if they are in combat already. + * If any of the above are true, the proc returns FALSE and sends a message to user (and target, if included) otherwise, it returns TRUE + * Arguments: + * * user: the user who is initiating the battle + * * attacker: optional arg for checking two mechs at once + * * target: optional arg used in Mech PvP battles (if used, attacker is target's toy) + */ /obj/item/toy/mecha/proc/check_battle_start(mob/living/carbon/user, obj/item/toy/mecha/attacker, mob/living/carbon/target) var/datum/gender/T if(target) @@ -418,12 +418,12 @@ return TRUE /** - * Processes any special attack moves that happen in the battle (called in the mechaBattle proc). - * - * Makes the toy shout their special attack cry and updates its cooldown. Then, does the special attack. - * Arguments: - * * victim - the toy being hit by the special move - */ + * Processes any special attack moves that happen in the battle (called in the mechaBattle proc). + * + * Makes the toy shout their special attack cry and updates its cooldown. Then, does the special attack. + * Arguments: + * * victim - the toy being hit by the special move + */ /obj/item/toy/mecha/proc/special_attack_move(obj/item/toy/mecha/victim) visible_message(special_attack_cry + "!!") @@ -447,12 +447,12 @@ visible_message("I FORGOT MY SPECIAL ATTACK...") /** - * Base proc for 'other' special attack moves. - * - * This one is only for inheritance, each mech with an 'other' type move has their procs below. - * Arguments: - * * victim - the toy being hit by the super special move (doesn't necessarily need to be used) - */ + * Base proc for 'other' special attack moves. + * + * This one is only for inheritance, each mech with an 'other' type move has their procs below. + * Arguments: + * * victim - the toy being hit by the super special move (doesn't necessarily need to be used) + */ /obj/item/toy/mecha/proc/super_special_attack(obj/item/toy/mecha/victim) visible_message(span_notice(" [src] does a cool flip.")) diff --git a/code/game/objects/items/toys/toys.dm b/code/game/objects/items/toys/toys.dm index 81914e97f66..3d3f9232e2f 100644 --- a/code/game/objects/items/toys/toys.dm +++ b/code/game/objects/items/toys/toys.dm @@ -14,7 +14,7 @@ * Plushies * Toy cult sword * Bouquets - Stick Horse + * Stick Horse */ diff --git a/code/game/objects/items/weapons/storage/belt.dm b/code/game/objects/items/weapons/storage/belt.dm index 36f22f6f452..4107e1f25eb 100644 --- a/code/game/objects/items/weapons/storage/belt.dm +++ b/code/game/objects/items/weapons/storage/belt.dm @@ -536,49 +536,49 @@ max_storage_space = ITEMSIZE_COST_NORMAL * 2 /obj/item/storage/belt/fannypack/black - name = "black fannypack" - icon_state = "fannypack_black" - item_state = "fannypack_black" + name = "black fannypack" + icon_state = "fannypack_black" + item_state = "fannypack_black" /obj/item/storage/belt/fannypack/blue - name = "blue fannypack" - icon_state = "fannypack_blue" - item_state = "fannypack_blue" + name = "blue fannypack" + icon_state = "fannypack_blue" + item_state = "fannypack_blue" /obj/item/storage/belt/fannypack/cyan - name = "cyan fannypack" - icon_state = "fannypack_cyan" - item_state = "fannypack_cyan" + name = "cyan fannypack" + icon_state = "fannypack_cyan" + item_state = "fannypack_cyan" /obj/item/storage/belt/fannypack/green - name = "green fannypack" - icon_state = "fannypack_green" - item_state = "fannypack_green" + name = "green fannypack" + icon_state = "fannypack_green" + item_state = "fannypack_green" /obj/item/storage/belt/fannypack/orange - name = "orange fannypack" - icon_state = "fannypack_orange" - item_state = "fannypack_orange" + name = "orange fannypack" + icon_state = "fannypack_orange" + item_state = "fannypack_orange" /obj/item/storage/belt/fannypack/purple - name = "purple fannypack" - icon_state = "fannypack_purple" - item_state = "fannypack_purple" + name = "purple fannypack" + icon_state = "fannypack_purple" + item_state = "fannypack_purple" /obj/item/storage/belt/fannypack/red - name = "red fannypack" - icon_state = "fannypack_red" - item_state = "fannypack_red" + name = "red fannypack" + icon_state = "fannypack_red" + item_state = "fannypack_red" /obj/item/storage/belt/fannypack/white - name = "white fannypack" - icon_state = "fannypack_white" - item_state = "fannypack_white" + name = "white fannypack" + icon_state = "fannypack_white" + item_state = "fannypack_white" /obj/item/storage/belt/fannypack/yellow - name = "yellow fannypack" - icon_state = "fannypack_yellow" - item_state = "fannypack_yellow" + name = "yellow fannypack" + icon_state = "fannypack_yellow" + item_state = "fannypack_yellow" /obj/item/storage/belt/ranger name = "ranger belt" diff --git a/code/game/objects/items/weapons/storage/bible.dm b/code/game/objects/items/weapons/storage/bible.dm index 09a31eda72d..ea777e9a5ef 100644 --- a/code/game/objects/items/weapons/storage/bible.dm +++ b/code/game/objects/items/weapons/storage/bible.dm @@ -68,11 +68,11 @@ GLOBAL_LIST_INIT(bibleitemstates, list( to_chat(user, span_notice("You invoke [user.mind.my_religion.deity] and prepare a copy of [src].")) /** - * Checks if we are allowed to interact with a radial menu - * - * Arguments: - * * user The mob interacting with the menu - */ + * Checks if we are allowed to interact with a radial menu + * + * Arguments: + * * user The mob interacting with the menu + */ /obj/item/storage/bible/proc/check_menu(mob/living/carbon/human/user) if(user.mind.my_religion.configured) return FALSE diff --git a/code/game/objects/structures/props/prop.dm b/code/game/objects/structures/props/prop.dm index 929df2624b6..89d99422dcf 100644 --- a/code/game/objects/structures/props/prop.dm +++ b/code/game/objects/structures/props/prop.dm @@ -61,7 +61,7 @@ /** * - Notes on change_state + * Notes on change_state * * tl;dr "You can varedit 'state' on these to the things in the comments below to get cool animations" * diff --git a/code/game/response_team.dm b/code/game/response_team.dm index 4dc118df193..200eda7532b 100644 --- a/code/game/response_team.dm +++ b/code/game/response_team.dm @@ -2,7 +2,7 @@ //Thanks to Kilakk for the admin-button portion of this code. var/global/send_emergency_team = 0 // Used for automagic response teams - // 'admin_emergency_team' for admin-spawned response teams + // 'admin_emergency_team' for admin-spawned response teams var/ert_base_chance = 10 // Default base chance. Will be incremented by increment ERT chance. var/can_call_ert var/silent_ert = 0 diff --git a/code/game/sound.dm b/code/game/sound.dm index 16cd6e1aab3..1357d4d6d2d 100644 --- a/code/game/sound.dm +++ b/code/game/sound.dm @@ -10,7 +10,7 @@ //allocate a channel if necessary now so its the same for everyone channel = channel || SSsounds.random_available_channel() - // Looping through the player list has the added bonus of working for mobs inside containers + // Looping through the player list has the added bonus of working for mobs inside containers var/sound/S = sound(get_sfx(soundin)) var/maxdistance = (world.view + extrarange) * 2 //VOREStation Edit - 3 to 2 var/list/listeners = player_list.Copy() diff --git a/code/game/turfs/simulated/fancy_shuttles.dm b/code/game/turfs/simulated/fancy_shuttles.dm index 5c00ed77b71..995a3ad128b 100644 --- a/code/game/turfs/simulated/fancy_shuttles.dm +++ b/code/game/turfs/simulated/fancy_shuttles.dm @@ -180,7 +180,7 @@ GLOBAL_LIST_EMPTY(fancy_shuttles) /** * Shuttle Glass */ - //OLD GLASS - USE NEW GLASS +//OLD GLASS - USE NEW GLASS /turf/simulated/wall/fancy_shuttle/window opacity = FALSE icon_state = "hull_transparent" diff --git a/code/modules/admin/view_variables/helpers.dm b/code/modules/admin/view_variables/helpers.dm index 286017520a8..3770f59bc19 100644 --- a/code/modules/admin/view_variables/helpers.dm +++ b/code/modules/admin/view_variables/helpers.dm @@ -194,6 +194,6 @@ return TRUE /proc/forbidden_varedit_object_types() - return list( + return list( /datum/admins //Admins editing their own admin-power object? Yup, sounds like a good idea. ) diff --git a/code/modules/client/client defines.dm b/code/modules/client/client defines.dm index 561f2e7f5a2..a20c48d2ae3 100644 --- a/code/modules/client/client defines.dm +++ b/code/modules/client/client defines.dm @@ -114,11 +114,11 @@ ///Average ping of the client var/avgping = 0 - ///world.time they connected + ///world.time they connected var/connection_time - ///world.realtime they connected + ///world.realtime they connected var/connection_realtime - ///world.timeofday they connected + ///world.timeofday they connected var/connection_timeofday // Runechat messages @@ -165,7 +165,7 @@ /// Bitfield of movement dirs that were released *this* cycle (even if currently held). /// Note that only dirs that were already held at the start of this cycle are included, if it pressed then released it won't be in here. - /// On next move, subtract this dir from the move that would otherwise be done + /// On next move, subtract this dir from the move that would otherwise be done var/next_move_dir_sub #ifdef CARDINAL_INPUT_ONLY diff --git a/code/modules/clothing/glasses/glasses.dm b/code/modules/clothing/glasses/glasses.dm index 6c4697d338c..eeb0b1b85a8 100644 --- a/code/modules/clothing/glasses/glasses.dm +++ b/code/modules/clothing/glasses/glasses.dm @@ -6,7 +6,7 @@ SEE_MOBS // can see all mobs, no matter what SEE_OBJS // can see all objs, no matter what SEE_TURFS // can see all turfs (and areas), no matter what SEE_PIXELS// if an object is located on an unlit area, but some of its pixels are - // in a lit area (via pixel_x,y or smooth movement), can see those pixels + // in a lit area (via pixel_x,y or smooth movement), can see those pixels BLIND // can't see anything */ /////////////////////////////////////////////////////////////////////// diff --git a/code/modules/compass/_compass.dm b/code/modules/compass/_compass.dm index 476989e4c40..f2a3cfecf99 100644 --- a/code/modules/compass/_compass.dm +++ b/code/modules/compass/_compass.dm @@ -2,11 +2,11 @@ #define COMPASS_PERIOD 15 #define COMPASS_LABEL_OFFSET 150 -/* - This folder contains an abstract type (/obj/compass_holder) which contains a set of - waypoints (/datum/compass_waypoint) and generates a circular compass with markers for - mobs that have the object in their screen list. See GPS for an example implementation. -*/ +/** + * This folder contains an abstract type (/obj/compass_holder) which contains a set of + * waypoints (/datum/compass_waypoint) and generates a circular compass with markers for + * mobs that have the object in their screen list. See GPS for an example implementation. + */ /image/compass_marker maptext_height = 64 diff --git a/code/modules/emotes/definitions/audible_furry_vr.dm b/code/modules/emotes/definitions/audible_furry_vr.dm index f068aadc4bc..c6c5a913094 100644 --- a/code/modules/emotes/definitions/audible_furry_vr.dm +++ b/code/modules/emotes/definitions/audible_furry_vr.dm @@ -145,9 +145,9 @@ emote_message_3p = "squeaks." emote_sound = 'sound/items/drop/plushie.ogg' /decl/emote/audible/mothscream - key = "mothscream" - emote_message_3p ="screams" - emote_sound = 'sound/voice/moth/scream_moth.ogg' + key = "mothscream" + emote_message_3p ="screams" + emote_sound = 'sound/voice/moth/scream_moth.ogg' /decl/emote/audible/mothchitter key = "mothchitter" diff --git a/code/modules/library/lib_readme.dm b/code/modules/library/lib_readme.dm index 85a8fc1a085..bf5115ecd1d 100644 --- a/code/modules/library/lib_readme.dm +++ b/code/modules/library/lib_readme.dm @@ -17,20 +17,20 @@ // Requires Dantom.DB library ( http://www.byond.com/developer/Dantom/DB ) -/* - The Library - ------------ - A place for the crew to go, relax, and enjoy a good book. - Aspiring authors can even self publish and, if they're lucky - convince the on-staff Librarian to submit it to the Archives - to be chronicled in history forever - some say even persisting - through alternate dimensions. - - - Written by TLE for /tg/station 13 - Feel free to use this as you like. Some credit would be cool. - Check us out at http://nanotrasen.com/ if you're so inclined. -*/ +/** + * The Library + * ------------ + * A place for the crew to go, relax, and enjoy a good book. + * Aspiring authors can even self publish and, if they're lucky + * convince the on-staff Librarian to submit it to the Archives + * to be chronicled in history forever - some say even persisting + * through alternate dimensions. + * + * + * Written by TLE for /tg/station 13 + * Feel free to use this as you like. Some credit would be cool. + * Check us out at http://nanotrasen.com/ if you're so inclined. + */ // CONTAINS: diff --git a/code/modules/mining/ore_redemption_machine/equipment_vendor.dm b/code/modules/mining/ore_redemption_machine/equipment_vendor.dm index 1647d580667..6e063cdd720 100644 --- a/code/modules/mining/ore_redemption_machine/equipment_vendor.dm +++ b/code/modules/mining/ore_redemption_machine/equipment_vendor.dm @@ -324,12 +324,12 @@ . = ..() /** - * Called when someone slaps the machine with a mining voucher - * - * Arguments: - * * voucher - The voucher card item - * * redeemer - The person holding it - */ + * Called when someone slaps the machine with a mining voucher + * + * Arguments: + * * voucher - The voucher card item + * * redeemer - The person holding it + */ /obj/machinery/mineral/equipment_vendor/proc/redeem_voucher(obj/item/mining_voucher/voucher, mob/redeemer) var/selection = tgui_input_list(redeemer, "Pick your equipment", "Mining Voucher Redemption", list("Kinetic Accelerator", "Resonator", "Mining Drone", "Advanced Scanner", "Crusher")) if(!selection || !Adjacent(redeemer) || voucher.loc != redeemer) diff --git a/code/modules/mob/freelook/read_me.dm b/code/modules/mob/freelook/read_me.dm index 869fcc2cdac..55c44d7d165 100644 --- a/code/modules/mob/freelook/read_me.dm +++ b/code/modules/mob/freelook/read_me.dm @@ -1,51 +1,51 @@ -// CREDITS -/* - Initial code credit for this goes to Uristqwerty. - Debugging, functionality, all comments and porting by Giacom. - - Everything about freelook (or what we can put in here) will be stored here. - - - WHAT IS THIS? - - This is a replacement for the current camera movement system, of the AI. Before this, the AI had to move between cameras and could - only see what the cameras could see. Not only this but the cameras could see through walls, which created problems. - With this, the AI controls an "AI Eye" mob, which moves just like a ghost; such as moving through walls and being invisible to players. - The AI's eye is set to this mob and then we use a system (explained below) to determine what the cameras around the AI Eye can and - cannot see. If the camera cannot see a turf, it will black it out, otherwise it won't and the AI will be able to see it. - This creates several features, such as.. no more see-through-wall cameras, easier to control camera movement, easier tracking, - the AI only being able to track mobs which are visible to a camera, only trackable mobs appearing on the mob list and many more. - - - HOW IT WORKS - - It works by first creating a camera network datum. Inside of this camera network are "chunks" (which will be - explained later) and "cameras". The cameras list is kept up to date by obj/machinery/camera/New() and Destroy(). - - Next the camera network has chunks. These chunks are a 16x16 tile block of turfs and cameras contained inside the chunk. - These turfs are then sorted out based on what the cameras can and cannot see. If none of the cameras can see the turf, inside - the 16x16 block, it is listed as an "obscured" turf. Meaning the AI won't be able to see it. - - - HOW IT UPDATES - - The camera network uses a streaming method in order to effeciently update chunks. Since the server will have doors opening, doors closing, - turf being destroyed and other lag inducing stuff, we want to update it under certain conditions and not every tick. - - The chunks are not created straight away, only when an AI eye moves into it's area is when it gets created. - One a chunk is created, when a non glass door opens/closes or an opacity turf is destroyed, we check to see if an AI Eye is looking in the area. - We do this with the "seenby" list, which updates everytime an AI is near a chunk. If there is an AI eye inside the area, we update the chunk - that the changed atom is inside and all surrounding chunks, since a camera's vision could leak onto another chunk. If there is no AI Eye, we instead - flag the chunk to update whenever it is loaded by an AI Eye. This is basically how the chunks update and keep it in sync. We then add some lag reducing - measures, such as an UPDATE_BUFFER which stops a chunk from updating too many times in a certain time-frame, only updating if the changed atom was blocking - sight; for example, we don't update glass airlocks or floors. - - - WHERE IS EVERYTHING? - - cameranet.dm = Everything about the cameranet datum. - chunk.dm = Everything about the chunk datum. - eye.dm = Everything about the AI and the AIEye. - updating.dm = Everything about triggers that will update chunks. - -*/ +// * CREDITS +/** + * Initial * code * credit * for * this * goes * to * Uristqwerty. + * Debugging, * functionality, * all * comments * and * porting * by * Giacom. + * + * Everything * about * freelook * (or * what * we * can * put * in * here) * will * be * stored * here. + * + * + * WHAT * IS * THIS? + * + * This * is * a * replacement * for * the * current * camera * movement * system, * of * the * AI. * Before * this, * the * AI * had * to * move * between * cameras * and * could + * only * see * what * the * cameras * could * see. * Not * only * this * but * the * cameras * could * see * through * walls, * which * created * problems. + * With * this, * the * AI * controls * an * "AI * Eye" * mob, * which * moves * just * like * a * ghost; * such * as * moving * through * walls * and * being * invisible * to * players. + * The * AI's * eye * is * set * to * this * mob * and * then * we * use * a * system * (explained * below) * to * determine * what * the * cameras * around * the * AI * Eye * can * and + * cannot * see. * If * the * camera * cannot * see * a * turf, * it * will * black * it * out, * otherwise * it * won't * and * the * AI * will * be * able * to * see * it. + * This * creates * several * features, * such * as.. * no * more * see-through-wall * cameras, * easier * to * control * camera * movement, * easier * tracking, + * the * AI * only * being * able * to * track * mobs * which * are * visible * to * a * camera, * only * trackable * mobs * appearing * on * the * mob * list * and * many * more. + * + * + * HOW * IT * WORKS + * + * It * works * by * first * creating * a * camera * network * datum. * Inside * of * this * camera * network * are * "chunks" * (which * will * be + * explained * later) * and * "cameras". * The * cameras * list * is * kept * up * to * date * by * obj/machinery/camera/New() * and * Destroy(). + * + * Next * the * camera * network * has * chunks. * These * chunks * are * a * 16x16 * tile * block * of * turfs * and * cameras * contained * inside * the * chunk. + * These * turfs * are * then * sorted * out * based * on * what * the * cameras * can * and * cannot * see. * If * none * of * the * cameras * can * see * the * turf, * inside + * the * 16x16 * block, * it * is * listed * as * an * "obscured" * turf. * Meaning * the * AI * won't * be * able * to * see * it. + * + * + * HOW * IT * UPDATES + * + * The * camera * network * uses * a * streaming * method * in * order * to * effeciently * update * chunks. * Since * the * server * will * have * doors * opening, * doors * closing, + * turf * being * destroyed * and * other * lag * inducing * stuff, * we * want * to * update * it * under * certain * conditions * and * not * every * tick. + * + * The * chunks * are * not * created * straight * away, * only * when * an * AI * eye * moves * into * it's * area * is * when * it * gets * created. + * One * a * chunk * is * created, * when * a * non * glass * door * opens/closes * or * an * opacity * turf * is * destroyed, * we * check * to * see * if * an * AI * Eye * is * looking * in * the * area. + * We * do * this * with * the * "seenby" * list, * which * updates * everytime * an * AI * is * near * a * chunk. * If * there * is * an * AI * eye * inside * the * area, * we * update * the * chunk + * that * the * changed * atom * is * inside * and * all * surrounding * chunks, * since * a * camera's * vision * could * leak * onto * another * chunk. * If * there * is * no * AI * Eye, * we * instead + * flag * the * chunk * to * update * whenever * it * is * loaded * by * an * AI * Eye. * This * is * basically * how * the * chunks * update * and * keep * it * in * sync. * We * then * add * some * lag * reducing + * measures, * such * as * an * UPDATE_BUFFER * which * stops * a * chunk * from * updating * too * many * times * in * a * certain * time-frame, * only * updating * if * the * changed * atom * was * blocking + * sight; * for * example, * we * don't * update * glass * airlocks * or * floors. + * + * + * WHERE * IS * EVERYTHING? + * + * cameranet.dm = Everything * about * the * cameranet * datum. + * chunk.dm = Everything * about * the * chunk * datum. + * eye.dm = Everything * about * the * AI * and * the * AIEye. + * updating.dm = Everything * about * triggers * that * will * update * chunks. + * + */ diff --git a/code/modules/mob/language/generic.dm b/code/modules/mob/language/generic.dm index 0c2fecfabc9..f2171bbcb22 100644 --- a/code/modules/mob/language/generic.dm +++ b/code/modules/mob/language/generic.dm @@ -24,8 +24,8 @@ key = "0" flags = RESTRICTED syllables = list( -"vol", "zum", "coo","zoo","bi","do","ooz","ite","og","re","si","ite","ish", -"ar","at","on","ee","east","ma","da", "rim") + "vol", "zum", "coo","zoo","bi","do","ooz","ite","og","re","si","ite","ish", + "ar","at","on","ee","east","ma","da", "rim") partial_understanding = list(LANGUAGE_SKRELLIAN = 30, LANGUAGE_SOL_COMMON = 30) //TODO flag certain languages to use the mob-type specific say_quote and then get rid of these. @@ -45,11 +45,11 @@ colour = "say_quote" key = "2" syllables = list( -"fea","vea","vei","veh","vee","feh","fa","soa","su","sua","sou","se","seh","twa","twe","twi", -"ahm","lea","lee","nae","nah","pa","pau","fae","fai","soh","mou","ahe","ll","ea","ai","thi", -"hie","zei","zie","ize","ehy","uy","oya","dor","di","ja","ej","er","um","in","qu","is","re", -"nt","ti","us","it","en","at","tu","te","ri","es","et","ra","ta","an","ni","li","on","or","se", -"am","ae","ia","di","ue","em","ar","ui","st","si","de","ci","iu","ne","pe","co","os","ur","ru") + "fea","vea","vei","veh","vee","feh","fa","soa","su","sua","sou","se","seh","twa","twe","twi", + "ahm","lea","lee","nae","nah","pa","pau","fae","fai","soh","mou","ahe","ll","ea","ai","thi", + "hie","zei","zie","ize","ehy","uy","oya","dor","di","ja","ej","er","um","in","qu","is","re", + "nt","ti","us","it","en","at","tu","te","ri","es","et","ra","ta","an","ni","li","on","or","se", + "am","ae","ia","di","ue","em","ar","ui","st","si","de","ci","iu","ne","pe","co","os","ur","ru") /datum/language/terminus name = LANGUAGE_TERMINUS @@ -61,8 +61,8 @@ // flags = WHITELISTED (VOREstation edit) // partial_understanding = list(LANGUAGE_SOL_COMMON = 20) (VOREStation Edit: It is a Zorren language now) syllables = list (".a", "spa", "pan", "blaif", "stra", "!u", "!ei", "!am", "by", ".y", "gry", "zbly", "!y", "fl", - "sm", "rn", "cpi", "ku", "koi", "pr", "glau", "stu", "ved", "ki", "tsa", "xau", "jbu", "sny", "stro", "nu", - "uan", "ju", "!i", "ge", "luk", "an", "ar", "at", "es", "et", "bel", "ki", "jaa", "ch", "ki", "gh", "ll", "uu", "wat") + "sm", "rn", "cpi", "ku", "koi", "pr", "glau", "stu", "ved", "ki", "tsa", "xau", "jbu", "sny", "stro", "nu", + "uan", "ju", "!i", "ge", "luk", "an", "ar", "at", "es", "et", "bel", "ki", "jaa", "ch", "ki", "gh", "ll", "uu", "wat") // Criminal language. /datum/language/gutter @@ -74,56 +74,56 @@ space_chance = 45 partial_understanding = list(LANGUAGE_GALCOM = 10, LANGUAGE_TRADEBAND = 20, LANGUAGE_SOL_COMMON = 20) syllables = list ( -"gra","ba","ba","breh","bra","rah","dur","ra","ro","gro","go","ber","bar","geh","heh", "gra", -"a", "ai", "an", "ang", "ao", "ba", "bai", "ban", "bang", "bao", "bei", "ben", "beng", "bi", "bian", "biao", -"bie", "bin", "bing", "bo", "bu", "ca", "cai", "can", "cang", "cao", "ce", "cei", "cen", "ceng", "cha", "chai", -"chan", "chang", "chao", "che", "chen", "cheng", "chi", "chong", "chou", "chu", "chua", "chuai", "chuan", "chuang", "chui", "chun", -"chuo", "ci", "cong", "cou", "cu", "cuan", "cui", "cun", "cuo", "da", "dai", "dan", "dang", "dao", "de", "dei", -"den", "deng", "di", "dian", "diao", "die", "ding", "diu", "dong", "dou", "du", "duan", "dui", "dun", "duo", "e", -"ei", "en", "er", "fa", "fan", "fang", "fei", "fen", "feng", "fo", "fou", "fu", "ga", "gai", "gan", "gang", -"gao", "ge", "gei", "gen", "geng", "gong", "gou", "gu", "gua", "guai", "guan", "guang", "gui", "gun", "guo", "ha", -"hai", "han", "hang", "hao", "he", "hei", "hen", "heng", "hm", "hng", "hong", "hou", "hu", "hua", "huai", "huan", -"huang", "hui", "hun", "huo", "ji", "jia", "jian", "jiang", "jiao", "jie", "jin", "jing", "jiong", "jiu", "ju", "juan", -"jue", "jun", "ka", "kai", "kan", "kang", "kao", "ke", "kei", "ken", "keng", "kong", "kou", "ku", "kua", "kuai", -"kuan", "kuang", "kui", "kun", "kuo", "la", "lai", "lan", "lang", "lao", "le", "lei", "leng", "li", "lia", "lian", -"liang", "liao", "lie", "lin", "ling", "liu", "long", "lou", "lu", "luan", "lun", "luo", "ma", "mai", "man", "mang", -"mao", "me", "mei", "men", "meng", "mi", "mian", "miao", "mie", "min", "ming", "miu", "mo", "mou", "mu", "na", -"nai", "nan", "nang", "nao", "ne", "nei", "nen", "neng", "ng", "ni", "nian", "niang", "niao", "nie", "nin", "ning", -"niu", "nong", "nou", "nu", "nuan", "nuo", "o", "ou", "pa", "pai", "pan", "pang", "pao", "pei", "pen", "peng", -"pi", "pian", "piao", "pie", "pin", "ping", "po", "pou", "pu", "qi", "qia", "qian", "qiang", "qiao", "qie", "qin", -"qing", "qiong", "qiu", "qu", "quan", "que", "qun", "ran", "rang", "rao", "re", "ren", "reng", "ri", "rong", "rou", -"ru", "rua", "ruan", "rui", "run", "ruo", "sa", "sai", "san", "sang", "sao", "se", "sei", "sen", "seng", "sha", -"shai", "shan", "shang", "shao", "she", "shei", "shen", "sheng", "shi", "shou", "shu", "shua", "shuai", "shuan", "shuang", "shui", -"shun", "shuo", "si", "song", "sou", "su", "suan", "sui", "sun", "suo", "ta", "tai", "tan", "tang", "tao", "te", -"teng", "ti", "tian", "tiao", "tie", "ting", "tong", "tou", "tu", "tuan", "tui", "tun", "tuo", "wa", "wai", "wan", -"wang", "wei", "wen", "weng", "wo", "wu", "xi", "xia", "xian", "xiang", "xiao", "xie", "xin", "xing", "xiong", "xiu", -"xu", "xuan", "xue", "xun", "ya", "yan", "yang", "yao", "ye", "yi", "yin", "ying", "yong", "you", "yu", "yuan", -"yue", "yun", "za", "zai", "zan", "zang", "zao", "ze", "zei", "zen", "zeng", "zha", "zhai", "zhan", "zhang", "zhao", -"zhe", "zhei", "zhen", "zheng", "zhi", "zhong", "zhou", "zhu", "zhua", "zhuai", "zhuan", "zhuang", "zhui", "zhun", "zhuo", "zi", -"zong", "zou", "zuan", "zui", "zun", "zuo", "zu", "al", "an", "ar", "as", "at", "ea", "ed", "en", "er", "es", "ha", "he", "hi", "in", "is", "it", -"le", "me", "nd", "ne", "ng", "nt", "on", "or", "ou", "re", "se", "st", "te", "th", "ti", "to", -"ve", "wa", "all", "and", "are", "but", "ent", "era", "ere", "eve", "for", "had", "hat", "hen", "her", "hin", -"his", "ing", "ion", "ith", "not", "ome", "oul", "our", "sho", "ted", "ter", "tha", "the", "thi", -"al", "an", "ar", "as", "at", "ea", "ed", "en", "er", "es", "ha", "he", "hi", "in", "is", "it", -"le", "me", "nd", "ne", "ng", "nt", "on", "or", "ou", "re", "se", "st", "te", "th", "ti", "to", -"ve", "wa", "all", "and", "are", "but", "ent", "era", "ere", "eve", "for", "had", "hat", "hen", "her", "hin", -"his", "ing", "ion", "ith", "not", "ome", "oul", "our", "sho", "ted", "ter", "tha", "the", "thi", -"al", "an", "ar", "as", "at", "ea", "ed", "en", "er", "es", "ha", "he", "hi", "in", "is", "it", -"le", "me", "nd", "ne", "ng", "nt", "on", "or", "ou", "re", "se", "st", "te", "th", "ti", "to", -"ve", "wa", "all", "and", "are", "but", "ent", "era", "ere", "eve", "for", "had", "hat", "hen", "her", "hin", -"his", "ing", "ion", "ith", "not", "ome", "oul", "our", "sho", "ted", "ter", "tha", "the", "thi", -"al", "an", "ar", "as", "at", "ea", "ed", "en", "er", "es", "ha", "he", "hi", "in", "is", "it", -"le", "me", "nd", "ne", "ng", "nt", "on", "or", "ou", "re", "se", "st", "te", "th", "ti", "to", -"ve", "wa", "all", "and", "are", "but", "ent", "era", "ere", "eve", "for", "had", "hat", "hen", "her", "hin", -"his", "ing", "ion", "ith", "not", "ome", "oul", "our", "sho", "ted", "ter", "tha", "the", "thi", -"al", "an", "ar", "as", "at", "ea", "ed", "en", "er", "es", "ha", "he", "hi", "in", "is", "it", -"le", "me", "nd", "ne", "ng", "nt", "on", "or", "ou", "re", "se", "st", "te", "th", "ti", "to", -"ve", "wa", "all", "and", "are", "but", "ent", "era", "ere", "eve", "for", "had", "hat", "hen", "her", "hin", -"his", "ing", "ion", "ith", "not", "ome", "oul", "our", "sho", "ted", "ter", "tha", "the", "thi", -"al", "an", "ar", "as", "at", "ea", "ed", "en", "er", "es", "ha", "he", "hi", "in", "is", "it", -"le", "me", "nd", "ne", "ng", "nt", "on", "or", "ou", "re", "se", "st", "te", "th", "ti", "to", -"ve", "wa", "all", "and", "are", "but", "ent", "era", "ere", "eve", "for", "had", "hat", "hen", "her", "hin", -"his", "ing", "ion", "ith", "not", "ome", "oul", "our", "sho", "ted", "ter", "tha", "the", "thi") + "gra","ba","ba","breh","bra","rah","dur","ra","ro","gro","go","ber","bar","geh","heh", "gra", + "a", "ai", "an", "ang", "ao", "ba", "bai", "ban", "bang", "bao", "bei", "ben", "beng", "bi", "bian", "biao", + "bie", "bin", "bing", "bo", "bu", "ca", "cai", "can", "cang", "cao", "ce", "cei", "cen", "ceng", "cha", "chai", + "chan", "chang", "chao", "che", "chen", "cheng", "chi", "chong", "chou", "chu", "chua", "chuai", "chuan", "chuang", "chui", "chun", + "chuo", "ci", "cong", "cou", "cu", "cuan", "cui", "cun", "cuo", "da", "dai", "dan", "dang", "dao", "de", "dei", + "den", "deng", "di", "dian", "diao", "die", "ding", "diu", "dong", "dou", "du", "duan", "dui", "dun", "duo", "e", + "ei", "en", "er", "fa", "fan", "fang", "fei", "fen", "feng", "fo", "fou", "fu", "ga", "gai", "gan", "gang", + "gao", "ge", "gei", "gen", "geng", "gong", "gou", "gu", "gua", "guai", "guan", "guang", "gui", "gun", "guo", "ha", + "hai", "han", "hang", "hao", "he", "hei", "hen", "heng", "hm", "hng", "hong", "hou", "hu", "hua", "huai", "huan", + "huang", "hui", "hun", "huo", "ji", "jia", "jian", "jiang", "jiao", "jie", "jin", "jing", "jiong", "jiu", "ju", "juan", + "jue", "jun", "ka", "kai", "kan", "kang", "kao", "ke", "kei", "ken", "keng", "kong", "kou", "ku", "kua", "kuai", + "kuan", "kuang", "kui", "kun", "kuo", "la", "lai", "lan", "lang", "lao", "le", "lei", "leng", "li", "lia", "lian", + "liang", "liao", "lie", "lin", "ling", "liu", "long", "lou", "lu", "luan", "lun", "luo", "ma", "mai", "man", "mang", + "mao", "me", "mei", "men", "meng", "mi", "mian", "miao", "mie", "min", "ming", "miu", "mo", "mou", "mu", "na", + "nai", "nan", "nang", "nao", "ne", "nei", "nen", "neng", "ng", "ni", "nian", "niang", "niao", "nie", "nin", "ning", + "niu", "nong", "nou", "nu", "nuan", "nuo", "o", "ou", "pa", "pai", "pan", "pang", "pao", "pei", "pen", "peng", + "pi", "pian", "piao", "pie", "pin", "ping", "po", "pou", "pu", "qi", "qia", "qian", "qiang", "qiao", "qie", "qin", + "qing", "qiong", "qiu", "qu", "quan", "que", "qun", "ran", "rang", "rao", "re", "ren", "reng", "ri", "rong", "rou", + "ru", "rua", "ruan", "rui", "run", "ruo", "sa", "sai", "san", "sang", "sao", "se", "sei", "sen", "seng", "sha", + "shai", "shan", "shang", "shao", "she", "shei", "shen", "sheng", "shi", "shou", "shu", "shua", "shuai", "shuan", "shuang", "shui", + "shun", "shuo", "si", "song", "sou", "su", "suan", "sui", "sun", "suo", "ta", "tai", "tan", "tang", "tao", "te", + "teng", "ti", "tian", "tiao", "tie", "ting", "tong", "tou", "tu", "tuan", "tui", "tun", "tuo", "wa", "wai", "wan", + "wang", "wei", "wen", "weng", "wo", "wu", "xi", "xia", "xian", "xiang", "xiao", "xie", "xin", "xing", "xiong", "xiu", + "xu", "xuan", "xue", "xun", "ya", "yan", "yang", "yao", "ye", "yi", "yin", "ying", "yong", "you", "yu", "yuan", + "yue", "yun", "za", "zai", "zan", "zang", "zao", "ze", "zei", "zen", "zeng", "zha", "zhai", "zhan", "zhang", "zhao", + "zhe", "zhei", "zhen", "zheng", "zhi", "zhong", "zhou", "zhu", "zhua", "zhuai", "zhuan", "zhuang", "zhui", "zhun", "zhuo", "zi", + "zong", "zou", "zuan", "zui", "zun", "zuo", "zu", "al", "an", "ar", "as", "at", "ea", "ed", "en", "er", "es", "ha", "he", "hi", "in", "is", "it", + "le", "me", "nd", "ne", "ng", "nt", "on", "or", "ou", "re", "se", "st", "te", "th", "ti", "to", + "ve", "wa", "all", "and", "are", "but", "ent", "era", "ere", "eve", "for", "had", "hat", "hen", "her", "hin", + "his", "ing", "ion", "ith", "not", "ome", "oul", "our", "sho", "ted", "ter", "tha", "the", "thi", + "al", "an", "ar", "as", "at", "ea", "ed", "en", "er", "es", "ha", "he", "hi", "in", "is", "it", + "le", "me", "nd", "ne", "ng", "nt", "on", "or", "ou", "re", "se", "st", "te", "th", "ti", "to", + "ve", "wa", "all", "and", "are", "but", "ent", "era", "ere", "eve", "for", "had", "hat", "hen", "her", "hin", + "his", "ing", "ion", "ith", "not", "ome", "oul", "our", "sho", "ted", "ter", "tha", "the", "thi", + "al", "an", "ar", "as", "at", "ea", "ed", "en", "er", "es", "ha", "he", "hi", "in", "is", "it", + "le", "me", "nd", "ne", "ng", "nt", "on", "or", "ou", "re", "se", "st", "te", "th", "ti", "to", + "ve", "wa", "all", "and", "are", "but", "ent", "era", "ere", "eve", "for", "had", "hat", "hen", "her", "hin", + "his", "ing", "ion", "ith", "not", "ome", "oul", "our", "sho", "ted", "ter", "tha", "the", "thi", + "al", "an", "ar", "as", "at", "ea", "ed", "en", "er", "es", "ha", "he", "hi", "in", "is", "it", + "le", "me", "nd", "ne", "ng", "nt", "on", "or", "ou", "re", "se", "st", "te", "th", "ti", "to", + "ve", "wa", "all", "and", "are", "but", "ent", "era", "ere", "eve", "for", "had", "hat", "hen", "her", "hin", + "his", "ing", "ion", "ith", "not", "ome", "oul", "our", "sho", "ted", "ter", "tha", "the", "thi", + "al", "an", "ar", "as", "at", "ea", "ed", "en", "er", "es", "ha", "he", "hi", "in", "is", "it", + "le", "me", "nd", "ne", "ng", "nt", "on", "or", "ou", "re", "se", "st", "te", "th", "ti", "to", + "ve", "wa", "all", "and", "are", "but", "ent", "era", "ere", "eve", "for", "had", "hat", "hen", "her", "hin", + "his", "ing", "ion", "ith", "not", "ome", "oul", "our", "sho", "ted", "ter", "tha", "the", "thi", + "al", "an", "ar", "as", "at", "ea", "ed", "en", "er", "es", "ha", "he", "hi", "in", "is", "it", + "le", "me", "nd", "ne", "ng", "nt", "on", "or", "ou", "re", "se", "st", "te", "th", "ti", "to", + "ve", "wa", "all", "and", "are", "but", "ent", "era", "ere", "eve", "for", "had", "hat", "hen", "her", "hin", + "his", "ing", "ion", "ith", "not", "ome", "oul", "our", "sho", "ted", "ter", "tha", "the", "thi") /datum/language/sign name = LANGUAGE_SIGN diff --git a/code/modules/mob/language/station.dm b/code/modules/mob/language/station.dm index e38e1a8d37a..575799bfabf 100644 --- a/code/modules/mob/language/station.dm +++ b/code/modules/mob/language/station.dm @@ -35,12 +35,12 @@ space_chance = 40 syllables = list( "za", "az", "ze", "ez", "zi", "iz", "zo", "oz", "zu", "uz", "zs", "sz", - "ha", "ah", "he", "eh", "hi", "ih", "ho", "oh", "hu", "uh", "hs", "sh", - "la", "al", "le", "el", "li", "il", "lo", "ol", "lu", "ul", "ls", "sl", - "ka", "ak", "ke", "ek", "ki", "ik", "ko", "ok", "ku", "uk", "ks", "sk", - "sa", "as", "se", "es", "si", "is", "so", "os", "su", "us", "ss", "ss", - "ra", "ar", "re", "er", "ri", "ir", "ro", "or", "ru", "ur", "rs", "sr", - "a", "a", "e", "e", "i", "i", "o", "o", "u", "u", "s", "s" + "ha", "ah", "he", "eh", "hi", "ih", "ho", "oh", "hu", "uh", "hs", "sh", + "la", "al", "le", "el", "li", "il", "lo", "ol", "lu", "ul", "ls", "sl", + "ka", "ak", "ke", "ek", "ki", "ik", "ko", "ok", "ku", "uk", "ks", "sk", + "sa", "as", "se", "es", "si", "is", "so", "os", "su", "us", "ss", "ss", + "ra", "ar", "re", "er", "ri", "ir", "ro", "or", "ru", "ur", "rs", "sr", + "a", "a", "e", "e", "i", "i", "o", "o", "u", "u", "s", "s" ) /datum/language/unathi/get_random_name() @@ -236,80 +236,80 @@ http://www.chinahighlights.com/travelguide/learning-chinese/pinyin-syllables.htm */ /datum/language/human/syllables = list( -"a", "ai", "an", "ang", "ao", "ba", "bai", "ban", "bang", "bao", "bei", "ben", "beng", "bi", "bian", "biao", -"bie", "bin", "bing", "bo", "bu", "ca", "cai", "can", "cang", "cao", "ce", "cei", "cen", "ceng", "cha", "chai", -"chan", "chang", "chao", "che", "chen", "cheng", "chi", "chong", "chou", "chu", "chua", "chuai", "chuan", "chuang", "chui", "chun", -"chuo", "ci", "cong", "cou", "cu", "cuan", "cui", "cun", "cuo", "da", "dai", "dan", "dang", "dao", "de", "dei", -"den", "deng", "di", "dian", "diao", "die", "ding", "diu", "dong", "dou", "du", "duan", "dui", "dun", "duo", "e", -"ei", "en", "er", "fa", "fan", "fang", "fei", "fen", "feng", "fo", "fou", "fu", "ga", "gai", "gan", "gang", -"gao", "ge", "gei", "gen", "geng", "gong", "gou", "gu", "gua", "guai", "guan", "guang", "gui", "gun", "guo", "ha", -"hai", "han", "hang", "hao", "he", "hei", "hen", "heng", "hm", "hng", "hong", "hou", "hu", "hua", "huai", "huan", -"huang", "hui", "hun", "huo", "ji", "jia", "jian", "jiang", "jiao", "jie", "jin", "jing", "jiong", "jiu", "ju", "juan", -"jue", "jun", "ka", "kai", "kan", "kang", "kao", "ke", "kei", "ken", "keng", "kong", "kou", "ku", "kua", "kuai", -"kuan", "kuang", "kui", "kun", "kuo", "la", "lai", "lan", "lang", "lao", "le", "lei", "leng", "li", "lia", "lian", -"liang", "liao", "lie", "lin", "ling", "liu", "long", "lou", "lu", "luan", "lun", "luo", "ma", "mai", "man", "mang", -"mao", "me", "mei", "men", "meng", "mi", "mian", "miao", "mie", "min", "ming", "miu", "mo", "mou", "mu", "na", -"nai", "nan", "nang", "nao", "ne", "nei", "nen", "neng", "ng", "ni", "nian", "niang", "niao", "nie", "nin", "ning", -"niu", "nong", "nou", "nu", "nuan", "nuo", "o", "ou", "pa", "pai", "pan", "pang", "pao", "pei", "pen", "peng", -"pi", "pian", "piao", "pie", "pin", "ping", "po", "pou", "pu", "qi", "qia", "qian", "qiang", "qiao", "qie", "qin", -"qing", "qiong", "qiu", "qu", "quan", "que", "qun", "ran", "rang", "rao", "re", "ren", "reng", "ri", "rong", "rou", -"ru", "rua", "ruan", "rui", "run", "ruo", "sa", "sai", "san", "sang", "sao", "se", "sei", "sen", "seng", "sha", -"shai", "shan", "shang", "shao", "she", "shei", "shen", "sheng", "shi", "shou", "shu", "shua", "shuai", "shuan", "shuang", "shui", -"shun", "shuo", "si", "song", "sou", "su", "suan", "sui", "sun", "suo", "ta", "tai", "tan", "tang", "tao", "te", -"teng", "ti", "tian", "tiao", "tie", "ting", "tong", "tou", "tu", "tuan", "tui", "tun", "tuo", "wa", "wai", "wan", -"wang", "wei", "wen", "weng", "wo", "wu", "xi", "xia", "xian", "xiang", "xiao", "xie", "xin", "xing", "xiong", "xiu", -"xu", "xuan", "xue", "xun", "ya", "yan", "yang", "yao", "ye", "yi", "yin", "ying", "yong", "you", "yu", "yuan", -"yue", "yun", "za", "zai", "zan", "zang", "zao", "ze", "zei", "zen", "zeng", "zha", "zhai", "zhan", "zhang", "zhao", -"zhe", "zhei", "zhen", "zheng", "zhi", "zhong", "zhou", "zhu", "zhua", "zhuai", "zhuan", "zhuang", "zhui", "zhun", "zhuo", "zi", -"zong", "zou", "zuan", "zui", "zun", "zuo", "zu", -"al", "an", "ar", "as", "at", "ea", "ed", "en", "er", "es", "ha", "he", "hi", "in", "is", "it", -"le", "me", "nd", "ne", "ng", "nt", "on", "or", "ou", "re", "se", "st", "te", "th", "ti", "to", -"ve", "wa", "all", "and", "are", "but", "ent", "era", "ere", "eve", "for", "had", "hat", "hen", "her", "hin", -"his", "ing", "ion", "ith", "not", "ome", "oul", "our", "sho", "ted", "ter", "tha", "the", "thi", -"al", "an", "ar", "as", "at", "ea", "ed", "en", "er", "es", "ha", "he", "hi", "in", "is", "it", -"le", "me", "nd", "ne", "ng", "nt", "on", "or", "ou", "re", "se", "st", "te", "th", "ti", "to", -"ve", "wa", "all", "and", "are", "but", "ent", "era", "ere", "eve", "for", "had", "hat", "hen", "her", "hin", -"his", "ing", "ion", "ith", "not", "ome", "oul", "our", "sho", "ted", "ter", "tha", "the", "thi", -"al", "an", "ar", "as", "at", "ea", "ed", "en", "er", "es", "ha", "he", "hi", "in", "is", "it", -"le", "me", "nd", "ne", "ng", "nt", "on", "or", "ou", "re", "se", "st", "te", "th", "ti", "to", -"ve", "wa", "all", "and", "are", "but", "ent", "era", "ere", "eve", "for", "had", "hat", "hen", "her", "hin", -"his", "ing", "ion", "ith", "not", "ome", "oul", "our", "sho", "ted", "ter", "tha", "the", "thi", -"al", "an", "ar", "as", "at", "ea", "ed", "en", "er", "es", "ha", "he", "hi", "in", "is", "it", -"le", "me", "nd", "ne", "ng", "nt", "on", "or", "ou", "re", "se", "st", "te", "th", "ti", "to", -"ve", "wa", "all", "and", "are", "but", "ent", "era", "ere", "eve", "for", "had", "hat", "hen", "her", "hin", -"his", "ing", "ion", "ith", "not", "ome", "oul", "our", "sho", "ted", "ter", "tha", "the", "thi", -"al", "an", "ar", "as", "at", "ea", "ed", "en", "er", "es", "ha", "he", "hi", "in", "is", "it", -"le", "me", "nd", "ne", "ng", "nt", "on", "or", "ou", "re", "se", "st", "te", "th", "ti", "to", -"ve", "wa", "all", "and", "are", "but", "ent", "era", "ere", "eve", "for", "had", "hat", "hen", "her", "hin", -"his", "ing", "ion", "ith", "not", "ome", "oul", "our", "sho", "ted", "ter", "tha", "the", "thi", -"al", "an", "ar", "as", "at", "ea", "ed", "en", "er", "es", "ha", "he", "hi", "in", "is", "it", -"le", "me", "nd", "ne", "ng", "nt", "on", "or", "ou", "re", "se", "st", "te", "th", "ti", "to", -"ve", "wa", "all", "and", "are", "but", "ent", "era", "ere", "eve", "for", "had", "hat", "hen", "her", "hin", -"his", "ing", "ion", "ith", "not", "ome", "oul", "our", "sho", "ted", "ter", "tha", "the", "thi", -"ah", "be", "bo", "eh", "ep", "et", "ka", "ko", "ha", "he", "ho", "ob", "oh", "op", "oc", "ot", "pa", "pe", "ct", "ta", "te", "to", -"vse", "tak", "nak", "no", "epo", "pre", "kan", "dly", "ime", "sha", "kur", "yey", "khi", "yeg", "ne", -"ion", "ne", "nas", "v", -"ah", "be", "bo", "eh", "ep", "et", "ka", "ko", "ha", "he", "ho", "ob", "oh", "op", "oc", "ot", "pa", "pe", "ct", "ta", "te", "to", -"vse", "tak", "nak", "no", "epo", "pre", "kan", "dly", "ime", "sha", "kur", "yey", "khi", "yeg", "ne", -"ion", "ne", "nas", "v", -"ah", "be", "bo", "eh", "ep", "et", "ka", "ko", "ha", "he", "ho", "ob", "oh", "op", "oc", "ot", "pa", "pe", "ct", "ta", "te", "to", -"vse", "tak", "nak", "no", "epo", "pre", "kan", "dly", "ime", "sha", "kur", "yey", "khi", "yeg", "ne", -"ion", "ne", "nas", "v", -"ai", "an", "ar", "au", "ce", "ch", "co", "de", "em", "en", "er", "es", "et", "eu", "il", "in", "is", "la", "le", -"ma", "me", "ne", "ns", "nt", "on", "ou", "pa", "qu", "ra", "re", "se", "te", "ti", "tr", "ue", "ur", "us", "ve", -"tou", "e", "eve", "hen", "son", "non", "not", "le", -"ai", "an", "ar", "au", "ce", "ch", "co", "de", "em", "en", "er", "es", "et", "eu", "il", "in", "is", "la", "le", -"ma", "me", "ne", "ns", "nt", "on", "ou", "pa", "qu", "ra", "re", "se", "te", "ti", "tr", "ue", "ur", "us", "ve", -"tou", "e", "eve", "hen", "son", "non", "not", "le", -"ai", "an", "ar", "au", "ce", "ch", "co", "de", "em", "en", "er", "es", "et", "eu", "il", "in", "is", "la", "le", -"ma", "me", "ne", "ns", "nt", "on", "ou", "pa", "qu", "ra", "re", "se", "te", "ti", "tr", "ue", "ur", "us", "ve", -"tou", "e", "eve", "hen", "son", "non", "not", "le", -"ad", "al", "an", "ar", "as", "ci", "co", "de", "do", "el", "en", "er", "es", "ie", "in", "la", "lo", "me", "na", -"no", "nt", "or", "os", "pa", "qu", "ra", "re", "ro", "se", "st", "ta", "te", "to", "ue", "un", -"tod", "ser", "su", "no", "nue", "el", -"ad", "al", "an", "ar", "as", "ci", "co", "de", "do", "el", "en", "er", "es", "ie", "in", "la", "lo", "me", "na", -"no", "nt", "or", "os", "pa", "qu", "ra", "re", "ro", "se", "st", "ta", "te", "to", "ue", "un", -"tod", "ser", "su", "no", "nue", "el", -"ad", "al", "an", "ar", "as", "ci", "co", "de", "do", "el", "en", "er", "es", "ie", "in", "la", "lo", "me", "na", -"no", "nt", "or", "os", "pa", "qu", "ra", "re", "ro", "se", "st", "ta", "te", "to", "ue", "un", -"tod", "ser", "su", "no", "nue", "el") + "a", "ai", "an", "ang", "ao", "ba", "bai", "ban", "bang", "bao", "bei", "ben", "beng", "bi", "bian", "biao", + "bie", "bin", "bing", "bo", "bu", "ca", "cai", "can", "cang", "cao", "ce", "cei", "cen", "ceng", "cha", "chai", + "chan", "chang", "chao", "che", "chen", "cheng", "chi", "chong", "chou", "chu", "chua", "chuai", "chuan", "chuang", "chui", "chun", + "chuo", "ci", "cong", "cou", "cu", "cuan", "cui", "cun", "cuo", "da", "dai", "dan", "dang", "dao", "de", "dei", + "den", "deng", "di", "dian", "diao", "die", "ding", "diu", "dong", "dou", "du", "duan", "dui", "dun", "duo", "e", + "ei", "en", "er", "fa", "fan", "fang", "fei", "fen", "feng", "fo", "fou", "fu", "ga", "gai", "gan", "gang", + "gao", "ge", "gei", "gen", "geng", "gong", "gou", "gu", "gua", "guai", "guan", "guang", "gui", "gun", "guo", "ha", + "hai", "han", "hang", "hao", "he", "hei", "hen", "heng", "hm", "hng", "hong", "hou", "hu", "hua", "huai", "huan", + "huang", "hui", "hun", "huo", "ji", "jia", "jian", "jiang", "jiao", "jie", "jin", "jing", "jiong", "jiu", "ju", "juan", + "jue", "jun", "ka", "kai", "kan", "kang", "kao", "ke", "kei", "ken", "keng", "kong", "kou", "ku", "kua", "kuai", + "kuan", "kuang", "kui", "kun", "kuo", "la", "lai", "lan", "lang", "lao", "le", "lei", "leng", "li", "lia", "lian", + "liang", "liao", "lie", "lin", "ling", "liu", "long", "lou", "lu", "luan", "lun", "luo", "ma", "mai", "man", "mang", + "mao", "me", "mei", "men", "meng", "mi", "mian", "miao", "mie", "min", "ming", "miu", "mo", "mou", "mu", "na", + "nai", "nan", "nang", "nao", "ne", "nei", "nen", "neng", "ng", "ni", "nian", "niang", "niao", "nie", "nin", "ning", + "niu", "nong", "nou", "nu", "nuan", "nuo", "o", "ou", "pa", "pai", "pan", "pang", "pao", "pei", "pen", "peng", + "pi", "pian", "piao", "pie", "pin", "ping", "po", "pou", "pu", "qi", "qia", "qian", "qiang", "qiao", "qie", "qin", + "qing", "qiong", "qiu", "qu", "quan", "que", "qun", "ran", "rang", "rao", "re", "ren", "reng", "ri", "rong", "rou", + "ru", "rua", "ruan", "rui", "run", "ruo", "sa", "sai", "san", "sang", "sao", "se", "sei", "sen", "seng", "sha", + "shai", "shan", "shang", "shao", "she", "shei", "shen", "sheng", "shi", "shou", "shu", "shua", "shuai", "shuan", "shuang", "shui", + "shun", "shuo", "si", "song", "sou", "su", "suan", "sui", "sun", "suo", "ta", "tai", "tan", "tang", "tao", "te", + "teng", "ti", "tian", "tiao", "tie", "ting", "tong", "tou", "tu", "tuan", "tui", "tun", "tuo", "wa", "wai", "wan", + "wang", "wei", "wen", "weng", "wo", "wu", "xi", "xia", "xian", "xiang", "xiao", "xie", "xin", "xing", "xiong", "xiu", + "xu", "xuan", "xue", "xun", "ya", "yan", "yang", "yao", "ye", "yi", "yin", "ying", "yong", "you", "yu", "yuan", + "yue", "yun", "za", "zai", "zan", "zang", "zao", "ze", "zei", "zen", "zeng", "zha", "zhai", "zhan", "zhang", "zhao", + "zhe", "zhei", "zhen", "zheng", "zhi", "zhong", "zhou", "zhu", "zhua", "zhuai", "zhuan", "zhuang", "zhui", "zhun", "zhuo", "zi", + "zong", "zou", "zuan", "zui", "zun", "zuo", "zu", + "al", "an", "ar", "as", "at", "ea", "ed", "en", "er", "es", "ha", "he", "hi", "in", "is", "it", + "le", "me", "nd", "ne", "ng", "nt", "on", "or", "ou", "re", "se", "st", "te", "th", "ti", "to", + "ve", "wa", "all", "and", "are", "but", "ent", "era", "ere", "eve", "for", "had", "hat", "hen", "her", "hin", + "his", "ing", "ion", "ith", "not", "ome", "oul", "our", "sho", "ted", "ter", "tha", "the", "thi", + "al", "an", "ar", "as", "at", "ea", "ed", "en", "er", "es", "ha", "he", "hi", "in", "is", "it", + "le", "me", "nd", "ne", "ng", "nt", "on", "or", "ou", "re", "se", "st", "te", "th", "ti", "to", + "ve", "wa", "all", "and", "are", "but", "ent", "era", "ere", "eve", "for", "had", "hat", "hen", "her", "hin", + "his", "ing", "ion", "ith", "not", "ome", "oul", "our", "sho", "ted", "ter", "tha", "the", "thi", + "al", "an", "ar", "as", "at", "ea", "ed", "en", "er", "es", "ha", "he", "hi", "in", "is", "it", + "le", "me", "nd", "ne", "ng", "nt", "on", "or", "ou", "re", "se", "st", "te", "th", "ti", "to", + "ve", "wa", "all", "and", "are", "but", "ent", "era", "ere", "eve", "for", "had", "hat", "hen", "her", "hin", + "his", "ing", "ion", "ith", "not", "ome", "oul", "our", "sho", "ted", "ter", "tha", "the", "thi", + "al", "an", "ar", "as", "at", "ea", "ed", "en", "er", "es", "ha", "he", "hi", "in", "is", "it", + "le", "me", "nd", "ne", "ng", "nt", "on", "or", "ou", "re", "se", "st", "te", "th", "ti", "to", + "ve", "wa", "all", "and", "are", "but", "ent", "era", "ere", "eve", "for", "had", "hat", "hen", "her", "hin", + "his", "ing", "ion", "ith", "not", "ome", "oul", "our", "sho", "ted", "ter", "tha", "the", "thi", + "al", "an", "ar", "as", "at", "ea", "ed", "en", "er", "es", "ha", "he", "hi", "in", "is", "it", + "le", "me", "nd", "ne", "ng", "nt", "on", "or", "ou", "re", "se", "st", "te", "th", "ti", "to", + "ve", "wa", "all", "and", "are", "but", "ent", "era", "ere", "eve", "for", "had", "hat", "hen", "her", "hin", + "his", "ing", "ion", "ith", "not", "ome", "oul", "our", "sho", "ted", "ter", "tha", "the", "thi", + "al", "an", "ar", "as", "at", "ea", "ed", "en", "er", "es", "ha", "he", "hi", "in", "is", "it", + "le", "me", "nd", "ne", "ng", "nt", "on", "or", "ou", "re", "se", "st", "te", "th", "ti", "to", + "ve", "wa", "all", "and", "are", "but", "ent", "era", "ere", "eve", "for", "had", "hat", "hen", "her", "hin", + "his", "ing", "ion", "ith", "not", "ome", "oul", "our", "sho", "ted", "ter", "tha", "the", "thi", + "ah", "be", "bo", "eh", "ep", "et", "ka", "ko", "ha", "he", "ho", "ob", "oh", "op", "oc", "ot", "pa", "pe", "ct", "ta", "te", "to", + "vse", "tak", "nak", "no", "epo", "pre", "kan", "dly", "ime", "sha", "kur", "yey", "khi", "yeg", "ne", + "ion", "ne", "nas", "v", + "ah", "be", "bo", "eh", "ep", "et", "ka", "ko", "ha", "he", "ho", "ob", "oh", "op", "oc", "ot", "pa", "pe", "ct", "ta", "te", "to", + "vse", "tak", "nak", "no", "epo", "pre", "kan", "dly", "ime", "sha", "kur", "yey", "khi", "yeg", "ne", + "ion", "ne", "nas", "v", + "ah", "be", "bo", "eh", "ep", "et", "ka", "ko", "ha", "he", "ho", "ob", "oh", "op", "oc", "ot", "pa", "pe", "ct", "ta", "te", "to", + "vse", "tak", "nak", "no", "epo", "pre", "kan", "dly", "ime", "sha", "kur", "yey", "khi", "yeg", "ne", + "ion", "ne", "nas", "v", + "ai", "an", "ar", "au", "ce", "ch", "co", "de", "em", "en", "er", "es", "et", "eu", "il", "in", "is", "la", "le", + "ma", "me", "ne", "ns", "nt", "on", "ou", "pa", "qu", "ra", "re", "se", "te", "ti", "tr", "ue", "ur", "us", "ve", + "tou", "e", "eve", "hen", "son", "non", "not", "le", + "ai", "an", "ar", "au", "ce", "ch", "co", "de", "em", "en", "er", "es", "et", "eu", "il", "in", "is", "la", "le", + "ma", "me", "ne", "ns", "nt", "on", "ou", "pa", "qu", "ra", "re", "se", "te", "ti", "tr", "ue", "ur", "us", "ve", + "tou", "e", "eve", "hen", "son", "non", "not", "le", + "ai", "an", "ar", "au", "ce", "ch", "co", "de", "em", "en", "er", "es", "et", "eu", "il", "in", "is", "la", "le", + "ma", "me", "ne", "ns", "nt", "on", "ou", "pa", "qu", "ra", "re", "se", "te", "ti", "tr", "ue", "ur", "us", "ve", + "tou", "e", "eve", "hen", "son", "non", "not", "le", + "ad", "al", "an", "ar", "as", "ci", "co", "de", "do", "el", "en", "er", "es", "ie", "in", "la", "lo", "me", "na", + "no", "nt", "or", "os", "pa", "qu", "ra", "re", "ro", "se", "st", "ta", "te", "to", "ue", "un", + "tod", "ser", "su", "no", "nue", "el", + "ad", "al", "an", "ar", "as", "ci", "co", "de", "do", "el", "en", "er", "es", "ie", "in", "la", "lo", "me", "na", + "no", "nt", "or", "os", "pa", "qu", "ra", "re", "ro", "se", "st", "ta", "te", "to", "ue", "un", + "tod", "ser", "su", "no", "nue", "el", + "ad", "al", "an", "ar", "as", "ci", "co", "de", "do", "el", "en", "er", "es", "ie", "in", "la", "lo", "me", "na", + "no", "nt", "or", "os", "pa", "qu", "ra", "re", "ro", "se", "st", "ta", "te", "to", "ue", "un", + "tod", "ser", "su", "no", "nue", "el") diff --git a/code/modules/mob/living/carbon/alien/diona/life.dm b/code/modules/mob/living/carbon/alien/diona/life.dm index fe97e96674f..f03b5e3cae7 100644 --- a/code/modules/mob/living/carbon/alien/diona/life.dm +++ b/code/modules/mob/living/carbon/alien/diona/life.dm @@ -15,5 +15,5 @@ adjustOxyLoss(-1) - if(!client) - handle_npc(src) + if(!client) + handle_npc(src) diff --git a/code/modules/mob/living/carbon/human/human_modular_limbs.dm b/code/modules/mob/living/carbon/human/human_modular_limbs.dm index 144a14661a0..2c64195a44e 100644 --- a/code/modules/mob/living/carbon/human/human_modular_limbs.dm +++ b/code/modules/mob/living/carbon/human/human_modular_limbs.dm @@ -1,10 +1,10 @@ -/* - A system for easily and quickly removing your own bodyparts, with a view towards - swapping them out for new ones, or just doing it as a party trick to horrify an - audience. Current implementation only supports robolimbs and uses a modular_bodypart - value on the manufacturer datum, but I have tried to keep it generic for future work. - PS. jesus christ this was meant to be a half an hour port -*/ +/** + * A system for easily and quickly removing your own bodyparts, with a view towards + * swapping them out for new ones, or just doing it as a party trick to horrify an + * audience. Current implementation only supports robolimbs and uses a modular_bodypart + * value on the manufacturer datum, but I have tried to keep it generic for future work. + * PS. jesus christ this was meant to be a half an hour port + */ // External organ procs: // Does this bodypart count as a modular limb, and if so, what kind? diff --git a/code/modules/mob/living/carbon/human/species/station/protean/protean_rig.dm b/code/modules/mob/living/carbon/human/species/station/protean/protean_rig.dm index 8a181ccfa95..6d38cce5ad5 100644 --- a/code/modules/mob/living/carbon/human/species/station/protean/protean_rig.dm +++ b/code/modules/mob/living/carbon/human/species/station/protean/protean_rig.dm @@ -1,6 +1,6 @@ -/* - proteans -*/ +/** + * proteans + */ /obj/item/rig/protean name = "nanosuit control cluster" suit_type = "nanomachine" diff --git a/code/modules/mob/living/silicon/robot/robot_movement.dm b/code/modules/mob/living/silicon/robot/robot_movement.dm index f826c37f876..1a8714c29a6 100644 --- a/code/modules/mob/living/silicon/robot/robot_movement.dm +++ b/code/modules/mob/living/silicon/robot/robot_movement.dm @@ -25,7 +25,7 @@ return 0 - //No longer needed, but I'll leave it here incase we plan to re-use it. +//No longer needed, but I'll leave it here incase we plan to re-use it. /mob/living/silicon/robot/movement_delay() . = speed diff --git a/code/modules/mob/living/simple_mob/subtypes/vore/zz_vore_overrides.dm b/code/modules/mob/living/simple_mob/subtypes/vore/zz_vore_overrides.dm index 6129996e836..2e381f8e042 100644 --- a/code/modules/mob/living/simple_mob/subtypes/vore/zz_vore_overrides.dm +++ b/code/modules/mob/living/simple_mob/subtypes/vore/zz_vore_overrides.dm @@ -2,22 +2,22 @@ // This file overrides settings on upstream simple animals to turn on vore behavior // -/* -## For anything that previously inhertited from: /mob/living/simple_mob/hostile/vore ## - - vore_active = 1 - icon = 'icons/mob/vore.dmi' - -## For anything that previously inhertied from: /mob/living/simple_mob/hostile/vore/large ## - - vore_active = 1 - icon = 'icons/mob/vore64x64.dmi' - old_x = -16 - old_y = -16 - pixel_x = -16 - pixel_y = -16 - vore_pounce_chance = 50 -*/ +/** + * ## For anything that previously inhertited from: /mob/living/simple_mob/hostile/vore ## + * + * vore_active = 1 + * icon = 'icons/mob/vore.dmi' + * + * ## For anything that previously inhertied from: /mob/living/simple_mob/hostile/vore/large ## + * + * vore_active = 1 + * icon = 'icons/mob/vore64x64.dmi' + * old_x = -16 + * old_y = -16 + * pixel_x = -16 + * pixel_y = -16 + * vore_pounce_chance = 50 + */ // // Okay! Here we go! diff --git a/code/modules/mob/mob.dm b/code/modules/mob/mob.dm index 32324de18ba..4e585a8dce6 100644 --- a/code/modules/mob/mob.dm +++ b/code/modules/mob/mob.dm @@ -132,7 +132,7 @@ /atom/proc/drain_power(var/drain_check,var/surge, var/amount = 0) return -1 - // used for petrification machines +// used for petrification machines /atom/proc/get_ultimate_mob() var/mob/ultimate_mob var/atom/to_check = loc diff --git a/code/modules/nano/nanoexternal.dm b/code/modules/nano/nanoexternal.dm index fa22cb1580b..88576d94ca6 100644 --- a/code/modules/nano/nanoexternal.dm +++ b/code/modules/nano/nanoexternal.dm @@ -1,12 +1,12 @@ - // This file contains all Nano procs/definitions for external classes/objects +// This file contains all Nano procs/definitions for external classes/objects - /** - * Called when a Nano UI window is closed - * This is how Nano handles closed windows - * It must be a verb so that it can be called using winset - * - * @return nothing - */ +/** + * Called when a Nano UI window is closed + * This is how Nano handles closed windows + * It must be a verb so that it can be called using winset + * + * @return nothing + */ /client/verb/nanoclose(var/uiref as text) set hidden = 1 // hide this verb from the user's panel set name = "nanoclose" @@ -25,18 +25,18 @@ if(src && src.mob) src.mob.unset_machine() - /** - * The ui_interact proc is used to open and update Nano UIs - * If ui_interact is not used then the UI will not update correctly - * ui_interact is currently defined for /atom/movable - * - * @param user /mob The mob who is interacting with this ui - * @param ui_key string A string key to use for this ui. Allows for multiple unique uis on one obj/mob (defaut value "main") - * @param ui /datum/nanoui This parameter is passed by the nanoui process() proc when updating an open ui - * @param force_open boolean Force the UI to (re)open, even if it's already open - * - * @return nothing - */ +/** + * The ui_interact proc is used to open and update Nano UIs + * If ui_interact is not used then the UI will not update correctly + * ui_interact is currently defined for /atom/movable + * + * @param user /mob The mob who is interacting with this ui + * @param ui_key string A string key to use for this ui. Allows for multiple unique uis on one obj/mob (defaut value "main") + * @param ui /datum/nanoui This parameter is passed by the nanoui process() proc when updating an open ui + * @param force_open boolean Force the UI to (re)open, even if it's already open + * + * @return nothing + */ /datum/proc/ui_interact(mob/user, ui_key = "main", var/datum/nanoui/ui = null, var/force_open = 1, master_ui = null, var/datum/topic_state/state = default_state) return diff --git a/code/modules/persistence/serialize.dm b/code/modules/persistence/serialize.dm index 050348378b3..dbd0ceb1a74 100644 --- a/code/modules/persistence/serialize.dm +++ b/code/modules/persistence/serialize.dm @@ -28,11 +28,11 @@ // This is so specific atoms can override these, and ignore certain ones /atom/proc/vars_to_save() - return list("color","dir","icon","icon_state","name","pixel_x","pixel_y") + return list("color","dir","icon","icon_state","name","pixel_x","pixel_y") /atom/proc/map_important_vars() // A list of important things to save in the map editor - return list("color","dir","icon","icon_state","layer","name","pixel_x","pixel_y") + return list("color","dir","icon","icon_state","layer","name","pixel_x","pixel_y") /area/map_important_vars() // Keep the area default icons, to keep things nice and legible diff --git a/code/modules/power/cable.dm b/code/modules/power/cable.dm index a572e1dcd92..a775df514de 100644 --- a/code/modules/power/cable.dm +++ b/code/modules/power/cable.dm @@ -7,14 +7,14 @@ // Definitions //////////////////////////////// -/* Cable directions (d1 and d2) - - - 9 1 5 - \ | / - 8 - 0 - 4, - / | \ - 10 2 6 +/** Cable directions (d1 and d2) + * + * + * 9 1 5 + * \ | / + * 8 - 0 - 4, + * / | \ + * 10 2 6 If d1 = 0 and d2 = 0, there's no cable If d1 = 0 and d2 = dir, it's a O-X cable, getting from the center of the tile to dir (knot cable) diff --git a/code/modules/power/singularity/field_generator.dm b/code/modules/power/singularity/field_generator.dm index 63db2469fbc..c75ab55c8ce 100644 --- a/code/modules/power/singularity/field_generator.dm +++ b/code/modules/power/singularity/field_generator.dm @@ -1,16 +1,16 @@ //This file was auto-corrected by findeclaration.exe on 25.5.2012 20:42:33 -/* -field_generator power level display - The icon used for the field_generator need to have 'num_power_levels' number of icon states - named 'Field_Gen +p[num]' where 'num' ranges from 1 to 'num_power_levels' - - The power level is displayed using overlays. The current displayed power level is stored in 'powerlevel'. - The overlay in use and the powerlevel variable must be kept in sync. A powerlevel equal to 0 means that - no power level overlay is currently in the overlays list. - -Aygar -*/ +/** + * field_generator power level display + * The icon used for the field_generator need to have 'num_power_levels' number of icon states + * named 'Field_Gen +p[num]' where 'num' ranges from 1 to 'num_power_levels' + * + * The power level is displayed using overlays. The current displayed power level is stored in 'powerlevel'. + * The overlay in use and the powerlevel variable must be kept in sync. A powerlevel equal to 0 means that + * no power level overlay is currently in the overlays list. + * -Aygar + */ #define field_generator_max_power 250000 /obj/machinery/field_generator diff --git a/code/modules/power/singularity/particle_accelerator/particle_accelerator.dm b/code/modules/power/singularity/particle_accelerator/particle_accelerator.dm index 1070982e650..fd4550ea73e 100644 --- a/code/modules/power/singularity/particle_accelerator/particle_accelerator.dm +++ b/code/modules/power/singularity/particle_accelerator/particle_accelerator.dm @@ -33,11 +33,11 @@ proc process() check_build() -Setup map - |EC| -CC|FC| - |PB| -PE|PE|PE + * Setup map + * |EC| + * CC|FC| + * |PB| + * PE|PE|PE Icon Addemdum diff --git a/code/modules/random_map/noise/noise.dm b/code/modules/random_map/noise/noise.dm index c500a189c23..58a94761fd2 100644 --- a/code/modules/random_map/noise/noise.dm +++ b/code/modules/random_map/noise/noise.dm @@ -59,15 +59,15 @@ var/hsize = round(input_size/2) /* - (x,y+isize)----(x+hsize,y+isize)----(x+size,y+isize) - | | | - | | | - | | | - (x,y+hsize)----(x+hsize,y+hsize)----(x+isize,y) - | | | - | | | - | | | - (x,y)----------(x+hsize,y)----------(x+isize,y) + * (x,y+isize)----(x+hsize,y+isize)----(x+size,y+isize) + * | | | + * | | | + * | | | + * (x,y+hsize)----(x+hsize,y+hsize)----(x+isize,y) + * | | | + * | | | + * | | | + * (x,y)----------(x+hsize,y)----------(x+isize,y) */ // Central edge values become average of corners. map[TRANSLATE_COORD(x+hsize,y+isize)] = round((\ @@ -103,7 +103,7 @@ map[current_cell] *= (rand(1,2)==1 ? (1.0-random_element) : (1.0+random_element)) map[current_cell] = max(0,min(cell_range,map[current_cell])) - // Recurse until size is too small to subdivide. + // Recurse until size is too small to subdivide. if(isize>3) if(!priority_process) CHECK_TICK diff --git a/code/modules/reagents/machinery/chem_master.dm b/code/modules/reagents/machinery/chem_master.dm index c5d193521f1..4efc642d3b4 100644 --- a/code/modules/reagents/machinery/chem_master.dm +++ b/code/modules/reagents/machinery/chem_master.dm @@ -132,12 +132,12 @@ return data /** - * Called in tgui_act() to process modal actions - * - * Arguments: - * * action - The action passed by tgui - * * params - The params passed by tgui - */ + * Called in tgui_act() to process modal actions + * + * Arguments: + * * action - The action passed by tgui + * * params - The params passed by tgui + */ /obj/machinery/chem_master/proc/tgui_act_modal(action, params, datum/tgui/ui, datum/tgui_state/state) . = TRUE var/id = params["id"] // The modal's ID diff --git a/code/modules/resleeving/computers.dm b/code/modules/resleeving/computers.dm index 102432737f0..0ec0973fdb6 100644 --- a/code/modules/resleeving/computers.dm +++ b/code/modules/resleeving/computers.dm @@ -507,12 +507,12 @@ var/list/datum/transhuman/mind_record/stored = list() /** - * Sets a temporary message to display to the user - * - * Arguments: - * * text - Text to display, null/empty to clear the message from the UI - * * style - The style of the message: (color name), info, success, warning, danger - */ + * Sets a temporary message to display to the user + * + * Arguments: + * * text - Text to display, null/empty to clear the message from the UI + * * style - The style of the message: (color name), info, success, warning, danger + */ /obj/machinery/computer/transhuman/resleeving/proc/set_temp(text = "", style = "info", update_now = FALSE) temp = list(text = text, style = style) if(update_now) diff --git a/code/modules/rogueminer_vr/wrappers.dm b/code/modules/rogueminer_vr/wrappers.dm index d9d456a4050..d3ac1af6f08 100644 --- a/code/modules/rogueminer_vr/wrappers.dm +++ b/code/modules/rogueminer_vr/wrappers.dm @@ -112,21 +112,21 @@ */ //Sure, I could probably do this with math. But I'm tired. /* - S1 300 - ----------------------------------- - |015/285 135/285|166/285 285/285| - | | |S - | A3 | A4 |2 - | | | -0|015/166 135/166|166/166 285/166|3 -0|---------------------------------|0 -0|015/135 135/135|166/135 285/135|0 - | | | -S| A1 | A2 | -4| | | - |015/015 135/015|166/015 285/015| - ----------------------------------- - 000 S3 + * S1 300 + * ----------------------------------- + * |015/285 135/285|166/285 285/285| + * | | |S + * | A3 | A4 |2 + * | | | + * 0|015/166 135/166|166/166 285/166|3 + * 0|---------------------------------|0 + * 0|015/135 135/135|166/135 285/135|0 + * | | | + * S| A1 | A2 | + * 4| | | + * |015/015 135/015|166/015 285/015| + * ----------------------------------- +* 000 S3 */ /* //////////// AREA 1 diff --git a/code/modules/tgui/modal.dm b/code/modules/tgui/modal.dm index 9cc20202ccb..7bc250e380a 100644 --- a/code/modules/tgui/modal.dm +++ b/code/modules/tgui/modal.dm @@ -7,16 +7,16 @@ GLOBAL_LIST(tgui_modals) /** - * Call this from a proc that is called in tgui_act() to process modal actions - * - * Example: /obj/machinery/chem_master/proc/tgui_act_modal - * You can then switch based on the return value and show different - * modals depending on the answer. - * Arguments: - * * source - The source datum - * * action - The called action - * * params - The params to the action - */ + * Call this from a proc that is called in tgui_act() to process modal actions + * + * Example: /obj/machinery/chem_master/proc/tgui_act_modal + * You can then switch based on the return value and show different + * modals depending on the answer. + * Arguments: + * * source - The source datum + * * action - The called action + * * params - The params to the action + */ /datum/proc/tgui_modal_act(datum/source = src, action = "", params) ASSERT(istype(source)) @@ -36,11 +36,11 @@ GLOBAL_LIST(tgui_modals) return TGUI_MODAL_CLOSE /** - * Call this from tgui_data() to return modal information if needed + * Call this from tgui_data() to return modal information if needed - * Arguments: - * * source - The source datum - */ + * Arguments: + * * source - The source datum + */ /datum/proc/tgui_modal_data(datum/source = src) ASSERT(istype(source)) @@ -51,11 +51,11 @@ GLOBAL_LIST(tgui_modals) return current.to_data() /** - * Clears the current modal for a given datum - * - * Arguments: - * * source - The source datum - */ + * Clears the current modal for a given datum + * + * Arguments: + * * source - The source datum + */ /datum/proc/tgui_modal_clear(datum/source = src) ASSERT(istype(source)) @@ -74,15 +74,15 @@ GLOBAL_LIST(tgui_modals) return TRUE /** - * Opens a message TGUI modal - * - * Arguments: - * * source - The source datum - * * id - The ID of the modal - * * text - The text to display above the answers - * * delegate - The proc to call when closed - * * arguments - List of arguments passed to and from JS (mostly useful for chaining modals) - */ + * Opens a message TGUI modal + * + * Arguments: + * * source - The source datum + * * id - The ID of the modal + * * text - The text to display above the answers + * * delegate - The proc to call when closed + * * arguments - List of arguments passed to and from JS (mostly useful for chaining modals) + */ /datum/proc/tgui_modal_message(datum/source = src, id, text = "Default modal message", delegate, arguments) ASSERT(length(id)) @@ -90,17 +90,17 @@ GLOBAL_LIST(tgui_modals) return tgui_modal_new(source, modal) /** - * Opens a text input TGUI modal - * - * Arguments: - * * source - The source datum - * * id - The ID of the modal - * * text - The text to display above the answers - * * delegate - The proc to call when submitted - * * arguments - List of arguments passed to and from JS (mostly useful for chaining modals) - * * value - The default value of the input - * * max_length - The maximum char length of the input - */ + * Opens a text input TGUI modal + * + * Arguments: + * * source - The source datum + * * id - The ID of the modal + * * text - The text to display above the answers + * * delegate - The proc to call when submitted + * * arguments - List of arguments passed to and from JS (mostly useful for chaining modals) + * * value - The default value of the input + * * max_length - The maximum char length of the input + */ /datum/proc/tgui_modal_input(datum/source = src, id, text = "Default modal message", delegate, arguments, value = "", max_length = TGUI_MODAL_INPUT_MAX_LENGTH) ASSERT(length(id)) ASSERT(max_length > 0) @@ -109,18 +109,18 @@ GLOBAL_LIST(tgui_modals) return tgui_modal_new(source, modal) /** - * Opens a dropdown input TGUI modal - * - * Internally checks if the answer is in the list of choices. - * Arguments: - * * source - The source datum - * * id - The ID of the modal - * * text - The text to display above the answers - * * delegate - The proc to call when submitted - * * arguments - List of arguments passed to and from JS (mostly useful for chaining modals) - * * value - The default value of the dropdown - * * choices - The list of available choices in the dropdown - */ + * Opens a dropdown input TGUI modal + * + * Internally checks if the answer is in the list of choices. + * Arguments: + * * source - The source datum + * * id - The ID of the modal + * * text - The text to display above the answers + * * delegate - The proc to call when submitted + * * arguments - List of arguments passed to and from JS (mostly useful for chaining modals) + * * value - The default value of the dropdown + * * choices - The list of available choices in the dropdown + */ /datum/proc/tgui_modal_choice(datum/source = src, id, text = "Default modal message", delegate, arguments, value = "", choices) ASSERT(length(id)) @@ -128,18 +128,18 @@ GLOBAL_LIST(tgui_modals) return tgui_modal_new(source, modal) /** - * Opens a bento input TGUI modal - * - * Internally checks if the answer is in the list of choices. - * Arguments: - * * source - The source datum - * * id - The ID of the modal - * * text - The text to display above the answers - * * delegate - The proc to call when submitted - * * arguments - List of arguments passed to and from JS (mostly useful for chaining modals) - * * value - The default value of the bento - * * choices - The list of available choices in the bento - */ + * Opens a bento input TGUI modal + * + * Internally checks if the answer is in the list of choices. + * Arguments: + * * source - The source datum + * * id - The ID of the modal + * * text - The text to display above the answers + * * delegate - The proc to call when submitted + * * arguments - List of arguments passed to and from JS (mostly useful for chaining modals) + * * value - The default value of the bento + * * choices - The list of available choices in the bento + */ /datum/proc/tgui_modal_bento(datum/source = src, id, text = "Default modal message", delegate, arguments, value, choices) ASSERT(length(id)) @@ -154,18 +154,18 @@ GLOBAL_LIST(tgui_modals) return tgui_modal_new(source, modal) /** - * Opens a yes/no TGUI modal - * - * Arguments: - * * source - The source datum - * * id - The ID of the modal - * * text - The text to display above the answers - * * delegate - The proc to call when "Yes" is pressed - * * delegate_no - The proc to call when "No" is pressed - * * arguments - List of arguments passed to and from JS (mostly useful for chaining modals) - * * yes_text - The text to show in the "Yes" button - * * no_text - The text to show in the "No" button - */ + * Opens a yes/no TGUI modal + * + * Arguments: + * * source - The source datum + * * id - The ID of the modal + * * text - The text to display above the answers + * * delegate - The proc to call when "Yes" is pressed + * * delegate_no - The proc to call when "No" is pressed + * * arguments - List of arguments passed to and from JS (mostly useful for chaining modals) + * * yes_text - The text to show in the "Yes" button + * * no_text - The text to show in the "No" button + */ /datum/proc/tgui_modal_boolean(datum/source = src, id, text = "Default modal message", delegate, delegate_no, arguments, yes_text = "Yes", no_text = "No") ASSERT(length(id)) @@ -173,14 +173,14 @@ GLOBAL_LIST(tgui_modals) return tgui_modal_new(source, modal) /** - * Registers a given modal to a source. Private. - * - * Arguments: - * * source - The source datum - * * modal - The datum/tgui_modal to register - * * replace_previous - Whether any modal currently assigned to source should be replaced - * * instant_update - Whether the changes should reflect immediately - */ + * Registers a given modal to a source. Private. + * + * Arguments: + * * source - The source datum + * * modal - The datum/tgui_modal to register + * * replace_previous - Whether any modal currently assigned to source should be replaced + * * instant_update - Whether the changes should reflect immediately + */ /datum/proc/tgui_modal_new(datum/source = src, datum/tgui_modal/modal = null, replace_previous = TRUE, instant_update = TRUE) ASSERT(istype(source)) ASSERT(istype(modal)) @@ -198,13 +198,13 @@ GLOBAL_LIST(tgui_modals) return TRUE /** - * Calls the source's currently assigned modal's (if there is one) on_answer() proc. Private. - * - * Arguments: - * * source - The source datum - * * id - The ID of the modal - * * answer - The provided answer - */ + * Calls the source's currently assigned modal's (if there is one) on_answer() proc. Private. + * + * Arguments: + * * source - The source datum + * * id - The ID of the modal + * * answer - The provided answer + */ /datum/proc/tgui_modal_answer(datum/source = src, id, answer = "") ASSERT(istype(source)) @@ -215,14 +215,14 @@ GLOBAL_LIST(tgui_modals) return current.on_answer(answer) /** - * Passes an answer from JS through the modal's proc. - * - * Used namely for cutting the text short if it's longer - * than an input modal's max_length. - * Arguments: - * * source - The source datum - * * answer - The provided answer - */ + * Passes an answer from JS through the modal's proc. + * + * Used namely for cutting the text short if it's longer + * than an input modal's max_length. + * Arguments: + * * source - The source datum + * * answer - The provided answer + */ /datum/proc/tgui_modal_preprocess_answer(datum/source = src, answer = "") ASSERT(istype(source)) @@ -233,8 +233,8 @@ GLOBAL_LIST(tgui_modals) return current.preprocess_answer(answer) /** - * Modal datum (contains base information for a modal) - */ + * Modal datum (contains base information for a modal) + */ /datum/tgui_modal var/datum/owning_source var/id @@ -250,28 +250,28 @@ GLOBAL_LIST(tgui_modals) src.arguments = arguments /** - * Called when it's time to pre-process the answer before using it - * - * Arguments: - * * answer - The answer, a nullable text - */ + * Called when it's time to pre-process the answer before using it + * + * Arguments: + * * answer - The answer, a nullable text + */ /datum/tgui_modal/proc/preprocess_answer(answer) return reject_bad_text(answer, TGUI_MODAL_INPUT_MAX_LENGTH) // bleh /** - * Called when a modal receives an answer - * - * Arguments: - * * answer - The answer, a nullable text - */ + * Called when a modal receives an answer + * + * Arguments: + * * answer - The answer, a nullable text + */ /datum/tgui_modal/proc/on_answer(answer) if(delegate) return call(owning_source, delegate)(answer, arguments) return FALSE /** - * Creates a list that describes a modal visually to be passed to JS - */ + * Creates a list that describes a modal visually to be passed to JS + */ /datum/tgui_modal/proc/to_data() . = list() .["id"] = id @@ -280,8 +280,8 @@ GLOBAL_LIST(tgui_modals) .["type"] = modal_type /** - * Input modal - has a text entry that can be used to enter an answer - */ + * Input modal - has a text entry that can be used to enter an answer + */ /datum/tgui_modal/input modal_type = "input" var/value @@ -302,8 +302,8 @@ GLOBAL_LIST(tgui_modals) .["value"] = value /** - * Choice modal - has a dropdown menu that can be used to select an answer - */ + * Choice modal - has a dropdown menu that can be used to select an answer + */ /datum/tgui_modal/input/choice modal_type = "choice" var/choices @@ -322,10 +322,10 @@ GLOBAL_LIST(tgui_modals) .["choices"] = choices /** - * Bento modal - Similar to choice, it displays the choices in a grid of images - * - * The returned answer is the index of the choice. - */ + * Bento modal - Similar to choice, it displays the choices in a grid of images + * + * The returned answer is the index of the choice. + */ /datum/tgui_modal/input/bento modal_type = "bento" var/choices @@ -351,8 +351,8 @@ GLOBAL_LIST(tgui_modals) modal_type = "bentospritesheet" /** - * Boolean modal - has yes/no buttons that do different actions depending on which is pressed - */ + * Boolean modal - has yes/no buttons that do different actions depending on which is pressed + */ /datum/tgui_modal/boolean modal_type = "boolean" var/delegate_no diff --git a/code/modules/tgui/states/admin.dm b/code/modules/tgui/states/admin.dm index 28c395f078c..68ee8c5befe 100644 --- a/code/modules/tgui/states/admin.dm +++ b/code/modules/tgui/states/admin.dm @@ -3,10 +3,10 @@ * SPDX-License-Identifier: MIT */ - /** - * tgui state: admin_state - * - * Checks that the user is an admin, end-of-story. +/** + * tgui state: admin_state + * + * Checks that the user is an admin, end-of-story. **/ GLOBAL_DATUM_INIT(tgui_admin_state, /datum/tgui_state/admin_state, new) diff --git a/code/modules/tgui/states/always.dm b/code/modules/tgui/states/always.dm index 9095d043505..7b77dc82bd2 100644 --- a/code/modules/tgui/states/always.dm +++ b/code/modules/tgui/states/always.dm @@ -3,10 +3,10 @@ * SPDX-License-Identifier: MIT */ - /** - * tgui state: always_state - * - * Always grants the user UI_INTERACTIVE. Period. +/** + * tgui state: always_state + * + * Always grants the user UI_INTERACTIVE. Period. **/ GLOBAL_DATUM_INIT(tgui_always_state, /datum/tgui_state/always_state, new) diff --git a/code/modules/tgui/states/conscious.dm b/code/modules/tgui/states/conscious.dm index 7213a99be7f..7fee871189e 100644 --- a/code/modules/tgui/states/conscious.dm +++ b/code/modules/tgui/states/conscious.dm @@ -3,10 +3,10 @@ * SPDX-License-Identifier: MIT */ - /** - * tgui state: conscious_state - * - * Only checks if the user is conscious. +/** + * tgui state: conscious_state + * + * Only checks if the user is conscious. **/ GLOBAL_DATUM_INIT(tgui_conscious_state, /datum/tgui_state/conscious_state, new) diff --git a/code/modules/tgui/states/contained.dm b/code/modules/tgui/states/contained.dm index e16159c5e54..126bed0fa82 100644 --- a/code/modules/tgui/states/contained.dm +++ b/code/modules/tgui/states/contained.dm @@ -3,10 +3,10 @@ * SPDX-License-Identifier: MIT */ - /** - * tgui state: contained_state - * - * Checks that the user is inside the src_object. +/** + * tgui state: contained_state + * + * Checks that the user is inside the src_object. **/ GLOBAL_DATUM_INIT(tgui_contained_state, /datum/tgui_state/contained_state, new) diff --git a/code/modules/tgui/states/deep_inventory.dm b/code/modules/tgui/states/deep_inventory.dm index 3d0913cf82f..1bfc8dab27c 100644 --- a/code/modules/tgui/states/deep_inventory.dm +++ b/code/modules/tgui/states/deep_inventory.dm @@ -3,10 +3,10 @@ * SPDX-License-Identifier: MIT */ - /** - * tgui state: deep_inventory_state - * - * Checks that the src_object is in the user's deep (backpack, box, toolbox, etc) inventory. +/** + * tgui state: deep_inventory_state + * + * Checks that the src_object is in the user's deep (backpack, box, toolbox, etc) inventory. **/ GLOBAL_DATUM_INIT(tgui_deep_inventory_state, /datum/tgui_state/deep_inventory_state, new) diff --git a/code/modules/tgui/states/default.dm b/code/modules/tgui/states/default.dm index 5b16728e25d..cb46286f87c 100644 --- a/code/modules/tgui/states/default.dm +++ b/code/modules/tgui/states/default.dm @@ -3,10 +3,10 @@ * SPDX-License-Identifier: MIT */ - /** - * tgui state: default_state - * - * Checks a number of things -- mostly physical distance for humans and view for robots. +/** + * tgui state: default_state + * + * Checks a number of things -- mostly physical distance for humans and view for robots. **/ GLOBAL_DATUM_INIT(tgui_default_state, /datum/tgui_state/default, new) diff --git a/code/modules/tgui/states/hands.dm b/code/modules/tgui/states/hands.dm index 9d742a4ab0b..7031a3d0563 100644 --- a/code/modules/tgui/states/hands.dm +++ b/code/modules/tgui/states/hands.dm @@ -3,10 +3,10 @@ * SPDX-License-Identifier: MIT */ - /** - * tgui state: hands_state - * - * Checks that the src_object is in the user's hands. +/** + * tgui state: hands_state + * + * Checks that the src_object is in the user's hands. **/ GLOBAL_DATUM_INIT(tgui_hands_state, /datum/tgui_state/hands_state, new) diff --git a/code/modules/tgui/states/human_adjacent.dm b/code/modules/tgui/states/human_adjacent.dm index 845459e0717..44e24de5e85 100644 --- a/code/modules/tgui/states/human_adjacent.dm +++ b/code/modules/tgui/states/human_adjacent.dm @@ -3,11 +3,11 @@ * SPDX-License-Identifier: MIT */ - /** - * tgui state: human_adjacent_state - * - * In addition to default checks, only allows interaction for a - * human adjacent user. +/** + * tgui state: human_adjacent_state + * + * In addition to default checks, only allows interaction for a + * human adjacent user. **/ GLOBAL_DATUM_INIT(tgui_human_adjacent_state, /datum/tgui_state/human_adjacent_state, new) diff --git a/code/modules/tgui/states/inventory.dm b/code/modules/tgui/states/inventory.dm index 042ca7264cc..37b86161819 100644 --- a/code/modules/tgui/states/inventory.dm +++ b/code/modules/tgui/states/inventory.dm @@ -3,10 +3,10 @@ * SPDX-License-Identifier: MIT */ - /** - * tgui state: inventory_state - * - * Checks that the src_object is in the user's top-level (hand, ear, pocket, belt, etc) inventory. +/** + * tgui state: inventory_state + * + * Checks that the src_object is in the user's top-level (hand, ear, pocket, belt, etc) inventory. **/ GLOBAL_DATUM_INIT(tgui_inventory_state, /datum/tgui_state/inventory_state, new) diff --git a/code/modules/tgui/states/mentor.dm b/code/modules/tgui/states/mentor.dm index 2a746a02683..fc2ab2b7147 100644 --- a/code/modules/tgui/states/mentor.dm +++ b/code/modules/tgui/states/mentor.dm @@ -1,7 +1,7 @@ - /** - * tgui state: mentor_state - * - * Checks that the user is an mentor. +/** + * tgui state: mentor_state + * + * Checks that the user is an mentor. **/ GLOBAL_DATUM_INIT(tgui_mentor_state, /datum/tgui_state/mentor_state, new) diff --git a/code/modules/tgui/states/not_incapacitated.dm b/code/modules/tgui/states/not_incapacitated.dm index 49f6d0097a8..552368cc7ff 100644 --- a/code/modules/tgui/states/not_incapacitated.dm +++ b/code/modules/tgui/states/not_incapacitated.dm @@ -3,18 +3,18 @@ * SPDX-License-Identifier: MIT */ - /** - * tgui state: not_incapacitated_state - * - * Checks that the user isn't incapacitated +/** + * tgui state: not_incapacitated_state + * + * Checks that the user isn't incapacitated **/ GLOBAL_DATUM_INIT(tgui_not_incapacitated_state, /datum/tgui_state/not_incapacitated_state, new) - /** - * tgui state: not_incapacitated_turf_state - * - * Checks that the user isn't incapacitated and that their loc is a turf +/** + * tgui state: not_incapacitated_turf_state + * + * Checks that the user isn't incapacitated and that their loc is a turf **/ GLOBAL_DATUM_INIT(tgui_not_incapacitated_turf_state, /datum/tgui_state/not_incapacitated_state, new(no_turfs = TRUE)) diff --git a/code/modules/tgui/states/notcontained.dm b/code/modules/tgui/states/notcontained.dm index 452d0f649bc..a126c21e1a9 100644 --- a/code/modules/tgui/states/notcontained.dm +++ b/code/modules/tgui/states/notcontained.dm @@ -3,10 +3,10 @@ * SPDX-License-Identifier: MIT */ - /** - * tgui state: notcontained_state - * - * Checks that the user is not inside src_object, and then makes the default checks. +/** + * tgui state: notcontained_state + * + * Checks that the user is not inside src_object, and then makes the default checks. **/ GLOBAL_DATUM_INIT(tgui_notcontained_state, /datum/tgui_state/notcontained_state, new) diff --git a/code/modules/tgui/states/observer.dm b/code/modules/tgui/states/observer.dm index 79e6f51b6b9..83b7609ccff 100644 --- a/code/modules/tgui/states/observer.dm +++ b/code/modules/tgui/states/observer.dm @@ -3,10 +3,10 @@ * SPDX-License-Identifier: MIT */ - /** - * tgui state: observer_state - * - * Checks that the user is an observer/ghost. +/** + * tgui state: observer_state + * + * Checks that the user is an observer/ghost. **/ GLOBAL_DATUM_INIT(tgui_observer_state, /datum/tgui_state/observer_state, new) diff --git a/code/modules/tgui/states/physical.dm b/code/modules/tgui/states/physical.dm index dc7f93d2ee7..e0ba9bb79b4 100644 --- a/code/modules/tgui/states/physical.dm +++ b/code/modules/tgui/states/physical.dm @@ -3,10 +3,10 @@ * SPDX-License-Identifier: MIT */ - /** - * tgui state: physical_state - * - * Short-circuits the default state to only check physical distance. +/** + * tgui state: physical_state + * + * Short-circuits the default state to only check physical distance. **/ GLOBAL_DATUM_INIT(tgui_physical_state, /datum/tgui_state/physical, new) @@ -53,11 +53,11 @@ GLOBAL_DATUM_INIT(tgui_physical_obscured_state, /datum/tgui_state/physical_obscu /mob/living/silicon/ai/physical_obscured_can_use_topic(src_object) return STATUS_UPDATE // AIs are not physical. - /** - * tgui state: physical_state_bigscreen - * - * Short-circuits the default state to only check physical distance, - * but allows updates out to the full size of the screen. +/** + * tgui state: physical_state_bigscreen + * + * Short-circuits the default state to only check physical distance, + * but allows updates out to the full size of the screen. **/ GLOBAL_DATUM_INIT(tgui_physical_state_bigscreen, /datum/tgui_state/physical_bigscreen, new) diff --git a/code/modules/tgui/states/self.dm b/code/modules/tgui/states/self.dm index 064b1b0ce66..8600137266c 100644 --- a/code/modules/tgui/states/self.dm +++ b/code/modules/tgui/states/self.dm @@ -3,10 +3,10 @@ * SPDX-License-Identifier: MIT */ - /** - * tgui state: self_state - * - * Only checks that the user and src_object are the same. +/** + * tgui state: self_state + * + * Only checks that the user and src_object are the same. **/ GLOBAL_DATUM_INIT(tgui_self_state, /datum/tgui_state/self_state, new) diff --git a/code/modules/tgui/states/vorepanel_vr.dm b/code/modules/tgui/states/vorepanel_vr.dm index 17b0f177a67..10e50bab35e 100644 --- a/code/modules/tgui/states/vorepanel_vr.dm +++ b/code/modules/tgui/states/vorepanel_vr.dm @@ -1,7 +1,7 @@ - /** - * tgui state: vorepanel_state - * - * Only checks that the user and src_object are the same. +/** + * tgui state: vorepanel_state + * + * Only checks that the user and src_object are the same. **/ GLOBAL_DATUM_INIT(tgui_vorepanel_state, /datum/tgui_state/vorepanel_state, new) diff --git a/code/modules/tgui/states/zlevel.dm b/code/modules/tgui/states/zlevel.dm index 3e7d84e2621..ec8ee8f4b26 100644 --- a/code/modules/tgui/states/zlevel.dm +++ b/code/modules/tgui/states/zlevel.dm @@ -3,10 +3,10 @@ * SPDX-License-Identifier: MIT */ - /** - * tgui state: z_state - * - * Only checks that the Z-level of the user and src_object are the same. +/** + * tgui state: z_state + * + * Only checks that the Z-level of the user and src_object are the same. **/ GLOBAL_DATUM_INIT(tgui_z_state, /datum/tgui_state/z_state, new) diff --git a/code/modules/vore/eating/vore_vr.dm b/code/modules/vore/eating/vore_vr.dm index b191271b493..f25534b8184 100644 --- a/code/modules/vore/eating/vore_vr.dm +++ b/code/modules/vore/eating/vore_vr.dm @@ -1,23 +1,24 @@ /* -VVVVVVVV VVVVVVVV OOOOOOOOO RRRRRRRRRRRRRRRRR EEEEEEEEEEEEEEEEEEEEEE -V::::::V V::::::V OO:::::::::OO R::::::::::::::::R E::::::::::::::::::::E -V::::::V V::::::V OO:::::::::::::OO R::::::RRRRRR:::::R E::::::::::::::::::::E -V::::::V V::::::VO:::::::OOO:::::::ORR:::::R R:::::REE::::::EEEEEEEEE::::E - V:::::V V:::::V O::::::O O::::::O R::::R R:::::R E:::::E EEEEEE - V:::::V V:::::V O:::::O O:::::O R::::R R:::::R E:::::E - V:::::V V:::::V O:::::O O:::::O R::::RRRRRR:::::R E::::::EEEEEEEEEE - V:::::V V:::::V O:::::O O:::::O R:::::::::::::RR E:::::::::::::::E - V:::::V V:::::V O:::::O O:::::O R::::RRRRRR:::::R E:::::::::::::::E - V:::::V V:::::V O:::::O O:::::O R::::R R:::::R E::::::EEEEEEEEEE - V:::::V:::::V O:::::O O:::::O R::::R R:::::R E:::::E - V:::::::::V O::::::O O::::::O R::::R R:::::R E:::::E EEEEEE - V:::::::V O:::::::OOO:::::::ORR:::::R R:::::REE::::::EEEEEEEE:::::E - V:::::V OO:::::::::::::OO R::::::R R:::::RE::::::::::::::::::::E - V:::V OO:::::::::OO R::::::R R:::::RE::::::::::::::::::::E - VVV OOOOOOOOO RRRRRRRR RRRRRRREEEEEEEEEEEEEEEEEEEEEE - --Aro <3 */ + * VVVVVVVV VVVVVVVV OOOOOOOOO RRRRRRRRRRRRRRRRR EEEEEEEEEEEEEEEEEEEEEE + * V::::::V V::::::V OO:::::::::OO R::::::::::::::::R E::::::::::::::::::::E + * V::::::V V::::::V OO:::::::::::::OO R::::::RRRRRR:::::R E::::::::::::::::::::E + * V::::::V V::::::VO:::::::OOO:::::::ORR:::::R R:::::REE::::::EEEEEEEEE::::E + * V:::::V V:::::V O::::::O O::::::O R::::R R:::::R E:::::E EEEEEE + * V:::::V V:::::V O:::::O O:::::O R::::R R:::::R E:::::E + * V:::::V V:::::V O:::::O O:::::O R::::RRRRRR:::::R E::::::EEEEEEEEEE + * V:::::V V:::::V O:::::O O:::::O R:::::::::::::RR E:::::::::::::::E + * V:::::V V:::::V O:::::O O:::::O R::::RRRRRR:::::R E:::::::::::::::E + * V:::::V V:::::V O:::::O O:::::O R::::R R:::::R E::::::EEEEEEEEEE + * V:::::V:::::V O:::::O O:::::O R::::R R:::::R E:::::E + * V:::::::::V O::::::O O::::::O R::::R R:::::R E:::::E EEEEEE + * V:::::::V O:::::::OOO:::::::ORR:::::R R:::::REE::::::EEEEEEEE:::::E + * V:::::V OO:::::::::::::OO R::::::R R:::::RE::::::::::::::::::::E + * V:::V OO:::::::::OO R::::::R R:::::RE::::::::::::::::::::E + * VVV OOOOOOOOO RRRRRRRR RRRRRRREEEEEEEEEEEEEEEEEEEEEE + * + * -Aro <3 + */ // // Overrides/additions to stock defines go here, as well as hooks. Sort them by diff --git a/code/modules/vore/eating/vorepanel_vr.dm b/code/modules/vore/eating/vorepanel_vr.dm index eaa4c7c56ab..2a1e02d2bfa 100644 --- a/code/modules/vore/eating/vorepanel_vr.dm +++ b/code/modules/vore/eating/vorepanel_vr.dm @@ -2126,48 +2126,50 @@ if("reset") var/confirm = tgui_alert(user,"This will delete any custom messages. Are you sure?","Confirmation",list("Cancel","DELETE")) if(confirm == "DELETE") - host.vore_selected.digest_messages_prey = initial(host.vore_selected.digest_messages_prey) - host.vore_selected.digest_messages_owner = initial(host.vore_selected.digest_messages_owner) - host.vore_selected.absorb_messages_prey = initial(host.vore_selected.absorb_messages_prey) - host.vore_selected.absorb_messages_owner = initial(host.vore_selected.absorb_messages_owner) - host.vore_selected.unabsorb_messages_prey = initial(host.vore_selected.unabsorb_messages_prey) - host.vore_selected.unabsorb_messages_owner = initial(host.vore_selected.unabsorb_messages_owner) - host.vore_selected.struggle_messages_outside = initial(host.vore_selected.struggle_messages_outside) - host.vore_selected.struggle_messages_inside = initial(host.vore_selected.struggle_messages_inside) - host.vore_selected.absorbed_struggle_messages_outside = initial(host.vore_selected.absorbed_struggle_messages_outside) - host.vore_selected.absorbed_struggle_messages_inside = initial(host.vore_selected.absorbed_struggle_messages_inside) - host.vore_selected.escape_attempt_messages_owner = initial(host.vore_selected.escape_attempt_messages_owner) - host.vore_selected.escape_attempt_messages_prey = initial(host.vore_selected.escape_attempt_messages_prey) - host.vore_selected.escape_messages_owner = initial(host.vore_selected.escape_messages_owner) - host.vore_selected.escape_messages_prey = initial(host.vore_selected.escape_messages_prey) - host.vore_selected.escape_messages_outside = initial(host.vore_selected.escape_messages_outside) - host.vore_selected.escape_item_messages_owner = initial(host.vore_selected.escape_item_messages_owner) - host.vore_selected.escape_item_messages_prey = initial(host.vore_selected.escape_item_messages_prey) - host.vore_selected.escape_item_messages_outside = initial(host.vore_selected.escape_item_messages_outside) - host.vore_selected.escape_fail_messages_owner = initial(host.vore_selected.escape_fail_messages_owner) - host.vore_selected.escape_fail_messages_prey = initial(host.vore_selected.escape_fail_messages_prey) - host.vore_selected.escape_attempt_absorbed_messages_owner = initial(host.vore_selected.escape_attempt_absorbed_messages_owner) - host.vore_selected.escape_attempt_absorbed_messages_prey = initial(host.vore_selected.escape_attempt_absorbed_messages_prey) - host.vore_selected.escape_absorbed_messages_owner = initial(host.vore_selected.escape_absorbed_messages_owner) - host.vore_selected.escape_absorbed_messages_prey = initial(host.vore_selected.escape_absorbed_messages_prey) - host.vore_selected.escape_absorbed_messages_outside = initial(host.vore_selected.escape_absorbed_messages_outside) - host.vore_selected.escape_fail_absorbed_messages_owner = initial(host.vore_selected.escape_fail_absorbed_messages_owner) - host.vore_selected.escape_fail_absorbed_messages_prey = initial(host.vore_selected.escape_fail_absorbed_messages_prey) - host.vore_selected.primary_transfer_messages_owner = initial(host.vore_selected.primary_transfer_messages_owner) - host.vore_selected.primary_transfer_messages_prey = initial(host.vore_selected.primary_transfer_messages_prey) - host.vore_selected.secondary_transfer_messages_owner = initial(host.vore_selected.secondary_transfer_messages_owner) - host.vore_selected.secondary_transfer_messages_prey = initial(host.vore_selected.secondary_transfer_messages_prey) - host.vore_selected.primary_autotransfer_messages_owner = initial(host.vore_selected.primary_autotransfer_messages_owner) - host.vore_selected.primary_autotransfer_messages_prey = initial(host.vore_selected.primary_autotransfer_messages_prey) - host.vore_selected.secondary_autotransfer_messages_owner = initial(host.vore_selected.secondary_autotransfer_messages_owner) - host.vore_selected.secondary_autotransfer_messages_prey = initial(host.vore_selected.secondary_autotransfer_messages_prey) - host.vore_selected.digest_chance_messages_owner = initial(host.vore_selected.digest_chance_messages_owner) - host.vore_selected.digest_chance_messages_prey = initial(host.vore_selected.digest_chance_messages_prey) - host.vore_selected.absorb_chance_messages_owner = initial(host.vore_selected.absorb_chance_messages_owner) - host.vore_selected.absorb_chance_messages_prey = initial(host.vore_selected.absorb_chance_messages_prey) - host.vore_selected.examine_messages = initial(host.vore_selected.examine_messages) - host.vore_selected.examine_messages_absorbed = initial(host.vore_selected.examine_messages_absorbed) - host.vore_selected.emote_lists = initial(host.vore_selected.emote_lists) + var/obj/belly/default_belly = new /obj/belly(null) + host.vore_selected.digest_messages_prey = default_belly.digest_messages_prey.Copy() + host.vore_selected.digest_messages_owner = default_belly.digest_messages_owner.Copy() + host.vore_selected.absorb_messages_prey = default_belly.absorb_messages_prey.Copy() + host.vore_selected.absorb_messages_owner = default_belly.absorb_messages_owner.Copy() + host.vore_selected.unabsorb_messages_prey = default_belly.unabsorb_messages_prey.Copy() + host.vore_selected.unabsorb_messages_owner = default_belly.unabsorb_messages_owner.Copy() + host.vore_selected.struggle_messages_outside = default_belly.struggle_messages_outside.Copy() + host.vore_selected.struggle_messages_inside = default_belly.struggle_messages_inside.Copy() + host.vore_selected.absorbed_struggle_messages_outside = default_belly.absorbed_struggle_messages_outside.Copy() + host.vore_selected.absorbed_struggle_messages_inside = default_belly.absorbed_struggle_messages_inside.Copy() + host.vore_selected.escape_attempt_messages_owner = default_belly.escape_attempt_messages_owner.Copy() + host.vore_selected.escape_attempt_messages_prey = default_belly.escape_attempt_messages_prey.Copy() + host.vore_selected.escape_messages_owner = default_belly.escape_messages_owner.Copy() + host.vore_selected.escape_messages_prey = default_belly.escape_messages_prey.Copy() + host.vore_selected.escape_messages_outside = default_belly.escape_messages_outside.Copy() + host.vore_selected.escape_item_messages_owner = default_belly.escape_item_messages_owner.Copy() + host.vore_selected.escape_item_messages_prey = default_belly.escape_item_messages_prey.Copy() + host.vore_selected.escape_item_messages_outside = default_belly.escape_item_messages_outside.Copy() + host.vore_selected.escape_fail_messages_owner = default_belly.escape_fail_messages_owner.Copy() + host.vore_selected.escape_fail_messages_prey = default_belly.escape_fail_messages_prey.Copy() + host.vore_selected.escape_attempt_absorbed_messages_owner = default_belly.escape_attempt_absorbed_messages_owner.Copy() + host.vore_selected.escape_attempt_absorbed_messages_prey = default_belly.escape_attempt_absorbed_messages_prey.Copy() + host.vore_selected.escape_absorbed_messages_owner = default_belly.escape_absorbed_messages_owner.Copy() + host.vore_selected.escape_absorbed_messages_prey = default_belly.escape_absorbed_messages_prey.Copy() + host.vore_selected.escape_absorbed_messages_outside = default_belly.escape_absorbed_messages_outside.Copy() + host.vore_selected.escape_fail_absorbed_messages_owner = default_belly.escape_fail_absorbed_messages_owner.Copy() + host.vore_selected.escape_fail_absorbed_messages_prey = default_belly.escape_fail_absorbed_messages_prey.Copy() + host.vore_selected.primary_transfer_messages_owner = default_belly.primary_transfer_messages_owner.Copy() + host.vore_selected.primary_transfer_messages_prey = default_belly.primary_transfer_messages_prey.Copy() + host.vore_selected.secondary_transfer_messages_owner = default_belly.secondary_transfer_messages_owner.Copy() + host.vore_selected.secondary_transfer_messages_prey = default_belly.secondary_transfer_messages_prey.Copy() + host.vore_selected.primary_autotransfer_messages_owner = default_belly.primary_autotransfer_messages_owner.Copy() + host.vore_selected.primary_autotransfer_messages_prey = default_belly.primary_autotransfer_messages_prey.Copy() + host.vore_selected.secondary_autotransfer_messages_owner = default_belly.secondary_autotransfer_messages_owner.Copy() + host.vore_selected.secondary_autotransfer_messages_prey = default_belly.secondary_autotransfer_messages_prey.Copy() + host.vore_selected.digest_chance_messages_owner = default_belly.digest_chance_messages_owner.Copy() + host.vore_selected.digest_chance_messages_prey = default_belly.digest_chance_messages_prey.Copy() + host.vore_selected.absorb_chance_messages_owner = default_belly.absorb_chance_messages_owner.Copy() + host.vore_selected.absorb_chance_messages_prey = default_belly.absorb_chance_messages_prey.Copy() + host.vore_selected.examine_messages = default_belly.examine_messages.Copy() + host.vore_selected.examine_messages_absorbed = default_belly.examine_messages_absorbed.Copy() + host.vore_selected.emote_lists = default_belly.emote_lists.Copy() + qdel(default_belly) . = TRUE if("b_verb") var/new_verb = html_encode(tgui_input_text(user,"New verb when eating (infinitive tense, e.g. nom or swallow):","New Verb")) diff --git a/code/modules/xenoarcheaology/tools/tools_vr.dm b/code/modules/xenoarcheaology/tools/tools_vr.dm index 405ef3ec8bd..157779fa31d 100644 --- a/code/modules/xenoarcheaology/tools/tools_vr.dm +++ b/code/modules/xenoarcheaology/tools/tools_vr.dm @@ -1,5 +1,5 @@ //Unused file due to icon update upstream. /obj/item/depth_scanner //On second thought, the ano_scanner sprite looks better as a depth scanner instead of an anomaly scanner. - icon_state = "ano_scanner" - icon = 'icons/obj/xenoarchaeology_vr.dmi' + icon_state = "ano_scanner" + icon = 'icons/obj/xenoarchaeology_vr.dmi' diff --git a/tools/ci/validate_files.sh b/tools/ci/validate_files.sh index a4f219faf3f..ede4ed04b40 100755 --- a/tools/ci/validate_files.sh +++ b/tools/ci/validate_files.sh @@ -115,6 +115,13 @@ section "code issues" # FAILED=1 # fi +part "space indentation" +if grep -P '(^ {2})|(^ [^ * ])|(^ +)' $code_files; then + echo + echo -e "${RED}ERROR: space indentation detected.${NC}" + FAILED=1 +fi; + part "mixed tab/space indentation" if grep -P '^\t+ [^ *]' $code_files; then echo