Author: mythological
Date: Tue Aug 21 02:01:41 2007
New Revision: 19698
URL: http://svn.gna.org/viewcvs/wesnoth?rev=19698&view=rev
Log:
Changes to the way Owaec gets his hero icon overlay so that it doesn't cover
it's leader icon.
Made the surviving Owaec's units recallable in the next scenarios
Added recruitment patterns to AI controlled sides
Modified:
trunk/data/campaigns/Eastern_Invasion/scenarios/05.Northern_Outpost.cfg
Modified:
trunk/data/campaigns/Eastern_Invasion/scenarios/05.Northern_Outpost.cfg
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/Eastern_Invasion/scenarios/05.Northern_Outpost.cfg?rev=19698&r1=19697&r2=19698&view=diff
==============================================================================
--- trunk/data/campaigns/Eastern_Invasion/scenarios/05.Northern_Outpost.cfg
(original)
+++ trunk/data/campaigns/Eastern_Invasion/scenarios/05.Northern_Outpost.cfg Tue
Aug 21 02:01:41 2007
@@ -34,7 +34,6 @@
type=Mounted Fighter
description=Owaec
user_description= _ "Owaec"
- {IS_HERO}
side=2
canrecruit=1
recruit=Cavalryman,Mage,Heavy Infantryman
@@ -43,6 +42,7 @@
{GOLD 90 70 50}
[ai]
passive_leader=yes
+ recruitment_pattern=mixed fighter,fighter,scout,mixed
fighter,fighter
{NO_SCOUTS}
[avoid]
x=1-32
@@ -64,6 +64,7 @@
{GOLD 30 40 50}
[ai]
aggression=-0.1
+ recruitment_pattern=archer,fighter
[/ai]
[/side]
@@ -321,7 +322,21 @@
[/message]
{MODIFY_UNIT description=Owaec canrecruit 0}
- {MODIFY_UNIT description=Owaec side 1}
+ {MODIFY_UNIT side=2 side 1}
+ [store_unit]
+ [filter]
+ description=Owaec
+ [/filter]
+ variable=Owaec_store
+ kill=no
+ [/store_unit]
+ [unit_overlay]
+ x=$Owaec_store.x
+ y=$Owaec_store.y
+ image=misc/hero-icon.png
+ [/unit_overlay]
+
+ {CLEAR_VARIABLE Owaec_store}
[endlevel]
bonus=yes
@@ -366,7 +381,21 @@
[/message]
{MODIFY_UNIT description=Owaec canrecruit 0}
- {MODIFY_UNIT description=Owaec side 1}
+ {MODIFY_UNIT side=2 side 1}
+ [store_unit]
+ [filter]
+ description=Owaec
+ [/filter]
+ variable=Owaec_store
+ kill=no
+ [/store_unit]
+ [unit_overlay]
+ x=$Owaec_store.x
+ y=$Owaec_store.y
+ image=misc/hero-icon.png
+ [/unit_overlay]
+
+ {CLEAR_VARIABLE Owaec_store}
[endlevel]
bonus=yes
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits