#Printer

1 messages · Page 1 of 1 (latest)

vivid goblet
#

Hello, we use the printer script for QB with the OX inventory. How can you make the same prints stackable? This should at least be the case for the individual files (i.e. not necessarily for the books, if it doesn't work there). Many thanks for your help.

rigid bane
#

I think its just removing the unique true from the item

vivid goblet
#

This has already been done. But it does not work.

rigid bane
#

Do they have the same info on them?

#

You can't stack, for example, business cards with different metadata

vivid goblet
#

They should be the same because, for example, I enter 5 pieces when printing, which appear individually in the inventory and cannot be stacked even after printing.

rigid bane
#

How does your item look in the items.lua

vivid goblet
#

["business_card"] = {["name"] ="business_card", ["label"] = "Business Karte", ["weight"] = 0, ["type"] = "item", ["image"] = "bctest.png", ["unique"] = true, ["useable"] = true, ["created"] = nil, ["decay"] =nil, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = "A businesscard"},
["coupon"] = {["name"] = "coupon", ["label"] ="Coupon", ["weight"] = 0, ["type"] = "item", ["image"] ="coupon.png", ["unique"] = true, ["useable"] = true, ["created"] = nil, ["decay"] = nil, ["shouldClose"] = false, ["combinable"] =nil, ["description"] = "A Coupon"},
["flyer"] = {["name"] = "flyer", ["label"] ="Flyer", ["weight"] = 0, ["type"] = "item", ["image"] ="flyer.png", ["unique"] = true, ["useable"] = true, ["created"] = nil, ["decay"] = nil, ["shouldClose"] = false, ["combinable"] =nil, ["description"] = "A Flyer"},
["menu"] = {["name"] = "menu", ["label"] ="Menu", ["weight"] = 0, ["type"] = "item", ["image"] ="menu.png", ["unique"] = true, ["useable"] = true, ["created"] = nil, ["decay"] = nil, ["shouldClose"] = false, ["combinable"] =nil, ["description"] = "A Menu"},
["book"] =

#

{["name"] = "book", ["label"] = "Buch", ["weight"] = 0, ["type"] = "item", ["image"] = "book.png", ["unique"] = true, ["useable"] = true, ["created"] = nil, ["decay"] = nil, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = "A book"},
["newspaper"] = {["name"] = "newspaper", ["label"] = "Zeitung", ["weight"] = 0, ["type"] = "item", ["image"] = "newspaper.png", ["unique"] = true, ["useable"] = true, ["created"] = nil, ["decay"] = nil, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = "A newspaper"},

rigid bane
#

You still have unique true