DLC

Weed

Installing the resource

  • Make sure you have the dependencies listed above installed.

  • Execute The 'database.sql' to your database.

  • It is written according to the itemName values specified in Config. You can change it. Do not forget to change it on both sides.

  • You have to put the pictures yourself.

  • Add item to shared items.lua

weed_seed            = { name = "weed_seed", label = "Weed Seed", weight = 0, type = "item", image = "weed_seed.png", unique = true, useable = true, shouldClose = true, combinable = nil, description = "Weed Seed"},
fertilizer_old       = { name = "fertilizer_old", label = "Fertilizer Old", weight = 2000, type = "item", image = "fertilizer.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Fertilizer Old"},
fertilizer_normal    = { name = "fertilizer_normal", label = "Fertilizer Normal", weight = 2000, type = "item", image = "fertilizer.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Fertilizer Normal"},
fertilizer_premium   = { name = "fertilizer_premium", label = "Fertilizer Premium", weight = 2000, type = "item", image = "fertilizer.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Fertilizer Premium"},
weed_plant           = {name = "weed_plant", label = "Weed Branch", weight = 500, 	type = "item", image = "weed_plant.png", unique = true, useable = true, shouldClose = true, combinable = nil, description = "Weed Plant"},
weed_brick           = { name = "weed_brick", label = "Weed Brick", weight = 1000, type = "item", image = "weed_brick.png", unique = false, useable = false, shouldClose = true, description = "1KG Weed Brick to sell to large customers." },
  • Add the images inside your inventory/html/images.

  • Add this in you inventory /html/app.js :

case "weed_plant":
  return `<p><strong>Genetics: </strong><span>${itemData.info.genetics}</span></p>
      <p><strong>Dry: </strong><span>${itemData.info.dry}</span></p>`;

Last updated