I’m trying to do some basic anatomy modeling in my current adventure. Here is the setup from my extension in progress:
Part I - Life and Death
Chapter I - Anatomy
Limb-integrity is a kind of value. The limb-integrities are whole, bruised, and broken.
Bleed-state is a kind of value. The bleed-states are bloodless and bleeding.
A limb is a kind of thing. A limb always has a number called threshold. The threshold of a limb is usually 15.
A limb always has a limb-integrity called limb-state. The limb-state of a limb is usually whole. A limb always
has a bleed-state. The bleed-state of a limb is usually bloodless.
A main-hand, off-hand, legs, forelegs, hindlegs, main-claw, off-claw, skull, wings, talons, and torso are
kinds of limbs with limb-state whole.
Chapter II - Taxonomy
A main-hand, off-hand, legs, skull, and torso are a part of every man.
A main-hand, off-hand, legs, skull, and torso are a part of every woman.
A humanoid is a kind of person. A main-hand, off-hand, legs, skull, and torso are a part of every humanoid.
A bird is a kind of animal. Talons, a skull, a torso, and wings are a part of every bird.
A quadruped is a kind of animal. Forelegs, hindlegs, a skull, and a torso are a part of every quadruped.
And here is the source code from my test game:
Laboratory is a room. The hero is a man in Laboratory. The player is the hero.
Include System 7 by Rakaneth.
The hapless prisoner is a man in Laboratory. The wolf is a quadruped in Laboratory. The limb-state of the
forelegs of the wolf is broken. The eagle is a bird in Laboratory.
Test me with " showme wolf / x my torso / x wolf's forelegs".
What’s happening is that when I run this, Inform objects to the setting of the initial limb-state of the wolf’s forelegs, because it hasn’t been allowed to exist.
What am I missing here?