Hellow I have created a process in item_transforme.lua to extend the processing of “Lsd” Vrp, I add the new object to Item.lua and the inventory stops working no matter what you take that will not appear in your inventory and the menus to buy food also all products have disappeared, sorry for my English, I pass the files have if someone can tell me that I have done wrong
`
{
name=“Drug Lab”, – menu name
permissions = {“harvest.weed”}, – job drug dealer required to use
r=0,g=255,b=0, – color
max_units=100000,
units_per_minute=100000,
x=-77.722381591797,y=6223.626953125,z=31.089864730835, – pos (needed for public use lab tools)
radius=1.1, height=1.5, – area
recipes = {
[“cocaine”] = { – action name
description=“make cocaine”, – action description
in_money=500, – money taken per unit
out_money=0, – money earned per unit
reagents={ – items taken per unit
[“benzoilmetilecgonina”] = 1
},
products={ – items given per unit
[“cocaine”] = 3
},
aptitudes={ – optional
[“laboratory.cocaine”] = 3, – “group.aptitude”, give 1 exp per unit
[“science.chemicals”] = 6
}
},
[“weed”] = { – action name
description=“make weed”, – action description
in_money=500, – money taken per unit
out_money=0, – money earned per unit
reagents={ – items taken per unit
[“seeds”] = 1
},
products={ – items given per unit
[“weed”] = 3
},
aptitudes={ – optional
[“laboratory.weed”] = 3, – “group.aptitude”, give 1 exp per unit
[“science.chemicals”] = 6
}
},
[“lsd”] = { – action name
description=“Fabricar LSD 25”, – action description
in_money=500, – money taken per unit
out_money=0, – money earned per unit
reagents={ – items taken per unit
[“dietilamida”] = 1
},
products={ – items given per unit
[“lsd 25”] = 5
},
aptitudes={ – optional
[“laboratory.lsd”] = 3, – “group.aptitude”, give 1 exp per unit
[“science.chemicals”] = 6
}
}
}
}
}
– define transformers randomly placed on the map
cfg.hidden_transformers = {
[“weed field”] = {
def = {
name=“Weed field”, – menu name
permissions = {“harvest.weed”}, – you can add permissions
r=0,g=200,b=0, – color
max_units=100000,
units_per_minute=100000,
x=0,y=0,z=0, – pos
radius=5, height=1.5, – area
recipes = {
[“Harvest”] = { – action name
description=“Harvest some drugs.”, – action description
in_money=0, – money taken per unit
out_money=0, – money earned per unit
reagents={}, – items taken per unit
products={ – items given per unit
[“seeds”] = 1
}
}
}
},
positions = {
{2208.0104980469,5577.6987304688,53.739212036133}
}
},
[“cocaine dealer”] = {
def = {
name=“Cocaine Dealer”, – menu name
permissions = {“harvest.weed”}, – you can add permissions
r=0,g=200,b=0, – color
max_units=100000,
units_per_minute=100000,
x=0,y=0,z=0, – pos
radius=5, height=1.5, – area
recipes = {
[“Harvest”] = { – action name
description=“Harvest some drugs.”, – action description
in_money=0, – money taken per unit
out_money=0, – money earned per unit
reagents={}, – items taken per unit
products={ – items given per unit
[“benzoilmetilecgonina”] = 1
}
}
}
},
positions = {
{-631.00543212891,-229.42568969727,38.057052612305}
}
},
[“Palets de lsd 25”] = {
def = {
name=“Palets de lsd 25”, – menu name
permissions = {“harvest.weed”}, – you can add permissions
r=0,g=200,b=0, – color
max_units=100000,
units_per_minute=100,
x=0,y=0,z=0, – pos
radius=5, height=1.5, – area
recipes = {
[“Montar palets”] = { – action name
description=“Cargando paquetes en un palets”, – action description
in_money=500, – money taken per unit
out_money=0, – money earned per unit
reagents={ – items taken per unit
[“lsd 25”] = 10
},
products={ – items given per unit
[“Palet de lsd”] = 1
}
}
}
},
positions = {
{2636.6765136719,4736.2885742188,34.784164428711}
}
},
[“lsd bar”] = {
def = {
name=“LSD Bar”, – menu name
permissions = {“harvest.weed”}, – you can add permissions
r=0,g=200,b=0, – color
max_units=100000,
units_per_minute=100000,
x=0,y=0,z=0, – pos
radius=5, height=1.5, – area
recipes = {
[“Harvest”] = { – action name
description=“Harvest some drugs.”, – action description
in_money=0, – money taken per unit
out_money=0, – money earned per unit
reagents={}, – items taken per unit
products={ – items given per unit
[“dietilamida”] = 1
}
}
}
},
positions = {
{1992.5993652344,3044.1806640625,47.215068817139}
}
},
[“police1”] = {
def = {
name=“Police Report”, – menu name
permissions = {“police.mission”}, – you can add permissions
r=0,g=200,b=0, – color
max_units=100000,
units_per_minute=100000,
x=0,y=0,z=0, – pos
radius=5, height=1.5, – area
recipes = {
[“Write Report”] = { – action name
description=“Writing Report…”, – action description
in_money=0, – money taken per unit
out_money=0, – money earned per unit
reagents={}, – items taken per unit
products={ – items given per unit
[“police_report”] = 1
}
}
}
},
positions = {
{439.57083129883,-995.072265625,30.689596176147} – Mission Row
}
`