Applied Stephen001's cleanup-reverse-engineer.patch

This commit is contained in:
Zjm7891
2008-07-11 14:20:33 +00:00
parent 662b884650
commit 3161a4f8ec
34 changed files with 8 additions and 705 deletions
+1 -1
View File
@@ -20,4 +20,4 @@ obj/machinery/atmoalter
obj/item/weapon/tank/holding // the tank item being held (or null)
max_valve = 1e6 // the maximum setting of both valves
max_valve = 1e6 // the maximum setting of both valves
+1 -1
View File
@@ -156,4 +156,4 @@ obj/machinery/hologram_proj
/obj/projection
name = "Projection"
anchored = 1.0
anchored = 1.0
+1 -1
View File
@@ -341,4 +341,4 @@
usr.client_mob() << browse(null, "window=smes")
usr.machine = null
return
return
+1 -2
View File
@@ -115,7 +115,6 @@ obj/machinery/power/solar
ex_act(severity)
switch(severity)
if(1.0)
//SN src = null
del(src)
return
if(2.0)
@@ -132,4 +131,4 @@ obj/machinery/power/solar
blob_act()
if (prob(50))
broken()
src.density = 0
src.density = 0
-1
View File
@@ -275,7 +275,6 @@ obj/machinery/power/solar_control
switch(severity)
if(1.0)
//SN src = null
del(src)
return
if(2.0)
+1 -1
View File
@@ -42,4 +42,4 @@ obj/machinery/power/terminal
icon_state = "term-f"
else
invisibility = 0
icon_state = "term"
icon_state = "term"
+1 -1
View File
@@ -245,4 +245,4 @@ obj/machinery/power/turbine
usr.client_mob() << browse(null, "window=turbine")
usr.machine = null
return
return
-2
View File
@@ -119,7 +119,6 @@ obj/machinery/freezer
for(var/obj/item/weapon/flasks/F in src)
d1 += text("<A href = '?src=\ref[];flask=[]'><B>Flask []</B></A>: [] / [] / []<BR>", src, counter, counter, F.oxygen, F.plasma, F.coolant)
counter++
//Foreach goto(78)
d1 += "Key: Oxygen / Plasma / Coolant<BR>"
else
d1 = "<B>No flasks!</B>"
@@ -148,7 +147,6 @@ obj/machinery/freezer
for(var/obj/item/weapon/flasks/F in src)
d1 += text("<A href = '?src=\ref[];flask=[]'><B>[] []</B></A>: []<BR>", src, counter, stars("Flask"), counter, stars(text("[] / [] / []", F.oxygen, F.plasma, F.coolant)))
counter++
//Foreach goto(380)
d1 += "Key: Oxygen / Plasma / Coolant<BR>"
else
d1 = "<B>No flasks!</B>"
-1
View File
@@ -168,7 +168,6 @@ obj/machinery/pod
for(var/mob/O in viewers(src, null))
if (O.hasClient() && (!( O.blinded )))
O.client_mob() << text("\blue <B> [] unloads [] from []!</B>", usr, A, src)
//Foreach goto(54)
if (ismob(A))
var/mob/M = A
if (M.client)
-2
View File
@@ -137,7 +137,6 @@ obj/machinery/recon
for(var/mob/O in viewers(src, null))
if (O.hasClient() && (!( O.blinded )))
O.client_mob() << text("\blue <B> [] loads [] into []!</B>", H, H.pulling, src)
//Foreach goto(204)
H.pulling = null
@@ -156,7 +155,6 @@ obj/machinery/recon
for(var/mob/O in view(src, null))
if ((!( O.blinded )))
O.client_mob() << text("\blue <B> [] unloads [] from []!</B>", usr, A, src)
//Foreach goto(53)
if (ismob(A))
var/mob/M = A
if (M.client)
+1 -1
View File
@@ -38,4 +38,4 @@ obj/machinery/shuttle
router
name = "router"
icon_state = "router"
icon_state = "router"
-4
View File
@@ -15,20 +15,16 @@
if (istype(O, /mob))
if (!istype(O, /mob/ai))
if (!(O in turretTargets))
//O << "adding you to target list"
turretTargets += O
//else
//O << "You're already in our target list!"
return 1
/area/turret_protected/Exited(atom/movable/O)
if (istype(O, /mob))
if (!istype(O, /mob/ai))
if (O in turretTargets)
//O << "removing you from target list"
turretTargets -= O
//else
//O << "You aren't in our target list!"
if (turretTargets.len == 0)
popDownTurrets()