mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
Merge pull request #2448 from CHOMPStationBot/upstream-merge-10937
[MIRROR] Some plane tweaks.
This commit is contained in:
@@ -93,6 +93,8 @@ What is the naming convention for planes or layers?
|
||||
#define ON_WINDOW_LAYER 3.3 // Ontop of a window
|
||||
#define ABOVE_WINDOW_LAYER 3.4 //Above full tile windows so wall items are clickable
|
||||
|
||||
#define ABOVE_OBJ_PLANE -30
|
||||
|
||||
// Mob planes
|
||||
#define MOB_PLANE -25
|
||||
#define BELOW_MOB_LAYER 3.9 // Should be converted to plane swaps
|
||||
|
||||
@@ -15,6 +15,7 @@ would spawn and follow the beaker, even if it is carried or thrown.
|
||||
pass_flags = PASSTABLE | PASSGRILLE
|
||||
blocks_emissive = EMISSIVE_BLOCK_GENERIC
|
||||
light_on = TRUE
|
||||
plane = ABOVE_OBJ_PLANE
|
||||
|
||||
/datum/effect/effect/system
|
||||
var/number = 3
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
desc = "Something swinging really wide."
|
||||
icon = 'icons/effects/96x96.dmi'
|
||||
icon_state = "cleave"
|
||||
plane = MOB_PLANE
|
||||
plane = ABOVE_MOB_PLANE
|
||||
layer = ABOVE_MOB_LAYER
|
||||
time_to_die = 6
|
||||
alpha = 140
|
||||
@@ -44,6 +44,7 @@
|
||||
icon = 'icons/goonstation/featherzone.dmi'
|
||||
icon_state = "hazard-corners"
|
||||
time_to_die = 5 SECONDS
|
||||
plane = PLANE_LIGHTING_ABOVE
|
||||
//VOREStation Edit End
|
||||
|
||||
// The manifestation of Zeus's might. Or just a really unlucky day.
|
||||
@@ -100,6 +101,7 @@
|
||||
|
||||
/obj/effect/abstract
|
||||
mouse_opacity = MOUSE_OPACITY_TRANSPARENT
|
||||
plane = ABOVE_MOB_PLANE
|
||||
|
||||
/obj/effect/abstract/light_spot
|
||||
icon = 'icons/effects/eris_flashlight.dmi'
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
name="beam"
|
||||
icon='icons/effects/beam.dmi'
|
||||
icon_state="b_beam"
|
||||
plane = ABOVE_OBJ_PLANE
|
||||
var/tmp/atom/BeamSource
|
||||
|
||||
/obj/effect/overlay/beam/New()
|
||||
@@ -62,6 +63,7 @@
|
||||
icon = 'icons/turf/overlays.dmi'
|
||||
icon_state = "snow"
|
||||
anchored = 1
|
||||
plane = TURF_PLANE
|
||||
|
||||
// Todo: Add a version that gradually reaccumulates over time by means of alpha transparency. -Spades
|
||||
/obj/effect/overlay/snow/attackby(obj/item/W as obj, mob/user as mob)
|
||||
|
||||
@@ -34,6 +34,7 @@ two tiles on initialization, and which way a cliff is facing may change during m
|
||||
climbable = TRUE
|
||||
climb_delay = 10 SECONDS
|
||||
block_turf_edges = TRUE // Don't want turf edges popping up from the cliff edge.
|
||||
plane = TURF_PLANE
|
||||
|
||||
var/icon_variant = null // Used to make cliffs less repeative by having a selection of sprites to display.
|
||||
var/corner = FALSE // Used for icon things.
|
||||
|
||||
@@ -250,10 +250,12 @@
|
||||
if(resting)
|
||||
animate(src,alpha = 40,time = 1 SECOND)
|
||||
mouse_opacity = 0
|
||||
plane = ABOVE_OBJ_PLANE
|
||||
else
|
||||
mouse_opacity = 1
|
||||
icon_state = "wake"
|
||||
animate(src,alpha = 255,time = 1 SECOND)
|
||||
plane = MOB_PLANE
|
||||
sleep(7)
|
||||
update_icon()
|
||||
//Potential glob noms
|
||||
|
||||
Reference in New Issue
Block a user