mirror of
https://github.com/cybergirlvannie/OpenSS13.git
synced 2026-08-24 13:16:19 +01:00
Applied Stephen001's cleanup-reverse-engineer.patch
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -156,4 +156,4 @@ obj/machinery/hologram_proj
|
||||
|
||||
/obj/projection
|
||||
name = "Projection"
|
||||
anchored = 1.0
|
||||
anchored = 1.0
|
||||
|
||||
@@ -341,4 +341,4 @@
|
||||
usr.client_mob() << browse(null, "window=smes")
|
||||
usr.machine = null
|
||||
|
||||
return
|
||||
return
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -275,7 +275,6 @@ obj/machinery/power/solar_control
|
||||
|
||||
switch(severity)
|
||||
if(1.0)
|
||||
//SN src = null
|
||||
del(src)
|
||||
return
|
||||
if(2.0)
|
||||
|
||||
@@ -42,4 +42,4 @@ obj/machinery/power/terminal
|
||||
icon_state = "term-f"
|
||||
else
|
||||
invisibility = 0
|
||||
icon_state = "term"
|
||||
icon_state = "term"
|
||||
|
||||
@@ -245,4 +245,4 @@ obj/machinery/power/turbine
|
||||
usr.client_mob() << browse(null, "window=turbine")
|
||||
usr.machine = null
|
||||
|
||||
return
|
||||
return
|
||||
|
||||
@@ -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>"
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -38,4 +38,4 @@ obj/machinery/shuttle
|
||||
|
||||
router
|
||||
name = "router"
|
||||
icon_state = "router"
|
||||
icon_state = "router"
|
||||
|
||||
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user