边缘世界 RimWorld

边缘世界 RimWorld

391 个评价
Spatial Priorities
2
   
奖励
收藏
已收藏
取消收藏
Mod, 1.0, 1.1
文件大小
发表于
更新日期
297.048 KB
2020 年 2 月 11 日 下午 3:15
2020 年 3 月 5 日 下午 2:46
5 项改动说明 ( 查看 )

订阅以下载
Spatial Priorities

描述
Some spaces are more important than others

IMPORTANT
This mod is a work-in-progress. You may find more bugs than you’re used to in my mods. You may find that I have suddenly changed the save format, breaking your save games. You have been warned.

In particular, it is also currently INCOMPATIBLE WITH THESE MODS:
- Hospitality (visitors will not do work, which is probably fine)
- Prison Labour (prisoners will not do work, which rather defeats the purpose)


And any other mod that relies on altering
JobGiver_Work
, as this mod completely overrides it.

Features
Pawns follow the priorities you set in the Work tab, but will choose to do jobs in high priority areas (e.g. your medicine crops) before jobs in low priority areas (e.g. the hay fields). You can set priorities with the designator in the “Zone” category of the architect, or with the 1-5 buttons above the game speed indicators.

In the vanilla game, the priority of jobs is decided by (in order);

1) Priority of the work type,

2) Left-right order of the work type,

3) ‘natural’ priority of the task (WorkGivers, normally invisible),

4) Distance to the target.

This mod changes that to;

1) Priority of the work type (Work Tab support for workgiver level priorities is planned)

2) Left-right order of the work type,

3) Priority of the target area,

4) ‘natural’ priority of the task,

5) Distance to the target.

In other words, we evaluate all workgivers in the same worktype, with the same priority, at the same time. Within this ‘batch’ of potential jobs, we try to find a job in the area that has the highest priority.

Future plans
I plan to add a bunch of tweaking options, primarily in deciding how big the ‘batches’ of potential jobs will be. That may mean batching all potential jobs with the same priority in all worktypes together, or even considering the priority of the area before looking at the priority of jobs. I’ll need playtesting data and suggestions, which is why I chose to release this work in progress on steam.

Notes
Adds a MapComponent;

- Can be safely added to existing games.
- Can be safely removed from existing games (although you will get an error when you load the game, the error goes away after saving without this mod active).


Performance
Performance will vary, depending on how much you use priorities, and how often work is done in high priority areeas. I’d love to hear feedback on how it runs in your game.

Think you found a bug?
Please read this guide before creating a bug report, and then create a bug report here[github.com]

Older versions
All current and past versions of this mod can be downloaded from GitHub[github.com].

License
All original code in this mod is licensed under the MIT license[opensource.org]. Do what you want, but give me credit. All original content (e.g. text, imagery, sounds) in this mod is licensed under the CC-BY-SA 4.0 license[creativecommons.org].

Parts of the code in this mod, and some content may be licensed by their original authors. If this is the case, the original author & license will either be given in the source code, or be in a LICENSE file next to the content. Please do not decompile my mods, but use the original source code available on GitHub[github.com], so license information in the source code is preserved.

Are you enjoying my mods?
Show your appreciation by buying me a coffee (or contribute towards a nice single malt).

[ko-fi.com]



Version
This is version 0.10.106, for RimWorld 1.1.2564.

热门讨论 查看全部(2)
2
2022 年 3 月 26 日 上午 12:19
Distance Penalty In Job Priorities
pureMJ
1
2020 年 4 月 12 日 上午 7:59
Bug report
Varjonyymi
133 条留言
Photosynthetic 2024 年 4 月 23 日 上午 10:14 
I just saw that you're struggling with depression. I hope you're doing OK. If there's anything a random internet stranger can do to help, message me sometime.

This is *not* a poke for updates or anything -- I've never even used this mod, haha. (I love many of your other mods, though.) Just wanted to let you know that you're awesome and at least one rando cares.
kinngrimm 2023 年 11 月 20 日 上午 10:26 
1.4 update?
@pureMJ while your mod is great and i use it all the time, the point of this one here is to have designated areas which gain a prioity. So if i have a big project, replace old mod and its assets with new once and the later should be on the opposite site of the map ... .
Hagamablabla 2023 年 11 月 13 日 下午 1:31 
I disagree, let's talk about Gaza!
ALE199 2023 年 4 月 6 日 上午 7:34 
this isn't the place for political discussions, bot.
Beredor 2023 年 4 月 6 日 上午 7:30 
Maybe your leader shouldn't have been bombing the Donbass for 6 years straight and cuddling with America.
EFX 2022 年 12 月 16 日 上午 11:31 
I just exited my game to download this as it'd been perfect for what I was needing and then come to find out, it hasn't been updated since 1.1 :(
chemicalvamp 2022 年 4 月 14 日 下午 7:06 
Why not fix your mod to work with those mods?
pureMJ 2022 年 3 月 26 日 上午 12:19 
I've made a simpler and slightly different mode:
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2784585275

Basically it is like this mod but with a small area near each pawn prioritized for that pawn.
Aziz 2022 年 1 月 23 日 下午 11:32 
It doesn't work on my side
银空夜月 2022 年 1 月 7 日 上午 8:25 
@Mlie Can you update this module to version 1.3? I found that this module will not work actively