bdm always spawns, duplicate removal maintained
This commit is contained in:
@@ -135,6 +135,7 @@
|
||||
id = "blooddrunk"
|
||||
description = "A strange arrangement of stone tiles and an insane, beastly miner contemplating them."
|
||||
suffix = "lavaland_surface_blooddrunk1.dmm"
|
||||
always_place = TRUE
|
||||
allow_duplicates = FALSE //will only spawn one variant of the ruin
|
||||
|
||||
/datum/map_template/ruin/lavaland/blood_drunk_miner/guidance
|
||||
|
||||
@@ -135,7 +135,12 @@
|
||||
//That's done remove from priority even if it failed
|
||||
if(forced)
|
||||
//TODO : handle forced ruins with multiple variants
|
||||
// this might work?
|
||||
forced_ruins -= current_pick
|
||||
if(!current_pick.allow_duplicates)
|
||||
for(var/datum/map_template/ruin/R in forced_ruins)
|
||||
if(R.id == current_pick.id)
|
||||
forced_ruins -= R
|
||||
forced = FALSE
|
||||
|
||||
if(failed_to_place)
|
||||
|
||||
Reference in New Issue
Block a user