XP Turtle

The XP Turtle Upgrade is a simple Turtle Upgrade allows Turtles to suck up and use xp.


Function Returns Description
add(number amount) number xp This function adds experience to the turtle from experience bottles in the selected slot
getXP() number totalXP Returns the currently stored xp
getLevels() number totalLevels Returns the number of experience levels currently stored
collect() number xp Collects nearby xp orbs
setAutoCollect(boolean autoCollect) boolean autoCollect Sets whether the turtle should periodically (every second) automatically collect xp
enchant(number levels) boolean success Enchants the selected item with the set amount of experience levels