From f5f97882cf049898c92c49b82bb9db24cf834a84 Mon Sep 17 00:00:00 2001 From: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com> Date: Mon, 1 Feb 2021 14:10:08 +0000 Subject: [PATCH 01/22] BRUTAL Part 1 - No proc var/ in procs --- code/ATMOSPHERICS/atmospherics.dm | 14 ++-- .../binary_devices/binary_atmos_base.dm | 2 +- .../components/binary_devices/dp_vent_pump.dm | 6 +- .../components/binary_devices/valve.dm | 4 +- .../trinary_devices/trinary_base.dm | 2 +- .../unary_devices/outlet_injector.dm | 4 +- .../unary_devices/portables_connector.dm | 2 +- .../components/unary_devices/unary_base.dm | 2 +- .../components/unary_devices/vent_pump.dm | 4 +- .../components/unary_devices/vent_scrubber.dm | 12 ++-- code/ATMOSPHERICS/datum_icon_manager.dm | 6 +- code/ATMOSPHERICS/pipes/cap.dm | 6 +- code/ATMOSPHERICS/pipes/manifold.dm | 6 +- code/ATMOSPHERICS/pipes/manifold4w.dm | 6 +- code/ATMOSPHERICS/pipes/pipe.dm | 2 +- code/ATMOSPHERICS/pipes/simple/pipe_simple.dm | 6 +- .../pipes/simple/pipe_simple_hidden.dm | 2 +- .../pipes/simple/pipe_simple_visible.dm | 2 +- code/LINDA/LINDA_system.dm | 10 +-- code/LINDA/LINDA_turf_tile.dm | 8 +-- code/__HELPERS/AnimationLibrary.dm | 40 +++++------ code/__HELPERS/_logging.dm | 8 +-- code/__HELPERS/game.dm | 18 ++--- code/__HELPERS/heap.dm | 6 +- code/__HELPERS/icon_smoothing.dm | 2 +- code/__HELPERS/icons.dm | 10 +-- code/__HELPERS/lists.dm | 54 +++++++------- code/__HELPERS/mobs.dm | 8 +-- code/__HELPERS/text.dm | 36 +++++----- code/__HELPERS/time.dm | 6 +- code/__HELPERS/type2type.dm | 12 ++-- code/__HELPERS/unsorted.dm | 72 +++++++++---------- code/_onclick/adjacent.dm | 12 ++-- code/_onclick/click.dm | 32 ++++----- code/_onclick/click_override.dm | 4 +- code/_onclick/hud/human.dm | 2 +- code/_onclick/observer.dm | 6 +- code/_onclick/other_mobs.dm | 12 ++-- code/_onclick/overmind.dm | 2 +- code/_onclick/telekinesis.dm | 4 +- code/controllers/subsystem/air.dm | 10 +-- code/controllers/subsystem/jobs.dm | 14 ++-- code/controllers/subsystem/radio.dm | 6 +- code/controllers/subsystem/tickets/tickets.dm | 2 +- code/controllers/subsystem/vote.dm | 10 +-- code/datums/action.dm | 2 +- code/datums/ai_laws.dm | 62 ++++++++-------- code/datums/browser.dm | 8 +-- code/datums/cache/powermonitor.dm | 2 +- code/datums/components/decal.dm | 2 +- code/datums/components/material_container.dm | 2 +- code/datums/datacore.dm | 2 +- code/datums/datumvars.dm | 2 +- code/datums/diseases/advance/advance.dm | 4 +- code/datums/diseases/advance/presets.dm | 12 ++-- code/datums/dog_fashion.dm | 2 +- .../helper_datums/construction_datum.dm | 2 +- code/datums/helper_datums/input.dm | 2 +- code/datums/log_record.dm | 2 +- code/datums/pipe_datums.dm | 4 +- code/datums/radio.dm | 6 +- code/datums/spell.dm | 4 +- code/datums/supplypacks.dm | 2 +- code/datums/uplink_item.dm | 6 +- code/defines/procs/announce.dm | 20 +++--- code/defines/procs/radio.dm | 2 +- code/defines/procs/records.dm | 2 +- code/game/area/areas.dm | 12 ++-- code/game/area/areas/depot-areas.dm | 2 +- code/game/atoms_movable.dm | 4 +- code/game/gamemodes/blob/blob.dm | 12 ++-- code/game/gamemodes/blob/blob_report.dm | 4 +- code/game/gamemodes/blob/blobs/blob_mobs.dm | 6 +- code/game/gamemodes/blob/blobs/core.dm | 2 +- code/game/gamemodes/blob/blobs/node.dm | 2 +- code/game/gamemodes/blob/blobs/storage.dm | 2 +- code/game/gamemodes/blob/overmind.dm | 6 +- code/game/gamemodes/blob/powers.dm | 10 +-- code/game/gamemodes/blob/theblob.dm | 10 +-- .../gamemodes/changeling/changeling_power.dm | 14 ++-- .../gamemodes/changeling/evolution_menu.dm | 10 +-- .../gamemodes/changeling/powers/absorb.dm | 6 +- .../changeling/powers/digitalcamo.dm | 2 +- .../changeling/powers/epinephrine.dm | 2 +- .../gamemodes/changeling/powers/fakedeath.dm | 4 +- .../gamemodes/changeling/powers/fleshmend.dm | 2 +- .../gamemodes/changeling/powers/hivemind.dm | 2 +- .../gamemodes/changeling/powers/humanform.dm | 2 +- .../gamemodes/changeling/powers/lesserform.dm | 2 +- .../changeling/powers/mimic_voice.dm | 2 +- .../gamemodes/changeling/powers/mutations.dm | 10 +-- .../gamemodes/changeling/powers/panacea.dm | 2 +- .../gamemodes/changeling/powers/revive.dm | 2 +- .../gamemodes/changeling/powers/shriek.dm | 4 +- .../gamemodes/changeling/powers/spiders.dm | 2 +- .../changeling/powers/strained_muscles.dm | 2 +- .../gamemodes/changeling/powers/swap_form.dm | 4 +- .../gamemodes/changeling/powers/tiny_prick.dm | 20 +++--- .../gamemodes/changeling/powers/transform.dm | 4 +- code/game/gamemodes/game_mode.dm | 12 ++-- code/game/gamemodes/heist/heist.dm | 4 +- code/game/gamemodes/intercept_report.dm | 2 +- code/game/gamemodes/meteor/meteors.dm | 8 +-- .../gamemodes/miniantags/abduction/gland.dm | 4 +- code/game/gamemodes/miniantags/borer/borer.dm | 8 +-- .../gamemodes/miniantags/bot_swarm/swarmer.dm | 4 +- .../miniantags/guardian/types/bomb.dm | 4 +- code/game/gamemodes/miniantags/morph/morph.dm | 2 +- .../miniantags/revenant/revenant_abilities.dm | 2 +- .../revenant/revenant_spawn_event.dm | 2 +- .../miniantags/slaughter/bloodcrawl.dm | 4 +- code/game/gamemodes/nuclear/nuclear.dm | 10 +-- code/game/gamemodes/nuclear/nuclearbomb.dm | 2 +- code/game/gamemodes/objective.dm | 6 +- code/game/gamemodes/setupgame.dm | 2 +- .../shadowling/ascendant_shadowling.dm | 4 +- code/game/gamemodes/shadowling/shadowling.dm | 14 ++-- .../shadowling/shadowling_abilities.dm | 2 +- code/game/gamemodes/steal_items.dm | 8 +-- code/game/gamemodes/vampire/vampire.dm | 6 +- code/game/gamemodes/vampire/vampire_powers.dm | 2 +- code/game/gamemodes/wizard/artefact.dm | 6 +- code/game/gamemodes/wizard/godhand.dm | 2 +- code/game/gamemodes/wizard/raginmages.dm | 6 +- code/game/gamemodes/wizard/wizard.dm | 6 +- code/game/jobs/access.dm | 8 +-- code/game/jobs/job_exp.dm | 8 +-- code/game/jobs/job_objective.dm | 6 +- code/game/jobs/jobs.dm | 4 +- code/game/jobs/whitelist.dm | 6 +- code/game/machinery/Beacon.dm | 2 +- code/game/machinery/ai_slipper.dm | 2 +- code/game/machinery/alarm.dm | 2 +- code/game/machinery/atmo_control.dm | 6 +- .../atmoalter/area_atmos_computer.dm | 2 +- code/game/machinery/atmoalter/canister.dm | 6 +- code/game/machinery/atmoalter/meter.dm | 6 +- code/game/machinery/buttons.dm | 6 +- code/game/machinery/camera/tracking.dm | 4 +- code/game/machinery/cloning.dm | 2 +- .../machinery/computer/HolodeckControl.dm | 14 ++-- code/game/machinery/computer/aifixer.dm | 6 +- code/game/machinery/computer/arcade.dm | 6 +- code/game/machinery/computer/card.dm | 4 +- code/game/machinery/computer/cloning.dm | 4 +- .../game/machinery/computer/communications.dm | 20 +++--- code/game/machinery/computer/honkputer.dm | 2 +- code/game/machinery/computer/law.dm | 4 +- code/game/machinery/computer/message.dm | 2 +- code/game/machinery/computer/pod.dm | 14 ++-- code/game/machinery/computer/prisoner.dm | 4 +- code/game/machinery/computer/robot.dm | 4 +- code/game/machinery/computer/salvage_ship.dm | 2 +- .../machinery/computer/specops_shuttle.dm | 4 +- .../computer/syndicate_specops_shuttle.dm | 4 +- code/game/machinery/cryo.dm | 2 +- code/game/machinery/cryopod.dm | 6 +- code/game/machinery/doors/poddoor.dm | 2 +- code/game/machinery/doppler_array.dm | 2 +- .../embedded_controller/airlock_program.dm | 12 ++-- .../embedded_controller_base.dm | 2 +- .../embedded_program_base.dm | 2 +- code/game/machinery/gameboard.dm | 2 +- code/game/machinery/guestpass.dm | 2 +- code/game/machinery/hologram.dm | 4 +- code/game/machinery/lightswitch.dm | 6 +- code/game/machinery/machinery.dm | 16 ++--- code/game/machinery/magnet.dm | 2 +- code/game/machinery/mass_driver.dm | 4 +- code/game/machinery/overview.dm | 2 +- code/game/machinery/pipe/construction.dm | 8 +-- code/game/machinery/pipe/pipe_dispenser.dm | 4 +- code/game/machinery/poolcontroller.dm | 4 +- code/game/machinery/portable_tag_turret.dm | 4 +- code/game/machinery/portable_turret.dm | 8 +-- code/game/machinery/rechargestation.dm | 4 +- code/game/machinery/status_display.dm | 2 +- code/game/machinery/syndicatebeacon.dm | 4 +- code/game/machinery/tcomms/nttc.dm | 2 +- code/game/mecha/combat/combat.dm | 4 +- .../game/mecha/equipment/tools/other_tools.dm | 4 +- code/game/mecha/equipment/tools/work_tools.dm | 4 +- code/game/mecha/equipment/weapons/weapons.dm | 2 +- code/game/mecha/mecha.dm | 14 ++-- code/game/mecha/mecha_modkit.dm | 4 +- code/game/mecha/medical/odysseus.dm | 4 +- .../effects/decals/Cleanable/humans.dm | 2 +- .../effects/decals/Cleanable/robots.dm | 2 +- .../objects/effects/spawners/vaultspawner.dm | 2 +- code/game/objects/effects/step_triggers.dm | 4 +- code/game/objects/items.dm | 6 +- code/game/objects/items/blueprints.dm | 8 +-- code/game/objects/items/changestone.dm | 2 +- .../objects/items/devices/chameleonproj.dm | 6 +- .../objects/items/devices/enginepicker.dm | 4 +- code/game/objects/items/devices/flash.dm | 4 +- code/game/objects/items/devices/flashlight.dm | 4 +- .../objects/items/devices/floor_painter.dm | 4 +- .../objects/items/devices/laserpointer.dm | 4 +- .../objects/items/devices/lightreplacer.dm | 2 +- code/game/objects/items/devices/paicard.dm | 2 +- code/game/objects/items/devices/pizza_bomb.dm | 2 +- code/game/objects/items/devices/powersink.dm | 2 +- .../game/objects/items/devices/radio/radio.dm | 8 +-- code/game/objects/items/devices/uplinks.dm | 4 +- .../items/mountable_frames/mountables.dm | 2 +- .../objects/items/robot/robot_upgrades.dm | 4 +- .../objects/items/stacks/sheets/leather.dm | 4 +- .../game/objects/items/stacks/sheets/light.dm | 2 +- .../items/stacks/sheets/sheet_types.dm | 10 +-- code/game/objects/items/tools/screwdriver.dm | 2 +- code/game/objects/items/toys.dm | 6 +- code/game/objects/items/weapons/AI_modules.dm | 52 +++++++------- code/game/objects/items/weapons/cards_ids.dm | 4 +- .../objects/items/weapons/chrono_eraser.dm | 4 +- code/game/objects/items/weapons/defib.dm | 6 +- .../objects/items/weapons/dnascrambler.dm | 2 +- .../items/weapons/grenades/bananade.dm | 2 +- .../items/weapons/grenades/chem_grenade.dm | 2 +- .../items/weapons/grenades/clusterbuster.dm | 4 +- .../objects/items/weapons/grenades/grenade.dm | 2 +- code/game/objects/items/weapons/handcuffs.dm | 2 +- .../objects/items/weapons/implants/implant.dm | 4 +- .../weapons/implants/implant_abductor.dm | 2 +- .../weapons/implants/implant_death_alarm.dm | 2 +- .../weapons/implants/implant_mindshield.dm | 2 +- .../objects/items/weapons/melee/energy.dm | 2 +- .../objects/items/weapons/pneumaticCannon.dm | 2 +- code/game/objects/items/weapons/rpd.dm | 2 +- code/game/objects/items/weapons/scrolls.dm | 2 +- code/game/objects/items/weapons/staff.dm | 2 +- .../game/objects/items/weapons/stock_parts.dm | 2 +- .../objects/items/weapons/storage/backpack.dm | 2 +- .../objects/items/weapons/storage/bags.dm | 2 +- .../items/weapons/storage/briefcase.dm | 2 +- .../objects/items/weapons/storage/fancy.dm | 4 +- .../objects/items/weapons/storage/internal.dm | 2 +- code/game/objects/items/weapons/stunbaton.dm | 2 +- .../objects/items/weapons/tanks/watertank.dm | 4 +- code/game/objects/items/weapons/tape.dm | 2 +- code/game/objects/structures.dm | 6 +- code/game/objects/structures/barsign.dm | 4 +- .../structures/crates_lockers/closets.dm | 4 +- .../crates_lockers/closets/fireaxe.dm | 2 +- .../crates_lockers/closets/secure/freezer.dm | 2 +- .../closets/secure/secure_closets.dm | 2 +- .../crates_lockers/closets/statue.dm | 2 +- .../structures/crates_lockers/crates.dm | 2 +- code/game/objects/structures/flora.dm | 2 +- code/game/objects/structures/morgue.dm | 4 +- code/game/objects/structures/noticeboard.dm | 2 +- code/game/objects/structures/spirit_board.dm | 4 +- .../transit_tubes/transit_tube_pod.dm | 2 +- code/game/turfs/simulated/floor/plating.dm | 2 +- code/game/turfs/simulated/minerals.dm | 2 +- code/game/turfs/simulated/walls_mineral.dm | 2 +- code/game/turfs/turf.dm | 2 +- code/game/verbs/ooc.dm | 2 +- code/game/world.dm | 2 +- code/modules/admin/NewBan.dm | 2 +- code/modules/admin/admin.dm | 22 +++--- code/modules/admin/admin_investigate.dm | 4 +- code/modules/admin/admin_verbs.dm | 4 +- code/modules/admin/banjob.dm | 2 +- code/modules/admin/create_mob.dm | 2 +- code/modules/admin/create_object.dm | 4 +- code/modules/admin/create_turf.dm | 2 +- code/modules/admin/db_ban/functions.dm | 10 +-- code/modules/admin/holder2.dm | 2 +- code/modules/admin/ipintel.dm | 2 +- .../admin/permissionverbs/permissionedit.dm | 4 +- code/modules/admin/stickyban.dm | 6 +- code/modules/admin/topic.dm | 4 +- code/modules/admin/verbs/SDQL2/SDQL_2.dm | 2 +- .../admin/verbs/SDQL2/SDQL_2_parser.dm | 4 +- code/modules/admin/verbs/adminjump.dm | 8 +-- code/modules/admin/verbs/debug.dm | 20 +++--- code/modules/admin/verbs/massmodvar.dm | 4 +- code/modules/admin/verbs/modifyvariables.dm | 4 +- code/modules/admin/verbs/one_click_antag.dm | 4 +- code/modules/admin/verbs/pray.dm | 8 +-- code/modules/admin/verbs/randomverbs.dm | 4 +- .../antagonists/traitor/datum_traitor.dm | 2 +- code/modules/arcade/arcade_base.dm | 4 +- code/modules/arcade/arcade_prize.dm | 2 +- code/modules/arcade/prize_counter.dm | 2 +- code/modules/arcade/prize_datums.dm | 2 +- code/modules/assembly/holder.dm | 2 +- code/modules/assembly/infrared.dm | 2 +- code/modules/awaymissions/gateway.dm | 2 +- .../awaymissions/mission_code/academy.dm | 2 +- .../mission_code/stationCollision.dm | 2 +- .../awaymissions/mission_code/wildwest.dm | 2 +- code/modules/awaymissions/zvis.dm | 2 +- code/modules/client/asset_cache.dm | 10 +-- code/modules/client/client_procs.dm | 2 +- code/modules/client/message.dm | 2 +- .../client/preference/loadout/gear_tweaks.dm | 30 ++++---- code/modules/client/preference/preferences.dm | 14 ++-- code/modules/clothing/chameleon.dm | 2 +- code/modules/clothing/clothing.dm | 12 ++-- code/modules/clothing/glasses/glasses.dm | 2 +- code/modules/clothing/head/misc_special.dm | 6 +- code/modules/clothing/masks/boxing.dm | 2 +- code/modules/clothing/masks/breath.dm | 4 +- code/modules/clothing/masks/miscellaneous.dm | 6 +- code/modules/clothing/spacesuits/breaches.dm | 4 +- .../modules/clothing/spacesuits/chronosuit.dm | 6 +- code/modules/clothing/spacesuits/hardsuit.dm | 2 +- code/modules/clothing/suits/storage.dm | 2 +- .../clothing/under/accessories/accessory.dm | 2 +- .../clothing/under/accessories/storage.dm | 2 +- code/modules/crafting/guncrafting.dm | 4 +- code/modules/customitems/item_defines.dm | 2 +- code/modules/customitems/item_spawning.dm | 2 +- code/modules/economy/Accounts.dm | 8 +-- .../economy/Economy_TradeDestinations.dm | 6 +- code/modules/economy/utils.dm | 6 +- code/modules/error_handler/error_handler.dm | 2 +- code/modules/error_handler/error_viewer.dm | 22 +++--- code/modules/events/event.dm | 2 +- code/modules/events/event_procs.dm | 2 +- code/modules/events/ion_storm.dm | 2 +- code/modules/events/sentience.dm | 2 +- code/modules/events/traders.dm | 2 +- code/modules/fish/fish_items.dm | 8 +-- code/modules/flufftext/Hallucination.dm | 6 +- .../food_and_drinks/drinks/bottler/bottler.dm | 2 +- .../kitchen_machinery/cooker.dm | 2 +- .../kitchen_machinery/deep_fryer.dm | 2 +- .../kitchen_machinery/smartfridge.dm | 2 +- code/modules/games/cards.dm | 6 +- code/modules/hydroponics/gene_modder.dm | 2 +- code/modules/hydroponics/grown.dm | 2 +- code/modules/hydroponics/growninedible.dm | 2 +- code/modules/hydroponics/plant_genes.dm | 2 +- code/modules/hydroponics/seed_extractor.dm | 4 +- code/modules/karma/karma.dm | 16 ++--- code/modules/library/computers/base.dm | 10 +-- code/modules/library/computers/checkout.dm | 10 +-- code/modules/library/computers/public.dm | 4 +- code/modules/library/lib_items.dm | 4 +- code/modules/library/lib_machines.dm | 2 +- code/modules/lighting/lighting_area.dm | 2 +- code/modules/lighting/lighting_atom.dm | 4 +- code/modules/martial_arts/adminfu.dm | 6 +- code/modules/martial_arts/brawling.dm | 10 +-- code/modules/martial_arts/krav_maga.dm | 8 +-- code/modules/martial_arts/martial.dm | 2 +- code/modules/martial_arts/mimejutsu.dm | 4 +- code/modules/martial_arts/plasma_fist.dm | 6 +- code/modules/martial_arts/sleeping_carp.dm | 2 +- code/modules/martial_arts/wrestling.dm | 8 +-- .../mining/lavaland/loot/colossus_loot.dm | 2 +- code/modules/mining/ores_coins.dm | 2 +- code/modules/mob/dead/observer/observer.dm | 4 +- code/modules/mob/dead/observer/say.dm | 4 +- code/modules/mob/emote.dm | 6 +- code/modules/mob/hear_say.dm | 2 +- code/modules/mob/holder.dm | 10 +-- code/modules/mob/inventory.dm | 14 ++-- code/modules/mob/living/carbon/alien/alien.dm | 6 +- .../carbon/alien/humanoid/caste/hunter.dm | 6 +- .../living/carbon/alien/humanoid/humanoid.dm | 4 +- .../living/carbon/alien/humanoid/inventory.dm | 2 +- .../carbon/alien/special/alien_embryo.dm | 2 +- code/modules/mob/living/carbon/brain/MMI.dm | 10 +-- .../mob/living/carbon/brain/brain_item.dm | 6 +- code/modules/mob/living/carbon/brain/say.dm | 4 +- code/modules/mob/living/carbon/carbon.dm | 22 +++--- code/modules/mob/living/carbon/give.dm | 4 +- .../mob/living/carbon/human/appearance.dm | 34 ++++----- code/modules/mob/living/carbon/human/human.dm | 30 ++++---- .../mob/living/carbon/human/human_defense.dm | 16 ++--- .../mob/living/carbon/human/human_organs.dm | 4 +- .../mob/living/carbon/human/inventory.dm | 2 +- code/modules/mob/living/carbon/human/life.dm | 2 +- code/modules/mob/living/carbon/human/say.dm | 10 +-- .../mob/living/carbon/human/species/wryn.dm | 2 +- code/modules/mob/living/carbon/superheroes.dm | 20 +++--- code/modules/mob/living/damage_procs.dm | 6 +- code/modules/mob/living/living.dm | 10 +-- code/modules/mob/living/living_defense.dm | 10 +-- code/modules/mob/living/say.dm | 6 +- code/modules/mob/living/silicon/ai/ai.dm | 4 +- code/modules/mob/living/silicon/ai/examine.dm | 4 +- .../living/silicon/ai/freelook/cameranet.dm | 4 +- .../mob/living/silicon/ai/freelook/eye.dm | 2 +- code/modules/mob/living/silicon/ai/laws.dm | 4 +- code/modules/mob/living/silicon/ai/say.dm | 2 +- code/modules/mob/living/silicon/laws.dm | 26 +++---- code/modules/mob/living/silicon/pai/pai.dm | 4 +- .../mob/living/silicon/pai/personality.dm | 2 +- .../modules/mob/living/silicon/pai/recruit.dm | 10 +-- code/modules/mob/living/silicon/pai/say.dm | 2 +- .../mob/living/silicon/robot/component.dm | 2 +- .../living/silicon/robot/drone/drone_say.dm | 2 +- .../mob/living/silicon/robot/inventory.dm | 14 ++-- code/modules/mob/living/silicon/robot/laws.dm | 2 +- .../modules/mob/living/silicon/robot/robot.dm | 18 ++--- .../mob/living/silicon/robot/robot_damage.dm | 2 +- .../mob/living/silicon/robot/robot_items.dm | 2 +- .../mob/living/silicon/robot/robot_modules.dm | 6 +- .../living/silicon/robot/robot_movement.dm | 2 +- code/modules/mob/living/silicon/say.dm | 6 +- code/modules/mob/living/silicon/silicon.dm | 12 ++-- .../mob/living/simple_animal/bot/bot.dm | 6 +- .../mob/living/simple_animal/bot/ed209bot.dm | 2 +- .../mob/living/simple_animal/bot/honkbot.dm | 2 +- .../mob/living/simple_animal/bot/mulebot.dm | 4 +- .../mob/living/simple_animal/bot/secbot.dm | 4 +- .../mob/living/simple_animal/constructs.dm | 6 +- .../simple_animal/friendly/cockroach.dm | 2 +- .../living/simple_animal/friendly/diona.dm | 2 +- .../mob/living/simple_animal/friendly/dog.dm | 2 +- .../simple_animal/friendly/farm_animals.dm | 2 +- .../mob/living/simple_animal/hostile/bat.dm | 6 +- .../mob/living/simple_animal/hostile/bear.dm | 2 +- .../simple_animal/hostile/deathsquid.dm | 2 +- .../living/simple_animal/hostile/faithless.dm | 2 +- .../living/simple_animal/hostile/hostile.dm | 10 +-- .../simple_animal/hostile/megafauna/drake.dm | 22 +++--- .../hostile/megafauna/hierophant.dm | 8 +-- .../mob/living/simple_animal/hostile/mimic.dm | 8 +-- .../living/simple_animal/hostile/mushroom.dm | 2 +- .../simple_animal/hostile/netherworld.dm | 2 +- .../simple_animal/hostile/retaliate/fish.dm | 2 +- .../simple_animal/hostile/retaliate/undead.dm | 2 +- .../simple_animal/hostile/spaceworms.dm | 10 +-- .../living/simple_animal/hostile/statue.dm | 2 +- .../living/simple_animal/hostile/syndicate.dm | 14 ++-- .../mob/living/simple_animal/parrot.dm | 12 ++-- .../living/simple_animal/posessed_object.dm | 4 +- .../mob/living/simple_animal/tribbles.dm | 4 +- code/modules/mob/mob.dm | 12 ++-- code/modules/mob/mob_grab.dm | 8 +-- code/modules/mob/mob_helpers.dm | 14 ++-- code/modules/mob/mob_transformation_simple.dm | 2 +- code/modules/mob/new_player/new_player.dm | 6 +- .../mob/new_player/preferences_setup.dm | 8 +-- .../sprite_accessories/sprite_accessories.dm | 2 +- code/modules/mob/say.dm | 6 +- code/modules/mob/transform_procs.dm | 4 +- code/modules/ninja/energy_katana.dm | 2 +- code/modules/ninja/martial_art.dm | 14 ++-- code/modules/paperwork/contract.dm | 16 ++--- code/modules/paperwork/fax.dm | 2 +- code/modules/paperwork/faxmachine.dm | 10 +-- code/modules/paperwork/frames.dm | 4 +- code/modules/paperwork/paper.dm | 14 ++-- code/modules/paperwork/photocopier.dm | 6 +- code/modules/paperwork/photography.dm | 4 +- code/modules/paperwork/silicon_photography.dm | 4 +- code/modules/pda/cart_apps.dm | 2 +- code/modules/pda/messenger.dm | 2 +- code/modules/pda/radio.dm | 2 +- code/modules/persistence/persistence.dm | 8 +-- code/modules/power/apc.dm | 4 +- code/modules/power/cable_heavyduty.dm | 2 +- code/modules/power/lighting.dm | 2 +- code/modules/power/port_gen.dm | 8 +-- code/modules/power/power.dm | 2 +- code/modules/power/singularity/emitter.dm | 4 +- .../particle_accelerator.dm | 4 +- .../particle_accelerator/particle_control.dm | 6 +- .../particle_accelerator/particle_emitter.dm | 2 +- code/modules/power/singularity/singularity.dm | 2 +- code/modules/power/smes.dm | 4 +- code/modules/power/solar.dm | 12 ++-- code/modules/power/tesla/coil.dm | 4 +- code/modules/power/tesla/energy_ball.dm | 2 +- code/modules/power/treadmill.dm | 2 +- code/modules/power/turbine.dm | 2 +- .../procedural_mapping/mapGenerator.dm | 8 +-- .../procedural_mapping/mapGeneratorModule.dm | 6 +- .../mapGeneratorModules/helpers.dm | 2 +- code/modules/projectiles/ammunition/energy.dm | 2 +- code/modules/projectiles/firing.dm | 2 +- code/modules/projectiles/guns/dartgun.dm | 2 +- code/modules/projectiles/guns/medbeam.dm | 6 +- code/modules/projectiles/guns/projectile.dm | 2 +- .../projectiles/guns/projectile/automatic.dm | 8 +-- .../projectiles/guns/projectile/launchers.dm | 2 +- .../projectiles/guns/projectile/revolver.dm | 2 +- code/modules/projectiles/projectile.dm | 8 +-- code/modules/projectiles/projectile/beams.dm | 4 +- .../modules/projectiles/projectile/bullets.dm | 10 +-- code/modules/projectiles/projectile/energy.dm | 2 +- code/modules/projectiles/projectile/force.dm | 2 +- code/modules/projectiles/projectile/magic.dm | 18 ++--- .../modules/projectiles/projectile/special.dm | 16 ++--- .../reagents/chemistry/machinery/pandemic.dm | 2 +- .../reagents/reagent_containers/spray.dm | 6 +- .../recycling/disposal-construction.dm | 4 +- code/modules/recycling/disposal.dm | 48 ++++++------- code/modules/recycling/sortingmachinery.dm | 2 +- code/modules/research/circuitprinter.dm | 4 +- code/modules/research/destructive_analyzer.dm | 4 +- code/modules/research/message_server.dm | 8 +-- code/modules/research/protolathe.dm | 4 +- code/modules/research/rdconsole.dm | 2 +- code/modules/research/rdmachines.dm | 2 +- code/modules/research/research.dm | 20 +++--- code/modules/research/server.dm | 2 +- code/modules/response_team/ert.dm | 2 +- .../security_levels/keycard_authentication.dm | 2 +- .../security_levels/security_levels.dm | 6 +- code/modules/shuttle/supply.dm | 6 +- code/modules/spacepods/equipment.dm | 10 +-- code/modules/spacepods/parts.dm | 2 +- code/modules/spacepods/spacepod.dm | 18 ++--- code/modules/store/items.dm | 2 +- code/modules/store/store.dm | 4 +- code/modules/surgery/dental_implant.dm | 2 +- code/modules/surgery/helpers.dm | 2 +- code/modules/surgery/organs/augments_arms.dm | 4 +- code/modules/surgery/organs/augments_eyes.dm | 10 +-- .../surgery/organs/augments_internal.dm | 4 +- code/modules/surgery/organs/body_egg.dm | 4 +- code/modules/surgery/organs/eyes.dm | 2 +- code/modules/surgery/organs/helpers.dm | 2 +- code/modules/surgery/organs/organ.dm | 12 ++-- code/modules/surgery/organs/organ_external.dm | 14 ++-- code/modules/surgery/organs/organ_icon.dm | 6 +- code/modules/surgery/organs/organ_internal.dm | 4 +- code/modules/surgery/organs/parasites.dm | 4 +- code/modules/surgery/organs/subtypes/grey.dm | 4 +- .../surgery/organs/subtypes/machine.dm | 2 +- code/modules/telesci/bscrystal.dm | 4 +- code/modules/tgui/modules/law_manager.dm | 10 +-- code/modules/vehicle/vehicle.dm | 2 +- goon/code/datums/browserOutput.dm | 8 +-- tools/ci/check_grep.sh | 4 ++ 533 files changed, 1558 insertions(+), 1554 deletions(-) diff --git a/code/ATMOSPHERICS/atmospherics.dm b/code/ATMOSPHERICS/atmospherics.dm index d5e6176ca22..8a77e3908f1 100644 --- a/code/ATMOSPHERICS/atmospherics.dm +++ b/code/ATMOSPHERICS/atmospherics.dm @@ -83,14 +83,14 @@ Pipelines + Other Objects -> Pipe network return TRUE -/obj/machinery/atmospherics/proc/color_cache_name(var/obj/machinery/atmospherics/node) +/obj/machinery/atmospherics/proc/color_cache_name(obj/machinery/atmospherics/node) //Don't use this for standard pipes if(!istype(node)) return null return node.pipe_color -/obj/machinery/atmospherics/proc/add_underlay(var/turf/T, var/obj/machinery/atmospherics/node, var/direction, var/icon_connect_type) +/obj/machinery/atmospherics/proc/add_underlay(turf/T, obj/machinery/atmospherics/node, direction, icon_connect_type) if(node) if(T.intact && node.level == 1 && istype(node, /obj/machinery/atmospherics/pipe)) //underlays += SSair.icon_manager.get_atmos_icon("underlay_down", direction, color_cache_name(node)) @@ -253,7 +253,7 @@ Pipelines + Other Objects -> Pipe network build_network() // Find a connecting /obj/machinery/atmospherics in specified direction. -/obj/machinery/atmospherics/proc/findConnecting(var/direction) +/obj/machinery/atmospherics/proc/findConnecting(direction) for(var/obj/machinery/atmospherics/target in get_step(src,direction)) var/can_connect = check_connect_types(target, src) if(can_connect && (target.initialize_directions & get_dir(target,src))) @@ -292,7 +292,7 @@ Pipelines + Other Objects -> Pipe network spawn(1) user.canmove = 1 -/obj/machinery/atmospherics/AltClick(var/mob/living/L) +/obj/machinery/atmospherics/AltClick(mob/living/L) if(is_type_in_list(src, GLOB.ventcrawl_machinery)) L.handle_ventcrawl(src) return @@ -301,7 +301,7 @@ Pipelines + Other Objects -> Pipe network /obj/machinery/atmospherics/proc/can_crawl_through() return 1 -/obj/machinery/atmospherics/proc/change_color(var/new_color) +/obj/machinery/atmospherics/proc/change_color(new_color) //only pass valid pipe colors please ~otherwise your pipe will turn invisible if(!pipe_color_check(new_color)) return @@ -310,7 +310,7 @@ Pipelines + Other Objects -> Pipe network update_icon() // Additional icon procs -/obj/machinery/atmospherics/proc/universal_underlays(var/obj/machinery/atmospherics/node, var/direction) +/obj/machinery/atmospherics/proc/universal_underlays(obj/machinery/atmospherics/node, direction) var/turf/T = get_turf(src) if(!istype(T)) return if(node) @@ -332,7 +332,7 @@ Pipelines + Other Objects -> Pipe network add_underlay_adapter(T, , direction, "-scrubbers") add_underlay_adapter(T, , direction, "") -/obj/machinery/atmospherics/proc/add_underlay_adapter(var/turf/T, var/obj/machinery/atmospherics/node, var/direction, var/icon_connect_type) //modified from add_underlay, does not make exposed underlays +/obj/machinery/atmospherics/proc/add_underlay_adapter(turf/T, obj/machinery/atmospherics/node, direction, icon_connect_type) //modified from add_underlay, does not make exposed underlays if(node) if(T.intact && node.level == 1 && istype(node, /obj/machinery/atmospherics/pipe)) underlays += SSair.icon_manager.get_atmos_icon("underlay", direction, color_cache_name(node), "down" + icon_connect_type) diff --git a/code/ATMOSPHERICS/components/binary_devices/binary_atmos_base.dm b/code/ATMOSPHERICS/components/binary_devices/binary_atmos_base.dm index 0a8b9eb95a4..b0ca5531af1 100644 --- a/code/ATMOSPHERICS/components/binary_devices/binary_atmos_base.dm +++ b/code/ATMOSPHERICS/components/binary_devices/binary_atmos_base.dm @@ -134,7 +134,7 @@ else if(Old == parent2) parent2 = New -/obj/machinery/atmospherics/binary/unsafe_pressure_release(var/mob/user,var/pressures) +/obj/machinery/atmospherics/binary/unsafe_pressure_release(mob/user, pressures) ..() var/turf/T = get_turf(src) diff --git a/code/ATMOSPHERICS/components/binary_devices/dp_vent_pump.dm b/code/ATMOSPHERICS/components/binary_devices/dp_vent_pump.dm index 11e9897136f..3bcb4f8f342 100644 --- a/code/ATMOSPHERICS/components/binary_devices/dp_vent_pump.dm +++ b/code/ATMOSPHERICS/components/binary_devices/dp_vent_pump.dm @@ -71,7 +71,7 @@ add_underlay(T, node1, turn(dir, -180)) add_underlay(T, node2, dir) -/obj/machinery/atmospherics/binary/dp_vent_pump/update_icon(var/safety = 0) +/obj/machinery/atmospherics/binary/dp_vent_pump/update_icon(safety = 0) ..() if(!check_icon_cache()) @@ -235,14 +235,14 @@ broadcast_status() update_icon() -/obj/machinery/atmospherics/binary/dp_vent_pump/attackby(var/obj/item/W as obj, var/mob/user as mob) +/obj/machinery/atmospherics/binary/dp_vent_pump/attackby(obj/item/W as obj, mob/user as mob) if(istype(W, /obj/item/multitool)) update_multitool_menu(user) return 1 return ..() -/obj/machinery/atmospherics/binary/dp_vent_pump/multitool_menu(var/mob/user,var/obj/item/multitool/P) +/obj/machinery/atmospherics/binary/dp_vent_pump/multitool_menu(mob/user, obj/item/multitool/P) return {"