Moving shit around and APC repair bugfix (#20912)

* Moving shit around so turfs aren't defined in code/modules/mining .
Fixes APC's integrity not being reset to max when a broken APC is repaired.

* derp

* More turf and turf procs moved.

* fixing merge conflicts again.
This commit is contained in:
phil235
2016-10-12 09:48:47 +02:00
committed by AnturK
parent 34bc9935ac
commit 6cfd99ec00
25 changed files with 1221 additions and 1169 deletions

View File

@@ -547,6 +547,7 @@
user << "<span class='notice'>You replace the damaged APC frame with a new one.</span>"
qdel(W)
stat &= ~BROKEN
obj_integrity = max_integrity
malfai = null
malfhack = 0
if (opened==2)

View File

@@ -1,16 +0,0 @@
/turf/open/floor/engine/attack_paw(mob/user)
return src.attack_hand(user)
/turf/open/floor/engine/attack_hand(mob/user)
user.Move_Pulled(src)
/turf/open/floor/engine/ex_act(severity, target)
contents_explosion(severity, target)
switch(severity)
if(1)
ChangeTurf(src.baseturf)
if(2)
if(prob(50))
ChangeTurf(src.baseturf)
else
return