[MIRROR] Fixes Archaeology not working (#2744)
* Fixes Archaeology not working (#30547) * gg * fixes that other issue * ok * okie dokie * removes this devil * Fixes Archaeology not working
This commit is contained in:
committed by
Poojawa
parent
c34b5c805f
commit
4da91bc330
@@ -6,13 +6,11 @@
|
||||
* Engine floor
|
||||
* Foam plating
|
||||
*/
|
||||
// note that plating and engine floor do not call their parent attackby, unlike other flooring
|
||||
// this is done in order to avoid inheriting the crowbar attackby
|
||||
|
||||
/turf/open/floor/plating
|
||||
name = "plating"
|
||||
icon_state = "plating"
|
||||
intact = 0
|
||||
intact = FALSE
|
||||
|
||||
/turf/open/floor/plating/Initialize()
|
||||
if (!broken_states)
|
||||
|
||||
@@ -35,6 +35,8 @@
|
||||
return
|
||||
|
||||
/turf/open/floor/plating/asteroid/attackby(obj/item/W, mob/user, params)
|
||||
if(..())
|
||||
return TRUE
|
||||
if(istype(W, /obj/item/storage/bag/ore))
|
||||
var/obj/item/storage/bag/ore/S = W
|
||||
if(S.collection_mode == 1)
|
||||
@@ -62,6 +64,10 @@
|
||||
return ..()
|
||||
ChangeTurf(/turf/open/space)
|
||||
|
||||
/turf/open/floor/plating/asteroid/ex_act(severity, target)
|
||||
. = SendSignal(COMSIG_ATOM_EX_ACT, severity, target)
|
||||
contents_explosion(severity, target)
|
||||
|
||||
|
||||
/turf/open/floor/plating/asteroid/basalt
|
||||
name = "volcanic floor"
|
||||
|
||||
Reference in New Issue
Block a user