Test Perception. bandits=yes, fail perception --> "refugees_ambushed" bandits=yes, make perception --> "refugees_ambush_warning" ("refugees_ambush_warning",0,"You encounter a small group of refugees. Men and women trudge along with all their clothes and household goods on their backs. Some are staggering from sickness, a few are on litters. Even the children struggle along wearily. As you approach, $ChosenOneName suddenly gets a funny feeling about this group. $He looks about carefully, then whispers to the rest of you. 'I think this is an ambush.' You decide to...","none",[CODE],[ ("refugees_ambush_warning_ignore",[],"...ignore $his warning and continue forward.",[(jump_to_menu, "mnu_refugees_warning_ambushed")]), ("refugees_ambush_avoid",[],"...heed $his warning and avoid them.",[CODE test Woodwise per character. all succeed (jump_to_menu,"mnu_refugees_ambush_avoided") one fail (jump_to_menu,"mnu_refugees_ambush_partial_evade") multiple fail (jump_to_menu,"mnu_refugees_ambush_avoid_multifail") all fail (jump_to_menu,"mnu_"refugees_ambushed")]), ("refugees_ambush_warning_pray",[CODE],"...pray to a saint for guidance.",[CODE ask which saint and attempt prayer. succeed (jump_to_menu, "mnu_refugees_warning_prayer_succ") fail (jump_to_menu, "mnu_refugees_warning_ambushed")]), ]), ("refugees_ambushed",0,"You encounter a small group of refugees. Men and women trudge along with all their clothes and household goods on their backs. Some are staggering from sickness, a few are on litters. Even the children struggle along wearily. Suddenly, ragged bandits spring out from all sides. Many of the 'refugees' throw down their burdens and draw hidden weapons, while the rest scatter for cover. Trapped, you decide to...","none",[CODE],[ ("refugees_ambushed_bargain",[],"...bargain with them.",[(CODE test Persuasion. succeed (jump_to_menu,"mnu_refugees_ambushed_bandits_persuaded" fail (jump_to_menu,"mnu_refugees_ambushed_bandits_angry")]), ("refugees_ambushed_pray",[CODE],"...pray that a saint can stop their attack.",[(CODE ask which saint and attempt prayer. success (jump_to_menu,"mnu_refugees_ambushed_prayer_worked" fail (jump_to_menu,"mnu_refugees_ambushed_prayer_failed")]), ("refugees_ambushed_fight",[],"...fight.",[(CODEjump to combat. succeed (jump_to_menu,"mnu_refugees_ambushed_won" fail (jump_to_menu,"mnu_refugees_ambushed_lost")]), ("refugees_ambushed_surrender",[],"...surrender.",[(jump_to_menu,"mnu_refugees_ambushed_surrendered")]), ]), ("refugees_warning_ambushed",0,"Suddenly, ragged bandits spring out from all sides. Many of the 'refugees' throw down their burdens and draw hidden weapons, while the rest scatter for cover. Trapped, you decide to...","none",[CODE],[ ("refugees_ambushed_bargain",[],"...bargain with them.",[(CODE test Persuasion. succeed (jump_to_menu,"mnu_refugees_ambushed_bandits_persuaded" fail (jump_to_menu,"mnu_refugees_ambushed_bandits_angry")]), ("refugees_ambushed_pray",[CODE],"...pray that a saint can stop their attack.",[(CODE ask which saint and attempt prayer. success (jump_to_menu,"mnu_refugees_ambushed_prayer_worked" fail (jump_to_menu,"mnu_refugees_ambushed_prayer_failed")]), ("refugees_ambushed_fight",[],"...fight.",[(CODEjump to combat. succeed (jump_to_menu,"mnu_refugees_ambushed_won" fail (jump_to_menu,"mnu_refugees_ambushed_lost")]), ("refugees_ambushed_bargained",0,"The bandits propose that they take all your money and weapons, in exchange for leaving the rest of your possessions untouched and yourselves unharmed. You...","none",[CODE],[ ("refugees_ambushed_bargained_refuse",[],"...refuse and fight.",[(CODE jump to combat. succeed (jump_to_menu,"mnu_refugees_ambushed_won" fail (jump_to_menu,"mnu_refugees_ambushed_lost")]), ("refugees_ambushed_bargain_accept",[],"...agree.",[(jump_to_menu",mnu_refugees_ambushed_surrendered")]), ]), ("refugees_ambushed_prayer_worked"),0,"As $ChosenOneName finishes $his prayer, a sense of peace pervades the area. The bandits lower their weapons and withdraw, looking slightly embarassed by their actions. You nod and go onward, unharmed and in peace.","none",[],[("leave",[],"(Travel onward.")",[(call_script,"script_end_encounter")])]), ("refugees_ambushed_won",0,"With the attack destroyed, you can journey onward in peace, satisfied that there is one less evil in the world.","none",[],[("leave",[],"(Travel onward.")",[(call_script,"script_end_encounter")])]), ("refugees_ambushed_surrendered",0,"You throw down your weapons and surrender. The bandits roughly and efficiently strip you of arms, armor, and all valuables. 'Let's sword 'em now,' says one particularly vicious woman. The leader considers the suggestion, then shrugs. 'Too much trouble. Let them go!' Soon you are travelling alone again, but now you are penniless, defenseless, and almost naked.","none",[],[("leave",[],"(Travel onward.")",[(call_script,"script_end_encounter")])]), ("refugees_ambushed_lost",0,"You awaken in a muddy gully, stripped of arms, armor, and all obvious valuables. You bind up the worst wounds with scraps of cloth. "Well, now what?" asked $ChosenOneName. You all consider the possibilities carefully.","none",[],[("leave",[],"(Travel onward.")",[(call_script,"script_end_encounter")])]), ("refugees_ambushed_avoided",0,"You race through brush and gullies, and finally elude the pursuing bandits. You hide until dusk, then move a bit further and hide for the night.","none",[],[("leave",[],"(Travel onward.")",[(call_script,"script_end_encounter")])]), ("refugees_warning_prayer_succ",0,"The prayer of $ChosenOneName is quickly answered. $He sees into the hearts of the people, and discovers they are animals ... bandits ... predators who seek to lure in their prey with false illness. 'It's an ambush,' $he explains to the rest of you. You decide to...","none",[CODE],[ ("refugees_warning_prayer_ignored",[],"...ignore $his warning and continue forward.",[(jump_to_menu,"mnu_refugees_warning_ambushed")]), ("refugees_warning_prayer_listened",[],"...heed $his warning and avoid them.",[("jump_to_menu,"mnu_refugees_ambushed_avoided")]), ("refugees_warning_pray_again",[CODE],"...pray to a saint for guidance.",[(CODE ask which saint and attempt prayer. success (jump_to_menu,"mnu_refugees_ambushed_prayer_worked" fail (jump_to_menu,"mnu_refugees_ambushed_prayer_failed")]), ]), ("refugees_ambushed_bandits_angry",0,"The bandits snarl at your poor attempts to bargain. 'Blood and gold, now!' barks their leader. The rabble surge forward, weapons swinging.",[(CODEjump to combat. succeed (jump_to_menu,"mnu_refugees_ambushed_won" fail (jump_to_menu,"mnu_refugees_ambushed_lost")]), ("refugees_ambushed_prayer_failed",0,"Alas, the prayers of $ChosenOneName have no effect. The bandits snarl and surge forward, weapons swinging.",[(CODEjump to combat. succeed (jump_to_menu,"mnu_refugees_ambushed_won" fail (jump_to_menu,"mnu_refugees_ambushed_lost")]), ("refugees_ambush_partial_evade",0,"You race through brush and gullies, and finally elude the pursuing bandits. You hide until dusk, then move a bit further and hide for the night. During the night, $ChosenOneName rejoins the party. Stripped of arms, armor and valuables, $he was left for dead by the bandits.","none",[],[("leave",[],"(Travel onward.")",[(call_script,"script_end_encounter")])]), ("refugees_ambush_multifail",0,"You race through brush and gullies, and finally elude the pursuing bandits. You hide until dusk, then move a bit further and hide for the night. During the night the rest of your party staggers into your camp. Stripped of arms, armor and valuables, they were left for dead by the bandits.","none",[],[("leave",[],"(Travel onward.")",[(call_script,"script_end_encounter")])]),