From b3b12e090de7cc958a0a8e896fad3db478698aea Mon Sep 17 00:00:00 2001 From: Gitjas Date: Sun, 21 Nov 2021 11:52:35 +0100 Subject: [PATCH] update to v13 Beta - Brandock should learn his ability to scribe scolls. - Brandock's special abilities should have descriptions. - Brandock's special ability "Shapeshift: Half-Ogre" should be usable in all instances (wild magic zone etc.). - Reworked Brandock's scribe scroll ability (the according dialogue and scripts). Unified for BG1 and BGII, fixed bugs, increased costs for scrolls. -New component: Crossmod with aTweaks "Allow Mages to scribe memorized spells onto scrolls" - PID option about Elvenhair after Candlekeep should not be available if book restoration quest is already active. - Elvenhair should initiate dialogue if clicking on his table in all relevant cases. - More interjections in Korlasz Tomb. - Minor internal restructuring with regard to how Korlasz Tomb is handled. - Improved compatibility and crossmod with EndlessBG1 and Transitions mod. --- c#brandock/c#brandock.tp2 | 129 +++++++- c#brandock/cre/c#brhaog.cre | Bin 1136 -> 1116 bytes .../dialogue/brandock_bookrestore_bg2.d | 4 +- c#brandock/dialogue/brandock_scrollscribing.d | 278 +++++++++--------- .../dialogue/brandock_scrollscribing_bg1.d | 6 +- .../dialogue/brandock_scrollscribing_bg2.d | 181 ++++++------ c#brandock/dialogue/c#brandj_pid_bg1.d | 21 +- c#brandock/readme.brandock.english.html | 13 +- c#brandock/readme.brandock.german.html | 12 +- c#brandock/scripts/c#br03.baf | 1 - c#brandock/scripts/c#brando_baldur_scroll.baf | 4 +- c#brandock/scripts/c#brando_bg1_lorepath.baf | 15 + .../scripts/c#brando_bg1_scrollscribing.baf | 31 ++ c#brandock/scripts/c#brando_bg2.baf | 1 - .../scripts/c#brando_scrollscribing.baf | 27 ++ c#brandock/scripts/c#brando_sod.baf | 1 - c#brandock/scripts/c#brando_sod_bd0010.baf | 1 - c#brandock/scripts/c#brando_sod_bd0101.baf | 1 - c#brandock/scripts/c#bredsk.baf | 21 +- c#brandock/spells/c#brscra.spl | Bin 202 -> 0 bytes c#brandock/spells/c#brscrl.spl | Bin 202 -> 202 bytes c#brandock/spells/c#brshnf.spl | Bin 538 -> 538 bytes c#brandock/spells/c#brshog.spl | Bin 490 -> 490 bytes c#brandock/tra/english/C#BRANDJ_PID.TRA | 2 +- c#brandock/tra/english/C#BRAND_DIALOGUES.TRA | 13 +- c#brandock/tra/english/GAME.TRA | 33 ++- c#brandock/tra/english/JOURNAL.TRA | 21 +- c#brandock/tra/english/setup.tra | 7 +- c#brandock/tra/german/C#BRANDJ_PID.TRA | 2 +- c#brandock/tra/german/C#BRAND_DIALOGUES.TRA | 10 +- c#brandock/tra/german/GAME.TRA | 34 ++- c#brandock/tra/german/JOURNAL.TRA | 19 +- c#brandock/tra/german/setup.tra | 7 +- 33 files changed, 598 insertions(+), 297 deletions(-) create mode 100644 c#brandock/scripts/c#brando_bg1_scrollscribing.baf delete mode 100644 c#brandock/spells/c#brscra.spl diff --git a/c#brandock/c#brandock.tp2 b/c#brandock/c#brandock.tp2 index 4d35352..9cca641 100644 --- a/c#brandock/c#brandock.tp2 +++ b/c#brandock/c#brandock.tp2 @@ -2,7 +2,7 @@ BACKUP ~C#Brandock/backup~ AUTHOR ~Please post at G3 or Kerzenburgforum, refer to readme.~ -VERSION ~Beta_13pre~ +VERSION ~Beta_13~ README ~C#Brandock/readme.brandock.%LANGUAGE%.html~ ~readme.brandock.english.html~ @@ -124,8 +124,6 @@ END OUTER_SPRINT ~eet_var~ ~~ - OUTER_SPRINT ~BG1_BEFORE_TRANSITION~ ~GlobalLT("ENDOFBG1","GLOBAL",2)~ - OUTER_SPRINT ~BG1_transition_area~ ~"c#br03"~ OUTER_SPRINT ~BG1_transition_coord~ ~[390.250]~ OUTER_SPRINT ~BG1_transition_face~ ~0~ @@ -134,6 +132,7 @@ END OUTER_SPRINT ~BG1_transition_dlg~ ~c#brand2~ OUTER_SPRINT ~IT_IS_BGII~ ~Global("ENDOFBG1","GLOBAL",2)~ + OUTER_SPRINT ~BG1_BEFORE_TRANSITION~ ~GlobalLT("ENDOFBG1","GLOBAL",2)~ OUTER_SPRINT ~OHDradeelInfo~ ~C#Bandock_DradeelInfo~ OUTER_SPRINT ~CELLDOOR~ ~c#brcelldoor~ @@ -448,14 +447,19 @@ SAY NAME2 @2 /* ~(cough)~ */ /* scroll scribing ability */ COPY ~C#Brandock/spells/c#brscrl.spl~ ~override/c#brscrl.spl~ //should have correct name -COPY ~C#Brandock/spells/c#brscra.spl~ ~override/c#brscra.spl~ +SAY UNIDENTIFIED_DESC @125 +SAY DESC @125 /* Quest: Brandock's shapeshifting: Half-Oger */ /* innate ability: polymorph into self */ COPY ~C#Brandock/spells/c#brshnf.spl~ ~override/c#brshnf.spl~ +SAY UNIDENTIFIED_DESC @126 +SAY DESC @126 /* innate ability: Shapeshift Half-Ogre */ COPY ~C#Brandock/spells/c#brshog.spl~ ~override/c#brshog.spl~ SAY NAME1 ~Shapeshift Half-Ogre~ +SAY UNIDENTIFIED_DESC @127 +SAY DESC @127 /* grant the innate ability "c#brshog" -> shapeshift Half-ogre */ COPY ~C#Brandock/spells/c#brsh01.spl~ ~override/c#brsh01.spl~ @@ -691,6 +695,7 @@ ACTION_IF GAME_IS ~bgee bgt eet~ THEN BEGIN EXTEND_BOTTOM ~c#brando.bcs~ ~C#Brandock/scripts/c#brando_bg1_cursedscrolls.baf~ EVALUATE_BUFFER /* script addition to trigger Brandock's scroll scribing dialogue */ EXTEND_BOTTOM ~c#brando.bcs~ ~C#Brandock/scripts/c#brando_scrollscribing.baf~ EVALUATE_BUFFER + EXTEND_BOTTOM ~c#brando.bcs~ ~C#Brandock/scripts/c#brando_bg1_scrollscribing.baf~ EVALUATE_BUFFER /* Brandock's Half-Ogre quest */ EXTEND_TOP ~c#brando.bcs~ ~C#Brandock/scripts/c#brando_bg1_shapeshifting.baf~ EVALUATE_BUFFER EXTEND_TOP ~c#brando.bcs~ ~C#Brandock/scripts/c#brando_shapeshifting.baf~ EVALUATE_BUFFER @@ -3362,3 +3367,119 @@ COPY ~c#brandock/2da/c#brbxxx.2da~ ~c#brandock/install~ END END BUT_ONLY + + +/////////////////////////////////////////////////////////////// +/* Crossmod with aTweaks "Allow Mages to scribe memorized spells onto scrolls" */ +////////////////////////////////////////////////////////////// + +/* First option: deactivate aTweak's scribe scroll ability for Brandock */ +BEGIN @55582 /* ~Deactivate aTweak's scribe scroll ability for Brandock~ */ DESIGNATED 40 +LABEL BrandockTheMage-aTweaks-Crossmod-Option1 + SUBCOMPONENT @55584 /* Crossmod with aTweaks "Allow Mages to scribe memorized spells onto scrolls" */ +REQUIRE_COMPONENT ~c#brandock.tp2~ ~0~ @55543 +REQUIRE_PREDICATE (MOD_IS_INSTALLED ~setup-atweaks.tp2~ ~115~) OR (MOD_IS_INSTALLED ~setup-atweaks.tp2~ ~117~) @55585 /* aTweaks "Allow Mages to scribe memorized spells onto scrolls" needs to be installed. */ + +<<<<<<<< .../c#brand_atweaks.baf +/* remove the extra ability button from aTweaks */ +/* needs to run every day anew or any time Brandock gets the ability assigned via the engine (e.g. upon levelling up), so no variable */ + +IF + OR(2) InParty(Myself) Global("C#BrandockJoined","GLOBAL",2) + Class(Myself,MAGE_ALL) +// LevelGT(Myself,8) + HaveSpellRES("fl#MSCRL") + CombatCounter(0) + !See([ENEMY]) +THEN + RESPONSE #100 + RemoveSpellRES("fl#MSCRL") +END +>>>>>>>> +ACTION_IF GAME_IS ~bgee eet bgt~ BEGIN + EXTEND_BOTTOM ~c#brando.bcs~ ~.../c#brand_atweaks.baf~ EVALUATE_BUFFER +END +ACTION_IF GAME_INCLUDES ~sod~ BEGIN + EXTEND_BOTTOM ~c#brands.bcs~ ~.../c#brand_atweaks.baf~ EVALUATE_BUFFER +END +ACTION_IF GAME_IS ~tob bg2ee eet~ BEGIN + EXTEND_BOTTOM ~c#brand2.bcs~ ~.../c#brand_atweaks.baf~ EVALUATE_BUFFER +END + + +/* Second option: integrate aTweak's scribe scroll ability into Brandock's original one */ +BEGIN @55583 /* ~Integrate aTweak's scribe scroll ability into Brandock's original one~ */ DESIGNATED 41 +LABEL BrandockTheMage-aTweaks-Crossmod-Option2 + SUBCOMPONENT @55584 /* Crossmod with aTweaks "Allow Mages to scribe memorized spells onto scrolls" */ +REQUIRE_COMPONENT ~c#brandock.tp2~ ~0~ @55543 +REQUIRE_PREDICATE (MOD_IS_INSTALLED ~setup-atweaks.tp2~ ~115~) OR (MOD_IS_INSTALLED ~setup-atweaks.tp2~ ~117~) @55585 /* aTweaks "Allow Mages to scribe memorized spells onto scrolls" needs to be installed. */ + +<<<<<<<< .../c#brand_atweaks.baf +/* remove the extra ability button from aTweaks */ +/* needs to run every day anew or any time Brandock gets the ability assigned via the engine (e.g. upon levelling up), so no variable */ + +IF + OR(2) InParty(Myself) Global("C#BrandockJoined","GLOBAL",2) + Class(Myself,MAGE_ALL) +// LevelGT(Myself,8) + HaveSpellRES("fl#MSCRL") + CombatCounter(0) + !See([ENEMY]) +THEN + RESPONSE #100 + RemoveSpellRES("fl#MSCRL") + DisplayStringHead(Myself,~Testline: removed Scribe Scroll Ability from aTweaks.~) + SetGlobal("C#Br_Scrollscribing_aTweaks","GLOBAL",1) +END + +/* Close aTweaks variable so it's not true for other NPCs */ +IF + OR(2) InParty(Myself) Global("C#BrandockJoined","GLOBAL",2) + GlobalTimerExpired("C#Br_ScrScrTimer_aTweaks","GLOBAL") + Global("C#Br_Scrollscribing_aTweaks","GLOBAL",2) + Global("c#brscrl","GLOBAL",3) +THEN + RESPONSE #100 + SetGlobal("C#Br_Scrollscribing_aTweaks","GLOBAL",1) +END +>>>>>>>> +ACTION_IF GAME_IS ~bgee eet bgt~ BEGIN + EXTEND_BOTTOM ~c#brando.bcs~ ~.../c#brand_atweaks.baf~ EVALUATE_BUFFER +END +ACTION_IF GAME_INCLUDES ~sod~ BEGIN + EXTEND_BOTTOM ~c#brands.bcs~ ~.../c#brand_atweaks.baf~ EVALUATE_BUFFER +END +ACTION_IF GAME_IS ~tob bg2ee eet~ BEGIN + EXTEND_BOTTOM ~c#brand2.bcs~ ~.../c#brand_atweaks.baf~ EVALUATE_BUFFER +END + +<<<<<<<< .../inlined/c#brand_atweaks.d + +ADD_STATE_TRIGGER fl#SCRL 0 ~Global("C#Br_Scrollscribing_aTweaks","GLOBAL",0)~ + +ADD_STATE_TRIGGER fl#SCRL 1 ~Global("C#Br_Scrollscribing_aTweaks","GLOBAL",0)~ + +ADD_STATE_TRIGGER fl#SCRL 2 ~Global("C#Br_Scrollscribing_aTweaks","GLOBAL",2)~ + +ADD_TRANS_TRIGGER fl#SCRL 2 ~Global("C#Br_Scrollscribing_aTweaks","GLOBAL",0)~ DO 9 + +EXTEND_BOTTOM fl#SCRL 2 ++ ~Global("C#Br_Scrollscribing_aTweaks","GLOBAL",2)~ + @3106 DO ~SetGlobal("C#Br_Scrollscribing_aTweaks","GLOBAL",1) +SetGlobal("c#brscrl","GLOBAL",1) +SetGlobalTimer("C#Br_ScrScrTimer_aTweaks","GLOBAL",5) +StartDialogNoSet("C#Brandock")~ EXIT +END + +EXTEND_BOTTOM c#brandj %scribe_scoll_02% #2 ++ ~Global("C#Br_Scrollscribing_aTweaks","GLOBAL",1)~ + @3107 DO ~SetGlobal("c#brscrl","GLOBAL",3) SetGlobal("C#Br_Scrollscribing_aTweaks","GLOBAL",2) +ActionOverride("C#Brandock",StartDialogOverride("fl#SCRL","C#Brandock"))~ EXIT +END +>>>>>>>> + +// Get state for c#brandj %scribe_scoll_02% +/* ~What do you want me to scribe, ?~ +*/ +OUTER_SET scribe_scoll_02 = STATE_WHICH_SAYS 3023 IN ~c#brandock/tra/autotra/%s/C#BRAND_DIALOGUES.tra~ FROM ~c#brandj~ + +COMPILE EVALUATE_BUFFER ~.../inlined/c#brand_atweaks.d~ USING ~c#brandock/tra/autotra/%LANGUAGE%/C#BRAND_DIALOGUES.tra~ + diff --git a/c#brandock/cre/c#brhaog.cre b/c#brandock/cre/c#brhaog.cre index d01fbfad37dd588f93c69366540d2b8cdd81cbf2..0010395517f0076a4a68d15806ac296a10907f6d 100644 GIT binary patch delta 40 vcmeysaff5W4kk_>76yhV%nS@nn-4N6Gfw`&tTAzs5ECQA#Elj}83qOb^iK+3 delta 85 zcmcb^@quH*4kk_o76yhV%nS_7n-4N6Gja#{xr79{8W=M$FigJ9Y^cV_@E;8@VTdp= MOx&mjG=_lz03K>9OaK4? diff --git a/c#brandock/dialogue/brandock_bookrestore_bg2.d b/c#brandock/dialogue/brandock_bookrestore_bg2.d index 764dbfd..cf2b608 100644 --- a/c#brandock/dialogue/brandock_bookrestore_bg2.d +++ b/c#brandock/dialogue/brandock_bookrestore_bg2.d @@ -319,7 +319,7 @@ APPEND c#brandj /* ToB - De Simplex Magicae is finally fully restored */ IF WEIGHT #-1 -~Global("C#Br_Scrollscribing","GLOBAL",2) +~Global("c#brscrl","GLOBAL",2) Global("C#Br_WriteBook","LOCALS",10)~ THEN scribe_book_last SAY @1964 IF ~~ THEN + bookrestore_completed @@ -357,7 +357,7 @@ SAY @1951 /* ~[Brandock]The De Simplex Magicae... I was its owner for so long - = @1962 /* ~It's a very useful book, though. And it's *complete*! Did I mention that the De Simplex Magicae is *complete* again?~ */ IF ~~ THEN DO ~EraseJournalEntry(@10080) RealSetGlobalTimer("C#BrandockDialogTimer","GLOBAL",C#BRANDOCK_TIMERSHORT) -SetGlobal("C#Br_Scrollscribing","GLOBAL",3) +SetGlobal("c#brscrl","GLOBAL",3) SetGlobal("C#Br_WriteBook","LOCALS",11) ActionOverride("C#Brhelp",DestroySelf())~ SOLVED_JOURNAL @10081 EXIT END diff --git a/c#brandock/dialogue/brandock_scrollscribing.d b/c#brandock/dialogue/brandock_scrollscribing.d index ccfcf5a..5090a7d 100644 --- a/c#brandock/dialogue/brandock_scrollscribing.d +++ b/c#brandock/dialogue/brandock_scrollscribing.d @@ -8,7 +8,7 @@ APPEND c#brandj /* General "I think I can do this now: -level 9 or higher -after Elvenhair and Brandock cast preservation spell onto Brandock's book */ -IF ~Global("C#Br_Scrollscribing","GLOBAL",1) +IF ~Global("c#brscrl","GLOBAL",1) Global("C#Br_OnceCursedScroll","LOCALS",0) LevelGT("C#Brandock",8) GlobalGT("C#Br_BookRestore","GLOBAL",5) //he witnessed the preservation spell to his book @@ -21,7 +21,7 @@ GlobalGT("C#Br_HasScrollSCRL14","LOCALS",0) GlobalGT("C#Br_HasScrollSCRL16","LOCALS",0) GlobalGT("C#Br_HasScrollSCRL17","LOCALS",0) GlobalGT("C#Br_HasScrollSCRL18","LOCALS",0)~ THEN scribe_cursed_scoll_00 -SAY @3002 /* ~I think I have an idea what to do with cursed scrols - rewrite the magic inside to something useful. Let me know if you want me to try this.~ */ +SAY @3002 /* ~I think I have an idea what to do with cursed scrolls - rewrite the magic inside to something useful. Let me know if you want me to try this.~ */ IF ~~ THEN DO ~SetGlobal("C#Br_OnceCursedScroll","LOCALS",1)~ + scribe_scoll_02 END @@ -198,41 +198,41 @@ SAY @3018 IF ~~ THEN + scribe_scoll_02 END -IF ~Global("C#Br_Scrollscribing","GLOBAL",2) +IF ~Global("c#brscrl","GLOBAL",2) Global("C#Br_ScrollComment","LOCALS",0) !Global("C#Br_ScribeBookComment","LOCALS",1) !Global("C#Br_WriteDurableScrolls","LOCALS",3) !Global("C#Br_WriteBook","LOCALS",7)~ THEN scribe_scoll SAY @3019 -IF ~~ THEN DO ~SetGlobal("C#Br_Scrollscribing","GLOBAL",3) +IF ~~ THEN DO ~SetGlobal("c#brscrl","GLOBAL",3) SetGlobal("C#Br_ScrollComment","LOCALS",1)~ EXIT -IF ~InMyArea("C#Brhelp")~ THEN DO ~SetGlobal("C#Br_Scrollscribing","GLOBAL",3) +IF ~InMyArea("C#Brhelp")~ THEN DO ~SetGlobal("c#brscrl","GLOBAL",3) SetGlobal("C#Br_ScrollComment","LOCALS",1) ActionOverride("C#Brhelp",DestroySelf())~ EXIT END -IF ~Global("C#Br_Scrollscribing","GLOBAL",2) +IF ~Global("c#brscrl","GLOBAL",2) !Global("C#Br_ScribeBookComment","LOCALS",1) !Global("C#Br_WriteDurableScrolls","LOCALS",3) !Global("C#Br_WriteBook","LOCALS",7)~ THEN scribe_scoll_01 SAY @3020 -IF ~~ THEN DO ~SetGlobal("C#Br_Scrollscribing","GLOBAL",3)~ EXIT -IF ~InMyArea("C#Brhelp")~ THEN DO ~SetGlobal("C#Br_Scrollscribing","GLOBAL",3) +IF ~~ THEN DO ~SetGlobal("c#brscrl","GLOBAL",3)~ EXIT +IF ~InMyArea("C#Brhelp")~ THEN DO ~SetGlobal("c#brscrl","GLOBAL",3) ActionOverride("C#Brhelp",DestroySelf())~ EXIT END -IF ~Global("C#Br_Scrollscribing","GLOBAL",1) Global("C#Br_FirstTimeScribing","MYAREA",0)~ THEN scribe_scoll_a +IF ~Global("c#brscrl","GLOBAL",1) Global("C#Br_FirstTimeScribing","GLOBAL",0)~ THEN scribe_scoll_a SAY @3021 -IF ~~ THEN DO ~SetGlobal("C#Br_FirstTimeScribing","MYAREA",1)~ + scribe_scoll_02 +IF ~~ THEN DO ~SetGlobal("C#Br_FirstTimeScribing","GLOBAL",1)~ + scribe_scoll_02 END -/* generic BGII starting line */ -IF ~Global("c#brscrl","GLOBAL",1)~ THEN scribe_scoll_01_b +/* first BGII starting line */ +IF ~%IT_IS_BGII% Global("c#brscrl","GLOBAL",1) Global("C#Br_FirstTimeScribing","GLOBAL",1)~ THEN scribe_scoll_01_b SAY @3022 -IF ~~ THEN DO ~SetGlobal("c#brscrl","GLOBAL",2)~ + scribe_scoll_02 +IF ~~ THEN DO ~SetGlobal("C#Br_FirstTimeScribing","GLOBAL",2)~ + scribe_scoll_02 END -IF ~Global("C#Br_Scrollscribing","GLOBAL",1)~ THEN scribe_scoll_02 +IF ~Global("c#brscrl","GLOBAL",1)~ THEN scribe_scoll_02 SAY @3023 /* cursed scrolls */ @@ -318,185 +318,184 @@ SetGlobal("C#Br_HasScrollSCRL18","LOCALS",0) SetGlobal("C#Br_WriteScrollSCRL5Q","LOCALS",1)~ + scribe_scoll_SCRL18_02 /* spell level 1 */ -++ @3037 DO ~GiveItemCreate("SCRL75",Player1,1,0,0) SetGlobal("C#Br_Scrollscribing","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT -++ @3038 DO ~GiveItemCreate("SCRL77",Player1,1,0,0) SetGlobal("C#Br_Scrollscribing","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT -++ @3039 DO ~GiveItemCreate("SCRL81",Player1,1,0,0) SetGlobal("C#Br_Scrollscribing","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT -++ @3040 DO ~GiveItemCreate("SCRL5U",Player1,1,0,0) SetGlobal("C#Br_Scrollscribing","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT -++ @3041 DO ~GiveItemCreate("SCRL73",Player1,1,0,0) SetGlobal("C#Br_Scrollscribing","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT ++ ~PartyGoldGT(49)~ + @3037 DO ~GiveItemCreate("SCRL75",Player1,1,0,0) DestroyGold(50) SetGlobal("c#brscrl","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT ++ ~PartyGoldGT(49)~ + @3038 DO ~GiveItemCreate("SCRL77",Player1,1,0,0) DestroyGold(50) SetGlobal("c#brscrl","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT ++ ~PartyGoldGT(49)~ + @3039 DO ~GiveItemCreate("SCRL81",Player1,1,0,0) DestroyGold(50) SetGlobal("c#brscrl","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT ++ ~PartyGoldGT(49)~ + @3040 DO ~GiveItemCreate("SCRL5U",Player1,1,0,0) DestroyGold(50) SetGlobal("c#brscrl","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT ++ ~PartyGoldGT(49)~ + @3041 DO ~GiveItemCreate("SCRL73",Player1,1,0,0) DestroyGold(50) SetGlobal("c#brscrl","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT /* spell level 2: wizard level 3 */ + ~PartyGoldGT(99) Global("C#Br_WriteScrollSCRLAI","LOCALS",1)~ + @3042 DO ~GiveItemCreate("SCRLAI",Player1,1,0,0) -DestroyGold(100) SetGlobal("C#Br_Scrollscribing","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT +DestroyGold(100) SetGlobal("c#brscrl","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT + ~PartyGoldGT(99) Global("C#Br_WriteScrollSCRL89","LOCALS",1)~ + @3043 DO ~GiveItemCreate("SCRL89",Player1,1,0,0) -DestroyGold(100) SetGlobal("C#Br_Scrollscribing","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT +DestroyGold(100) SetGlobal("c#brscrl","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT + ~PartyGoldGT(99) LevelGT("C#Brandock",2)~ + @3044 DO ~GiveItemCreate("SCRL3G",Player1,1,0,0) -DestroyGold(100) SetGlobal("C#Br_Scrollscribing","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT +DestroyGold(100) SetGlobal("c#brscrl","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT + ~PartyGoldGT(99) LevelGT("C#Brandock",2)~ + @3045 DO ~GiveItemCreate("SCRL90",Player1,1,0,0) -DestroyGold(100) SetGlobal("C#Br_Scrollscribing","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT +DestroyGold(100) SetGlobal("c#brscrl","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT + ~PartyGoldGT(99) LevelGT("C#Brandock",2)~ + @3046 DO ~GiveItemCreate("SCRLA3",Player1,1,0,0) -DestroyGold(100) SetGlobal("C#Br_Scrollscribing","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT +DestroyGold(100) SetGlobal("c#brscrl","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT + ~PartyGoldGT(99) LevelGT("C#Brandock",2)~ + @3047 DO ~GiveItemCreate("SCRL96",Player1,1,0,0) -DestroyGold(100) SetGlobal("C#Br_Scrollscribing","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT +DestroyGold(100) SetGlobal("c#brscrl","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT + ~PartyGoldGT(99) LevelGT("C#Brandock",2)~ + @3048 DO ~GiveItemCreate("SCRL91",Player1,1,0,0) -DestroyGold(100) SetGlobal("C#Br_Scrollscribing","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT +DestroyGold(100) SetGlobal("c#brscrl","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT /* spell level 3: wizard level 5 */ -+ ~PartyGoldGT(99) ++ ~PartyGoldGT(149) Global("C#Br_WriteScrollSCRL1O","LOCALS",1)~ + @3049 DO ~GiveItemCreate("SCRL1O",Player1,1,0,0) -DestroyGold(100) SetGlobal("C#Br_Scrollscribing","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT -+ ~PartyGoldGT(99) +DestroyGold(150) SetGlobal("c#brscrl","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT ++ ~PartyGoldGT(149) Global("C#Br_WriteScrollSCRL1L","LOCALS",1)~ + @3050 DO ~GiveItemCreate("SCRL1L",Player1,1,0,0) -DestroyGold(100) SetGlobal("C#Br_Scrollscribing","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT -+ ~PartyGoldGT(99) +DestroyGold(150) SetGlobal("c#brscrl","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT ++ ~PartyGoldGT(149) LevelGT("C#Brandock",4)~ + @3051 DO ~GiveItemCreate("SCRL1P",Player1,1,0,0) -DestroyGold(100) SetGlobal("C#Br_Scrollscribing","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT -+ ~PartyGoldGT(99) +DestroyGold(150) SetGlobal("c#brscrl","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT ++ ~PartyGoldGT(149) LevelGT("C#Brandock",4)~ + @3052 DO ~GiveItemCreate("SCRL1H",Player1,1,0,0) -DestroyGold(100) SetGlobal("C#Br_Scrollscribing","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT -+ ~PartyGoldGT(99) +DestroyGold(150) SetGlobal("c#brscrl","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT ++ ~PartyGoldGT(149) LevelGT("C#Brandock",4)~ + @3053 DO ~GiveItemCreate("SCRL1G",Player1,1,0,0) -DestroyGold(100) SetGlobal("C#Br_Scrollscribing","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT -+ ~PartyGoldGT(99) +DestroyGold(150) SetGlobal("c#brscrl","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT ++ ~PartyGoldGT(149) LevelGT("C#Brandock",4)~ + @3054 DO ~GiveItemCreate("SCRL1E",Player1,1,0,0) -DestroyGold(100) SetGlobal("C#Br_Scrollscribing","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT -+ ~PartyGoldGT(99) +DestroyGold(150) SetGlobal("c#brscrl","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT ++ ~PartyGoldGT(149) LevelGT("C#Brandock",4)~ + @3055 DO ~GiveItemCreate("SCRLA7",Player1,1,0,0) -DestroyGold(100) SetGlobal("C#Br_Scrollscribing","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT -+ ~PartyGoldGT(99) +DestroyGold(150) SetGlobal("c#brscrl","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT ++ ~PartyGoldGT(149) LevelGT("C#Brandock",4)~ + @3056 DO ~GiveItemCreate("SCRL1S",Player1,1,0,0) -DestroyGold(100) SetGlobal("C#Br_Scrollscribing","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT -+ ~PartyGoldGT(99) +DestroyGold(150) SetGlobal("c#brscrl","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT ++ ~PartyGoldGT(149) LevelGT("C#Brandock",4)~ + @3057 DO ~GiveItemCreate("SCRL1J",Player1,1,0,0) -DestroyGold(100) SetGlobal("C#Br_Scrollscribing","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT -+ ~PartyGoldGT(99) +DestroyGold(150) SetGlobal("c#brscrl","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT ++ ~PartyGoldGT(149) LevelGT("C#Brandock",4)~ + @3058 DO ~GiveItemCreate("SCRL6L",Player1,1,0,0) -DestroyGold(100) SetGlobal("C#Br_Scrollscribing","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT -+ ~PartyGoldGT(99) +DestroyGold(150) SetGlobal("c#brscrl","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT ++ ~PartyGoldGT(149) LevelGT("C#Brandock",4)~ + @3059 DO ~GiveItemCreate("SCRL6J",Player1,1,0,0) -DestroyGold(100) SetGlobal("C#Br_Scrollscribing","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT -+ ~PartyGoldGT(99) +DestroyGold(150) SetGlobal("c#brscrl","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT ++ ~PartyGoldGT(149) LevelGT("C#Brandock",4)~ + @3060 DO ~GiveItemCreate("SCRL6H",Player1,1,0,0) -DestroyGold(100) SetGlobal("C#Br_Scrollscribing","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT +DestroyGold(150) SetGlobal("c#brscrl","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT /* spell level 4: wizard level 7 */ -+ ~PartyGoldGT(199) ++ ~PartyGoldGT(249) LevelGT("C#Brandock",6)~ + @3061 DO ~GiveItemCreate("SCRL5G",Player1,1,0,0) -DestroyGold(200) SetGlobal("C#Br_Scrollscribing","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT -+ ~PartyGoldGT(199) +DestroyGold(250) SetGlobal("c#brscrl","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT ++ ~PartyGoldGT(249) LevelGT("C#Brandock",6)~ + @3062 DO ~GiveItemCreate("SCRL1Y",Player1,1,0,0) -DestroyGold(200) SetGlobal("C#Br_Scrollscribing","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT -+ ~PartyGoldGT(199) +DestroyGold(250) SetGlobal("c#brscrl","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT ++ ~PartyGoldGT(249) LevelGT("C#Brandock",6)~ + @3063 DO ~GiveItemCreate("SCRL2B",Player1,1,0,0) -DestroyGold(200) SetGlobal("C#Br_Scrollscribing","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT -+ ~PartyGoldGT(199) +DestroyGold(250) SetGlobal("c#brscrl","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT ++ ~PartyGoldGT(249) LevelGT("C#Brandock",6)~ + @3064 DO ~GiveItemCreate("SCRL2A",Player1,1,0,0) -DestroyGold(200) SetGlobal("C#Br_Scrollscribing","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT -+ ~PartyGoldGT(199) +DestroyGold(250) SetGlobal("c#brscrl","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT ++ ~PartyGoldGT(249) LevelGT("C#Brandock",6)~ + @3065 DO ~GiveItemCreate("SCRL5J",Player1,1,0,0) -DestroyGold(200) SetGlobal("C#Br_Scrollscribing","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT -+ ~PartyGoldGT(199) +DestroyGold(250) SetGlobal("c#brscrl","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT ++ ~PartyGoldGT(249) LevelGT("C#Brandock",6)~ + @3066 DO ~GiveItemCreate("SCRL6P",Player1,1,0,0) -DestroyGold(200) SetGlobal("C#Br_Scrollscribing","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT +DestroyGold(250) SetGlobal("c#brscrl","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT /* spell level 5: wizard level 9 */ -+ ~PartyGoldGT(199) ++ ~PartyGoldGT(499) Global("C#Br_WriteScrollSCRL5Q","LOCALS",1)~ + @3067 DO ~GiveItemCreate("SCRL5Q",Player1,1,0,0) -DestroyGold(200) SetGlobal("C#Br_Scrollscribing","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT -+ ~PartyGoldGT(199) +DestroyGold(500) SetGlobal("c#brscrl","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT ++ ~PartyGoldGT(499) LevelGT("C#Brandock",8)~ + @3068 DO ~GiveItemCreate("SCRL2G",Player1,1,0,0) -DestroyGold(200) SetGlobal("C#Br_Scrollscribing","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT -+ ~PartyGoldGT(199) +DestroyGold(500) SetGlobal("c#brscrl","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT ++ ~PartyGoldGT(499) LevelGT("C#Brandock",8)~ + @3069 DO ~GiveItemCreate("SCRL5P",Player1,1,0,0) -DestroyGold(200) SetGlobal("C#Br_Scrollscribing","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT -+ ~PartyGoldGT(199) +DestroyGold(500) SetGlobal("c#brscrl","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT ++ ~PartyGoldGT(499) LevelGT("C#Brandock",8)~ + @3070 DO ~GiveItemCreate("SCRL2F",Player1,1,0,0) -DestroyGold(200) SetGlobal("C#Br_Scrollscribing","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT -+ ~PartyGoldGT(199) +DestroyGold(500) SetGlobal("c#brscrl","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT ++ ~PartyGoldGT(499) LevelGT("C#Brandock",8)~ + @3071 DO ~GiveItemCreate("SCRL6U",Player1,1,0,0) -DestroyGold(200) SetGlobal("C#Br_Scrollscribing","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT -+ ~PartyGoldGT(199) +DestroyGold(500) SetGlobal("c#brscrl","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT ++ ~PartyGoldGT(499) LevelGT("C#Brandock",8)~ + @3072 DO ~GiveItemCreate("SCRL6S",Player1,1,0,0) -DestroyGold(200) SetGlobal("C#Br_Scrollscribing","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT -+ ~PartyGoldGT(199) +DestroyGold(500) SetGlobal("c#brscrl","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT ++ ~PartyGoldGT(499) LevelGT("C#Brandock",8)~ + @3073 DO ~GiveItemCreate("SCRL6Y",Player1,1,0,0) -DestroyGold(200) SetGlobal("C#Br_Scrollscribing","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT -+ ~PartyGoldGT(199) +DestroyGold(500) SetGlobal("c#brscrl","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT ++ ~PartyGoldGT(499) LevelGT("C#Brandock",8)~ + @3074 DO ~GiveItemCreate("SCRL8X",Player1,1,0,0) -DestroyGold(200) SetGlobal("C#Br_Scrollscribing","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT +DestroyGold(500) SetGlobal("c#brscrl","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT /* spell level 6: wizard level 12 */ -+ ~PartyGoldGT(349) ++ ~PartyGoldGT(999) Global("C#Br_WriteScrollSCRL7H","LOCALS",1)~ + @3075 DO ~GiveItemCreate("SCRL7H",Player1,1,0,0) -DestroyGold(350) SetGlobal("C#Br_Scrollscribing","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT -+ ~PartyGoldGT(349) +DestroyGold(1000) SetGlobal("c#brscrl","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT ++ ~PartyGoldGT(999) Global("C#Br_WriteScrollSCRL1U","LOCALS",1)~ + @3076 DO ~GiveItemCreate("SCRL1U",Player1,1,0,0) -DestroyGold(350) SetGlobal("C#Br_Scrollscribing","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT -+ ~PartyGoldGT(349) +DestroyGold(1000) SetGlobal("c#brscrl","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT ++ ~PartyGoldGT(999) OR(2) %IT_IS_BGII% %IT_IS_SOD% LevelGT("C#Brandock",11)~ + @3077 DO ~GiveItemCreate("SCRL7V",Player1,1,0,0) -DestroyGold(350) SetGlobal("C#Br_Scrollscribing","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT -+ ~PartyGoldGT(349) +DestroyGold(1000) SetGlobal("c#brscrl","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT ++ ~PartyGoldGT(999) OR(2) %IT_IS_BGII% %IT_IS_SOD% LevelGT("C#Brandock",11)~ + @3078 DO ~GiveItemCreate("SCRL8B",Player1,1,0,0) -DestroyGold(350) SetGlobal("C#Br_Scrollscribing","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT +DestroyGold(1000) SetGlobal("c#brscrl","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT /* spell level 7: wizard level 14 */ -+ ~PartyGoldGT(349) ++ ~PartyGoldGT(1499) Global("C#Br_WriteScrollSCRL8O","LOCALS",1)~ + @3079 DO ~GiveItemCreate("SCRL8O",Player1,1,0,0) -DestroyGold(350) SetGlobal("C#Br_Scrollscribing","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT -+ ~PartyGoldGT(349) +DestroyGold(1500) SetGlobal("c#brscrl","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT ++ ~PartyGoldGT(1499) %IT_IS_BGII% LevelGT("C#Brandock",13)~ + @3080 DO ~GiveItemCreate("SCRL8D",Player1,1,0,0) -DestroyGold(350) SetGlobal("C#Br_Scrollscribing","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT -+ ~PartyGoldGT(349) +DestroyGold(1500) SetGlobal("c#brscrl","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT ++ ~PartyGoldGT(1499) %IT_IS_BGII% LevelGT("C#Brandock",13)~ + @3081 DO ~GiveItemCreate("SCRL8W",Player1,1,0,0) -DestroyGold(350) SetGlobal("C#Br_Scrollscribing","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT -+ ~PartyGoldGT(349) +DestroyGold(1500) SetGlobal("c#brscrl","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT ++ ~PartyGoldGT(1499) %IT_IS_BGII% LevelGT("C#Brandock",13)~ + @3082 DO ~GiveItemCreate("SCRL8F",Player1,1,0,0) -DestroyGold(350) SetGlobal("C#Br_Scrollscribing","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT -+ ~PartyGoldGT(349) +DestroyGold(1500) SetGlobal("c#brscrl","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT ++ ~PartyGoldGT(1499) %IT_IS_BGII% LevelGT("C#Brandock",13)~ + @3083 DO ~GiveItemCreate("SCRL8M",Player1,1,0,0) -DestroyGold(350) SetGlobal("C#Br_Scrollscribing","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT -+ ~PartyGoldGT(349) +DestroyGold(1500) SetGlobal("c#brscrl","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT ++ ~PartyGoldGT(1499) %IT_IS_BGII% LevelGT("C#Brandock",13)~ + @3084 DO ~GiveItemCreate("SCRL8S",Player1,1,0,0) -DestroyGold(350) SetGlobal("C#Br_Scrollscribing","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT +DestroyGold(1500) SetGlobal("c#brscrl","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT /* spell level 8: wizard level 16 */ -+ ~PartyGoldGT(499) ++ ~PartyGoldGT(1999) LevelGT("C#Brandock",15)~ + @3085 DO ~GiveItemCreate("SCRLB1",Player1,1,0,0) -DestroyGold(500) SetGlobal("C#Br_Scrollscribing","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT -+ ~PartyGoldGT(499) +DestroyGold(2500) SetGlobal("c#brscrl","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT ++ ~PartyGoldGT(1999) %IT_IS_BGII% LevelGT("C#Brandock",15)~ + @3086 DO ~GiveItemCreate("SCRL9A",Player1,1,0,0) -DestroyGold(500) SetGlobal("C#Br_Scrollscribing","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT +DestroyGold(2500) SetGlobal("c#brscrl","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT /* spell level 9: wizard level 18 */ -+ ~PartyGoldGT(499) ++ ~PartyGoldGT(4999) LevelGT("C#Brandock",17)~ + @3087 DO ~GiveItemCreate("SCRLB2",Player1,1,0,0) -DestroyGold(500) SetGlobal("C#Br_Scrollscribing","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT -+ ~PartyGoldGT(499) +DestroyGold(5000) SetGlobal("c#brscrl","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT ++ ~PartyGoldGT(4999) %IT_IS_BGII% LevelGT("C#Brandock",17)~ + @3088 DO ~GiveItemCreate("SCRL9L",Player1,1,0,0) -DestroyGold(500) SetGlobal("C#Br_Scrollscribing","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT -+ ~PartyGoldGT(499) +DestroyGold(5000) SetGlobal("c#brscrl","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT ++ ~PartyGoldGT(4999) %IT_IS_BGII% LevelGT("C#Brandock",17)~ + @3089 DO ~GiveItemCreate("SCRL9Q",Player1,1,0,0) -DestroyGold(500) SetGlobal("C#Br_Scrollscribing","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT -+ ~PartyGoldGT(499) +DestroyGold(5000) SetGlobal("c#brscrl","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT ++ ~PartyGoldGT(4999) %IT_IS_BGII% LevelGT("C#Brandock",17)~ + @3090 DO ~GiveItemCreate("SCRL9Z",Player1,1,0,0) -DestroyGold(500) -SetGlobal("C#Br_Scrollscribing","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT - -/* nothing - works only for BG1 */ -+ ~Global("c#brscrl","GLOBAL",0)~ + @3091 DO ~SetGlobal("C#Br_Scrollscribing","GLOBAL",0)~ EXIT +DestroyGold(5000) +SetGlobal("c#brscrl","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT +/* nothing. set variable back to "0" for BG1 where the player can click on Elvenhair's desk again. No relevance once Brandock gains ability to scribe scrolls. */ +++ @3091 DO ~SetGlobal("c#brscrl","GLOBAL",0)~ EXIT END IF ~~ THEN scribe_durable_scoll_03 @@ -504,70 +503,71 @@ SAY @3092 /* spell level 1 */ + ~GlobalGT("C#Br_WriteDurableScrolls","LOCALS",3) -PartyGoldGT(999)~ + @3093 DO ~GiveItemCreate("C#BR77",Player1,1,0,0) -DestroyGold(1000) SetGlobal("C#Br_Scrollscribing","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT +PartyGoldGT(149)~ + @3093 DO ~GiveItemCreate("C#BR77",Player1,1,0,0) +DestroyGold(150) SetGlobal("c#brscrl","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT /* spell level 2: wizard level 3 */ + ~LevelGT("C#Brandock",2) -PartyGoldGT(999) +PartyGoldGT(299) GlobalGT("C#Br_WriteDurableScrolls","LOCALS",3)~ + @3094 DO ~GiveItemCreate("C#BR90",Player1,1,0,0) -DestroyGold(1000) SetGlobal("C#Br_Scrollscribing","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT +DestroyGold(300) SetGlobal("c#brscrl","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT /* spell level 3: wizard level 5 */ + ~LevelGT("C#Brandock",4) -PartyGoldGT(999) +PartyGoldGT(449) GlobalGT("C#Br_WriteDurableScrolls","LOCALS",3)~ + @3095 DO ~GiveItemCreate("C#BR1H",Player1,1,0,0) -DestroyGold(1000) SetGlobal("C#Br_Scrollscribing","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT +DestroyGold(450) SetGlobal("c#brscrl","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT + ~LevelGT("C#Brandock",4) -PartyGoldGT(999) +PartyGoldGT(449) GlobalGT("C#Br_WriteDurableScrolls","LOCALS",3)~ + @3096 DO ~GiveItemCreate("C#BR1G",Player1,1,0,0) -DestroyGold(1000) SetGlobal("C#Br_Scrollscribing","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT +DestroyGold(450) SetGlobal("c#brscrl","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT + ~LevelGT("C#Brandock",4) -PartyGoldGT(999) +PartyGoldGT(449) GlobalGT("C#Br_WriteDurableScrolls","LOCALS",3)~ + @3097 DO ~GiveItemCreate("C#BR1E",Player1,1,0,0) -DestroyGold(1000) SetGlobal("C#Br_Scrollscribing","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT +DestroyGold(450) SetGlobal("c#brscrl","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT /* spell level 4: wizard level 7 */ + ~LevelGT("C#Brandock",6) -PartyGoldGT(999) +PartyGoldGT(749) GlobalGT("C#Br_WriteDurableScrolls","LOCALS",3)~ + @3098 DO ~GiveItemCreate("C#BR1Y",Player1,1,0,0) -DestroyGold(1000) SetGlobal("C#Br_Scrollscribing","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT +DestroyGold(750) SetGlobal("c#brscrl","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT + ~LevelGT("C#Brandock",6) -PartyGoldGT(999) +PartyGoldGT(749) GlobalGT("C#Br_WriteDurableScrolls","LOCALS",3)~ + @3099 DO ~GiveItemCreate("C#BR2A",Player1,1,0,0) -DestroyGold(1000) SetGlobal("C#Br_Scrollscribing","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT +DestroyGold(750) SetGlobal("c#brscrl","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT /* spell level 5: wizard level 9 */ + ~LevelGT("C#Brandock",8) -PartyGoldGT(999) +PartyGoldGT(1499) GlobalGT("C#Br_WriteDurableScrolls","LOCALS",3)~ + @3100 DO ~GiveItemCreate("C#BR6U",Player1,1,0,0) -DestroyGold(1000) SetGlobal("C#Br_Scrollscribing","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT +DestroyGold(1500) SetGlobal("c#brscrl","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT + ~LevelGT("C#Brandock",8) -PartyGoldGT(999) +PartyGoldGT(1499) GlobalGT("C#Br_WriteDurableScrolls","LOCALS",3)~ + @3101 DO ~GiveItemCreate("C#BR6Y",Player1,1,0,0) -DestroyGold(1000) SetGlobal("C#Br_Scrollscribing","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT +DestroyGold(1500) SetGlobal("c#brscrl","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT /* spell level 6: wizard level 12 */ + ~Global("C#Br_WriteScrollSCRL1U","LOCALS",1) -PartyGoldGT(999) +PartyGoldGT(2999) GlobalGT("C#Br_WriteDurableScrolls","LOCALS",3)~ + @3102 DO ~GiveItemCreate("C#BR1U",Player1,1,0,0) -DestroyGold(1000) SetGlobal("C#Br_Scrollscribing","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT +DestroyGold(3000) SetGlobal("c#brscrl","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT /* spell level 8: wizard level 16 */ + ~%IT_IS_BGII% LevelGT("C#Brandock",15) -PartyGoldGT(999) +PartyGoldGT(7499) GlobalGT("C#Br_WriteDurableScrolls","LOCALS",3)~ + @3103 DO ~GiveItemCreate("C#BR9A",Player1,1,0,0) -DestroyGold(1000) SetGlobal("C#Br_Scrollscribing","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT +DestroyGold(7500) SetGlobal("c#brscrl","GLOBAL",2) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT /* or not */ ++ ~PartyGoldLT(150)~ + @3028 + scribe_scoll ++ @3104 + scribe_scoll END -/* Brandock just made a scroll and needs to rest now.~ */ +/* Brandock just made a scroll and needs to rest now. (only relevant for BG1 where the player can click on Elvenhair's desk again) */ IF WEIGHT #-1 -~Global("C#Br_Scrollscribing","GLOBAL",4)~ THEN scribe_scoll_nomore +~Global("c#brscrl","GLOBAL",4)~ THEN scribe_scoll_nomore SAY @3105 -IF ~~ THEN DO ~SetGlobal("C#Br_Scrollscribing","GLOBAL",5)~ EXIT +IF ~~ THEN DO ~SetGlobal("c#brscrl","GLOBAL",5)~ EXIT END END //APPEND \ No newline at end of file diff --git a/c#brandock/dialogue/brandock_scrollscribing_bg1.d b/c#brandock/dialogue/brandock_scrollscribing_bg1.d index ee1b7dd..1a86b5d 100644 --- a/c#brandock/dialogue/brandock_scrollscribing_bg1.d +++ b/c#brandock/dialogue/brandock_scrollscribing_bg1.d @@ -63,9 +63,7 @@ END IF ~~ THEN scribe_scrolls_restbanter_09 SAY @3520 = @3521 -IF ~~ THEN DO ~//ReallyForceSpellRES("c#brscra","C#Brandock") -ActionOverride("C#Brandock",AddSpecialAbility("c#brscrl")) -EraseJournalEntry(@10063) +IF ~~ THEN DO ~EraseJournalEntry(@10063) SetGlobal("C#Br_ScribeScrollQuest","GLOBAL",8) RestParty()~ SOLVED_JOURNAL @10064 EXIT END @@ -141,5 +139,5 @@ IF WEIGHT #-1 = @3541 END IF ~~ THEN DO ~SetGlobal("C#Br_ScribeScrollQuest","GLOBAL",4) -SetGlobal("C#Br_Scrollscribing","GLOBAL",3)~ UNSOLVED_JOURNAL @10012 EXIT +SetGlobal("c#brscrl","GLOBAL",3)~ UNSOLVED_JOURNAL @10012 EXIT diff --git a/c#brandock/dialogue/brandock_scrollscribing_bg2.d b/c#brandock/dialogue/brandock_scrollscribing_bg2.d index f4ba70f..cdca1d5 100644 --- a/c#brandock/dialogue/brandock_scrollscribing_bg2.d +++ b/c#brandock/dialogue/brandock_scrollscribing_bg2.d @@ -1,5 +1,5 @@ EXTEND_TOP c#brandj scribe_scoll_02 -/* Brandock writes an own magic book */ +/* Brandock writes in the De Simplex Magicae */ + ~LevelGT("C#Brandock",8) GlobalGT("C#Br_WriteDurableScrolls","LOCALS",3) GlobalLT("C#Br_WriteBook","LOCALS",2)~ + @3024 DO ~SetGlobal("C#Br_WriteBook","LOCALS",2)~ + scribe_book_01 @@ -9,13 +9,10 @@ GlobalLT("C#Br_WriteBook","LOCALS",7)~ + @3025 + scribe_book_02 + ~Global("C#Br_WriteBook","LOCALS",9)~ + @3025 + scribe_book_02 /* durable scrolls */ -+ ~PartyGoldGT(999) ++ ~PartyGoldGT(449) GlobalLT("C#Br_WriteDurableScrolls","LOCALS",2) GlobalGT("C#Br_BookRestore","GLOBAL",21)~ + @3026 + scribe_durable_scoll_02 -+ ~GlobalGT("C#Br_WriteDurableScrolls","LOCALS",3) -PartyGoldGT(999)~ + @3027 + scribe_durable_scoll_03 -+ ~GlobalGT("C#Br_WriteDurableScrolls","LOCALS",3) -PartyGoldLT(1000)~ + @3028 + scribe_scoll_02 ++ ~GlobalGT("C#Br_WriteDurableScrolls","LOCALS",3)~ + @3027 + scribe_durable_scoll_03 END @@ -48,10 +45,11 @@ IF ~~ THEN scribe_durable_scoll_00_b SAY @3643 = @3644 IF ~~ THEN DO ~SetGlobal("C#Br_WriteDurableScrolls","LOCALS",4) -SetGlobal("C#Br_Scrollscribing","GLOBAL",3)~ EXIT +SetGlobal("c#brscrl","GLOBAL",3)~ EXIT END -IF ~LevelGT("C#Brandock",4) +IF WEIGHT #-1 +~LevelGT("C#Brandock",4) Global("c#brscrl","GLOBAL",1) Global("C#Br_WriteDurableScrolls","LOCALS",0) GlobalGT("C#Br_BookRestore","GLOBAL",21)~ THEN scribe_durable_scoll_01 @@ -63,7 +61,7 @@ END IF ~~ THEN scribe_durable_scoll_02 SAY @3647 IF ~~ THEN DO ~GiveItemCreate("C#BR1G",Player1,1,3,0) -DestroyGold(1000) SetGlobal("C#Br_WriteDurableScrolls","LOCALS",3) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT +DestroyGold(450) SetGlobal("C#Br_WriteDurableScrolls","LOCALS",3) ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5")~ EXIT END @@ -74,22 +72,22 @@ This is here and not in brandock_bookrestore_bg2.d because of state interconnect /* after writing the first page */ IF WEIGHT #-1 -~Global("C#Br_Scrollscribing","GLOBAL",2) +~Global("c#brscrl","GLOBAL",2) InMyArea("C#Brhelp") Global("C#Br_ScribeBookComment","LOCALS",1)~ THEN scribe_book SAY @3600 -IF ~~ THEN DO ~SetGlobal("C#Br_Scrollscribing","GLOBAL",3) +IF ~~ THEN DO ~SetGlobal("c#brscrl","GLOBAL",3) SetGlobal("C#Br_ScribeBookComment","LOCALS",2) ActionOverride("C#Brhelp",DestroySelf())~ EXIT END /* wrote the last page in SoA */ IF WEIGHT #-1 -~Global("C#Br_Scrollscribing","GLOBAL",2) +~Global("c#brscrl","GLOBAL",2) Global("C#Br_WriteBook","LOCALS",7)~ THEN scribe_book_soa SAY @3601 = @3699 -IF ~~ THEN DO ~SetGlobal("C#Br_Scrollscribing","GLOBAL",3) +IF ~~ THEN DO ~SetGlobal("c#brscrl","GLOBAL",3) SetGlobal("C#Br_WriteBook","LOCALS",8) ActionOverride("C#Brhelp",DestroySelf())~ UNSOLVED_JOURNAL @10079 EXIT END @@ -99,26 +97,26 @@ END /* Brandock offers to write spells into the De Simple Magicae */ /* SoA */ -IF ~LevelGT("C#Brandock",14) +IF WEIGHT #-1 +~LevelGT("C#Brandock",14) Global("c#brscrl","GLOBAL",1) GlobalGT("C#Br_WriteDurableScrolls","LOCALS",3) Global("C#Br_WriteBook","LOCALS",0)~ THEN scribe_book_00 SAY @3602 = @3603 IF ~~ THEN DO ~EraseJournalEntry(@10068) -SetGlobal("C#Br_WriteBook","LOCALS",1) -SetGlobal("c#brscrl","GLOBAL",2)~ UNSOLVED_JOURNAL @10078 + scribe_scoll_02 +SetGlobal("C#Br_WriteBook","LOCALS",1)~ UNSOLVED_JOURNAL @10078 + scribe_scoll_02 END /* ToB */ -IF ~GlobalGT("Chapter","GLOBAL",%bg2_chapter_7%) +IF WEIGHT #-1 +~GlobalGT("Chapter","GLOBAL",%bg2_chapter_7%) Global("c#brscrl","GLOBAL",1) Global("C#Br_WriteBook","LOCALS",8)~ THEN scribe_book_00 SAY @3700 /* ~, the incredible happened - the last page of the De Simplex Magicae opened up for me. Let me know what you want me to write on it!~ */ IF ~~ THEN DO ~EraseJournalEntry(@10078) EraseJournalEntry(@10079) -SetGlobal("C#Br_WriteBook","LOCALS",9) -SetGlobal("c#brscrl","GLOBAL",2)~ UNSOLVED_JOURNAL @10080 + scribe_scoll_02 +SetGlobal("C#Br_WriteBook","LOCALS",9)~ UNSOLVED_JOURNAL @10080 + scribe_scoll_02 END IF ~~ THEN scribe_book_01 @@ -155,197 +153,198 @@ Global("C#Br_WriteBookPage09","GLOBAL",0)~ THEN @3619 == c#brandj IF ~LevelLT("C#Brandock",18)~ THEN @3621 == c#brandj IF ~LevelGT("C#Brandock",17)~ THEN @3622 END -/* "c#brbo01" */ +/* "c#brbo01" - Fireball (spell level 3) */ + ~Global("C#Br_WriteBook","LOCALS",2) PartyHasItem("SCRL1G") -PartyGoldGT(4999)~ + @3623 DO ~GiveItemCreate("c#brbo01",Player1,1,0,0) SetGlobal("C#Br_WriteBookPage01","GLOBAL",1)~ + scribe_book_04 +PartyGoldGT(1499)~ + @3623 DO ~GiveItemCreate("c#brbo01",Player1,1,0,0) DestroyGold(1500) SetGlobal("C#Br_WriteBookPage01","GLOBAL",1)~ + scribe_book_04 + ~GlobalGT("C#Br_WriteBook","LOCALS",2) PartyHasItem("SCRL1G") -PartyGoldGT(4999)~ + @3623 DO ~SetGlobal("C#Br_WriteBookPage01","GLOBAL",1)~ + scribe_book_03 +PartyGoldGT(1499)~ + @3623 DO ~DestroyGold(1500) SetGlobal("C#Br_WriteBookPage01","GLOBAL",1)~ + scribe_book_03 + ~Global("C#Br_WriteBook","LOCALS",2) !PartyHasItem("SCRL1G") HasItem("SCRL1G","C#Brandock") -PartyGoldGT(4999)~ + @3623 DO ~GiveItemCreate("c#brbo01",Player1,1,0,0) +PartyGoldGT(1499)~ + @3623 DO ~GiveItemCreate("c#brbo01",Player1,1,0,0) ActionOverride("C#Brandock",GiveItem("SCRL1G",Player1)) -SetGlobal("C#Br_WriteBookPage01","GLOBAL",1)~ + scribe_book_04 +DestroyGold(1500) SetGlobal("C#Br_WriteBookPage01","GLOBAL",1)~ + scribe_book_04 + ~GlobalGT("C#Br_WriteBook","LOCALS",2) !PartyHasItem("SCRL1G") HasItem("SCRL1G","C#Brandock") -PartyGoldGT(4999)~ + @3623 DO ~ActionOverride("C#Brandock",GiveItem("SCRL1G",Player1)) -SetGlobal("C#Br_WriteBookPage01","GLOBAL",1)~ + scribe_book_03 +PartyGoldGT(1499)~ + @3623 DO ~ActionOverride("C#Brandock",GiveItem("SCRL1G",Player1)) +DestroyGold(1500) SetGlobal("C#Br_WriteBookPage01","GLOBAL",1)~ + scribe_book_03 -/* "c#brbo02" */ +/* "c#brbo02" - Minor Sequencer (spell level 4) */ + ~Global("C#Br_WriteBook","LOCALS",2) PartyHasItem("SCRL6P") -PartyGoldGT(4999)~ + @3624 DO ~GiveItemCreate("c#brbo02",Player1,1,0,0) SetGlobal("C#Br_WriteBookPage02","GLOBAL",1)~ + scribe_book_04 +PartyGoldGT(2499)~ + @3624 DO ~GiveItemCreate("c#brbo02",Player1,1,0,0) DestroyGold(2500) SetGlobal("C#Br_WriteBookPage02","GLOBAL",1)~ + scribe_book_04 + ~GlobalGT("C#Br_WriteBook","LOCALS",2) PartyHasItem("SCRL6P") -PartyGoldGT(4999)~ + @3624 DO ~SetGlobal("C#Br_WriteBookPage02","GLOBAL",1)~ + scribe_book_03 +PartyGoldGT(2499)~ + @3624 DO ~DestroyGold(2500) SetGlobal("C#Br_WriteBookPage02","GLOBAL",1)~ + scribe_book_03 + ~Global("C#Br_WriteBook","LOCALS",2) !PartyHasItem("SCRL6P") HasItem("SCRL6P","C#Brandock") -PartyGoldGT(4999)~ + @3624 DO ~GiveItemCreate("c#brbo02",Player1,1,0,0) +PartyGoldGT(2499)~ + @3624 DO ~GiveItemCreate("c#brbo02",Player1,1,0,0) ActionOverride("C#Brandock",GiveItem("SCRL6P",Player1)) -SetGlobal("C#Br_WriteBookPage02","GLOBAL",1)~ + scribe_book_04 +DestroyGold(2500) SetGlobal("C#Br_WriteBookPage02","GLOBAL",1)~ + scribe_book_04 + ~GlobalGT("C#Br_WriteBook","LOCALS",2) !PartyHasItem("SCRL6P") HasItem("SCRL6P","C#Brandock") -PartyGoldGT(4999)~ + @3624 DO ~ActionOverride("C#Brandock",GiveItem("SCRL6P",Player1)) -SetGlobal("C#Br_WriteBookPage02","GLOBAL",1)~ + scribe_book_03 +PartyGoldGT(2499)~ + @3624 DO ~ActionOverride("C#Brandock",GiveItem("SCRL6P",Player1)) +DestroyGold(2500) SetGlobal("C#Br_WriteBookPage02","GLOBAL",1)~ + scribe_book_03 -/* "c#brbo03" */ +/* "c#brbo03" - Breach (spell level 5) */ + ~Global("C#Br_WriteBook","LOCALS",2) PartyHasItem("SCRL6U") -PartyGoldGT(4999)~ + @3625 DO ~GiveItemCreate("c#brbo03",Player1,1,0,0) SetGlobal("C#Br_WriteBookPage03","GLOBAL",1)~ + scribe_book_04 +PartyGoldGT(4999)~ + @3625 DO ~GiveItemCreate("c#brbo03",Player1,1,0,0) DestroyGold(5000) SetGlobal("C#Br_WriteBookPage03","GLOBAL",1)~ + scribe_book_04 + ~GlobalGT("C#Br_WriteBook","LOCALS",2) PartyHasItem("SCRL6U") -PartyGoldGT(4999)~ + @3625 DO ~SetGlobal("C#Br_WriteBookPage03","GLOBAL",1)~ + scribe_book_03 +PartyGoldGT(4999)~ + @3625 DO ~DestroyGold(5000) SetGlobal("C#Br_WriteBookPage03","GLOBAL",1)~ + scribe_book_03 + ~Global("C#Br_WriteBook","LOCALS",2) !PartyHasItem("SCRL6U") HasItem("SCRL6U","C#Brandock") PartyGoldGT(4999)~ + @3625 DO ~GiveItemCreate("c#brbo03",Player1,1,0,0) ActionOverride("C#Brandock",GiveItem("SCRL6U",Player1)) -SetGlobal("C#Br_WriteBookPage03","GLOBAL",1)~ + scribe_book_04 +DestroyGold(5000) SetGlobal("C#Br_WriteBookPage03","GLOBAL",1)~ + scribe_book_04 + ~GlobalGT("C#Br_WriteBook","LOCALS",2) !PartyHasItem("SCRL6U") HasItem("SCRL6U","C#Brandock") PartyGoldGT(4999)~ + @3625 DO ~ActionOverride("C#Brandock",GiveItem("SCRL6U",Player1)) -SetGlobal("C#Br_WriteBookPage03","GLOBAL",1)~ + scribe_book_03 +DestroyGold(5000) SetGlobal("C#Br_WriteBookPage03","GLOBAL",1)~ + scribe_book_03 -/* "c#brbo04" */ +/* "c#brbo04" - Spell Deflection (spell level 6) */ + ~Global("C#Br_WriteBook","LOCALS",2) PartyHasItem("SCRL7V") -PartyGoldGT(4999)~ + @3626 DO ~GiveItemCreate("c#brbo04",Player1,1,0,0) SetGlobal("C#Br_WriteBookPage04","GLOBAL",1)~ + scribe_book_04 +PartyGoldGT(9999)~ + @3626 DO ~GiveItemCreate("c#brbo04",Player1,1,0,0) DestroyGold(10000) SetGlobal("C#Br_WriteBookPage04","GLOBAL",1)~ + scribe_book_04 + ~GlobalGT("C#Br_WriteBook","LOCALS",2) PartyHasItem("SCRL7V") -PartyGoldGT(4999)~ + @3626 DO ~SetGlobal("C#Br_WriteBookPage04","GLOBAL",1)~ + scribe_book_03 +PartyGoldGT(9999)~ + @3626 DO ~DestroyGold(10000) SetGlobal("C#Br_WriteBookPage04","GLOBAL",1)~ + scribe_book_03 + ~Global("C#Br_WriteBook","LOCALS",2) !PartyHasItem("SCRL7V") HasItem("SCRL7V","C#Brandock") -PartyGoldGT(4999)~ + @3626 DO ~GiveItemCreate("c#brbo04",Player1,1,0,0) +PartyGoldGT(9999)~ + @3626 DO ~GiveItemCreate("c#brbo04",Player1,1,0,0) ActionOverride("C#Brandock",GiveItem("SCRL7V",Player1)) -SetGlobal("C#Br_WriteBookPage04","GLOBAL",1)~ + scribe_book_04 +DestroyGold(10000) SetGlobal("C#Br_WriteBookPage04","GLOBAL",1)~ + scribe_book_04 + ~GlobalGT("C#Br_WriteBook","LOCALS",2) !PartyHasItem("SCRL7V") HasItem("SCRL7V","C#Brandock") -PartyGoldGT(4999)~ + @3626 DO ~ActionOverride("C#Brandock",GiveItem("SCRL7V",Player1)) -SetGlobal("C#Br_WriteBookPage04","GLOBAL",1)~ + scribe_book_03 +PartyGoldGT(9999)~ + @3626 DO ~ActionOverride("C#Brandock",GiveItem("SCRL7V",Player1)) +DestroyGold(10000) SetGlobal("C#Br_WriteBookPage04","GLOBAL",1)~ + scribe_book_03 -/* "c#brbo05" */ +/* "c#brbo05" - Mass Invisibility (spell level 7) */ + ~Global("C#Br_WriteBook","LOCALS",2) PartyHasItem("SCRL8W") -PartyGoldGT(4999)~ + @3627 DO ~GiveItemCreate("c#brbo05",Player1,1,0,0) SetGlobal("C#Br_WriteBookPage05","GLOBAL",1)~ + scribe_book_04 +PartyGoldGT(14999)~ + @3627 DO ~GiveItemCreate("c#brbo05",Player1,1,0,0) DestroyGold(15000) SetGlobal("C#Br_WriteBookPage05","GLOBAL",1)~ + scribe_book_04 + ~GlobalGT("C#Br_WriteBook","LOCALS",2) PartyHasItem("SCRL8W") -PartyGoldGT(4999)~ + @3627 DO ~SetGlobal("C#Br_WriteBookPage05","GLOBAL",1)~ + scribe_book_03 +PartyGoldGT(14999)~ + @3627 DO ~DestroyGold(15000) SetGlobal("C#Br_WriteBookPage05","GLOBAL",1)~ + scribe_book_03 + ~Global("C#Br_WriteBook","LOCALS",2) !PartyHasItem("SCRL8W") HasItem("SCRL8W","C#Brandock") -PartyGoldGT(4999)~ + @3627 DO ~GiveItemCreate("c#brbo05",Player1,1,0,0) +PartyGoldGT(14999)~ + @3627 DO ~GiveItemCreate("c#brbo05",Player1,1,0,0) ActionOverride("C#Brandock",GiveItem("SCRL8W",Player1)) -SetGlobal("C#Br_WriteBookPage05","GLOBAL",1)~ + scribe_book_04 +DestroyGold(15000) SetGlobal("C#Br_WriteBookPage05","GLOBAL",1)~ + scribe_book_04 + ~GlobalGT("C#Br_WriteBook","LOCALS",2) !PartyHasItem("SCRL8W") HasItem("SCRL8W","C#Brandock") -PartyGoldGT(4999)~ + @3627 DO ~ActionOverride("C#Brandock",GiveItem("SCRL8W",Player1)) -SetGlobal("C#Br_WriteBookPage05","GLOBAL",1)~ + scribe_book_03 +PartyGoldGT(14999)~ + @3627 DO ~ActionOverride("C#Brandock",GiveItem("SCRL8W",Player1)) +DestroyGold(15000) SetGlobal("C#Br_WriteBookPage05","GLOBAL",1)~ + scribe_book_03 -/* "c#brbo06" */ +/* "c#brbo06" - Summon Efreeti (spell level 7) */ + ~Global("C#Br_WriteBook","LOCALS",2) PartyHasItem("SCRL8S") -PartyGoldGT(4999)~ + @3628 DO ~GiveItemCreate("c#brbo06",Player1,1,0,0) SetGlobal("C#Br_WriteBookPage06","GLOBAL",1)~ + scribe_book_04 +PartyGoldGT(14999)~ + @3628 DO ~GiveItemCreate("c#brbo06",Player1,1,0,0) DestroyGold(15000) SetGlobal("C#Br_WriteBookPage06","GLOBAL",1)~ + scribe_book_04 + ~GlobalGT("C#Br_WriteBook","LOCALS",2) PartyHasItem("SCRL8S") -PartyGoldGT(4999)~ + @3628 DO ~SetGlobal("C#Br_WriteBookPage06","GLOBAL",1)~ + scribe_book_03 +PartyGoldGT(14999)~ + @3628 DO ~DestroyGold(15000) SetGlobal("C#Br_WriteBookPage06","GLOBAL",1)~ + scribe_book_03 + ~Global("C#Br_WriteBook","LOCALS",2) !PartyHasItem("SCRL8S") HasItem("SCRL8S","C#Brandock") -PartyGoldGT(4999)~ + @3628 DO ~GiveItemCreate("c#brbo06",Player1,1,0,0) +PartyGoldGT(14999)~ + @3628 DO ~GiveItemCreate("c#brbo06",Player1,1,0,0) ActionOverride("C#Brandock",GiveItem("SCRL8S",Player1)) -SetGlobal("C#Br_WriteBookPage06","GLOBAL",1)~ + scribe_book_04 +DestroyGold(15000) SetGlobal("C#Br_WriteBookPage06","GLOBAL",1)~ + scribe_book_04 + ~GlobalGT("C#Br_WriteBook","LOCALS",2) !PartyHasItem("SCRL8S") HasItem("SCRL8S","C#Brandock") -PartyGoldGT(4999)~ + @3628 DO ~ActionOverride("C#Brandock",GiveItem("SCRL8S",Player1)) -SetGlobal("C#Br_WriteBookPage06","GLOBAL",1)~ + scribe_book_03 +PartyGoldGT(14999)~ + @3628 DO ~ActionOverride("C#Brandock",GiveItem("SCRL8S",Player1)) +DestroyGold(15000) SetGlobal("C#Br_WriteBookPage06","GLOBAL",1)~ + scribe_book_03 -/* "c#brbo07" */ +/* "c#brbo07" - Bigby's Clenched Fist (spell level 8) */ + ~Global("C#Br_WriteBook","LOCALS",2) PartyHasItem("SCRLB1") -PartyGoldGT(4999)~ + @3629 DO ~GiveItemCreate("c#brbo07",Player1,1,0,0) SetGlobal("C#Br_WriteBookPage07","GLOBAL",1)~ + scribe_book_04 +PartyGoldGT(24999)~ + @3629 DO ~GiveItemCreate("c#brbo07",Player1,1,0,0) DestroyGold(25000) SetGlobal("C#Br_WriteBookPage07","GLOBAL",1)~ + scribe_book_04 + ~GlobalGT("C#Br_WriteBook","LOCALS",2) PartyHasItem("SCRLB1") -PartyGoldGT(4999)~ + @3629 DO ~SetGlobal("C#Br_WriteBookPage07","GLOBAL",1)~ + scribe_book_03 +PartyGoldGT(24999)~ + @3629 DO ~DestroyGold(25000) SetGlobal("C#Br_WriteBookPage07","GLOBAL",1)~ + scribe_book_03 + ~Global("C#Br_WriteBook","LOCALS",2) !PartyHasItem("SCRLB1") HasItem("SCRLB1","C#Brandock") -PartyGoldGT(4999)~ + @3629 DO ~GiveItemCreate("c#brbo07",Player1,1,0,0) +PartyGoldGT(24999)~ + @3629 DO ~GiveItemCreate("c#brbo07",Player1,1,0,0) ActionOverride("C#Brandock",GiveItem("SCRLB1",Player1)) -SetGlobal("C#Br_WriteBookPage07","GLOBAL",1)~ + scribe_book_04 +DestroyGold(25000) SetGlobal("C#Br_WriteBookPage07","GLOBAL",1)~ + scribe_book_04 + ~GlobalGT("C#Br_WriteBook","LOCALS",2) !PartyHasItem("SCRLB1") HasItem("SCRLB1","C#Brandock") -PartyGoldGT(4999)~ + @3629 DO ~ActionOverride("C#Brandock",GiveItem("SCRLB1",Player1)) -SetGlobal("C#Br_WriteBookPage07","GLOBAL",1)~ + scribe_book_03 +PartyGoldGT(24999)~ + @3629 DO ~ActionOverride("C#Brandock",GiveItem("SCRLB1",Player1)) +DestroyGold(25000) SetGlobal("C#Br_WriteBookPage07","GLOBAL",1)~ + scribe_book_03 -/* "c#brbo08" */ +/* "c#brbo08" - Pierce Shield (spell level 8) */ + ~Global("C#Br_WriteBook","LOCALS",2) PartyHasItem("SCRL9A") -PartyGoldGT(4999)~ + @3630 DO ~GiveItemCreate("c#brbo08",Player1,1,0,0) SetGlobal("C#Br_WriteBookPage08","GLOBAL",1)~ + scribe_book_04 +PartyGoldGT(24999)~ + @3630 DO ~GiveItemCreate("c#brbo08",Player1,1,0,0) DestroyGold(25000) SetGlobal("C#Br_WriteBookPage08","GLOBAL",1)~ + scribe_book_04 + ~GlobalGT("C#Br_WriteBook","LOCALS",2) PartyHasItem("SCRL9A") -PartyGoldGT(4999)~ + @3630 DO ~SetGlobal("C#Br_WriteBookPage08","GLOBAL",1)~ + scribe_book_03 +PartyGoldGT(24999)~ + @3630 DO ~DestroyGold(25000) SetGlobal("C#Br_WriteBookPage08","GLOBAL",1)~ + scribe_book_03 + ~Global("C#Br_WriteBook","LOCALS",2) !PartyHasItem("SCRL9A") HasItem("SCRL9A","C#Brandock") -PartyGoldGT(4999)~ + @3630 DO ~GiveItemCreate("c#brbo08",Player1,1,0,0) +PartyGoldGT(24999)~ + @3630 DO ~GiveItemCreate("c#brbo08",Player1,1,0,0) ActionOverride("C#Brandock",GiveItem("SCRL9A",Player1)) -SetGlobal("C#Br_WriteBookPage08","GLOBAL",1)~ + scribe_book_04 +DestroyGold(25000) SetGlobal("C#Br_WriteBookPage08","GLOBAL",1)~ + scribe_book_04 + ~GlobalGT("C#Br_WriteBook","LOCALS",2) !PartyHasItem("SCRL9A") HasItem("SCRL9A","C#Brandock") -PartyGoldGT(4999)~ + @3630 DO ~ActionOverride("C#Brandock",GiveItem("SCRL9A",Player1)) -SetGlobal("C#Br_WriteBookPage08","GLOBAL",1)~ + scribe_book_03 +PartyGoldGT(24999)~ + @3630 DO ~ActionOverride("C#Brandock",GiveItem("SCRL9A",Player1)) +DestroyGold(25000) SetGlobal("C#Br_WriteBookPage08","GLOBAL",1)~ + scribe_book_03 -/* "c#brbo09" */ +/* "c#brbo09" - Bigby's Crushing Hand (spell level 9) */ + ~Global("C#Br_WriteBook","LOCALS",2) PartyHasItem("SCRLB2") -PartyGoldGT(4999)~ + @3631 DO ~GiveItemCreate("c#brbo09",Player1,1,0,0) SetGlobal("C#Br_WriteBookPage09","GLOBAL",1)~ + scribe_book_04 +PartyGoldGT(49999)~ + @3631 DO ~GiveItemCreate("c#brbo09",Player1,1,0,0) DestroyGold(50000) SetGlobal("C#Br_WriteBookPage09","GLOBAL",1)~ + scribe_book_04 + ~GlobalGT("C#Br_WriteBook","LOCALS",2) PartyHasItem("SCRLB2") -PartyGoldGT(4999)~ + @3631 DO ~SetGlobal("C#Br_WriteBookPage09","GLOBAL",1)~ + scribe_book_03 +PartyGoldGT(49999)~ + @3631 DO ~DestroyGold(50000) SetGlobal("C#Br_WriteBookPage09","GLOBAL",1)~ + scribe_book_03 + ~Global("C#Br_WriteBook","LOCALS",2) !PartyHasItem("SCRLB2") HasItem("SCRLB2","C#Brandock") -PartyGoldGT(4999)~ + @3631 DO ~GiveItemCreate("c#brbo09",Player1,1,0,0) +PartyGoldGT(49999)~ + @3631 DO ~GiveItemCreate("c#brbo09",Player1,1,0,0) ActionOverride("C#Brandock",GiveItem("SCRLB2",Player1)) -SetGlobal("C#Br_WriteBookPage09","GLOBAL",1)~ + scribe_book_04 +DestroyGold(50000) SetGlobal("C#Br_WriteBookPage09","GLOBAL",1)~ + scribe_book_04 + ~GlobalGT("C#Br_WriteBook","LOCALS",2) !PartyHasItem("SCRLB2") HasItem("SCRLB2","C#Brandock") -PartyGoldGT(4999)~ + @3631 DO ~ActionOverride("C#Brandock",GiveItem("SCRLB2",Player1)) -SetGlobal("C#Br_WriteBookPage09","GLOBAL",1)~ + scribe_book_03 +PartyGoldGT(49999)~ + @3631 DO ~ActionOverride("C#Brandock",GiveItem("SCRLB2",Player1)) +DestroyGold(50000) SetGlobal("C#Br_WriteBookPage09","GLOBAL",1)~ + scribe_book_03 -/* "c#brbo10" */ +/* "c#brbo10" - Chain Contingency (spell level 9) */ + ~Global("C#Br_WriteBook","LOCALS",2) PartyHasItem("SCRL9Q") -PartyGoldGT(4999)~ + @3632 DO ~GiveItemCreate("c#brbo10",Player1,1,0,0) SetGlobal("C#Br_WriteBookPage10","GLOBAL",1)~ + scribe_book_04 +PartyGoldGT(49999)~ + @3632 DO ~GiveItemCreate("c#brbo10",Player1,1,0,0) DestroyGold(50000) SetGlobal("C#Br_WriteBookPage10","GLOBAL",1)~ + scribe_book_04 + ~GlobalGT("C#Br_WriteBook","LOCALS",2) PartyHasItem("SCRL9Q") -PartyGoldGT(4999)~ + @3632 DO ~SetGlobal("C#Br_WriteBookPage10","GLOBAL",1)~ + scribe_book_03 +PartyGoldGT(49999)~ + @3632 DO ~DestroyGold(50000) SetGlobal("C#Br_WriteBookPage10","GLOBAL",1)~ + scribe_book_03 + ~Global("C#Br_WriteBook","LOCALS",2) !PartyHasItem("SCRL9Q") HasItem("SCRL9Q","C#Brandock") -PartyGoldGT(4999)~ + @3632 DO ~GiveItemCreate("c#brbo10",Player1,1,0,0) +PartyGoldGT(49999)~ + @3632 DO ~GiveItemCreate("c#brbo10",Player1,1,0,0) ActionOverride("C#Brandock",GiveItem("SCRL9Q",Player1)) -SetGlobal("C#Br_WriteBookPage10","GLOBAL",1)~ + scribe_book_04 +DestroyGold(50000) SetGlobal("C#Br_WriteBookPage10","GLOBAL",1)~ + scribe_book_04 + ~GlobalGT("C#Br_WriteBook","LOCALS",2) !PartyHasItem("SCRL9Q") HasItem("SCRL9Q","C#Brandock") -PartyGoldGT(4999)~ + @3632 DO ~ActionOverride("C#Brandock",GiveItem("SCRL9Q",Player1)) -SetGlobal("C#Br_WriteBookPage10","GLOBAL",1)~ + scribe_book_03 +PartyGoldGT(49999)~ + @3632 DO ~ActionOverride("C#Brandock",GiveItem("SCRL9Q",Player1)) +DestroyGold(50000) SetGlobal("C#Br_WriteBookPage10","GLOBAL",1)~ + scribe_book_03 /* not yet */ ++ ~PartyGoldLT(499)~ + @3028 + scribe_scoll_02 + ~LevelLT("C#Brandock",18)~ + @3633 + scribe_scoll_02 ++ @3634 + scribe_scoll_02 @@ -357,16 +356,16 @@ SAY @3635 IF ~~ THEN DO ~//SetGlobal("c#brbok1","GLOBAL",0) //ClearAllActions() StartCutSceneMode() StartCutScene("c#brcut5") IncrementGlobal("C#Br_WriteBook","LOCALS",1) -SetGlobal("C#Br_Scrollscribing","GLOBAL",2) -DestroyGold(5000) CreateCreatureObject("C#Brhelp",Myself,0,0,0)~ EXIT +SetGlobal("c#brscrl","GLOBAL",2) +CreateCreatureObject("C#Brhelp",Myself,0,0,0)~ EXIT END IF ~~ THEN scribe_book_04 SAY @3636 IF ~~ THEN DO ~IncrementGlobal("C#Br_WriteBook","LOCALS",1) IncrementGlobal("C#Br_ScribeBookComment","LOCALS",1) -SetGlobal("C#Br_Scrollscribing","GLOBAL",2) -DestroyGold(5000) CreateCreatureObject("C#Brhelp",Myself,0,0,0)~ EXIT +SetGlobal("c#brscrl","GLOBAL",2) +CreateCreatureObject("C#Brhelp",Myself,0,0,0)~ EXIT END diff --git a/c#brandock/dialogue/c#brandj_pid_bg1.d b/c#brandock/dialogue/c#brandj_pid_bg1.d index 92c9973..81832c9 100644 --- a/c#brandock/dialogue/c#brandj_pid_bg1.d +++ b/c#brandock/dialogue/c#brandj_pid_bg1.d @@ -173,19 +173,20 @@ Global("C#Br_BookRestore","GLOBAL",0) Global("Chapter","GLOBAL",%tutu_chapter_7%) Global("DukeThanks","GLOBAL",0) GlobalGT("C#Brandock_Possessions","GLOBAL",15) +Global("C#Br_BookRestore","GLOBAL",0) Global("C#Br_BookRestoreCH7","LOCALS",0) !Dead("FIREB1") -!Dead("FIREBE")~ + @414 /* ~Brandock, I might know a friendly mage who could help with restoring the book: Firebead Elvenhair. But, considering we are being searched for murder currently, I guess we need to clear our names before this option gets realistic.~ */ DO ~SetGlobal("C#Br_BookRestoreCH7","LOCALS",1)~ EXIT +!Dead("FIREBE")~ + @414 /* ~Brandock, I might know a friendly mage who could help with restoring the book: Firebead Elvenhair. But, considering we are being searched for murder currently, I guess we need to clear our names before this option gets realistic.~ */ DO ~SetGlobal("C#Br_BookRestoreCH7","LOCALS",1)~ + elvenhair_pid + ~%BG1_BEFORE_TRANSITION% OR(2) !Global("Chapter","GLOBAL",%tutu_chapter_7%) !Global("DukeThanks","GLOBAL",0) GlobalGT("C#Brandock_Possessions","GLOBAL",15) -Global("C#Br_BookRestoreCH7","LOCALS",1) Global("C#Br_BookRestore","GLOBAL",0) +Global("C#Br_BookRestoreCH7","LOCALS",1) !Dead("FIREB1") -!Dead("FIREBE")~ + @415 /* ~So - our names are cleared. Time to go to Elvenhair and ask him for help with your book!~ */ + elvenhair_pid +!Dead("FIREBE")~ + @415 /* ~So - our names are cleared. Time to go to Elvenhair and ask him for help with your book!~ */ + elvenhair_pid_00 + ~%BG1_BEFORE_TRANSITION% Global("C#Br_BookRestore","GLOBAL",4) @@ -767,7 +768,14 @@ IF ~~ THEN c#brandj elvenhair_pid @100 == c#brandj IF ~GlobalGT("C#Br_LorePathElvenhair","GLOBAL",0)~ THEN @101 == c#brandj IF ~Global("C#Br_LorePathElvenhair","GLOBAL",0)~ THEN @102 -== c#brandj @103 +END +IF ~~ THEN + elvenhair_pid_00 +IF ~Global("Chapter","GLOBAL",%tutu_chapter_7%) +Global("DukeThanks","GLOBAL",0)~ THEN + elvenhair_pid_07 + +CHAIN +IF ~~ THEN c#brandj elvenhair_pid_00 +@103 END ++ @104 + elvenhair_pid_01 ++ @105 + elvenhair_pid_02 @@ -818,6 +826,11 @@ SetGlobal("C#Br_BookRestore","GLOBAL",1)~ SOLVED_JOURNAL @10021 /* ~Brandock Wan I promised Brandock that we'd go to Firebead Elvenhair in Beregost. Brandock wants to ask him for help with retoring his destroyed book.~ */ EXIT END +IF ~~ THEN elvenhair_pid_07 +SAY @478 +IF ~~ THEN EXIT +END + /* half-ogre change */ IF ~~ THEN halfogre_shift_01 diff --git a/c#brandock/readme.brandock.english.html b/c#brandock/readme.brandock.english.html index 02de4ff..cccdb79 100644 --- a/c#brandock/readme.brandock.english.html +++ b/c#brandock/readme.brandock.english.html @@ -98,8 +98,10 @@

