Skip to content

Commit 3755288

Browse files
authored
[script][bescort]shard thief guild update (#7217)
1 parent dd5e055 commit 3755288

File tree

1 file changed

+21
-3
lines changed

1 file changed

+21
-3
lines changed

bescort.lic

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2123,9 +2123,27 @@ class Bescort
21232123

21242124
def enter_thief_guild
21252125
password = @settings.shard_thief_password
2126-
DRC.bput('knock', 'You knock on the door')
2127-
DRC.bput("say #{password}", 'You lean towards the doorway')
2128-
move 'go door'
2126+
case DRC.bput('knock', /^You wait, but nothing happens/, /^A moment later, a slit opens in the door at eye level/)
2127+
when /^A moment later, a slit opens in the door at eye level/
2128+
case DRC.bput("say #{password}", 'You lean towards the doorway', /^You say/)
2129+
when /^You say/
2130+
DRC.message("fix yer yaml ye grub! Yer password is wrong!")
2131+
DRC.message("Set the correct value for shard_thief_password")
2132+
stop_script("go2") if Script.running?("go2")
2133+
exit
2134+
end
2135+
end
2136+
case DRC.bput('go door', /From behind the doorway you hear a faint chuckle/, /Obvious exits/)
2137+
when /From behind the doorway you hear a faint chuckle/
2138+
case DRC.bput("say #{password}", 'You lean towards the doorway', /^You say/)
2139+
when /^You say/
2140+
DRC.message("fix yer yaml ye grub! Yer password is wrong!")
2141+
DRC.message("Set the correct value for shard_thief_password")
2142+
stop_script("go2") if Script.running?("go2")
2143+
exit
2144+
end
2145+
move 'go door'
2146+
end
21292147
end
21302148

21312149
def use_shard_gates

0 commit comments

Comments
 (0)