mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-04 22:11:27 +00:00
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:
@@ -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)
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user