Skip to content

Commit

Permalink
SoF: General cleanup
Browse files Browse the repository at this point in the history
1) Clear variables and macros
2) Remove default AI values
3) S7: Remove the ghost ship
  • Loading branch information
DisherProject authored and sevu committed Sep 14, 2018
1 parent effb865 commit 9e8fb2d
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 13 deletions.
Expand Up @@ -93,7 +93,6 @@
user_team_name= _ "Elves"
{ai/aliases/stable_singleplayer.cfg}
[ai]
{AI_SIMPLE_ALWAYS_ASPECT grouping offensive}
{AI_SIMPLE_ALWAYS_ASPECT passive_leader yes}
[goal]
[criteria]
Expand Down Expand Up @@ -368,7 +367,6 @@
{TRAIT_LOYAL}
{TRAIT_RESILIENT}
[/modifications]
{IS_HERO}
[/unit]
[message]
speaker=Alanin
Expand Down
Expand Up @@ -40,9 +40,6 @@
{GOLD 200 250 300}
team_name=elves
user_team_name= _ "Elves"
[ai]
grouping=offensive
[/ai]
{FLAG_VARIANT wood-elvish}
[/side]

Expand Down Expand Up @@ -824,3 +821,6 @@
[/image]
[/terrain_graphics]
[/scenario]

#undef GLYPH_ON
#undef GLYPH_OFF
Expand Up @@ -628,6 +628,7 @@
id=Baglur
image=misc/loyal-icon.png
[/unit_overlay]
{CLEAR_VARIABLE thur_x,thur_y}
[endlevel]
result=victory
bonus=yes
Expand All @@ -645,3 +646,5 @@
[/endlevel]
[/event]
[/scenario]

#undef WINTERENEMY
Expand Up @@ -835,3 +835,5 @@
[/gold]
[/event]
[/scenario]

#undef IN_CAVES
Expand Up @@ -96,11 +96,6 @@
carryover_percentage=0
[/gold_carryover]
[/objectives]
[unit]
x,y=1,1
type=Galleon
side=2
[/unit]
[/event]

[event]
Expand Down Expand Up @@ -172,9 +167,6 @@
{TRAIT_RESILIENT}
[/modifications]
[/unit]
[kill]
type=Galleon
[/kill]
[scroll_to]
x,y=18,1
[/scroll_to]
Expand Down Expand Up @@ -265,6 +257,8 @@
[/modifications]
{IS_LOYAL}
[/unit]

{CLEAR_VARIABLE random}
[/event]

[event]
Expand Down
1 change: 1 addition & 0 deletions data/campaigns/Sceptre_of_Fire/scenarios/8_The_Dragon.cfg
Expand Up @@ -461,6 +461,7 @@
variable=thur
find_vacant=yes
[/unstore_unit]
{CLEAR_VARIABLE thur}

[object]
id=sceptre of fire
Expand Down
Expand Up @@ -835,6 +835,8 @@
[unstore_unit]
variable=alanin
[/unstore_unit]
{CLEAR_VARIABLE move_x,move_y}
{CLEAR_VARIABLE alanin}
[endlevel]
result=victory
carryover_report=no
Expand All @@ -843,3 +845,6 @@
[/endlevel]
[/event]
[/scenario]

#undef RANDOM_MERCENARY_2
#undef CHANGE_MAP
1 change: 1 addition & 0 deletions data/campaigns/Sceptre_of_Fire/scenarios/Epilogue.cfg
Expand Up @@ -176,6 +176,7 @@
[unstore_unit]
variable=krawg
[/unstore_unit]
{CLEAR_VARIABLE krawg}
#/MUF
[message]
speaker=Gatekeeper
Expand Down

0 comments on commit 9e8fb2d

Please sign in to comment.