Items
Add this to ox_inventory\data\item.lua
-- TR Lumbermill
["tr_log"] = {
label = "Log",
weight = 25000,
stack = false,
close = true,
description = "Lumbermill Log",
client = {
image = "tr_log.png",
}
},
["tr_deliverypaper"] = {
label = "Log Shipping Paper",
weight = 1,
stack = true,
close = true,
description = "Shipping Papers for logs on the trailer",
client = {
image = "tr_deliverypaper.png",
}
},
["tr_choppedlog"] = {
label = "Chopped Log",
weight = 1000,
stack = true,
close = true,
description = "Chopped Tree Log",
client = {
image = "tr_choppedlog.png",
}
},
["tr_woodplank"] = {
label = "Wooden Plank",
weight = 250,
stack = true,
close = true,
description = "Wooden Planks",
client = {
image = "tr_woodplank.png",
}
},
["tr_woodhandles"] = {
label = "Wooden Handle",
weight = 100,
stack = true,
close = true,
description = "Wooden Handle",
client = {
image = "tr_woodhandle.png",
}
},
["tr_firewood"] = {
label = "Firewood Bundle",
weight = 250,
stack = true,
close = true,
description = "Firewood Bundle",
client = {
image = "tr_firewood.png",
}
},
["tr_toyset"] = {
label = "Wooden Toy",
weight = 100,
stack = true,
close = true,
description = "Wooden Toy",
client = {
image = "tr_woodentoy.png",
}
},
QBCore Shared Item
-- TR Lumbermill
tr_log = {
name = "tr_log",
label = "Log",
weight = 25000,
type = "item",
image = "tr_log.png",
unique = true,
useable = true,
shouldClose = true,
combinable = nil,
description = "Lumbermill Log"
},
tr_deliverypaper = {
name = "tr_deliverypaper",
label = "Log Shipping Paper",
weight = 1,
type = "item",
image = "tr_deliverypaper.png",
unique = false,
useable = true,
shouldClose = false,
combinable = nil,
description = "Shipping Papers for logs on the trailer"
},
tr_choppedlog = {
name = "tr_choppedlog",
label = "Chopped Log",
weight = 1000,
type = "item",
image = "tr_choppedlog.png",
unique = false,
useable = true,
shouldClose = true,
combinable = nil,
description = "Chopped Tree Log"
},
tr_woodplank = {
name = "tr_woodplank",
label = "Wooden Plank",
weight = 250,
type = "item",
image = "tr_woodplank.png",
unique = false,
useable = true,
shouldClose = true,
combinable = nil,
description = "Wooden Planks"
},
tr_woodhandles = {
name = "tr_woodhandles",
label = "Wooden Handle",
weight = 100,
type = "item",
image = "tr_woodhandle.png",
unique = false,
useable = true,
shouldClose = true,
combinable = nil,
description = "Wooden Handle"
},
tr_firewood = {
name = "tr_firewood",
label = "Firewood Bundle",
weight = 250,
type = "item",
image = "tr_choppedlog.png",
unique = false,
useable = true,
shouldClose = true,
combinable = nil,
description = "Chopped Tree Log"
},
tr_toyset = {
name = "tr_toyset",
label = "Wooden Toy",
weight = 100,
type = "item",
image = "tr_woodentoy.png",
unique = false,
useable = true,
shouldClose = true,
combinable = nil,
description = "Wooden Toy"
},
Last updated