Page cover

3・Config

:1arrowpink:All are fully explained directly in our config file. But you can check this channel to see what's you have in it.

If you have any trouble and need any support, please turn the DEBUG to true line 1 :

DEBUG = true
ENABLECOMMAND = false

After that, open a ticket on our discord to get support.

  • First of all, define your language line 11

You have only a English and French version. but you can add your language just bellow. Follow the same patern as previously.

DEBUG = true
ENABLECOMMAND = false

aff = print
function print(text)
	if DEBUG then
		aff(text)
	end
end

Lang = "FR"
TradLang = {}

TradLang["EN"] = {
	["OnOff"] = "[E] Turn On/Off",
	["OnOffDelete"] = "[E] Turn On/Off - [G] Delete",
}

TradLang["FR"] = {
	["OnOff"] = "[E] Allumer/Eteindre",
	["OnOffDelete"] = "[E] Allumer/Eteindre - [G] Supprimer",
}

  • In line 24/25, you can change the key to open the menu.

--Open Menu key
openMenu = 38 --E key

  • If you get the script with the garden props, disable CanDelete by turning it to false in line28. Do not change anything if you get the script Standalone.

  • You can change the delete Key too.

  • Do not touch the detection range.

--Enable the delete function on tube
CanDelete = false
deleteKey = 47 --G key

--Tube detection range
detectionRange = 4.0

  • Line34, If you want to use our detection system (our menu), let this one to true. But if you are a developer and want to add your system, turn this by false.DOT NOT TOUCH THIS IF YOU DON'T KNOW WHAT YOU DO.

  • Don't touch line 39/40

--Disable the built in detection function for tube, so you can use your own detection system
UseOwnDetectionSystem = true



--This is the header of all events, so you can copy paste this script with different identifier
scriptIdentifier = "Pata_Tub"

Last updated