smile417 发表于 2025-10-28 09:17

修改建筑物中的工人或居民

转自n网:https://www.nexusmods.com/farthestfrontier/mods/68


This mod adds ability to increase or decrease workers / residents below buildings.
该模组增加了增加或减少建筑物下方工人/居民的能力。







Overview概述

This mod adds ability to increase or decrease workers / residents below buildings.
该模组增加了增加或减少建筑物下方工人/居民的能力。
This mod is for mono version and is tested on 0.9.7.
该模组适用于单声道版本,并在 0.9.7 上进行了测试。
Configuration配置
Configuration file is located at Farthest Frontier\Farthest Frontier (Mono)\UserData\VC_ModifyWorkerSlots.cfg.
配置文件位于 Farthest Frontier\Farthest Frontier (Mono)\UserData\VC_ModifyWorkerSlots.cfg。

CAUTION: Do not change worker count for Brracks. It causes issues with army selection via banners.
注意 : 不要更改 Brracks 的工作人员数量。它会导致通过横幅选择军队的问题。

In below table you can see the workers added and the allowed range by which workers/residents can be added or decreased. For example, in barn, up to 6 workers can be decreased and 12 workers at max can be added.
在下表中,您可以看到添加的工作人员以及可以添加或减少工作人员/居民的允许范围。例如,在谷仓中,最多可以减少 6 个工人,最多可以增加 12 个工人。


   [*]By default zero, meaning no workers/residents, are added to any building. You need to edit config file in order toincrease or decrease the number of workers.
默认情况下, 零 ,这意味着不会向任何建筑物添加任何工人/居民。您需要编辑配置文件才能 增加或减少工作线程的数量。
[*]There is option to increase or decrease the workers by using negative or positive values within range.
可以选择通过在范围内使用负值或正值来增加或减少工作线程。

-------------------------------------------------------------------
Building                  Added       <Min Allowed><Max Allowed>
-------------------------------------------------------------------
Barn                      0         -6             12            
ChickenCoop               0         0            2            
GoatBarn                  0         -4             8            
Stable                  0         -4             6            
ApothecaryShop            0         -2             4            
Armory                  0         -2             4            
Bakery                  0         -2             4            
BasketShop                0         0            4            
BlacksmithForge         0         -2             4            
BookBinder                0         -4             8            
Brewery                   0         -4             8            
CandleShop                0         -4             6            
Cheesemaker               0         -4             8            
ClayPitBuilding         0         -4             8            
CobblerShop               0         0            4            
CooperBuilding            0         -2             4            
FishingShack            0         0            2            
FletcherBuilding          0         -2             4            
ForagerShack            0         0            2            
Foundry                   0         -4             6            
FurnitureWorkshop         0         -6             10            
Glassmaker                0         -6             12            
GuardTower                0         0            4            
GuildHall               0         -4             8            
HealersHouse            0         -2             4            
HunterBuilding            0         0            2            
Library                   0         0            2            
MineralSiteMine         0         -4             8            
PaperMill               0         -6             10            
PotterBuilding            0         -4             8            
PreservistBuilding      0         -4             8            
SandPitBuilding         0         -4             8            
SawPitBuilding            0         -4             8            
Shelter                   2         -2             8            
SmokeHouse                0         0            2            
StonePitBuilding          0         -8             16            
Temple                  6         0            6            
TemporaryShelter          0         -4             8            
WagonShop               0         0            4            
WeaverBuilding            0         -4             8            
Windmill                  0         0            4            
WorkCamp                  0         -4             6            
CompostYard               0         0            4            
MarketBuilding            0         -2             4            
Pub                     0         0            4            
School                  0         0            4            
-------------------------------------------------------------------


How to use?如何使用?

[*]Subscribe to the mod.订阅模组。
[*]Delete older config file if exists.
删除较旧的配置文件(如果存在)。
[*]Launch game (Mono version). This will create new config file. Exit from main menu.
启动游戏(单声道版本)。这将创建新的配置文件。退出主菜单。
[*]Now edit config file and launch again.
现在编辑配置文件并再次启动。

CAUTION: Changing "Min" and "Max" in config file has no effect on actual limits.
注意 :更改配置文件中的“最小值”和“最大值”对实际限制没有影响。

To modify values as shown in table, modify as below. This add one worker each to "ChickenCoop " and "HunterBuilding ". It add two residents to "Shelter".
要修改如表所示的值,请按如下方式修改。这会在“鸡舍”和“猎人建筑”中各增加一名工人。它在“庇护所”中增加了两名居民。


# Adjusts the workers/residents in ChickenCoop            . Min: 0, Max: 2
ChickenCoop = 1
# Adjusts the workers/residents in HunterBuilding         . Min: 0, Max: 2
HunterBuilding = 1
# Adjusts the workers/residents in Shelter                  . Min: -2 , Max: 8
Shelter = 2


NOTE: To modify residents in house increase or decrease "Shelter" value.
注意 :要修改房屋中的居民,请增加或减少“庇护所”值。

Installation安装
Place VC_ModifyWorkerSlots..dll in Farthest Frontier\Farthest Frontier (Mono)\Mods.
VC_ModifyWorkerSlots..dll 在最远的边境\最远的边境(单声道)\mods 中。

NOTE: Replace contents of older config or delete older VC_ModifyWorkerSlots.cfg in Farthest Frontier\Farthest Frontier (Mono)\UserData on new update if config doesnt work.
注意: 如果配置不起作用,请替换旧配置的内容或在新更新时删除 Farthest Frontier\Farthest Frontier (Mono)\UserData 中的旧 VC_ModifyWorkerSlots.cfg。
https://wwib.lanzoul.com/iRXyP39infba

danecom58 发表于 2025-10-28 15:03

谢谢分享!谢谢!
页: [1]
查看完整版本: 修改建筑物中的工人或居民