PlayerEX Inventory Weight
PlayerEX Inventory Weight 是 MT Inventory Weight 和 PlayerEX: Directors Cut 的附加模组。
它将 PlayerEX 的进度与背包负重上限连接起来,允许玩家的 PlayerEX 等级 和/或配置的 PlayerEX 属性/技能 增加最大背包负重。
此模组 非独立运行。
功能
- 完全支持 fzzy_config 自定义 — 服务端同步配置,用于调整游戏数值
- 添加 PlayerEX 与 MT Inventory Weight 之间的集成
- 使用玩家的 PlayerEX 等级 来修改最大背包负重
- 使用可配置的 PlayerEX 属性/技能 来修改最大背包负重
- 添加对自定义
Carrying(搬运)属性的支持
- 可将
Carrying 直接添加到 PlayerEX 现有的主属性列表中
- 支持基于固定值和倍率的容量缩放
- 支持通过 PlayerEX 的退款逻辑退还 Carrying 点数
- 支持两种容量模式:
EVENT_MODIFIER
INVENTORY_WEIGHT_ATTRIBUTE
Carrying 属性
该附加模组注册了一个自定义的 PlayerEX 风格属性:
playerex_inventoryweight:carrying
启用后,该属性将直接添加到 PlayerEX 正常的主属性菜单中,与以下属性并列:
Constitution
Strength
Dexterity
Intelligence
Luckiness
Focus
Carrying
这意味着不会有一个单独的“背包负重”界面。玩家可以直接从正常的 PlayerEX UI 中将 PlayerEX 技能点分配给 Carrying。
容量模式
EVENT_MODIFIER
这是推荐的模式。
附加模组读取配置的 PlayerEX 属性值,并通过背包负重事件系统修改 MT Inventory Weight 的最大负重。
此模式支持:
- 固定加成
- 倍率加成
- PlayerEX 等级缩放
- PlayerEX 属性/技能缩放
示例:
PlayerEX 等级倍率:每级 +1%
Carrying 倍率:每 Carrying 等级 +5%
INVENTORY_WEIGHT_ATTRIBUTE
此模式直接将修饰符应用到 MT Inventory Weight 的最大负重属性上:
inventoryweight:generic.max_weight
这最适合固定加成,例如:
每 Carrying 等级 +10 最大负重
对于倍率风格的缩放,推荐使用 EVENT_MODIFIER。
配置
附加模组使用服务端同步配置。
你可以配置以下内容:
- 是否启用集成
- 最小最大负重
- 每个 PlayerEX 等级的固定加成
- 每个 PlayerEX 等级的倍率加成
- 用于容量缩放的 PlayerEX 属性/技能
- 每个配置的技能等级的固定加成
- 每个配置的技能等级的倍率加成
- 是否启用自定义 Carrying 属性
- 是否将 Carrying 添加到 PlayerEX 的主属性列表
- 附加模组是使用基于事件的缩放还是背包负重属性
默认风格缩放:
level.multiplierPerLevel = 0.01
skill.attributeId = playerex_inventoryweight:carrying
skill.multiplierPerLevel = 0.05
这将提供:
每个 PlayerEX 等级 +1% 最大负重
每个 Carrying 等级 +5% 最大负重
缩放示例
基础最大负重:100
PlayerEX 等级:10
Carrying 等级:10
等级倍率:1.10
Carrying 倍率:1.50
最终最大负重:165
整合包开发者注意事项
自定义 Carrying 属性必须通过 Data Attributes 对玩家可用。附加模组包含了所需的以下数据文件:
data/playerex_inventoryweight/data_attributes/entity_types/player.json
data/playerex_inventoryweight/data_attributes/overrides/carrying.json
如果你想使用现有的 PlayerEX 属性而不是 Carrying,请将配置值设置为以下示例之一:
playerex:constitution
playerex:strength
playerex:dexterity
playerex:intelligence
playerex:luckiness
playerex:focus
playerex:mining
playerex:smithing
playerex:farming
文档
有关此附加模组的完整文档将在以下位置提供:
PlayerEX Inventory Weight
PlayerEX Inventory Weight is an add-on for MT Inventory Weight and PlayerEX: Directors Cut.
It connects PlayerEX progression with inventory weight capacity, allowing a player's PlayerEX level and/or a configured PlayerEX attribute/skill to increase maximum inventory weight.
This mod is not standalone.
Features
- Fully customizable with fzzy_config — server-side synced config for gameplay values
- Adds integration between PlayerEX and MT Inventory Weight
- Uses the player's PlayerEX level to modify max inventory weight
- Uses a configurable PlayerEX attribute/skill to modify max inventory weight
- Adds support for a custom
Carrying attribute
- Can add
Carrying directly to PlayerEX's existing primary attribute list
- Supports flat and multiplier-based capacity scaling
- Supports refunding Carrying points through PlayerEX refund logic
- Supports two capacity modes:
EVENT_MODIFIER
INVENTORY_WEIGHT_ATTRIBUTE
Carrying Attribute
The add-on registers a custom PlayerEX-style attribute:
playerex_inventoryweight:carrying
When enabled, this attribute is added directly to PlayerEX's normal primary attribute menu alongside:
Constitution
Strength
Dexterity
Intelligence
Luckiness
Focus
Carrying
This means there is no separate Inventory Weight screen. Players can spend PlayerEX skill points on Carrying from the normal PlayerEX UI.
Capacity Modes
EVENT_MODIFIER
This is the recommended mode.
The add-on reads the configured PlayerEX attribute value and modifies MT Inventory Weight's max weight through the Inventory Weight event system.
This mode supports:
- flat bonuses
- multiplier bonuses
- PlayerEX level scaling
- PlayerEX attribute/skill scaling
Example:
PlayerEX level multiplier: +1% per level
Carrying multiplier: +5% per Carrying level
INVENTORY_WEIGHT_ATTRIBUTE
This mode applies a modifier directly to the MT Inventory Weight max-weight attribute:
inventoryweight:generic.max_weight
This is best for flat bonuses, such as:
+10 max weight per Carrying level
For multiplier-style scaling, EVENT_MODIFIER is recommended.
Configuration
The add-on uses a synced server config.
You can configure:
- whether the integration is enabled
- minimum max weight
- flat bonus per PlayerEX level
- multiplier bonus per PlayerEX level
- which PlayerEX attribute/skill is used for capacity scaling
- flat bonus per configured skill level
- multiplier bonus per configured skill level
- whether the custom Carrying attribute is enabled
- whether Carrying is added to PlayerEX's primary attribute list
- whether the add-on uses event-based scaling or the Inventory Weight attribute
Default-style scaling:
level.multiplierPerLevel = 0.01
skill.attributeId = playerex_inventoryweight:carrying
skill.multiplierPerLevel = 0.05
This gives:
+1% max weight per PlayerEX level
+5% max weight per Carrying level
Example Scaling
Base max weight: 100
PlayerEX level: 10
Carrying level: 10
Level multiplier: 1.10
Carrying multiplier: 1.50
Final max weight: 165
Notes for Modpack Developers
The custom Carrying attribute must be available on players through Data Attributes. The add-on includes the required data files for:
data/playerex_inventoryweight/data_attributes/entity_types/player.json
data/playerex_inventoryweight/data_attributes/overrides/carrying.json
If you want to use an existing PlayerEX attribute instead of Carrying, set the config value to one of these examples:
playerex:constitution
playerex:strength
playerex:dexterity
playerex:intelligence
playerex:luckiness
playerex:focus
playerex:mining
playerex:smithing
playerex:farming
Documentation
Full documentation for this add-on will be available here:
评论 0
登录后参与评分
还没有评论,来抢沙发吧