Grokitach / Stalker_GAMMA

S.T.A.L.K.E.R. Anomaly G.A.M.M.A. modpack definition files.
GNU Affero General Public License v3.0
654 stars 127 forks source link

G.A.M.M.A. Artefacts Reinvention and broken "actor_item_to_ruck" callbacks #242

Closed ted-hou closed 6 months ago

ted-hou commented 6 months ago

There's a small bug in the latest "G.A.M.M.A. Artefacts Reinvention" addon (after the Christmas update) : If you pick up a "junk artefact" in game, all "actor_item_to_ruck" callbacks will stop working (this broke the Headgear Animations mod for me, not sure if anything else was affected).

Should be an easy fix though: it appears to be caused by a syntax error here: (https://github.com/Grokitach/Stalker_GAMMA/blob/main/G.A.M.M.A/modpack_addons/G.A.M.M.A.%20Artefacts%20Reinvention/gamedata/scripts/zz_item_artefact.script) at line 379: cond = item.condition() should be cond = item:condition()

This seemed to have rescued my savegame.

ted-hou commented 6 months ago

Thanks for fixing this!