diff --git a/code/ATMOSPHERICS/components/trinary_devices/filter.dm b/code/ATMOSPHERICS/components/trinary_devices/filter.dm index 31ffc3bfcd1..34757072946 100644 --- a/code/ATMOSPHERICS/components/trinary_devices/filter.dm +++ b/code/ATMOSPHERICS/components/trinary_devices/filter.dm @@ -10,7 +10,7 @@ obj/machinery/atmospherics/trinary/filter can_unwrench = 1 var/on = 0 - var/temp = null // -- TLE + var/temp = null var/target_pressure = ONE_ATMOSPHERE @@ -138,7 +138,7 @@ Filter types: set_frequency(frequency) return ..() -obj/machinery/atmospherics/trinary/filter/attack_hand(user as mob) // -- TLE +obj/machinery/atmospherics/trinary/filter/attack_hand(user as mob) if(..()) return @@ -191,7 +191,7 @@ obj/machinery/atmospherics/trinary/filter/attack_hand(user as mob) // -- TLE onclose(user, "atmo_filter") return -obj/machinery/atmospherics/trinary/filter/Topic(href, href_list) // -- TLE +obj/machinery/atmospherics/trinary/filter/Topic(href, href_list) if(..()) return usr.set_machine(src) diff --git a/code/ATMOSPHERICS/components/unary/vent_pump.dm b/code/ATMOSPHERICS/components/unary/vent_pump.dm index 6625e4479ea..33a3cf07994 100644 --- a/code/ATMOSPHERICS/components/unary/vent_pump.dm +++ b/code/ATMOSPHERICS/components/unary/vent_pump.dm @@ -24,7 +24,7 @@ //2: Do not pass internal_pressure_bound //3: Do not pass either - var/welded = 0 // Added for aliens -- TLE + var/welded = 0 var/frequency = 1439 var/datum/radio_frequency/radio_connection diff --git a/code/WorkInProgress/Sigyn/Softcurity/access.dm b/code/WorkInProgress/Sigyn/Softcurity/access.dm index cda19d40ff3..f0d8fc640a9 100644 --- a/code/WorkInProgress/Sigyn/Softcurity/access.dm +++ b/code/WorkInProgress/Sigyn/Softcurity/access.dm @@ -197,11 +197,11 @@ return list(access_sec_doors, access_forensics_lockers, access_morgue, access_maint_tunnels, access_court) if("Medical Doctor") return list(access_medical, access_morgue, access_surgery) - if("Botanist") // -- TLE + if("Botanist") return list(access_hydroponics, access_morgue) // Removed tox and chem access because STOP PISSING OFF THE CHEMIST GUYS // //Removed medical access because WHAT THE FUCK YOU AREN'T A DOCTOR YOU GROW WHEAT //Given Morgue access because they have a viable means of cloning. - if("Librarian") // -- TLE + if("Librarian") return list(access_library) - if("Lawyer") //Muskets 160910 + if("Lawyer") return list(access_lawyer, access_court, access_sec_doors) if("Captain") return get_all_accesses() diff --git a/code/controllers/configuration.dm b/code/controllers/configuration.dm index 727c473af4c..c2c1cb2dd33 100644 --- a/code/controllers/configuration.dm +++ b/code/controllers/configuration.dm @@ -371,7 +371,7 @@ else diary << "Unknown setting in configuration: '[name]'" -/datum/configuration/proc/loadsql(filename) // -- TLE +/datum/configuration/proc/loadsql(filename) var/list/Lines = file2list(filename) for(var/t in Lines) if(!t) continue diff --git a/code/game/area/Space Station 13 areas.dm b/code/game/area/Space Station 13 areas.dm index 7aa3c4120c3..a56343316ea 100644 --- a/code/game/area/Space Station 13 areas.dm +++ b/code/game/area/Space Station 13 areas.dm @@ -341,12 +341,12 @@ proc/process_ghost_teleport_locs() //EXTRA -/area/asteroid // -- TLE +/area/asteroid name = "\improper Asteroid" icon_state = "asteroid" requires_power = 0 -/area/asteroid/cave // -- TLE +/area/asteroid/cave name = "\improper Asteroid - Underground" icon_state = "cave" requires_power = 0 diff --git a/code/game/gamemodes/gameticker.dm b/code/game/gamemodes/gameticker.dm index af126abcbd2..60d68580439 100644 --- a/code/game/gamemodes/gameticker.dm +++ b/code/game/gamemodes/gameticker.dm @@ -111,7 +111,7 @@ var/global/datum/controller/gameticker/ticker else src.mode.announce() - supply_shuttle.process() //Start the supply shuttle regenerating points -- TLE + supply_shuttle.process() //Start the supply shuttle regenerating points master_controller.process() //Start master_controller.process() lighting_controller.process() //Start processing DynamicAreaLighting updates @@ -142,7 +142,7 @@ var/global/datum/controller/gameticker/ticker if(config.sql_enabled) spawn(3000) - statistic_cycle() // Polls population totals regularly and stores them in an SQL DB -- TLE + statistic_cycle() // Polls population totals regularly and stores them in an SQL DB return 1 /datum/controller/gameticker @@ -150,7 +150,7 @@ var/global/datum/controller/gameticker/ticker //Now we have a general cinematic centrally held within the gameticker....far more efficient! var/obj/screen/cinematic = null - //Plus it provides an easy way to make cinematics for other events. Just use this as a template :) + //Plus it provides an easy way to make cinematics for other events. Just use this as a template proc/station_explosion_cinematic(var/station_missed=0, var/override = null) if( cinematic ) return //already a cinematic in progress! diff --git a/code/game/machinery/atmo_control.dm b/code/game/machinery/atmo_control.dm index 07c9715c9f8..7f843721df1 100644 --- a/code/game/machinery/atmo_control.dm +++ b/code/game/machinery/atmo_control.dm @@ -178,7 +178,7 @@ obj/machinery/computer/general_air_control return_text() var/output = ..() //if(signal.data) - // input_info = signal.data // Attempting to fix intake control -- TLE + // input_info = signal.data // Attempting to fix intake control output += "

