Rewrote Tentacle of the Deep base image path to include a fallback
For example the units.wesnoth.org pages cannot process IPFs, and will use the base image file verbatim, so this makes sure that it at least shows the tentacle base frame instead of blank-hex.png.
This commit is contained in:
parent
df6a775ee8
commit
13b5e8421a
1 changed files with 2 additions and 1 deletions
|
@ -3,7 +3,8 @@
|
|||
id=Tentacle of the Deep
|
||||
name= _ "Tentacle of the Deep"
|
||||
race=monster
|
||||
image="misc/blank-hex.png~SCALE(110,100)~BLIT(halo/ripples/ripple10.png,19,19)~BLIT(units/monsters/deep-tentacle.png,19,0)~CROP(19,0,72,72)"
|
||||
# The ~O(0) trick is used here to allow the base tentacle image to get used in contexts where IPFs are not supported
|
||||
image="units/monsters/deep-tentacle.png~O(0)~BLIT(halo/ripples/ripple10.png~CROP(0,0,72,53),0,19)~BLIT(units/monsters/deep-tentacle.png)"
|
||||
profile="portraits/monsters/deep-tentacle.png"
|
||||
hitpoints=28
|
||||
movement_type=float
|
||||
|
|
Loading…
Add table
Reference in a new issue