<!--quoteo--><div class='quotetop'>QUOTE</div><div class='quotemain'><!--quotec-->once I attacked a French ship and hoisted the pirate flag. Now, when talking to people in a town I trigger a "Oh, I know you, you are that pirate..." response and I get attacked. By everybody. And I can't survive an entire town attacking me.<!--QuoteEnd--></div><!--QuoteEEnd-->Looking at the code, I think you're supposed to be recognised only once. So if you survive to one alert (run and try to hide yourself, in a house for exemple), you shouldn't be bothered with that - until you re-attack a ship hoisting the Black flag, that is!
in Enc_Walker.d
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->// ccc Dec 05 You are recognized after raising pirateflag
if(CheckAttribute(Pchar,"orgnation") && Pchar.orgnation == "traitor" && makeint(GetLocationNationFromID(NPchar.location))!=3) // checks if you once hoisted Jolly Roger
{
DeleteAttribute(Pchar,"orgnation"); // so that recognizing happens only once
d.Text = DLG_TEXT[294];
Link.l1 = RandSwear() + DLG_TEXT[295];
Link.l1.go = "alarm";
}
else{[...]}// ccc hoist flag end<!--c2--></div><!--ec2-->
<!--quoteo--><div class='quotetop'>QUOTE</div><div class='quotemain'><!--quotec-->That reaction is supposed to only occur at a pretty low chance. Not always.<!--QuoteEnd--></div><!--QuoteEEnd--> For the people using this dialog, you have one chance on 14. That's not very low, especialy considering theses people are many and quite often talk to you without you asking. And I think this event might be triggered in other dialogs as well (random sailors?).
Anyway, I really like this. That's fun! When it doesn't happen in a pirate town, of course - in that case it just sounds stupid.