Compatibility with other mods and Install Order The mod is compatible with Endless BG1.
As an NPC mod, this mod should be installed after quest mods and before tweak mods. There is crossmod content included in the mod which should show if the install order suggestions are being followed.
To see most cross mod content, install the mod in the following order (this does not mean that the listed mods are listed in best install order!):
-AFTER: BGQE, The Calling, BG1NPC, Brage's Redemption, Gavin BG1, Alternatives, NPC Strongholds
-BEFORE: Grey the Dog.
+(at least the Crossmod component:) AFTER: BGQE, The Calling, BG1NPC, Brage's Redemption, Gavin BG1, Alternatives, NPC Strongholds
+(main Brandock component:) BEFORE: Grey the Dog.
+Crossmod with aTweaks "Allow Mages to scribe memorized spells onto scrolls": for aTweaks component "Allow Mages to scribe memorized spells onto scrolls" there is an own compatibility component in the Brandock mod with two options. Option 1 will disable the aTweaks scribe scroll ability completely. Option 2 will integrate the aTweaks option into Brandock's original scroll scribing ablity. This means the following: with option 2, Brandock will only gain the ability like in his original quest, not necessarily at level 9, and he will only be able to write one scroll per day. Do not install the compatibility component to have the original aTweaks ability alongside Brandock's own scribe scroll ability.
+

