带上橙宝石护符(自动捡东西那个)靠近有物品的货架,会自动捡货架上的物品,货架上的物品还有图样但无法互动,捡到的在物品栏里面显示是空白。如果你把这个空白物品丢地上或者,游戏就崩了。如果你存档姿势不对,你这个存档会一起崩掉![](http://tb2.bdstatic.com/tb/editor/images/face/i_f23.png?t=20140803)
摸索了半天,可以用下面的方法暂时解决(也有可能出现其他BUG……)
打开\data\DLC0003\scripts\prefabs\amulet.lua 文件,
找到v.components.inventoryitem:IsHeld() then 语句,
改为v.components.inventoryitem:IsHeld() and v.prefab ~= "shelf_slot" then
测试了一下好像不会捡货架了![](http://tb2.bdstatic.com/tb/editor/images/face/i_f33.png?t=20140803)
存档崩掉的如果log显示:
shelf.lua:229: attempt to index field '?' (a nil value)
可以打开\data\DLC0003\scripts\prefabs\shelf.lua 文件,
把 local shelfer = ents[v].entity 改为 local shelfer = nil
保存后重新读档应该可以拯救,不过货架上的物品会被清空![](http://tb2.bdstatic.com/tb/editor/images/face/i_f27.png?t=20140803)
买游戏送BUG果然没错
![](http://tb2.bdstatic.com/tb/editor/images/face/i_f23.png?t=20140803)
摸索了半天,可以用下面的方法暂时解决(也有可能出现其他BUG……)
打开\data\DLC0003\scripts\prefabs\amulet.lua 文件,
找到v.components.inventoryitem:IsHeld() then 语句,
改为v.components.inventoryitem:IsHeld() and v.prefab ~= "shelf_slot" then
测试了一下好像不会捡货架了
![](http://tb2.bdstatic.com/tb/editor/images/face/i_f33.png?t=20140803)
存档崩掉的如果log显示:
shelf.lua:229: attempt to index field '?' (a nil value)
可以打开\data\DLC0003\scripts\prefabs\shelf.lua 文件,
把 local shelfer = ents[v].entity 改为 local shelfer = nil
保存后重新读档应该可以拯救,不过货架上的物品会被清空
![](http://tb2.bdstatic.com/tb/editor/images/face/i_f27.png?t=20140803)
买游戏送BUG果然没错