Move "loot" helper into "BaseGemstoneScript"