Description

@@ -233,6 +235,13 @@

Copyright

Version History

Version Beta 13:
+- Brandock should learn his ability to scribe scolls.
+- Brandock's special abilities should have descriptions.
+- Brandock's special ability "Shapeshift: Half-Ogre" should be usable in all instances (wild magic zone etc.).
+- Reworked Brandock's scribe scroll ability (the according dialogue and scripts). Unified for BG1 and BGII, fixed bugs, increased costs for scrolls.
+-New component: Crossmod with aTweaks "Allow Mages to scribe memorized spells onto scrolls"
+- PID option about Elvenhair after Candlekeep should not be available if book restoration quest is already active.
+- Elvenhair should initiate dialogue if clicking on his table in all relevant cases.
- More interjections in Korlasz Tomb.
- Minor internal restructuring with regard to how Korlasz Tomb is handled.
- Improved compatibility and crossmod with EndlessBG1 and Transitions mod.
diff --git a/c#brandock/readme.brandock.german.html b/c#brandock/readme.brandock.german.html index c912538..38814d0 100644 --- a/c#brandock/readme.brandock.german.html +++ b/c#brandock/readme.brandock.german.html @@ -98,8 +98,9 @@

Kompatiblität mit anderen Mods und Install Die Mod ist mit Endless BG1 kompatibel.
Da es sich um eine NPC Mod handelt, sollte sie nach Questmods und vor Tweakmods installiert werden. Die Mod enthält Crossmod-Inhalte, für die die vorgeschlagene Installationsreihenfolge eingehalten werden sollte.
Für die Crossmod-Inhalte wird folgende Modreihenfolge empfohlen (Achtung, die aufgelisteten Mods stehen nicht unbedingt in der empfohlenenen Installationsreihenfolge):
-Brandock Mod installieren NACH den folgenden Mods: BGQE, The Calling, BG1NPC, Brages Redemption, Gavin BG1, Alternativen, NPC Strongholds
-Brandock Mod installieren BEVOR den folgenden Mods: Grey der Hund.
+Brandock Mod oder zumindest die Kompatibilitätskomponente installieren NACH den folgenden Mods: BGQE, The Calling, BG1NPC, Brages Redemption, Gavin BG1, Alternativen, NPC Strongholds
+Brandock Mod Hauptkomponente installieren BEVOR den folgenden Mods: Grey der Hund.
+Crossmod with aTweaks "Allow Mages to scribe memorized spells onto scrolls": for aTweaks component "Allow Mages to scribe memorized spells onto scrolls" there is an own compatibility component in the Brandock mod with two options. Option 1 will disable the aTweaks scribe scroll ability completely. Option 2 will integrate the aTweaks option into Brandock's original scroll scribing ablity. This means the following: with option 2, Brandock will only gain the ability like in his original quest, not necessarily at level 9, and he will only be able to write one scroll per day. Do not install the compatibility component to have the original aTweaks ability alongside Brandock's own scribe scroll ability.

Modinhalte

@@ -245,6 +246,13 @@

Copyright

Versionshistorie

Version Beta 13:
+- Brandock should learn his ability to scribe scolls.
+- Brandock's special abilities should have descriptions.
+- Brandock's special ability "Shapeshift: Half-Ogre" should be usable in all instances (wild magic zone etc.).
+- Reworked Brandock's scribe scroll ability (the according dialogue and scripts). Unified for BG1 and BGII, fixed bugs, increased costs for scrolls.
+-New component: Crossmod with aTweaks "Allow Mages to scribe memorized spells onto scrolls"
+- PID option about Elvenhair after Candlekeep should not be available if book restoration quest is already active.
+- Elvenhair should initiate dialogue if clicking on his table in all relevant cases.
- More interjections in Korlasz Tomb.
- Minor internal restructuring with regard to how Korlasz Tomb is handled.
- Improved compatibility and crossmod with EndlessBG1 and Transitions mod.
diff --git a/c#brandock/scripts/c#br03.baf b/c#brandock/scripts/c#br03.baf index 82bce1e..ed51a19 100644 --- a/c#brandock/scripts/c#br03.baf +++ b/c#brandock/scripts/c#br03.baf @@ -63,7 +63,6 @@ THEN EraseJournalEntry(@10050) EraseJournalEntry(@10054) AddJournalEntry(@10012,QUEST_DONE) - ActionOverride("C#Brandock",ReallyForceSpellRES("c#brscra","C#Brandock")) /* ## find Brandock's first tutor quest ActionOverride("C#Brandock",SetGlobal("##","GLOBAL",##)) diff --git a/c#brandock/scripts/c#brando_baldur_scroll.baf b/c#brandock/scripts/c#brando_baldur_scroll.baf index 8fee7fa..14e77f2 100644 --- a/c#brandock/scripts/c#brando_baldur_scroll.baf +++ b/c#brandock/scripts/c#brando_baldur_scroll.baf @@ -1,13 +1,13 @@ /* party rested: reset scroll scribing variable. */ IF %BGT_VAR% - GlobalGT("C#Br_Scrollscribing","GLOBAL",0) + GlobalGT("c#brscrl","GLOBAL",0) // !RealGlobalTimerExpired("C#7thPartyMemberRestAfterTimer","GLOBAL") RealGlobalTimerNotExpired("C#7thPartyMemberRestAfterTimer","GLOBAL") THEN RESPONSE #100 RealSetGlobalTimer("C#7thPartyMemberRestAfterTimer","GLOBAL",15) - SetGlobal("C#Br_Scrollscribing","GLOBAL",0) + SetGlobal("c#brscrl","GLOBAL",0) Continue() END diff --git a/c#brandock/scripts/c#brando_bg1_lorepath.baf b/c#brandock/scripts/c#brando_bg1_lorepath.baf index 4c5c2b2..dbc61a1 100644 --- a/c#brandock/scripts/c#brando_bg1_lorepath.baf +++ b/c#brandock/scripts/c#brando_bg1_lorepath.baf @@ -13,6 +13,21 @@ THEN SetGlobal("C#Br_LorePathJournalEntry","LOCALS",1) END +/* Firebeads desk. Dialogue didn't always trigger so I'll put it here. Variable is set by clicking on Firebead's desk (c#bredsk.baf) */ +IF + InMyArea(Player1) + InMyArea("firebe") + !StateCheck("firebe",CD_STATE_NOTVALID) + InMyArea("C#Brandock") + OR(2) InParty("C#Brandock") Global("C#BrandockJoined","GLOBAL",2) + !StateCheck("C#Brandock",CD_STATE_NOTVALID) + Global("C#Br_LorePathElvenhair","GLOBAL",1) +THEN + RESPONSE #100 + ActionOverride("firebe",StartDialogNoSet("C#Brandock")) +END + + /* lore path: zordral */ /* activation */ IF %BGT_VAR% diff --git a/c#brandock/scripts/c#brando_bg1_scrollscribing.baf b/c#brandock/scripts/c#brando_bg1_scrollscribing.baf new file mode 100644 index 0000000..1b21aea --- /dev/null +++ b/c#brandock/scripts/c#brando_bg1_scrollscribing.baf @@ -0,0 +1,31 @@ +/* Firebeads desk. Dialogue didn't always trigger so I'll put it here. Variable is set by clicking on Firebead's desk (c#bredsk.baf) */ +IF + InMyArea(Player1) + InMyArea("firebe") + !StateCheck("firebe",CD_STATE_NOTVALID) + InMyArea("C#Brandock") + OR(2) InParty("C#Brandock") Global("C#BrandockJoined","GLOBAL",2) + !StateCheck("C#Brandock",CD_STATE_NOTVALID) + Global("C#Br_ScribeScrollQuest","GLOBAL",2) +THEN + RESPONSE #100 + ActionOverride("firebe",StartDialogNoSet("C#Brandock")) +END + +IF + AreaCheck("%Beregost_FirebeadsHouse_L1%") + InMyArea(Player1) + !Dead("firebe") + !StateCheck("C#Brandock",CD_STATE_NOTVALID) + OR(2) InParty("C#Brandock") Global("C#BrandockJoined","GLOBAL",2) + Global("C#Br_ScribeScrollQuest","GLOBAL",4) + !Global("C#Brando_BookquestHold","GLOBAL",1) + OR(2) + Global("c#brscrl","GLOBAL",1) + Global("c#brscrl","GLOBAL",4) +THEN + RESPONSE #100 + SetInterrupt(FALSE) + StartDialogNoSet("C#Brandock") + SetInterrupt(TRUE) +END \ No newline at end of file diff --git a/c#brandock/scripts/c#brando_bg2.baf b/c#brandock/scripts/c#brando_bg2.baf index 3f5086d..fae137d 100644 --- a/c#brandock/scripts/c#brando_bg2.baf +++ b/c#brandock/scripts/c#brando_bg2.baf @@ -70,7 +70,6 @@ THEN EraseJournalEntry(@10050) EraseJournalEntry(@10054) AddJournalEntry(@10012,QUEST_DONE) - ReallyForceSpellRES("c#brscra","C#Brandock") SetInterrupt(TRUE) END diff --git a/c#brandock/scripts/c#brando_scrollscribing.baf b/c#brandock/scripts/c#brando_scrollscribing.baf index 1d98b20..febbce9 100644 --- a/c#brandock/scripts/c#brando_scrollscribing.baf +++ b/c#brandock/scripts/c#brando_scrollscribing.baf @@ -1,6 +1,7 @@ /* scroll scribing: variable is set via "Scribe Scolls" ability */ /* Initiation */ IF + !AreaCheck("%Beregost_FirebeadsHouse_L1%") OR(2) InParty(Myself) Global("C#BrandockJoined","GLOBAL",2) !See([ENEMY]) CombatCounter(0) @@ -13,6 +14,22 @@ THEN StartDialogNoSet(Myself) END +/* not in a hostile environment */ +IF + OR(2) InParty(Myself) Global("C#BrandockJoined","GLOBAL",2) + OR(3) + See([ENEMY]) + !CombatCounter(0) + StateCheck(Myself,CD_STATE_NOTVALID) +// See(Player1) +// !StateCheck(Player1,CD_STATE_NOTVALID) + Global("c#brscrl","GLOBAL",1) +THEN + RESPONSE #100 + DisplayStringHead(Myself,@1286) + SetGlobal("c#brscrl","GLOBAL",3) +END + /* Party has Cursed Scroll of Weakness: identified */ IF OR(2) InParty(Myself) Global("C#BrandockJoined","GLOBAL",2) @@ -107,4 +124,14 @@ IF THEN RESPONSE #100 IncrementGlobal("C#Br_HasScrollSCRL18","LOCALS",1) +END + +/* gains scroll scribing ability - also always for newly spawned cre in SoD / BGII */ +IF + GlobalGT("C#Br_ScribeScrollQuest","GLOBAL",7) + Global("C#Br_GiveScribeAbility","LOCALS",0) +THEN + RESPONSE #100 + AddSpecialAbility("c#brscrl") + SetGlobal("C#Br_GiveScribeAbility","LOCALS",1) END \ No newline at end of file diff --git a/c#brandock/scripts/c#brando_sod.baf b/c#brandock/scripts/c#brando_sod.baf index 677af62..1af5643 100644 --- a/c#brandock/scripts/c#brando_sod.baf +++ b/c#brandock/scripts/c#brando_sod.baf @@ -45,7 +45,6 @@ THEN EraseJournalEntry(@10050) EraseJournalEntry(@10054) AddJournalEntry(@10012,QUEST_DONE) - ReallyForceSpellRES("c#brscra","C#Brandock") SetInterrupt(TRUE) END diff --git a/c#brandock/scripts/c#brando_sod_bd0010.baf b/c#brandock/scripts/c#brando_sod_bd0010.baf index a329993..7409084 100644 --- a/c#brandock/scripts/c#brando_sod_bd0010.baf +++ b/c#brandock/scripts/c#brando_sod_bd0010.baf @@ -68,7 +68,6 @@ THEN EraseJournalEntry(@10050) EraseJournalEntry(@10054) AddJournalEntry(@10012,QUEST_DONE) - ReallyForceSpellRES("c#brscra","C#Brandock") /* ## /* find Brandock's first tutor quest */ diff --git a/c#brandock/scripts/c#brando_sod_bd0101.baf b/c#brandock/scripts/c#brando_sod_bd0101.baf index 1184389..c2d7c4b 100644 --- a/c#brandock/scripts/c#brando_sod_bd0101.baf +++ b/c#brandock/scripts/c#brando_sod_bd0101.baf @@ -84,7 +84,6 @@ THEN EraseJournalEntry(@10050) EraseJournalEntry(@10054) AddJournalEntry(@10012,QUEST_DONE) - ReallyForceSpellRES("c#brscra","C#Brandock") /* ## /* find Brandock's first tutor quest */ ActionOverride("C#Brandock",SetGlobal("##","GLOBAL",##)) diff --git a/c#brandock/scripts/c#bredsk.baf b/c#brandock/scripts/c#bredsk.baf index ada6ac8..5eea81a 100644 --- a/c#brandock/scripts/c#bredsk.baf +++ b/c#brandock/scripts/c#bredsk.baf @@ -53,10 +53,9 @@ IF THEN RESPONSE #100 SetInterrupt(FALSE) - DisplayString(Myself,~Today, Elvenhair's desk is loaded with magic books, tomes, and scrolls, some in languages you do not know. Brandock is already eyeing the titles, restraining himself visibly from touching the books.~) + DisplayString(Myself,@1038) Wait(2) SetGlobal("C#Br_LorePathElvenhair","GLOBAL",1) - ActionOverride("firebe",StartDialogNoSet("C#Brandock")) SetInterrupt(TRUE) END @@ -72,8 +71,9 @@ IF !Global("C#Brando_BookquestHold","GLOBAL",1) THEN RESPONSE #100 + SetInterrupt(FALSE) SetGlobal("C#Br_ScribeScrollQuest","GLOBAL",2) - ActionOverride("firebe", StartDialogNoSet("C#Brandock")) + SetInterrupt(TRUE) END IF @@ -84,25 +84,22 @@ IF OR(2) InParty("C#Brandock") Global("C#BrandockJoined","GLOBAL",2) Global("C#Br_ScribeScrollQuest","GLOBAL",4) !Global("C#Brando_BookquestHold","GLOBAL",1) -//? GlobalLT("C#Br_ScribeScrollQuest","GLOBAL",2) OR(2) - Global("C#Br_Scrollscribing","GLOBAL",0) - Global("C#Br_Scrollscribing","GLOBAL",3) + Global("c#brscrl","GLOBAL",0) + Global("c#brscrl","GLOBAL",3) THEN RESPONSE #100 - IncrementGlobal("C#Br_Scrollscribing","GLOBAL",1) - ActionOverride("C#Brandock", StartDialogNoSet("C#Brandock")) + SetInterrupt(FALSE) + IncrementGlobal("c#brscrl","GLOBAL",1) + SetInterrupt(TRUE) END - - - /* If no other conditions are true */ IF Clicked([ANYONE]) THEN RESPONSE #100 - DisplayString(Myself,~This is Elvenhair's desk. You see piles of books, scrolls, and a set of differently shaped quills.~) + DisplayString(Myself,@1039) END \ No newline at end of file diff --git a/c#brandock/spells/c#brscra.spl b/c#brandock/spells/c#brscra.spl deleted file mode 100644 index 1e3fe1571998dcf227cb7dfa4dd24b6db3aa1442..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 202 zcmWFz@KFdeR8aU21ohKqFdzdKWDXje5rtor#J~`m2NJ?&P7zR?kzp282O|RuLx4}D qzk84?P!t3~fDKGSco5Oma5)ABP9~6a3PZATQc-boQ4Ux!8UX;YL>4gs diff --git a/c#brandock/spells/c#brscrl.spl b/c#brandock/spells/c#brscrl.spl index 8eeeb484289a47b3a160baa678d8ceb85d225a60..f1760a7e567dc7a20653eb79cf27a95338733a90 100644 GIT binary patch delta 13 UcmX@bc#3g?B=Z3Vrin7^03aa*U;qFB delta 13 UcmX@bc#3g?B(nnp!$g^N038_v-T(jq diff --git a/c#brandock/spells/c#brshnf.spl b/c#brandock/spells/c#brshnf.spl index afb97040083e055d698fd82c97e62bd3252ab1c9..5e0874be4486eabb38b136837320ad7ad3a927ce 100644 GIT binary patch delta 31 ncmbQmGK*z`B+CH?CYFgC#V4BFVRH%!_V9O~xKU)X7UKs1oVp5m delta 31 ncmbQmGK*z`Bntxr1IxsX;uB5ouq720XXK|(+$b_xi}3>hl5Prj diff --git a/c#brandock/spells/c#brshog.spl b/c#brandock/spells/c#brshog.spl index 900b25e358a14b935722c10feeb45595baa20ab7..bc71cf1d7a122e2414f47b96d78dad6cd8e406f6 100644 GIT binary patch delta 34 ocmaFG{EB&kB+CH?CYFhc!W#|p7&)Akoq~cr{M~{4$vYVh0ke4t*#H0l delta 34 ocmaFG{EB&kBntxr1It83;f)4)j2y|zNkzpO`RPFZ, but I need rest before I can focus on scribing another scroll.~ +/* @3106 - @3108 used in tp2 (crossmod with Tweaks */ +@3106 = ~I want to chose a different spell for you to write, Brandock.~ +@3107 = ~Write one of your memorized spells, instead.~ /* brandock_scrollscribing_bg1.d */ @3500 = ~(Brandock takes a deep breath.) Here we are. I said I'd do it. Anywhere... so I can as well just do it here. Here, of all places...~ @@ -1741,9 +1744,9 @@ @3600 = ~So, here it is - the De Simplex Magicae, with one spell. We should try whether it works as intended as soon as possible. I'm drained... I should go wash up, I'm sweated through!~ @3601 = ~This was the last page I can write for now. Here is the book.~ @3602 = ~ - about the De Simplex Magicae. I know I've carried this around a lot for no appaerent reason, and it gave us - me, at least - some headaches in the past. I think, I... I think, I mean... (exhales) I think I know how to scribe spells into it now.~ -@3603 = ~It'll consume one spell scroll of the wanted spell and 5000 gold per page. Let me know if you want me to try this... You'll find me in that corner over there, having a fit of panic about my own courage.~ +@3603 = ~Per page, it'll consume one spell scroll of the wanted spell and tenth the sum in gold a normal spell scroll of the according spell would cost when writing it. Let me know if you want me to try this... You'll find me in that corner over there, having a fit of panic about my own courage.~ @3604 = ~Yes, I would *love* to try this, even though my palms are already sweaty. Let me see what I could write, hmm...~ -@3605 = ~Assuming we have the appropriate scroll, I could write the following spells into it.~ +@3605 = ~Assuming we have the appropriate scroll and gold, I could write the following spells into the De Simplex Magicae.~ @3606 = ~I only have five accessible pages in total, though, so you should chose carefully.~ @3607 = ~My ressources allow for four more spells.~ @3608 = ~My ressources allow for three more spells.~ @@ -1784,7 +1787,7 @@ @3643 = ~I can't make all spell scrolls work like this. The ones I can I'll happily scribe for you in the future!~ @3644 = ~I need to study this further. I am *so* close to understanding how to make a scroll that regenerates once a day.~ @3645 = ~I would like to experiment with what I have seen being used in the De Simplex Magicae. The magic behind its durability - how it was made into a book which would remain after the spells being cast, making it a source of infinite spell charges.~ -@3646 = ~I have an idea how to increase durability of the scrolls - so they won't be used up after the first use. I'd need to experiment with this a bit, though - and every scroll will consume 1000 gold. Unless you wanted me to scribe some other scroll, of course, then this will have to wait.~ +@3646 = ~I have an idea how to increase durability of the scrolls - so they won't be used up after the first use. I'd need to experiment with this a bit, though - and every scroll will consume thrice the amount of a normal scroll in gold. Unless you wanted me to scribe some other scroll, of course, then this will have to wait.~ @3647 = ~Gladly. Make yourself comfortable - this could take a while.~ @3648 = ~, I'm still grabbing the concept of having completed the De Simplex Magicae. It's a real magic book of spells again - Wait! (Brandock pauses.) Wow! I could go around, telling people I wrote a magic book! Heh.~ @3649 = ~Indeed, Brandock. And a handy book it is!~ @@ -1806,8 +1809,6 @@ @3665 = ~Of course, but I'm still trying to grasp the way I came so far.~ @3666 = ~We don't have to talk about it if you don't feel like it.~ @3667 = ~I'm not sure what I'll do with all this knowledge yet - other than I'll write own books, once these times of madness will be over and the gods will grant me a quiet life. What I do know is that I will feel responsible for this knowledge not getting into the wrong hands.~ - -/* brandock_scrollscribing_bg2.d */ @3668 = ~Oh, look at this book - it makes casting spells possible for anyone!... This... this is even more powerful than the De Simplex Magicae! I need to study this...~ @3669 = ~Don't drool on it, please.~ @3670 = ~Anything you could learn from that?~ diff --git a/c#brandock/tra/english/GAME.TRA b/c#brandock/tra/english/GAME.TRA index a1f45a5..c88b8c4 100644 --- a/c#brandock/tra/english/GAME.TRA +++ b/c#brandock/tra/english/GAME.TRA @@ -365,6 +365,34 @@ Saving Throw: 1/2 When the wizard casts this spell, a jet of searing flame shoots from his fingertips. His hands must be held so as to send forth a fanlike sheet of flames: the wizard's thumbs must touch each other and fingers must be spread. The burning hands send out flame jets of five-foot length in a horizontal arc of about 60 degrees in front of the wizard. Any creature in the area of the flames suffers 1d3 hit points of damage, plus 2 points for each level of the spellcaster, to a maximum of 1d3 + 20 points of fire damage. Those successfully saving vs. spell receive half damage.~ +/* new for v13 */ +@125 = ~Scribe Scrolls +It took Brandock a while to gather his courage but now he is able to scribe a scroll once a day. +The cost of any raw materials that are used in the process must be covered in full. Scrolls will consume gold in the making depending on the spell level: +1st level spells: 50 gold +2nd level spells: 100 gold +3rd level spells: 150 gold +4th level spells: 250 gold +5th level spells: 500 gold +6th level spells: 1000 gold +7th level spells: 1500 gold +8th level spells: 2500 gold +9th level spells: 5000 gold. +The scrolls he can write depends on his level as a mage and other experiences. He will also use these times to scribe any advanced scrolls or book pages he thought of after his book is restored and travelling a while with .~ +@126 = ~Shapeshift: Half-Ogre + +Strength: 18/85 +Dexterity: 9 + +Base Armor Class: 5 +Number of Attacks: 1 +Attack Damage: 4d6 (crushing), strikes as +1 weapon + +Special Abilities: +– Increased movement rate~ +@127 = ~Shapeshift: Natural Form +This will transform Brandock back into his human form. Despite his fears and panic attacks, he is able to return to his natural shape any time he wants.~ + /* Brandock cre things */ @500 = ~Brandock~ @501 = ~~ [c#bran01] //SAY MORALE @@ -451,6 +479,8 @@ When the wizard casts this spell, a jet of searing flame shoots from his fingert @1035 = ~Oh, a library! (Brandock murmurs while scanning book covers.) Hmm, no magic books, as far as I can see.~ @1036 = ~Didn't seem to have helped him here - but this spellbook is still an interesting read.~ @1037 = ~Three interesting spellbooks, but I'd prefer I wouldn't have had the chance to go through these...~ +@1038 = ~Today, Elvenhair's desk is loaded with magic books, tomes, and scrolls, some in languages you do not know. Brandock is already eyeing the titles, restraining himself visibly from touching the books.~ +@1039 = ~This is Elvenhair's desk. You see piles of books, scrolls, and a set of differently shaped quills.~ /* SoD */ @1250 = ~Hey, ! , over here!~ @@ -494,8 +524,9 @@ When the wizard casts this spell, a jet of searing flame shoots from his fingert /* new for vbeta 11 */ @1285 = ~For some opponents, getting to their spellbooks is utterly satisfying. Hephernaan is one of those.~ +/* @1286 in c#brando_scrollscribing.baf */ +@1286 = ~I'm sorry - can't do this here!~ /* -@1286 = @1287 = @1288 = */ diff --git a/c#brandock/tra/english/JOURNAL.TRA b/c#brandock/tra/english/JOURNAL.TRA index 12e02ca..c8acd96 100644 --- a/c#brandock/tra/english/JOURNAL.TRA +++ b/c#brandock/tra/english/JOURNAL.TRA @@ -30,11 +30,16 @@ Brandock found his missing possessions - or what is left of them, to be precise. I returned the pair of boots to Travenhurst Manor. The servant was quite happy they were in such good condition.~ @10012 = ~Brandock's Scroll Scribing Skills -Brandock can scribe scrolls once a day. Scrolls of level 1 are free. Higher level spells will consume gold in the making: -level 2&3: 100 gold -level 4&5: 200 gold -level 6&7: 350 gold -level 8&9: 500 gold. +Brandock can scribe scrolls once a day. Scrolls will consume gold in the making depending on the spell level: +1st level spells: 50 gold +2nd level spells: 100 gold +3rd level spells: 150 gold +4th level spells: 250 gold +5th level spells: 500 gold +6th level spells: 1000 gold +7th level spells: 1500 gold +8th level spells: 2500 gold +9th level spells: 5000 gold. The scrolls he can write depends on his level as a mage and other experiences.~ @10013 = ~A Fine Pair of Boots~ @@ -136,7 +141,7 @@ Apparently, the De Simplex Magicae had some sort of safety feature implemented w "So, whoever of you fools damaged the book, you found out that a preservation spell makes the book physically whole again. I expect you to make detailed notes about the process, as I want to expand this spell as a way of preserving magical books in whole. So far it only restores the blank pages. Let it be a lesson to you to take better care of magic books in the future. I expect you to fill the pages with spells again - they should continue to benefit from the magic of the book and should be effective accordingly without cost. But let me tell you: this will be a long road for you, because wih your current experience you don't even need to try. And before you do anything, make sure you seek Oghma's wisdom."~ @10057 = ~Brandock Wants to Restore his Book -Brandock will keep the book and his notes about its former contents until he returns into his home land Amn, where he will ask for further help in the Temple of Oghma in Amn.~ +Brandock will keep the book and his notes about its former contents until he returns into his home land Amn, where he will ask for further help in the Temple of Oghma in Athkatla.~ @10058 = ~Brandock Wants to Restore his Book Brandock wants to show his restored book to the priests of Oghma. The Temple of Oghma is in the Dock's District in Athkatla.~ @@ -194,13 +199,13 @@ Malm, the half-ogre who shapeshifted into a human got into trouble and was appar //@10077 = ~##~ @10078 = ~Brandock Wants to Restore his Book -Brandock is ready to write spells into the De Simplex Magicae! For every page, he'll need one spell scroll of the wanted spell and 5000 gold.~ +Brandock is ready to write spells into the De Simplex Magicae! For every page, he'll need one spell scroll of the wanted spell and tenth the sum in gold that a normal spell scroll of the relevant spell would cost.~ @10079 = ~Brandock Wants to Restore his Book Brandock wrote spells onto all pages he has access to in the De Simplex Magicae. He said there is still one empty page, but he'll need more experience to fill it with a spell, too.~ @10080 = ~Brandock Wants to Restore his Book -Brandock is ready to write a spell onto the last empty page of De Simplex Magicae. He'll need a spell scroll of the wanted spell and 5000 gold.~ +Brandock is ready to write a spell onto the last empty page of De Simplex Magicae. He'll need a spell scroll of the wanted spell and 50,000 gold.~ @10081 = ~Brandock Wants to Restore his Book It is done - Brandock restored the De Simplex Magicae, the magic book that was gnawed to shreads by foxes when first we met.~ diff --git a/c#brandock/tra/english/setup.tra b/c#brandock/tra/english/setup.tra index e7ba5cb..bf9549f 100644 --- a/c#brandock/tra/english/setup.tra +++ b/c#brandock/tra/english/setup.tra @@ -42,4 +42,9 @@ @55578 = ~Framed Mod detected.~ @55579 = ~Brandock the Mage: Crossmod Content~ @55580 = ~EndlessBG1 detected.~ -@55581 = ~Transitions Mod detected.~ \ No newline at end of file +@55581 = ~Transitions Mod detected.~ + +@55582 = ~Deactivate aTweak's scribe scroll ability for Brandock~ +@55583 = ~Integrate aTweak's scribe scroll ability into Brandock's original one~ +@55584 = ~Crossmod with aTweaks "Allow Mages to scribe memorized spells onto scrolls"~ +@55585 = ~aTweaks "Allow Mages to scribe memorized spells onto scrolls" needs to be installed.~ \ No newline at end of file diff --git a/c#brandock/tra/german/C#BRANDJ_PID.TRA b/c#brandock/tra/german/C#BRANDJ_PID.TRA index 7bf68a9..1070e2f 100644 --- a/c#brandock/tra/german/C#BRANDJ_PID.TRA +++ b/c#brandock/tra/german/C#BRANDJ_PID.TRA @@ -420,7 +420,7 @@ @475 = ~Hungrig.~ @476 = ~Ich muss hinter die Büsche... das hättte ich nicht sagen sollen.~ @477 = ~[PC Reply]Scheint, als hättet Ihr einen ruhigen Platz für das Schriftrollenschreiben gefunden!~ - +@478 = ~[Brandock]Was für ein "Glück", dass ich mir darüber momentan wohl keine Gedanken machen muss...~ /* SoD */ diff --git a/c#brandock/tra/german/C#BRAND_DIALOGUES.TRA b/c#brandock/tra/german/C#BRAND_DIALOGUES.TRA index 5106f93..81af5fc 100644 --- a/c#brandock/tra/german/C#BRAND_DIALOGUES.TRA +++ b/c#brandock/tra/german/C#BRAND_DIALOGUES.TRA @@ -1688,6 +1688,10 @@ @3103 = ~Schreibt eine haltbare Schriftrolle Zauberschutz durchdringen.~ @3104 = ~Vielleicht doch keine von denen.~ @3105 = ~[Brandock]Habt bitte Verständnis, , aber bevor ich eine weitere Schriftrolle schreiben kann, brauche ich eine gute Rast mit entsprechender Erholung.~ +/* @3106 - @3108 used in tp2 (crossmod with Tweaks */ +@3106 = ~Ich möchte eine anderen Zauber zum Schreiben auswählen, Brandock.~ +@3107 = ~Schreibt eine Schriftrolle für einen Zauber, den Ihr auswendig gelernt habt.~ + /* brandock_scrollscribing_bg1.d */ @3500 = ~(Brandock atmet hörbar ein.) Da sind wir also. Ich sagte ja, dass ich es tun würde. Egal wo... also kann ich es auch genauso gut hier tun. Und hier...~ @@ -1738,9 +1742,9 @@ @3600 = ~So, here it is - the De Simplex Magicae, with one spell. We should try whether it works as intended as soon as possible. I'm drained... I should go wash up, I'm sweated through!~ @3601 = ~This was the last page I can write for now. Here is the book.~ @3602 = ~ - about the De Simplex Magicae. I know I've carried this around a lot for no appaerent reason, and it gave us - me, at least - some headaches in the past. I think, I... I think, I mean... (exhales) I think I know how to scribe spells into it now.~ -@3603 = ~It'll consume one spell scroll of the wanted spell and 5000 gold per page. Let me know if you want me to try this... You'll find me in that corner over there, having a fit of panic about my own courage.~ +@3603 = ~Per page, it'll consume one spell scroll of the wanted spell and tenth the sum in gold a normal spell scroll of the according spell would cost when writing it. Let me know if you want me to try this... You'll find me in that corner over there, having a fit of panic about my own courage.~ @3604 = ~Yes, I would *love* to try this, even though my palms are already sweaty. Let me see what I could write, hmm...~ -@3605 = ~Assuming we have the appropriate scroll, I could write the following spells into it.~ +@3605 = ~Assuming we have the appropriate scroll and gold, I could write the following spells into the De Simplex Magicae.~ @3606 = ~I only have five accessible pages in total, though, so you should chose carefully.~ @3607 = ~My ressources allow for four more spells.~ @3608 = ~My ressources allow for three more spells.~ @@ -1781,7 +1785,7 @@ @3643 = ~I can't make all spell scrolls work like this. The ones I can I'll happily scribe for you in the future!~ @3644 = ~I need to study this further. I am *so* close to understanding how to make a scroll that regenerates once a day.~ @3645 = ~I would like to experiment with what I have seen being used in the De Simplex Magicae. The magic behind its durability - how it was made into a book which would remain after the spells being cast, making it a source of infinite spell charges.~ -@3646 = ~I have an idea how to increase durability of the scrolls - so they won't be used up after the first use. I'd need to experiment with this a bit, though - and every scroll will consume 1000 gold. Unless you wanted me to scribe some other scroll, of course, then this will have to wait.~ +@3646 = ~I have an idea how to increase durability of the scrolls - so they won't be used up after the first use. I'd need to experiment with this a bit, though - and every scroll will consume thrice the amount of a normal scroll in gold. Unless you wanted me to scribe some other scroll, of course, then this will have to wait.~ @3647 = ~Gladly. Make yourself comfortable - this could take a while.~ @3648 = ~, I'm still grabbing the concept of having completed the De Simplex Magicae. It's a real magic book of spells again - Wait! (Brandock pauses.) Wow! I could go around, telling people I wrote a magic book! Heh.~ @3649 = ~Indeed, Brandock. And a handy book it is!~ diff --git a/c#brandock/tra/german/GAME.TRA b/c#brandock/tra/german/GAME.TRA index e06c759..95dbffb 100644 --- a/c#brandock/tra/german/GAME.TRA +++ b/c#brandock/tra/german/GAME.TRA @@ -411,6 +411,34 @@ Rettungswurf: 1/2 (gg. Zauber) Der Anwender legt seine Hände mit den Daumen aneinander, spreizt die Finger und hält seine Handflächen in Richtung der Gegner. Aus den Handflächen schießen sengend heiße Flammenzungen, die einen Bereich von 120 Grad abdecken und 1,5 m weit reichen. Die Wesen in dem Bereich erleiden 1W3 +2 Schadenspunkte je Stufe des Anwenders mit einem Maximum von 1W3 +20 Schadenspunkten. Bei einem erfolgreichen Rettungswurf gegen Zauber wird dieser Schaden halbiert.~ +/* new for v13 */ +//70300 +@125 = ~Schriftrollen anfertigen +Es hat etwas gedauert bis er seinen Mut zusammen hatte, aber nun ist Brandock in der Lage, Schriftrollen anzufertigen. +Die Kosten einer Schriftrolle werden beim Erstellen komplett verbraucht. Je nach Zaubergrad belaufen sich diese auf: +Zaubergrad 1: 50 gold +Zaubergrad 2: 100 gold +Zaubergrad 3: 150 gold +Zaubergrad 4: 250 gold +Zaubergrad 5: 500 gold +Zaubergrad 6: 1000 gold +Zaubergrad 7: 1500 gold +Zaubergrad 8: 2500 gold +Zaubergrad 9: 5000 gold. +Die Schriftrollen, die Brandock schreiben kann, hängen von seiner Zauberstufe und anderen Erfahrungen ab. Nachdem sein Buch restauriert ist und er eine Weile mit unterwegs war, wird er auch anfangen, mit verbesserten Schriftrollen oder Buchseiten zu experimentieren.~ +//100389 +@126 = ~Gestaltwandlung: Halboger + +Stärke: auf 18/00 gesetzt +Geschicklichkeit: auf 9 gesetzt + +Rüstungsklasse: 5 +Angriffe pro Runde: 1 +Schaden: 4W6 (Wucht), trifft wie eine magische Waffe +1~ +//100387 +@127 = ~Gestaltwandlung: Natürliche Gestalt +Diese Fähigkeit bewirkt, dass Brandock seine natürliche Gestalt wieder annimmt. Entegegn allen seinen Ängesten und Panikattacken ist er in der Lage, sich jederzeit nach Belieben wieder zurückzuverwandeln.~ + /* Brandock cre things */ @500 = ~Brandock~ @501 = ~[panisch]Ich... ich schaff's nicht mehr!~ [c#bran01] //SAY MORALE @@ -499,6 +527,8 @@ Der Anwender legt seine H @1035 = ~Oh, eine Bücherei! (Brandock überfliegt murmelnd die Buchrücken.) Hmm, keine magischen Bücher dabei, soweit ich das sehe.~ @1036 = ~Es scheint ihm nicht geholfen zu haben - aber das Zauberbuch ist trotzdem insteressant zu lesen.~ @1037 = ~Drei interessante Zauberbücher, aber mir wäre es lieber gewesen, ich hätte keine Chance erhalten, sie anzusehen...~ +@1038 = ~Heute ist der Schreibtisch von Elfenhaar voll mit magischen Büchern, Folianten und Schriftrollen, einige davon in Sprachen, die Ihr nicht kennt. Brandock mustert bereits die Titel, wobei er sich sichtlich zurückhält, um die Bücher nicht anzufassen.~ +@1039 = ~Dies ist der Schreibtisch von Elfenhaar. Er ist voll mit Stapeln von Büchern, Schriftrollen und einem Satz unterschiedlich geformter Federkiele.~ /* SoD */ @1250 = ~Heh, ! , hier drüben!~ @@ -541,8 +571,10 @@ Der Anwender legt seine H /* new for vbeta 11 */ @1285 = ~Bei manchen Gegnern ist das Ergattern ihrer Zauberbücher unbeschreiblich befriedigend. Hephernaan gehört da eindeutig dazu.~ + +/* @1286 in c#brando_scrollscribing.baf */ +@1286 = ~Es tut mir Leid - hier kann ich das nicht!~ /* -@1286 = @1287 = @1288 = */ diff --git a/c#brandock/tra/german/JOURNAL.TRA b/c#brandock/tra/german/JOURNAL.TRA index e4627ae..a6cba32 100644 --- a/c#brandock/tra/german/JOURNAL.TRA +++ b/c#brandock/tra/german/JOURNAL.TRA @@ -30,11 +30,16 @@ Brandock hat seine fehlenden Besitzt Ich habe das Paar Stiefel beim Travenhurster Herrenhaus abgegeben. Der Diener war angetan davon, dass sie in relativ gutem Zustand sind.~ @10012 = ~Brandocks Schreiben von Schriftrollen -Brandock kann einmal am Tag eine Schriftrolle schreiben. Die Zauber der untersten Stufe verbrauchen keine Ressourcen. Höherstufige Zauber verbrauchen Gold, wenn sie geschrieben werden: -Stufe 2&3: 100 Gold -Stufe 4&5: 200 Gold -Stufe 6&7: 350 Gold -Stufe 8&9: 500 Gold. +Brandock kann einmal am Tag eine Schriftrolle schreiben. Die Zauber verbrauchen abhängig ihrer Zauberstufe Gold, wenn sie geschrieben werden: +Zauberstufe 1: 50 gold +Zauberstufe 2: 100 gold +Zauberstufe 3: 150 gold +Zauberstufe 4: 250 gold +Zauberstufe 5: 500 gold +Zauberstufe 6: 1000 gold +Zauberstufe 7: 1500 gold +Zauberstufe 8: 2500 gold +Zauberstufe 9: 5000 gold. Die Schriftrollen, die Brandock schreiben kann, hängen von seiner Zauberstufe und anderen Erfahrungen ab.~ @10013 = ~Ein feines Paar Stiefel~ @@ -194,13 +199,13 @@ Malm, der Halboger, der sich in einen Menschen verwandelt hat steckt offensichtl //@10077 = ~##~ @10078 = ~Brandock möchte sein Buch Restaurieren -Brandock ist bereit, Zauber in das De Simplex Magicae zu schreiben! Für jede Seite braucht er eine Schriftrolle des entsprechenden Zaubers und 5000 Münzen in Gold.~ +Brandock ist bereit, Zauber in das De Simplex Magicae zu schreiben! Für jede Seite braucht er eine Schriftrolle des entsprechenden Zaubers und die zehnfache Menge an Münzen in Gold, die eine normale Schriftrolle des entsprechenden Zaubers kosten würde.~ @10079 = ~Brandock möchte sein Buch Restaurieren Brandock wrote spells onto all pages he has access to in the De Simplex Magicae. He said there is still one empty page, but he'll need more experience to fill it with a spell, too.~ @10080 = ~Brandock möchte sein Buch Restaurieren -Brandock is ready to write a spell onto the last empty page of De Simplex Magicae. He'll need a spell scroll of the wanted spell and 5000 gold.~ +Brandock is ready to write a spell onto the last empty page of De Simplex Magicae. He'll need a spell scroll of the wanted spell and 50.000 gold.~ @10081 = ~Brandock möchte sein Buch Restaurieren It is done - Brandock restored the De Simplex Magicae, the magic book that was gnawed to shreads by foxes when first we met.~ diff --git a/c#brandock/tra/german/setup.tra b/c#brandock/tra/german/setup.tra index 92e5d80..b6a18a4 100644 --- a/c#brandock/tra/german/setup.tra +++ b/c#brandock/tra/german/setup.tra @@ -42,4 +42,9 @@ @55578 = ~Framed Mod detektiert.~ @55579 = ~Brandock der Magier: Crossmodinhalte~ @55580 = ~EndlessBG1 detektiert.~ -@55581 = ~Transitions Mod detektiert.~ \ No newline at end of file +@55581 = ~Transitions Mod detektiert.~ + +@55582 = ~Deactivate aTweak's scribe scroll ability for Brandock~ +@55583 = ~Integrate aTweak's scribe scroll ability into Brandock's original one~ +@55584 = ~Crossmod with aTweaks "Allow Mages to scribe memorized spells onto scrolls"~ +@55585 = ~aTweaks "Allow Mages to scribe memorized spells onto scrolls" needs to be installed.~ \ No newline at end of file