Farthest Frontier

Farthest Frontier

评价数不足
Maintain Items in Storage
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
28.672 KB
5 月 9 日 上午 9:20
6 月 2 日 上午 6:24
3 项改动说明 ( 查看 )

订阅以下载
Maintain Items in Storage

描述
Overview
Mod Version: 1.0.0.4 (Please delete any older config file).

Dependensies
Melon Preference Manager
Universal Lib

The options can be modified by pressing F5 on main menu in Melon Preference Manager.

This mod allows items to be maintained at specific values in storage buildings.

This is mod for players who are either learning or just want to explore game features. It can be used to maintain category wise resources in storage buildings.

This is supported for mono version and is tested on 0.9.7 version of game.
The configuration for mod is in Farthest Frontier (Mono)\UserData\VC_MaintainMinItemsInStorage.cfg.

Configuration
The mod works in interval of days in game:
  • This can be between 1 (every day) to 360 (1 year)
  • The first day of interval is when game loads. Update will happen after set interval days.
There are as below in VC_MaintainMinItemsInStorage.cfg.

# Set interval in game days maintain items in storage buildings. Set to a +ve number between 1 and 360 "Maintenance Interval in days" = 10

Item wise maintenance
The item categories are:
  • Food
  • RawMaterials
  • ProducedMaterials
  • UsableItems

These categories can be disabled in VC_MaintainMinItemsInStorage.cfg using by setting below values to true or false.
If any of the category is set to false, then that category will not be maintained in any building.
[VC_MaintainMinItemsInStorage."Maintain Items Enable"] Maintain_Food = true Maintain_RawMaterials = true Maintain_Usable = true Maintain_Produced = true

Building wise maintenance
The building supported are:
  • RootCellar
  • Granary
  • Storehouse
  • StorageDepot
  • Stockyard
  • Treasury
  • Market

Configuration for these is in VC_MaintainMinItemsInStorage.cfg. Below is example for Root Cellar.
# Set configuration for RootCellar. The order of configuration for maintain Flags and Amount is FOOD, RAW MATERIALS, PRODUCED, USABLES. Please do not add/remove any extra field. RootCellar = { MaintainCount = -1, MaintainFlags = [ true, true, true, true, ], MaintainAmounts = [ 20, 20, 10, 10, ] }

Limit number of buildings where items are maintained
The number of buildings for each building type where items are maintained can be changes by setting MaintainCount to a positive number.
The default is -1 which means all buildings of that type will be maintained. Setting it to 0 will disable maintenance for that building type.

Control item category wise maintenance
To maintain item via category wise set MaintainFlags to true or false.
The order of configuration for maintain flags is FOOD, RAW MATERIALS, PRODUCED, USABLES.
For example to enable only FOOD and PRODUCED items, set MaintainFlags to [ true, false, true, false, ].

Amount of items to maintain building wise
The amount of items to be maintained in each building type can be configured in MaintainAmounts.
The order of configuration for maintain amount is FOOD, RAW MATERIALS, PRODUCED, USABLES. Minimum amount is 10 and maximum is 1000.
For example to maintain 20 FOOD, 10 RAW MATERIALS, 30 PRODUCED and 40 USABLES, set MaintainAmounts to [ 20, 10, 30, 40, ].

The configuration for each building type is same as above. Please do not add/remove any extra field.

Installation
Place VC_MaintainMinItemsInStorage.dll, UniverseLib.Mono.dll and MelonPrefManager.Mono.dll in Farthest Frontier\Farthest Frontier (Mono)\Mods.

NOTE: Please replace or delete older VC_MaintainMinItemsInStorage.cfg in Farthest Frontier\Farthest Frontier (Mono)\UserData if items are not maintained on MOD update.

Please let me know if it doesn't work.
6 条留言
LeOnIdAs  [作者] 5 月 23 日 上午 1:30 
@
lthtwy ,
you will need Add items mod for that.
lthtwy 5 月 21 日 上午 8:00 
I cant find the open menu button after I placed the VC_MaintainMinItemsInStorage.dll in
宝渊 5 月 9 日 下午 6:49 
维护库存物品

概述
这个mod允许物品在存储建筑物中保持特定的值。

这是为学习或只是想探索游戏功能的玩家准备的mod。它可以用于维护存储建筑物中的分类资源。

这是支持单声道版本,并在0.9.7版本的游戏测试。
mod的配置在最远边界(Mono)\UserData\VC_MaintainMinItemsInStorage.cfg中。
宝渊 5 月 9 日 下午 6:49 
配置
mod工作在以下两种模式:
在“比赛日”中保持间隔
保持模式是在“真实世界时间秒”。如果interval小到几秒,则该模式将导致性能问题,不建议使用。

在VC_MaintainMinItemsInStorage.cfg中有如下内容。
#设置为GAME_DAYS,更新基于游戏日发生,否则设置为REAL_WORLD_SECS,更新基于指定的真实世界间隔定期发生
“维持模式”=“GAME_DAYS”
#设置真实世界的时间间隔来维护存储建筑物中的物品。维护模式为REAL_WORLD_SECS时适用。设置为10.0到300.0之间的+ve数
“实际维护时间间隔”= 120.0
设置游戏天数间隔,在仓库中维护物品。维持模式为GAME_DAYS时适用。设置为1到360之间的+ 5数字
“游戏日维护间隔”= 15
宝渊 5 月 9 日 下午 6:47 
项目维护
项目分类如下:
食物
的原材料
ProducedMaterials
UsableItems

这些类别可以在VC_MaintainMinItemsInStorage.cfg中禁用,通过将以下值设置为true或false。
如果任何类别被设置为false,那么该类别将不会在任何建筑物中维护。
#设置为true将禁用按项维护
“维护食物”=真
“维持原材料项目”= true
“保持可用物品”= true
“维持生产的材料项目”= true

楼宇明智保养
所支撑的建筑有:
RootCellar
盛产粮食的地区
仓库
StorageDepot
牲畜围栏
财政部
市场

这些类别可以在VC_MaintainMinItemsInStorage.cfg中禁用,通过将以下值设置为true或false。下面是Root Cellar的例子。
#设置为true将禁用建筑物中的存储维护
“启用根窖维护”= true
宝渊 5 月 9 日 下午 6:47 
在VC_MaintainMinItemsInStorage.cfg中可以配置每种建筑类型需要维护的建筑数量。
#设置为-1以启用所有。设置为0表示全部禁用。设置在1到100之间,否则。
“维护的根窖建筑数量”= -1

需要维护的物品数量
在VC_MaintainMinItemsInStorage.cfg中可以配置每种建筑类型中需要维护的项目数量。

这些是要维护的每个项目类别的数量。设置在10到100之间。
[VC_MaintainMinItemsInStorage。“根窖存储配置”]
UIResourceCategory_Food = 10
UIResourceCategory_RawMaterials = 20
UIResourceCategory_ProducedMaterials = 10
UIResourceCategory_UsableItems = 10

如果它不起作用,请告诉我。

安装
放置VC_MaintainMinItemsInStorage.dll在最远边界\最远边界(单声道)\Mods。

注意:请替换或删除旧的VC_MaintainMinItemsInStorage.cfg在最远边界\最远边界(单声道)\UserData,如果项目不维护MOD更新。