From 2f3f82391d0653751bdc757bc2a51243ba868f23 Mon Sep 17 00:00:00 2001 From: white-haired-uncle Date: Fri, 24 May 2024 21:41:29 -0400 Subject: [PATCH 1/5] dynamic load most bzb events --- dynamic/beelzebub/.beelzebub_die.cfg.swp | Bin 0 -> 16384 bytes dynamic/beelzebub/beelzebub_die.cfg | 160 +++++++ dynamic/beelzebub/see_beelzebub_monument.cfg | 77 +++ .../beelzebub/visit_beelzebub_monument.cfg | 336 +++++++++++++ utils/utils.cfg | 453 ++---------------- 5 files changed, 625 insertions(+), 401 deletions(-) create mode 100644 dynamic/beelzebub/.beelzebub_die.cfg.swp create mode 100644 dynamic/beelzebub/beelzebub_die.cfg create mode 100644 dynamic/beelzebub/see_beelzebub_monument.cfg create mode 100644 dynamic/beelzebub/visit_beelzebub_monument.cfg diff --git a/dynamic/beelzebub/.beelzebub_die.cfg.swp b/dynamic/beelzebub/.beelzebub_die.cfg.swp new file mode 100644 index 0000000000000000000000000000000000000000..f65a1744b70d09310b94ed3cf883ca5d5ad2c5b1 GIT binary patch literal 16384 zcmeI2Tc{+(8OJN$H*vk?!90XmJ1&UOPM_lq1qUNZOjdV;0bMkW3^m;~GqtC?Ypkk1 zGqV8$i<=8k5TdX?_#lbmgXDF^JgE30!lDLQ@JSIx1aBa|_+tLmmowdC&sldhCS&rX4=npTs z>vR*q`Rf#L3OEIv0!{&^fK$LJ;1oEm6)=-C$nT-R8Knvjl(-%bGF`+qh5fB!;4-U2U! z=fN}JQ6ND8_JZrdvlkHZ7&ruCa0fUGe6o{}*TFx*-@zl`Fp%KT`GkaEFSs832weLE zLM{VeexHyJz`wvz@DNa7Ke!d#1a^V5!3R4CISyU`&wwM~FpwYszXaEUpMVR%7v~Z3 zK6n)z1%Cq%gG1l|*bjaNt^_;4=jRgg4tN>V`MK3H}VO-FxGpL04wj~kiqR*_$c3W-ue@YOn_|Z)@>UMos zS|B`X5nO1|P-Cg|TT^4H-c{jIJM6oXq}~nxJwZ-2JlZc`oeg@|kQQ%h_lK6QU3IIe zZZQd)^tCw1yJId!W3#xdYM0ZgwXm(hWl($*gQp@gj8vSf4%iw_*1a9 z{= zT3B2@f7?!5e&X<0^X7wg)s<0QV#O6=RL1kpud;1g^rGfG?QgC0wCg(;I@+UJl(X4( z3;YDn4mMgcsVI`FX=r{1b|UI^_A6l&Yqpc0)pka&-bQ&n;cSDeUMEXM?M7J1zfiMuZp=9!i^#;7Xl|tc$%v;5C#Gahehc?F_C%{nRGC>iASen5p!Eg zwXt0mqpuciLHXj$Q3f-t?6J@Wb))-p6Lg4Ixt!-J-5DXSSiLLp+l+YNXlqM-27q)MUxXb zU%0T+yOW3-tSg6MiknQKe@E!eF5Q=fV|1R9c1b&YVJWU5*v*S8z;ufmWYRSu%ZiG~|k;wKVfD_%__@$g?{!kC1$#G zu6wuk^|3nHezRO0&@yi_QZk$LI(#-k2O<=0)HK})TDvx=hX7NG!IVZUHKHc)TPyjx QUs+2d73Ljl1~v`*H}> + [/lua] + + [if] + [variable] + name=seen_beelzebub_monument + equals=yes + [/variable] + [then] + [message] + speaker=unit + message= _ "Look..." + [/message] + [if] + [variable] + name=seen_beelzebub + equals=yes + [/variable] + [then] + [message] + speaker=$msg_speaker + message= _ "Oh damn. Beelzebub is here again." + [/message] + [/then] + [else] + [message] + speaker=$msg_speaker + message= _ "There's that weird looking stone thing again." + [/message] + [/else] + [/if] + [/then] + [else] + [message] + speaker=unit + message= _ "Look! That stone looks quite weird." + [/message] + [message] + speaker=$msg_speaker + message= _ "Maybe we should investigate." + [/message] + [set_variable] + name=seen_beelzebub_monument + value=yes + [/set_variable] + [/else] + [/if] + [clear_variable] + name=msg_speaker + [/clear_variable] +[/event] diff --git a/dynamic/beelzebub/visit_beelzebub_monument.cfg b/dynamic/beelzebub/visit_beelzebub_monument.cfg new file mode 100644 index 00000000..12d3195c --- /dev/null +++ b/dynamic/beelzebub/visit_beelzebub_monument.cfg @@ -0,0 +1,336 @@ +#textdomain wesnoth-loti +[event] + name=visit_beelzebub_monument + [if] + [variable] + name=seen_beelzebub_monument_close + equals=yes + [/variable] + [then] + [message] + speaker=unit + message= _ "This is indeed left behind by Beelzebub." + [/message] + [message] + id=Lethalia + [or] + id=Vritra + [/or] + message= _ "This makes me wonder if we want to see him again." + [/message] + [/then] + [else] + [message] + speaker=unit + message= _ "Some strange letters are inscribed on this monument. It says... ROTFL, BRB, LOL." + [/message] + [message] + id=Efraim + [or] + id=Krux + [/or] + message= _ "I have seen these shortcuts before... What was it, Lethalia, can you remember?" + [/message] + [message] + id=Lethalia + [or] + id=Vritra + [/or] + message= _ "Let me think... ROTFL stands for Rule on till forever, Lilith. LOL means Lilith our Leader. BRB is a shortcut of Beelzebub rules below. Beelzebub... I have heard of that one. This is his motto, if I recall correctly. Somebody has been venerating demons here. Really foul magic." + [/message] + [message] + id=Efraim + [or] + id=Krux + [/or] + message= _ "For what ends? Why do the demons need veneration? What do people get for it?" + [/message] + [message] + id=Lethalia + [or] + id=Vritra + [/or] + message= _ "If I recall correctly, these stones can be used like extensions of the demons' presence. The demon can use them to appear near any of them whenever he wants, and see what is around the stone. They have to be created by locals, demons cannot create them so that they would work in this world. Maybe the demon forced someone to create this. But why is the demon here...?" + [/message] + [message] + id=Efraim + [or] + id=Krux + [/or] + message= _ "Maybe someone summoned them to destroy us." + [/message] + [message] + id=Lethalia + [or] + id=Vritra + [/or] + message= _ "It's really horrible if a strong demon is present here. Imagine how much havoc can one such demon spread. We might not be the target, the demon is not coming." + [/message] + [message] + id=Efraim + [or] + id=Krux + [/or] + message= _ "Maybe the demon is bad at looking for us." + [/message] + [message] + id=Lethalia + [or] + id=Vritra + [/or] + message= _ "Maybe we could willingly allow the demon to come by, to save others from destruction. Some demons are fabled to wear ancient artefacts of power, so we might just want to fight for material gain." + [/message] + [set_variable] + name=seen_beelzebub_monument_close + value=yes + [/set_variable] + [/else] + [/if] + [message] + id=Efraim + [or] + id=Krux + [/or] + message= _ "So what, shall we touch it to attract him?" + [option] + label=_"Touch it. We must stop the creature." + [command] + [remove_event] + id=spawn_beelzebub + [/remove_event] + [sound] + name="rumble.ogg" + [/sound] + [scroll] + x=5 + y=0 + [/scroll] + [scroll] + x=-10 + y=0 + [/scroll] + [scroll] + x=5 + y=5 + [/scroll] + [scroll] + x=0 + y=-10 + [/scroll] + [scroll] + x=0 + y=5 + [/scroll] + [sound] + name="lightning.ogg" + [/sound] + [scroll] + x=2 + y=1 + [/scroll] + [scroll] + x=-1 + y=-3 + [/scroll] + [scroll] + x=-3 + y=1 + [/scroll] + [unit] + canrecruit=yes + id=Beelzebub + name=_"Beelzebub" + type=Beelzebub + side=$bzb_side + x,y=$bzb_x,$bzb_y + [variables] + bonus_boss=yes + [/variables] + to_variable=beel_store + [/unit] + [scroll] + x=1 + y=3 + [/scroll] + [scroll] + x=1 + y=-2 + [/scroll] + + [unstore_unit] + variable=beel_store + find_vacant=yes + [/unstore_unit] + [set_variable] + name=beel_store_level_add + value=$bzb_power + [/set_variable] + [set_variable] + name=beel_store_level_add + mulitply=5 + [/set_variable] + [object] + silent=yes + [filter] + id=Beelzebub + [/filter] + [effect] + apply_to=level + set="$($beel_store.level + $beel_store_level_add)" + [/effect] + [effect] + apply_to=status + add=not_living + [/effect] + [/object] + [clear_variable] + name=beel_store,beel_store_level_add + [/clear_variable] + [set_variable] + name="REPEAT_i" + value=0 + [/set_variable] + [while] + [variable] + less_than=$power + name="REPEAT_i" + [/variable] + [do] + [object] + silent=yes + [filter] + id="Beelzebub" + [/filter] + [effect] + apply_to="hitpoints" + increase="20%" + increase_total="20%" + [/effect] + [effect] + apply_to="attack" + increase_damage="20%" + [/effect] + [/object] + [set_variable] + add=1 + name="REPEAT_i" + [/set_variable] + [/do] + [/while] + [clear_variable] + name="REPEAT_i" + [/clear_variable] + [sound] + name="rumble.ogg" + [/sound] + [scroll] + x=5 + y=0 + [/scroll] + [scroll] + x=-10 + y=0 + [/scroll] + [scroll] + x=5 + y=5 + [/scroll] + [scroll] + x=0 + y=-10 + [/scroll] + [scroll] + x=0 + y=5 + [/scroll] + [message] + speaker=Beelzebub + message= _ "I have found you, sneaky weaklings." + [/message] + [if] + [variable] + name=seen_beelzebub + equals=yes + [/variable] + [else] + [message] + id=Lethalia + [or] + id=Vritra + [/or] + message= _ "We were not hiding." + [/message] + [message] + speaker=Beelzebub + message= _ "Are you so foolish?" + [option] + label=_"You are told to possess all kinds of objects we seek. We want to take them from your dead body." + [command] + [message] + speaker=Beelzebub + message= _ "Ha, you think you can kill me? So come, meet your end!" + [/message] + [/command] + [/option] + [option] + label=_"We need to stop you from wreaking havoc all around." + [command] + [message] + speaker=Beelzebub + message= _ "You dare to defy me? We shall see how you will cry for mercy and receive none." + [/message] + [/command] + [/option] + [option] + label=_"We seek a challenge. All other enemies were too easy." + [command] + [message] + speaker=Beelzebub + message= _ "I will be your last challenge. I will enjoy your demise." + [/message] + [/command] + [/option] + [option] + label=_"We have forgotten to hide." + [command] + [message] + speaker=Beelzebub + message= _ "You are more foolish than I thought. Your sentence is death." + [/message] + [/command] + [/option] + [option] + label=_"Stories go that demons are a bonne bouche!" + [command] + [message] + speaker=Beelzebub + message= _ "No one ever tasted any of it. You shall not change it. I will eat you alive!" + [/message] + [/command] + [/option] + [/message] + [set_variable] + name="seen_beelzebub" + value=true + [/set_variable] + [/else] + [/if] + [remove_event] + id=spawn_beelzebub + [/remove_event] + [/command] + [/option] + [option] + label=_"Let it be. We have worse problems to deal with first." + [command] + [message] + id=Efraim + [or] + id=Krux + [/or] + message= _ "Well, let us slip by." + [/message] + [/command] + [/option] + [/message] +[/event] diff --git a/utils/utils.cfg b/utils/utils.cfg index 8aae33ab..1648a1de 100644 --- a/utils/utils.cfg +++ b/utils/utils.cfg @@ -346,7 +346,7 @@ $item_info.description" generate_description=false description= _"This unit is highly unstable. If you have to hit it, be careful what you use." [/trait] -#enddef +#enddef #define TRAIT_PERFECTIONIST [trait] @@ -1303,7 +1303,7 @@ $item_info.description" [filter_condition] [variable] name=saved_turns - greater_than_equal_to=500 + greater_than_equal_to=1 [/variable] [/filter_condition] {PLACE_IMAGE scenery/monolith3.png {X} {Y}} @@ -1314,73 +1314,16 @@ $item_info.description" x,y={XY_RANGE} [/filter] [lua] - code = << - local finder = wml.variables["unit"] - local have_lethalia = #wesnoth.units.find_on_map{ id = "Lethalia" } == 1 - local have_vritra = #wesnoth.units.find_on_map{ id = "Vritra" } == 1 - local have_efraim = #wesnoth.units.find_on_map{ id = "Efraim" } == 1 - if finder.id ~= "Lethalia" and have_lethalia then - wml.variables["msg_speaker"]="Lethalia" - return - end - if finder.id == "Lethalia" and have_vritra then - wml.variables["msg_speaker"]="Vritra" - return - end - if finder.id == "Lethalia" and not have_vritra and have_efraim then - wml.variables["msg_speaker"]="Efraim" - return - end - if finder.id == "Krux" and have_vritra then - wml.variables["msg_speaker"] = "Vritra" - return - end - wml.variables["msg_speaker"]="Krux" - >> + code=<< + wesnoth.require("wml-utils").handle_event_commands(wml.load("~add-ons/Legend_of_the_Invincibles/dynamic/beelzebub/see_beelzebub_monument.cfg")) + >> [/lua] - - [if] - [variable] - name=seen_beelzebub_monument - equals=yes - [/variable] - [then] - [message] - speaker=unit - message= _ "Look..." - [/message] - [if] - [variable] - name=seen_beelzebub - equals=yes - [/variable] - [then] - [message] - speaker=$msg_speaker - message= _ "Oh damn. Beelzebub is here again." - [/message] - [/then] - [else] - [message] - speaker=$msg_speaker - message= _ "There's that weird looking stone thing again." - [/message] - [/else] - [/if] - [/then] - [else] - [message] - speaker=unit - message= _ "Look! That stone looks quite weird." - [/message] - [message] - speaker=$msg_speaker - message= _ "Maybe we should investigate." - [/message] - {VARIABLE seen_beelzebub_monument true} - [/else] - [/if] - {CLEAR_VARIABLE msg_speaker} + [fire_event] + [primary_unit] + id="$unit.id" + [/primary_unit] + name=see_beelzebub_monument + [/fire_event] [/event] [event] name=moveto @@ -1390,241 +1333,36 @@ $item_info.description" side=1 x,y={X},{Y} [/filter] - [if] - [variable] - name=seen_beelzebub_monument_close - equals=yes - [/variable] - [then] - [message] - speaker=unit - message= _ "This is indeed left behind by Beelzebub." - [/message] - [message] - id=Lethalia - [or] - id=Vritra - [/or] - message= _ "This makes me wonder if we want to see him again." - [/message] - [/then] - [else] - [message] - speaker=unit - message= _ "Some strange letters are inscribed on this monument. It says... ROTFL, BRB, LOL." - [/message] - [message] - id=Efraim - [or] - id=Krux - [/or] - message= _ "I have seen these shortcuts before... What was it, Lethalia, can you remember?" - [/message] - [message] - id=Lethalia - [or] - id=Vritra - [/or] - message= _ "Let me think... ROTFL stands for Rule on till forever, Lilith. LOL means Lilith our Leader. BRB is a shortcut of Beelzebub rules below. Beelzebub... I have heard of that one. This is his motto, if I recall correctly. Somebody has been venerating demons here. Really foul magic." - [/message] - [message] - id=Efraim - [or] - id=Krux - [/or] - message= _ "For what ends? Why do the demons need veneration? What do people get for it?" - [/message] - [message] - id=Lethalia - [or] - id=Vritra - [/or] - message= _ "If I recall correctly, these stones can be used like extensions of the demons' presence. The demon can use them to appear near any of them whenever he wants, and see what is around the stone. They have to be created by locals, demons cannot create them so that they would work in this world. Maybe the demon forced someone to create this. But why is the demon here...?" - [/message] - [message] - id=Efraim - [or] - id=Krux - [/or] - message= _ "Maybe someone summoned them to destroy us." - [/message] - [message] - id=Lethalia - [or] - id=Vritra - [/or] - message= _ "It's really horrible if a strong demon is present here. Imagine how much havoc can one such demon spread. We might not be the target, the demon is not coming." - [/message] - [message] - id=Efraim - [or] - id=Krux - [/or] - message= _ "Maybe the demon is bad at looking for us." - [/message] - [message] - id=Lethalia - [or] - id=Vritra - [/or] - message= _ "Maybe we could willingly allow the demon to come by, to save others from destruction. Some demons are fabled to wear ancient artefacts of power, so we might just want to fight for material gain." - [/message] - {VARIABLE seen_beelzebub_monument_close true} - [/else] - [/if] - [message] - id=Efraim - [or] - id=Krux - [/or] - message= _ "So what, shall we touch it to attract him?" - [option] - label=_"Touch it. We must stop the creature." - [command] - [remove_event] - id=spawn_beelzebub - [/remove_event] - {QUAKE "rumble.ogg"} - {EARTHQUAKE ( - [unit] - canrecruit=yes - id=Beelzebub - name=_"Beelzebub" - type=Beelzebub - side={SIDE} - x,y={X},{Y} - [variables] - bonus_boss=yes - [/variables] - to_variable=beel_store - [/unit] - )} - [unstore_unit] - variable=beel_store - find_vacant=yes - [/unstore_unit] - {VARIABLE beel_store_level_add {POWER}} - {VARIABLE_OP beel_store_level_add multiply 5} - [object] - silent=yes - [filter] - id=Beelzebub - [/filter] - [effect] - apply_to=level - set="$($beel_store.level + $beel_store_level_add)" - [/effect] - [effect] - apply_to=status - add=unpoisonable - [/effect] - [/object] - {CLEAR_VARIABLE beel_store,beel_store_level_add} - {REPEAT {POWER} ( - [object] - silent=yes - [filter] - id=Beelzebub - [/filter] - [effect] - apply_to=hitpoints - increase_total=20% - increase=20% - [/effect] - [effect] - apply_to=attack - increase_damage=20% - [/effect] - [/object] - )} - {QUAKE "rumble.ogg"} - [message] - speaker=Beelzebub - message= _ "I have found you, sneaky weaklings." - [/message] - [if] - [variable] - name=seen_beelzebub - equals=yes - [/variable] - [else] - [message] - id=Lethalia - [or] - id=Vritra - [/or] - message= _ "We were not hiding." - [/message] - [message] - speaker=Beelzebub - message= _ "Are you so foolish?" - [option] - label=_"You are told to possess all kinds of objects we seek. We want to take them from your dead body." - [command] - [message] - speaker=Beelzebub - message= _ "Ha, you think you can kill me? So come, meet your end!" - [/message] - [/command] - [/option] - [option] - label=_"We need to stop you from wreaking havoc all around." - [command] - [message] - speaker=Beelzebub - message= _ "You dare to defy me? We shall see how you will cry for mercy and receive none." - [/message] - [/command] - [/option] - [option] - label=_"We seek a challenge. All other enemies were too easy." - [command] - [message] - speaker=Beelzebub - message= _ "I will be your last challenge. I will enjoy your demise." - [/message] - [/command] - [/option] - [option] - label=_"We have forgotten to hide." - [command] - [message] - speaker=Beelzebub - message= _ "You are more foolish than I thought. Your sentence is death." - [/message] - [/command] - [/option] - [option] - label=_"Stories go that demons are a bonne bouche!" - [command] - [message] - speaker=Beelzebub - message= _ "No one ever tasted any of it. You shall not change it. I will eat you alive!" - [/message] - [/command] - [/option] - [/message] - {VARIABLE seen_beelzebub true} - [/else] - [/if] - [remove_event] - id=spawn_beelzebub - [/remove_event] - [/command] - [/option] - [option] - label=_"Let it be. We have worse problems to deal with first." - [command] - [message] - id=Efraim - [or] - id=Krux - [/or] - message= _ "Well, let us slip by." - [/message] - [/command] - [/option] - [/message] + [lua] + code=<< + wesnoth.require("wml-utils").handle_event_commands(wml.load("~add-ons/Legend_of_the_Invincibles/dynamic/beelzebub/visit_beelzebub_monument.cfg")) + >> + [/lua] + [set_variable] + name=bzb_x + value={X} + [/set_variable] + [set_variable] + name=bzb_y + value={Y} + [/set_variable] + [set_variable] + name=bzb_side + value={SIDE} + [/set_variable] + [set_variable] + name=bzb_power + value={POWER} + [/set_variable] + [fire_event] + [primary_unit] + id="$unit.id" + [/primary_unit] + name=visit_beelzebub_monument + [/fire_event] + [clear_variable] + name=bzb_x,bzb_y,bzb_side,bzb_power + [/clear_variable] [/event] [event] name=turn refresh @@ -1649,7 +1387,6 @@ $item_info.description" )} [/do] [/foreach] - {CLEAR_VARIABLE beel_store} [/event] [event] @@ -1677,103 +1414,17 @@ $item_info.description" [filter] type=Beelzebub [/filter] - [if] - [variable] - name=seen_beelzebub_die - equals=yes - [/variable] - [then] - [message] - speaker=unit - message= _ "I shall return again. Much stronger than before. And you will learn what it truly means to suffer." - [/message] - [message] - id=Efraim - [or] - id=Krux - [/or] - message= _ "I wonder if there is a way to kill him for good." - [/message] - [/then] - [else] - [message] - speaker=unit - message= _ "I will have my revenge! I will rip your hearts out! I will count your ribs! I crack your skulls open and bite off your brain, bit by bit, while you still live! I will chew your guts and listen to your screams!" - [/message] - [message] - id=Lethalia - [or] - id=Vritra - [/or] - message= _ "How do you want to do it? You are defeated. You will not survive these injuries. You will not survive it because I will be chewing your ribs and ripping your skull out very soon. And the other things." # Deliberately confused - [/message] - {VARIABLE seen_beelzebub_die true} - [/else] - [/if] - # BEGIN Set up the center for the dropped item pool, adjusting for edges of map if necessary - [store_map_dimensions] - variable=map_size - [/store_map_dimensions] - {VARIABLE drop_x $x1} - {VARIABLE drop_y $y1} - {VARIABLE radius 3} - {VARIABLE drop_min $radius} - {VARIABLE_OP drop_min add 1} - {VARIABLE drop_max_x $map_size.width} - {VARIABLE_OP drop_max_x sub 3} - {VARIABLE drop_max_y $map_size.height} - {VARIABLE_OP drop_max_y sub 3} - [if] - [variable] - name=drop_x - less_than=$drop_min - [/variable] - [then] - {VARIABLE drop_x $drop_min} - [/then] - [/if] - [if] - [variable] - name=drop_x - greater_than=$drop_max_x - [/variable] - [then] - {VARIABLE drop_x $drop_max_x} - [/then] - [/if] - [if] - [variable] - name=drop_y - less_than=$drop_min - [/variable] - [then] - {VARIABLE drop_y $drop_min} - [/then] - [/if] - [if] - [variable] - name=drop_y - greater_than=$drop_max_y - [/variable] - [then] - {VARIABLE drop_y $drop_max_y} - [/then] - [/if] - # END Set up the center for the dropped item pool, adjusting for edges of map if necessary - [store_locations] - x,y=$drop_x,$drop_y - radius=$radius - variable=nearby - [/store_locations] - {RARE_ITEM $drop_x $drop_y} - [foreach] - array=nearby - [do] - {DEFAULT_DROP_ITEM $this_item.x $this_item.y (axe,axe,staff,sword,sword,knife,bow,xbow,spear,spear,bow,dagger,mace)} - [/do] - [/foreach] - {CLEAR_VARIABLE drop_x,drop_y,drop_min,drop_max_x,drop_max_y,radius,map_size,nearby} - {VARIABLE_OP saved_turns sub 500} + [lua] + code=<< + wesnoth.require("wml-utils").handle_event_commands(wml.load("~add-ons/Legend_of_the_Invincibles/dynamic/beelzebub/beelzebub_die.cfg")) + >> + [/lua] + [fire_event] + [primary_unit] + id="$unit.id" + [/primary_unit] + name=beelzebub_die + [/fire_event] [/event] [/event] #enddef From 8b2b8bcbbe20da5b84e45c8612ccb928757310bb Mon Sep 17 00:00:00 2001 From: white-haired-uncle Date: Fri, 24 May 2024 21:41:59 -0400 Subject: [PATCH 2/5] dynamic load most bzb events --- dynamic/beelzebub/.beelzebub_die.cfg.swp | Bin 16384 -> 0 bytes 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 dynamic/beelzebub/.beelzebub_die.cfg.swp diff --git a/dynamic/beelzebub/.beelzebub_die.cfg.swp b/dynamic/beelzebub/.beelzebub_die.cfg.swp deleted file mode 100644 index f65a1744b70d09310b94ed3cf883ca5d5ad2c5b1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 16384 zcmeI2Tc{+(8OJN$H*vk?!90XmJ1&UOPM_lq1qUNZOjdV;0bMkW3^m;~GqtC?Ypkk1 zGqV8$i<=8k5TdX?_#lbmgXDF^JgE30!lDLQ@JSIx1aBa|_+tLmmowdC&sldhCS&rX4=npTs z>vR*q`Rf#L3OEIv0!{&^fK$LJ;1oEm6)=-C$nT-R8Knvjl(-%bGF`+qh5fB!;4-U2U! z=fN}JQ6ND8_JZrdvlkHZ7&ruCa0fUGe6o{}*TFx*-@zl`Fp%KT`GkaEFSs832weLE zLM{VeexHyJz`wvz@DNa7Ke!d#1a^V5!3R4CISyU`&wwM~FpwYszXaEUpMVR%7v~Z3 zK6n)z1%Cq%gG1l|*bjaNt^_;4=jRgg4tN>V`MK3H}VO-FxGpL04wj~kiqR*_$c3W-ue@YOn_|Z)@>UMos zS|B`X5nO1|P-Cg|TT^4H-c{jIJM6oXq}~nxJwZ-2JlZc`oeg@|kQQ%h_lK6QU3IIe zZZQd)^tCw1yJId!W3#xdYM0ZgwXm(hWl($*gQp@gj8vSf4%iw_*1a9 z{= zT3B2@f7?!5e&X<0^X7wg)s<0QV#O6=RL1kpud;1g^rGfG?QgC0wCg(;I@+UJl(X4( z3;YDn4mMgcsVI`FX=r{1b|UI^_A6l&Yqpc0)pka&-bQ&n;cSDeUMEXM?M7J1zfiMuZp=9!i^#;7Xl|tc$%v;5C#Gahehc?F_C%{nRGC>iASen5p!Eg zwXt0mqpuciLHXj$Q3f-t?6J@Wb))-p6Lg4Ixt!-J-5DXSSiLLp+l+YNXlqM-27q)MUxXb zU%0T+yOW3-tSg6MiknQKe@E!eF5Q=fV|1R9c1b&YVJWU5*v*S8z;ufmWYRSu%ZiG~|k;wKVfD_%__@$g?{!kC1$#G zu6wuk^|3nHezRO0&@yi_QZk$LI(#-k2O<=0)HK})TDvx=hX7NG!IVZUHKHc)TPyjx QUs+2d73Ljl1~v`*H} Date: Fri, 24 May 2024 21:44:42 -0400 Subject: [PATCH 3/5] dynamic load most bzb events --- utils/utils.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/utils.cfg b/utils/utils.cfg index 1648a1de..4d9ae4ab 100644 --- a/utils/utils.cfg +++ b/utils/utils.cfg @@ -1303,7 +1303,7 @@ $item_info.description" [filter_condition] [variable] name=saved_turns - greater_than_equal_to=1 + greater_than_equal_to=500 [/variable] [/filter_condition] {PLACE_IMAGE scenery/monolith3.png {X} {Y}} From d352db611c9fa545ce91afc5a3a6f35624e08ac5 Mon Sep 17 00:00:00 2001 From: white-haired-uncle Date: Sat, 25 May 2024 12:02:58 -0400 Subject: [PATCH 4/5] mv help/ and bzb/ to utils --- {dynamic => utils/beelzebub}/beelzebub/beelzebub_die.cfg | 0 .../beelzebub}/beelzebub/see_beelzebub_monument.cfg | 0 .../beelzebub}/beelzebub/visit_beelzebub_monument.cfg | 0 utils/global_events.cfg | 6 +++--- {help => utils/help/help}/faq.cfg | 0 {help => utils/help/help}/interface.cfg | 0 {help => utils/help/help}/walkthroughs.cfg | 0 utils/utils.cfg | 6 +++--- 8 files changed, 6 insertions(+), 6 deletions(-) rename {dynamic => utils/beelzebub}/beelzebub/beelzebub_die.cfg (100%) rename {dynamic => utils/beelzebub}/beelzebub/see_beelzebub_monument.cfg (100%) rename {dynamic => utils/beelzebub}/beelzebub/visit_beelzebub_monument.cfg (100%) rename {help => utils/help/help}/faq.cfg (100%) rename {help => utils/help/help}/interface.cfg (100%) rename {help => utils/help/help}/walkthroughs.cfg (100%) diff --git a/dynamic/beelzebub/beelzebub_die.cfg b/utils/beelzebub/beelzebub/beelzebub_die.cfg similarity index 100% rename from dynamic/beelzebub/beelzebub_die.cfg rename to utils/beelzebub/beelzebub/beelzebub_die.cfg diff --git a/dynamic/beelzebub/see_beelzebub_monument.cfg b/utils/beelzebub/beelzebub/see_beelzebub_monument.cfg similarity index 100% rename from dynamic/beelzebub/see_beelzebub_monument.cfg rename to utils/beelzebub/beelzebub/see_beelzebub_monument.cfg diff --git a/dynamic/beelzebub/visit_beelzebub_monument.cfg b/utils/beelzebub/beelzebub/visit_beelzebub_monument.cfg similarity index 100% rename from dynamic/beelzebub/visit_beelzebub_monument.cfg rename to utils/beelzebub/beelzebub/visit_beelzebub_monument.cfg diff --git a/utils/global_events.cfg b/utils/global_events.cfg index 620d2b8a..5e4246a6 100644 --- a/utils/global_events.cfg +++ b/utils/global_events.cfg @@ -887,7 +887,7 @@ Do you want to change it for something else?" [command] [lua] code=<< - wesnoth.require("wml-utils").handle_event_commands(wml.load("~add-ons/Legend_of_the_Invincibles/help/interface.cfg")) + wesnoth.require("wml-utils").handle_event_commands(wml.load("~add-ons/Legend_of_the_Invincibles/utils/help/interface.cfg")) >> [/lua] [fire_event] @@ -900,7 +900,7 @@ Do you want to change it for something else?" [command] [lua] code=<< - wesnoth.require("wml-utils").handle_event_commands(wml.load("~add-ons/Legend_of_the_Invincibles/help/walkthroughs.cfg")) + wesnoth.require("wml-utils").handle_event_commands(wml.load("~add-ons/Legend_of_the_Invincibles/utils/help/walkthroughs.cfg")) >> [/lua] [fire_event] @@ -913,7 +913,7 @@ Do you want to change it for something else?" [command] [lua] code=<< - wesnoth.require("wml-utils").handle_event_commands(wml.load("~add-ons/Legend_of_the_Invincibles/help/faq.cfg")) + wesnoth.require("wml-utils").handle_event_commands(wml.load("~add-ons/Legend_of_the_Invincibles/utils/help/faq.cfg")) >> [/lua] [fire_event] diff --git a/help/faq.cfg b/utils/help/help/faq.cfg similarity index 100% rename from help/faq.cfg rename to utils/help/help/faq.cfg diff --git a/help/interface.cfg b/utils/help/help/interface.cfg similarity index 100% rename from help/interface.cfg rename to utils/help/help/interface.cfg diff --git a/help/walkthroughs.cfg b/utils/help/help/walkthroughs.cfg similarity index 100% rename from help/walkthroughs.cfg rename to utils/help/help/walkthroughs.cfg diff --git a/utils/utils.cfg b/utils/utils.cfg index 4d9ae4ab..7a7670f5 100644 --- a/utils/utils.cfg +++ b/utils/utils.cfg @@ -1315,7 +1315,7 @@ $item_info.description" [/filter] [lua] code=<< - wesnoth.require("wml-utils").handle_event_commands(wml.load("~add-ons/Legend_of_the_Invincibles/dynamic/beelzebub/see_beelzebub_monument.cfg")) + wesnoth.require("wml-utils").handle_event_commands(wml.load("~add-ons/Legend_of_the_Invincibles/utils/beelzebub/see_beelzebub_monument.cfg")) >> [/lua] [fire_event] @@ -1335,7 +1335,7 @@ $item_info.description" [/filter] [lua] code=<< - wesnoth.require("wml-utils").handle_event_commands(wml.load("~add-ons/Legend_of_the_Invincibles/dynamic/beelzebub/visit_beelzebub_monument.cfg")) + wesnoth.require("wml-utils").handle_event_commands(wml.load("~add-ons/Legend_of_the_Invincibles/utils/beelzebub/visit_beelzebub_monument.cfg")) >> [/lua] [set_variable] @@ -1416,7 +1416,7 @@ $item_info.description" [/filter] [lua] code=<< - wesnoth.require("wml-utils").handle_event_commands(wml.load("~add-ons/Legend_of_the_Invincibles/dynamic/beelzebub/beelzebub_die.cfg")) + wesnoth.require("wml-utils").handle_event_commands(wml.load("~add-ons/Legend_of_the_Invincibles/utils/beelzebub/beelzebub_die.cfg")) >> [/lua] [fire_event] From 4b220483c430db9e2ee623d51cd2f892854da4fc Mon Sep 17 00:00:00 2001 From: white-haired-uncle Date: Sat, 25 May 2024 12:06:38 -0400 Subject: [PATCH 5/5] mv help/ and bzb/ to utils --- utils/beelzebub/{beelzebub => }/beelzebub_die.cfg | 0 utils/beelzebub/{beelzebub => }/see_beelzebub_monument.cfg | 0 utils/beelzebub/{beelzebub => }/visit_beelzebub_monument.cfg | 0 utils/help/{help => }/faq.cfg | 0 utils/help/{help => }/interface.cfg | 0 utils/help/{help => }/walkthroughs.cfg | 0 6 files changed, 0 insertions(+), 0 deletions(-) rename utils/beelzebub/{beelzebub => }/beelzebub_die.cfg (100%) rename utils/beelzebub/{beelzebub => }/see_beelzebub_monument.cfg (100%) rename utils/beelzebub/{beelzebub => }/visit_beelzebub_monument.cfg (100%) rename utils/help/{help => }/faq.cfg (100%) rename utils/help/{help => }/interface.cfg (100%) rename utils/help/{help => }/walkthroughs.cfg (100%) diff --git a/utils/beelzebub/beelzebub/beelzebub_die.cfg b/utils/beelzebub/beelzebub_die.cfg similarity index 100% rename from utils/beelzebub/beelzebub/beelzebub_die.cfg rename to utils/beelzebub/beelzebub_die.cfg diff --git a/utils/beelzebub/beelzebub/see_beelzebub_monument.cfg b/utils/beelzebub/see_beelzebub_monument.cfg similarity index 100% rename from utils/beelzebub/beelzebub/see_beelzebub_monument.cfg rename to utils/beelzebub/see_beelzebub_monument.cfg diff --git a/utils/beelzebub/beelzebub/visit_beelzebub_monument.cfg b/utils/beelzebub/visit_beelzebub_monument.cfg similarity index 100% rename from utils/beelzebub/beelzebub/visit_beelzebub_monument.cfg rename to utils/beelzebub/visit_beelzebub_monument.cfg diff --git a/utils/help/help/faq.cfg b/utils/help/faq.cfg similarity index 100% rename from utils/help/help/faq.cfg rename to utils/help/faq.cfg diff --git a/utils/help/help/interface.cfg b/utils/help/interface.cfg similarity index 100% rename from utils/help/help/interface.cfg rename to utils/help/interface.cfg diff --git a/utils/help/help/walkthroughs.cfg b/utils/help/walkthroughs.cfg similarity index 100% rename from utils/help/help/walkthroughs.cfg rename to utils/help/walkthroughs.cfg