|
|
转自n网:https://www.nexusmods.com/mewgenics/mods/19
Prevents items from breaking when returning from adventures.
防止物品在冒险归来时损坏。
Prevents items from breaking when returning from adventures by setting the 'degrade_after_adventure' flag to false for non-cursed items.
通过将“degrade_after_adventure”标记为虚假,防止非诅咒物品的物品在冒险回归时损坏。
Tested for over 30 runs and no problems found, even prevents current game 'worn' items from breaking. I use Mewtator to create and load the mod.
测试了 30 多遍,没有发现任何问题,甚至能防止当前游戏中“磨损”的物品损坏。我用 Mewtator 来创建和加载这个模组。
Update 1.0.2: Now using patching instead of full file replacement, should be much more compatible with other mods. If the other mod also uses patch files there should be little or no issue, if the other mod uses full file replacement then the mod load order will probably matter. From what I have read, but not tested, Mewtator mods load from the bottom up, so this would need to be above other mods that change items when they do full file replacements (i.e. if you look in the mod files and they all end in '.gon' instead of '.patch', '.merge', or '.append' then order matters).
更新 1.0.2:现在用补丁代替完整文件替换,应该会和其他模组兼容得多。如果另一个模组也使用补丁文件,应该没什么问题;如果另一个模组用完整的文件替换,那么模组的加载顺序可能会有影响。据我所知(但未测试),Mewtator 模组是从底部加载的,所以这需要高于那些在完全替换文件时会更改物品的其他模组(比如如果你看模组文件,它们都以“.gon”结尾,而不是“.patch”、“.merge”或“.append”,那么顺序就很重要)。
Update 1.0.1: Also applied no-degrade flag to consumables so they do not break after adventures (They will still break if they run out of charges, not changing that!).
更新1.0.1:还对消耗品施加了无劣化标记,避免冒险后损坏(即使耗尽电量仍会损坏,但这不会改变!)。
For those that want to modify every item, I just use a series of connected Linux commands to make my patch files, the command I use for each file of this mod is:
对于那些想修改所有内容的人,我只需用一系列连接的 Linux 命令来制作补丁文件,我对这个模组每个文件使用的命令是:
cat weapons.gon | grep -v \ \ \ \ | grep -v -P '^\t' | grep { | sed 's# {#.append { degrade_after_adventure false }#g' | sed 's#//.*##' > weapons.gon.patch
|
|