Files
Aurora.3/code/game/objects/effects/decals/misc.dm
hazelrat 6bf9e31542 Makes fake objects click-able (#20849)
Effects were made transparent at parent a while ago, iirc. This re-adds
being clickable to fake objects, so you can see their names and
descriptions again.
2025-06-22 18:08:44 +00:00

59 lines
1.4 KiB
Plaintext

/obj/effect/decal
layer = DECAL_LAYER
/obj/effect/decal/tesla_act()
return
/obj/effect/decal/point
name = "arrow"
desc = "It's an arrow hanging in mid-air. There may be a wizard about."
icon = 'icons/mob/screen/generic.dmi'
icon_state = "arrow"
layer = POINTER_LAYER
anchored = 1
mouse_opacity = MOUSE_OPACITY_TRANSPARENT
// Used for spray that you spray at walls, tables, hydrovats etc
/obj/effect/decal/spraystill
density = 0
anchored = 1
layer = PROJECTILE_LAYER
//Used for imitating an object's sprite for decorative purposes.
/obj/effect/decal/fake_object
name = "object"
icon = 'icons/obj/structures.dmi'
icon_state = "ladder11"
density = 0
anchored = 1
layer = OBJ_LAYER
mouse_opacity = MOUSE_OPACITY_ICON
// Fancy animated effect used for the holodecks.
/obj/effect/decal/rolling_fog
name = "rolling fog"
icon = 'icons/effects/props/holodeck/biesel/32x32.dmi'
icon_state = "fog_roll"
anchored = 1
layer = ABOVE_PROJECTILE_LAYER
/obj/effect/decal/fake_object/Initialize(mapload)
.=..()
appearance_flags &= ~TILE_BOUND
/obj/effect/decal/fake_object/light_source
name = "light source"
icon = 'icons/obj/lighting.dmi'
icon_state = "glowstick-on"
light_power = 1
light_range = 5
light_color = LIGHT_COLOR_HALOGEN
/obj/effect/decal/fake_object/light_source/Initialize()
.=..()
set_light()
/obj/effect/decal/fake_object/light_source/invisible
simulated = 0
invisibility = 101