边缘世界 RimWorld

边缘世界 RimWorld

157 个评价
Please Haul Perishables
   
奖励
收藏
已收藏
取消收藏
Mod, 1.1, 1.2
文件大小
发表于
更新日期
814.293 KB
2020 年 4 月 25 日 上午 9:59
2020 年 8 月 21 日 下午 6:42
3 项改动说明 ( 查看 )

订阅以下载
Please Haul Perishables

描述
With permission, I've updated this to 1.1 compatibility. The only changes made was to detect Pick Up and Haul correctly. Debug mode in the settings gives quite a bit more information as well.
Something I noticed is that this mod makes best effort to haul perishables, but your work priorities still govern when your pawns actually haul.
Original Mod: Please Haul Perishables by Marvin

Original Description Below

Adds new WorkGivers for hauling, which prioritise hauling perishables or food over non-perishables. Items will be considered perishable if they would rot in less than a year or deteriorate to zero hitpoints in ten days or less.

Rain and water, which both cause higher deterioration rates, will be taken into account.

Perishable items will only be given priority for hauling if they are outside.

A check is made to see if the perishable has a large enough stack size. Things which have a maximum stack size of 1 (weapons and apparel for example) pass automatically. Other perishables must have a high enough stack count for that kind of item. The exact threshold depends on the hauler's current carrying capacity and the ideal carrying capacity for their race, but it only goes as high as 40. The perishable can still pass the check if there are other perishables of the same type nearby, or if it would deteriorate to zero hitpoints in ten days or less.

Food will also be hauled if it needs to go from low to high priority storage.

A new general hauling routine prefers valuable items like silver or big stacks of items for hauling, regardless of whether they are perishable or not. It will look at a square grid and a plus-shaped grid of cells to see if a big stack of the same type of item could be made. The normal general hauling routine picks up any leftovers.

New in this version, if Pick Up and Haul is active, the mod will use its hauling routine instead, but the order in which things will be hauled will still be decided by this mod.

Also, to improve performance, the lists of things to be hauled will be cached in memory and only updated when a certain number of in-game ticks have passed.

A debug mode exists and will give feedback when you right-click a haulable, so if it is not considered perishable or food or a big stack, that will show as a reason for not doing the job, in addition to still allowing you to manually prioritise hauling.

[Version 1.5.2]

Credits - Retained from Marvin's Source

Original code by Marvin.

Preview is originally made by Marvin.

Steam thumbnail image backgrounds are royalty-free images from Pixabay or originally made (badly) by Marvin.

RimWorld unofficial font by Marnador.
34 条留言
Mlie 2022 年 5 月 13 日 下午 12:14 
Since Jellypowered stepped back from modding I made an update of this:
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2807630952
Hope it helps anyone!
Taemaly 2021 年 11 月 22 日 下午 3:08 
Please update
Angel 2021 年 10 月 10 日 下午 9:24 
Anyone making a 1.3 version please tag me
Offutticus 2021 年 10 月 6 日 上午 8:03 
Error with Achtung as well. Will remove until patched.
Izanami 2021 年 9 月 12 日 下午 10:11 
@Jellypowered

1.3 Bump?
Evil Wizard 2021 年 9 月 4 日 下午 11:10 
does this mod matter for 1.3?
@Jellypowered
Rya 2021 年 9 月 4 日 下午 8:12 
error when plaing with achtung
Evil Wizard 2021 年 8 月 17 日 下午 11:32 
vouch for 1.3 mver or someone fork
Hyperlane 2021 年 7 月 29 日 上午 4:09 
Currently bugged, I'm afraid. This mod makes commanding undrafted pawns to pick up/interact with unforbidden objects fail. (Running with both DLCs and no mods)
g3 2021 年 7 月 28 日 下午 11:12 
is it safe for 1.3