-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
campaign.cfg
63 lines (55 loc) · 1.69 KB
/
campaign.cfg
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
#textdomain wesnoth-War_of_Legends
# makes it easier to add WoL to the campaign
[binary_path]
path="data/add-ons/War_of_Legends"
[/binary_path]
[language]
type_arcane_focus= _ "type^arcane focus"
type_electric= _ "type^electric"
type_energy= _ "type^energy"
special_note_type_electric= "This unit has an electric attack which behaves differently from the <i>fire</i> damage type."
special_note_type_energy= "This unit has an energy attack which behaves differently from the <i>arcane</i> damage type."
[/language]
{~add-ons/War_of_Legends/macros}
[units]
# load custom resistances
[resistance_defaults]
id="electric"
default="(fire+10)"
mounted=120
drakefoot=100
drakefly=100
drakeglide=100
drakeglide2=100
[/resistance_defaults]
[resistance_defaults]
id="energy"
default="120"
[/resistance_defaults]
[resistance_defaults]
id="arcane_focus"
default="((200 - arcane)+10)"
[/resistance_defaults]
# load units
{~add-ons/War_of_Legends/units}
[/units]
[lua]
code = <<
for i, file in ipairs {
"gui_tags.lua",
"wml_tags.lua",
"mechanics/recall_cost.lua",
"mechanics/level_increment.lua",
"mechanics/give_xp.lua",
"character_action_dialog.lua",
"item_choice_dialog.lua",
"show_image.lua",
"elemental_reactions/cold_infliction.lua",
"elemental_reactions/fire_infliction.lua",
"elemental_reactions/electric_infliction.lua",
}
do
wesnoth.dofile("~add-ons/War_of_Legends/lua/" .. file)
end
>>
[/lua]