Goldbar97 / mods

1 stars 0 forks source link

More Loot Settings incompatibility w/ Unpacking Cigarettes #44

Open Nekuromu opened 1 month ago

Nekuromu commented 1 month ago

image

Nekuromu commented 1 month ago

I checked, and could not replicate this issue.

Goldbar97 commented 1 month ago
function AMSI(item, count, player)
    for x=0, count do
        player:getInventory():AddItem(item);
    end
end

function recipe_opencigpack(items, result, player)
    AMSI("Base.Cigarettes", 0, player);
end

This code is about cigarettes packing. It's weird that giving 1 cigarette turns out 20 cigarettes. I already asked him the mod's name.