Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
是不是可以按照这个mod来修改下?
在modmain.lua的300多行的位置找到OnDeath函数:
local function OnDeath(inst)
if inst.components.inventory ~= nil then
inst.components.inventory:DropEverything(true)
end
end
把它变成这样:
local function OnDeath(inst)
if inst.components.inventory ~= nil and inst.prefab ~= "chest_mimic_revealed" then
inst.components.inventory:DropEverything(true)
end
end
附身暗影心房会在暴躁箱子的死亡事件生成。同名死亡事件可以有多个,会按顺序执行,但45格背包的这个优先级很高,在转换物品之前就会把所有物品都先丢出去。
怎样找到modmain.lua这个文件?
找到steam的根目录~\steamapps\workshop\content\322330\3075429483\modmain.lua,找到之后记事本打开,修改,保存,重进存档即可。
(代码缩进没法调,写的时候是好的,发出来就坏了,不过不影响运行)
我目前在尝试修复这个问题,能不能加个好友我想看看是什么情况(如果有视频的话最好)
Please check and fix it.
When the 'Heavy' setting was turned off (heavy items goes automatically to backpack slot), the repair worked.
When I didn't have the 45 Inventory mod on, everything worked fine.
I could place the Heavy item in the slot I want and still repair the sculpture.
But with the 45 inventory mod, I must have the 'Heavy' setting to 'off'.
I could just use it like this ('Heavy' setting turned to off), but I prefer to put Heavy items in other slots.
If it isn't too much trouble, would you look into this?