mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 19:47:22 +01:00
Adds a megafauna_safe_range var to ruin datums and adds a megafauna exclusion zone to ghost spawn ruins on lavaland. (#29120)
* add exclusion check, change area types, update script * merged the 2 for loops * removed commented out section * rename updatepaths script * var * undo area and map edits * add safe var for ruin datums, add megafauna distance check for safe ruins * removed unneeded file * rename variable
This commit is contained in:
@@ -7,6 +7,8 @@
|
||||
wooden container filled with 18th century coinage in the middle of a \
|
||||
lavawracked hellscape? It is clearly a mystery."
|
||||
|
||||
/// Prevents megafauna spawning within a certain range of ruins.
|
||||
var/megafauna_safe_range = FALSE
|
||||
var/unpickable = FALSE //If TRUE these won't be placed automatically (can still be forced or loaded with another ruin)
|
||||
var/always_place = FALSE //Will skip the whole weighting process and just plop this down, ideally you want the ruins of this kind to have no cost.
|
||||
var/placement_weight = 1 //How often should this ruin appear
|
||||
|
||||
@@ -27,6 +27,7 @@
|
||||
suffix = "lavaland_surface_seed_vault.dmm"
|
||||
allow_duplicates = FALSE
|
||||
always_place = TRUE
|
||||
megafauna_safe_range = TRUE
|
||||
|
||||
/datum/map_template/ruin/lavaland/seed_vault_eden
|
||||
name = "Garden of Eden"
|
||||
@@ -44,6 +45,7 @@
|
||||
Probably best to stay clear."
|
||||
suffix = "lavaland_surface_ash_walker1.dmm"
|
||||
allow_duplicates = FALSE
|
||||
megafauna_safe_range = TRUE
|
||||
|
||||
/datum/map_template/ruin/lavaland/ash_walker_siege
|
||||
name = "Ash Walker Siege"
|
||||
@@ -61,6 +63,7 @@
|
||||
suffix = "lavaland_surface_golem_ship.dmm"
|
||||
allow_duplicates = FALSE
|
||||
always_place = TRUE
|
||||
megafauna_safe_range = TRUE
|
||||
|
||||
/datum/map_template/ruin/lavaland/althland_facility
|
||||
name = "Althland Facility"
|
||||
@@ -197,6 +200,7 @@
|
||||
suffix = "lavaland_surface_hermit.dmm"
|
||||
allow_duplicates = FALSE
|
||||
always_place = TRUE
|
||||
megafauna_safe_range = TRUE
|
||||
|
||||
/datum/map_template/ruin/lavaland/miningripley
|
||||
name = "Ripley"
|
||||
|
||||
Reference in New Issue
Block a user