mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-13 19:52:40 +00:00
Some plane tweaks.
This commit is contained in:
@@ -90,6 +90,8 @@ What is the naming convention for planes or layers?
|
|||||||
#define ON_WINDOW_LAYER 3.3 // Ontop of a window
|
#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_WINDOW_LAYER 3.4 //Above full tile windows so wall items are clickable
|
||||||
|
|
||||||
|
#define ABOVE_OBJ_PLANE -30
|
||||||
|
|
||||||
// Mob planes
|
// Mob planes
|
||||||
#define MOB_PLANE -25
|
#define MOB_PLANE -25
|
||||||
#define BELOW_MOB_LAYER 3.9 // Should be converted to plane swaps
|
#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
|
pass_flags = PASSTABLE | PASSGRILLE
|
||||||
blocks_emissive = EMISSIVE_BLOCK_GENERIC
|
blocks_emissive = EMISSIVE_BLOCK_GENERIC
|
||||||
light_on = TRUE
|
light_on = TRUE
|
||||||
|
plane = ABOVE_OBJ_PLANE
|
||||||
|
|
||||||
/datum/effect/effect/system
|
/datum/effect/effect/system
|
||||||
var/number = 3
|
var/number = 3
|
||||||
|
|||||||
@@ -25,7 +25,7 @@
|
|||||||
desc = "Something swinging really wide."
|
desc = "Something swinging really wide."
|
||||||
icon = 'icons/effects/96x96.dmi'
|
icon = 'icons/effects/96x96.dmi'
|
||||||
icon_state = "cleave"
|
icon_state = "cleave"
|
||||||
plane = MOB_PLANE
|
plane = ABOVE_MOB_PLANE
|
||||||
layer = ABOVE_MOB_LAYER
|
layer = ABOVE_MOB_LAYER
|
||||||
time_to_die = 6
|
time_to_die = 6
|
||||||
alpha = 140
|
alpha = 140
|
||||||
@@ -44,6 +44,7 @@
|
|||||||
icon = 'icons/goonstation/featherzone.dmi'
|
icon = 'icons/goonstation/featherzone.dmi'
|
||||||
icon_state = "hazard-corners"
|
icon_state = "hazard-corners"
|
||||||
time_to_die = 5 SECONDS
|
time_to_die = 5 SECONDS
|
||||||
|
plane = PLANE_LIGHTING_ABOVE
|
||||||
//VOREStation Edit End
|
//VOREStation Edit End
|
||||||
|
|
||||||
// The manifestation of Zeus's might. Or just a really unlucky day.
|
// The manifestation of Zeus's might. Or just a really unlucky day.
|
||||||
@@ -100,6 +101,7 @@
|
|||||||
|
|
||||||
/obj/effect/abstract
|
/obj/effect/abstract
|
||||||
mouse_opacity = MOUSE_OPACITY_TRANSPARENT
|
mouse_opacity = MOUSE_OPACITY_TRANSPARENT
|
||||||
|
plane = ABOVE_MOB_PLANE
|
||||||
|
|
||||||
/obj/effect/abstract/light_spot
|
/obj/effect/abstract/light_spot
|
||||||
icon = 'icons/effects/eris_flashlight.dmi'
|
icon = 'icons/effects/eris_flashlight.dmi'
|
||||||
|
|||||||
@@ -7,6 +7,7 @@
|
|||||||
name="beam"
|
name="beam"
|
||||||
icon='icons/effects/beam.dmi'
|
icon='icons/effects/beam.dmi'
|
||||||
icon_state="b_beam"
|
icon_state="b_beam"
|
||||||
|
plane = ABOVE_OBJ_PLANE
|
||||||
var/tmp/atom/BeamSource
|
var/tmp/atom/BeamSource
|
||||||
|
|
||||||
/obj/effect/overlay/beam/New()
|
/obj/effect/overlay/beam/New()
|
||||||
@@ -62,6 +63,7 @@
|
|||||||
icon = 'icons/turf/overlays.dmi'
|
icon = 'icons/turf/overlays.dmi'
|
||||||
icon_state = "snow"
|
icon_state = "snow"
|
||||||
anchored = 1
|
anchored = 1
|
||||||
|
plane = TURF_PLANE
|
||||||
|
|
||||||
// Todo: Add a version that gradually reaccumulates over time by means of alpha transparency. -Spades
|
// 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)
|
/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
|
climbable = TRUE
|
||||||
climb_delay = 10 SECONDS
|
climb_delay = 10 SECONDS
|
||||||
block_turf_edges = TRUE // Don't want turf edges popping up from the cliff edge.
|
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/icon_variant = null // Used to make cliffs less repeative by having a selection of sprites to display.
|
||||||
var/corner = FALSE // Used for icon things.
|
var/corner = FALSE // Used for icon things.
|
||||||
|
|||||||
@@ -250,10 +250,12 @@
|
|||||||
if(resting)
|
if(resting)
|
||||||
animate(src,alpha = 40,time = 1 SECOND)
|
animate(src,alpha = 40,time = 1 SECOND)
|
||||||
mouse_opacity = 0
|
mouse_opacity = 0
|
||||||
|
plane = ABOVE_OBJ_PLANE
|
||||||
else
|
else
|
||||||
mouse_opacity = 1
|
mouse_opacity = 1
|
||||||
icon_state = "wake"
|
icon_state = "wake"
|
||||||
animate(src,alpha = 255,time = 1 SECOND)
|
animate(src,alpha = 255,time = 1 SECOND)
|
||||||
|
plane = MOB_PLANE
|
||||||
sleep(7)
|
sleep(7)
|
||||||
update_icon()
|
update_icon()
|
||||||
//Potential glob noms
|
//Potential glob noms
|
||||||
@@ -472,8 +474,14 @@ var/global/list/disallowed_protean_accessories = list(
|
|||||||
/mob/living/carbon/human/proc/nano_outofblob(var/mob/living/simple_mob/protean_blob/blob, force)
|
/mob/living/carbon/human/proc/nano_outofblob(var/mob/living/simple_mob/protean_blob/blob, force)
|
||||||
if(!istype(blob))
|
if(!istype(blob))
|
||||||
return
|
return
|
||||||
|
<<<<<<< HEAD
|
||||||
if(blob.loc == /obj/item/weapon/rig/protean) //CHOMP Add
|
if(blob.loc == /obj/item/weapon/rig/protean) //CHOMP Add
|
||||||
return //CHOMP Add
|
return //CHOMP Add
|
||||||
|
||||||| parent of c7ec78b7a1... Merge pull request #10937 from Verkister/planecrap
|
||||||
|
|
||||||
|
=======
|
||||||
|
|
||||||
|
>>>>>>> c7ec78b7a1... Merge pull request #10937 from Verkister/planecrap
|
||||||
if(!force && !isturf(blob.loc))
|
if(!force && !isturf(blob.loc))
|
||||||
to_chat(blob,"<span class='warning'>You can't change forms while inside something.</span>")
|
to_chat(blob,"<span class='warning'>You can't change forms while inside something.</span>")
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user