Skip to content

mod_tweaking

KapTaiN KaVerN edited this page Nov 6, 2016 · 9 revisions

How to mod CK- APP

Remove a wild plant or animal

In this mod, we choose to only use biomedefs tags to set wild animals and plants commonality ratio.

This means all you have to do, in order to remove an animal or plant from a biome, is to :

  • Locate the file where the biome is set and open it with any text editor. It should be in "Defs/BiomeDefs/"
  • In the part of the code relative to the chosen biome, you have to erase the line for the chosen animal or plant (or set it's ratio to 0) ex: <CK_PlantWildCoffea>0.05</CK_PlantWildCoffea>, for "wild coffee" in Tropical Rainforest biome

Remove a cultivable plant

Open the file Defs/ThingDefs_Plants/Plants_Cultivated_Farm.xml, with any text editor.

  • Locate the part of the code related to the cultivable plants you want to remove. It should be starting by <ThingDef ParentName="PlantBase"> or <ThingDef ParentName="TreeBase"> or something similar
  • Erase all the code related to the plant you want to remove. Meaning all the lines from <ThingDef ParentName="xxxxxx"> to the first next</ThingDef> included