Skip to content

Commit

Permalink
[scripts][dependency] Blacklisting 5713 from being available as a saf…
Browse files Browse the repository at this point in the history
…e room
  • Loading branch information
MahtraDR committed Oct 20, 2024
1 parent 2a2a725 commit 9ec7de9
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion dependency.lic
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ require 'ostruct'
require 'digest/sha1'
require 'monitor'

$DEPENDENCY_VERSION = '1.7.2'
$DEPENDENCY_VERSION = '1.7.3'
$MIN_RUBY_VERSION = '3.2.2'

no_pause_all
Expand Down Expand Up @@ -1287,6 +1287,14 @@ class SetupFiles
settings.hometown ||= UserVars.hometown
settings.hometown = $HOMETOWN if $HOMETOWN

# Blacklist Empath courtyard as a safe room
if settings.safe_room == 5713 || settings.safe_room_id == 5713
_respond("<pushBold/>5713 is not a valid safe room setting.<popBold/>")
_respond("<pushBold/>Exiting.<popBold/>")
_respond("<pushBold/>Please edit your yaml to use a different safe room.<popBold/>")
exit
end

# If these room settings are defined as maps with a
# room id configured per town, then grab the hometown room id
# and assign it directly to the setting.
Expand Down

0 comments on commit 9ec7de9

Please sign in to comment.