This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
austinv11's profile picture

Keep data on reloads on a turtle upgrade

Started by austinv11, 01 November 2014 - 12:24 PM
austinv11 #1
Posted 01 November 2014 - 01:24 PM
Hello, back again with another question. How would I store variables in a turtle upgrade, I know that normal peripherals extend TileEntity so they have access to the writeToNBT() and readFromNBT() methods, but how could this be done for turtle upgrades?
theoriginalbit #2
Posted 01 November 2014 - 02:22 PM
A Tweet where I asked dan200 basically the same question.
Edited on 01 November 2014 - 01:23 PM
austinv11 #3
Posted 01 November 2014 - 05:01 PM
Cool, sounds easy enough