-
Notifications
You must be signed in to change notification settings - Fork 63
Weapon Def Extensions
juanosarg edited this page Jun 3, 2026
·
8 revisions
The Weapons module adds several def mod extensions:
- AutoRefuel Manned Turrets: For use with CompProperties_Mannable turrets
- Damage Extension: Provides some extra functionality for damages
- Expanded show turret radius extension: Provides some extra functionality for turrets
- Heavy Weapon: Provides some extra functionality for a weapon, turning it into a heavy weapon from Vanilla Weapons Expanded - Heavy weapons
- Makeshift Properties: Provides some extra functionality for a weapon, turning it into a makeshift weapon from Vanilla Weapons Expanded - Makeshift
- Mote Properties: Provides some extra functionality for a weapon, making it produce motes when firing
- Projectile Extension: Provides some extra functionality for projectiles
- Weapon Trait Def Extension: Provides new functionality for Odyssey's ranged weapon traits. IMPORTANT: This requires a feature to be toggled, learn how here: OptionalFeatures
Def Extensions are added to the <modExtensions> tag of the def you want to add them to.
If you aren't sure if the def ALREADY has an extension (for example, if you think another mod will add their own), always use XPATH (xml patching) to add an extension, as there is already a PatchOperationAddModExtension to ensure they don't collide.
- Abilities
- Animal Behaviours
- Apparels
- Buildings
- Cooking
- Factions
- Genes
- Global
- Graphics
- Hediffs
- Maps
- Memes
- OptionalFeatures
- Pawns
- Planet
- Plants
- Storyteller
- Things
- Weapons
- Weathers
- PipeSystem basics
- Resource
- Resource storage
- Resource processor
- Resource to thing
- Resource to power
- Thing to resource
- Resource trader
- Refill building with pipes
- Pipe valve
- Advanced Resource Processor
- Update to KCSG 2.0
- 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