Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 21 additions & 3 deletions bescort.lic
Original file line number Diff line number Diff line change
Expand Up @@ -2123,9 +2123,27 @@ class Bescort

def enter_thief_guild
password = @settings.shard_thief_password
DRC.bput('knock', 'You knock on the door')
DRC.bput("say #{password}", 'You lean towards the doorway')
move 'go door'
case DRC.bput('knock', /^You wait, but nothing happens/, /^A moment later, a slit opens in the door at eye level/)
when /^A moment later, a slit opens in the door at eye level/
case DRC.bput("say #{password}", 'You lean towards the doorway', /^You say/)
when /^You say/
DRC.message("fix yer yaml ye grub! Yer password is wrong!")
DRC.message("Set the correct value for shard_thief_password")
stop_script("go2") if Script.running?("go2")
exit
end
end
case DRC.bput('go door', /From behind the doorway you hear a faint chuckle/, /Obvious exits/)
when /From behind the doorway you hear a faint chuckle/
case DRC.bput("say #{password}", 'You lean towards the doorway', /^You say/)
when /^You say/
DRC.message("fix yer yaml ye grub! Yer password is wrong!")
DRC.message("Set the correct value for shard_thief_password")
stop_script("go2") if Script.running?("go2")
exit
end
move 'go door'
end
end

def use_shard_gates
Expand Down