How can i craft Cigarettes?

I’m wondering about it, how can i do so?

Like are you asking how to make a script to craft cigarettes?

You can set it to a crafting framework or like i do, to make it a usable item.

Looks like:
VORP.RegisterUsableItem(“tobacco”, function(data) – the item used
VORP.subItem(data.source, “rollingpaper”, 1) – item needed 1
VORP.subItem(data.source, “tobacco”, 1) – item needed 2
VORP.addItem(data.source, “cigarette”, 1) – item to become

So user must have 1x rollingpaper, 1x tobacco. When the user use the tobacco, he will bekome a cigarette. after that, 1x rollingpaper & 1x tobacco should removed from the users inventory.

1 Like

Issue with that is it will still give you the item even if you don’t have the items to take.

when you dont have the item, you have nothing to use. When you have tobacco but no rollingpaper you lost the tobacco but dont get a cigarette.