mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-19 12:05:59 +01:00
[MIRROR] Add all ruins to unit testing for CI [MDB IGNORE] (#19345)
* Add all ruins to unit testing for CI (#73179) * Add all ruins to unit testing for CI --------- Co-authored-by: Tim <timothymtorres@gmail.com>
This commit is contained in:
@@ -81,9 +81,18 @@
|
||||
var/list/forced_ruins = list() //These go first on the z level associated (same random one by default) or if the assoc value is a turf to the specified turf.
|
||||
var/list/ruins_available = list() //we can try these in the current pass
|
||||
|
||||
if(PERFORM_ALL_TESTS(log_mapping))
|
||||
log_mapping("All ruins being loaded for map testing.")
|
||||
|
||||
//Set up the starting ruin list
|
||||
for(var/key in ruins)
|
||||
var/datum/map_template/ruin/R = ruins[key]
|
||||
|
||||
if(PERFORM_ALL_TESTS(log_mapping))
|
||||
R.cost = 0
|
||||
R.allow_duplicates = FALSE // no multiples for testing
|
||||
R.always_place = !R.unpickable // unpickable ruin means it spawns as a set with another ruin
|
||||
|
||||
if(R.cost > budget) //Why would you do that
|
||||
continue
|
||||
if(R.always_place)
|
||||
|
||||
Reference in New Issue
Block a user