边缘世界 RimWorld

边缘世界 RimWorld

评价数不足
CorpsesDeteriorateFaster
   
奖励
收藏
已收藏
取消收藏
Mod, 1.4
文件大小
发表于
2.778 MB
2023 年 12 月 27 日 上午 5:04
1 项改动说明 ( 查看 )

订阅以下载
CorpsesDeteriorateFaster

描述
https://github.com/basicsmods/CorpsesDeteriorateFaster

One part of late game slowdown is all the extra items and corpses on your map. This mod makes it so corpses deteriorate faster so they get off your map faster and get your performance back. I would also like to make a bunch of other items deteriorate faster (specifically items that are commonly dropped by raiders when they get downed and that I don't usually care about retrieving with any haste).

Specifically, this mod makes it so corpses deteriorate at a rate of 40 per day (capped at 65 if weather / environment tries to multiply it).
7 条留言
basics :)  [作者] 2024 年 1 月 26 日 下午 12:37 
@WindUpHero7 oof thanks for the heads up. Unfortunately I just reformatted my pc and don't have my development environment setup so I'm not sure when I'll be able to get around to fixing that.
WindUpHero7 2024 年 1 月 26 日 上午 2:56 
Are you aware that this mod contains assemblies for Combat Extended? It's mentioned nowhere in your description but as soon as I loaded a game I got flooded with errors for CE even though I've never even installed it, and found CE in your mod folder.
This not only causes major issues for Non-CE users like myself but could land you in copyright troubles depending on CE's licensing.
basics :)  [作者] 2024 年 1 月 3 日 下午 12:55 
So it's easy for me (or anyone semi-familiar with xml patches) to add more items to the list, but I have no idea how I would make this something you could do within the game instead of within the mod files.

Corpses are handled in a different way (in the C# not the xml) so it's more complicated as far as someone else tweaking the values (since you'd need to rebuild the mod entirely which will be very difficult for someone unfamiliar with modding).
basics :)  [作者] 2024 年 1 月 3 日 下午 12:55 
For the below comment, the github link is just to show you the files. You'd need to make my suggested modifications to your own mod files which will be somewhere in your steam folder. Or download the mod from github and then modify those files and use your local copy of the mod rather than the workshop ones.
basics :)  [作者] 2024 年 1 月 3 日 下午 12:53 
For now, if you wanted to make different items deteriorate faster as well, you can go to the github page linked at the top of the description, then go to Patches/CorpsesDeteriorateFasterPatches.xml to see the xml block (ignore the rest of that xml file since a bunch of it is useless and shouldn't be in there)

<Operation Class="PatchOperationAdd">
<xpath>/Defs/ThingDef[defName = "Ammo_762x51mmNATO_HP"]/statBases</xpath>
<value>
<DeteriorationRate>20</DeteriorationRate>
</value>
</Operation>

You'd just copy+paste this block below itself and then change the <xpath> to match the item you want to match.
basics :)  [作者] 2024 年 1 月 3 日 下午 12:53 
@PalmsAreSweaty Ideally there'd be an option to tweak the daily deterioration value as well as letting the user control exactly which items this mod affects.

The first I could probably add without too much issue, but tbh, based on the number of subscribers and how much it'd really change the behaviour of the mod, I'm not sure if I want to bother. (Maybe you an explain your motivation behind wanting to tweak it and if it's convincing then I'll try to add a setting to control it.)

The second would be cool to have for myself as well as others, but I don't have any sense of how I'd go about implementing it and at the moment I am happy with just corpses.
PalmsAreSweaty 2024 年 1 月 3 日 上午 10:19 
Great mod! Would you have plans to make the deterioration a setting that we can adjust in the future?