51 lines
		
	
	
	
		
			1.5 KiB
		
	
	
	
		
			Lua
		
	
	
	
	
	
			
		
		
	
	
			51 lines
		
	
	
	
		
			1.5 KiB
		
	
	
	
		
			Lua
		
	
	
	
	
	
--[[ All settings of the script are found and edited in this file. ]]
 | 
						|
 | 
						|
Config = {}
 | 
						|
 | 
						|
---Interaction with these models
 | 
						|
Config.AtmModels = {
 | 
						|
    `prop_atm_01`,
 | 
						|
    `prop_atm_02`,
 | 
						|
    `prop_atm_03`,
 | 
						|
    `prop_fleeca_atm`,
 | 
						|
}
 | 
						|
 | 
						|
--[[ The time it takes for the ATM to be hacked again | seconds ]]
 | 
						|
Config.AtmCooldown = 300
 | 
						|
 | 
						|
Config.Rope = {
 | 
						|
    ---@type {name: string, label:string}
 | 
						|
    requiredItem = { name = 'heavy_rope', label = 'Heavy Rope' },
 | 
						|
    ---The time it takes to get the money from the ATM after it is ripped out
 | 
						|
    breakTime = 10, -- seconds
 | 
						|
    ---The prize amount gives a random amount between max-min
 | 
						|
    reward = { name = 'money', max = 5000, min = 2000, },
 | 
						|
}
 | 
						|
 | 
						|
Config.Explode = {
 | 
						|
    ---@type {name: string, label:string}
 | 
						|
    requiredItem = { name = 'weapon_stickybomb', label = 'Sticky Bomb' },
 | 
						|
    ---The prize amount gives a random amount between max-min
 | 
						|
    reward = { name = 'money', max = 5000, min = 2000, },
 | 
						|
}
 | 
						|
 | 
						|
Config.Hack = {
 | 
						|
    ---[[ Cameras near ATMs can be accessed using this item ]]
 | 
						|
    tabletItem = 'atm_hack_tablet',
 | 
						|
    ---[[ will be used to hack nearby ATMs ]]
 | 
						|
    phoneItem = 'atm_hack_phone',
 | 
						|
    ---The prize amount gives a random amount between max-min
 | 
						|
    reward = { name = 'money', max = 5000, min = 2000, },
 | 
						|
}
 | 
						|
 | 
						|
Config.PlantOffset = {
 | 
						|
    [`prop_atm_01`] = vector3(0.0, -0.2, 1.0),
 | 
						|
    [`prop_fleeca_atm`] = vector3(0.0, 0.0, 1.0),
 | 
						|
}
 | 
						|
 | 
						|
Config.AtmCameras = {
 | 
						|
    { coords = vector3(154.941, -1037.222, 32.916), rot = vector3(-22.5, -0.000, 70.54) },
 | 
						|
}
 | 
						|
 | 
						|
--[[ DEBUG ]]
 | 
						|
Config.debug = true
 |