Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- yellorium = 0
- coal = 0
- iron = 0
- diamond = 0
- gold = 0
- cobble = 0
- wood = 0
- redstone = 0
- args = {...}
- X = args[1]
- Y = args[2]
- Z = args[3]
- perameter = (X * 2) + (Z * 2)
- XZ = X * Z
- XY = X * Y
- ZY = Z * Y
- inside = XZ - perameter
- fuelRods = math.ceil(inside / 2)
- fuel = fuelRods * 4
- case = (XZ * 2 - fuelRods) + (ZY * 2) + (XY * 2)
- conRods = fuelRods
- if args[4] == "true" then
- Turbine = 1
- case = case - 1
- elseif args[4] == "false" then
- Turbine = 0
- end
- if args[5] == "true" then
- Computer = 1
- case = case - 1
- elseif args[5] == "false" then
- Computer = 0
- else
- Computer = 0
- end
- if args[6] == "true" then
- RedstoneC = 1
- case = case - 1
- elseif args[6] == "false" then
- RedstoneC = 0
- else
- RedstoneC = 0
- end
- for i=1,case do
- yellorium = yellorium + 1
- coal = coal + 4
- iron = iron + 4
- end
- for i=1,fuelRods do
- yellorium = yellorium + 1
- coal = coal + 2
- iron = iron + 6
- end
- for i=1,conRods do
- yellorium = yellorium + 2
- coal = coal + 7
- iron = iron + 4
- redstone = redstone + 1
- end
- for i=1,Turbine do
- yellorium = yellorium + 1
- coal = coal + 4
- iron = iron + 10
- wood = wood + 3
- redstone = redstone + 1
- cobble = cobble + 4
- end
- yellorium = yellorium + 6
- coal = coal + 16
- iron = iron + 17
- wood = wood + 11
- cobble = cobble + 4
- redstone = redstone + 6
- diamond = diamond + 1
- for i=1,Computer do
- yellorium = yellorium + 1
- redstone = redstone + 5
- gold = gold + 2
- wood = wood + 2
- cobble = cobble + 3
- iron = iron + 4
- coal = coal + 4
- end
- for i=1,RedstoneC do
- gold = gold + 1
- yellorium = yellorium + 1
- redstone = redstone + 4
- iron = iron + 4
- coal = coal + 4
- end
- for i=1,fuel do
- yellorium = yellorium + 1
- end
- if not inside == 1 then
- gelid = math.floor((inside / 2) * YB)
- basic = math.floor(inside / 2)
- else
- gelid = 0
- basic = 0
- end
- print"This does not include the coal/power required to smelt"
- print("Yellorium: "..yellorium)
- print("Iron: "..iron)
- print("Graphite: "..coal)
- print("Redstone: "..redstone)
- print("Gold: "..gold)
- print("planks: "..wood)
- print("cobble: "..cobble)
- print("(Optional)Coolant(Physics, Passive): "..gelid)
- print("(Optional)Coolant(No Physics, Passive): "..basic)
Advertisement
Add Comment
Please, Sign In to add comment