Jump to content




Turtles an the new ores at FTB.


  • You cannot reply to this topic
25 replies to this topic

#1 ashvathaman

  • Members
  • 10 posts

Posted 14 July 2013 - 12:37 PM

When i use a mining turtle with the extra-hard and "extra difficult to find" new ores in the new world modpack in FTB, the turtle destroy the block and drops nothing.
That happens with
  • Vulcanite ore
  • Sanguinite ore
  • Orichalcum ore
  • Adamantine ore
  • Altarus ore
  • Ardite ore
  • Cobalt ore
  • And the iron gravel, gold gravel, tin gravel...
¿It's possible that the turtle get stuck instead of destroy the block? If the turtle destroy those valuables ores, that make turtles useless to mining.

Thanks in advance

#2 Zudo

  • Members
  • 800 posts
  • LocationUK

Posted 14 July 2013 - 01:06 PM

Is this really a suggestion? This is probably not a problem with computercraft, but the mods in FTB.

#3 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,465 posts

Posted 14 July 2013 - 01:06 PM

Did you give your turtle a diamond pickaxe or one of the other gems? If it has diamond and is destroying ores, does a player need something other than diamond to mine those ores correctly? Turtles don't care if they can successfully harvest the block they're told to dig, so be careful what you tell them to dig.

#4 Zudo

  • Members
  • 800 posts
  • LocationUK

Posted 14 July 2013 - 01:19 PM

View PostLyqyd, on 14 July 2013 - 01:06 PM, said:

Did you give your turtle a diamond pickaxe or one of the other gems? If it has diamond and is destroying ores, does a player need something other than diamond to mine those ores correctly? Turtles don't care if they can successfully harvest the block they're told to dig, so be careful what you tell them to dig.

I jumped to the worst conclusion :P

#5 ashvathaman

  • Members
  • 10 posts

Posted 14 July 2013 - 01:43 PM

The turtle has a diamond pickaxe. If you try to dig the ore with a real diamond pickaxe, you can't destroy the block, like bedrock. you need a specific metal blend pickaxe to harvest the ore.
The turtle with the diamond pickaxe should, like a real diamod pickaxe, get stuck and not destroy the ore. it's a harder-that-diamond-ore, like bedrock

If you use the wand of digging of Thaumcraft, the ore takes a loooot of time to dig.

#6 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 14 July 2013 - 04:10 PM

View Postashvathaman, on 14 July 2013 - 01:43 PM, said:

The turtle with the diamond pickaxe should, like a real diamod pickaxe, get stuck and not destroy the ore.

View PostLyqyd, on 14 July 2013 - 01:06 PM, said:

Turtles don't care if they can successfully harvest the block they're told to dig, so be careful what you tell them to dig.

It does the same with the gem picks and obsidian.

#7 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,465 posts

Posted 14 July 2013 - 05:05 PM

View Postashvathaman, on 14 July 2013 - 01:43 PM, said:

The turtle has a diamond pickaxe. If you try to dig the ore with a real diamond pickaxe, you can't destroy the block, like bedrock. you need a specific metal blend pickaxe to harvest the ore.
The turtle with the diamond pickaxe should, like a real diamod pickaxe, get stuck and not destroy the ore. it's a harder-that-diamond-ore, like bedrock

If you use the wand of digging of Thaumcraft, the ore takes a loooot of time to dig.

I'd imagine you could eventually break it with a diamond pickaxe, then. I believe ComputerCraft checks against whether the block is breakable at all (bedrock isn't), then breaks it and figures out what (if anything) it should receive from a diamond pickaxe breaking the specified block. A developer could confirm or deny that supposition. If that is the case (that the block is actually breakable with a diamond pickaxe), you'd have to write a script to avoid mining those ores.

View Posttheoriginalbit, on 14 July 2013 - 04:10 PM, said:

View Postashvathaman, on 14 July 2013 - 01:43 PM, said:

The turtle with the diamond pickaxe should, like a real diamod pickaxe, get stuck and not destroy the ore.

View PostLyqyd, on 14 July 2013 - 01:06 PM, said:

Turtles don't care if they can successfully harvest the block they're told to dig, so be careful what you tell them to dig.

It does the same with the gem picks and obsidian.

Iridium Ore as well.

#8 ChunLing

  • Members
  • 2,027 posts

Posted 14 July 2013 - 07:16 PM

This brings up the suggestion that there be a way to tell if a turtle will be able to harvest a block.

#9 Dlcruz129

    What's a Lua?

  • Members
  • 1,423 posts

Posted 14 July 2013 - 07:35 PM

View PostChunLing, on 14 July 2013 - 07:16 PM, said:

This brings up the suggestion that there be a way to tell if a turtle will be able to harvest a block.

I'd prefer if turtle.dig() returned false if the block cannot be harvested.

#10 Sebra

  • Members
  • 726 posts

Posted 15 July 2013 - 03:25 AM

Then you would be unable to cut leaves by Axe for example.

