Skip to content

CompDraftable

flango edited this page Mar 5, 2023 · 5 revisions

×× Draftable pawns ××

Makes a non-human pawn controllable by the player.

preview


Performance impact: 🟨 Gets worse the more pawns there are
(Mostly due to constantly running unoptimized harmony patches, which can be disabled in the settings)

Type: Comp

XML Node: ThingDef/comps/li


Example:

<comps>
  <li Class="flangoCore.CompProperties_Draftable">
    <equipmentBodyPartTag>ManipulationLimbSegment</equipmentBodyPartTag> <!-- Destroy held equipment if this body part is destroyed/missing -->
  </li>
</comps>

🦩 Home

🚧 - 404 Page not found.
🖼 - Preview needed.

🟡 - Works but has some TODOs.
🟠 - Basic functionality implemented.
🔴 - Not working properly.
❓ - Not tested.


--== XML ==--

💡 Abilities

General

Ability Givers

Equipment Abilities

🟡 Should recode some stuff 🟡

🌳 Skill Trees

🟠 WIP, work/kill XP gain not implemented 🟠

Defs

Comps

🏘 Buildings

⚙ Comps

🏹 Equipment

General

Weapons

Projectiles

🧪 Hediffs

🧍‍♂‍ Pawn behaviors

📊 Stats

🎲 Misc

🧔 Vanilla Expanded

✨ Debug (Dev Mode)


--== C# ==--

📂 Shared Classes

🧬 Patches


Clone this wiki locally