View Issue Details

IDProjectCategoryView StatusLast Update
0003362Dwarf FortressCreaturespublic2011-07-09 01:35
ReporterGorobay Assigned Touser11 
PrioritylowSeveritytrivialReproducibilityN/A
Status resolvedResolutionno change required 
Product Version0.31.15 
Summary0003362: [FLIER] is unnecessary in body parts
DescriptionThere are two versions of [FLIER]: one in body parts, and one in creatures. The one in the body parts has no effect on the ability to fly.

This bug does not affect anything; it is just a case of redundancy in the raws.
Steps To Reproduce1) Delete [FLIER] from all body parts.
2) Go to the arena and make e.g. a cave swallow man in the air.
3) Watch as he does not fall to his death.

1) Add [FLIER] to the definition of a creature without any [FLIER] body parts (e.g. a dog).
2) Go to the arena and make that creature.
3) Watch as it can somehow fly.

1) Delete [FLIER] from a creature definition, but let it keep its wings.
2) Make the creature in the arena.
3) Watch as it falls, even though it has wings.
Additional InformationIt is possible that there is another explanation, and that this is not a bug, if the following are true:
1) A creature needs [FLIER] to fly.
2) A creature with [FLIER] and with [FLIER] body parts will lose the ability to fly if those body parts are disabled or removed.
3) A creature with [FLIER] but without [FLIER] body parts will never lose the ability to fly.

Unfortunately, I do not know how to reliably test the removal of specific body parts.
TagsNo tags attached.

Activities

user1294

2010-10-03 12:51

  ~0013171

A creature with flier and a flier body part ceases to be able to fly if the flier body part is destroyed or severed, yes. At least that was what happened to me the last time I played a flier in adventure mode. I'm not sure how it goes with two flier body parts like wings, though.

kaypy

2010-10-28 21:02

reporter   ~0013545

With two flier body parts like wings, currently losing one does not prevent flight (Just had a rather amusing Giant Eagle mishap). Maybe the flier is just flapping the other one twice as hard? 8-)

user11

2011-07-09 01:35

  ~0018171

The [FLIER] tag in the creature definition is the one that grants flight.

The [FLIER] token in a body part definition merely tags that body part as being used for flight; if they take enough damage, it will prevent a creature from using its flying ability.

That should cover the instances your presented.

As this is reported, the tags/tokens are working as intended.

kaypy, if you can verify true loss of limb on the giant eagle and not just damage, please open a new report for that, though it is still possible that it is intended to be able to fly with just one wing.

Issue History

Date Modified Username Field Change
2010-10-03 12:34 Gorobay New Issue
2010-10-03 12:51 user1294 Note Added: 0013171
2010-10-28 21:02 kaypy Note Added: 0013545
2011-07-09 01:35 user11 Note Added: 0018171
2011-07-09 01:35 user11 Status new => resolved
2011-07-09 01:35 user11 Resolution open => no change required
2011-07-09 01:35 user11 Assigned To => user11