mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-17 04:27:39 +00:00
Refactoring of Flex, Fix Section scrollable Getting presets working wip Upgrade dependencies preset notice, tooltip fixes, pod spawnlocation fixes finishes UI, final polish quells one travismoment Apply suggestions from code review Co-authored-by: Rohesie <rohesie@gmail.com> better var names better vars sound for loop Further review addressing runtime fixes Update code/modules/asset_cache/asset_list_items.dm Co-authored-by: Rohesie <rohesie@gmail.com> More review addressing tgui merge why was that there Small improvements Small Improvements Part 2 dropoff / wall moving improvements compile! more fixes
97 lines
2.1 KiB
Plaintext
97 lines
2.1 KiB
Plaintext
//The effect when you wrap a dead body in gift wrap
|
|
/obj/effect/spresent
|
|
name = "strange present"
|
|
desc = "It's a ... present?"
|
|
icon = 'icons/obj/items_and_weapons.dmi'
|
|
icon_state = "strangepresent"
|
|
density = TRUE
|
|
anchored = FALSE
|
|
|
|
/obj/effect/beam
|
|
name = "beam"
|
|
var/def_zone
|
|
pass_flags = PASSTABLE
|
|
|
|
/obj/effect/beam/singularity_act()
|
|
return
|
|
|
|
/obj/effect/beam/singularity_pull()
|
|
return
|
|
|
|
/obj/effect/spawner
|
|
name = "object spawner"
|
|
|
|
/obj/effect/list_container
|
|
name = "list container"
|
|
|
|
/obj/effect/list_container/mobl
|
|
name = "mobl"
|
|
var/master = null
|
|
|
|
var/list/container = list( )
|
|
|
|
/obj/effect/overlay/thermite
|
|
name = "thermite"
|
|
desc = "Looks hot."
|
|
icon = 'icons/effects/fire.dmi'
|
|
icon_state = "2" //what?
|
|
anchored = TRUE
|
|
opacity = TRUE
|
|
density = TRUE
|
|
layer = FLY_LAYER
|
|
|
|
//Makes a tile fully lit no matter what
|
|
/obj/effect/fullbright
|
|
icon = 'icons/effects/alphacolors.dmi'
|
|
icon_state = "white"
|
|
plane = LIGHTING_PLANE
|
|
layer = LIGHTING_LAYER
|
|
blend_mode = BLEND_ADD
|
|
|
|
/obj/effect/abstract/marker
|
|
name = "marker"
|
|
icon = 'icons/effects/effects.dmi'
|
|
anchored = TRUE
|
|
icon_state = "wave3"
|
|
layer = RIPPLE_LAYER
|
|
|
|
/obj/effect/abstract/marker/Initialize(mapload)
|
|
. = ..()
|
|
GLOB.all_abstract_markers += src
|
|
|
|
/obj/effect/abstract/marker/Destroy()
|
|
GLOB.all_abstract_markers -= src
|
|
. = ..()
|
|
|
|
/obj/effect/abstract/marker/at
|
|
name = "active turf marker"
|
|
|
|
|
|
/obj/effect/dummy/lighting_obj
|
|
name = "lighting fx obj"
|
|
desc = "Tell a coder if you're seeing this."
|
|
icon_state = "nothing"
|
|
light_system = MOVABLE_LIGHT
|
|
light_range = MINIMUM_USEFUL_LIGHT_RANGE
|
|
light_color = COLOR_WHITE
|
|
mouse_opacity = MOUSE_OPACITY_TRANSPARENT
|
|
|
|
/obj/effect/dummy/lighting_obj/Initialize(mapload, _range, _power, _color, _duration)
|
|
. = ..()
|
|
if(!isnull(_range))
|
|
set_light_range(_range)
|
|
if(!isnull(_power))
|
|
set_light_power(_power)
|
|
if(!isnull(_color))
|
|
set_light_color(_color)
|
|
if(_duration)
|
|
QDEL_IN(src, _duration)
|
|
|
|
/obj/effect/dummy/lighting_obj/moblight
|
|
name = "mob lighting fx"
|
|
|
|
/obj/effect/dummy/lighting_obj/moblight/Initialize(mapload, _color, _range, _power, _duration)
|
|
. = ..()
|
|
if(!ismob(loc))
|
|
return INITIALIZE_HINT_QDEL
|