mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-10 05:42:00 +01:00
157276d6cb
* Port /tg/ move manager, drift and jetpack components. * don't add go through newtonian movement if not moved to a turf * various cleans for blood drifts and mob speed * fix slow meteors * why on fuck's earth aren't speedbikes vehicles * style lint * also wtf * okay i'm an idiot * fix meaty ore speed and blood decal double stepping * fix not unbuckling pulled object occupants * don't bother dealing with immovable rods just yet * exclude bubblegum and vetus from move manager for now * fix issues related to null weightless blood icons * reset blood icon state properly * fuck it, we'll deal with mobs when basic mobs happen * break infinite loop in decal splat
82 lines
2.0 KiB
Plaintext
82 lines
2.0 KiB
Plaintext
// Used for spray that you spray at walls, tables, hydrovats etc
|
|
/obj/effect/decal/spraystill
|
|
density = FALSE
|
|
layer = 50
|
|
plane = HUD_PLANE
|
|
|
|
/obj/effect/decal/chempuff
|
|
name = "chemicals"
|
|
icon = 'icons/obj/chempuff.dmi'
|
|
pass_flags = PASSTABLE | PASSGRILLE
|
|
|
|
/obj/effect/decal/chempuff/blob_act(obj/structure/blob/B)
|
|
return
|
|
|
|
/obj/effect/decal/chempuff/proc/loop_ended(datum/source)
|
|
SIGNAL_HANDLER // COMSIG_PARENT_QDELETING
|
|
if(QDELETED(src))
|
|
return
|
|
qdel(src)
|
|
|
|
/obj/effect/decal/chempuff/proc/check_move(datum/move_loop/source, succeeded)
|
|
SIGNAL_HANDLER // COMSIG_MOVELOOP_POSTPROCESS
|
|
var/turf/our_turf = get_turf(src)
|
|
reagents.reaction(our_turf)
|
|
for(var/atom/T in our_turf)
|
|
reagents.reaction(T)
|
|
|
|
/obj/effect/decal/snow
|
|
name = "snow"
|
|
density = FALSE
|
|
layer = TURF_DECAL_LAYER
|
|
icon = 'icons/turf/snow.dmi'
|
|
icon_state = "snow"
|
|
|
|
/obj/effect/decal/snow/clean/edge
|
|
icon_state = "snow_corner"
|
|
|
|
/obj/effect/decal/snow/sand/edge
|
|
icon_state = "gravsnow_corner"
|
|
|
|
/obj/effect/decal/snow/clean/surround
|
|
icon_state = "snow_surround"
|
|
|
|
/obj/effect/decal/snow/sand/surround
|
|
icon_state = "gravsnow_surround"
|
|
|
|
/obj/effect/decal/leaves
|
|
name = "fall leaves"
|
|
density = FALSE
|
|
layer = HIGH_TURF_LAYER
|
|
icon = 'icons/obj/flora/plants.dmi'
|
|
icon_state = "fallleaves"
|
|
|
|
/obj/effect/decal/straw
|
|
name = "scattered straw"
|
|
density = FALSE
|
|
layer = HIGH_TURF_LAYER
|
|
icon = 'icons/obj/flora/plants.dmi'
|
|
icon_state = "strawscattered"
|
|
|
|
/obj/effect/decal/straw/medium
|
|
icon_state = "strawscattered3"
|
|
|
|
/obj/effect/decal/straw/light
|
|
icon_state = "strawscattered2"
|
|
|
|
/obj/effect/decal/straw/edge
|
|
icon_state = "strawscatterededge"
|
|
|
|
/obj/effect/decal/cleanable/ants
|
|
name = "space ants"
|
|
desc = "A bunch of space ants."
|
|
icon = 'icons/goonstation/effects/effects.dmi'
|
|
icon_state = "spaceants"
|
|
scoop_reagents = list("ants" = 20)
|
|
|
|
/obj/effect/decal/cleanable/ants/Initialize(mapload)
|
|
. = ..()
|
|
var/scale = (rand(2, 10) / 10) + (rand(0, 5) / 100)
|
|
transform = matrix(transform, scale, scale, MATRIX_SCALE)
|
|
setDir(pick(NORTH, SOUTH, EAST, WEST))
|