mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-27 15:01:04 +01:00
Point Verdant now only spawns when today is a Port of Call (#18670)
* Port of Call Template Flag * oops * bitflags * bitflags but frfr * I give up + fix * bitflags again again * Port of Call Day changes * remove Horizon check * small thing :) * check day directly now * new proc to check port of call, and possible fix * Requested Changes * requested gem changes * gem gaming * gemmmmmmmmmmmmmmmmmmmmmmmmmmm --------- Co-authored-by: Benedict <Ben10083@users.noreply.github.com>
This commit is contained in:
@@ -41,6 +41,17 @@ GLOBAL_LIST_EMPTY(banned_ruin_ids)
|
||||
handled_ruin_paths += ruin.type
|
||||
continue
|
||||
|
||||
if((ruin.template_flags & TEMPLATE_FLAG_PORT_SPAWN))
|
||||
if(SSatlas.is_port_call_day())
|
||||
force_spawn |= ruin
|
||||
for(var/ruin_path in ruin.force_ruins)
|
||||
var/datum/map_template/ruin/force_ruin = new ruin_path
|
||||
force_spawn |= force_ruin
|
||||
// No matter if it spawns or not, we want it removed from further consideration, it either spawns here or not at all
|
||||
potentialRuins -= ruin
|
||||
handled_ruin_paths += ruin.type
|
||||
continue
|
||||
|
||||
available[ruin] = ruin.spawn_weight
|
||||
|
||||
for(var/ruin_path in ruin.allow_ruins)
|
||||
|
||||
Reference in New Issue
Block a user