Skip to content

Commit

Permalink
TRoW: [unit]image= is not supported
Browse files Browse the repository at this point in the history
Instead we must use a custom unit type to get the desired effect

With this, TRoW is now clean of schema errors
  • Loading branch information
CelticMinstrel committed Apr 12, 2018
1 parent 0c48c66 commit 752e016
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
Expand Up @@ -42,11 +42,10 @@

[side]
side=3
type=Elvish Champion
type=Elvish Champion Kalian
id=Lord Logalmier
name= _ "Lord Logalmier"
profile="portraits/logalmier.png"
image="units/kalian-elvish-champion.png"
team_name=Elves
user_team_name=_"Elves"
{FLAG_VARIANT long}
Expand Down
9 changes: 9 additions & 0 deletions data/campaigns/The_Rise_Of_Wesnoth/units/Kalian.cfg
@@ -0,0 +1,9 @@

# Cutscene-only unit, has no need of fancy animations
[unit_type]
id=Elvish Champion Kalian
[base_unit]
id=Elvish Champion
[/base_unit]
image="units/kalian-elvish-champion.png"
[/unit_type]

0 comments on commit 752e016

Please sign in to comment.