RimWorld Mods

Get Out Of My Chair! Mod

Author of the Get Out Of My Chair! Mod: Aelanna

Stops colonists from eating in rooms that don’t belong to them!

Get Out Of My Chair! Mod features

This mini-mod adds a toggle on chairs and sofas that allows you to specify them as Public, Private, or Disallowed for eating. When set to Private, colonists will only use the specified chair to eat at if their assigned bed is in the same room as the chair.

For convenience, there is also a toggle on tables to set the dining policy of all chairs adjacent to it.

Technical Details

Get Out Of My Chair! uses a single transpiler on Toils_Ingest.CarryIngestibleToChewSpot() to alter the validator pawns use to determine whether a chair is a valid place to sit at to eat. This should add minimal overhead that is only incurred when a pawn picks up a meal to eat and decides where it can sit to eat.

Get Out Of My Chair! also uses three postfixes on CompGatherSpot.CompGetGizmosExtra(), Building.GetGizmos(), and Building.ExposeData() to display the dining policy toggle and save and load chair settings.

This mod operates on chairs instead of tables because the logic in Toils_Ingest.CarryIngestibleToChewSpot() actually searches for unreserved chairs first before validating that they are in fact adjacent to a table surface. Policy data is kept in a single Dictionary<int, enum> that uses the chair’s thingIDNumber as the key for minimal memory footprint.

Compatibility notes

Get Out Of My Chair! is potentially incompatible with Table Diner, which appears to use a destructive prefix on the vanilla chair-finding code.

Furniture in the preview image is from Eccentric Tech – Spacer Furniture.


Version 1.5

Older versions:

Leave a Reply

Your email address will not be published. Required fields are marked *

Hm, you're using an ad blocker...

We get it, ads are not what you’re here for. But ads help us keep the lights on. We deliver up-to-date mods, guides and plenty of RimWorld content at no cost to you. So, please, add us to your ad blocker’s whitelist to continue browsing the RimWorld Base. 

Please whitelist us on your ad blocker and

Get a lifetime ad-free experience with the purchase of any RimWorld merchandise from our store. 

Still seeing this message after making a purchase? Click here to fix it

Get your RimWorld T-Shirt!

Dress in RimWorld style. For you or your loved ones!