Skip to content

Pawn Rules is a mod for RimWorld that allows rules to be assigned individually to your colonists, animals, guests and prisoners.

Notifications You must be signed in to change notification settings

Dango998/PawnRules

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pawn Rules

Built for RimWorld 1.0.x / 0.19.x
Powered by Harmony
Supports ModSync RW

Link to Ludeon Forum Post


Pawn Rules is a mod that allows custom rules to be assigned individually to your colonists, animals, guests and prisoners.

Currently the following rules can be applied:

  • Disallow certain foods
    • Ignored if binging on food
  • Disallow bonding with certain animals
    • This has no effect on existing bonds
  • Disallow new romances
    • This has no effect on existing relations and engaged couples can still get married
  • Disallow constructing items that have a quality level
    • Can still haul materials to blueprints

Supports addons created by other modders by allowing easy creation of new rule options while handling the GUI and world storage saving. For more information check out the wiki page on Addons.


INSTALLATION

TECHINICAL DETAILS

This mod can be safely removed from a save without breaking the game. To do so go to Options from the main rules window for a character and select Remove Mod.

A save of your world will be made with no traces of this mod and the game will restart. Skipping the Remove Mod step will result in errors being displayed the first time a save is loaded although no further problems should occur.


The following original methods are patched using Harmony:

RimWorld.FoodUtility.BestFoodSourceOnMap : Prefix
RimWorld.FoodUtility.BestFoodInInventory : Prefix
RimWorld.FoodUtility.TryFindBestFoodSourceFor : Prefix
RimWorld.GenConstruct.CanConstruct : Postfix
RimWorld.InteractionWorker_RomanceAttempt.SuccessChance : Prefix
RimWorld.JobGiver_PackFood.IsGoodPackableFoodFor : Postfix
RimWorld.JoyGiver_Ingest.CanIngestForJoy : Prefix
RimWorld.PawnUtility.TrySpawnHatchedOrBornPawn : Postfix
RimWorld.RelationsUtility.TryDevelopBondRelation : Prefix
Verse.Game.FinalizeInit : Postfix
Verse.Pawn.GetGizmos : Postfix
Verse.Pawn.Kill : Postfix
Verse.Pawn.SetFaction : Prefix
Verse.Pawn.SetFactionDirect : Prefix
Verse.Pawn_GuestTracker.SetGuestStatus : Prefix

About

Pawn Rules is a mod for RimWorld that allows rules to be assigned individually to your colonists, animals, guests and prisoners.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%