-
Notifications
You must be signed in to change notification settings - Fork 15
More Details
The label of a verb is the first one of these that is not null or empty:
- The
visualLabelfield of the correspondingAdditionalVerbProps. - The
labelfield of the verb. - The label of the projectile fired by the verb, if it fires projectiles.
- The label of the owner of this verb.
The icon of a verb is the first one of these that is a valid texture:
- If this is a toggle gizmo, the
toggleIconfield of the correspondingAdditionalVerbProps. - The
graphicfield of the correspondingAdditionalVerbProps. - The
commandIconfield of the verb. - The icon of the projectile fired by the verb, if it fires projectiles.
- The icon of the item that provides this verb, if it exists. Which it will, unless this verb is given by a Hediff.
- The default vanilla "Attack" icon.
DrawPosition is the class used to determine where to draw a verb that has drawing enabled. All the Vector2s are offsets from the center of the pawn. It has the following fields:
If in specificPositions this is used to find which types of pawns this specific position to be used on. If this is the defaultPosition, then this field is ignored.
The default position, if the current rotation does not have a entry.
Specific positions depending on the rotation of the pawn.
If provided, only applies this DrawPosition to pawns with this body type.
To scale the drawn verb differently based on the owner, you can provide a scalings list, which is a list Scaling objects.
If provided, this scaling only applies to pawns of this body type.
Limits this scaling to only pawns with this defName.
What scale to draw at if this scaling's prereqs match.
- QuestNode_GetFaction
- Expandable projectiles
- Faction Def Extension
- Toggable patches
- Recipes Inheritance
- Adding new backstories
- Spawning things on new generated maps
- CompApparelHediffs
- CompShieldBubble
- CompHediffGiver
- CompLeavesSpawner & CompAutumnLeavesSpawner
- CompProperties_HomingProjectile
- ThoughtExtensions
- ExcludeFromQuestsExtension
- WeatherLetterExtensions
- WeatherOverlayExtension
- WeatherEffectsExtension
- ThingDefExtension
- Stuff commonality extension
- Biome extension
- PipeSystem basics
- Resource
- Resource storage
- Resource processor
- Resource to thing
- Resource to power
- Thing to resource
- Resource trader
- Refill building with pipes
- Pipe valve
- Exporting buildings
- Customizing symbols
- Debug helpers options
- Custom faction settlement
- Custom structure and scenarios
- Custom structure in quests
- Custom structure in WorldObjects
- Biome based structures
- Spawning world object(s) at world generation
- Prevent settlement spawning for nomadic factions
- Animal Behaviours Basics
-
Animal Behaviours Comp Classes
- Acid Attacks and Acid Immunity
- Animal Resources
- Animal Resources On Caravan
- Apply Hediff When Bound
- Asexual Reproduction
- Auto Nutrition
- Blink
- Build Periodically
- Cause Incident
- Change Def if Not Unique
- Change Weather
- Corpse Decayer
- Destroy This Item
- Die After Period
- Die And Change Into Another Def
- Dig Periodically
- Dig When Hungry
- Disease Event Immunity
- Disease Immunity
- Diseases After Period
- Doesn't flee
- Draftability
- Drop on Death
- Eat Weird Food
- Electrified
- Enrage Other Pawns
- Exploding Hatcher
- Extreme Xenophobia
- Fertilizer
- Filth Producer
- Fixed Gender
- Floating
- Gas Producer
- Give Thoughts On Caravan
- Graphic by Style
- Graphic by Terrain
- Hediff Effecter
- Hediff When Fleeing
- Highly Flammable
- Infecter
- Initial Ability
- Initial Hediff
- Initial Mental State
- Last Stand
- Light Sustenance
- Metamorphosis
- Mind Effecter
- Nearby Effecter
- No Taming Decay
- Passive Regenerator
- Pawn Overlay
- Produces no filth
- Refueling
- Regeneration
- State After Health Loss
- Summon On Spawn
- Swallow Whole
- Thought Effecter
- Untameable
- Animal Behaviours Hediff Comp Classes
- Animal Behaviours Damage Workers
- Animal Behaviours Def Extensions
- Animal Behaviours Extra Defs
- Animal Behaviours Misc