RimWorld

RimWorld

43 ratings
Gloomy Deco PCP
2
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.3
File Size
Posted
Updated
377.776 KB
23 Sep, 2021 @ 12:47pm
5 Dec, 2021 @ 11:31am
8 Change Notes ( view )

Subscribe to download
Gloomy Deco PCP

In 1 collection by Denneisk
The PCP Collection
1 item
Description
This mod aims to fix Gloomy Deco without infringing upon licensing.

This mod contains NONE of the assets from Gloomy Deco. Instead, this is meant to be an extension to Gloomy Deco to give it more functionality and have it work in 1.3. In a sense, it is a mod for a mod.

This is Gloomy Deco recreated using mostly reflection and Harmony patching. Although it might not be wrong at all to use the original assembly for the mod, I decided against using it anyway. Regardless, this is Gloomy Deco unpackaged into its finest bits, mixed with water and onions, and then stirred back up in an eco-friendly paper cup for you.

I would like this code to be as optimized as possible, considering all the overhead. Options to disable certain codes are and will be continued to be added.

Admittedly, this is the first mod I've fully written myself. Please be patient if I do things oddly or wrong, or if the code is the worst thing you've ever seen. The software license is a bit of a heavy-handed joke, please understand.

Source code is provided sometimes in the mod folder, sometimes inside the mod folder, but you can also get the source code here[gitlab.com] (non-Steam releases are also posted there).

Features
Feature
Working
Extra features
Notes
Windmill
Yes
None
Boat
Most likely
Yes
Disable-able
Mailbox
Yes
None
Grass
Yes
None
Tree
Yes
None
Trash can
Most likely
Yes
Disable-able; text displaying fullness; can remove fill bar; can change cleaning minimum and maximum capacity; can change beauty debuff on full
Other buildings
Most likely
None

Most settings (checkboxes) require a restart to take effect. This will be fixed in the future, possibly.
Disabling boats and then loading a save with a boat will produce an error. The fix is to rebuild the boat. This will be addressed later.

If you find a feature that doesn't work, please report it!

Extra features note
If there is a feature you wish to be added to Gloomy Deco, please consider posting it in a discussion or comment. I cannot promise all requests will be done, but I would like to do what I can.

Known issues
  • For some reason, some people experience an error on RemoveTrashcanComps(). This is because the TrashCan Def does not have TrashCanComp. I don't know why this would happen.
32 Comments
ひさぎ 2 Mar, 2023 @ 8:03pm 
1.4plz...
Tokido Saya 16 Jan, 2023 @ 11:23am 
hello

will this mod be updated?

actually deco working fine in 1.3 if you install this mod's dll to patch him

so wondering if you could updated the dll again and deco should be alive again in 1.4
迷途愚者 21 Nov, 2022 @ 1:08am 
1.4 plz!
Bóbr (PL) 9 Jun, 2022 @ 6:58am 
Great mod and a much needed revival, but unfortunately the trash can takes up too much of the tick time (up to 50% even post-restart, after disabling the trash can).
Black Jesus 2 May, 2022 @ 5:14pm 
Something is wrong with the trashcan. I never built one, nor even clicked on it, I don't even know where it is yet according to Dubs Performance Analyzer it is accounting for 23.2% of the Harmony Patches CPU updates and before I auto sorted the list it was around 55%.
Great mod,but wat is the \ System.MissingMethodException: Verse.Room /
That meseege getting a pawn open the door and many animal walk around:ojchicken:
This is RimPY report:

Exception ticking Yuki (at (149, 0, 172)): System.MissingMethodException: Verse.Room Verse.GridsUtility.GetRoom(Verse.IntVec3,Verse.Map,Verse.RegionType)
at (wrapper dynamic-method) Verse.Pawn.Verse.Pawn.Tick_Patch1(Verse.Pawn)
at Verse.TickList.Tick ()

Verse.Pawn.Verse.Pawn.Tick_Patch1 was patched by:
TRANS:
Soyuz.Patches.Pawn_Tick_Patch.Transpiler
TwoShades 14 Apr, 2022 @ 10:13am 
What does PCP mean? And do I need to install the original Gloomy Deco mod for this? Thanks for the reply
Rogue Variable 2 Mar, 2022 @ 5:01pm 
Yeah, this is causing some odd issues. Getting System.MissingMethodException: Verse.Room constantly on various pawns, both animals and colonists. Going through Visual Exceptions and turning off Harmony patches for the mods listed under each of them, they stopped when I got to Gloomy Deco.
Wiseman05 3 Feb, 2022 @ 2:40pm 
For some reason, there seems to be a pretty weird conflict with Dubs Analyzer Tool, but only in a specific way. If you have the Trash Can down, as well as the Mailbox and Fishing Boats toggled with the animation on, it'll spam you with nothing but red in the debug log when you open Harmony Patches. Turning off the Trashcan, Fishing Boat Animation, and the other option (Name escapes me now) off, and then using Cherry Picker to turn off the Trashcan and Mailbox Def seems to work.

If you want I can try to replicate the steps and provide a hugslib log for you to look at, but those were the simple steps I did to replicate it.
DIVIDERE 17 Jan, 2022 @ 9:27am 
causes butchering to fail and loop when paired with betterloading
https://pastebin.com/ZdMbEk4X