#11 ashvathaman

  • Members
  • 10 posts

Posted 15 July 2013 - 06:22 AM

View PostLyqyd, on 14 July 2013 - 05:05 PM, said:

If that is the case (that the block is actually breakable with a diamond pickaxe), you'd have to write a script to avoid mining those ores.

There is no way to write a script without possess the block and use the turtle.compare(), and I'm using the mining turtle to find that type of ores.

View PostDlcruz129, on 14 July 2013 - 07:35 PM, said:

I'd prefer if turtle.dig() returned false if the block cannot be harvested.
turtle.dig() returns true if already destroy the block

Seems that a function is needed that returns false if the block will be destroyed instead of harvested. this function will return false with this "ultra-hard" blocks and with obsidian if you use a gem pickaxe instead of a diamond pickaxe.

#12 ChunLing

  • Members
  • 2,027 posts

Posted 15 July 2013 - 08:24 AM

Well, as long as tool durability isn't enabled, you can just program a turtle to mine out stone/dirt/gravel and leave everything else alone.

#13 Sebra

  • Members
  • 726 posts

Posted 15 July 2013 - 08:25 AM

There is a way: dig only known ores.

#14 Cranium

    Ninja Scripter

  • Moderators
  • 4,031 posts
  • LocationLincoln, Nebraska

Posted 15 July 2013 - 12:09 PM

View PostSebra, on 15 July 2013 - 08:25 AM, said:

There is a way: dig only known ores.
That's not really a solution to this problem.
I do think it would be a good idea for turtles to be able to determine if an ore can be dropped.But I think it would just be better if turtles, being the masterwork of technological engineering, could be intelligent and strong enough with a diamond pickaxe to dig any ore.

#15 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,465 posts

Posted 15 July 2013 - 12:31 PM

View Postashvathaman, on 15 July 2013 - 06:22 AM, said:

View PostLyqyd, on 14 July 2013 - 05:05 PM, said:

If that is the case (that the block is actually breakable with a diamond pickaxe), you'd have to write a script to avoid mining those ores.

There is no way to write a script without possess the block and use the turtle.compare(), and I'm using the mining turtle to find that type of ores.

The clear solution here is to gather one each of those ores with something else so that they can be used as samples in the turtle.

View PostCranium, on 15 July 2013 - 12:09 PM, said:

View PostSebra, on 15 July 2013 - 08:25 AM, said:

There is a way: dig only known ores.
That's not really a solution to this problem.
I do think it would be a good idea for turtles to be able to determine if an ore can be dropped.But I think it would just be better if turtles, being the masterwork of technological engineering, could be intelligent and strong enough with a diamond pickaxe to dig any ore.

This is a viable route, if we don't care about tromping on other mod authors' balance decisions.

#16 Apfeldstrudel

  • Members
  • 161 posts

Posted 15 July 2013 - 01:51 PM

If its not incredibly impossible code wise... Make it possible to use those super picks?

Edit: as a pheripheral? I know that tools as pheripherals has been suggested before...

#17 Tiin57

    Java Lunatic

  • Members
  • 1,412 posts
  • LocationIndiana, United States

Posted 15 July 2013 - 01:53 PM

Yeah, there's a reason mDiyo chose for cobalt and ardite to require better-than-diamond.

View PostXyexs, on 15 July 2013 - 01:51 PM, said:

If its not incredibly impossible code wise... Make it possible to use those super picks?

It kind of wouldn't make any sense. Each pick has an effectively infinite amount of possibilities option-wise (they can have all those upgrades) and making turtles support that would add several hundred, if not thousand, turtles to the arsenal. Something I think that the devs wouldn't be too hot on.

#18 Cranium

    Ninja Scripter

  • Moderators
  • 4,031 posts
  • LocationLincoln, Nebraska

Posted 15 July 2013 - 03:49 PM

View PostLyqyd, on 15 July 2013 - 12:31 PM, said:

This is a viable route, if we don't care about tromping on other mod authors' balance decisions.
What part were you saying is viable, checking if anything is obtainable, or being able to pick up anything via a diamond tool?

#19 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,465 posts

Posted 15 July 2013 - 04:11 PM

Oh, the second part, the being able to pick up anything. It would definitely mess up the progression in mods that require one to use their materials to create tools to gather better versions of their materials.

#20 Andale

  • Members
  • 46 posts
  • LocationNWIndiana

Posted 26 December 2013 - 05:39 PM

It seems to me the way to think of it is just like how the tools are programmed: 0 for hands/wood (even tho wood drops stone and hands don't), 1 for stone, 2 for iron/gold, 3 for diamond. We could then assume Tinker's (as the mod I can reference from experience) would have 4 for Alumite+

Level 3+ tools dig obsidian but Cobalt and Ardite would be lvl 4 ores that require Alumite or better. So unless you create a mod add-on to link turtles and alumite together then there should be no way other than to program it to skip them. Which wouldn't be too hard I'd imagine.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users