mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-16 05:02:18 +00:00
Repaths obj/effect/effect, datum/effect/effect [MDB_IGNORE] (#8312)
* Repaths obj/effect/effect, datum/effect/effect * linter fixes * No new Co-authored-by: Atermonera <forslandm@gmail.com>
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
|
||||
for(var/turf/simulated/floor/F in view(2, T))
|
||||
spawn()
|
||||
var/obj/effect/effect/water/splash = new(T)
|
||||
var/obj/effect/vfx/water/splash = new(T)
|
||||
splash.create_reagents(15)
|
||||
splash.reagents.add_reagent("blood", 10,list("blood_colour" = color))
|
||||
splash.set_color()
|
||||
|
||||
@@ -35,9 +35,9 @@
|
||||
L.blob_act()
|
||||
|
||||
// Visual effect.
|
||||
var/datum/effect/system/explosion/E = new/datum/effect/system/explosion/smokeless()
|
||||
var/datum/effect_system/explosion/E = new/datum/effect_system/explosion/smokeless()
|
||||
var/turf/T = get_turf(victim)
|
||||
E.set_up(T)
|
||||
E.set_up(loc=T)
|
||||
E.start()
|
||||
|
||||
// Now for sounds.
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
var/mob/living/L = locate() in range(world.view, B)
|
||||
if(L && prob(1) && L.mind && !L.stat) // There's some active living thing nearby, produce offgas.
|
||||
var/turf/T = get_turf(B)
|
||||
var/datum/effect/effect/system/smoke_spread/noxious/BS = new /datum/effect/effect/system/smoke_spread/noxious
|
||||
var/datum/effect_system/smoke_spread/noxious/BS = new /datum/effect_system/smoke_spread/noxious
|
||||
BS.attach(T)
|
||||
BS.set_up(3, 0, T)
|
||||
playsound(T, 'sound/effects/smoke.ogg', 50, 1, -3)
|
||||
@@ -43,7 +43,7 @@
|
||||
if(prob(5) && !L.stat) // There's some active living thing nearby, produce offgas.
|
||||
B.visible_message("<span class='alien'>\icon [B] \The [B] disgorches a cloud of noxious gas!</span>")
|
||||
var/turf/T = get_turf(B)
|
||||
var/datum/effect/effect/system/smoke_spread/noxious/BS = new /datum/effect/effect/system/smoke_spread/noxious
|
||||
var/datum/effect_system/smoke_spread/noxious/BS = new /datum/effect_system/smoke_spread/noxious
|
||||
BS.attach(T)
|
||||
BS.set_up(3, 0, T)
|
||||
playsound(T, 'sound/effects/smoke.ogg', 50, 1, -3)
|
||||
|
||||
Reference in New Issue
Block a user