Azrael's Mods

← All RimWorld mods

Niceties

Each comfort is a toggle

RimWorld 1.6 / 1.7Requires HarmonyQoL

Vanilla never shipped these. Niceties is one Harmony QoL companion: each nicety is its own Mod Options section with its own toggle and Reset. Soft / Default / Hard only set the knobs under each nicety — never which niceties are on.

Combat, fire, and outdoor rot stay vanilla. Royalty and Ideology are optional; those parts switch themselves off without the DLC, and Mod Options says so. Niceties 2 ships for RimWorld 1.6 and 1.7 from the same source. Safe to add mid-save; removing it logs a few harmless errors once on the next load. Inspired by older Workshop ideas, written from scratch — not a port of those mods.

Download niceties-2.0.0.zipSteamNexus

Niceties preview

What it does

Daily wear by quality

Worn clothes skip or scale the daily deterioration tick. Quality and Crafting skill decide how often a piece loses a hit point. Masterwork and legendary stay as they are.

Combat still shreds

Combat, fire, and outdoor rot are left alone. This is wardrobe care, not invincible armor.

Corpse clothes

Optional: apparel on a corpse keeps the same daily-wear rule.

v2.0.0Current

  • Strata stairwells — IEncloseGrid.IsExit: a region that touches any MapPortal (Strata's stairs up/down/gravship, vanilla pit gates and cave exits) is open. No Strata reference.
  • NicetiesBuildInfo.BuildStamp — public const read by the Azrael hub; also passed to ModVersionLog.
  • COMPATIBILITY.md — sister mods, DLCs, declared conflicts, soft compat and known risks, Multiplayer, and add/remove behaviour, with 1.6 and 1.7 columns. Every row is "Untested" until checked in game. No package IDs were added to incompatibleWith or loadAfter.
  • Tests — Tests/Niceties.Tests (in CI): flood-fill cases (ring closure, gap, 8×8 vs 9×9 at the default limit, a bigger limit, builder inside, unfinished frame, in-place swap, stairs as exit, scratch reuse, two starts in one open area), the step-aside tie-break, the wear table, presets (never touch master toggles, round-trip, Default = reset knobs, Custom), per-feature reset and clamping. Signature tests read the 1.6 and 1.7 Krafs ref packs with Mono.Cecil and fail if CalculateDrawLocs(List<Vector2>, out float, int), Pawn.CheckForDisturbedSleep(Pawn), ColonistBar.get_Visible, Room.GetRoomRoleLabel, ApparelProperties.CorrectGenderForWearing(Gender), ThoughtWorker_WrongApparelGender.CurrentStateInternal(Pawn) or PawnGenerator.GeneratePawn(PawnGenerationRequest) change. Settings model split into Pure/NicetiesSimFlags.cs (game-free) and the scribing part.
  • Launch copy — site page: overview, feature tabs, good-to-know and compatibility rewritten for 2.0 (Hunters Use Melee! added to the conflicts list, Strata to compatible).
  • Cryptosleep roster — with cryptosleepRoster (UI-only, default on) the "+N" note is a button: a FloatMenu of the hidden pawns, each jumping to and selecting the holding building (CameraJumper.TryJumpAndSelect). Local only, no sync.
22 more changes in v2.0.0
  • Hide categories — UI-only hideGrowthVats (Building_GrowthVat) and hidePods (CompBiosculpterPod, Building_SubcoreScanner), off by default, shown when the DLC is active. The note reads "+N hidden" when anyone besides casket pawns is hidden.
  • Melee revenge cap — sim knob meleeHuntMaxRevengeChance (default 1 = off; Hard preset 0.5) against PawnUtility.GetManhunterOnDamageChance(prey). Postfix on Pawn.GetInspectString adds the reason on hunt-designated animals melee hunters skip.
  • Reference-animal buttons — Cat, Alpaca, Deer, Muffalo (whichever defs exist) set the cap to that animal's baseBodySize.
  • Enclose overlay — postfix on Frame.DrawExtraSelectionOverlays draws GenDraw.DrawFieldEdges over the cached enclosed cells with one wall frame selected (UI-only showEncloseOverlay). leaveAWayOutMaxRoom sim setting (20–400, default 80) replaces the hardcoded MaxRegionSize. OpenBuildsResult.Trapped names the first trapped colonist in Niceties_OpenBuilds_WouldEncloseNamed.
  • Shared room display — postfix on Room.GetRoomRoleLabel appends "(shared)" from the room cache, so the room stats readout shows it.
  • Multi-select share — Command_ShareRoom.ProcessGroupInput sets every selected bed's room to the opposite of the first bed's state, once per room (the default grouped toggle flipped twice for two beds in one room).
  • Noble alert — Alert_NicetiesNobleSharedRoom (UI-only sharedRoomNobleAlert, Royalty only): colonists with HighestTitleWithBedroomRequirements whose owned bed is in a marked room and !HasPersonalBedroom.
  • Settings UX — collapsible section per nicety with a per-feature Reset (ResetFeature, including that feature's UI-only fields) and a status line: missing Royalty+Ideology, Smarter Construction loaded, PatchTargets.Unavailable(...), or host-baked in a Multiplayer session. The listing rect is the real view height instead of 99999f.
  • Prisoner cells — vanilla CheckForDisturbedSleep returns early for any sleeper not in the player faction, so prisoners are never woken by cellmates in the first place; nothing to add. Listed in the in-game test list to confirm.
  • RimWorld 1.7 build — Niceties.1.7.csproj targets net10.0 against Krafs.Rimworld.Ref 1.7.4998-unstable and Harmony 3. Every Niceties file is #nullable enable and both builds compile with no nullable warnings. NicetiesMod.Settings and NicetiesSim.Settings are never null, so the ~25 defensive null checks are gone. The build stamp names the folder.
  • Removal wording — About, ROADMAP: "Safe to add mid-save; removing it logs a few harmless errors once on the next load."
  • ROADMAP — header says 1.6 and 1.7.
  • Performance: - Flood fill moved to Pure/EncloseFill: cell-index stamps with a generation counter, a fixed int[] queue and pooled Geometry objects, so a warm check allocates nothing. Regions proven open are stamped, so a second start in the same open area stops on contact. The game side is a readonly struct MapGrid: IEncloseGrid (no boxing). Same closed/open rule as 1.x (closed below 80 cells). - Step-aside tie-break is nearest, then lowest z, then lowest x (EncloseFill.PickStepAside), instead of IntVec3.GetHashCode. - Disturbed sleep: vanilla's own early outs (no mood need, awake, not player faction) run before any room work; owners, shared mark and inspect names come from a per-room cache (Room.ID, 250 ticks, dropped on mark change and new game). Room-role postfixes still scan uncached so a mark shows up in the next recalculation. - Throne check walks listerBuildings.AllBuildingsColonistOfClass<Building_Throne> instead of room.ContainedAndAdjacentThings. - GameComponent_NicetiesSim.Get is cached per Game. - Apparel inspect line cached for the selected thing (60 ticks, language, settings change). Share-room gizmo icon loaded once in a [StaticConstructorOnStartup] holder.
  • Wear any outfit — no def edits. Postfix on ApparelProperties.CorrectGenderForWearing answers true, and ThoughtWorker_WrongApparelGender.CurrentStateInternal returns inactive, while the toggle is on. A [ThreadStatic] depth counter around PawnGenerator.GeneratePawn(PawnGenerationRequest) (prefix + finalizer) keeps generation vanilla unless the new nested wearAnyGenderGenerated is on. Settings are read lazily from the snapshot, so the 1.x constructor-time ApparelGender.Apply from local Mod Options (the MP desync) is gone.
  • Settings model — simulation fields live in record struct NicetiesSimFlags; copy is assignment and change detection is ==, replacing the hand-written CopyFrom / fingerprints. Mod Options keys are unchanged. Presets apply ApplyKnobsFrom (nested knobs only); ResetToDefaults is the single full reset and includes showCryptosleepCount.
  • Well-kept weapons removed — vanilla only deals daily Deterioration to worn apparel, so enableWeaponCare and the weapon inspect postfix on ThingWithComps.GetInspectString never had an effect. Wear math moved to Pure/NicetiesRules.DailyWearChance.
  • Save snapshot version — nicetiesSnapshotVersion (missing = 1). A v1 snapshot loaded in Multiplayer keeps 1.x generation (wearAnyGenderGenerated = wearAnyGender). Class names and keys are unchanged, so 1.x saves load as-is.
  • Throne and altar — both patches have Prepare => ModsConfig.RoyaltyActive && ModsConfig.IdeologyActive. The DLC room classes live in Assembly-CSharp, so there was no TypeLoadException to guard against; the patches just never matter without both DLCs.
  • Leave-a-way-out tip — no longer says "original 1.6 code" (EN, CN, RU).
  • Melee cap — compares prey.BodySize, not RaceProps.baseBodySize. Reference label cache is keyed on the active language.
  • Colonist bar filter — settings read once, one-pass rebuild instead of RemoveAt per entry. A map group left with no visible colonist gets vanilla's pawn-less map entry so the group count passed to CalculateDrawLocs stays right. A repeat layout pass over the already-filtered list keeps the hidden count. The "+N" label checks ColonistBar.Visible (bound once by reflection), sizes with Text.CalcSize, clamps to the screen, restores GUI state in finally, caches text by count and language and draws only on Repaint.
  • Leave-a-way-out cache — a finished wall drops cached geometry on the same map within MaxRegionSize + 2 cells only (ClearCacheNear), not the whole cache.
Older versions (v1.6.1, v1.6.0, v1.5.1, v1.5.0, v1.4.1, v1.4.0, v1.2.0)

v1.6.1Download v1.6.1

  • Separate 1.6 and 1.7 assemblies. Official 1.6 loads 1.6/Assemblies. Unstable 1.7 loads 1.7/Assemblies.
  • Leave-a-way-out — fresh enclose check on CompleteConstruction; reachable safe spots; EndCurrentJob + queue instead of mid-toil StartJob; clear geometry cache on FinalizeInit. Strata stairwell postfix respects __runOriginal.
  • Roommate disturbed sleep — skip only when disturber owns a bed in the sleeper's room; no outdoor owned-bed fallback; skip medical/prisoner beds. Tooltip updated EN/CN/RU.

v1.6.0Download v1.6.0

  • Workshop preview — new About/Preview.png (the comforts, without the old options card). Docs card synced.
  • Changed: Declared RimWorld 1.7 in supportedVersions alongside 1.6. Existing 1.6 DLL; no gameplay change.
  • Changed: Removed unused CryptosleepBar.HiddenCount getter and NicetiesMultiplayer.Loaded property. No gameplay change.

v1.5.1

  • Changed: Declared RimWorld 1.7 in supportedVersions alongside 1.6. Existing 1.6 DLL; no gameplay change.

v1.5.0Download v1.5.0

  • Hidden cryptosleep count — a small "+N in cryptosleep" note beside the colonist bar says how many colonists the filter is hiding. Own checkbox under Hidden cryptosleep, on by default.
  • Melee hunt size example — the body-size cap slider names a vanilla reference animal (for example "warg (1.4)") so the number means something.
  • Roommates on inspect — a shared bedroom's beds now list who sleeps in the room.
  • Save settings notice — Mod Options says when the loaded save is running on different baked settings, with an "Apply to this save now" button (single-player). In Multiplayer it explains that the host's settings are in charge.
  • Wear any outfit in Multiplayer — gender tags now follow the save's host-baked settings like every other nicety, instead of each player's own Mod Options.
  • Share room in Multiplayer — the bed gizmo now syncs to every player when the Multiplayer mod is loaded, so rooms do not end up as a bedroom for one player and barracks for another.
  • Stale save settings — in single-player, loading a save now picks up your current Mod Options. You no longer have to reopen Mod Options and change something for a save to notice.
  • Patch target renames — if a RimWorld update renames the private methods behind "no disturbed sleep for roommates" or the cryptosleep bar filter, Niceties skips just that feature and names it in the log.
  • Leave a way out performance — wall enclosure checks are cached per frame, so several builders finishing walls at once no longer redo the same flood fill, and the step-aside check reuses it.
  • Roadmap — feature table lists Well-kept weapons and the presets.

v1.4.1Download v1.4.1

  • Settings disk writes — Mod Options writes only when a setting actually changed, not every GUI frame.
  • Leave a way out trap-self — frames that would trap only the builder with no step-aside cell fail at job assignment with a clear reason instead of retrying forever.
  • Cryptosleep bar reflection — hide-cryptosleep uses ColonistBar.Entries instead of a private field by string; warns once if null.
  • Active preset label — Soft / Default / Hard / Custom shown under the preset buttons.
  • Well-kept weapons — optional toggle under well-kept apparel; equipped weapons reuse the same quality/Crafting wear formula.
  • Sim settings snapshot — a GameComponent bakes settings that gate deterministic sim so Multiplayer joiners share the host values from the save.
  • Hunters Use Melee incompat — About.xml incompatibleWith adds Mlie.HuntersUseMelee (the original Melee Hunting is discontinued).

v1.4.0Download v1.4.0

  • Version baseline — minor bump to start the next ship cycle above current Steam / Nexus / GitHub releases. No Workshop/Nexus upload in this change.

v1.2.0

  • Leave a way out (leave-a-way-out-v1) — pawns skip finishing a wall that would trap someone or block leftover frames, and step aside before closing themselves in. Vanilla frames and Replace Stuff - Continued frames both count. In-place wall swaps stay solid so a freezer can still be replaced from inside. Right-click force construct still builds it. Inspired by Smarter Construction; original 1.6 code — do not run both.
  • Update letter — Common UpdateNews always uses this pack's About.xml modVersion and the matching changelog.txt block. Full notes link to main on GitHub (not a Workshop copy of the same package id).

Good to know

  • Safe to add mid-save. Removing it logs a few harmless errors once on the next load.
  • Chinese Simplified and Russian are included.
  • Requires Harmony. Royalty and Ideology are optional.
  • Do not run alongside Jecs Everlasting Apparel, Allow Altars in Throneroom, Wear What You Want, Hide Cryptosleep Pawn, Hunters Use Melee! (Continued), Share Rooms [LWM], or Smarter Construction — they overlap the same jobs.
  • Multiplayer: soft support. Every player uses the host's settings in a Multiplayer game, and Share room is synced. Not tested with two clients yet.
  • Workshop preview is an options-card collage (Homesteader straw-hat sprite + pixel icons), not a painted poster.

Alongside other mods

Works with

  • HarmonyRequired
  • RoyaltyOptional — throne-and-altar needs Royalty and Ideology; noble shared-room alert
  • IdeologyOptional — throne-and-altar needs Royalty and Ideology
  • StrataSister mod — stairs count as a way out for leave a way out
  • Date NightSister mod — Date Night leaves beds in Niceties' shared rooms alone
  • Replace Stuff - ContinuedOptional — leave-a-way-out treats its frames like unfinished walls

Leave these off

  • Jecs Everlasting ApparelOverlaps well-kept apparel
  • Allow Altars in ThroneroomOverlaps throne-and-altar
  • Wear What You WantOverlaps wear-any-outfit
  • Hide Cryptosleep PawnOverlaps hidden cryptosleep
  • Hunters Use Melee! (Continued)Overlaps melee hunting
  • Share Rooms [LWM]Overlaps shared bedrooms
  • Smarter ConstructionOverlaps leave a way out

Harmony patches fail-open: one missing target logs and skips instead of aborting the rest of Niceties, and Mod Options shows which nicety is off.

Full matrix: Niceties/COMPATIBILITY.md in the repo.

Report a problem

This report is for Niceties on RimWorld.