Merge branch 'master' of git://github.com/Baystation12/Baystation12

This commit is contained in:
Ren Erthilo
2012-03-30 04:50:06 +01:00
8 changed files with 38 additions and 19 deletions
+2 -2
View File
@@ -41,13 +41,13 @@ datum
temperature = 0 //in Kelvin, use calculate_temperature() to modify
var/group_multiplier = 1
group_multiplier = 1
//Size of the group this gas_mixture is representing.
//=1 for singletons
graphic
var/list/datum/gas/trace_gases = list()
list/datum/gas/trace_gases = list()
tmp
oxygen_archived
+18 -14
View File
@@ -56,22 +56,26 @@ zone
if(T.zone && T.zone != src)
RemoveTurf(T)
if(dbg_output) world << "Removed invalid turf."
else if(!T.zone)
T.zone = src
if(air.group_multiplier <= 0) // No more turfs belong to this zone, so we can get rid of it
del(src)
else // Turf was valid, so we can handle it
if(!T.zone)
T.zone = src
if(istype(T,/turf/simulated))
var/turf/simulated/S = T
if(S.fire_protection) S.fire_protection--
if(check)
if(S.HasDoor(1))
S.update_visuals()
else
S.update_visuals(air)
if(istype(T,/turf/simulated))
var/turf/simulated/S = T
if(S.fire_protection) S.fire_protection--
if(check)
if(S.HasDoor(1))
S.update_visuals()
else
S.update_visuals(air)
if(air.temperature > FIRE_MINIMUM_TEMPERATURE_TO_EXIST)
for(var/atom/movable/item in S)
item.temperature_expose(air, air.temperature, CELL_VOLUME)
S.temperature_expose(air, air.temperature, CELL_VOLUME)
if(air.temperature > FIRE_MINIMUM_TEMPERATURE_TO_EXIST)
for(var/atom/movable/item in S)
item.temperature_expose(air, air.temperature, CELL_VOLUME)
S.temperature_expose(air, air.temperature, CELL_VOLUME)
air.graphic_archived = air.graphic
air.temperature = max(TCMB,air.temperature)
+1 -2
View File
@@ -98,5 +98,4 @@ proc/send2irc(msg,msg2)
shell("python nudge.py [msg] [msg2]")
proc/send2adminirc(channel,msg)
world << channel << " "<< msg
shell("python nudge.py '[channel]' [msg]")
p //test
shell("python nudge.py '[channel]' [msg]")
@@ -353,6 +353,10 @@ obj/item/weapon/mop/proc/clean(turf/simulated/A as turf)
..()
/obj/item/weapon/mop/afterattack(atom/A, mob/user as mob)
if (isnull(A))
user << "\red You've encountered a nasty bug. You should tell a developer what you were trying to clean with the mop."
return
if (src.reagents.total_volume < 1 || mopcount >= 5)
user << "\blue Your mop is dry!"
return
+2
View File
@@ -21,6 +21,8 @@
s["player[n]"] = "[C.key]"
else
s["player[n]"] = "[C.fakekey]"
else
s["player[n]"] = "[C.key]"
s["players"] = n
s["end"] = "#end"
return list2params(s)
+11 -1
View File
@@ -32,4 +32,14 @@
name = "Bespectacled Mesonic Surveyors"
desc = "One of the older meson scanner models retrofitted to perform like its modern counterparts."
icon = 'custom_items.dmi'
icon_state = "book_berner_1"
icon_state = "book_berner_1"
/obj/item/fluff/sarah_carbrokes_1
name = "Locket"
desc = "A grey locket with a picture of a black haired man in it. The text above it reads: \"Edwin Carbrokes\"."
icon_state = "sarah_carbrokes_1"
/obj/item/clothing/glasses/fluff/serithi_artalis_1
name = "Extranet HUD"
desc = "A heads-up display with limited connectivity to the NanoTrasen Extranet, capable of displaying information from official NanoTrasen records."
icon_state = "serithi_artalis_1"