Units are defined without [base_unit] tag (#9413)

Dark Horse, White Horse, Sand Scamperer, and Sand Scuttler are now defined without [base_unit] tag.
This commit is contained in:
OrekOrek 2024-10-05 07:30:19 +09:00 committed by GitHub
parent 1597fd0248
commit d9bb46ce37
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 94 additions and 31 deletions

View File

@ -12,17 +12,30 @@
[unit_type] [unit_type]
id=Dark Horse id=Dark Horse
name= _ "Dark Horse" name= _ "Dark Horse"
[base_unit] race=horse
id=Bay Horse generate_name=no
[/base_unit]
profile="portraits/monsters/dark-horse.webp"
image="units/monsters/horse/horse.png{HORSE_BLACK_IPF}" image="units/monsters/horse/horse.png{HORSE_BLACK_IPF}"
profile="portraits/monsters/dark-horse.webp"
hitpoints=30
movement_type=mounted
movement=8
experience=24 experience=24
level=1
alignment=chaotic
advances_to=Black Horse
cost=16
usage=scout
gender=male,female gender=male,female
ignore_race_traits=yes ignore_race_traits=yes
{TRAIT_INTELLIGENT} {TRAIT_INTELLIGENT}
{TRAIT_RESILIENT} {TRAIT_RESILIENT}
{TRAIT_QUICK} {TRAIT_QUICK}
description=_ "Dark Horses are wild animals, but they seem to take an odd interest in the civilized races. They leave no signs of their passage, but they have been noticed scouting camps and outposts during the night."
die_sound=horse-die.ogg
[defense]
forest=50
hills=50
[/defense]
[resistance] [resistance]
blade=100 blade=100
pierce=120 pierce=120
@ -30,14 +43,6 @@
cold=90 cold=90
arcane=100 arcane=100
[/resistance] [/resistance]
[defense]
forest=50
hills=50
[/defense]
advances_to=Black Horse
alignment=chaotic
movement=8
description=_ "Dark Horses are wild animals, but they seem to take an odd interest in the civilized races. They leave no signs of their passage, but they have been noticed scouting camps and outposts during the night."
{DEFENSE_ANIM "units/monsters/horse/horse-defend-2.png{HORSE_BLACK_IPF}" "units/monsters/horse/horse-defend-1.png{HORSE_BLACK_IPF}" {SOUND_LIST:HORSE_HIT} } {DEFENSE_ANIM "units/monsters/horse/horse-defend-2.png{HORSE_BLACK_IPF}" "units/monsters/horse/horse-defend-1.png{HORSE_BLACK_IPF}" {SOUND_LIST:HORSE_HIT} }
[attack] [attack]
name=hooves name=hooves

View File

@ -12,19 +12,22 @@
[unit_type] [unit_type]
id=White Horse id=White Horse
name= _ "White Horse" name= _ "White Horse"
[base_unit] race=horse
id=Bay Horse generate_name=no
[/base_unit]
image="units/monsters/horse/horse.png{HORSE_WHITE_IPF}" image="units/monsters/horse/horse.png{HORSE_WHITE_IPF}"
profile="portraits/monsters/white-horse.webp" profile="portraits/monsters/white-horse.webp"
hitpoints=31 hitpoints=31
experience=50
advances_to=null
{AMLA_DEFAULT}
movement_type=woodland movement_type=woodland
movement=9 movement=9
experience=50
level=1
alignment=neutral
advances_to=null
{AMLA_DEFAULT}
cost=16
usage=scout
description=_ "Some horses have a white color, and they are merely white horses. But there exist a special breed, found only in the wild woods, that are White Horses. As if blessed by the faerie world, they have a grace and agility not found in their more common relatives." description=_ "Some horses have a white color, and they are merely white horses. But there exist a special breed, found only in the wild woods, that are White Horses. As if blessed by the faerie world, they have a grace and agility not found in their more common relatives."
{DEFENSE_ANIM "units/monsters/horse/horse-defend-2.png{HORSE_WHITE_IPF}" "units/monsters/horse/horse-defend-1.png{HORSE_WHITE_IPF}" {SOUND_LIST:HORSE_HIT} } die_sound=horse-die.ogg
[defense] [defense]
forest=40 forest=40
village=60 village=60
@ -34,6 +37,7 @@
impact=100 impact=100
arcane=100 arcane=100
[/resistance] [/resistance]
{DEFENSE_ANIM "units/monsters/horse/horse-defend-2.png{HORSE_WHITE_IPF}" "units/monsters/horse/horse-defend-1.png{HORSE_WHITE_IPF}" {SOUND_LIST:HORSE_HIT} }
[attack] [attack]
name=hooves name=hooves
description=_"hooves" description=_"hooves"

View File

@ -5,16 +5,13 @@
[unit_type] [unit_type]
id=Sand Scamperer id=Sand Scamperer
[base_unit]
id=Giant Scorpling
[/base_unit]
name= _ "Sand Scamperer" name= _ "Sand Scamperer"
race=monster
image="units/monsters/scorpion/scorpling.png{SAND_SCAMPERER_IPF}"
small_profile="portraits/monsters/scamperer.webp~FL()~CROP(0,82,400,318)" small_profile="portraits/monsters/scamperer.webp~FL()~CROP(0,82,400,318)"
profile="portraits/monsters/scamperer.webp~RIGHT()" profile="portraits/monsters/scamperer.webp~RIGHT()"
image="units/monsters/scorpion/scorpling.png{SAND_SCAMPERER_IPF}"
undead_variation=sand_scorpion
description= _ "This impressive creature swiftly moves through the scorching desert sand. Its body is covered in a thick, sand-colored exoskeleton absorbing any impact damage. However, it is also highly flammable and vulnerable to arcane energy, making fire and magic-based attacks the most effective way to take this venomous critter down."
hitpoints=27 hitpoints=27
movement_type=scuttlefoot
[resistance] [resistance]
blade=90 blade=90
pierce=90 pierce=90
@ -23,9 +20,38 @@
cold=120 cold=120
arcane=150 arcane=150
[/resistance] [/resistance]
movement=6
experience=20
level=0
alignment=neutral
advances_to=Sand Scuttler advances_to=Sand Scuttler
cost=12
usage=fighter
undead_variation=sand_scorpion
description= _ "This impressive creature swiftly moves through the scorching desert sand. Its body is covered in a thick, sand-colored exoskeleton absorbing any impact damage. However, it is also highly flammable and vulnerable to arcane energy, making fire and magic-based attacks the most effective way to take this venomous critter down."
die_sound=hiss-big.wav
{DEFENSE_ANIM "units/monsters/scorpion/scorpling-defend2.png{SAND_SCAMPERER_IPF}" "units/monsters/scorpion/scorpling-defend1.png{SAND_SCAMPERER_IPF}" hiss.wav } {DEFENSE_ANIM "units/monsters/scorpion/scorpling-defend2.png{SAND_SCAMPERER_IPF}" "units/monsters/scorpion/scorpling-defend1.png{SAND_SCAMPERER_IPF}" hiss.wav }
[attack]
name=sting
description=_"sting"
type=pierce
range=melee
[specials]
{WEAPON_SPECIAL_POISON}
[/specials]
damage=5
defense_weight=4.0
number=1
[/attack]
[attack]
name=pincers
description=_"pincers"
type=impact
range=melee
damage=2
number=4
[/attack]
[attack_anim] [attack_anim]
[filter_attack] [filter_attack]
name=pincers name=pincers

View File

@ -2,15 +2,11 @@
[unit_type] [unit_type]
id=Sand Scuttler id=Sand Scuttler
[base_unit]
id=Giant Scorpion
[/base_unit]
name= _ "Sand Scuttler" name= _ "Sand Scuttler"
race=monster
image="units/monsters/scorpion/sand-scuttler.png"
small_profile="portraits/monsters/scuttler.webp~FL()" small_profile="portraits/monsters/scuttler.webp~FL()"
profile="portraits/monsters/scuttler.webp~RIGHT()" profile="portraits/monsters/scuttler.webp~RIGHT()"
image="units/monsters/scorpion/sand-scuttler.png"
undead_variation=sand_scorpion
description= _ "Making their homes in sandy dunes, these critters are an odd mix of mundane creature and elemental beast. Though usually timid, Sand Scuttlers sometimes attack unwary travelers, especially when startled."
[standing_anim] [standing_anim]
start_time=0 start_time=0
direction=s,sw,se direction=s,sw,se
@ -26,6 +22,7 @@
[/frame] [/frame]
[/standing_anim] [/standing_anim]
hitpoints=40 hitpoints=40
movement_type=scuttlefoot
[resistance] [resistance]
blade=90 blade=90
pierce=90 pierce=90
@ -34,8 +31,39 @@
cold=120 cold=120
arcane=150 arcane=150
[/resistance] [/resistance]
movement=8
experience=50
level=1
alignment=neutral
advances_to=null
{AMLA_DEFAULT}
cost=17
undead_variation=sand_scorpion
usage=fighter
description= _ "Making their homes in sandy dunes, these critters are an odd mix of mundane creature and elemental beast. Though usually timid, Sand Scuttlers sometimes attack unwary travelers, especially when startled."
die_sound=hiss-big.wav
{DEFENSE_ANIM_DIRECTIONAL "units/monsters/scorpion/sand-scuttler-defend2.png" "units/monsters/scorpion/sand-scuttler-defend1.png" "units/monsters/scorpion/sand-scuttler-ne-defend2.png" "units/monsters/scorpion/sand-scuttler-ne-defend1.png" hiss.wav } {DEFENSE_ANIM_DIRECTIONAL "units/monsters/scorpion/sand-scuttler-defend2.png" "units/monsters/scorpion/sand-scuttler-defend1.png" "units/monsters/scorpion/sand-scuttler-ne-defend2.png" "units/monsters/scorpion/sand-scuttler-ne-defend1.png" hiss.wav }
[attack]
name=sting
description=_"sting"
type=pierce
range=melee
[specials]
{WEAPON_SPECIAL_POISON}
[/specials]
damage=9
defense_weight=4.0
number=1
[/attack]
[attack]
name=pincers
description=_"pincers"
type=impact
range=melee
damage=4
number=4
[/attack]
[attack_anim] [attack_anim]
[filter_attack] [filter_attack]
name=pincers name=pincers