Skip to content

Commit

Permalink
new doom effect
Browse files Browse the repository at this point in the history
  • Loading branch information
Git-Nivrak committed Jun 6, 2024
1 parent 82514d4 commit 8a9452b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
12 changes: 11 additions & 1 deletion code/game/objects/effects/effect_system/smoke.dm
Original file line number Diff line number Diff line change
Expand Up @@ -661,8 +661,18 @@

/obj/effect/particle_effect/smoke/destroyer
opacity = FALSE
color = "#595757"
color = "#000000"
icon = 'icons/effects/effects.dmi'
icon_state = "sparks"
anchored = TRUE
mouse_opacity = MOUSE_OPACITY_TRANSPARENT
layer = BELOW_OBJ_LAYER
time_to_live = 5
spread_speed = 1
pixel_x = 0
pixel_y = 0


/datum/effect_system/smoke_spread/destroyer_doom
smoke_type = /obj/effect/particle_effect/smoke/destroyer

Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@
xeno.create_shriekwave()

var/datum/effect_system/smoke_spread/destroyer_doom/smoke_gas = new /datum/effect_system/smoke_spread/destroyer_doom
smoke_gas.set_up(3, 0, get_turf(xeno), null, 6)
smoke_gas.set_up(7, 0, get_turf(xeno), null, 6)
smoke_gas.start()

// Turn off lights for items in the area dependant on distance.
for(var/obj/item/device/potential_lightsource in orange(extinguish_light_range, owner))

var/time_to_extinguish = get_dist(owner, potential_lightsource) SECONDS
var/time_to_extinguish = get_dist(owner, potential_lightsource) DECISECONDS

//Flares
if(istype(potential_lightsource, /obj/item/device/flashlight/flare))
Expand Down

0 comments on commit 8a9452b

Please sign in to comment.