边缘世界 RimWorld

边缘世界 RimWorld

Doormats
 此主题已被置顶,因此可能具有重要性
Alias  [开发者] 2024 年 5 月 5 日 上午 1:34
Bug Reports (Doormats)
Found a bug (or a cleverly disguised feature) that's just not working for you?

Please refer to the following guidelines and post your issue here: https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=725234314

Bug reports in the comments section will be ignored / deleted

Thank you.
最后由 Alias 编辑于; 2024 年 5 月 18 日 下午 10:27
< >
正在显示第 1 - 9 条,共 9 条留言
alf.lord51 7 月 16 日 下午 2:09 
patch looks for TraitDef instead of ThingDef
Legacy\Pre_1.6\Patches\DraggableDimension_Patch.xml
Alias  [开发者] 7 月 16 日 下午 2:36 
@alf.lord51, whoops (that's what I get for copying code from my other mods). Will fix Fixed with latest version
最后由 Alias 编辑于; 7 月 16 日 下午 6:49
Chambz 7 月 30 日 下午 11:29 
It seems like these are just not working. I have one on each exit to a fully-floored building, but pawns are constantly having to clean the floors anyway.
Alias  [开发者] 7 月 31 日 上午 10:02 
@Chambz, Do you have the slightest idea how little that narrows it down?
1. That's not a bug report
2. If there is a problem buried in there somewhere there's not nearly enough information for me to go off of. There could be any number of things at play that might cause the mod not to work (or seem to not work).

Without specific info, the best I can say is that it's probably user error/ misunderstanding. Pawns still generate filth (and occasionally drop it), this mod doesn't prevent that, it just makes pawns drop what they have when they cross over a doormat. At a blind guess, your building is probably too big (and pawns spend all their time in it). Try putting doormats outside your kitchen/ hospital and see if more detritus builds up in the space than elsewhere.
最后由 Alias 编辑于; 8 月 1 日 下午 5:02
Chambz 8 月 1 日 下午 4:01 
I know, sorry for not providing more. I do have other mods, but as far as I can tell, the rest are working perfectly. It could be a misunderstanding on my end.
It's not a large building, just several bedrooms. Pawns go in, slow down at the mat, go to bed. But maybe the mat isn't getting cleaned in time and the next pawn's filth isn't dropped because the mat is still dirty? Pawns still end up going into each bedroom to clean up. Is this intended behavior? Is there something I can do (more doormats? more cleaners?) to keep the filth out of the bedrooms?
Alias  [开发者] 8 月 1 日 下午 10:32 
Okay, sounds like a bit of a misunderstanding then, so I'll do my best to answer your questions:

Q: maybe the mat isn't getting cleaned in time and the next pawn's filth isn't dropped because the mat is still dirty?
A: Not really. Technically speaking, this mod will keep putting filth on the ground indefinitely; not entirely realistic, but I don't love the idea of stuff randomly not working nor do I want to eat the performance cost to trying to decide if the ground it too dirty for the doormat. Plus, if the pawn walks back through the dirt they'll probably end up picking filth stacks back up anyway.

Q: Pawns still end up going into each bedroom to clean up. Is this intended behavior?
A: Yes, pawns still have a chance to generate new filth every time they move into a new cell. The game's logic is as follows: 5% chance to drop a portion of carried filth, 10% chance to pick up filth, 0.5%* to generate new filth. So, it's entirely possible for pawns to still generate filth inside your bedrooms (or otherwise after they've passed over a doormat), but it should be significantly less likely (this mod basically forces pawns to drop their carried filth when they pass over a doormat, so they won't have anything to put on the ground if they hit that 5% drop rate).

* technically, this is the pawn's filth rate times 0.005. Humans have a filth rate of 1, so for them it's 0.5%, while elephants have a rate of 24, so they have a 12% chance.

Q: Is there something I can do (more doormats? more cleaners?) to keep the filth out of the bedrooms?
A: Depends on how heavy handed you want to be about keeping filth out of your bedrooms. The vanilla friendly option is probably some combination of a higher cleaning priority and/ or more cleaners. Vanilla Expanded's furniture mod has trash cans that will periodically absorb filth. I also recall a mod that make cooks and surgeons clean the room before they attempt to use it (but that was a couple of game versions ago and I don't remember what it was called). On the extreme end of the spectrum you could look at patching every floor to have a FilthMultiplier stat of 0, which would make them behave like hay (I'm not actually sure if I've seen anything on the workshop that does this, but it'd be super doable as a first-time modding project). Finally, there's the nuke it from orbit solution of mods that completely disable filth generation.
Unsolicited advice: personally, I use doormats on any outside facing doorway (and any room I want to keep clean), but I don't worry about filth all that much unless it's in my hospital or kitchen (and even then sterile tile will usually help offset the odd bit of dirt).
最后由 Alias 编辑于; 8 月 2 日 下午 6:19
Chambz 8 月 2 日 下午 5:37 
Thank you very much for the detailed explanation. I'd say the primary reason I'm bothered by the bedroom filth is other pawns coming in to clean while someone is sleeping. A small issue honestly. I do have the Common Sense mod, which I think is the one you're describing that causes pawns to clean up around their tasks. I don't want to obliterate filth entirely, I just had a previous colony that was completely overran by filth somehow and wanted a way to better manage it.

I do have a couple questions still that hopefully you can answer. First, I'm still unclear on the intended mechanic after the pawn walks on an already-dirty doormat. Does the filth get dropped nearby? It doesn't seem to stack on the doormat (if that's even possible).

Second, where is the proper position for the doormat relative to the door? Initially I saw I can place a doormat inside the same tile as a door, but when things didn't seem to be working as I expected, I tried moving them to the tile just inside the door. But maybe I should be putting them outside the door instead? Thanks again for clearing up my misunderstandings.
Alias  [开发者] 8 月 2 日 下午 7:55 
Ahh, yeah this mod has never been a silver bullet for filth, just a good way to redirect the bulk of it (so that my cooks aren't dirtying up the kitchen with blood from the butcher block). It's been a minute since I've actually played the game, but historically, I've used Better Pawn Control to have load-outs for both my regular work settings and one that largely prioritizes cleaning, so that I could put the colony in cleanup mode after a raid and then return to business are usual after things are back under control (plus it's super handy to be able automatically to zone my non-combat animals to the stables/ pen during a raid).

Q: I'm still unclear on the intended mechanic after the pawn walks on an already-dirty doormat. Does the filth get dropped nearby? It doesn't seem to stack on the doormat (if that's even possible).
A: Depends on if the pawn is carrying any filth, if they are, then it should get dropped on the same cell as the doormat (if possible, stacking with existing filth). If the pawn doesn't have any filth on them, then they just slow down and nothing is dropped.

Q: where is the proper position for the doormat relative to the door?
A: Personal preference. I like to put them outside, because under the door looks weird to me, makes it hard to see if filth has accumulated, and then colonists have to open the door to clean it. On the flip side that also means that doormats tent to catch people just walking down my hallways*.

* huh, dev note: a setting to make pawns only slow down (or slow down less) for doormats if they have filth to wipe off could be an interesting addition to the mod.

If it helps, here's a demo save[drive.google.com] of the mod in action (just run at max speed for a bit). You should see the filth in the center room spread and into the adjacent rooms, but never past the doormats at the end of the hall.*

* Other dev note: I am considering re-working the code to drop all carried filth instead of just one stack from the list, which should make doormats feel more impactful, but at the moment it's a backlog item behind some bugs I need to squash.
Chambz 8 月 7 日 下午 3:12 
Sorry, meant to respond sooner. I did run that demo save and I assumed it must be a mod conflict because the bugblood from inside definitely tracked past the doormats after a little while. Buuuut then I loaded the exact modlist you're using and bugblood STILL tracked into the table room and outside. At this point I don't know what is going on.

I do think it works better to keep the doormats outside. After all, you want the filth tile to be outside your rooms so they don't count against the cleanliness. Under the door also works but is a bit awkward. And after trying it this way, it would be great to have that slowdown only happen if filth is dropped. I have a couple hallways where pawns walk off one doormat onto another and get hit with the double slowdown.

Thanks again for your mod and your many explanations!
< >
正在显示第 1 - 9 条,共 9 条留言
每页显示数: 1530 50