Ghost Roles (#6706)

This commit is contained in:
Werner
2019-08-10 23:57:49 +02:00
committed by GitHub
parent 15fcefb923
commit a8e4e7f88c
36 changed files with 1865 additions and 683 deletions

View File

@@ -13,6 +13,7 @@
wall_type = /turf/simulated/wall/titanium
floor_type = /turf/simulated/floor/reinforced
spawn_roof = TRUE
var/list/supplied_drop_types = list()
var/door_type = /obj/structure/droppod_door
var/drop_type = /mob/living/simple_animal/parrot

View File

@@ -23,6 +23,7 @@ var/global/list/map_count = list()
var/wall_type = /turf/simulated/wall
var/floor_type = /turf/simulated/floor
var/target_turf_type
var/spawn_roof = FALSE //Set to TRUE if a roof should be spawned based.
// Storage for the final iteration of the map.
var/list/map = list() // Actual map.
@@ -179,6 +180,8 @@ var/global/list/map_count = list()
var/newpath = get_appropriate_path(map[tmp_cell])
if(newpath)
T.ChangeTurf(newpath)
if(spawn_roof)
T.spawn_roof()
get_additional_spawns(map[tmp_cell],T,get_spawn_dir(x, y))
return T