Log in

View Full Version : About the LUA and XBST file,



Thewarrior232
12-04-2012, 05:38 PM
Hi, Ive got a problem i cant figure out where to edit the "refill Settnings" To open the Lua file so i can edit what potions i wanna buy and how much etc etc... Anyone can explain to me how to do it?


~~thanks

XtrmJosh
12-04-2012, 08:59 PM
Maybe you overlooked something Rydan.

Thewarrior232 - You should have copied a file with .lua extension to your Documents/Xenobot/Scripts folder. Open this file with notepad, notepad++, sublime text, or any text editor you like (Not MS word or anything too fancy, notepad is best really). Normally scripters will put this information at the top, it may look like this:

mainBP = "backpack of holding"
lootBP = "beach backpack"
goldBP = "backpack"

potion = "mana potion"
cost = 50
amount = 500
leave = 100

Edit it according to how you want it set.