Disabled the Dismounted Commander entirely for now.

The unit type, strings and all that still remains.
This commit is contained in:
Lari Nieminen 2009-03-09 21:40:23 +00:00
parent 8ae4ff36a1
commit b8c057c0d6
3 changed files with 17 additions and 98 deletions

View file

@ -246,6 +246,7 @@
id=Minister Hylas
[/recall]
#ifdef __UNUSED__
[message]
speaker=Deoran
message= _ "My mount will not help me in these rocky paths - I will leave him here at the entrance and proceed on foot."
@ -255,19 +256,6 @@
message= _ "That is wise. Speed is less valuable in caves than toughness."
[/message]
#ifdef EASY
[message]
speaker=narrator
message= _ "Cavalrymen and Dragoons will be less useful in the caves than soldiers who fight on foot."
image=wesnoth-icon.png
[/message]
[message]
speaker=narrator
message= _ "Also, soldiers with the -quick- trait will be useful in the dark."
image=wesnoth-icon.png
[/message]
#endif
# Transform Deoran into a Foot Commander - thanks to Shadow for the graphics!
[store_unit]
@ -315,29 +303,27 @@
find_vacant=no
[/unstore_unit]
[store_unit]
[filter]
id=Deoran
[/filter]
kill=yes
variable=deoran_store
[/store_unit]
[unstore_unit]
variable=deoran_store
find_vacant=no
[/unstore_unit]
{CLEAR_VARIABLE deoran_store}
{FULL_HEAL id=Deoran}
#endif
[message]
speaker=Ethiliel
message= _ "Proceed slowly, who knows what evils inhabited these parts before Mebrin was turned! We cannot be too careful."
[/message]
#ifdef EASY
[message]
speaker=narrator
message= _ "Cavalrymen and Dragoons will be less useful in the caves than soldiers who fight on foot."
image=wesnoth-icon.png
[/message]
[message]
speaker=narrator
message= _ "Also, soldiers with the -quick- trait will be useful in the dark."
image=wesnoth-icon.png
[/message]
#endif
[objectives]
side=1
[objective]

View file

@ -156,77 +156,10 @@
canrecruit=yes
[/side]
[event]
name=prestart
[store_unit]
variable=deoran_store
kill=yes
[filter]
id=Deoran
[/filter]
[/store_unit]
[if]
[variable]
name=deoran_store.type
equals=Dismounted Commander 1
[/variable]
[then]
{VARIABLE deoran_store.type "Junior Commander"}
{VARIABLE deoran_store.moves 6}
[/then]
[/if]
[if]
[variable]
name=deoran_store.type
equals=Dismounted Commander 2
[/variable]
[then]
{VARIABLE deoran_store.type "Horseman Commander"}
{VARIABLE deoran_store.moves 7}
[/then]
[/if]
[if]
[variable]
name=deoran_store.type
equals=Dismounted Commander 3
[/variable]
[then]
{VARIABLE deoran_store.type "Mounted General"}
{VARIABLE deoran_store.moves 8}
[/then]
[/if]
[unstore_unit]
variable=deoran_store
find_vacant=yes
[/unstore_unit]
[store_unit]
[filter]
id=Deoran
[/filter]
kill=yes
variable=deoran_store
[/store_unit]
[unstore_unit]
variable=deoran_store
find_vacant=no
[/unstore_unit]
{CLEAR_VARIABLE deoran_store}
{FULL_HEAL id=Deoran}
{GENERIC_UNIT 2 Trapper 6 43}
[/event]
[event]
name=start
{GENERIC_UNIT 2 Trapper 6 43}
{NAMED_GENERIC_UNIT 3 (Spearman) 8 6 (Border Guard) (_"Border Guard")} {GUARDIAN}
{NAMED_GENERIC_UNIT 3 (Spearman) 10 6 (Border Guard) (_"Border Guard")} {GUARDIAN}
{NAMED_GENERIC_UNIT 3 (Bowman) 10 2 (Border Guard) (_"Border Guard")} {GUARDIAN}

View file

@ -24,7 +24,7 @@
[side]
side=1
type=Dismounted Commander 1
type=Horseman Commander
id=Deoran
name= _ "Deoran"
unrenamable=yes