From 166b982250b9e697ad62d908aa4aa135ad510b8d Mon Sep 17 00:00:00 2001 From: nemaara Date: Wed, 25 Mar 2020 20:39:35 -0400 Subject: [PATCH] DiD: give exp for stepping on books and monoliths --- .../scenarios/01_Saving_Parthyn.cfg | 40 +++++++++ .../scenarios/04_Spring_of_Reprisal.cfg | 19 ++++ .../scenarios/06_Return_to_Parthyn.cfg | 90 +++++++++++++++++++ .../scenarios/08_Alone_at_Last.cfg | 71 +++++++++++++++ 4 files changed, 220 insertions(+) diff --git a/data/campaigns/Descent_Into_Darkness/scenarios/01_Saving_Parthyn.cfg b/data/campaigns/Descent_Into_Darkness/scenarios/01_Saving_Parthyn.cfg index 376d0c66d71..814df8100bc 100644 --- a/data/campaigns/Descent_Into_Darkness/scenarios/01_Saving_Parthyn.cfg +++ b/data/campaigns/Descent_Into_Darkness/scenarios/01_Saving_Parthyn.cfg @@ -341,6 +341,26 @@ speaker=narrator message= _ "Fear is the path to the dark side. Fear leads to anger. Anger leads to hate. Hate leads to suffering." [/message] + + [store_unit] + [filter] + id=Malin Keshar + [/filter] + variable=malin + [/store_unit] + + {VARIABLE_OP malin.experience add 4} + [floating_text] + x,y=$malin.x,$malin.y + text="" + "+4 exp" + "" + [/floating_text] + + [unstore_unit] + variable=malin + [/unstore_unit] + + {CLEAR_VARIABLE malin} + [allow_undo][/allow_undo] [/event] @@ -354,6 +374,26 @@ speaker=narrator message= _ "A monolith of pale stone, luminous and bright, but cold and brittle to the touch." [/message] + + [store_unit] + [filter] + id=Malin Keshar + [/filter] + variable=malin + [/store_unit] + + {VARIABLE_OP malin.experience add 8} + [floating_text] + x,y=$malin.x,$malin.y + text="" + "+8 exp" + "" + [/floating_text] + + [unstore_unit] + variable=malin + [/unstore_unit] + + {CLEAR_VARIABLE malin} + [allow_undo][/allow_undo] [/event] diff --git a/data/campaigns/Descent_Into_Darkness/scenarios/04_Spring_of_Reprisal.cfg b/data/campaigns/Descent_Into_Darkness/scenarios/04_Spring_of_Reprisal.cfg index 201263aa7d1..c1321228842 100644 --- a/data/campaigns/Descent_Into_Darkness/scenarios/04_Spring_of_Reprisal.cfg +++ b/data/campaigns/Descent_Into_Darkness/scenarios/04_Spring_of_Reprisal.cfg @@ -251,6 +251,25 @@ end speaker=narrator message= _ "Revenge is a confession of pain." [/message] + + [store_unit] + [filter] + id=Malin Keshar + [/filter] + variable=malin + [/store_unit] + + {VARIABLE_OP malin.experience add 6} + [floating_text] + x,y=$malin.x,$malin.y + text="" + "+6 exp" + "" + [/floating_text] + + [unstore_unit] + variable=malin + [/unstore_unit] + + {CLEAR_VARIABLE malin} [/event] [event] diff --git a/data/campaigns/Descent_Into_Darkness/scenarios/06_Return_to_Parthyn.cfg b/data/campaigns/Descent_Into_Darkness/scenarios/06_Return_to_Parthyn.cfg index 9c6800595cf..b03c48844df 100644 --- a/data/campaigns/Descent_Into_Darkness/scenarios/06_Return_to_Parthyn.cfg +++ b/data/campaigns/Descent_Into_Darkness/scenarios/06_Return_to_Parthyn.cfg @@ -485,6 +485,41 @@ message= _ "A monolith of grey stone, appearing solid, but crumbling within." [/message] + [store_unit] + [filter] + id=Malin Keshar + [/filter] + variable=malin + [/store_unit] + +#ifdef EASY + {VARIABLE_OP malin.experience add 12} + [floating_text] + x,y=$malin.x,$malin.y + text="" + "+12 exp" + "" + [/floating_text] +#endif +#ifdef NORMAL + {VARIABLE_OP malin.experience add 10} + [floating_text] + x,y=$malin.x,$malin.y + text="" + "+10 exp" + "" + [/floating_text] +#endif +#ifdef HARD + {VARIABLE_OP malin.experience add 8} + [floating_text] + x,y=$malin.x,$malin.y + text="" + "+8 exp" + "" + [/floating_text] +#endif + + [unstore_unit] + variable=malin + [/unstore_unit] + + {CLEAR_VARIABLE malin} + [allow_undo][/allow_undo] [/event] @@ -500,6 +535,25 @@ message= _ "Darkness is not the enemy, but believing it is so makes it so." [/message] + [store_unit] + [filter] + id=Malin Keshar + [/filter] + variable=malin + [/store_unit] + + {VARIABLE_OP malin.experience add 6} + [floating_text] + x,y=$malin.x,$malin.y + text="" + "+6 exp" + "" + [/floating_text] + + [unstore_unit] + variable=malin + [/unstore_unit] + + {CLEAR_VARIABLE malin} + [allow_undo][/allow_undo] [/event] @@ -823,6 +877,42 @@ speaker=narrator message= _ "A monolith of dark stone, shadowed panes reflecting distorted images." [/message] + + [store_unit] + [filter] + id=Malin Keshar + [/filter] + variable=malin + [/store_unit] + +#ifdef EASY + {VARIABLE_OP malin.experience add 12} + [floating_text] + x,y=$malin.x,$malin.y + text="" + "+12 exp" + "" + [/floating_text] +#endif +#ifdef NORMAL + {VARIABLE_OP malin.experience add 10} + [floating_text] + x,y=$malin.x,$malin.y + text="" + "+10 exp" + "" + [/floating_text] +#endif +#ifdef HARD + {VARIABLE_OP malin.experience add 8} + [floating_text] + x,y=$malin.x,$malin.y + text="" + "+8 exp" + "" + [/floating_text] +#endif + + [unstore_unit] + variable=malin + [/unstore_unit] + + {CLEAR_VARIABLE malin} + [allow_undo][/allow_undo] [/event] diff --git a/data/campaigns/Descent_Into_Darkness/scenarios/08_Alone_at_Last.cfg b/data/campaigns/Descent_Into_Darkness/scenarios/08_Alone_at_Last.cfg index c5fa4eeada5..1fb1c64d9d9 100644 --- a/data/campaigns/Descent_Into_Darkness/scenarios/08_Alone_at_Last.cfg +++ b/data/campaigns/Descent_Into_Darkness/scenarios/08_Alone_at_Last.cfg @@ -533,6 +533,41 @@ message= _ "A monolith of dark stone, marred by cracks running throughout." [/message] + [store_unit] + [filter] + id=Malin Keshar + [/filter] + variable=malin + [/store_unit] + +#ifdef EASY + {VARIABLE_OP malin.experience add 12} + [floating_text] + x,y=$malin.x,$malin.y + text="" + "+12 exp" + "" + [/floating_text] +#endif +#ifdef NORMAL + {VARIABLE_OP malin.experience add 10} + [floating_text] + x,y=$malin.x,$malin.y + text="" + "+10 exp" + "" + [/floating_text] +#endif +#ifdef HARD + {VARIABLE_OP malin.experience add 8} + [floating_text] + x,y=$malin.x,$malin.y + text="" + "+8 exp" + "" + [/floating_text] +#endif + + [unstore_unit] + variable=malin + [/unstore_unit] + + {CLEAR_VARIABLE malin} + [allow_undo][/allow_undo] [/event] @@ -894,6 +929,42 @@ speaker=narrator message= _ "A monolith of black stone, broken shards inexplicably held together by nothingness." [/message] + + [store_unit] + [filter] + id=Malin Keshar + [/filter] + variable=malin + [/store_unit] + +#ifdef EASY + {VARIABLE_OP malin.experience add 12} + [floating_text] + x,y=$malin.x,$malin.y + text="" + "+12 exp" + "" + [/floating_text] +#endif +#ifdef NORMAL + {VARIABLE_OP malin.experience add 10} + [floating_text] + x,y=$malin.x,$malin.y + text="" + "+10 exp" + "" + [/floating_text] +#endif +#ifdef HARD + {VARIABLE_OP malin.experience add 8} + [floating_text] + x,y=$malin.x,$malin.y + text="" + "+8 exp" + "" + [/floating_text] +#endif + + [unstore_unit] + variable=malin + [/unstore_unit] + + {CLEAR_VARIABLE malin} + [allow_undo][/allow_undo] [/event] [/event]