This was really good work Linear_Spoon this is wayy more advanced than i could ever imagine to create myself at the stage i'm at in lua.
If it is ok for you i can uppdate the thread with this code, and ofc give you the credit for it.
and thanks alot for all the extremly useful comments in the code
This i will lern alot from :)
i use ic2 pipes, diamond pipes and redstone pipes, but as long as you get a redstone pulse at the right color of the bundled cable annything will work
I havent used tubes mutch and don't really know how to make them work, but i'm shure you could use them too :)
i'm well into gettin the first relese, with saving in files and reading them when starting. i will uppdate the post when i'm done.
pleace come with feedback! :D
QuarryCount
by trysje
UPPDATED to v1.0
i've added some really useful stuff sinse last time.
* now all the numbers is stored in files so if the server/client restarts the count can continue from where it left off.
* Now there is many moore usefull tips and hints in the sourcecode
* added some new ores
* placed all gemstones in one common count "gemstones"
* fixed some typos (tho i've probably made som new ones to x) )
INPORTANT
first time use you need to run the function "rsdatabase()" to create all the files and write 0 in them. if you do not do this there will be an error.
Downloads:
the code for QuarryCount: http://pastebin.com/Y885mK3X
the map i have made it in: http://www.4shared.com/rar/ij6MqzsS/Survival_inc.html?
The map is outdated!
i've added the map beacause i'm gonna let you awesome ppl se how i count the difrent ores.
What is this?
This is a program for tekkit with cc.
it counts all the important ores and valuebals that comes from a quarry and display it on a monitor.
Remember that i'am really new to lua and there is probably a lot of improvments to be done
pleace come with feedback, both possetive and negative i like that you care