Skip to content

Repository files navigation

Something Custom This Way Comes

A very basic library mod which simply adds some more configurable versions of basic something wanders in events. Imagine the base game Thrumbo event but not just Thrumbos!

Usage

As a player you won't use this directly it's just a base for other mods.

From XML

Simply make an incident like any other. As a minimum this needs an IncidentDef in your Defs folder e.g. MyCoolMod/Defs/Storyteller/Incidents_Map_Misc.xml That, if you want to be visited by Muffalo, looks something like this:

<?xml version="1.0" encoding="utf-8" ?>
<Defs>
  <IncidentDef>
    <!-- Remember to always prefix your defs! -->
    <defName>Taggerung_TestIncident1</defName>
    <label>Test Incident 1</label>
    <category>Misc</category>
    <targetTags>
      <li>Map_PlayerHome</li>
    </targetTags>
    <baseChance>0.7</baseChance>
    <minRefireDays>13</minRefireDays>
    <allowedBiomes>
      <li>TropicalRainforest</li>
    </allowedBiomes>

    <!-- Select the defName of the type of entity you want to come to visit -->
	<pawnKind>Muffalo</pawnKind>
    <!-- Make sure to select the special incident worker-->
    <workerClass>SomethingCustomThisWayComes.IncidentWorker_SomethingPasses</workerClass>
  </IncidentDef>
</Defs>

To help with testing the debug version of this mod you will get by cloning this repo includes an example incidentDef in the 1.x/Example folder.

You can have as many incidents as you like as long as they all have a unique defName

Thanks

  • Ludeon for such a great game with excellent mod support.
  • Marnador for the RimWorld font

Continuity

See CONTINUITY.md for details on continuity and succession of this project in the event of my death or long-term absence.

About

A library mod which adds a configurable something wanders in incident

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages