Skip to content

CustomDescriptions

flango edited this page Oct 4, 2022 · 3 revisions

×× Custom item descriptions in verbs and inventory ××

Allows for making separate descriptions for verb and inventory info popups.

    Inspect:   image

Inventory:   image     Verb:   image


Type: ModExtension

XML Node: ThingDef/modExtensions/li


Example:

<ThingDef>
   ...
   <description>Just an ordinary revolver.</description>
   ...
   <modExtensions>
       <li Class="flangoCore.ModExt_CustomDescription">
           <description>I LIED! I AM NO ORDINARY REVOLVER!!!</description>
           <affectVerb>true</affectVerb> <!-- Optional. Default: true -->
           <affectInventory>true</affectInventory> <!-- Optional. Default: true -->
       </li>
   </modExtensions>
</ThingDef>

🦩 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