% Default Town Scripts %
name <Town>
name_I18N <町>
use <if= StatVal STAT_MetaVisibility 0 ifNoObjections EWM StatVal 4 ifFactionEnemy SceneFaction StatVal 4 else GoEnter Goto GoFight>
GoFight <ifG SkRoll 11 10 else GoNoSee ifYesNo 2 3 4 else GoStartCombat Reputation 3 -d3 ifG SkRoll 25 10 else GoStealthFail Print 5 Exit StatVal 4>
GoNoSee <Alert 1 Goto GoStartCombat>
GoStealthFail <Print 6 Goto GoStartCombat>
GoStartCombat <SavePos Dynamic 2 Threat PCRep 6 120 .nu1 .nu2 PassVar 1 StatVal 4 PassVar 2 SceneID>
.nu1 <if= T1 0 Return>
.nu2 <if= T2 0 if# V1 0 Exit V1 SeekGate V2 V= 1 0>
GoEnter <Exit StatVal 4>
roguechar <*>
SDL_Sprite <meta_terrain.png>
% Msg1 <While entering \SCENE StatVal 4 , you are attacked by the town's defenders!>
Msg1 < \SCENE StatVal 4 へ入ろうとすると、街の警備隊から攻撃を受けた！>
% Msg2 <While entering \SCENE StatVal 4 , you are confronted by the town's defenders.>
Msg2 < \SCENE StatVal 4 へ入ろうとしたが、街の警備隊が立ちふさがった。>
% Msg3 <Try to sneak around them.>
Msg3 <なんとかさけて通ろうとする。>
% Msg4 <Attack!>
Msg4 <じゃまだ！>
% Msg5 <You evade the guards and slip into town.>
Msg5 <警備隊をすり抜けて街へ入りこんだ。>
% Msg6 <You fail to evade the guards, and will now have to defend yourself...>
Msg6 <警備隊に見つかってしまった。身を守らねば>
