/usr/share/games/wesnoth/1.10/data/campaigns/Delfadors_Memoirs/utils/generators.cfg is in wesnoth-1.10-dm 1:1.10.7-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 | #textdomain wesnoth-dm
#define MEMOIRS_GENERATOR_SKELETON X Y TURN
# set the generator's terrain
[event]
name=prestart
[terrain]
x={X}
y={Y}
terrain=Gs^Imb
[/terrain]
[/event]
[event]
name=turn {TURN}
[terrain]
x={X}
y={Y}
terrain=Gs^Ima
[/terrain]
[/event]
#enddef
#define MEMOIRS_GENERATOR
# generate a unit each turn
[event]
name=new turn
first_time_only=no
[store_locations]
terrain=*^Imb
variable=monoliths
[/store_locations]
{FOREACH monoliths one}
[scroll_to]
x=$monoliths[$one].x
y=$monoliths[$one].y
[/scroll_to]
[sound]
name=heal.wav
[/sound]
{RANDOM (Skeleton,Skeleton Archer)}
[unit]
type=$random
side=2
x=$monoliths[$one].x
y=$monoliths[$one].y
animate=yes
[/unit]
{NEXT one}
[/event]
# if someone capable of destroying the generator moves there
[event]
name=moveto
first_time_only=no
[filter]
side=1
type=Mage of Light,White Mage,Great Mage,Arch Mage,Red Mage,Mage,Elder Mage,Paladin,Silver Mage,Journeyman Mage,Mage Leader,Mage Commander,Mage Magister
[filter_location]
terrain=Gs^Imb
[/filter_location]
[/filter]
[message]
speaker=unit
message=_"I call upon all that is holy to break the power of this evil stone!"
[/message]
[sound]
name=lightning.ogg
[/sound]
[color_adjust]
red=100
green=100
blue=100
[/color_adjust]
[delay]
time=10
[/delay]
[color_adjust]
red=0
green=0
blue=0
[/color_adjust]
[terrain]
x=$unit.x
y=$unit.y
terrain=Gg^Ima
[/terrain]
[/event]
# if someone who can't destroy the generator moves there
[event]
name=moveto
first_time_only=no
[filter]
side=1
[not]
type=Mage of Light,White Mage,Great Mage,Arch Mage,Red Mage,Mage,Elder Mage,Paladin,Silver Mage,Journeyman Mage,Mage Leader,Mage Commander,Mage Magister
[/not]
[filter_location]
terrain=Gs^Imb
[/filter_location]
[/filter]
[message]
speaker=unit
message=_"Evil emanates from this stone, but I have not the power to destroy it."
[/message]
[/event]
#enddef
|