mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 03:02:54 +00:00
Make starlight static
This commit is contained in:
@@ -232,7 +232,7 @@ var/list/gamemode_cache = list()
|
||||
var/dooc_allowed = 1
|
||||
var/dsay_allowed = 1
|
||||
|
||||
var/starlight = 0 // Whether space turfs have ambient light or not
|
||||
var/static/starlight = 0 // Whether space turfs have ambient light or not
|
||||
|
||||
var/list/ert_species = list(SPECIES_HUMAN)
|
||||
|
||||
|
||||
@@ -13,14 +13,12 @@
|
||||
var/forced_dirs = 0 //Force this one to pretend it's an overedge turf
|
||||
|
||||
/turf/space/Initialize()
|
||||
. = ..()
|
||||
|
||||
if(config.starlight)
|
||||
update_starlight()
|
||||
|
||||
//Sprite stuff only beyond here
|
||||
if(keep_sprite)
|
||||
return .
|
||||
return ..()
|
||||
|
||||
//We might be an edge
|
||||
if(y == world.maxy || forced_dirs & NORTH)
|
||||
@@ -38,6 +36,8 @@
|
||||
else //Dust
|
||||
appearance = SSskybox.dust_cache["[((x + y) ^ ~(x * y) + z) % 25]"]
|
||||
|
||||
return ..()
|
||||
|
||||
/turf/space/proc/toggle_transit(var/direction)
|
||||
if(edge) //Not a great way to do this yet. Maybe we'll come up with one. We could pre-make sprites... or tile the overlay over it?
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user