Bodies
Glossary
- Equipment: A body part, equipment item, or body mod like a piercing, tattoo, or mutation.
- EquipmentDefinition: The above is a specific instance of a part attached to a specific body. On the other hand, this is the general template that dictates what it should look like and what it can do.
- Body: Contains all the Equipment instances.
- Slot: If you pick a transformation that gives you a new pair of boobs, they don’t exist side by side with the old boobs. This is because they can’t both occupy the
'breasts'
slot. A slot itself is just a text string. Here’s a complete list of slots. Every EquipmentDefinition goes into a slot and can provide more slots of its own, in case you want to pierce it or something. - ShopItem: This wraps an EquipmentDefinition with a price and some other presentation information so it can appear in the Sanctum’s transformations menu. If you want to add protagonist transformations to the game, you’ll be making ShopItems and adding them to tomes.
- TechTree: This is the branching menu that the player picks from to give minions transformations. The transformations inside are still EquipmentDefinitions though.
Where do bodies come from?
The protagonist gets their starting body from default_male / default_female / default_mtf_body / default_ftm_body in ShopItem.py.
NPCs can get bodies from two places:
- Archetype: This defines a new NPC the player can recruit. There’s one instance of this class for each gender the character is available in. If you want multiple genders available, you can call add_unisex_archetype() to make copies for each gender. An archetype can have a unique body, but if you leave it out you get the default.
- If you don’t need the archetype to have a special body, it gets the default one defined in ShopItem.py in default_minion_body.
The list of which genders there can possibly be is defined in Character.py.