Insertz Posted August 15, 2023 Share Posted August 15, 2023 (edited) Does anybody how to make a custom backpack with 3 slot? Edited August 15, 2023 by Insertz Link to comment https://forums.kleientertainment.com/forums/topic/150403-how-to-make-a-custom-backpack/ Share on other sites More sharing options...
Glommer2 Posted August 16, 2023 Share Posted August 16, 2023 --you can check wilson's beard slot in scripts-containers params.beard_sack_3 = { widget = { slotpos = { Vector3(-(64 + 12), 0, 0), Vector3(0, 0, 0), Vector3(64 + 12, 0, 0), }, slotbg = { { image = "inv_slot_morsel.tex" }, { image = "inv_slot_morsel.tex" }, { image = "inv_slot_morsel.tex" }, }, animbank = "ui_beard_3x1", animbuild = "ui_beard_3x1", pos = Vector3(-82, 89, 0), bottom_align_tip = -100, }, type = "side_inv_behind", acceptsstacks = true, lowpriorityselection = true, -- excludefromcrafting = false, } --this decides what kind of item can be put into the container, delete it if you don't need function params.beard_sack_3.itemtestfn(container, item, slot) --Edible for k, v in pairs(FOODGROUP.OMNI.types) do if item:HasTag("edible_"..v) then return true end end end Link to comment https://forums.kleientertainment.com/forums/topic/150403-how-to-make-a-custom-backpack/#findComment-1659378 Share on other sites More sharing options...
Insertz Posted August 19, 2023 Author Share Posted August 19, 2023 It's not working Link to comment https://forums.kleientertainment.com/forums/topic/150403-how-to-make-a-custom-backpack/#findComment-1660127 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now