Project Zomboid

Project Zomboid

Not enough ratings
Capacity Credit Card / 容量信用卡
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
69.665 KB
4 Mar @ 9:45am
15 Mar @ 10:39am
4 Change Notes ( view )

Subscribe to download
Capacity Credit Card / 容量信用卡

Description
Capacity Credit Card / 容量信用卡

A magical card that can expand capacity. This mod has added a new item called "Capacity Credit Card" to the game, now you can use a normal credit card to make one! Capacity Credit Cards have a negative weight value of -100, so you can use them to increase carrying capacity of any container.
Bang!!! Knox Magic. [SP/MP]

一张可以扩大容量的神奇卡片。该Mod向游戏中添加了一个名为“容量信用卡”的新物品,现在你可以使用普通信用卡制作一张!容量信用卡的重量为-100,所以你可以使用它们来增加任何容器的承载能力。
吼呀!诺克斯魔法!【本地/多人】


Supported Language / 支持语言
English
简体中文


更新日志
2024.03.16
  • 添加了“容量信用卡重量”的沙盒设置
2024.03.15
  • 添加了从“容量信用卡”逆合成至“信用卡”的配方
  • 添加了对英文的语言支持
2024.03.05
  • 添加了“容量信用卡”及其制作配方


Issues / 问题
  • After changing the "Capacity Credit Card Weight" in the Sandbox Settings, new weight will not take effect on existing capacity credit cards and cannot take effect immediately. After reloading Lua/reloading game/restarting application, the newly created capacity credit card will apply the correct weight attributes. This is my code.

    在沙盒设置中变更“容量信用卡重量”后,该项并不会对已存在的容量信用卡生效且不能立即生效。在重载Lua/重载入存档/重启程序后,新制作出的容量信用卡将应用正确的重量属性。我的代码已在下方贴出。

    local function LoadCapacityCreditCardConfigs() local item = ScriptManager.instance:getItem("Base.CapacityCreditCard") if item then item:setActualWeight(SandboxVars.CapacityCreditCard.Weight) else end end Events.OnGameStart.Add(LoadCapacityCreditCardConfigs)

    If you can provide help or advice on Lua, please feel free to leave a message.

    如果你可以在Lua方面提供帮助或建议,欢迎留言。


招商银行信用卡,没有上限随便刷。




Workshop ID: 3173131256
Mod ID: capacitycreditcard
9 Comments
3023125678 31 Mar @ 7:16am 
新存档,开局设置重量-10,正常使用。但是重量在退出再继续游戏后又变回了-99.99。但是看沙盒设置还是-10。而且重量不是整数是为啥啊?
<Err>MirzkisD1Ex0  [author] 21 Mar @ 4:59am 
@烏雲 我只是简单的加了一个配方和一个新的物品,理论上不会和其它mod起冲突。有更详细的mod冲突详情吗?:zzzzzombie:
烏雲 21 Mar @ 12:04am 
貌似不能和黑科技背包一起使用
TEg ✯ 15 Mar @ 11:29am 
@<Err>MirzkisD1Ex0 thanks you u man:spiffo:
<Err>MirzkisD1Ex0  [author] 15 Mar @ 10:45am 
@TEg ✯ Hi.:spiffo: Now you can set the card capacity in sandbox settings, but there are still some problem... See issues for more details.
<Err>MirzkisD1Ex0  [author] 14 Mar @ 10:50pm 
@3023125678 已更新逆合成配方:praisesun:
TEg ✯ 12 Mar @ 12:45pm 
have*
TEg ✯ 12 Mar @ 12:45pm 
not gonna lie it would be a interesting mod to have on multiplayer if every card just have a -1 weight, they are pretty rare after all it may be a interesting concept to haev a fight over this this could even creat a economie now than i think about it :steamthumbsup:
3023125678 11 Mar @ 6:12am 
有无还原功能?挺多mod用信用卡做货币,能还原成信用卡更灵活一点。