Guide Til Drugs
🌿
Du for 4 Pre-made stoffer som kan findes i shared/config.lua Men du kan lave dine egne!
Kokain
Standart opsætning af Kokain.
Standart Kokain
kokain = {
label = "Kokain", -- Navn på stoffet
stages = {
harvest = {
name = "Høst Kokain", -- Navn på trin
coords = vec3(2290.37, 4760.44, 38.67), -- Position for trin
width = 1.0, length = 11.0, heading = 345.0, -- Position og retning
item = "coca_leaf", -- Item der skal høstes
amount = 1, -- Mængde der skal høstes
animation = {dict = "amb@world_human_gardener_plant@male@idle_a", anim = "idle_a"}, -- Animation der skal spilles
duration = 5000, -- Tid i ms trin tager
looped = true, -- Om animationen skal være looped (vis = true, så vil den fortsætte indtil du trykker E igen, vis den er = false, så stopper den efter 5 sekunder)
icon = "fa-solid fa-cannabis", -- Icon på target
description = "Pluk kokablade i marken", -- Teksten der står på progressbaren
blip = {sprite = 514, colour = 2, scale = 0.6, shortRange = true} -- Blip der vises på kortet (vis du vil have det)
},
process_unclean = {
name = "Bearbejd Kokain",
coords = vec3(1737.3, 4639.3, 43.5),
requiredItem = "coca_leaf",
resultItem = "kokain_ur", amount = 1,
animation = {dict = "amb@prop_human_parking_meter@male@idle_a", anim = "idle_a"},
duration = 5000,
looped = true,
icon = "fa-solid fa-gears",
blip = {sprite = 514, colour = 5, scale = 0.6, shortRange = true}
},
package_unclean = {
name = "Pak Kokain",
coords = vec3(1667.5, 4968.2, 42.5),
requiredItem = "kokain_ur",
resultItem = "kokain_ur_pak", amount = 1,
animation = {dict = "amb@world_human_bum_wash@male@low@idle_a", anim = "idle_a"},
duration = 5000,
looped = true,
icon = "fa-solid fa-box",
blip = {sprite = 514, colour = 1, scale = 0.6, shortRange = true}
}
}
},Meth
Standart opsætning af Meth.
Standart Meth
meth = {
label = "Meth",
stages = {
harvest = {
name = "Høst Meth",
coords = vec3(1389.5, 3609.61, 38.94),
width = 1.0, length = 2.0, heading = 290.0,
item = "meth_ingredients", amount = 1,
description = "Saml meth ingredienser",
animation = {dict = "amb@prop_human_parking_meter@male@idle_a", anim = "idle_a"},
duration = 5000,
looped = true,
icon = "fa-solid fa-flask",
blip = {sprite = 514, colour = 2, scale = 0.6, shortRange = true}
},
cook = {
name = "Kog Meth",
coords = vec3(1394.92, 3601.06, 38.94),
width = 1.0, length = 2.0, heading = 290.0,
requiredItem = "meth_ingredients",
resultItem = "meth_uncooked", amount = 1,
animation = {dict = "amb@world_human_bum_standing@idle_a", anim = "idle_a"},
duration = 6000,
lopped = false,
icon = "fa-solid fa-vial",
blip = {sprite = 514, colour = 5, scale = 0.6, shortRange = true}
},
refine = {
name = "Rens Meth",
coords = vec3(1209.52, -3114.14, 5.54),
width = 1.0, length = 5.0, heading = 0.0,
requiredItem = "meth_uncooked",
resultItem = "meth", amount = 1,
animation = {dict = "amb@world_human_clipboard@male@idle_a", anim = "idle_a"},
duration = 6000,
lopped = false,
blip = {sprite = 514, colour = 1, scale = 0.6, shortRange = true}
}
}
},Opium
Standart opsætning af Opium.
Standart Opium
opium = {
label = "Opium",
stages = {
harvest = {
name = "Høst Opium",
coords = vec3(-1780.3, 2125.34, 130.88),
width = 1.0, length = 13.0, heading = 300.0,
item = "opium_poppy", amount = 1,
animation = {dict = "amb@world_human_gardener_plant@female@idle_a", anim = "idle_a"},
duration = 5000,
looped = true,
icon = "fa-solid fa-flask",
blip = {sprite = 514, colour = 2, scale = 0.6, shortRange = true}
},
process = {
name = "Bearbejd Opium",
coords = vec3(-1174.15, -494.8, 35.57),
width = 1.0, length = 2.0, heading = 350.0,
requiredItem = "opium_poppy",
resultItem = "opium", amount = 1,
animation = {dict = "amb@world_human_clipboard@male@idle_a", anim = "idle_a"},
duration = 5000,
lopped = false,
icon = "fa-solid fa-gears",
blip = {sprite = 514, colour = 5, scale = 0.6, shortRange = true}
},
package = {
name = "Pak Opium",
coords = vec3(1391.1, 3605.58, 38.94),
width = 1.0, length = 2.0, heading = 20.0,
requiredItem = "opium",
resultItem = "opium_pack", amount = 1,
animation = {dict = "amb@prop_human_parking_meter@male@idle_a", anim = "idle_a"},
duration = 5000,
lopped = false,
icon = "fa-solid fa-box",
blip = {sprite = 514, colour = 1, scale = 0.6, shortRange = true}
}
}
},Svampe
Standart opsætning af Svampe.
Standart Svampe
svampe = {
label = "Magiske Svampe",
stages = {
harvest = {
name = "Høst Svampe",
coords = vec3(2296.1904, 4777.6597, 38.1689),
item = "magic_mushroom", amount = 1,
animation = {dict = "amb@world_human_gardener_plant@male@idle_a", anim = "idle_a"},
duration = 4000,
looped = true,
icon = "fa-solid fa-hand",
blip = {sprite = 514, colour = 2, scale = 0.6, shortRange = true}
},
dry = {
name = "Tør Svampe",
coords = vec3(2299.0825, 4781.6299, 37.9),
requiredItem = "magic_mushroom",
resultItem = "dried_shroom", amount = 1,
animation = {dict = "amb@prop_human_parking_meter@male@idle_a", anim = "idle_a"},
duration = 6000,
lopped = false,
icon = "fa-solid fa-wind",
blip = {sprite = 514, colour = 5, scale = 0.6, shortRange = true}
}
}
},Guide Til Custom
🍁
Her er en guide til Custom Drugs.
Custom Drug
Her er en guide til hvordan du kan implementere dine egne custom drug.
Custom drug eksempel
custom = {
label = "Custom Drug", -- Navn på stoffet
stages = {
harvest_custom = {
name = "Høst Custom", -- Navn på trin
coords = vec3(0, 0, 0), -- Position for trin
width = 1.0, length = 1.0, heading = 0.0, -- Position og retning
item = "Item_Navn", -- Item der skal høstes
amount = 1, -- Mængde der skal høstes
animation = {dict = "amb@world_human_gardener_plant@male@idle_a", anim = "idle_a"}, -- Animation der skal spilles
duration = 5000, -- Tid i ms trin tager
looped = true, -- Om animationen skal være looped (vis = true, så vil den fortsætte indtil du trykker E igen, vis den er = false, så stopper den efter 5 sekunder)
icon = "fa-solid fa-cannabis", -- Icon på target
description = "Høst Custom Drug her", -- Teksten der står på progressbaren
blip = {sprite = 514, colour = 2, scale = 0.6, shortRange = true} -- Blip der vises på kortet (vis du vil have det)
},
omdan_custom = {
name = "Omdan Custom",
coords = vec3(0, 0, 0),
requiredItem = "Item_Navn",
resultItem = "Item_Navn", amount = 5,
animation = {dict = "amb@prop_human_parking_meter@male@idle_a", anim = "idle_a"},
duration = 10000,
looped = false,
icon = "fa-solid fa-gears",
blip = {sprite = 514, colour = 5, scale = 0.6, shortRange = true}
}
}
},