Currently used global flags and vars, please declare here when using new ones. Feel free to edit this post too! Flags 1 = Know Balance (After some late-game cataclysm). 2 = Apsel's wolf death flag 3 = Know Pomab 4 = Know Hildreth 5 = Easthaven racially insulted 6 = Accalia immigrant 7 = Know Erevain 8 = Spoke_Gnome 9 = Bard_Easthaven 10 = Know_Messenger (from Kuldahar) 11 - Halfling Aldwin 12 = Easthaven Help (endgame) 13 = Know Erevard 14 = Accalia (sees you as a) jerk 15 = Know Elisia 16 = Erevain (sees you as a) jerk 17 = Told of Ghereg's cure 18 = Killed Ghereg 19 = Read Ilmus' contract // Kuldahar 25 = Druid_blessing 26 = Ilmater_blessing 27 = Spoke_gnome 28 = Priest_gem 29 = Sword_gem 30 = Butcher of Kuldahar 31 = Know_Arundel (Nate, Urnst) 32 = Know_Ferg 33 = Know_Gus 34 = Mirek speaks of Orrick making things from pelts 35 = Know_Calliana 36 = Orrick_help 37 = Know_Orrick 38 = Know_Gerth //Easthaven Localised ambient sounds 40= Fishline 41= Frogs 42= Lake Laps 1 43= Lake Laps 2 44= Boat Laps 45= Pillar Laps 1 46= Pillar Laps 2 47= Pillar Laps 3 // Kuldahar 2 50 = Know_Oswald 51 = Know_Airship 52 = Know_Work (Oswald) 53 = has_met Arundel 54 = Aldwin (has met) 56 = room flag in Snowdrift Inn set 57 = Egenia_Talked 58 = DarkestHourRead (Seline) 59 = Kresseleck's story 60 = Arundel_Dying (LOCALS) 61 = Aldwin_threat 62 = Amelia_Whitcomb 63 = Lysan_stuff 64 = Aldwin_story 65 = finished with Girdle of Gond 66 = Conlan_Thanked 67 = Know_Tolben 68 = Heartstone_stolen 69 = Know_Poquelin 70 = Know_Egenia // Visited Locations 71 = Been to Vale of Shadows 72 = Been to TotFG 73 = Been to Dragon's Eye // death flags 100 = Xunomei (but see var 100) 101 = Weenog 102 = Lysan 103 = Everard 104 = Egenia
Vars 1 = beetles killed in Grisellas basement 2 = Join Hrothgar's Posse (0 = unknown, 2 = know but not committed (set as soon as you hear), 3 = joined) 3 = Caravan quest: 1 = found caravan, 2 = secured goods inside Orc Cave (killed Ogre to 'finish' Orc Cave), 4 = reported to Hrothgar 4 = GOOD (some sort of moral scorekeeping or reputation global? Referenced in OldJed if you suggest he kills Grisella) 5 = LAW (as above, OldJed amd Apsel) 6 = Easthavern Rumour 7 = Tempus donations 10 = Dwarf cash (0 = unknown, 1 = mentioned, 2 = paid off) 11 = Siren Quest (1 = has spoken to Elisia about her quest (Bard or know Jhonen), 2 = identified Jhonen to her, 3 = given him sword, 4 = told him you drove her off) 13 = Jered's Stone (1 when Accalia has told you about it, 2 when Everard has told the story, 3 if he says he will not speak of it again) 15 = END PORTAL, 1 when Belhidet tries to open it, 2 when Everard does his thing to close it. // Kudlahar 25 = Easthaven rumour 26 = Kuldahar rumour 27 = Vale of Shadows rumour 28 = Yeti deathcount (1 when you speak to Mirek, 3 when you kill both yetis in Kuldahar, 4 after you have spoken to him about it) 29 = Ferg_pissed 30 = Arundel_Belhifet 31 = Know_Lysan (1 when you meet her in the Inn,m 2 when you meet her in the Cave) 32 = CDOswaldTimer (Girdle of Gond and tools for Oswald - 1 when he has mentioned the tools, 2 if you sell it to him, 3 if you refuse him the belt, 4 if you lend him the belt but demand collateral, 5 if you just give him the belt, 6 & 7 if he mentions upgrading it (based on 4 & 5) 8 when all finished upgrading, 9 when he has given it back) 34 = Know_Conlan (0 = noone mentioned him, 1 = someone mentioned him, 2 = met him and chatted) 35 = Kresselick_Quest_Gem (0 if unknown, 3 if done with, 1 if refused) 36 = Aldwin_Eidan (usually 0, 1 if you convince him to turn himself in, 2 if you blackmail him to give you a room) 37 = Orrick_Quest (cf quest[17], 1 when you have accepted quest, goes t0 2 when you have been to the Severed Hand ("Global_AR5000 visited"), 3 when you mention it to Orrick, 4 when you have finished it) 38 = CDOrrickShield,"MYAREA" (0 when nothing happening, 1 when he has noticed your shield and spoken of it, 2 when he has finished buffing it (for Timestamp script), 3 when he hands it over) 39 = CDOrrickWuff, "MYAREA" (o when nothing happening, 1 when he agrees to make your cloak and takes everything, 2 when it is ready, 3 when all done) 40 = CDOrrickYeti, "MYAREA" (0 when nothing happening, 1 when he agrees to make your hide armour and takes everything, 2 when it is ready, 3 when all done) 41 = CDStoutUpgrade (0 when nothing happening, 1 when he tells you about upgrading the hammer, 2 when he has finished and hands it over (timer), 3 when all done) 42 = CDScales (0 when nothing happening, 1 when he tells you about making the armour, 2 when he has finished and hands it over (timer), 3 when all done) 43 = SPRITE_IS_DEADTalonite (some sort of Talonite death count, seen references to GT 9) 51 = Timestamp for resting movies 100 = SPRITE_IS_DEADYXUNOMEI (goes up to at least 4 - Gerth etc. Using 1 for when the monsters attack - "where did all those creatures come from???" S0 have to go to at least 2 to stopthat line of chatter)