diff --git a/code/ZAS/ZAS_Zones.dm b/code/ZAS/ZAS_Zones.dm index 6401a63a9f..6a6fb48345 100644 --- a/code/ZAS/ZAS_Zones.dm +++ b/code/ZAS/ZAS_Zones.dm @@ -299,7 +299,7 @@ proc/ShareRatio(datum/gas_mixture/A, datum/gas_mixture/B, connecting_tiles) //Shares a specific ratio of gas between mixtures using simple weighted averages. var //WOOT WOOT TOUCH THIS AND YOU ARE A RETARD - ratio = 0.33 + ratio = sharing_lookup_table[6] //WOOT WOOT TOUCH THIS AND YOU ARE A RETARD size = max(1,A.group_multiplier) @@ -376,23 +376,18 @@ proc/ShareSpace(datum/gas_mixture/A, list/unsimulated_tiles) unsim_plasma = 0 unsim_heat_capacity = 0 unsim_temperature = 0 + for(var/turf/T in unsimulated_tiles) unsim_oxygen += T.oxygen unsim_co2 += T.carbon_dioxide unsim_nitrogen += T.nitrogen unsim_plasma += T.toxins - - // Make sure it actually has gas in it, and use the heat capacity of that. - // Space and unsimulated tiles do NOT have a heat capacity. Thus we don't - // add them. This means "space is not cold", which turns out just fine in - // gameplay terms. - if(istype(T, /turf/simulated)) - unsim_heat_capacity += T:air.heat_capacity() - unsim_temperature += T.temperature/unsimulated_tiles.len + unsim_heat_capacity = HEAT_CAPACITY_CALCULATION(unsim_oxygen,unsim_co2,unsim_nitrogen,unsim_plasma) + var - ratio = 0.33 + ratio = sharing_lookup_table[6] old_pressure = A.return_pressure() @@ -404,7 +399,7 @@ proc/ShareSpace(datum/gas_mixture/A, list/unsimulated_tiles) // slowly than small rooms, preserving our good old "hollywood-style" // oh-shit effect when large rooms get breached, but still having small // rooms remain pressurized for long enough to make escape possible. - share_size = max(1,size - 5 + unsimulated_tiles.len) + share_size = max(1, unsimulated_tiles.len) full_oxy = A.oxygen * size full_nitro = A.nitrogen * size @@ -444,7 +439,7 @@ proc/ShareHeat(datum/gas_mixture/A, datum/gas_mixture/B, connecting_tiles) //Shares a specific ratio of gas between mixtures using simple weighted averages. var //WOOT WOOT TOUCH THIS AND YOU ARE A RETARD - ratio = 0.33 + ratio = sharing_lookup_table[6] //WOOT WOOT TOUCH THIS AND YOU ARE A RETARD full_heat_capacity = A.heat_capacity() diff --git a/code/__HELPERS/global_lists.dm b/code/__HELPERS/global_lists.dm index 566a587b8a..ed740f85d1 100644 --- a/code/__HELPERS/global_lists.dm +++ b/code/__HELPERS/global_lists.dm @@ -15,6 +15,8 @@ var/global/list/chemical_reactions_list //list of all /datum/chemical_reactio var/global/list/chemical_reagents_list //list of all /datum/reagent datums indexed by reagent id. Used by chemistry stuff var/global/list/landmarks_list = list() //list of all landmarks created var/global/list/surgery_steps = list() //list of all surgery steps |BS12 +var/global/list/mechas_list = list() //list of all mechs. Used by hostile mobs target tracking. + //Preferences stuff //Hairstyles var/global/list/hair_styles_list = list() //stores /datum/sprite_accessory/hair indexed by name diff --git a/code/datums/datacore.dm b/code/datums/datacore.dm index cce20b731c..e2a9e1e1bf 100644 --- a/code/datums/datacore.dm +++ b/code/datums/datacore.dm @@ -122,6 +122,8 @@ proc/get_id_photo(var/mob/living/carbon/human/H) icobase = 'icons/mob/human_races/r_lizard.dmi' if("Skrell") icobase = 'icons/mob/human_races/r_skrell.dmi' + if("Vox") + icobase = 'icons/mob/human_races/r_vox.dmi' else icobase = 'icons/mob/human_races/r_human.dmi' @@ -147,6 +149,9 @@ proc/get_id_photo(var/mob/living/carbon/human/H) preview_icon.Blend(rgb(-H.s_tone, -H.s_tone, -H.s_tone), ICON_SUBTRACT) var/icon/eyes_s = new/icon("icon" = 'icons/mob/human_face.dmi', "icon_state" = "eyes_s") + if(H.get_species()=="Vox") + eyes_s = new/icon("icon" = 'icons/mob/human_face.dmi', "icon_state" = "vox_eyes_s") + eyes_s.Blend(rgb(H.r_eyes, H.g_eyes, H.b_eyes), ICON_ADD) var/datum/sprite_accessory/hair_style = hair_styles_list[H.h_style] diff --git a/code/datums/datumvars.dm b/code/datums/datumvars.dm index 6d9ecca0ef..81abf92546 100644 --- a/code/datums/datumvars.dm +++ b/code/datums/datumvars.dm @@ -730,7 +730,7 @@ client usr << "This can only be done to instances of type /mob/living/carbon/human" return - var/new_mutantrace = input("Please choose a new mutantrace","Mutantrace",null) as null|anything in list("NONE","golem","lizard","slime","plant","shadow","tajaran","skrell") + var/new_mutantrace = input("Please choose a new mutantrace","Mutantrace",null) as null|anything in list("NONE","golem","lizard","slime","plant","shadow","tajaran","skrell","vox") switch(new_mutantrace) if(null) return diff --git a/code/game/communications.dm b/code/game/communications.dm index f83c302874..94d53f6bf5 100644 --- a/code/game/communications.dm +++ b/code/game/communications.dm @@ -104,15 +104,15 @@ var/list/radiochannels = list( "Medical" = 1355, "Engineering" = 1357, "Security" = 1359, + "Response Team" = 1443, "Deathsquad" = 1441, "Syndicate" = 1213, "Supply" = 1347, ) //depenging helpers -var/list/DEPT_FREQS = list(1351,1355,1357,1359,1213,1441,1347) +var/list/DEPT_FREQS = list(1351,1355,1357,1359,1213, 1443, 1441,1347) var/const/COMM_FREQ = 1353 //command, colored gold in chat window var/const/SYND_FREQ = 1213 -var/const/ERT_FREQ = 1439 #define TRANSMISSION_WIRE 0 #define TRANSMISSION_RADIO 1 diff --git a/code/game/jobs/access.dm b/code/game/jobs/access.dm index e29dd1852d..407ec98b84 100644 --- a/code/game/jobs/access.dm +++ b/code/game/jobs/access.dm @@ -487,3 +487,25 @@ proc/FindNameFromID(var/mob/living/carbon/human/H) if(ID) return ID.registered_name + +proc/get_all_job_icons() //For all existing HUD icons + return get_all_jobs() + list("Prisoner") + +/obj/proc/GetJobName() //Used in secHUD icon generation + if (!istype(src, /obj/item/device/pda) && !istype(src,/obj/item/weapon/card/id)) + return + + var/jobName + + if(istype(src, /obj/item/device/pda)) + if(src:id) + jobName = src:id:assignment + if(istype(src, /obj/item/weapon/card/id)) + jobName = src:assignment + + if(jobName in get_all_job_icons()) //Check if the job has a hud icon + return jobName + if(jobName in get_all_centcom_jobs()) //Return with the NT logo if it is a Centcom job + return "Centcom" + return "Unknown" //Return unknown if none of the above apply + diff --git a/code/game/jobs/job/medical.dm b/code/game/jobs/job/medical.dm index 256d7892f8..cacd825d01 100644 --- a/code/game/jobs/job/medical.dm +++ b/code/game/jobs/job/medical.dm @@ -76,7 +76,10 @@ H.equip_to_slot_or_del(new /obj/item/clothing/suit/storage/labcoat(H), slot_wear_suit) if("Nurse") if(H.gender == FEMALE) - H.equip_to_slot_or_del(new /obj/item/clothing/under/rank/nursesuit(H), slot_w_uniform) + if(prob(50)) + H.equip_to_slot_or_del(new /obj/item/clothing/under/rank/nursesuit(H), slot_w_uniform) + else + H.equip_to_slot_or_del(new /obj/item/clothing/under/rank/nurse(H), slot_w_uniform) H.equip_to_slot_or_del(new /obj/item/clothing/head/nursehat(H), slot_head) else H.equip_to_slot_or_del(new /obj/item/clothing/under/rank/medical/purple(H), slot_w_uniform) diff --git a/code/game/machinery/alarm.dm b/code/game/machinery/alarm.dm index 4d7a32b04f..d52f18fdd7 100644 --- a/code/game/machinery/alarm.dm +++ b/code/game/machinery/alarm.dm @@ -170,10 +170,10 @@ visible_message("\The [src] clicks quietly as it stops [environment.temperature > target_temperature ? "cooling" : "heating"] the room.",\ "You hear a click as a faint electronic humming stops.") - + var/old_level = danger_level danger_level = overall_danger_level() - if (alarm_area.master_air_alarm == src) + if (old_level != danger_level) refresh_danger_level() update_icon() diff --git a/code/game/machinery/bots/bots.dm b/code/game/machinery/bots/bots.dm index 9862f63e2c..8ef8c76f62 100644 --- a/code/game/machinery/bots/bots.dm +++ b/code/game/machinery/bots/bots.dm @@ -143,7 +143,7 @@ pulse2.dir = pick(cardinal) spawn(10) - del(pulse2) + pulse2.delete() if (on) turn_off() spawn(severity*300) diff --git a/code/game/machinery/bots/ed209bot.dm b/code/game/machinery/bots/ed209bot.dm index 30aa8a4e64..5e5ae74406 100644 --- a/code/game/machinery/bots/ed209bot.dm +++ b/code/game/machinery/bots/ed209bot.dm @@ -862,7 +862,7 @@ Auto Patrol: []"}, pulse2.anchored = 1 pulse2.dir = pick(cardinal) spawn(10) - del(pulse2) + pulse2.delete() var/list/mob/living/carbon/targets = new for (var/mob/living/carbon/C in view(12,src)) if (C.stat==2) diff --git a/code/game/machinery/bots/medbot.dm b/code/game/machinery/bots/medbot.dm index 71cccfdc3e..31fbb8c467 100644 --- a/code/game/machinery/bots/medbot.dm +++ b/code/game/machinery/bots/medbot.dm @@ -299,6 +299,7 @@ if(src.patient && src.path.len == 0 && (get_dist(src,src.patient) > 1)) spawn(0) src.path = AStar(src.loc, get_turf(src.patient), /turf/proc/CardinalTurfsWithAccess, /turf/proc/Distance, 0, 30,id=botcard) + if (!path) path = list() if(src.path.len == 0) src.oldpatient = src.patient src.patient = null diff --git a/code/game/machinery/bots/secbot.dm b/code/game/machinery/bots/secbot.dm index 19a43f41cc..fb3646653c 100644 --- a/code/game/machinery/bots/secbot.dm +++ b/code/game/machinery/bots/secbot.dm @@ -583,7 +583,7 @@ Auto Patrol: []"}, // given an optional turf to avoid /obj/machinery/bot/secbot/proc/calc_path(var/turf/avoid = null) src.path = AStar(src.loc, patrol_target, /turf/proc/CardinalTurfsWithAccess, /turf/proc/Distance, 0, 120, id=botcard, exclude=avoid) - + if (!path) path = list() // look for a criminal in view of the bot diff --git a/code/game/machinery/machinery.dm b/code/game/machinery/machinery.dm index e94ed011ee..0e3e6ec650 100644 --- a/code/game/machinery/machinery.dm +++ b/code/game/machinery/machinery.dm @@ -131,7 +131,7 @@ Class Procs: pulse2.dir = pick(cardinal) spawn(10) - del(pulse2) + pulse2.delete() ..() /obj/machinery/ex_act(severity) diff --git a/code/game/machinery/telecomms/broadcaster.dm b/code/game/machinery/telecomms/broadcaster.dm index 0845b0ba73..4ab483076b 100644 --- a/code/game/machinery/telecomms/broadcaster.dm +++ b/code/game/machinery/telecomms/broadcaster.dm @@ -148,15 +148,6 @@ var/message_delay = 0 // To make sure restarting the recentmessages list is kept signal.data["radio"], signal.data["message"], signal.data["name"], signal.data["job"], signal.data["realname"], signal.data["vname"],, signal.data["compression"], list(0), connection.frequency) - - if(connection.frequency == ERT_FREQ) - Broadcast_Message(signal.data["connection"], signal.data["mob"], - signal.data["vmask"], signal.data["vmessage"], - signal.data["radio"], signal.data["message"], - signal.data["name"], signal.data["job"], - signal.data["realname"], signal.data["vname"],, signal.data["compression"], list(0), connection.frequency) - - else if(intercept) Broadcast_Message(signal.data["connection"], signal.data["mob"], @@ -354,6 +345,10 @@ var/message_delay = 0 // To make sure restarting the recentmessages list is kept // freq_text = "Mining" if(1347) freq_text = "Supply" + if(1441) + freq_text = "Death Squad" + if(1443) + freq_text = "Response Team" //There's probably a way to use the list var of channels in code\game\communications.dm to make the dept channels non-hardcoded, but I wasn't in an experimentive mood. --NEO diff --git a/code/game/machinery/telecomms/presets.dm b/code/game/machinery/telecomms/presets.dm index 2fe5b5e3a6..2b708ded29 100644 --- a/code/game/machinery/telecomms/presets.dm +++ b/code/game/machinery/telecomms/presets.dm @@ -27,7 +27,11 @@ /obj/machinery/telecomms/relay/preset/centcom id = "Centcom Relay" hide = 1 - toggled = 0 + toggled = 1 + //anchored = 1 + //use_power = 0 + //idle_power_usage = 0 + heatgen = 0 autolinkers = list("c_relay") //HUB diff --git a/code/game/mecha/mech_fabricator.dm b/code/game/mecha/mech_fabricator.dm index f2a98f7441..58824777d1 100644 --- a/code/game/mecha/mech_fabricator.dm +++ b/code/game/mecha/mech_fabricator.dm @@ -550,7 +550,7 @@ switch(screen) if("main") left_part = output_available_resources()+"
-
Baystation 12 Credit List -
-
-
-1.06.2013-Chinsky updated:-
-
-
-31.05.2013-Segrain updated:-
-
-
-30th May 2013-proliberate updated:-
-
-
-30.05.2013-Segrain updated:-
-
-May 28th, 2013-VitrescentTortoise updated:-
-
-
-28th May 2013-Erthilo updated:-
-
-
-26th May 2013-Chinsky updated:-
VitrescentTortoise updated:-
-
-
-5/26/2013-Meyar updated:-
-
-
-25th May 2013-Erthilo updated:-
-
-
-21 May 2013-SkyMarshal updated:-
-
-
-May 18th, 2013-CIB updated:-
-
-
-April 24, 2013-Jediluke69 updated:-
-
-
-April 24, 2013-faux updated:-
-
-
-24th April 2013-NerdyBoy1104 updated:-
-
-
-Spamcat-04.05.2013 updated:-
-
-
-17 April 2013-SkyMarshal updated:-
-
-
-17 April 2013-SkyMarshal updated:-
-
-
-30.04.2013-Spamcat updated:-
-
-
-15.04.2013-Spamcat updated:-
-
-
-May 14th 2013-Cael_Aislinn updated:-
-
-
-11 April 2013-SkyMarshal updated:-
-
-
-9 April 2013-SkyMarshal updated:-
-
-
-4 April 2013-SkyMarshal updated:-
-
-
-March 27th 2013-Asanadas updated:-
-
-
-26.03.2013-Spamcat updated:-
-
-
-March 15th 2013-Cael_Aislinn updated:-
-
-
-14.03.2013-Spamcat updated:-
-
-
-11/03/2013-Chinsky updated:-
-
-
-March 11th 2013-CIB updated:-
-
-
-March 11th 2013-Cael Aislinn updated:-
-
-
-March 9th 2013-Cael Aislinn updated:-
-
-
-March 6th 2013-Cael Aislinn updated:-
RavingManiac updated:-
-
-
-March 5th 2013-Cael Aislinn updated:-
CIB updated:-
-
-
-February 27th 2013-Gamerofthegame updated:-
-
-
-February 25th 2013-Cael Aislinn updated:-
-
-
-February 23rd 2013-Cael Aislinn updated:-
-
-
-February 23rd 2013-Cael Aislinn updated:-
-
-
-22/02/2013-Chinsky updated:-
-
-
-February 18th 2013-Cael Aislinn updated:-
-
-
-20/02/2013-Chinsky updated:-
-
-
-February 18th 2013-Cael Aislinn updated:-
-
-
-February 14th 2013-CIB updated:-
CaelAislinn updated:-
Gamerofthegame updated:-
-
-
-February 13th 2013-Erthilo updated:-
-
-
-January 23rd-Cael_Aislinn updated:-
-
-
-
-
-1/31/2013-CIB updated:-
-
-
-January 21st-Cael_Aislinn updated:-
-
-
-13/01/2013-Chinsky updated:-
1/13/2013-GauHelldragon updated:-
-
-
-January 7th-Cael_Aislinn updated:-
-
-
-
-
-/tg/ station 13 Development Team
-7/01/2013-Chinsky updated:-
- Coders: Stuntwaffle, Showtime, Pantaloons, Nannek, Keelin, Exadv1, hobnob, Justicefries, 0staf, sniperchance, AngriestIBM, BrianOBlivion
-- Spriters: Supernorn, Haruhi, Stuntwaffle, Pantaloons, Rho, SynthOrange, I Said No - ![]() This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License. Rights are currently extended to SomethingAwful Goons only. - Some icons by Yusuke Kamiyamane. All rights reserved. Licensed under a Creative Commons Attribution 3.0 License. - |
+
Baystation 12 Credit List +
+
+
+1.06.2013+Chinsky updated:+
+
+
+31.05.2013+Segrain updated:+
+
+
+30th May 2013+proliberate updated:+
+
+
+30.05.2013+Segrain updated:+
+
+May 28th, 2013+VitrescentTortoise updated:+
+
+
+28th May 2013+Erthilo updated:+
+
+
+26th May 2013+Chinsky updated:+
VitrescentTortoise updated:+
+
+
+5/26/2013+Meyar updated:+
+
+
+25th May 2013+Erthilo updated:+
+
+
+21 May 2013+SkyMarshal updated:+
+
+
+May 18th, 2013+CIB updated:+
+
+
+April 24, 2013+Jediluke69 updated:+
+
+
+April 24, 2013+faux updated:+
+
+
+24th April 2013+NerdyBoy1104 updated:+
+
+
+Spamcat+04.05.2013 updated:+
+
+
+17 April 2013+SkyMarshal updated:+
+
+
+17 April 2013+SkyMarshal updated:+
+
+
+30.04.2013+Spamcat updated:+
+
+
+15.04.2013+Spamcat updated:+
+
+
+May 14th 2013+Cael_Aislinn updated:+
+
+
+11 April 2013+SkyMarshal updated:+
+
+
+9 April 2013+SkyMarshal updated:+
+
+
+4 April 2013+SkyMarshal updated:+
+
+
+March 27th 2013+Asanadas updated:+
+
+
+26.03.2013+Spamcat updated:+
+
+
+March 15th 2013+Cael_Aislinn updated:+
+
+
+14.03.2013+Spamcat updated:+
+
+
+11/03/2013+Chinsky updated:+
+
+
+March 11th 2013+CIB updated:+
+
+
+March 11th 2013+Cael Aislinn updated:+
+
+
+March 9th 2013+Cael Aislinn updated:+
+
+
+March 6th 2013+Cael Aislinn updated:+
RavingManiac updated:+
+
+
+March 5th 2013+Cael Aislinn updated:+
CIB updated:+
+
+
+February 27th 2013+Gamerofthegame updated:+
+
+
+February 25th 2013+Cael Aislinn updated:+
+
+
+February 23rd 2013+Cael Aislinn updated:+
+
+
+February 23rd 2013+Cael Aislinn updated:+
+
+
+22/02/2013+Chinsky updated:+
+
+
+February 18th 2013+Cael Aislinn updated:+
+
+
+20/02/2013+Chinsky updated:+
+
+
+February 18th 2013+Cael Aislinn updated:+
+
+
+February 14th 2013+CIB updated:+
CaelAislinn updated:+
Gamerofthegame updated:+
+
+
+February 13th 2013+Erthilo updated:+
+
+
+January 23rd+Cael_Aislinn updated:+
+
+
+
+
+1/31/2013+CIB updated:+
+
+
+January 21st+Cael_Aislinn updated:+
+
+
+13/01/2013+Chinsky updated:+
1/13/2013+GauHelldragon updated:+
+
+
+January 7th+Cael_Aislinn updated:+
+
+
+
+
+/tg/ station 13 Development Team
+7/01/2013+Chinsky updated:+
+ Coders: Stuntwaffle, Showtime, Pantaloons, Nannek, Keelin, Exadv1, hobnob, Justicefries, 0staf, sniperchance, AngriestIBM, BrianOBlivion
++ Spriters: Supernorn, Haruhi, Stuntwaffle, Pantaloons, Rho, SynthOrange, I Said No + ![]() This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License. Rights are currently extended to SomethingAwful Goons only. + Some icons by Yusuke Kamiyamane. All rights reserved. Licensed under a Creative Commons Attribution 3.0 License. + |