mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
Adds new station trait: Moonscorch (#20878)
* ok for real lets see * ok cool lit as the kids say * sick done * spelling idiot * Updates it As requested * Lets make it more mysterious what the moon doing * reworks the code when you leave the z-level the moon no longer resets, thanks chubby * remove this throw it away
This commit is contained in:
@@ -453,6 +453,7 @@
|
|||||||
#define STATION_TRAIT_FILLED_MAINT "station_trait_filled_maint"
|
#define STATION_TRAIT_FILLED_MAINT "station_trait_filled_maint"
|
||||||
#define STATION_TRAIT_EMPTY_MAINT "station_trait_empty_maint"
|
#define STATION_TRAIT_EMPTY_MAINT "station_trait_empty_maint"
|
||||||
#define STATION_TRAIT_PDA_GLITCHED "station_trait_pda_glitched"
|
#define STATION_TRAIT_PDA_GLITCHED "station_trait_pda_glitched"
|
||||||
|
#define STATION_TRAIT_MOONSCORCH "station_trait_moonscorch"
|
||||||
|
|
||||||
//important_recursive_contents traits
|
//important_recursive_contents traits
|
||||||
/*
|
/*
|
||||||
|
|||||||
@@ -21,7 +21,10 @@
|
|||||||
C.parallax_layers_cached = list()
|
C.parallax_layers_cached = list()
|
||||||
C.parallax_layers_cached += new /atom/movable/screen/parallax_layer/layer_1(null, C.view)
|
C.parallax_layers_cached += new /atom/movable/screen/parallax_layer/layer_1(null, C.view)
|
||||||
C.parallax_layers_cached += new /atom/movable/screen/parallax_layer/layer_2(null, C.view)
|
C.parallax_layers_cached += new /atom/movable/screen/parallax_layer/layer_2(null, C.view)
|
||||||
C.parallax_layers_cached += new /atom/movable/screen/parallax_layer/planet(null, C.view)
|
if(HAS_TRAIT(SSstation, STATION_TRAIT_MOONSCORCH))
|
||||||
|
C.parallax_layers_cached += new /atom/movable/screen/parallax_layer/planet/moonscorch(null, C.view)
|
||||||
|
else
|
||||||
|
C.parallax_layers_cached += new /atom/movable/screen/parallax_layer/planet(null, C.view)
|
||||||
if(SSparallax.random_layer)
|
if(SSparallax.random_layer)
|
||||||
C.parallax_layers_cached += new SSparallax.random_layer
|
C.parallax_layers_cached += new SSparallax.random_layer
|
||||||
C.parallax_layers_cached += new /atom/movable/screen/parallax_layer/layer_3(null, C.view)
|
C.parallax_layers_cached += new /atom/movable/screen/parallax_layer/layer_3(null, C.view)
|
||||||
@@ -326,6 +329,9 @@
|
|||||||
speed = 3
|
speed = 3
|
||||||
layer = 30
|
layer = 30
|
||||||
|
|
||||||
|
/atom/movable/screen/parallax_layer/planet/moonscorch
|
||||||
|
icon_state = "rheus_moon"
|
||||||
|
|
||||||
/atom/movable/screen/parallax_layer/planet/update_status(mob/M)
|
/atom/movable/screen/parallax_layer/planet/update_status(mob/M)
|
||||||
var/turf/T = get_turf(M)
|
var/turf/T = get_turf(M)
|
||||||
if(is_station_level(T.z))
|
if(is_station_level(T.z))
|
||||||
|
|||||||
@@ -59,3 +59,10 @@
|
|||||||
/datum/station_trait/announcement_medbot/New()
|
/datum/station_trait/announcement_medbot/New()
|
||||||
. = ..()
|
. = ..()
|
||||||
SSstation.announcer = /datum/centcom_announcer/medbot
|
SSstation.announcer = /datum/centcom_announcer/medbot
|
||||||
|
|
||||||
|
/datum/station_trait/Moonscorch
|
||||||
|
name = "Moonscorch"
|
||||||
|
trait_type = STATION_TRAIT_NEUTRAL
|
||||||
|
weight = 0.2
|
||||||
|
trait_to_give = STATION_TRAIT_MOONSCORCH
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 558 KiB After Width: | Height: | Size: 579 KiB |
Reference in New Issue
Block a user