From 2591ce17a6609002109fc8eafa48ae0479fc0b8e Mon Sep 17 00:00:00 2001 From: spookydonut Date: Tue, 5 Nov 2019 11:16:50 +0800 Subject: [PATCH] Travis EOF newline detection v3 (#47539) * scream * aaa * aaa * new one --- _maps/multiz_debug.dm | 2 +- code/__DEFINES/cargo.dm | 2 +- code/__DEFINES/fantasy_affixes.dm | 2 +- code/__DEFINES/melee.dm | 2 +- code/__DEFINES/plumbing.dm | 2 +- code/__DEFINES/profile.dm | 2 +- code/__DEFINES/radiation.dm | 2 +- code/__DEFINES/shuttles.dm | 2 +- code/__DEFINES/vehicles.dm | 2 +- code/__HELPERS/dna.dm | 2 +- code/__HELPERS/reagents.dm | 2 +- code/__HELPERS/sorts/InsertSort.dm | 2 +- code/__HELPERS/sorts/MergeSort.dm | 2 +- code/__HELPERS/sorts/TimSort.dm | 2 +- code/controllers/controller.dm | 2 +- code/controllers/subsystem/persistence.dm | 2 +- code/controllers/subsystem/processing/nanites.dm | 2 +- code/datums/brain_damage/mild.dm | 2 +- code/datums/cinematic.dm | 2 +- code/datums/components/beetlejuice.dm | 2 +- code/datums/components/fantasy/prefixes.dm | 2 +- code/datums/components/forced_gravity.dm | 2 +- code/datums/components/igniter.dm | 2 +- code/datums/components/knockback.dm | 2 +- code/datums/components/knockoff.dm | 2 +- code/datums/components/lifesteal.dm | 2 +- code/datums/components/shrapnel.dm | 2 +- code/datums/components/storage/concrete/wallet.dm | 2 +- .../diseases/advance/symptoms/disfiguration.dm | 2 +- code/datums/diseases/advance/symptoms/nanites.dm | 2 +- code/datums/diseases/advance/symptoms/sensory.dm | 2 +- code/datums/diseases/anxiety.dm | 2 +- code/datums/diseases/decloning.dm | 2 +- code/datums/ert.dm | 2 +- code/datums/ruins/lavaland.dm | 2 +- code/datums/status_effects/status_effect.dm | 2 +- .../{devil agent => devil_agent}/devil_agent.dm | 0 code/game/machinery/doors/checkForMultipleDoors.dm | 2 +- .../machinery/telecomms/computers/telemonitor.dm | 2 +- code/game/mecha/equipment/tools/weapon_bay.dm | 2 +- code/game/mecha/equipment/weapons/mecha_ammo.dm | 2 +- code/game/objects/effects/countdown.dm | 2 +- .../objects/effects/decals/turfdecal/weather.dm | 2 +- code/game/objects/effects/spawners/traps.dm | 2 +- code/game/objects/items/chromosome.dm | 2 +- code/game/objects/items/melee/misc.dm | 2 +- code/game/objects/items/signs.dm | 2 +- .../objects/items/stacks/tiles/tile_mineral.dm | 2 +- code/game/objects/structures/beds_chairs/pew.dm | 2 +- .../structures/crates_lockers/crates/wooden.dm | 2 +- code/game/objects/structures/false_walls.dm | 2 +- code/game/objects/structures/grille.dm | 2 +- code/game/objects/structures/table_frames.dm | 2 +- code/game/objects/structures/traps.dm | 2 +- code/game/turfs/open/floor/misc_floor.dm | 2 +- code/modules/admin/antag_panel.dm | 2 +- code/modules/admin/outfits.dm | 2 +- code/modules/admin/verbs/fix_air.dm | 2 +- code/modules/admin/verbs/individual_logging.dm | 2 +- code/modules/antagonists/_common/antag_helpers.dm | 2 +- code/modules/antagonists/abductor/ice_abductor.dm | 2 +- code/modules/antagonists/blob/blob.dm | 2 +- .../changeling/powers/chameleon_skin.dm | 2 +- code/modules/antagonists/cult/cult_turf_overlay.dm | 2 +- code/modules/antagonists/cult/rune_spawn_action.dm | 2 +- .../antagonists/devil/sintouched/objectives.dm | 2 +- code/modules/antagonists/magic_servant/servant.dm | 2 +- code/modules/antagonists/morph/morph_antag.dm | 2 +- code/modules/antagonists/pirate/pirate.dm | 2 +- code/modules/antagonists/separatist/separatist.dm | 2 +- .../antagonists/slaughter/slaughter_antag.dm | 2 +- .../modules/antagonists/valentines/heartbreaker.dm | 2 +- .../modules/antagonists/wishgranter/wishgranter.dm | 2 +- code/modules/atmospherics/multiz.dm | 2 +- .../awaymissions/mission_code/stationCollision.dm | 2 +- code/modules/buildmode/bm_mode.dm | 2 +- code/modules/buildmode/buildmode.dm | 2 +- code/modules/buildmode/buttons.dm | 2 +- code/modules/buildmode/effects/line.dm | 2 +- code/modules/buildmode/submodes/fill.dm | 2 +- code/modules/buildmode/submodes/mapgen.dm | 2 +- code/modules/cargo/bounties/reagent.dm | 2 +- code/modules/client/darkmode.dm | 2 +- code/modules/client/message.dm | 2 +- code/modules/client/verbs/ping.dm | 2 +- code/modules/clothing/outfits/vr.dm | 2 +- code/modules/clothing/under/jobs/centcom.dm | 2 +- code/modules/economy/account.dm | 2 +- code/modules/economy/pay_stand.dm | 2 +- code/modules/events/anomaly_pyro.dm | 2 +- code/modules/events/wizard/fakeexplosion.dm | 2 +- code/modules/events/wizard/invincible.dm | 2 +- code/modules/fields/gravity.dm | 2 +- code/modules/food_and_drinks/food/condiment.dm | 2 +- code/modules/food_and_drinks/food/snacks_meat.dm | 2 +- code/modules/food_and_drinks/food/snacks_soup.dm | 2 +- .../food_and_drinks/food/snacks_spaghetti.dm | 2 +- .../food_and_drinks/recipes/food_mixtures.dm | 2 +- .../food_and_drinks/recipes/processor_recipes.dm | 2 +- .../recipes/tablecraft/recipes_bread.dm | 2 +- .../recipes/tablecraft/recipes_egg.dm | 2 +- .../recipes/tablecraft/recipes_meat.dm | 2 +- .../recipes/tablecraft/recipes_soup.dm | 2 +- .../recipes/tablecraft/recipes_spaghetti.dm | 2 +- code/modules/hydroponics/beekeeping/honeycomb.dm | 2 +- code/modules/hydroponics/grown/cocoa_vanilla.dm | 2 +- code/modules/hydroponics/grown/cotton.dm | 2 +- code/modules/hydroponics/grown/tobacco.dm | 2 +- code/modules/hydroponics/sample.dm | 2 +- code/modules/keybindings/bindings_living.dm | 7 +++++++ code/modules/lighting/lighting_area.dm | 2 +- code/modules/mining/shelters.dm | 2 +- code/modules/mob/living/brain/brain.dm | 2 +- code/modules/mob/living/brain/death.dm | 2 +- code/modules/mob/living/brain/emote.dm | 2 +- code/modules/mob/living/brain/say.dm | 2 +- code/modules/mob/living/brain/status_procs.dm | 2 +- .../mob/living/carbon/alien/update_icons.dm | 2 +- .../mob/living/carbon/human/status_procs.dm | 2 +- .../living/simple_animal/hostile/bosses/boss.dm | 2 +- .../hostile/mining_mobs/elites/elite.dm | 2 +- .../mining_mobs/elites/goliath_broodmother.dm | 2 +- .../hostile/mining_mobs/elites/herald.dm | 2 +- .../hostile/mining_mobs/elites/legionnaire.dm | 2 +- .../hostile/mining_mobs/elites/pandora.dm | 2 +- .../mob/living/simple_animal/slime/emote.dm | 2 +- .../computers/item/laptop_presets.dm | 2 +- .../modular_computers/file_system/computer_file.dm | 2 +- .../file_system/programs/antagonist/dos.dm | 2 +- .../file_system/programs/antagonist/revelation.dm | 2 +- .../file_system/programs/ntdownloader.dm | 2 +- .../file_system/programs/ntmonitor.dm | 2 +- .../file_system/programs/nttransfer.dm | 2 +- .../file_system/programs/sm_monitor.dm | 2 +- code/modules/modular_computers/hardware/CPU.dm | 2 +- .../modular_computers/hardware/battery_module.dm | 2 +- code/modules/ninja/__ninjaDefines.dm | 2 +- code/modules/paperwork/paper.dm | 2 +- code/modules/plumbing/plumbers/pumps.dm | 2 +- code/modules/power/multiz.dm | 2 +- code/modules/procedural_mapping/mapGeneratorObj.dm | 2 +- .../procedural_mapping/mapGeneratorReadme.dm | 2 +- .../procedural_mapping/mapGenerators/asteroid.dm | 2 +- .../procedural_mapping/mapGenerators/cellular.dm | 2 +- .../procedural_mapping/mapGenerators/cult.dm | 2 +- code/modules/reagents/chemistry/colors.dm | 2 +- code/modules/recycling/disposal/multiz.dm | 2 +- code/modules/research/designs/autolathe_designs.dm | 2 +- .../modules/research/designs/limbgrower_designs.dm | 2 +- code/modules/research/designs/machine_designs.dm | 2 +- code/modules/research/designs/nanite_designs.dm | 2 +- code/modules/research/designs/weapon_designs.dm | 2 +- code/modules/research/nanites/nanite_misc_items.dm | 2 +- code/modules/research/nanites/program_disks.dm | 2 +- code/modules/ruins/lavalandruin_code/sloth.dm | 2 +- code/modules/ruins/spaceruin_code/cloning_lab.dm | 2 +- code/modules/spells/spell_types/infinite_guns.dm | 2 +- code/modules/spells/spell_types/soultap.dm | 2 +- code/modules/spells/spell_types/telepathy.dm | 2 +- code/modules/surgery/advanced/bioware/bioware.dm | 2 +- code/modules/surgery/organs/organ_internal.dm | 2 +- code/modules/tgui/states/not_incapacitated.dm | 2 +- .../unit_tests/reagent_recipe_collisions.dm | 2 +- code/modules/vending/assist.dm | 2 +- code/modules/vending/engivend.dm | 2 +- code/modules/vending/nutrimax.dm | 2 +- code/modules/vending/snack.dm | 2 +- code/modules/vending/sovietsoda.dm | 2 +- tgstation.dme | 2 +- tools/Redirector/textprocs.dm | 2 +- tools/travis/check_grep.sh | 14 ++++++++++---- 171 files changed, 185 insertions(+), 172 deletions(-) rename code/game/gamemodes/devil/{devil agent => devil_agent}/devil_agent.dm (100%) create mode 100644 code/modules/keybindings/bindings_living.dm diff --git a/_maps/multiz_debug.dm b/_maps/multiz_debug.dm index 0521fef59d3..ca286934b92 100644 --- a/_maps/multiz_debug.dm +++ b/_maps/multiz_debug.dm @@ -1 +1 @@ -#define FORCE_MAP "_maps/multiz_debug.json" \ No newline at end of file +#define FORCE_MAP "_maps/multiz_debug.json" diff --git a/code/__DEFINES/cargo.dm b/code/__DEFINES/cargo.dm index 0fbd138b9ad..5a7f465ee24 100644 --- a/code/__DEFINES/cargo.dm +++ b/code/__DEFINES/cargo.dm @@ -32,4 +32,4 @@ list("", "\improper S.T.E.A.L.T.H. pod MKVII", "A supply pod that, under normal circumstances, is completely invisible to conventional methods of detection. How are you even seeing this?"),\ list("gondolapod", "gondola", "The silent walker. This one seems to be part of a delivery agency."),\ list("", "", "")\ -) \ No newline at end of file +) diff --git a/code/__DEFINES/fantasy_affixes.dm b/code/__DEFINES/fantasy_affixes.dm index 709d414d117..20db49bebea 100644 --- a/code/__DEFINES/fantasy_affixes.dm +++ b/code/__DEFINES/fantasy_affixes.dm @@ -2,4 +2,4 @@ #define AFFIX_SUFFIX (1 << 1) #define AFFIX_GOOD (1 << 0) -#define AFFIX_EVIL (1 << 1) \ No newline at end of file +#define AFFIX_EVIL (1 << 1) diff --git a/code/__DEFINES/melee.dm b/code/__DEFINES/melee.dm index cb4a433211e..916ad824052 100644 --- a/code/__DEFINES/melee.dm +++ b/code/__DEFINES/melee.dm @@ -7,4 +7,4 @@ #define MARTIALART_MUSHPUNCH "mushroom punch" #define MARTIALART_KRAVMAGA "krav maga" #define MARTIALART_CQC "CQC" -#define MARTIALART_PLASMAFIST "plasma fist" \ No newline at end of file +#define MARTIALART_PLASMAFIST "plasma fist" diff --git a/code/__DEFINES/plumbing.dm b/code/__DEFINES/plumbing.dm index ec1c678a801..9666a5be1e1 100644 --- a/code/__DEFINES/plumbing.dm +++ b/code/__DEFINES/plumbing.dm @@ -6,4 +6,4 @@ #define DUCT_LAYER_DEFAULT THIRD_DUCT_LAYER -#define MACHINE_REAGENT_TRANSFER 10 //the default max plumbing machinery transfers \ No newline at end of file +#define MACHINE_REAGENT_TRANSFER 10 //the default max plumbing machinery transfers diff --git a/code/__DEFINES/profile.dm b/code/__DEFINES/profile.dm index 28fc7782ce3..3c9650876e2 100644 --- a/code/__DEFINES/profile.dm +++ b/code/__DEFINES/profile.dm @@ -26,4 +26,4 @@ #define PROFILE_ITEM_LEN 2 #define PROFILE_ITEM_TIME 1 -#define PROFILE_ITEM_COUNT 2 \ No newline at end of file +#define PROFILE_ITEM_COUNT 2 diff --git a/code/__DEFINES/radiation.dm b/code/__DEFINES/radiation.dm index f4fd8fa67c9..d6137e1b237 100644 --- a/code/__DEFINES/radiation.dm +++ b/code/__DEFINES/radiation.dm @@ -46,4 +46,4 @@ Ask ninjanomnom if they're around #define RAD_CONTAMINATION_STR_COEFFICIENT 0.25 // Higher means higher strength scaling contamination strength #define RAD_DISTANCE_COEFFICIENT 1 // Lower means further rad spread -#define RAD_HALF_LIFE 90 // The half-life of contaminated objects \ No newline at end of file +#define RAD_HALF_LIFE 90 // The half-life of contaminated objects diff --git a/code/__DEFINES/shuttles.dm b/code/__DEFINES/shuttles.dm index 0c956757464..e729d870284 100644 --- a/code/__DEFINES/shuttles.dm +++ b/code/__DEFINES/shuttles.dm @@ -81,4 +81,4 @@ //Shuttle unlocks #define SHUTTLE_UNLOCK_BUBBLEGUM "bubblegum" -#define SHUTTLE_UNLOCK_ALIENTECH "abductor" \ No newline at end of file +#define SHUTTLE_UNLOCK_ALIENTECH "abductor" diff --git a/code/__DEFINES/vehicles.dm b/code/__DEFINES/vehicles.dm index 0bcc14d0d71..48383546b9d 100644 --- a/code/__DEFINES/vehicles.dm +++ b/code/__DEFINES/vehicles.dm @@ -6,4 +6,4 @@ //Car trait flags -#define CAN_KIDNAP 1 \ No newline at end of file +#define CAN_KIDNAP 1 diff --git a/code/__HELPERS/dna.dm b/code/__HELPERS/dna.dm index 5ec66923ea5..b74dacdc096 100644 --- a/code/__HELPERS/dna.dm +++ b/code/__HELPERS/dna.dm @@ -10,4 +10,4 @@ #define GET_MUTATION_STABILIZER(A) ((A.stabilizer_coeff < 0) ? 1 : A.stabilizer_coeff) #define GET_MUTATION_SYNCHRONIZER(A) ((A.synchronizer_coeff < 0) ? 1 : A.synchronizer_coeff) #define GET_MUTATION_POWER(A) ((A.power_coeff < 0) ? 1 : A.power_coeff) -#define GET_MUTATION_ENERGY(A) ((A.energy_coeff < 0) ? 1 : A.energy_coeff) \ No newline at end of file +#define GET_MUTATION_ENERGY(A) ((A.energy_coeff < 0) ? 1 : A.energy_coeff) diff --git a/code/__HELPERS/reagents.dm b/code/__HELPERS/reagents.dm index e7629aad9de..8238a2e8af0 100644 --- a/code/__HELPERS/reagents.dm +++ b/code/__HELPERS/reagents.dm @@ -83,4 +83,4 @@ if(!notification) return for(var/mob/M in viewers(5, location)) - to_chat(M, notification) \ No newline at end of file + to_chat(M, notification) diff --git a/code/__HELPERS/sorts/InsertSort.dm b/code/__HELPERS/sorts/InsertSort.dm index 962709527e8..4c8c207abe6 100644 --- a/code/__HELPERS/sorts/InsertSort.dm +++ b/code/__HELPERS/sorts/InsertSort.dm @@ -16,4 +16,4 @@ SI.associative = associative SI.binarySort(fromIndex, toIndex, fromIndex) - return L \ No newline at end of file + return L diff --git a/code/__HELPERS/sorts/MergeSort.dm b/code/__HELPERS/sorts/MergeSort.dm index 39d37997255..9c85f37f7c6 100644 --- a/code/__HELPERS/sorts/MergeSort.dm +++ b/code/__HELPERS/sorts/MergeSort.dm @@ -16,4 +16,4 @@ SI.associative = associative SI.mergeSort(fromIndex, toIndex) - return L \ No newline at end of file + return L diff --git a/code/__HELPERS/sorts/TimSort.dm b/code/__HELPERS/sorts/TimSort.dm index d709044dc05..7191d1ee55c 100644 --- a/code/__HELPERS/sorts/TimSort.dm +++ b/code/__HELPERS/sorts/TimSort.dm @@ -17,4 +17,4 @@ SI.associative = associative SI.timSort(fromIndex, toIndex) - return L \ No newline at end of file + return L diff --git a/code/controllers/controller.dm b/code/controllers/controller.dm index 06547d120d5..c9d5f1e5650 100644 --- a/code/controllers/controller.dm +++ b/code/controllers/controller.dm @@ -16,4 +16,4 @@ /datum/controller/proc/Recover() -/datum/controller/proc/stat_entry() \ No newline at end of file +/datum/controller/proc/stat_entry() diff --git a/code/controllers/subsystem/persistence.dm b/code/controllers/subsystem/persistence.dm index 5f09a03db1e..3b80b54ad78 100644 --- a/code/controllers/subsystem/persistence.dm +++ b/code/controllers/subsystem/persistence.dm @@ -325,4 +325,4 @@ SUBSYSTEM_DEF(persistence) file_data["[R.id]"] = recipe_data fdel(json_file) - WRITE_FILE(json_file, json_encode(file_data)) \ No newline at end of file + WRITE_FILE(json_file, json_encode(file_data)) diff --git a/code/controllers/subsystem/processing/nanites.dm b/code/controllers/subsystem/processing/nanites.dm index 5b53f9f884d..c34e7f78066 100644 --- a/code/controllers/subsystem/processing/nanites.dm +++ b/code/controllers/subsystem/processing/nanites.dm @@ -19,4 +19,4 @@ PROCESSING_SUBSYSTEM_DEF(nanites) if(!force && !check_hardware(backup)) return if(backup.cloud_id == cloud_id) - return backup \ No newline at end of file + return backup diff --git a/code/datums/brain_damage/mild.dm b/code/datums/brain_damage/mild.dm index 9d9d444e6cb..7d25fe56b95 100644 --- a/code/datums/brain_damage/mild.dm +++ b/code/datums/brain_damage/mild.dm @@ -261,4 +261,4 @@ popleft(speak_dejavu) //Remove the oldest speak_dejavu += speech_args[SPEECH_MESSAGE] else - speak_dejavu += speech_args[SPEECH_MESSAGE] \ No newline at end of file + speak_dejavu += speech_args[SPEECH_MESSAGE] diff --git a/code/datums/cinematic.dm b/code/datums/cinematic.dm index e229b25258b..f7e721a3e8d 100644 --- a/code/datums/cinematic.dm +++ b/code/datums/cinematic.dm @@ -254,4 +254,4 @@ Nuke.Explosion() Narsie() -> Cinematic(CULT,world) -*/ \ No newline at end of file +*/ diff --git a/code/datums/components/beetlejuice.dm b/code/datums/components/beetlejuice.dm index 42123fdef18..2ae78ad3ac9 100644 --- a/code/datums/components/beetlejuice.dm +++ b/code/datums/components/beetlejuice.dm @@ -57,4 +57,4 @@ var/atom/movable/AM = parent do_teleport(AM,get_turf(target)) active = FALSE - addtimer(VARSET_CALLBACK(src, active, TRUE), cooldown) \ No newline at end of file + addtimer(VARSET_CALLBACK(src, active, TRUE), cooldown) diff --git a/code/datums/components/fantasy/prefixes.dm b/code/datums/components/fantasy/prefixes.dm index 702ec9329af..11705540cb2 100644 --- a/code/datums/components/fantasy/prefixes.dm +++ b/code/datums/components/fantasy/prefixes.dm @@ -65,4 +65,4 @@ /datum/fantasy_affix/vampiric/apply(datum/component/fantasy/comp, newName) var/obj/item/master = comp.parent comp.appliedComponents += master.AddComponent(/datum/component/lifesteal, comp.quality) - return "vampiric [newName]" \ No newline at end of file + return "vampiric [newName]" diff --git a/code/datums/components/forced_gravity.dm b/code/datums/components/forced_gravity.dm index 7f609c49457..fe9cfc861b3 100644 --- a/code/datums/components/forced_gravity.dm +++ b/code/datums/components/forced_gravity.dm @@ -17,4 +17,4 @@ gravs += gravity /datum/component/forced_gravity/proc/turf_gravity_check(datum/source, atom/checker, list/gravs) - return gravity_check(null, parent, gravs) \ No newline at end of file + return gravity_check(null, parent, gravs) diff --git a/code/datums/components/igniter.dm b/code/datums/components/igniter.dm index 7177cb0378b..175e8266018 100644 --- a/code/datums/components/igniter.dm +++ b/code/datums/components/igniter.dm @@ -33,4 +33,4 @@ if(isliving(target)) var/mob/living/L = target L.adjust_fire_stacks(fire_stacks) - L.IgniteMob() \ No newline at end of file + L.IgniteMob() diff --git a/code/datums/components/knockback.dm b/code/datums/components/knockback.dm index 12a4ae89556..110c82ad068 100644 --- a/code/datums/components/knockback.dm +++ b/code/datums/components/knockback.dm @@ -41,4 +41,4 @@ throw_dir = turn(throw_dir, 180) throw_distance *= -1 var/atom/throw_target = get_edge_target_turf(throwee, throw_dir) - throwee.safe_throw_at(throw_target, throw_distance, 1, thrower) \ No newline at end of file + throwee.safe_throw_at(throw_target, throw_distance, 1, thrower) diff --git a/code/datums/components/knockoff.dm b/code/datums/components/knockoff.dm index a36169e6dfd..7d399c7d26d 100644 --- a/code/datums/components/knockoff.dm +++ b/code/datums/components/knockoff.dm @@ -41,4 +41,4 @@ RegisterSignal(H, COMSIG_HUMAN_DISARM_HIT, .proc/Knockoff, TRUE) /datum/component/knockoff/proc/OnDropped(datum/source, mob/living/M) - UnregisterSignal(M, COMSIG_HUMAN_DISARM_HIT) \ No newline at end of file + UnregisterSignal(M, COMSIG_HUMAN_DISARM_HIT) diff --git a/code/datums/components/lifesteal.dm b/code/datums/components/lifesteal.dm index eaa7f973eaa..499816f1774 100644 --- a/code/datums/components/lifesteal.dm +++ b/code/datums/components/lifesteal.dm @@ -35,4 +35,4 @@ var/mob/living/healing = heal_target var/mob/living/damaging = damage_target if(damaging.stat != DEAD) - healing.heal_ordered_damage(flat_heal, damage_heal_order) \ No newline at end of file + healing.heal_ordered_damage(flat_heal, damage_heal_order) diff --git a/code/datums/components/shrapnel.dm b/code/datums/components/shrapnel.dm index bff4a8b35c9..f549fbbb342 100644 --- a/code/datums/components/shrapnel.dm +++ b/code/datums/components/shrapnel.dm @@ -35,4 +35,4 @@ P.preparePixelProjectile(shootat_turf, target) P.firer = firer // don't hit ourself that would be really annoying P.permutated += target // don't hit the target we hit already with the flak - P.fire() \ No newline at end of file + P.fire() diff --git a/code/datums/components/storage/concrete/wallet.dm b/code/datums/components/storage/concrete/wallet.dm index fd4aaa98027..0b8638d1675 100644 --- a/code/datums/components/storage/concrete/wallet.dm +++ b/code/datums/components/storage/concrete/wallet.dm @@ -15,4 +15,4 @@ return user.visible_message("[user] draws [I] from [parent]!", "You draw [I] from [parent].") return - ..() \ No newline at end of file + ..() diff --git a/code/datums/diseases/advance/symptoms/disfiguration.dm b/code/datums/diseases/advance/symptoms/disfiguration.dm index 4a4b704dc0e..cdfc6370be8 100644 --- a/code/datums/diseases/advance/symptoms/disfiguration.dm +++ b/code/datums/diseases/advance/symptoms/disfiguration.dm @@ -47,4 +47,4 @@ BONUS if(!.) return if(A.affected_mob) - REMOVE_TRAIT(A.affected_mob, TRAIT_DISFIGURED, DISEASE_TRAIT) \ No newline at end of file + REMOVE_TRAIT(A.affected_mob, TRAIT_DISFIGURED, DISEASE_TRAIT) diff --git a/code/datums/diseases/advance/symptoms/nanites.dm b/code/datums/diseases/advance/symptoms/nanites.dm index 99665aafc0d..c87c04fc61c 100644 --- a/code/datums/diseases/advance/symptoms/nanites.dm +++ b/code/datums/diseases/advance/symptoms/nanites.dm @@ -60,4 +60,4 @@ SEND_SIGNAL(M, COMSIG_NANITE_ADJUST_VOLUME, -0.4 * power) if(reverse_boost && SEND_SIGNAL(M, COMSIG_HAS_NANITES)) if(prob(A.stage_prob)) - A.stage = min(A.stage + 1,A.max_stages) \ No newline at end of file + A.stage = min(A.stage + 1,A.max_stages) diff --git a/code/datums/diseases/advance/symptoms/sensory.dm b/code/datums/diseases/advance/symptoms/sensory.dm index 58b64ae4903..1f8cc8d7af3 100644 --- a/code/datums/diseases/advance/symptoms/sensory.dm +++ b/code/datums/diseases/advance/symptoms/sensory.dm @@ -104,4 +104,4 @@ eyes.applyOrganDamage(-1) else if(prob(base_message_chance)) - to_chat(M, "[pick("Your eyes feel great.","You feel like your eyes can focus more clearly.", "You don't feel the need to blink.","Your ears feel great.","Your healing feels more acute.")]") \ No newline at end of file + to_chat(M, "[pick("Your eyes feel great.","You feel like your eyes can focus more clearly.", "You don't feel the need to blink.","Your ears feel great.","Your healing feels more acute.")]") diff --git a/code/datums/diseases/anxiety.dm b/code/datums/diseases/anxiety.dm index 20ecceb224c..cf810b9fdbe 100644 --- a/code/datums/diseases/anxiety.dm +++ b/code/datums/diseases/anxiety.dm @@ -38,4 +38,4 @@ "You cough up butterflies!") new /mob/living/simple_animal/butterfly(affected_mob.loc) new /mob/living/simple_animal/butterfly(affected_mob.loc) - return \ No newline at end of file + return diff --git a/code/datums/diseases/decloning.dm b/code/datums/diseases/decloning.dm index b332876c010..02c9ffd3ae7 100644 --- a/code/datums/diseases/decloning.dm +++ b/code/datums/diseases/decloning.dm @@ -56,4 +56,4 @@ affected_mob.adjustOrganLoss(ORGAN_SLOT_BRAIN, 2, 170) if(affected_mob.cloneloss >= 100) affected_mob.visible_message("[affected_mob] skin turns to dust!", "Your skin turns to dust!") - affected_mob.dust() \ No newline at end of file + affected_mob.dust() diff --git a/code/datums/ert.dm b/code/datums/ert.dm index 7eae8d37930..cde9da65112 100644 --- a/code/datums/ert.dm +++ b/code/datums/ert.dm @@ -70,4 +70,4 @@ opendoors = FALSE rename_team = "Horde of Interns" mission = "Assist in conflict resolution." - polldesc = "an unpaid internship opportunity with Nanotrasen" \ No newline at end of file + polldesc = "an unpaid internship opportunity with Nanotrasen" diff --git a/code/datums/ruins/lavaland.dm b/code/datums/ruins/lavaland.dm index 020572e70a8..2206e3f6604 100644 --- a/code/datums/ruins/lavaland.dm +++ b/code/datums/ruins/lavaland.dm @@ -253,4 +253,4 @@ description = "An abandoned graveyard, calling to those unable to continue." suffix = "lavaland_surface_elephant_graveyard.dmm" allow_duplicates = FALSE - cost = 10 \ No newline at end of file + cost = 10 diff --git a/code/datums/status_effects/status_effect.dm b/code/datums/status_effects/status_effect.dm index c84bb27616f..fbd3b2cc299 100644 --- a/code/datums/status_effects/status_effect.dm +++ b/code/datums/status_effects/status_effect.dm @@ -234,4 +234,4 @@ owner.cut_overlay(status_overlay) owner.underlays -= status_underlay QDEL_NULL(status_overlay) - return ..() \ No newline at end of file + return ..() diff --git a/code/game/gamemodes/devil/devil agent/devil_agent.dm b/code/game/gamemodes/devil/devil_agent/devil_agent.dm similarity index 100% rename from code/game/gamemodes/devil/devil agent/devil_agent.dm rename to code/game/gamemodes/devil/devil_agent/devil_agent.dm diff --git a/code/game/machinery/doors/checkForMultipleDoors.dm b/code/game/machinery/doors/checkForMultipleDoors.dm index 3c1364dfdd9..c51cfee390a 100644 --- a/code/game/machinery/doors/checkForMultipleDoors.dm +++ b/code/game/machinery/doors/checkForMultipleDoors.dm @@ -13,4 +13,4 @@ if(!istype(D, /obj/machinery/door/window) && D.density) return 0 //There are no false wall checks because that would be fucking retarded - return 1 \ No newline at end of file + return 1 diff --git a/code/game/machinery/telecomms/computers/telemonitor.dm b/code/game/machinery/telecomms/computers/telemonitor.dm index aebef711a99..3fa9ac129a8 100644 --- a/code/game/machinery/telecomms/computers/telemonitor.dm +++ b/code/game/machinery/telecomms/computers/telemonitor.dm @@ -123,4 +123,4 @@ /obj/machinery/computer/telecomms/monitor/attackby() . = ..() - updateUsrDialog() \ No newline at end of file + updateUsrDialog() diff --git a/code/game/mecha/equipment/tools/weapon_bay.dm b/code/game/mecha/equipment/tools/weapon_bay.dm index 1b3db529cc5..5fe3e14880f 100644 --- a/code/game/mecha/equipment/tools/weapon_bay.dm +++ b/code/game/mecha/equipment/tools/weapon_bay.dm @@ -11,4 +11,4 @@ if(locate(/obj/item/mecha_parts/concealed_weapon_bay) in M.contents) to_chat(user, "[M] already has a concealed weapon bay!") return - ..() \ No newline at end of file + ..() diff --git a/code/game/mecha/equipment/weapons/mecha_ammo.dm b/code/game/mecha/equipment/weapons/mecha_ammo.dm index 6e151b800ee..83a85ffcba5 100644 --- a/code/game/mecha/equipment/weapons/mecha_ammo.dm +++ b/code/game/mecha/equipment/weapons/mecha_ammo.dm @@ -91,4 +91,4 @@ rounds = 3 round_term = "cluster" direct_load = TRUE - ammo_type = "clusterbang" \ No newline at end of file + ammo_type = "clusterbang" diff --git a/code/game/objects/effects/countdown.dm b/code/game/objects/effects/countdown.dm index 3937aa51535..b30289fbe47 100644 --- a/code/game/objects/effects/countdown.dm +++ b/code/game/objects/effects/countdown.dm @@ -169,4 +169,4 @@ else var/obj/machinery/computer/arena/C = A.get_controller() var/time_left = max(0, (C.start_time - world.time) / 10) - return round(time_left) \ No newline at end of file + return round(time_left) diff --git a/code/game/objects/effects/decals/turfdecal/weather.dm b/code/game/objects/effects/decals/turfdecal/weather.dm index 34fc459f3ef..52c1a165f2f 100644 --- a/code/game/objects/effects/decals/turfdecal/weather.dm +++ b/code/game/objects/effects/decals/turfdecal/weather.dm @@ -22,4 +22,4 @@ icon_state = "sand_side" /obj/effect/turf_decal/weather/sand/light - icon_state = "lightsand_side" \ No newline at end of file + icon_state = "lightsand_side" diff --git a/code/game/objects/effects/spawners/traps.dm b/code/game/objects/effects/spawners/traps.dm index 82cfe89662b..731b4efc1d9 100644 --- a/code/game/objects/effects/spawners/traps.dm +++ b/code/game/objects/effects/spawners/traps.dm @@ -7,4 +7,4 @@ ..() var/new_type = pick(subtypesof(/obj/structure/trap) - typesof(/obj/structure/trap/ctf)) new new_type(get_turf(src)) - return INITIALIZE_HINT_QDEL \ No newline at end of file + return INITIALIZE_HINT_QDEL diff --git a/code/game/objects/items/chromosome.dm b/code/game/objects/items/chromosome.dm index 1340e7f35b4..d3a77080bf3 100644 --- a/code/game/objects/items/chromosome.dm +++ b/code/game/objects/items/chromosome.dm @@ -89,4 +89,4 @@ /obj/item/chromosome/reinforcer/apply(datum/mutation/human/HM) HM.mutadone_proof = TRUE - ..() \ No newline at end of file + ..() diff --git a/code/game/objects/items/melee/misc.dm b/code/game/objects/items/melee/misc.dm index 2a70d8d1923..e345de8a7d0 100644 --- a/code/game/objects/items/melee/misc.dm +++ b/code/game/objects/items/melee/misc.dm @@ -658,4 +658,4 @@ . = ..() overlay = mutable_appearance(icon, overlay_state) overlay.appearance_flags = RESET_COLOR - add_overlay(overlay) \ No newline at end of file + add_overlay(overlay) diff --git a/code/game/objects/items/signs.dm b/code/game/objects/items/signs.dm index 2b00114ef87..45bcb5ecfed 100644 --- a/code/game/objects/items/signs.dm +++ b/code/game/objects/items/signs.dm @@ -48,4 +48,4 @@ reqs = list(/obj/item/stack/rods = 1, /obj/item/stack/sheet/cardboard = 2) time = 80 - category = CAT_MISC \ No newline at end of file + category = CAT_MISC diff --git a/code/game/objects/items/stacks/tiles/tile_mineral.dm b/code/game/objects/items/stacks/tiles/tile_mineral.dm index 4cb4fbf865a..e242f1f8cb1 100644 --- a/code/game/objects/items/stacks/tiles/tile_mineral.dm +++ b/code/game/objects/items/stacks/tiles/tile_mineral.dm @@ -96,4 +96,4 @@ icon_state = "tile_snow" item_state = "tile-silver" turf_type = /turf/open/floor/grass/snow/safe - mineralType = "snow" \ No newline at end of file + mineralType = "snow" diff --git a/code/game/objects/structures/beds_chairs/pew.dm b/code/game/objects/structures/beds_chairs/pew.dm index 936b785deb6..65440fb5d8c 100644 --- a/code/game/objects/structures/beds_chairs/pew.dm +++ b/code/game/objects/structures/beds_chairs/pew.dm @@ -69,4 +69,4 @@ /obj/structure/chair/pew/right/post_unbuckle_mob() . = ..() - update_rightpewarmrest() \ No newline at end of file + update_rightpewarmrest() diff --git a/code/game/objects/structures/crates_lockers/crates/wooden.dm b/code/game/objects/structures/crates_lockers/crates/wooden.dm index 3b62972b877..d5f9de4deb8 100644 --- a/code/game/objects/structures/crates_lockers/crates/wooden.dm +++ b/code/game/objects/structures/crates_lockers/crates/wooden.dm @@ -19,4 +19,4 @@ new /obj/item/reagent_containers/food/drinks/soda_cans/canned_laughter(src) new /obj/item/pneumatic_cannon/pie(src) new /obj/item/reagent_containers/food/snacks/pie/cream(src) - new /obj/item/storage/crayons(src) \ No newline at end of file + new /obj/item/storage/crayons(src) diff --git a/code/game/objects/structures/false_walls.dm b/code/game/objects/structures/false_walls.dm index 6eb571d99b6..e0e741d561e 100644 --- a/code/game/objects/structures/false_walls.dm +++ b/code/game/objects/structures/false_walls.dm @@ -311,4 +311,4 @@ mineral = /obj/item/stack/sheet/mineral/plastitanium walltype = /turf/closed/wall/mineral/plastitanium smooth = SMOOTH_MORE - canSmoothWith = list(/turf/closed/wall/mineral/plastitanium, /obj/machinery/door/airlock/shuttle, /obj/machinery/door/airlock, /obj/structure/window/shuttle, /obj/structure/shuttle/engine/heater) \ No newline at end of file + canSmoothWith = list(/turf/closed/wall/mineral/plastitanium, /obj/machinery/door/airlock/shuttle, /obj/machinery/door/airlock, /obj/structure/window/shuttle, /obj/structure/shuttle/engine/heater) diff --git a/code/game/objects/structures/grille.dm b/code/game/objects/structures/grille.dm index 925e70e22d7..e9d77ebd53f 100644 --- a/code/game/objects/structures/grille.dm +++ b/code/game/objects/structures/grille.dm @@ -279,4 +279,4 @@ rods_amount = 1 rods_broken = FALSE grille_type = /obj/structure/grille - broken_type = null \ No newline at end of file + broken_type = null diff --git a/code/game/objects/structures/table_frames.dm b/code/game/objects/structures/table_frames.dm index 896a3db2af7..7ba036843a6 100644 --- a/code/game/objects/structures/table_frames.dm +++ b/code/game/objects/structures/table_frames.dm @@ -98,4 +98,4 @@ if(do_after(user, 20, target = src) && material.use(1)) make_new_table(toConstruct) else - return ..() \ No newline at end of file + return ..() diff --git a/code/game/objects/structures/traps.dm b/code/game/objects/structures/traps.dm index 7f0a88c916f..9febf7704ff 100644 --- a/code/game/objects/structures/traps.dm +++ b/code/game/objects/structures/traps.dm @@ -224,4 +224,4 @@ L.Paralyze(20) new /mob/living/simple_animal/hostile/construct/proteon/hostile(loc) new /mob/living/simple_animal/hostile/construct/proteon/hostile(loc) - QDEL_IN(src, 30) \ No newline at end of file + QDEL_IN(src, 30) diff --git a/code/game/turfs/open/floor/misc_floor.dm b/code/game/turfs/open/floor/misc_floor.dm index f591520f241..636d6cf4f1d 100644 --- a/code/game/turfs/open/floor/misc_floor.dm +++ b/code/game/turfs/open/floor/misc_floor.dm @@ -172,4 +172,4 @@ heat_capacity = 900 custom_materials = list(/datum/material/plastic=500) floor_tile = /obj/item/stack/tile/plastic - broken_states = list("plastic-damaged1","plastic-damaged2") \ No newline at end of file + broken_states = list("plastic-damaged1","plastic-damaged2") diff --git a/code/modules/admin/antag_panel.dm b/code/modules/admin/antag_panel.dm index 16723105677..19e53b09b45 100644 --- a/code/modules/admin/antag_panel.dm +++ b/code/modules/admin/antag_panel.dm @@ -214,4 +214,4 @@ GLOBAL_VAR(antag_prototypes) var/datum/browser/panel = new(usr, "traitorpanel", "", 600, 600) panel.set_content(out) panel.open() - return \ No newline at end of file + return diff --git a/code/modules/admin/outfits.dm b/code/modules/admin/outfits.dm index 1283442aa06..e62ca6d16e5 100644 --- a/code/modules/admin/outfits.dm +++ b/code/modules/admin/outfits.dm @@ -240,4 +240,4 @@ GLOBAL_LIST_EMPTY(custom_outfits) //Admin created outfits O.ears = text2path(href_list["outfit_ears"]) GLOB.custom_outfits.Add(O) - message_admins("[key_name(usr)] created \"[O.name]\" outfit!") \ No newline at end of file + message_admins("[key_name(usr)] created \"[O.name]\" outfit!") diff --git a/code/modules/admin/verbs/fix_air.dm b/code/modules/admin/verbs/fix_air.dm index 33173c30c90..cd3109df004 100644 --- a/code/modules/admin/verbs/fix_air.dm +++ b/code/modules/admin/verbs/fix_air.dm @@ -18,4 +18,4 @@ continue GM.parse_gas_string(F.initial_gas_mix) F.copy_air(GM) - F.update_visuals() \ No newline at end of file + F.update_visuals() diff --git a/code/modules/admin/verbs/individual_logging.dm b/code/modules/admin/verbs/individual_logging.dm index 7fe4c070d2d..ed5f9af6fe0 100644 --- a/code/modules/admin/verbs/individual_logging.dm +++ b/code/modules/admin/verbs/individual_logging.dm @@ -64,4 +64,4 @@ if(selected_type == log_type && selected_src == log_src) slabel = "\[[label]\]" - return "[slabel]" \ No newline at end of file + return "[slabel]" diff --git a/code/modules/antagonists/_common/antag_helpers.dm b/code/modules/antagonists/_common/antag_helpers.dm index d99920b9e21..b10df463484 100644 --- a/code/modules/antagonists/_common/antag_helpers.dm +++ b/code/modules/antagonists/_common/antag_helpers.dm @@ -16,4 +16,4 @@ continue var/datum/team/T = A.get_team() if(!team_type || istype(T,team_type)) - . |= T \ No newline at end of file + . |= T diff --git a/code/modules/antagonists/abductor/ice_abductor.dm b/code/modules/antagonists/abductor/ice_abductor.dm index 259469a1842..d70a468b8b7 100644 --- a/code/modules/antagonists/abductor/ice_abductor.dm +++ b/code/modules/antagonists/abductor/ice_abductor.dm @@ -9,4 +9,4 @@ /obj/structure/fluff/iced_abductor/Destroy() var/turf/T = get_turf(src) new /obj/effect/mob_spawn/human/abductor(T) - . = ..() \ No newline at end of file + . = ..() diff --git a/code/modules/antagonists/blob/blob.dm b/code/modules/antagonists/blob/blob.dm index 3d6db983dc4..2c53712c9fd 100644 --- a/code/modules/antagonists/blob/blob.dm +++ b/code/modules/antagonists/blob/blob.dm @@ -63,4 +63,4 @@ if(owner && owner.current) var/mob/camera/blob/B = owner.current if(istype(B)) - . += "(Progress: [B.blobs_legit.len]/[B.blobwincount])" \ No newline at end of file + . += "(Progress: [B.blobs_legit.len]/[B.blobwincount])" diff --git a/code/modules/antagonists/changeling/powers/chameleon_skin.dm b/code/modules/antagonists/changeling/powers/chameleon_skin.dm index ef523f38fe2..77eb2c22e0f 100644 --- a/code/modules/antagonists/changeling/powers/chameleon_skin.dm +++ b/code/modules/antagonists/changeling/powers/chameleon_skin.dm @@ -22,4 +22,4 @@ if(user.has_dna()) var/mob/living/carbon/C = user C.dna.remove_mutation(CHAMELEON) - ..() \ No newline at end of file + ..() diff --git a/code/modules/antagonists/cult/cult_turf_overlay.dm b/code/modules/antagonists/cult/cult_turf_overlay.dm index 1b302c79967..2e950326bf8 100644 --- a/code/modules/antagonists/cult/cult_turf_overlay.dm +++ b/code/modules/antagonists/cult/cult_turf_overlay.dm @@ -29,4 +29,4 @@ layer = TURF_LAYER /obj/effect/cult_turf/overlay/floor/bloodcult - icon_state = "cult" \ No newline at end of file + icon_state = "cult" diff --git a/code/modules/antagonists/cult/rune_spawn_action.dm b/code/modules/antagonists/cult/rune_spawn_action.dm index 60a8527860c..f865c565763 100644 --- a/code/modules/antagonists/cult/rune_spawn_action.dm +++ b/code/modules/antagonists/cult/rune_spawn_action.dm @@ -115,4 +115,4 @@ rune_word_type = /obj/effect/temp_visual/cult/rune_spawn/rune1 rune_innerring_type = /obj/effect/temp_visual/cult/rune_spawn/rune1/inner rune_center_type = /obj/effect/temp_visual/cult/rune_spawn/rune1/center - rune_color = RUNE_COLOR_MEDIUMRED \ No newline at end of file + rune_color = RUNE_COLOR_MEDIUMRED diff --git a/code/modules/antagonists/devil/sintouched/objectives.dm b/code/modules/antagonists/devil/sintouched/objectives.dm index fae6120f9c2..fcbb8dcbb55 100644 --- a/code/modules/antagonists/devil/sintouched/objectives.dm +++ b/code/modules/antagonists/devil/sintouched/objectives.dm @@ -20,4 +20,4 @@ explanation_text = "You are the BEST thing on the station. Make sure everyone knows it." /datum/objective/sintouched/acedia - explanation_text = "Angels, devils, good, evil... who cares? Just ignore any hellish threats and do your job." \ No newline at end of file + explanation_text = "Angels, devils, good, evil... who cares? Just ignore any hellish threats and do your job." diff --git a/code/modules/antagonists/magic_servant/servant.dm b/code/modules/antagonists/magic_servant/servant.dm index 157cd58ecb4..3277991446c 100644 --- a/code/modules/antagonists/magic_servant/servant.dm +++ b/code/modules/antagonists/magic_servant/servant.dm @@ -7,4 +7,4 @@ /datum/antagonist/magic_servant/proc/setup_master(mob/M) var/datum/objective/O = new("Serve [M.real_name].") O.owner = owner - objectives |= O \ No newline at end of file + objectives |= O diff --git a/code/modules/antagonists/morph/morph_antag.dm b/code/modules/antagonists/morph/morph_antag.dm index e01751946d2..7b0491e5de5 100644 --- a/code/modules/antagonists/morph/morph_antag.dm +++ b/code/modules/antagonists/morph/morph_antag.dm @@ -3,4 +3,4 @@ show_name_in_check_antagonists = TRUE show_in_antagpanel = FALSE -//It does nothing! (Besides tracking) \ No newline at end of file +//It does nothing! (Besides tracking) diff --git a/code/modules/antagonists/pirate/pirate.dm b/code/modules/antagonists/pirate/pirate.dm index 754da76e10a..78da1e7262e 100644 --- a/code/modules/antagonists/pirate/pirate.dm +++ b/code/modules/antagonists/pirate/pirate.dm @@ -104,4 +104,4 @@ else parts += "The pirate crew has failed." - return "
[parts.Join("
")]
" \ No newline at end of file + return "
[parts.Join("
")]
" diff --git a/code/modules/antagonists/separatist/separatist.dm b/code/modules/antagonists/separatist/separatist.dm index cb7e0bf28eb..20a6d84bdec 100644 --- a/code/modules/antagonists/separatist/separatist.dm +++ b/code/modules/antagonists/separatist/separatist.dm @@ -16,4 +16,4 @@ return nation /datum/antagonist/separatist/greet() - to_chat(owner, "You are a separatist! [nation.name] forever! Protect the sovereignty of your newfound land with your comrades in arms!") \ No newline at end of file + to_chat(owner, "You are a separatist! [nation.name] forever! Protect the sovereignty of your newfound land with your comrades in arms!") diff --git a/code/modules/antagonists/slaughter/slaughter_antag.dm b/code/modules/antagonists/slaughter/slaughter_antag.dm index a018603cf11..81f1e774674 100644 --- a/code/modules/antagonists/slaughter/slaughter_antag.dm +++ b/code/modules/antagonists/slaughter/slaughter_antag.dm @@ -28,4 +28,4 @@ /datum/antagonist/slaughter/laughter name = "Laughter demon" - objective_verb = "Hug and Tickle" \ No newline at end of file + objective_verb = "Hug and Tickle" diff --git a/code/modules/antagonists/valentines/heartbreaker.dm b/code/modules/antagonists/valentines/heartbreaker.dm index b78e8d574fe..526646d975d 100644 --- a/code/modules/antagonists/valentines/heartbreaker.dm +++ b/code/modules/antagonists/valentines/heartbreaker.dm @@ -16,4 +16,4 @@ /datum/antagonist/heartbreaker/greet() to_chat(owner, "You didn't get a date! They're all having fun without you! you'll show them though...") - owner.announce_objectives() \ No newline at end of file + owner.announce_objectives() diff --git a/code/modules/antagonists/wishgranter/wishgranter.dm b/code/modules/antagonists/wishgranter/wishgranter.dm index 67359b28d3c..f17b9497806 100644 --- a/code/modules/antagonists/wishgranter/wishgranter.dm +++ b/code/modules/antagonists/wishgranter/wishgranter.dm @@ -26,4 +26,4 @@ H.dna.add_mutation(HULK) H.dna.add_mutation(XRAY) H.dna.add_mutation(SPACEMUT) - H.dna.add_mutation(TK) \ No newline at end of file + H.dna.add_mutation(TK) diff --git a/code/modules/atmospherics/multiz.dm b/code/modules/atmospherics/multiz.dm index 75b628ccc36..b75b47542ef 100644 --- a/code/modules/atmospherics/multiz.dm +++ b/code/modules/atmospherics/multiz.dm @@ -26,4 +26,4 @@ above.nodes += src //Two way travel :) return ..() else - return ..() \ No newline at end of file + return ..() diff --git a/code/modules/awaymissions/mission_code/stationCollision.dm b/code/modules/awaymissions/mission_code/stationCollision.dm index a2ecfc0412c..09d59ce6d3d 100644 --- a/code/modules/awaymissions/mission_code/stationCollision.dm +++ b/code/modules/awaymissions/mission_code/stationCollision.dm @@ -154,4 +154,4 @@ GLOBAL_VAR_INIT(sc_safecode5, "[rand(0,9)]") mezzer() /obj/singularity/narsie/mini/ex_act() - return \ No newline at end of file + return diff --git a/code/modules/buildmode/bm_mode.dm b/code/modules/buildmode/bm_mode.dm index 0c7d640fc0a..5bd5f079fa4 100644 --- a/code/modules/buildmode/bm_mode.dm +++ b/code/modules/buildmode/bm_mode.dm @@ -88,4 +88,4 @@ deselect_region() return -/datum/buildmode_mode/proc/handle_selected_area(client/c, params) \ No newline at end of file +/datum/buildmode_mode/proc/handle_selected_area(client/c, params) diff --git a/code/modules/buildmode/buildmode.dm b/code/modules/buildmode/buildmode.dm index b232bd212c6..4a56257882a 100644 --- a/code/modules/buildmode/buildmode.dm +++ b/code/modules/buildmode/buildmode.dm @@ -158,4 +158,4 @@ #undef BM_SWITCHSTATE_NONE #undef BM_SWITCHSTATE_MODE -#undef BM_SWITCHSTATE_DIR \ No newline at end of file +#undef BM_SWITCHSTATE_DIR diff --git a/code/modules/buildmode/buttons.dm b/code/modules/buildmode/buttons.dm index e72dbde0643..908a8d2185e 100644 --- a/code/modules/buildmode/buttons.dm +++ b/code/modules/buildmode/buttons.dm @@ -87,4 +87,4 @@ /obj/screen/buildmode/quit/Click() bd.quit() - return 1 \ No newline at end of file + return 1 diff --git a/code/modules/buildmode/effects/line.dm b/code/modules/buildmode/effects/line.dm index 60191de9349..5cc88309e56 100644 --- a/code/modules/buildmode/effects/line.dm +++ b/code/modules/buildmode/effects/line.dm @@ -25,4 +25,4 @@ cl.images -= I cl = null QDEL_NULL(I) - return ..() \ No newline at end of file + return ..() diff --git a/code/modules/buildmode/submodes/fill.dm b/code/modules/buildmode/submodes/fill.dm index 58320cff7bc..b7d87edef25 100644 --- a/code/modules/buildmode/submodes/fill.dm +++ b/code/modules/buildmode/submodes/fill.dm @@ -59,4 +59,4 @@ else var/obj/A = new objholder(T) A.setDir(BM.build_dir) - log_admin("Build Mode: [key_name(c)] with path [objholder], filled the region from [AREACOORD(cornerA)] through [AREACOORD(cornerB)]") \ No newline at end of file + log_admin("Build Mode: [key_name(c)] with path [objholder], filled the region from [AREACOORD(cornerA)] through [AREACOORD(cornerB)]") diff --git a/code/modules/buildmode/submodes/mapgen.dm b/code/modules/buildmode/submodes/mapgen.dm index df9dd71010f..25b79b190b4 100644 --- a/code/modules/buildmode/submodes/mapgen.dm +++ b/code/modules/buildmode/submodes/mapgen.dm @@ -45,4 +45,4 @@ var/confirm = alert("Are you sure you want to run the map generator?", "Run generator", "Yes", "No") if(confirm == "Yes") G.generate() - log_admin("Build Mode: [key_name(c)] ran the map generator '[G.buildmode_name]' in the region from [AREACOORD(cornerA)] to [AREACOORD(cornerB)]") \ No newline at end of file + log_admin("Build Mode: [key_name(c)] ran the map generator '[G.buildmode_name]' in the region from [AREACOORD(cornerA)] to [AREACOORD(cornerB)]") diff --git a/code/modules/cargo/bounties/reagent.dm b/code/modules/cargo/bounties/reagent.dm index 77d1029d9f2..11a166548a3 100644 --- a/code/modules/cargo/bounties/reagent.dm +++ b/code/modules/cargo/bounties/reagent.dm @@ -255,4 +255,4 @@ required_ammount += rand(1,60) wanted_vol += rand(1,20) description = "CentCom requires [required_ammount] of [name] containing at least [wanted_vol] each. Ship a container of it to be rewarded." - reward += rand(1, 5) * 3000 \ No newline at end of file + reward += rand(1, 5) * 3000 diff --git a/code/modules/client/darkmode.dm b/code/modules/client/darkmode.dm index 6174289a7c8..a58850ed3c7 100644 --- a/code/modules/client/darkmode.dm +++ b/code/modules/client/darkmode.dm @@ -114,4 +114,4 @@ Thanks to spacemaniac and mcdonald for help with the JS side of this. winset(src, "asset_cache_browser", "background-color = none;background-color = [COLOR_DARKMODE_BACKGROUND]") winset(src, "asset_cache_browser", "text-color = #000000;text-color = [COLOR_DARKMODE_TEXT]") winset(src, "tooltip", "background-color = none;background-color = [COLOR_DARKMODE_BACKGROUND]") - winset(src, "tooltip", "text-color = #000000;text-color = [COLOR_DARKMODE_TEXT]") \ No newline at end of file + winset(src, "tooltip", "text-color = #000000;text-color = [COLOR_DARKMODE_TEXT]") diff --git a/code/modules/client/message.dm b/code/modules/client/message.dm index 24d075cb14f..d8532cbf06f 100644 --- a/code/modules/client/message.dm +++ b/code/modules/client/message.dm @@ -6,4 +6,4 @@ GLOBAL_LIST_EMPTY(clientmessages) return if (!(ckey in GLOB.clientmessages)) GLOB.clientmessages[ckey] = list() - GLOB.clientmessages[ckey] += message \ No newline at end of file + GLOB.clientmessages[ckey] += message diff --git a/code/modules/client/verbs/ping.dm b/code/modules/client/verbs/ping.dm index de19d0d52ce..15858dec39e 100644 --- a/code/modules/client/verbs/ping.dm +++ b/code/modules/client/verbs/ping.dm @@ -19,4 +19,4 @@ /client/verb/ping() set name = "Ping" set category = "OOC" - winset(src, null, "command=.display_ping+[world.time+world.tick_lag*TICK_USAGE_REAL/100]") \ No newline at end of file + winset(src, null, "command=.display_ping+[world.time+world.tick_lag*TICK_USAGE_REAL/100]") diff --git a/code/modules/clothing/outfits/vr.dm b/code/modules/clothing/outfits/vr.dm index d8dda09442d..f0bf1ec398e 100644 --- a/code/modules/clothing/outfits/vr.dm +++ b/code/modules/clothing/outfits/vr.dm @@ -38,4 +38,4 @@ /obj/item/paper/fluff/vr/fluke_ops name = "Where is my uplink?" - info = "Use the radio in your backpack." \ No newline at end of file + info = "Use the radio in your backpack." diff --git a/code/modules/clothing/under/jobs/centcom.dm b/code/modules/clothing/under/jobs/centcom.dm index 0790e89a090..209ffcb6afe 100644 --- a/code/modules/clothing/under/jobs/centcom.dm +++ b/code/modules/clothing/under/jobs/centcom.dm @@ -20,4 +20,4 @@ desc = "It's a jumpsuit worn by those interning for CentCom. The top is styled after a polo shirt for easy identification." icon_state = "intern" item_state = "g_suit" - can_adjust = FALSE \ No newline at end of file + can_adjust = FALSE diff --git a/code/modules/economy/account.dm b/code/modules/economy/account.dm index dae12bb594f..e192bab7c14 100644 --- a/code/modules/economy/account.dm +++ b/code/modules/economy/account.dm @@ -109,4 +109,4 @@ /datum/bank_account/remote // Bank account not belonging to the local station add_to_accounts = FALSE -#undef DUMPTIME \ No newline at end of file +#undef DUMPTIME diff --git a/code/modules/economy/pay_stand.dm b/code/modules/economy/pay_stand.dm index 342e421ce12..5da86c119e0 100644 --- a/code/modules/economy/pay_stand.dm +++ b/code/modules/economy/pay_stand.dm @@ -109,4 +109,4 @@ to_chat(user, "The anchored bolts on this paystand are currently locked!") return . = ..() - \ No newline at end of file + diff --git a/code/modules/events/anomaly_pyro.dm b/code/modules/events/anomaly_pyro.dm index 9f2ca8917ac..0606e176b5f 100644 --- a/code/modules/events/anomaly_pyro.dm +++ b/code/modules/events/anomaly_pyro.dm @@ -11,4 +11,4 @@ anomaly_path = /obj/effect/anomaly/pyro /datum/round_event/anomaly/anomaly_pyro/announce(fake) - priority_announce("Pyroclastic anomaly detected on long range scanners. Expected location: [impact_area.name].", "Anomaly Alert") \ No newline at end of file + priority_announce("Pyroclastic anomaly detected on long range scanners. Expected location: [impact_area.name].", "Anomaly Alert") diff --git a/code/modules/events/wizard/fakeexplosion.dm b/code/modules/events/wizard/fakeexplosion.dm index 8f99af1fc6b..58580648196 100644 --- a/code/modules/events/wizard/fakeexplosion.dm +++ b/code/modules/events/wizard/fakeexplosion.dm @@ -8,4 +8,4 @@ /datum/round_event/wizard/fake_explosion/start() sound_to_playing_players('sound/machines/alarm.ogg') sleep(100) - Cinematic(CINEMATIC_NUKE_FAKE,world) \ No newline at end of file + Cinematic(CINEMATIC_NUKE_FAKE,world) diff --git a/code/modules/events/wizard/invincible.dm b/code/modules/events/wizard/invincible.dm index 6ba9b44ee16..b69d1541ee6 100644 --- a/code/modules/events/wizard/invincible.dm +++ b/code/modules/events/wizard/invincible.dm @@ -9,4 +9,4 @@ for(var/mob/living/carbon/human/H in GLOB.alive_mob_list) H.reagents.add_reagent(/datum/reagent/medicine/adminordrazine, 40) //100 ticks of absolute invinciblity (barring gibs) - to_chat(H, "You feel invincible, nothing can hurt you!") \ No newline at end of file + to_chat(H, "You feel invincible, nothing can hurt you!") diff --git a/code/modules/fields/gravity.dm b/code/modules/fields/gravity.dm index 8b16bb6487f..473cc387a78 100644 --- a/code/modules/fields/gravity.dm +++ b/code/modules/fields/gravity.dm @@ -14,4 +14,4 @@ var/datum/component/forced_gravity/G = grav_components[T] grav_components -= T if(G) - qdel(G) \ No newline at end of file + qdel(G) diff --git a/code/modules/food_and_drinks/food/condiment.dm b/code/modules/food_and_drinks/food/condiment.dm index 59dd003d356..57d68c9479f 100644 --- a/code/modules/food_and_drinks/food/condiment.dm +++ b/code/modules/food_and_drinks/food/condiment.dm @@ -311,4 +311,4 @@ /obj/item/reagent_containers/food/condiment/pack/bbqsauce name = "bbq sauce pack" originalname = "bbq sauce" - list_reagents = list(/datum/reagent/consumable/bbqsauce = 10) \ No newline at end of file + list_reagents = list(/datum/reagent/consumable/bbqsauce = 10) diff --git a/code/modules/food_and_drinks/food/snacks_meat.dm b/code/modules/food_and_drinks/food/snacks_meat.dm index 2169deed036..b170d1d7cce 100644 --- a/code/modules/food_and_drinks/food/snacks_meat.dm +++ b/code/modules/food_and_drinks/food/snacks_meat.dm @@ -321,4 +321,4 @@ list_reagents = list(/datum/reagent/consumable/nutriment = 8, /datum/reagent/consumable/nutriment/vitamin = 2, /datum/reagent/consumable/bbqsauce = 5) bonus_reagents = list(/datum/reagent/consumable/nutriment = 1, /datum/reagent/consumable/nutriment/vitamin = 1) tastes = list("meat" = 3, "smokey sauce" = 1) - foodtype = MEAT \ No newline at end of file + foodtype = MEAT diff --git a/code/modules/food_and_drinks/food/snacks_soup.dm b/code/modules/food_and_drinks/food/snacks_soup.dm index cf90fb7dc5e..23ac4fb3e7e 100644 --- a/code/modules/food_and_drinks/food/snacks_soup.dm +++ b/code/modules/food_and_drinks/food/snacks_soup.dm @@ -260,4 +260,4 @@ list_reagents = list(/datum/reagent/consumable/nutriment = 6, /datum/reagent/consumable/capsaicin = 5) tastes = list("bungo" = 2, "hot curry" = 4, "tropical sweetness" = 1) filling_color = "#E6A625" - foodtype = VEGETABLES | FRUIT | DAIRY \ No newline at end of file + foodtype = VEGETABLES | FRUIT | DAIRY diff --git a/code/modules/food_and_drinks/food/snacks_spaghetti.dm b/code/modules/food_and_drinks/food/snacks_spaghetti.dm index b30703e9a84..88c1188f1de 100644 --- a/code/modules/food_and_drinks/food/snacks_spaghetti.dm +++ b/code/modules/food_and_drinks/food/snacks_spaghetti.dm @@ -103,4 +103,4 @@ bonus_reagents = list(/datum/reagent/consumable/nutriment = 8, /datum/reagent/consumable/nutriment/vitamin = 1) cooked_type = null tastes = list("noodle" = 1, "butter" = 1) - foodtype = GRAIN | DAIRY \ No newline at end of file + foodtype = GRAIN | DAIRY diff --git a/code/modules/food_and_drinks/recipes/food_mixtures.dm b/code/modules/food_and_drinks/recipes/food_mixtures.dm index 1ab9ccfae97..e33a0007813 100644 --- a/code/modules/food_and_drinks/recipes/food_mixtures.dm +++ b/code/modules/food_and_drinks/recipes/food_mixtures.dm @@ -189,4 +189,4 @@ name = "BBQ Sauce" id = /datum/reagent/consumable/bbqsauce results = list(/datum/reagent/consumable/bbqsauce = 5) - required_reagents = list(/datum/reagent/ash = 1, /datum/reagent/consumable/tomatojuice = 1, /datum/reagent/medicine/salglu_solution = 3, /datum/reagent/consumable/blackpepper = 1) \ No newline at end of file + required_reagents = list(/datum/reagent/ash = 1, /datum/reagent/consumable/tomatojuice = 1, /datum/reagent/medicine/salglu_solution = 3, /datum/reagent/consumable/blackpepper = 1) diff --git a/code/modules/food_and_drinks/recipes/processor_recipes.dm b/code/modules/food_and_drinks/recipes/processor_recipes.dm index 1da81b99ec8..6fe563beb72 100644 --- a/code/modules/food_and_drinks/recipes/processor_recipes.dm +++ b/code/modules/food_and_drinks/recipes/processor_recipes.dm @@ -47,4 +47,4 @@ /datum/food_processor_process/mob/slime input = /mob/living/simple_animal/slime output = null - required_machine = /obj/machinery/processor/slime \ No newline at end of file + required_machine = /obj/machinery/processor/slime diff --git a/code/modules/food_and_drinks/recipes/tablecraft/recipes_bread.dm b/code/modules/food_and_drinks/recipes/tablecraft/recipes_bread.dm index 2d0fd2d2903..39589e8fa3b 100644 --- a/code/modules/food_and_drinks/recipes/tablecraft/recipes_bread.dm +++ b/code/modules/food_and_drinks/recipes/tablecraft/recipes_bread.dm @@ -101,4 +101,4 @@ /obj/item/reagent_containers/food/snacks/butter = 3, ) result = /obj/item/reagent_containers/food/snacks/butterdog - subcategory = CAT_BREAD \ No newline at end of file + subcategory = CAT_BREAD diff --git a/code/modules/food_and_drinks/recipes/tablecraft/recipes_egg.dm b/code/modules/food_and_drinks/recipes/tablecraft/recipes_egg.dm index 6d495d1c795..4cb42993e2c 100644 --- a/code/modules/food_and_drinks/recipes/tablecraft/recipes_egg.dm +++ b/code/modules/food_and_drinks/recipes/tablecraft/recipes_egg.dm @@ -50,4 +50,4 @@ /obj/item/reagent_containers/food/snacks/grown/corn = 1 ) result = /obj/item/reagent_containers/food/snacks/salad/eggbowl - subcategory = CAT_EGG \ No newline at end of file + subcategory = CAT_EGG diff --git a/code/modules/food_and_drinks/recipes/tablecraft/recipes_meat.dm b/code/modules/food_and_drinks/recipes/tablecraft/recipes_meat.dm index 8f748201fa8..606060c67ff 100644 --- a/code/modules/food_and_drinks/recipes/tablecraft/recipes_meat.dm +++ b/code/modules/food_and_drinks/recipes/tablecraft/recipes_meat.dm @@ -207,4 +207,4 @@ /obj/item/stack/rods = 2 ) result = /obj/item/reagent_containers/food/snacks/bbqribs - subcategory = CAT_MEAT \ No newline at end of file + subcategory = CAT_MEAT diff --git a/code/modules/food_and_drinks/recipes/tablecraft/recipes_soup.dm b/code/modules/food_and_drinks/recipes/tablecraft/recipes_soup.dm index c7634f22abb..f4f2ea2808d 100644 --- a/code/modules/food_and_drinks/recipes/tablecraft/recipes_soup.dm +++ b/code/modules/food_and_drinks/recipes/tablecraft/recipes_soup.dm @@ -280,4 +280,4 @@ /obj/item/reagent_containers/food/snacks/grown/mushroom/jupitercup = 1 ) result = /obj/item/reagent_containers/food/snacks/soup/electron - subcategory = CAT_SOUP \ No newline at end of file + subcategory = CAT_SOUP diff --git a/code/modules/food_and_drinks/recipes/tablecraft/recipes_spaghetti.dm b/code/modules/food_and_drinks/recipes/tablecraft/recipes_spaghetti.dm index 30aa08b4ffd..a3cc40fbda6 100644 --- a/code/modules/food_and_drinks/recipes/tablecraft/recipes_spaghetti.dm +++ b/code/modules/food_and_drinks/recipes/tablecraft/recipes_spaghetti.dm @@ -67,4 +67,4 @@ /obj/item/reagent_containers/food/snacks/butter = 1 ) result = /obj/item/reagent_containers/food/snacks/spaghetti/butternoodles - subcategory = CAT_SPAGHETTI \ No newline at end of file + subcategory = CAT_SPAGHETTI diff --git a/code/modules/hydroponics/beekeeping/honeycomb.dm b/code/modules/hydroponics/beekeeping/honeycomb.dm index daa22c4f850..3ff7a68d84e 100644 --- a/code/modules/hydroponics/beekeeping/honeycomb.dm +++ b/code/modules/hydroponics/beekeeping/honeycomb.dm @@ -37,4 +37,4 @@ reagents.add_reagent(R.type,5) else honey_color = "" - update_icon() \ No newline at end of file + update_icon() diff --git a/code/modules/hydroponics/grown/cocoa_vanilla.dm b/code/modules/hydroponics/grown/cocoa_vanilla.dm index 4ea247f4852..00ab3554aaa 100644 --- a/code/modules/hydroponics/grown/cocoa_vanilla.dm +++ b/code/modules/hydroponics/grown/cocoa_vanilla.dm @@ -99,4 +99,4 @@ . =..() reagents.clear_reagents() reagents.add_reagent(/datum/reagent/toxin/bungotoxin, seed.potency * 0.10) //More than this will kill at too low potency - reagents.add_reagent(/datum/reagent/consumable/nutriment, seed.potency * 0.04) \ No newline at end of file + reagents.add_reagent(/datum/reagent/consumable/nutriment, seed.potency * 0.04) diff --git a/code/modules/hydroponics/grown/cotton.dm b/code/modules/hydroponics/grown/cotton.dm index a3ac7d33be1..a898b76ee88 100644 --- a/code/modules/hydroponics/grown/cotton.dm +++ b/code/modules/hydroponics/grown/cotton.dm @@ -76,4 +76,4 @@ throw_range = 3 attack_verb = list("bashed", "battered", "bludgeoned", "whacked") cotton_type = /obj/item/stack/sheet/cotton/durathread - cotton_name = "raw durathread" \ No newline at end of file + cotton_name = "raw durathread" diff --git a/code/modules/hydroponics/grown/tobacco.dm b/code/modules/hydroponics/grown/tobacco.dm index 1e2d25d8257..e785c7dce90 100644 --- a/code/modules/hydroponics/grown/tobacco.dm +++ b/code/modules/hydroponics/grown/tobacco.dm @@ -41,4 +41,4 @@ desc = "Dry them out to make some space-smokes." icon_state = "stobacco_leaves" distill_reagent = null - wine_power = 50 \ No newline at end of file + wine_power = 50 diff --git a/code/modules/hydroponics/sample.dm b/code/modules/hydroponics/sample.dm index fff4c646ac8..7fb92e8fcd6 100644 --- a/code/modules/hydroponics/sample.dm +++ b/code/modules/hydroponics/sample.dm @@ -18,4 +18,4 @@ /obj/item/seeds/sample/alienweed name = "alien weed sample" icon_state = "alienweed" - sample_color = null \ No newline at end of file + sample_color = null diff --git a/code/modules/keybindings/bindings_living.dm b/code/modules/keybindings/bindings_living.dm new file mode 100644 index 00000000000..7ae8b9960f6 --- /dev/null +++ b/code/modules/keybindings/bindings_living.dm @@ -0,0 +1,7 @@ +/mob/living/key_down(_key, client/user) + switch(_key) + if("B") + resist() + return + + return ..() diff --git a/code/modules/lighting/lighting_area.dm b/code/modules/lighting/lighting_area.dm index 58e9a4337a5..13676a5cb4f 100644 --- a/code/modules/lighting/lighting_area.dm +++ b/code/modules/lighting/lighting_area.dm @@ -27,4 +27,4 @@ if("dynamic_lighting") set_dynamic_lighting(var_value) return TRUE - return ..() \ No newline at end of file + return ..() diff --git a/code/modules/mining/shelters.dm b/code/modules/mining/shelters.dm index 3e0968eebb7..2481634e5f1 100644 --- a/code/modules/mining/shelters.dm +++ b/code/modules/mining/shelters.dm @@ -72,4 +72,4 @@ /datum/map_template/shelter/charlie/New() . = ..() whitelisted_turfs = typecacheof(/turf/closed/mineral) - banned_objects = typecacheof(/obj/structure/stone_tile) \ No newline at end of file + banned_objects = typecacheof(/obj/structure/stone_tile) diff --git a/code/modules/mob/living/brain/brain.dm b/code/modules/mob/living/brain/brain.dm index 165960d3d58..25830066b9e 100644 --- a/code/modules/mob/living/brain/brain.dm +++ b/code/modules/mob/living/brain/brain.dm @@ -108,4 +108,4 @@ . = ..() if(container) - . += "[container.type]" \ No newline at end of file + . += "[container.type]" diff --git a/code/modules/mob/living/brain/death.dm b/code/modules/mob/living/brain/death.dm index ec70ca774a6..6dd1a11758c 100644 --- a/code/modules/mob/living/brain/death.dm +++ b/code/modules/mob/living/brain/death.dm @@ -17,4 +17,4 @@ if(loc) if(istype(loc, /obj/item/organ/brain)) qdel(loc)//Gets rid of the brain item - ..() \ No newline at end of file + ..() diff --git a/code/modules/mob/living/brain/emote.dm b/code/modules/mob/living/brain/emote.dm index 5a998fdd519..7c962a101f5 100644 --- a/code/modules/mob/living/brain/emote.dm +++ b/code/modules/mob/living/brain/emote.dm @@ -31,4 +31,4 @@ key = "whistle" key_third_person = "whistles" message = "whistles." - emote_type = EMOTE_AUDIBLE \ No newline at end of file + emote_type = EMOTE_AUDIBLE diff --git a/code/modules/mob/living/brain/say.dm b/code/modules/mob/living/brain/say.dm index 1c46fb67a87..3228e1a3b04 100644 --- a/code/modules/mob/living/brain/say.dm +++ b/code/modules/mob/living/brain/say.dm @@ -24,4 +24,4 @@ /mob/living/brain/treat_message(message) message = capitalize(message) - return message \ No newline at end of file + return message diff --git a/code/modules/mob/living/brain/status_procs.dm b/code/modules/mob/living/brain/status_procs.dm index 1c5aeb1f47c..88cd14591b9 100644 --- a/code/modules/mob/living/brain/status_procs.dm +++ b/code/modules/mob/living/brain/status_procs.dm @@ -22,4 +22,4 @@ return /mob/living/brain/set_blurriness() - return \ No newline at end of file + return diff --git a/code/modules/mob/living/carbon/alien/update_icons.dm b/code/modules/mob/living/carbon/alien/update_icons.dm index ec3753e6979..468dca35400 100644 --- a/code/modules/mob/living/carbon/alien/update_icons.dm +++ b/code/modules/mob/living/carbon/alien/update_icons.dm @@ -8,4 +8,4 @@ return /mob/living/carbon/alien/update_body_parts()//we don't use the bodyparts layer for aliens. - return \ No newline at end of file + return diff --git a/code/modules/mob/living/carbon/human/status_procs.dm b/code/modules/mob/living/carbon/human/status_procs.dm index de2aec64c49..64c39e05fa6 100644 --- a/code/modules/mob/living/carbon/human/status_procs.dm +++ b/code/modules/mob/living/carbon/human/status_procs.dm @@ -50,4 +50,4 @@ if(druggy) grant_language(/datum/language/beachbum) else - remove_language(/datum/language/beachbum) \ No newline at end of file + remove_language(/datum/language/beachbum) diff --git a/code/modules/mob/living/simple_animal/hostile/bosses/boss.dm b/code/modules/mob/living/simple_animal/hostile/bosses/boss.dm index be883946921..bc07d470343 100644 --- a/code/modules/mob/living/simple_animal/hostile/bosses/boss.dm +++ b/code/modules/mob/living/simple_animal/hostile/bosses/boss.dm @@ -134,4 +134,4 @@ /datum/boss_active_timed_battle/Destroy() abilities = null SSobj.processing.Remove(src) - return ..() \ No newline at end of file + return ..() diff --git a/code/modules/mob/living/simple_animal/hostile/mining_mobs/elites/elite.dm b/code/modules/mob/living/simple_animal/hostile/mining_mobs/elites/elite.dm index 4321979de55..4095a6afcc1 100644 --- a/code/modules/mob/living/simple_animal/hostile/mining_mobs/elites/elite.dm +++ b/code/modules/mob/living/simple_animal/hostile/mining_mobs/elites/elite.dm @@ -357,4 +357,4 @@ obj/structure/elite_tumor/proc/onEliteWon() if(mover == ourelite || mover == activator) return FALSE else - return TRUE \ No newline at end of file + return TRUE diff --git a/code/modules/mob/living/simple_animal/hostile/mining_mobs/elites/goliath_broodmother.dm b/code/modules/mob/living/simple_animal/hostile/mining_mobs/elites/goliath_broodmother.dm index 1bfc6d82d0e..a098afc342a 100644 --- a/code/modules/mob/living/simple_animal/hostile/mining_mobs/elites/goliath_broodmother.dm +++ b/code/modules/mob/living/simple_animal/hostile/mining_mobs/elites/goliath_broodmother.dm @@ -240,4 +240,4 @@ /obj/item/crusher_trophy/broodmother_tongue/on_mark_detonation(mob/living/target, mob/living/user) if(rand(1, 100) <= bonus_value && target.stat != DEAD) - new /obj/effect/temp_visual/goliath_tentacle/broodmother/patch(get_turf(target), user) \ No newline at end of file + new /obj/effect/temp_visual/goliath_tentacle/broodmother/patch(get_turf(target), user) diff --git a/code/modules/mob/living/simple_animal/hostile/mining_mobs/elites/herald.dm b/code/modules/mob/living/simple_animal/hostile/mining_mobs/elites/herald.dm index cb85011fe5d..d657265c6b8 100644 --- a/code/modules/mob/living/simple_animal/hostile/mining_mobs/elites/herald.dm +++ b/code/modules/mob/living/simple_animal/hostile/mining_mobs/elites/herald.dm @@ -271,4 +271,4 @@ owner.visible_message("[owner]'s [src] emits a loud noise as [owner] is struck!") var/static/list/directional_shot_angles = list(0, 45, 90, 135, 180, 225, 270, 315) playsound(get_turf(owner), 'sound/magic/clockwork/invoke_general.ogg', 20, TRUE) - addtimer(CALLBACK(src, .proc/reactionshot, owner), 10) \ No newline at end of file + addtimer(CALLBACK(src, .proc/reactionshot, owner), 10) diff --git a/code/modules/mob/living/simple_animal/hostile/mining_mobs/elites/legionnaire.dm b/code/modules/mob/living/simple_animal/hostile/mining_mobs/elites/legionnaire.dm index 96989511bed..53a9c289adb 100644 --- a/code/modules/mob/living/simple_animal/hostile/mining_mobs/elites/legionnaire.dm +++ b/code/modules/mob/living/simple_animal/hostile/mining_mobs/elites/legionnaire.dm @@ -297,4 +297,4 @@ A.flags_1 |= (flags_1 & ADMIN_SPAWNED_1) A.GiveTarget(target) A.friends = user - A.faction = user.faction.Copy() \ No newline at end of file + A.faction = user.faction.Copy() diff --git a/code/modules/mob/living/simple_animal/hostile/mining_mobs/elites/pandora.dm b/code/modules/mob/living/simple_animal/hostile/mining_mobs/elites/pandora.dm index 73aff69c6ce..7422a441aa2 100644 --- a/code/modules/mob/living/simple_animal/hostile/mining_mobs/elites/pandora.dm +++ b/code/modules/mob/living/simple_animal/hostile/mining_mobs/elites/pandora.dm @@ -189,4 +189,4 @@ /obj/item/clothing/accessory/pandora_hope/on_uniform_dropped(obj/item/clothing/under/U, user) var/mob/living/L = user if(L && L.mind) - SEND_SIGNAL(L, COMSIG_CLEAR_MOOD_EVENT, "hope_lavaland") \ No newline at end of file + SEND_SIGNAL(L, COMSIG_CLEAR_MOOD_EVENT, "hope_lavaland") diff --git a/code/modules/mob/living/simple_animal/slime/emote.dm b/code/modules/mob/living/simple_animal/slime/emote.dm index ae2e80e2a0b..2e9a1c2b4ae 100644 --- a/code/modules/mob/living/simple_animal/slime/emote.dm +++ b/code/modules/mob/living/simple_animal/slime/emote.dm @@ -54,4 +54,4 @@ /datum/emote/slime/mood/angry key = "moodangry" - mood = "angry" \ No newline at end of file + mood = "angry" diff --git a/code/modules/modular_computers/computers/item/laptop_presets.dm b/code/modules/modular_computers/computers/item/laptop_presets.dm index 102397037be..7a2697ab12e 100644 --- a/code/modules/modular_computers/computers/item/laptop_presets.dm +++ b/code/modules/modular_computers/computers/item/laptop_presets.dm @@ -20,4 +20,4 @@ /obj/item/modular_computer/laptop/preset/civillian/install_programs() var/obj/item/computer_hardware/hard_drive/hard_drive = all_components[MC_HDD] hard_drive.store_file(new/datum/computer_file/program/chatclient()) - hard_drive.store_file(new/datum/computer_file/program/nttransfer()) \ No newline at end of file + hard_drive.store_file(new/datum/computer_file/program/nttransfer()) diff --git a/code/modules/modular_computers/file_system/computer_file.dm b/code/modules/modular_computers/file_system/computer_file.dm index 7776fc04d0c..2e2aa8e9eb3 100644 --- a/code/modules/modular_computers/file_system/computer_file.dm +++ b/code/modules/modular_computers/file_system/computer_file.dm @@ -34,4 +34,4 @@ else temp.filename = filename temp.filetype = filetype - return temp \ No newline at end of file + return temp diff --git a/code/modules/modular_computers/file_system/programs/antagonist/dos.dm b/code/modules/modular_computers/file_system/programs/antagonist/dos.dm index 337e98acaab..72a9ca1f099 100644 --- a/code/modules/modular_computers/file_system/programs/antagonist/dos.dm +++ b/code/modules/modular_computers/file_system/programs/antagonist/dos.dm @@ -97,4 +97,4 @@ data["relays"] += list(list("id" = R.uid)) data["focus"] = target ? target.uid : null - return data \ No newline at end of file + return data diff --git a/code/modules/modular_computers/file_system/programs/antagonist/revelation.dm b/code/modules/modular_computers/file_system/programs/antagonist/revelation.dm index 103b70e4967..48dd4792daf 100644 --- a/code/modules/modular_computers/file_system/programs/antagonist/revelation.dm +++ b/code/modules/modular_computers/file_system/programs/antagonist/revelation.dm @@ -68,4 +68,4 @@ data["armed"] = armed - return data \ No newline at end of file + return data diff --git a/code/modules/modular_computers/file_system/programs/ntdownloader.dm b/code/modules/modular_computers/file_system/programs/ntdownloader.dm index 92e1453dc61..74a316f0de9 100644 --- a/code/modules/modular_computers/file_system/programs/ntdownloader.dm +++ b/code/modules/modular_computers/file_system/programs/ntdownloader.dm @@ -168,4 +168,4 @@ /datum/computer_file/program/ntnetdownload/kill_program(forced) abort_file_download() - return ..(forced) \ No newline at end of file + return ..(forced) diff --git a/code/modules/modular_computers/file_system/programs/ntmonitor.dm b/code/modules/modular_computers/file_system/programs/ntmonitor.dm index 2312db7b118..226686fc042 100644 --- a/code/modules/modular_computers/file_system/programs/ntmonitor.dm +++ b/code/modules/modular_computers/file_system/programs/ntmonitor.dm @@ -78,4 +78,4 @@ data["ntnetlogs"] += list(list("entry" = i)) data["ntnetmaxlogs"] = SSnetworks.station_network.setting_maxlogcount - return data \ No newline at end of file + return data diff --git a/code/modules/modular_computers/file_system/programs/nttransfer.dm b/code/modules/modular_computers/file_system/programs/nttransfer.dm index 698e5579411..eef2eedd531 100644 --- a/code/modules/modular_computers/file_system/programs/nttransfer.dm +++ b/code/modules/modular_computers/file_system/programs/nttransfer.dm @@ -180,4 +180,4 @@ ))) data["servers"] = all_servers - return data \ No newline at end of file + return data diff --git a/code/modules/modular_computers/file_system/programs/sm_monitor.dm b/code/modules/modular_computers/file_system/programs/sm_monitor.dm index 138e8bb9dd1..bd2426a294d 100644 --- a/code/modules/modular_computers/file_system/programs/sm_monitor.dm +++ b/code/modules/modular_computers/file_system/programs/sm_monitor.dm @@ -123,4 +123,4 @@ for(var/obj/machinery/power/supermatter_crystal/S in supermatters) if(S.uid == newuid) active = S - return TRUE \ No newline at end of file + return TRUE diff --git a/code/modules/modular_computers/hardware/CPU.dm b/code/modules/modular_computers/hardware/CPU.dm index d08d65ff8b4..f13081e1f3c 100644 --- a/code/modules/modular_computers/hardware/CPU.dm +++ b/code/modules/modular_computers/hardware/CPU.dm @@ -37,4 +37,4 @@ icon_state = "cpu_super" w_class = WEIGHT_CLASS_TINY power_usage = 75 - max_idle_programs = 2 \ No newline at end of file + max_idle_programs = 2 diff --git a/code/modules/modular_computers/hardware/battery_module.dm b/code/modules/modular_computers/hardware/battery_module.dm index 7a4594f5a28..14c17ec840a 100644 --- a/code/modules/modular_computers/hardware/battery_module.dm +++ b/code/modules/modular_computers/hardware/battery_module.dm @@ -103,4 +103,4 @@ name = "nano battery" desc = "A tiny power cell, commonly seen in low-end portable microcomputers." icon_state = "cell_micro" - maxcharge = 300 \ No newline at end of file + maxcharge = 300 diff --git a/code/modules/ninja/__ninjaDefines.dm b/code/modules/ninja/__ninjaDefines.dm index 1a3e9dce639..d6cdb558409 100644 --- a/code/modules/ninja/__ninjaDefines.dm +++ b/code/modules/ninja/__ninjaDefines.dm @@ -20,4 +20,4 @@ Contents: #define DRAIN_RD_HACK_FAILED "RDHACKFAIL" #define DRAIN_MOB_SHOCK "MOBSHOCK" -#define DRAIN_MOB_SHOCK_FAILED "MOBSHOCKFAIL" \ No newline at end of file +#define DRAIN_MOB_SHOCK_FAILED "MOBSHOCKFAIL" diff --git a/code/modules/paperwork/paper.dm b/code/modules/paperwork/paper.dm index db3e34bc0b6..9cf1c55c231 100644 --- a/code/modules/paperwork/paper.dm +++ b/code/modules/paperwork/paper.dm @@ -378,4 +378,4 @@ icon_state = "scrap_bloodied" /obj/item/paper/crumpled/muddy - icon_state = "scrap_mud" \ No newline at end of file + icon_state = "scrap_mud" diff --git a/code/modules/plumbing/plumbers/pumps.dm b/code/modules/plumbing/plumbers/pumps.dm index 2f3ed97d457..8b890673331 100644 --- a/code/modules/plumbing/plumbers/pumps.dm +++ b/code/modules/plumbing/plumbers/pumps.dm @@ -81,4 +81,4 @@ else if(panel_open) icon_state = initial(icon_state) + "-open" else - icon_state = initial(icon_state) \ No newline at end of file + icon_state = initial(icon_state) diff --git a/code/modules/power/multiz.dm b/code/modules/power/multiz.dm index 9d8abf90663..d5f28462930 100644 --- a/code/modules/power/multiz.dm +++ b/code/modules/power/multiz.dm @@ -77,4 +77,4 @@ above = locate(/obj/machinery/power/deck_relay) in(SSmapping.get_turf_above(T)) if(below || above) icon_state = "cablerelay-on" - return TRUE \ No newline at end of file + return TRUE diff --git a/code/modules/procedural_mapping/mapGeneratorObj.dm b/code/modules/procedural_mapping/mapGeneratorObj.dm index dc1b25d48e7..63abccc571f 100644 --- a/code/modules/procedural_mapping/mapGeneratorObj.dm +++ b/code/modules/procedural_mapping/mapGeneratorObj.dm @@ -16,4 +16,4 @@ endTurfZ = z mapGenerator = new mapGeneratorType() mapGenerator.defineRegion(locate(startTurfX,startTurfY,startTurfZ), locate(endTurfX,endTurfY,endTurfZ)) - mapGenerator.generate() \ No newline at end of file + mapGenerator.generate() diff --git a/code/modules/procedural_mapping/mapGeneratorReadme.dm b/code/modules/procedural_mapping/mapGeneratorReadme.dm index c4ced7674bc..ac22e5fca74 100644 --- a/code/modules/procedural_mapping/mapGeneratorReadme.dm +++ b/code/modules/procedural_mapping/mapGeneratorReadme.dm @@ -143,4 +143,4 @@ Variable Breakdown (For Mappers): -*/ \ No newline at end of file +*/ diff --git a/code/modules/procedural_mapping/mapGenerators/asteroid.dm b/code/modules/procedural_mapping/mapGenerators/asteroid.dm index 35690058c99..8a2b0a97860 100644 --- a/code/modules/procedural_mapping/mapGenerators/asteroid.dm +++ b/code/modules/procedural_mapping/mapGenerators/asteroid.dm @@ -46,4 +46,4 @@ /datum/mapGenerator/asteroid/filled modules = list(/datum/mapGeneratorModule/bottomLayer/asteroidWalls) - buildmode_name = "Block: Asteroid Walls" \ No newline at end of file + buildmode_name = "Block: Asteroid Walls" diff --git a/code/modules/procedural_mapping/mapGenerators/cellular.dm b/code/modules/procedural_mapping/mapGenerators/cellular.dm index 7d88f3beb06..5fc1344dc4e 100644 --- a/code/modules/procedural_mapping/mapGenerators/cellular.dm +++ b/code/modules/procedural_mapping/mapGenerators/cellular.dm @@ -93,4 +93,4 @@ b_rule = list(3) s_rule = list(1,2,3,4,5) iterations = 20 - edge_value = 0 \ No newline at end of file + edge_value = 0 diff --git a/code/modules/procedural_mapping/mapGenerators/cult.dm b/code/modules/procedural_mapping/mapGenerators/cult.dm index 29028c3774a..09016f883f8 100644 --- a/code/modules/procedural_mapping/mapGenerators/cult.dm +++ b/code/modules/procedural_mapping/mapGenerators/cult.dm @@ -13,4 +13,4 @@ /datum/mapGenerator/cult/floor //floors only modules = list(/datum/mapGeneratorModule/bottomLayer/cultFloor, \ /datum/mapGeneratorModule/bottomLayer/repressurize) - buildmode_name = "Block: Cult Floor" \ No newline at end of file + buildmode_name = "Block: Cult Floor" diff --git a/code/modules/reagents/chemistry/colors.dm b/code/modules/reagents/chemistry/colors.dm index 8d83f9343a5..6b260210c9e 100644 --- a/code/modules/reagents/chemistry/colors.dm +++ b/code/modules/reagents/chemistry/colors.dm @@ -18,4 +18,4 @@ else mixcolor = BlendRGB(R.color, mixcolor, vol_temp/vol_counter) - return mixcolor \ No newline at end of file + return mixcolor diff --git a/code/modules/recycling/disposal/multiz.dm b/code/modules/recycling/disposal/multiz.dm index 3dcab94ca55..fe94926b967 100644 --- a/code/modules/recycling/disposal/multiz.dm +++ b/code/modules/recycling/disposal/multiz.dm @@ -46,4 +46,4 @@ return null #undef MULTIZ_PIPE_UP -#undef MULTIZ_PIPE_DOWN \ No newline at end of file +#undef MULTIZ_PIPE_DOWN diff --git a/code/modules/research/designs/autolathe_designs.dm b/code/modules/research/designs/autolathe_designs.dm index 1a709c8f2ba..c33ad97a919 100644 --- a/code/modules/research/designs/autolathe_designs.dm +++ b/code/modules/research/designs/autolathe_designs.dm @@ -1025,4 +1025,4 @@ build_type = AUTOLATHE materials = list(/datum/material/iron = 20, /datum/material/glass = 5) build_path = /obj/item/toy/ammo/gun - category = list("hacked", "Misc") \ No newline at end of file + category = list("hacked", "Misc") diff --git a/code/modules/research/designs/limbgrower_designs.dm b/code/modules/research/designs/limbgrower_designs.dm index 3ed407da91b..fc9560854ef 100644 --- a/code/modules/research/designs/limbgrower_designs.dm +++ b/code/modules/research/designs/limbgrower_designs.dm @@ -40,4 +40,4 @@ build_type = LIMBGROWER reagents_list = list(/datum/reagent/medicine/C2/instabitaluri = 75) build_path = /obj/item/melee/synthetic_arm_blade - category = list("other","emagged") \ No newline at end of file + category = list("other","emagged") diff --git a/code/modules/research/designs/machine_designs.dm b/code/modules/research/designs/machine_designs.dm index d1ba3e7a1c2..1e1969eee9b 100644 --- a/code/modules/research/designs/machine_designs.dm +++ b/code/modules/research/designs/machine_designs.dm @@ -601,4 +601,4 @@ id = "medical_kiosk" build_path = /obj/item/circuitboard/machine/medical_kiosk category = list ("Medical Machinery") - departmental_flags = DEPARTMENTAL_FLAG_MEDICAL \ No newline at end of file + departmental_flags = DEPARTMENTAL_FLAG_MEDICAL diff --git a/code/modules/research/designs/nanite_designs.dm b/code/modules/research/designs/nanite_designs.dm index 3e1cb6da342..323d72c115e 100644 --- a/code/modules/research/designs/nanite_designs.dm +++ b/code/modules/research/designs/nanite_designs.dm @@ -531,4 +531,4 @@ desc = "When triggered, the nanites scan the host to determine their race and output a signal depending on the conditions set in the settings." id = "sensor_race_nanites" program_type = /datum/nanite_program/sensor/race - category = list("Sensor Nanites") \ No newline at end of file + category = list("Sensor Nanites") diff --git a/code/modules/research/designs/weapon_designs.dm b/code/modules/research/designs/weapon_designs.dm index dad43fe03b2..7f316fbf6b1 100644 --- a/code/modules/research/designs/weapon_designs.dm +++ b/code/modules/research/designs/weapon_designs.dm @@ -341,4 +341,4 @@ build_type = AUTOLATHE materials = list(MAT_CATEGORY_RIGID = 12000) build_path = /obj/item/melee/cleric_mace - category = list("Imported") \ No newline at end of file + category = list("Imported") diff --git a/code/modules/research/nanites/nanite_misc_items.dm b/code/modules/research/nanites/nanite_misc_items.dm index cbcdfb0f9f2..6837543d111 100644 --- a/code/modules/research/nanites/nanite_misc_items.dm +++ b/code/modules/research/nanites/nanite_misc_items.dm @@ -6,4 +6,4 @@ icon_state = "nanite_remote" /obj/item/nanite_injector/attack_self(mob/user) - user.AddComponent(/datum/component/nanites, 150) \ No newline at end of file + user.AddComponent(/datum/component/nanites, 150) diff --git a/code/modules/research/nanites/program_disks.dm b/code/modules/research/nanites/program_disks.dm index 86b7803fc94..f737659f8e3 100644 --- a/code/modules/research/nanites/program_disks.dm +++ b/code/modules/research/nanites/program_disks.dm @@ -130,4 +130,4 @@ program_type = /datum/nanite_program/pacifying /obj/item/disk/nanite_program/stun - program_type = /datum/nanite_program/triggered/stun \ No newline at end of file + program_type = /datum/nanite_program/triggered/stun diff --git a/code/modules/ruins/lavalandruin_code/sloth.dm b/code/modules/ruins/lavalandruin_code/sloth.dm index e9cc070650c..e06773d4f19 100644 --- a/code/modules/ruins/lavalandruin_code/sloth.dm +++ b/code/modules/ruins/lavalandruin_code/sloth.dm @@ -2,4 +2,4 @@ /obj/item/paper/fluff/stations/lavaland/sloth/note name = "note from sloth" - desc = "have not gotten around to finishing my cursed item yet sorry - sloth" \ No newline at end of file + desc = "have not gotten around to finishing my cursed item yet sorry - sloth" diff --git a/code/modules/ruins/spaceruin_code/cloning_lab.dm b/code/modules/ruins/spaceruin_code/cloning_lab.dm index 1e372f1fa4c..338f62ee779 100644 --- a/code/modules/ruins/spaceruin_code/cloning_lab.dm +++ b/code/modules/ruins/spaceruin_code/cloning_lab.dm @@ -32,4 +32,4 @@ The crew has all been invited to the main hall, where we have seats for the initial FTL acceleration. Unfortunately the clone cannot leave the quarantine room \ without risking infection, so we will strap him into the bed and hope for the best. We can grow another clone if anything goes wrong, anyway.
- Professor Galen Linkovich"} \ No newline at end of file + Professor Galen Linkovich"} diff --git a/code/modules/spells/spell_types/infinite_guns.dm b/code/modules/spells/spell_types/infinite_guns.dm index 926506893e9..d3361284814 100644 --- a/code/modules/spells/spell_types/infinite_guns.dm +++ b/code/modules/spells/spell_types/infinite_guns.dm @@ -24,4 +24,4 @@ name = "Arcane Barrage" desc = "Fire a torrent of arcane energy at your foes with this (powerful) spell. Deals much more damage than Lesser Summon Guns, but won't knock targets down. Requires both hands free to use. Learning this spell makes you unable to learn Lesser Summon Gun." action_icon_state = "arcane_barrage" - summon_path = /obj/item/gun/ballistic/rifle/boltaction/enchanted/arcane_barrage \ No newline at end of file + summon_path = /obj/item/gun/ballistic/rifle/boltaction/enchanted/arcane_barrage diff --git a/code/modules/spells/spell_types/soultap.dm b/code/modules/spells/spell_types/soultap.dm index e9cc7acdd21..eb4fa112d29 100644 --- a/code/modules/spells/spell_types/soultap.dm +++ b/code/modules/spells/spell_types/soultap.dm @@ -30,4 +30,4 @@ for(var/obj/effect/proc_holder/spell/spell in user.mind.spell_list) spell.charge_counter = spell.charge_max spell.recharging = FALSE - spell.update_icon() \ No newline at end of file + spell.update_icon() diff --git a/code/modules/spells/spell_types/telepathy.dm b/code/modules/spells/spell_types/telepathy.dm index 2a5691d6f0f..1a03c7c1721 100644 --- a/code/modules/spells/spell_types/telepathy.dm +++ b/code/modules/spells/spell_types/telepathy.dm @@ -29,4 +29,4 @@ continue var/follow_rev = FOLLOW_LINK(ded, user) var/follow_whispee = FOLLOW_LINK(ded, M) - to_chat(ded, "[follow_rev] [user] [name]: \"[msg]\" to [follow_whispee] [M]") \ No newline at end of file + to_chat(ded, "[follow_rev] [user] [name]: \"[msg]\" to [follow_whispee] [M]") diff --git a/code/modules/surgery/advanced/bioware/bioware.dm b/code/modules/surgery/advanced/bioware/bioware.dm index f3435e874fc..ab2f76f28ba 100644 --- a/code/modules/surgery/advanced/bioware/bioware.dm +++ b/code/modules/surgery/advanced/bioware/bioware.dm @@ -28,4 +28,4 @@ active = TRUE /datum/bioware/proc/on_lose() - return \ No newline at end of file + return diff --git a/code/modules/surgery/organs/organ_internal.dm b/code/modules/surgery/organs/organ_internal.dm index f31b933d780..271c7895163 100644 --- a/code/modules/surgery/organs/organ_internal.dm +++ b/code/modules/surgery/organs/organ_internal.dm @@ -212,4 +212,4 @@ if(!getorganslot(ORGAN_SLOT_EARS)) var/obj/item/organ/ears/ears = new() - ears.Insert(src) \ No newline at end of file + ears.Insert(src) diff --git a/code/modules/tgui/states/not_incapacitated.dm b/code/modules/tgui/states/not_incapacitated.dm index bec6d09bdba..1fde1d34d0f 100644 --- a/code/modules/tgui/states/not_incapacitated.dm +++ b/code/modules/tgui/states/not_incapacitated.dm @@ -30,4 +30,4 @@ GLOBAL_DATUM_INIT(not_incapacitated_turf_state, /datum/ui_state/not_incapacitate var/mob/living/L = user if(!(L.mobility_flags & MOBILITY_STAND)) return UI_DISABLED - return UI_INTERACTIVE \ No newline at end of file + return UI_INTERACTIVE diff --git a/code/modules/unit_tests/reagent_recipe_collisions.dm b/code/modules/unit_tests/reagent_recipe_collisions.dm index 32d00c13bcd..20e875422f2 100644 --- a/code/modules/unit_tests/reagent_recipe_collisions.dm +++ b/code/modules/unit_tests/reagent_recipe_collisions.dm @@ -12,4 +12,4 @@ var/datum/chemical_reaction/r1 = reactions[i] var/datum/chemical_reaction/r2 = reactions[i2] if(chem_recipes_do_conflict(r1, r2)) - Fail("Chemical recipe conflict between [r1.type] and [r2.type]") \ No newline at end of file + Fail("Chemical recipe conflict between [r1.type] and [r2.type]") diff --git a/code/modules/vending/assist.dm b/code/modules/vending/assist.dm index 6150e7cd516..717a38be47b 100644 --- a/code/modules/vending/assist.dm +++ b/code/modules/vending/assist.dm @@ -24,4 +24,4 @@ /obj/item/vending_refill/assist machine_name = "Vendomat" - icon_state = "refill_engi" \ No newline at end of file + icon_state = "refill_engi" diff --git a/code/modules/vending/engivend.dm b/code/modules/vending/engivend.dm index e070608127a..f081234277a 100644 --- a/code/modules/vending/engivend.dm +++ b/code/modules/vending/engivend.dm @@ -26,4 +26,4 @@ /obj/item/vending_refill/engivend machine_name = "Engi-Vend" - icon_state = "refill_engi" \ No newline at end of file + icon_state = "refill_engi" diff --git a/code/modules/vending/nutrimax.dm b/code/modules/vending/nutrimax.dm index d3741f7f852..80ab7244803 100644 --- a/code/modules/vending/nutrimax.dm +++ b/code/modules/vending/nutrimax.dm @@ -23,4 +23,4 @@ /obj/item/vending_refill/hydronutrients machine_name = "NutriMax" - icon_state = "refill_plant" \ No newline at end of file + icon_state = "refill_plant" diff --git a/code/modules/vending/snack.dm b/code/modules/vending/snack.dm index d75caa0e355..c228c146786 100644 --- a/code/modules/vending/snack.dm +++ b/code/modules/vending/snack.dm @@ -44,4 +44,4 @@ icon_state = "snackgreen" /obj/machinery/vending/snack/teal - icon_state = "snackteal" \ No newline at end of file + icon_state = "snackteal" diff --git a/code/modules/vending/sovietsoda.dm b/code/modules/vending/sovietsoda.dm index 01832df2855..6e2ecd54524 100644 --- a/code/modules/vending/sovietsoda.dm +++ b/code/modules/vending/sovietsoda.dm @@ -13,4 +13,4 @@ /obj/item/vending_refill/sovietsoda machine_name = "BODA" - icon_state = "refill_cola" \ No newline at end of file + icon_state = "refill_cola" diff --git a/tgstation.dme b/tgstation.dme index 11218221279..cd9853ba8b9 100644 --- a/tgstation.dme +++ b/tgstation.dme @@ -630,7 +630,7 @@ #include "code\game\gamemodes\devil\devil_game_mode.dm" #include "code\game\gamemodes\devil\game_mode.dm" #include "code\game\gamemodes\devil\objectives.dm" -#include "code\game\gamemodes\devil\devil agent\devil_agent.dm" +#include "code\game\gamemodes\devil\devil_agent\devil_agent.dm" #include "code\game\gamemodes\dynamic\dynamic.dm" #include "code\game\gamemodes\dynamic\dynamic_rulesets.dm" #include "code\game\gamemodes\dynamic\dynamic_rulesets_latejoin.dm" diff --git a/tools/Redirector/textprocs.dm b/tools/Redirector/textprocs.dm index 1b915113323..b4c6f68740c 100644 --- a/tools/Redirector/textprocs.dm +++ b/tools/Redirector/textprocs.dm @@ -150,4 +150,4 @@ proc if (size <= length) return message else - return copytext(message, 1, length + 1) \ No newline at end of file + return copytext(message, 1, length + 1) diff --git a/tools/travis/check_grep.sh b/tools/travis/check_grep.sh index c7c0cc43126..a271cd539b7 100755 --- a/tools/travis/check_grep.sh +++ b/tools/travis/check_grep.sh @@ -34,10 +34,16 @@ if grep -P '^/*var/' code/**/*.dm; then echo "ERROR: Unmanaged global var use detected in code, please use the helpers." st=1 fi; -if pcregrep --buffer-size=100K -LMr '\n$' code/**/*.dm; then - echo "ERROR: No newline at end of file detected" - st=1 -fi; +nl=' +' +nl=$'\n' +while read f; do + t=$(tail -c2 "$f"; printf x); r1="${nl}$"; r2="${nl}${r1}" + if [[ ! ${t%x} =~ $r1 ]]; then + echo "file $f is missing a trailing newline" + st=1 + fi; +done < <(find . -type f -name '*.dm') if grep -i 'centcomm' code/**/*.dm; then echo "ERROR: Misspelling(s) of CENTCOM detected in code, please remove the extra M(s)." st=1