zmlab = zmlab || {}
zmlab.config = zmlab.config || {}

/////////////////////////////////////////////////////////////////////////////

// Version MG


///////////////////////////// Zeros MethLab ////////////////////////////////////

// Developed by ZeroChain:
// http://steamcommunity.com/id/zerochain/
// https://www.artstation.com/zerochain

////////////////////////////////////////////////////////////////////////////////
//////////////BEFORE YOU START BE SURE TO READ THE README.TXT///////////////////
////////////////////////////////////////////////////////////////////////////////



// Modern Gaming values
zmlab.config.cookjob = TEAM_METHCOOK

-- Price / g
zmlab.config.baseprice = 36

-- MIN / MAX
zmlab.config.pricediff = {0.6, 1.4}

-- DEFAULT for the time to recalculate the price in s
zmlab.config.pricetime = 480

-- Cooldown in s
zmlab.config.dropoffcooldown = 10

-- Scraptime in s
zmlab.config.scraptime = 60

// Misc
///////////////////////

// Some debug information
zmlab.config.Debug = false

// This lets you set what Language we want do use
// de only :>
zmlab.config.SelectedLanguage = "de"

// Unit of weight
zmlab.config.UoW = "g"

// The Damage the entitys have do take before they get destroyed.
// Setting it to -1 disables it
zmlab.config.Damageable = {
	["zmlab_freezingtray"] = 50,
	["zmlab_combiner"] = 250,
	["zmlab_freezer"] = 150,
	["zmlab_methylamin"] = 50,
	["zmlab_aluminium"] = 100,
	["zmlab_filter"] = 100,
	["zmlab_meth"] = 10,
}

zmlab.config.Combiner = {

	// This Values Defines the Meth Sludge the combiner can produce per Cook
	MethperBatch = 500,

	// This Values Defines the Producing Time in seconds
	MixProcessingTime = 45, // seconds

	// This Values Defines the Filtering Time in seconds.
	FilterProcessingTime = 60, // seconds

	// This Values Defines the Finishing MethSludge Time in seconds
	FinishProcessingTime = 120, // seconds

	// The length in seconds it takes to pump
	Pump_Interval = 0.25, // seconds

	// This Values Defines how fast the Meth Sludge gets Pumped out of the Combiner
	Pump_Amount = 10,

	// How much dirty gets the combiner per Batch (Setting it to 0 means it never gets dirty)
	DirtAmount = 100,

	// How much dirt can the player clean per Use/Click
	CleanAmount = 10
}

zmlab.config.Filter = {

	// The Health of the Filter (Setting it to 0 disables the Filter losing Health)
	Health = 250,
	// *Note* When the Combiner is in the Filtering Process then the Filter is gonna lose Health every Second if he is installed.

	// How much MethSludge do we get if we dont use a filter 1 = 100%, 0.5 = 50%, 0.25 = 25%
	NoFilterPenalty = 0.75,

	// The damage a player in distance gets per Second if there is no filter installed (Setting it to 0 disables the Damage)
	PoisonDamage = 1,
}

zmlab.config.Freezer = {
	// If the Freezer has Trays with Methsludge then its going to frezze them in this Interval
	Freeze_Inerval = 1, // seconds

	// How much Meth does remain after its frozen/dry (0.05 = 5%)
	MethFreezeLoss = 0.1,

	// The Time in seconds it takes for the Meth do frezze
	Freeze_Time = 60,
}

zmlab.config.FreezingTray = {

	// The amount a freezing Tray can hold
	Capacity = 250,

	// How much Meth do we lose when breaking it (0.05 = 5%)
	MethBreakLoss = 0.05,
}

zmlab.config.Methylamin = {
	// This Values Defines needed Methylamin amount
	Max = 1,

	// Do we want do randomize the needed Methylamin amount for each Cook? (If yes then it will use zmlab.config.Meth.Max as max value)
	Random = false,
}

zmlab.config.Aluminium = {
	// This Values Defines needed Aluminium amount
	Max = 2,

	// Do we want do randomize the needed Aluminium amount for each Cook? (If yes then it will use zmlab.config.Aluminium.Max as max value)
	Random = false,
}

zmlab.config.Meth = {
	// The maximum which can be inside a meth bag
	MaxSize = 1000,
}

zmlab.config.MethBuyer = {
	// Do we want do Show a Sell/Cash Effect if the user sells something?
	ShowEffect = true,
}