Doppler Research (#11135)

This commit is contained in:
Geeves
2021-03-19 22:06:24 +01:00
committed by GitHub
parent 123b0e3c3e
commit 987e8e2c2b
6 changed files with 42 additions and 17 deletions
+3 -7
View File
@@ -17,13 +17,9 @@
SSexplosives.queue(data)
//Machines which report explosions.
for(var/i,i<=doppler_arrays.len,i++)
var/obj/machinery/doppler_array/Array = doppler_arrays[i]
if(Array)
var/x0 = epicenter.x
var/y0 = epicenter.y
var/z0 = epicenter.z
Array.sense_explosion(x0,y0,z0,devastation_range,heavy_impact_range,light_impact_range)
for(var/thing in doppler_arrays)
var/obj/machinery/doppler_array/Array = thing
Array.sense_explosion(epicenter.x,epicenter.y,epicenter.z,devastation_range,heavy_impact_range,light_impact_range)
// == Recursive Explosions stuff ==
@@ -0,0 +1,12 @@
/obj/item/research_slip
name = "research slip"
desc = "A small slip of plastic with an embedded chip. It is commonly used to store small amounts of research data."
desc_info = "This item is to be used in the destructive analyzer to gain research points."
icon = 'icons/obj/contained_items/tools/research_slip.dmi'
icon_state = "slip"
contained_sprite = TRUE
/obj/item/research_slip/Initialize(mapload, var/list/research_levels)
. = ..()
if(length(research_levels))
origin_tech = research_levels