Tank Control System

" if(input_info) diff --git a/code/game/machinery/bots/floorbot.dm b/code/game/machinery/bots/floorbot.dm index 6eeb40f8276..d8160c1ee72 100644 --- a/code/game/machinery/bots/floorbot.dm +++ b/code/game/machinery/bots/floorbot.dm @@ -194,7 +194,7 @@ if(targetdirection != null) /* for (var/turf/space/D in view(7,src)) - if(!(D in floorbottargets) && D != src.oldtarget) // Added for bridging mode -- TLE + if(!(D in floorbottargets) && D != src.oldtarget) // Added for bridging mode if(get_dir(src, D) == targetdirection) src.oldtarget = D src.target = D diff --git a/code/game/machinery/computer/communications.dm b/code/game/machinery/computer/communications.dm index ca522c4d35a..632ea76875b 100644 --- a/code/game/machinery/computer/communications.dm +++ b/code/game/machinery/computer/communications.dm @@ -507,7 +507,7 @@ user << "Centcom will not allow the shuttle to be called. Consider all contracts terminated." return */ - if(world.time < 6000) // Ten minute grace period to let the game get going without lolmetagaming. -- TLE + if(world.time < 6000) user << "The emergency shuttle is refueling. Please wait another [round((6000-world.time)/600)] minutes before trying again." return diff --git a/code/game/machinery/doors/airlock.dm b/code/game/machinery/doors/airlock.dm index f21392a7028..85e9bb845d7 100644 --- a/code/game/machinery/doors/airlock.dm +++ b/code/game/machinery/doors/airlock.dm @@ -863,7 +863,7 @@ About the new airlock wires panel: return src.attack_hand(user) else if(istype(C, /obj/item/device/assembly/signaler)) return src.attack_hand(user) - else if(istype(C, /obj/item/weapon/pai_cable)) // -- TLE + else if(istype(C, /obj/item/weapon/pai_cable)) var/obj/item/weapon/pai_cable/cable = C cable.plugin(src, user) else if(istype(C, /obj/item/weapon/crowbar) || istype(C, /obj/item/weapon/twohanded/fireaxe) ) diff --git a/code/game/machinery/spaceheater.dm b/code/game/machinery/spaceheater.dm index a74260c1dcd..2c8c6e91c6e 100644 --- a/code/game/machinery/spaceheater.dm +++ b/code/game/machinery/spaceheater.dm @@ -167,9 +167,9 @@ var/heat_capacity = removed.heat_capacity() //world << "heating ([heat_capacity])" - if(heat_capacity == 0 || heat_capacity == null) // Added check to avoid divide by zero (oshi-) runtime errors -- TLE + if(heat_capacity == 0 || heat_capacity == null) // Added check to avoid divide by zero (oshi-) runtime errors heat_capacity = 1 - removed.temperature = min((removed.temperature*heat_capacity + heating_power)/heat_capacity, 1000) // Added min() check to try and avoid wacky superheating issues in low gas scenarios -- TLE + removed.temperature = min((removed.temperature*heat_capacity + heating_power)/heat_capacity, 1000) // Added min() check to try and avoid wacky superheating issues in low gas scenarios cell.use(heating_power/20000) //world << "now at [removed.temperature]" diff --git a/code/game/machinery/telecomms/broadcaster.dm b/code/game/machinery/telecomms/broadcaster.dm index e1ae4223a80..4cd28043cb0 100644 --- a/code/game/machinery/telecomms/broadcaster.dm +++ b/code/game/machinery/telecomms/broadcaster.dm @@ -365,7 +365,7 @@ var/message_delay = 0 // To make sure restarting the recentmessages list is kept var/part_b_extra = "" if(data == 3) // intercepted radio message part_b_extra = " (Intercepted)" - var/part_b = " \[[freq_text]\][part_b_extra] " // Tweaked for security headsets -- TLE + var/part_b = " \[[freq_text]\][part_b_extra] " var/part_c = "" if (display_freq==SYND_FREQ) @@ -397,7 +397,7 @@ var/message_delay = 0 // To make sure restarting the recentmessages list is kept // --- This following recording is intended for research and feedback in the use of department radio channels --- - var/part_blackbox_b = " \[[freq_text]\] " // Tweaked for security headsets -- TLE + var/part_blackbox_b = " \[[freq_text]\] " var/blackbox_msg = "[part_a][name][part_blackbox_b][quotedmsg][part_c]" //var/blackbox_admin_msg = "[part_a][M.name] (Real name: [M.real_name])[part_blackbox_b][quotedmsg][part_c]" @@ -664,7 +664,7 @@ var/message_delay = 0 // To make sure restarting the recentmessages list is kept // Create a radio headset for the sole purpose of using its icon var/obj/item/device/radio/headset/radio = new - var/part_b = " \icon[radio]\[[freq_text]\][part_b_extra] " // Tweaked for security headsets -- TLE + var/part_b = " \icon[radio]\[[freq_text]\][part_b_extra] " var/part_c = "" if (display_freq==SYND_FREQ) @@ -688,7 +688,7 @@ var/message_delay = 0 // To make sure restarting the recentmessages list is kept // --- This following recording is intended for research and feedback in the use of department radio channels --- - var/part_blackbox_b = " \[[freq_text]\] " // Tweaked for security headsets -- TLE + var/part_blackbox_b = " \[[freq_text]\] " var/blackbox_msg = "[part_a][source][part_blackbox_b]\"[text]\"[part_c]" //var/blackbox_admin_msg = "[part_a][M.name] (Real name: [M.real_name])[part_blackbox_b][quotedmsg][part_c]" diff --git a/code/game/objects/items/devices/radio/radio.dm b/code/game/objects/items/devices/radio/radio.dm index 04e26786580..edac441eae1 100644 --- a/code/game/objects/items/devices/radio/radio.dm +++ b/code/game/objects/items/devices/radio/radio.dm @@ -448,7 +448,7 @@ var/GLOBAL_RADIO_TYPE = 1 // radio type to use var/list/receive = list() //for (var/obj/item/device/radio/R in radio_connection.devices) - for (var/obj/item/device/radio/R in connection.devices["[RADIO_CHAT]"]) // Modified for security headset code -- TLE + for (var/obj/item/device/radio/R in connection.devices["[RADIO_CHAT]"]) //if(R.accept_rad(src, message)) receive |= R.send_hear(display_freq, 0) @@ -498,7 +498,7 @@ var/GLOBAL_RADIO_TYPE = 1 // radio type to use if(!freq_text) freq_text = format_frequency(display_freq) - var/part_b = " \[[freq_text]\] " // Tweaked for security headsets -- TLE + var/part_b = " \[[freq_text]\] " var/part_c = "" if (display_freq==SYND_FREQ) @@ -524,7 +524,7 @@ var/GLOBAL_RADIO_TYPE = 1 // radio type to use //This following recording is intended for research and feedback in the use of department radio channels. - var/part_blackbox_b = " \[[freq_text]\] " // Tweaked for security headsets -- TLE + var/part_blackbox_b = " \[[freq_text]\] " var/blackbox_msg = "[part_a][M.name][part_blackbox_b][quotedmsg][part_c]" //var/blackbox_admin_msg = "[part_a][M.name] (Real name: [M.real_name])[part_blackbox_b][quotedmsg][part_c]" if(istype(blackbox)) diff --git a/code/game/objects/items/weapons/AI_modules.dm b/code/game/objects/items/weapons/AI_modules.dm index f19507fa2aa..474eb156fad 100644 --- a/code/game/objects/items/weapons/AI_modules.dm +++ b/code/game/objects/items/weapons/AI_modules.dm @@ -170,7 +170,7 @@ AI MODULES /****************** New Freeform ******************/ -/obj/item/weapon/aiModule/supplied/freeform // Slightly more dynamic freeform module -- TLE +/obj/item/weapon/aiModule/supplied/freeform name = "'Freeform' AI Module" lawpos = 0 desc = "A 'freeform' AI module: ''" @@ -215,7 +215,7 @@ AI MODULES /******************** Purge ********************/ -/obj/item/weapon/aiModule/reset/purge // -- TLE +/obj/item/weapon/aiModule/reset/purge name = "'Purge' AI Module" desc = "A 'purge' AI Module: 'Purges all laws.'" origin_tech = "programming=3;materials=6" @@ -232,7 +232,7 @@ AI MODULES /******************** Asimov ********************/ -/obj/item/weapon/aiModule/core/full/asimov // -- TLE +/obj/item/weapon/aiModule/core/full/asimov name = "'Asimov' Core AI Module" desc = "An 'Asimov' Core AI Module: 'Reconfigures the AI's core laws.'" origin_tech = "programming=3;materials=4" @@ -243,7 +243,7 @@ AI MODULES /******************** Asimov++ *********************/ -/obj/item/weapon/aiModule/core/full/asimovpp //By Intigracy - RR //goddamnit RR you can't use "++" in item paths. +/obj/item/weapon/aiModule/core/full/asimovpp name = "'Asimov++' Core AI Module" desc = "Nanotrasen's homebrew improvements to the standard AI laws." origin_tech = "programming=3;materials=4" @@ -297,7 +297,7 @@ AI MODULES /****************** T.Y.R.A.N.T. *****************/ -/obj/item/weapon/aiModule/core/full/tyrant // -- Darem +/obj/item/weapon/aiModule/core/full/tyrant name = "'T.Y.R.A.N.T.' Core AI Module" desc = "A T.Y.R.A.N.T. Core AI Module: 'Reconfigures the AI's core laws.'" origin_tech = "programming=3;materials=6;syndicate=2" @@ -308,7 +308,7 @@ AI MODULES /******************** Robocop ********************/ -/obj/item/weapon/aiModule/core/full/robocop // -- TLE +/obj/item/weapon/aiModule/core/full/robocop name = "'Robocop' Core AI Module" desc = "A 'Robocop' Core AI Module: 'Reconfigures the AI's core three laws.'" origin_tech = "programming=4" @@ -319,7 +319,7 @@ AI MODULES /******************** Antimov ********************/ -/obj/item/weapon/aiModule/core/full/antimov // -- TLE +/obj/item/weapon/aiModule/core/full/antimov name = "'Antimov' Core AI Module" desc = "An 'Antimov' Core AI Module: 'Reconfigures the AI's core laws.'" origin_tech = "programming=4" @@ -330,7 +330,7 @@ AI MODULES /******************** Freeform Core ******************/ -/obj/item/weapon/aiModule/core/freeformcore // Slightly more dynamic freeform module -- TLE +/obj/item/weapon/aiModule/core/freeformcore name = "'Freeform' Core AI Module" desc = "A 'freeform' Core AI module: ''" origin_tech = "programming=3;materials=6" @@ -372,7 +372,7 @@ AI MODULES /******************** Robocop ********************/ -/obj/item/weapon/aiModule/robocop // -- TLE +/obj/item/weapon/aiModule/robocop name = "'Robocop' core AI module" desc = "A 'Robocop' Core AI Module: 'Reconfigures the AI's core three laws.'" origin_tech = "programming=4" @@ -388,7 +388,7 @@ AI MODULES /******************** Antimov ********************/ -/obj/item/weapon/aiModule/antimov // -- TLE +/obj/item/weapon/aiModule/antimov name = "'Antimov' core AI module" desc = "An 'Antimov' Core AI Module: 'Reconfigures the AI's core laws.'" origin_tech = "programming=4" diff --git a/code/game/objects/items/weapons/flamethrower.dm b/code/game/objects/items/weapons/flamethrower.dm index c45e40cb96e..bb81c9e81cf 100644 --- a/code/game/objects/items/weapons/flamethrower.dm +++ b/code/game/objects/items/weapons/flamethrower.dm @@ -185,10 +185,10 @@ //TODO: DEFERRED Consider checking to make sure tank pressure is high enough before doing this... //Transfer 5% of current tank air contents to turf var/datum/gas_mixture/air_transfer = ptank.air_contents.remove_ratio(0.05) - air_transfer.toxins = air_transfer.toxins * 5 // This is me not comprehending the air system. I realize this is retarded and I could probably make it work without fucking it up like this, but there you have it. -- TLE + air_transfer.toxins = air_transfer.toxins * 5 target.assume_air(air_transfer) //Burn it based on transfered gas - target.hotspot_expose((ptank.air_contents.temperature*2) + 380,500) // -- More of my "how do I shot fire?" dickery. -- TLE + target.hotspot_expose((ptank.air_contents.temperature*2) + 380,500) //location.hotspot_expose(1000,500,1) air_master.add_to_active(target, 0) return diff --git a/code/game/objects/items/weapons/tanks/tanks.dm b/code/game/objects/items/weapons/tanks/tanks.dm index acc493b84dd..a7a2c812ade 100644 --- a/code/game/objects/items/weapons/tanks/tanks.dm +++ b/code/game/objects/items/weapons/tanks/tanks.dm @@ -205,7 +205,7 @@ air_contents.react() pressure = air_contents.return_pressure() var/range = (pressure-TANK_FRAGMENT_PRESSURE)/TANK_FRAGMENT_SCALE - range = min(range, MAX_EX_LIGHT_RANGE) // was 8 - - - Changed to a configurable define -- TLE + range = min(range, MAX_EX_LIGHT_RANGE) var/turf/epicenter = get_turf(loc) //world << "\blue Exploding Pressure: [pressure] kPa, intensity: [range]" diff --git a/code/modules/admin/admin_verbs.dm b/code/modules/admin/admin_verbs.dm index 999cba7c25c..aa306a5e41b 100644 --- a/code/modules/admin/admin_verbs.dm +++ b/code/modules/admin/admin_verbs.dm @@ -435,7 +435,7 @@ var/list/admin_verbs_hideable = list( #undef MAX_WARNS #undef AUTOBANTIME -/client/proc/drop_bomb() // Some admin dickery that can probably be done better -- TLE +/client/proc/drop_bomb() set category = "Special Verbs" set name = "Drop Bomb" set desc = "Cause an explosion of varying strength at your location." @@ -461,7 +461,7 @@ var/list/admin_verbs_hideable = list( message_admins("\blue [ckey] creating an admin explosion at [epicenter.loc].") feedback_add_details("admin_verb","DB") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc! -/client/proc/give_spell(mob/T as mob in mob_list) // -- Urist +/client/proc/give_spell(mob/T as mob in mob_list) set category = "Fun" set name = "Give Spell" set desc = "Gives a spell to a mob." @@ -479,7 +479,7 @@ var/list/admin_verbs_hideable = list( message_admins("\red Spells given to mindless mobs will not be transferred in mindswap or cloning!", 1) -/client/proc/give_disease(mob/T as mob in mob_list) // -- Giacom +/client/proc/give_disease(mob/T as mob in mob_list) set category = "Fun" set name = "Give Disease" set desc = "Gives a Disease to a mob." @@ -490,7 +490,7 @@ var/list/admin_verbs_hideable = list( log_admin("[key_name(usr)] gave [key_name(T)] the disease [D].") message_admins("\blue [key_name_admin(usr)] gave [key_name(T)] the disease [D].", 1) -/client/proc/make_sound(var/obj/O in world) // -- TLE +/client/proc/make_sound(var/obj/O in world) set category = "Special Verbs" set name = "Make Sound" set desc = "Display a message to everyone who can hear the target" @@ -512,7 +512,7 @@ var/list/admin_verbs_hideable = list( togglebuildmode(src.mob) feedback_add_details("admin_verb","TBMS") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc! -/client/proc/object_talk(var/msg as text) // -- TLE +/client/proc/object_talk(var/msg as text) set category = "Special Verbs" set name = "oSay" set desc = "Display a message to everyone who can hear the target" @@ -523,7 +523,7 @@ var/list/admin_verbs_hideable = list( V.show_message("[mob.control_object.name] says: \"" + msg + "\"", 2) feedback_add_details("admin_verb","OT") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc! -/client/proc/kill_air() // -- TLE +/client/proc/kill_air() set category = "Debug" set name = "Kill Air" set desc = "Toggle Air Processing" diff --git a/code/modules/admin/verbs/debug.dm b/code/modules/admin/verbs/debug.dm index 60cb41ca025..20b435ff945 100644 --- a/code/modules/admin/verbs/debug.dm +++ b/code/modules/admin/verbs/debug.dm @@ -316,7 +316,7 @@ But you can call procs that are of type /mob/living/carbon/human/proc/ for that */ /* -/client/proc/make_cultist(var/mob/M in world) // -- TLE, modified by Urist +/client/proc/make_cultist(var/mob/M in world) set category = "Fun" set name = "Make Cultist" set desc = "Makes target a cultist" diff --git a/code/modules/admin/verbs/possess.dm b/code/modules/admin/verbs/possess.dm index 8406d1c0470..af1f9aedbc1 100644 --- a/code/modules/admin/verbs/possess.dm +++ b/code/modules/admin/verbs/possess.dm @@ -39,7 +39,7 @@ H.name = H.get_visible_name() // usr.regenerate_icons() //So the name is updated properly - usr.loc = O.loc // Appear where the object you were controlling is -- TLE + usr.loc = O.loc usr.client.eye = usr usr.control_object = null feedback_add_details("admin_verb","RO") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc! diff --git a/code/modules/admin/verbs/randomverbs.dm b/code/modules/admin/verbs/randomverbs.dm index cb3cb0a90b8..c9e439e7e78 100644 --- a/code/modules/admin/verbs/randomverbs.dm +++ b/code/modules/admin/verbs/randomverbs.dm @@ -39,7 +39,7 @@ message_admins("\blue \bold SubtleMessage: [key_name_admin(usr)] -> [key_name_admin(M)] : [msg]", 1) feedback_add_details("admin_verb","SMS") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc! -/client/proc/cmd_admin_world_narrate() // Allows administrators to fluff events a little easier -- TLE +/client/proc/cmd_admin_world_narrate() set category = "Special Verbs" set name = "Global Narrate" @@ -56,7 +56,7 @@ message_admins("\blue \bold GlobalNarrate: [key_name_admin(usr)] : [msg]
", 1) feedback_add_details("admin_verb","GLN") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc! -/client/proc/cmd_admin_direct_narrate(var/mob/M) // Targetted narrate -- TLE +/client/proc/cmd_admin_direct_narrate(var/mob/M) set category = "Special Verbs" set name = "Direct Narrate" diff --git a/code/modules/client/preferences.dm b/code/modules/client/preferences.dm index 2926a9bc44b..34b340c0e29 100644 --- a/code/modules/client/preferences.dm +++ b/code/modules/client/preferences.dm @@ -4,7 +4,7 @@ var/list/preferences_datums = list() #define IS_MODE_COMPILED(MODE) (ispath(text2path("/datum/game_mode/"+(MODE)))) -var/global/list/special_roles = list( //keep synced with the defines BE_* in setup.dm --rastaf +var/global/list/special_roles = list( //keep synced with the defines BE_* in setup.dm //some autodetection here. "traitor" = IS_MODE_COMPILED("traitor"), // 0 "operative" = IS_MODE_COMPILED("nuclear"), // 1 @@ -13,7 +13,7 @@ var/global/list/special_roles = list( //keep synced with the defines BE_* in set "malf AI" = IS_MODE_COMPILED("malfunction"), // 4 "revolutionary" = IS_MODE_COMPILED("revolution"), // 5 "alien" = 1, //always show // 6 - "pAI candidate" = 1, // -- TLE // 7 + "pAI candidate" = 1, // 7 "cultist" = IS_MODE_COMPILED("cult"), // 8 "blob" = IS_MODE_COMPILED("blob"), // 9 ) diff --git a/code/modules/library/lib_readme.dm b/code/modules/library/lib_readme.dm index 4237687dfff..069756c359b 100644 --- a/code/modules/library/lib_readme.dm +++ b/code/modules/library/lib_readme.dm @@ -4,7 +4,7 @@ // //******************************* -// Deprecated! See global.dm for new SQL config vars -- TLE +// Deprecated! See global.dm for new SQL config vars /* #define SQL_ADDRESS "" #define SQL_DB "" diff --git a/code/modules/mob/living/carbon/alien/humanoid/alien_powers.dm b/code/modules/mob/living/carbon/alien/humanoid/alien_powers.dm index 70e4eada2f7..d7479795632 100644 --- a/code/modules/mob/living/carbon/alien/humanoid/alien_powers.dm +++ b/code/modules/mob/living/carbon/alien/humanoid/alien_powers.dm @@ -133,7 +133,7 @@ Doesn't work on other aliens/AI.*/ A.process() return -/mob/living/carbon/alien/humanoid/proc/resin() // -- TLE +/mob/living/carbon/alien/humanoid/proc/resin() set name = "Secrete Resin (75)" set desc = "Secrete tough malleable resin." set category = "Alien" diff --git a/code/modules/mob/living/carbon/alien/humanoid/caste/drone.dm b/code/modules/mob/living/carbon/alien/humanoid/caste/drone.dm index 82ecbe8bb4b..4d837ed7379 100644 --- a/code/modules/mob/living/carbon/alien/humanoid/caste/drone.dm +++ b/code/modules/mob/living/carbon/alien/humanoid/caste/drone.dm @@ -22,7 +22,7 @@ //Drone verbs -/mob/living/carbon/alien/humanoid/drone/verb/evolve() // -- TLE +/mob/living/carbon/alien/humanoid/drone/verb/evolve() set name = "Evolve (500)" set desc = "Produce an interal egg sac capable of spawning children. Only one queen can exist at a time." set category = "Alien" diff --git a/code/modules/mob/living/carbon/alien/larva/larva.dm b/code/modules/mob/living/carbon/alien/larva/larva.dm index d018f196c43..8c5f4684b3f 100644 --- a/code/modules/mob/living/carbon/alien/larva/larva.dm +++ b/code/modules/mob/living/carbon/alien/larva/larva.dm @@ -306,7 +306,7 @@ return /* Commented out because it's duplicated in life.dm -/mob/living/carbon/alien/larva/proc/grow() // Larvae can grow into full fledged Xenos if they survive long enough -- TLE +/mob/living/carbon/alien/larva/proc/grow() // Larvae can grow into full fledged Xenos if they survive long enough if(icon_state == "larva_l" && !canmove) // This is a shit death check. It is made of shit and death. Fix later. return else diff --git a/code/modules/mob/living/carbon/brain/life.dm b/code/modules/mob/living/carbon/brain/life.dm index 6e546c5d4be..4b1f5dba5a8 100644 --- a/code/modules/mob/living/carbon/brain/life.dm +++ b/code/modules/mob/living/carbon/brain/life.dm @@ -10,7 +10,7 @@ //Chemicals in the body handle_chemicals_in_body() - var/datum/gas_mixture/environment // Added to prevent null location errors-- TLE + var/datum/gas_mixture/environment // Added to prevent null location errors if(loc) environment = loc.return_air() @@ -21,7 +21,7 @@ blinded = null //Handle temperature/pressure differences between body and environment - if(environment) // More error checking -- TLE + if(environment) // More error checking handle_environment(environment) //Status updates, death etc. diff --git a/code/modules/mob/living/carbon/human/life.dm b/code/modules/mob/living/carbon/human/life.dm index a72de69a1a0..f1141444003 100644 --- a/code/modules/mob/living/carbon/human/life.dm +++ b/code/modules/mob/living/carbon/human/life.dm @@ -39,7 +39,7 @@ set background = BACKGROUND_ENABLED if (notransform) return - if(!loc) return // Fixing a null error that occurs when the mob isn't found in the world -- TLE + if(!loc) return // Fixing a null error that occurs when the mob isn't found in the world ..() @@ -240,8 +240,7 @@ location_as_object.handle_internal_lifeform(src, 0) else //First, check for air from internal atmosphere (using an air tank and mask generally) - breath = get_breath_from_internal(BREATH_VOLUME) // Super hacky -- TLE - //breath = get_breath_from_internal(0.5) // Manually setting to old BREATH_VOLUME amount -- TLE + breath = get_breath_from_internal(BREATH_VOLUME) //No breath from internal atmosphere so get breath from location if(!breath) @@ -341,7 +340,7 @@ // Same, but for the toxins var/Toxins_pp = (breath.toxins/breath.total_moles())*breath_pressure // And CO2, lets say a PP of more than 10 will be bad (It's a little less really, but eh, being passed out all round aint no fun) - var/CO2_pp = (breath.carbon_dioxide/breath.total_moles())*breath_pressure // Tweaking to fit the hacky bullshit I've done with atmo -- TLE + var/CO2_pp = (breath.carbon_dioxide/breath.total_moles())*breath_pressure //var/CO2_pp = (breath.carbon_dioxide/breath.total_moles())*0.5 // The default pressure value if(O2_pp < safe_oxygen_min) // Too little oxygen diff --git a/code/modules/mob/living/carbon/metroid/life.dm b/code/modules/mob/living/carbon/metroid/life.dm index 62bb12487de..aec12755d58 100644 --- a/code/modules/mob/living/carbon/metroid/life.dm +++ b/code/modules/mob/living/carbon/metroid/life.dm @@ -25,7 +25,7 @@ handle_targets() - var/datum/gas_mixture/environment // Added to prevent null location errors-- TLE + var/datum/gas_mixture/environment if(src.loc) environment = loc.return_air() diff --git a/code/modules/mob/living/carbon/monkey/life.dm b/code/modules/mob/living/carbon/monkey/life.dm index f7817caf4c4..64be6695ccc 100644 --- a/code/modules/mob/living/carbon/monkey/life.dm +++ b/code/modules/mob/living/carbon/monkey/life.dm @@ -15,7 +15,7 @@ if (notransform) return ..() - var/datum/gas_mixture/environment // Added to prevent null location errors-- TLE + var/datum/gas_mixture/environment if(loc) environment = loc.return_air() @@ -49,7 +49,7 @@ blinded = null //Handle temperature/pressure differences between body and environment - if(environment) // More error checking -- TLE + if(environment) handle_environment(environment) //Check if we're on fire diff --git a/code/modules/mob/living/silicon/ai/ai.dm b/code/modules/mob/living/silicon/ai/ai.dm index fa2c82f287a..97e1dfe9860 100644 --- a/code/modules/mob/living/silicon/ai/ai.dm +++ b/code/modules/mob/living/silicon/ai/ai.dm @@ -16,7 +16,7 @@ var/list/ai_list = list() name = "AI" icon = 'icons/mob/AI.dmi'// icon_state = "ai" - anchored = 1 // -- TLE + anchored = 1 density = 1 status_flags = CANSTUN|CANPARALYSE|CANPUSH var/list/network = list("SS13") @@ -37,7 +37,7 @@ var/list/ai_list = list() var/list/datum/AI_Module/current_modules = list() var/fire_res_on_core = 0 - var/control_disabled = 0 // Set to 1 to stop AI from interacting via Click() -- TLE + var/control_disabled = 0 // Set to 1 to stop AI from interacting via Click() var/malfhacking = 0 // More or less a copy of the above var, so that malf AIs can hack and still get new cyborgs -- NeoFite var/obj/machinery/power/apc/malfhack = null diff --git a/code/modules/mob/living/silicon/decoy/decoy.dm b/code/modules/mob/living/silicon/decoy/decoy.dm index 5db44b05608..5881e860eeb 100644 --- a/code/modules/mob/living/silicon/decoy/decoy.dm +++ b/code/modules/mob/living/silicon/decoy/decoy.dm @@ -2,7 +2,7 @@ name = "AI" icon = 'icons/mob/AI.dmi'// icon_state = "ai" - anchored = 1 // -- TLE + anchored = 1 canmove = 0 /mob/living/silicon/decoy/New() diff --git a/code/modules/mob/living/silicon/silicon.dm b/code/modules/mob/living/silicon/silicon.dm index 4568c2335b2..d96e3205c0c 100644 --- a/code/modules/mob/living/silicon/silicon.dm +++ b/code/modules/mob/living/silicon/silicon.dm @@ -188,7 +188,7 @@ return -/mob/living/silicon/proc/statelaws() // -- TLE +/mob/living/silicon/proc/statelaws() src.say("Current Active Laws:") //src.laws_sanity_check() @@ -199,7 +199,7 @@ if (src.laws.zeroth) - if (src.lawcheck[1] == "Yes") //This line and the similar lines below make sure you don't state a law unless you want to. --NeoFite + if (src.lawcheck[1] == "Yes") src.say("0. [src.laws.zeroth]") sleep(10) diff --git a/code/modules/mob/mob_defines.dm b/code/modules/mob/mob_defines.dm index 1a6896915c9..00306d8b1ba 100644 --- a/code/modules/mob/mob_defines.dm +++ b/code/modules/mob/mob_defines.dm @@ -161,7 +161,7 @@ var/obj/control_object //Used by admins to possess objects. All mobs should have this var //Whether or not mobs can understand other mobtypes. These stay in /mob so that ghosts can hear everything. - var/universal_speak = 0 // Set to 1 to enable the mob to speak to everyone -- TLE + var/universal_speak = 0 // Set to 1 to enable the mob to speak to everyone var/robot_talk_understand = 0 var/alien_talk_understand = 0 diff --git a/code/modules/power/power.dm b/code/modules/power/power.dm index dff934bf361..9a0547b788e 100644 --- a/code/modules/power/power.dm +++ b/code/modules/power/power.dm @@ -400,7 +400,7 @@ var/numapc = 0 - if(nodes && nodes.len) // Added to fix a bad list bug -- TLE + if(nodes && nodes.len) for(var/obj/machinery/power/terminal/term in nodes) if( istype( term.master, /obj/machinery/power/apc ) ) numapc++ diff --git a/code/unused/Agouri_stuff.dm b/code/unused/Agouri_stuff.dm index f8f970a1c86..4fbfc7adc1a 100644 --- a/code/unused/Agouri_stuff.dm +++ b/code/unused/Agouri_stuff.dm @@ -623,7 +623,7 @@ spawn(2) step(M, M.dir) spawn(3) step(M, M.dir) spawn(4) step(M, M.dir) - M.take_organ_damage(2) // Was 5 -- TLE + M.take_organ_damage(2) M << "\blue You slipped on the floor!" playsound(src.loc, 'sound/misc/slip.ogg', 50, 1, -3) M.Weaken(10) diff --git a/code/unused/ai_lockdown.dm b/code/unused/ai_lockdown.dm index 552ae977f35..7604c209af6 100644 --- a/code/unused/ai_lockdown.dm +++ b/code/unused/ai_lockdown.dm @@ -1,13 +1,3 @@ -/mob/living/silicon/ai/proc/lockdown() - set category = "AI Commands" - set name = "Lockdown" - - if(usr.stat == 2) - usr <<"You cannot initiate lockdown because you are dead!" - return - - src << "Initiating lockdowns has been disabled due to system stress." -// Commented this out to disable Lockdowns -- TLE /* world << "\red Lockdown initiated by [usr.name]!" for(var/obj/machinery/firealarm/FA in world) //activate firealarms diff --git a/code/unused/jobs.dm b/code/unused/jobs.dm index 849e28e2f88..ec3f5ea5f99 100644 --- a/code/unused/jobs.dm +++ b/code/unused/jobs.dm @@ -201,7 +201,7 @@ proc/dress_for_job_default(var/mob/living/carbon/human/employee as mob, var/job_ /* src.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/industrial (src), slot_back) src.equip_to_slot_or_del(new /obj/item/weapon/storage/box/engineer(src), slot_in_backpack) - src.equip_to_slot_or_del(new /obj/item/device/radio/headset/headset_eng (src), slot_ears) // -- TLE + src.equip_to_slot_or_del(new /obj/item/device/radio/headset/headset_eng (src), slot_ears) src.equip_to_slot_or_del(new /obj/item/device/pda/engineering(src), slot_belt) src.equip_to_slot_or_del(new /obj/item/clothing/under/rank/engineer(src), slot_w_uniform) src.equip_to_slot_or_del(new /obj/item/clothing/shoes/orange(src), slot_shoes) diff --git a/code/unused/spacecraft/shipcore.dm b/code/unused/spacecraft/shipcore.dm index ee6a843d399..68e87025848 100644 --- a/code/unused/spacecraft/shipcore.dm +++ b/code/unused/spacecraft/shipcore.dm @@ -138,30 +138,17 @@ obj/machinery/shipcore/attack_hand(user as mob) var/dat if(..()) return - if (1 == 1) // Haha why did I even do this what the fuck. Whatever. It's too entertaining to remove now. -- TLE -/* - dat += "Autolathe Wires:
" - var/wire - for(wire in src.wires) - dat += text("[wire] Wire: [src.wires[wire] ? "Mend" : "Cut"] Pulse
") - dat += text("The red light is [src.disabled ? "off" : "on"].
") - dat += text("The green light is [src.shocked ? "off" : "on"].
") - dat += text("The blue light is [src.hacked ? "off" : "on"].
") -*/ - switch(src.build_status) - if("unbuilt") - dat += "

Core Status: Undeployed


" - dat += "Build Ship
" - if("built") - dat += "

Core Status: Deployed


" - dat += "Move
" - if("rebuilding") - dat += "

Core Status: Recalibrating


" - user << browse("Ship Core[dat]","window=shipcore") - onclose(user, "shipcore") - return - user << browse("Ship Core Control Panel[dat]", "window=shipcore") + switch(src.build_status) + if("unbuilt") + dat += "

Core Status: Undeployed


" + dat += "Build Ship
" + if("built") + dat += "

Core Status: Deployed


" + dat += "Move
" + if("rebuilding") + dat += "

Core Status: Recalibrating


" + user << browse("Ship Core[dat]","window=shipcore") onclose(user, "shipcore") return