Talk:Armor/@comment-87.239.222.39-20170108104459

I looked into the LUA files, and it looks like whenever you take damage, the game goes over each item in the equipped slots (hand, head, body) and tries to apply the damage. Due to how the game stores information about equipped items (a hash table), there's no guaranteed order to it though.

You can try it yourself: https://www.lua.org/cgi-bin/demo, here's a pseudo-code emulating the game going over the equipped slots:

local t = {} t["hands"] = 123 t["body"] = 123 t["head"] = 123 for k,v in pairs(t) do   io.write(k) end

You can experiment with changing the order in which you "equip" items (lines 2-4). Notice however that even with the same order, if you "run" the code multiple times, it might show different results each time.

(There's no guarantee the game's implementation of LUA works the same though, so I might try to run the same experiment in-game.)