mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 20:43:10 +01:00
Doppler Research (#11135)
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user