Jump to content


pb2007's Content

There have been 6 items by pb2007 (Search limited from 10-February 22)


By content type

See this member's

Sort by                Order  

#276176 Adding Zip Disks

Posted by pb2007 on 21 March 2018 - 07:40 PM in Suggestions

Perhaps any disk drive can read from CDs, but you need a special CD burner to write to them. Obviously, the crafting recipe for a CD and CD burner would be end game. Zip disks sound cool though, and maybe they could be about middle-end game? Kind of like maybe Nether but not the End.

Maybe zip disks could be crafted with nether quartz and iron, and CDs could be crafted with end stone and glass?



#276175 [CC 1.76+] Enlarged Terminal Font

Posted by pb2007 on 21 March 2018 - 07:35 PM in Media

Does this mean that the size of the CC window is doubled, too? Oooooooooh



#275222 Basic file IO - Learn how to save data!

Posted by pb2007 on 13 February 2018 - 08:36 PM in Tutorials

Actually, it wouldn't be
filedata[1]
, it would be
filedata[0]
because computers count from 0, not 1. At least I think. ComputerCraft might be different,

Sorry, don't know how to use inline code lol



#272371 Help with exchanges and math

Posted by pb2007 on 29 November 2017 - 06:18 PM in Ask a Pro

No, I actually can't see how I would figure out how much gold and iron I would have. I think my gold would be like this:

gold = diamonds - math.floor(money - 100)

I think the iron would be like this, but I'm not sure:

iron = gold - math.floor(money - 10)

Can you just correct me and tell me how to do it? Thanks.



#272093 Help with exchanges and math

Posted by pb2007 on 21 November 2017 - 11:17 PM in Ask a Pro

I'm trying to make a bank in ComputerCraft like everyone does. I need to split one number (the money) into 4 numbers (diamond count, gold count, iron count, and an ignored number which won't be deposited). My exchange rate is $1000 = 1 diamond, $100 = 1 gold ingot and $10 = 1 iron ingot. I've tried and tried, but I can't get the numbers correct.

How would I do the math code so diamonds = the number of diamonds needed, gold = the number of gold needed and iron = the number of iron needed?



#266349 How to get total items in a turtle?

Posted by pb2007 on 16 April 2017 - 01:36 PM in Ask a Pro

I'm trying to make a cobblestone generator for my turtle (it's advanced if that matters) and write the total items in its inventory to a monitor below quickly. I set the monitor to the variable "m" using peripheral.wrap(). Do I have to do
local a = turtle.getItemCount(1)
local b = turtle.getItemCount(2)
-- and so on and so forth
and then do
local total = a + b + c + d -- and so on
m.write(total .. "items are in the turtle.")
or can I put it in a table, or maybe use:
turtle.getItemCount(0)
I really don't know how I can do this. So can you help me?