Meth Producing
Config.MethCooking = { -- Settings for the meth cooking
[1] = { -- Step 1
coords = vector3(1005.80, -3200.40, -38.90), -- Coords of the interaction point
coordsToCalibrate = vector4(1003.9509, -3200.3691, -38.9932, 183.0077), -- Coords of the calibration point
intCoords = vector4(1005.7399, -3200.3726, -38.5193, 179.0989), -- Coords of the interaction point
helpLabel = Translations['start_mixing'], -- Help label
type = "heating", -- Type of the cooking
heat = { -- Heat settings
min = 90,
max = 110
},
removeItems = { -- Items to remove
{name = 'pseudoephedrine', amount = 10},
{name = 'red_phosphorus', amount = 10},
{name = 'lithium', amount = 10},
},
addItems = { -- Items to add
{name = 'meth_oil', amount = 5},
},
animIndex = 3, -- (do not change)
time = 5, -- Time of the heating in seconds
fume = 15 -- Fume amount that gets added to the lab
},
[2] = {
coords = vector4(1008.09, -3199.5, -38.99, 353.05),
coordsToCalibrate = vector4(1010.68, -3199.91, -38.99, 353.66),
intCoords = vector4(1007.9393, -3199.2166, -38.9932, 340.8227),
helpLabel = Translations['start_solving'],
type = "pressure",
pressure = {
min = 100,
max = 150
},
removeItems = {
{name = 'meth_oil', amount = 5},
{name = 'anhydrous_ammonia', amount = 10},
},
addItems = {
{name = 'methamphetamine_base', amount = 5},
},
anim = {
dict = "amb@prop_human_bum_bin@idle_b",
name = "idle_d",
duration = 2
},
time = 10,
event = "px-labs:reducingMeth",
fume = 10
},
[3] = {
coords = vector4(1004.25, -3196.56, -38.99, 174.87),
intCoords = vector4(1004.1861, -3197.1943, -38.99, 174.87),
type = "ph",
event = "px-labs:purifyingMeth",
duration = 15000,
helpLabel = Translations['start_purifying'],
ph = {
min = 6,
max = 8
},
anim = {
dict = "amb@prop_human_bum_bin@idle_b",
name = "idle_d",
duration = 2
},
removeItems = {
{name = 'methamphetamine_base', amount = 5},
{name = 'hydrochloric_acid', amount = 10},
},
addItems = {
{name = 'methamphetamine_hydrochloride', amount = 5},
},
event = "px-labs:purifyingMeth",
fume = 10
},
[4] = {
intCoords = vector4(1012.1942, -3194.8823, -39.3931, 359.6484),
coords = vector4(1012.1942, -3194.8823, -38.9931, 359.6484),
helpLabel = Translations['break_meth_trays'],
event = "px-labs:breakMethTrays",
removeItems = {
{name = 'methamphetamine_hydrochloride', amount = 1},
{name = 'hammer' , amount = 1, notRemove = true},
},
addItems = {
{name = 'unpackaged_meth', amount = 5},
},
},
[5] = {
intCoords = vector4(1013.4387, -3194.8831, -39.3931, 355.6455),
coords = vector4(1013.4387, -3194.8831, -38.9931, 355.8955),
helpLabel = Translations['package_meth'],
event = "px-labs:packageMeth",
removeItems = {
{name = 'empty_m_bag', amount = 5},
{name = 'unpackaged_meth', amount = 1},
},
addItems = {
{name = 'meth_baggy', amount = 3},
},
},
FumeInterval = 1000*60*5, -- For every interval, the fume level will decrease by the FumeDecrease amount
FumeDecrease = 5 -- Fume level decrease amount
}
Last updated