Talk:Gelatin Crystal

From Terraria Wiki
Jump to navigation Jump to search

How do Gelatine Crystals generate?

Do they generate separetly from Crystal Shards, so there's no relation between them? Do they generate instead of Crystal Shards, so they are limited by maximum number of shards (if such limit exists), and to get new Crystals grow, I need to break old crystal shards? Or do they generate on place of existing Crystal shards, so to get Gelatine Crystals, I have to not break Crystal Shards? 212.90.60.160 09:58, 10 August 2020 (UTC)

Crystal shard farming

A tip claimed that placing crystal shards had a chance to turn them into gelatin crystals, I tested this extensively and didn't get any. Can anyone confirm if this is true? --Wrpen (talk) 03:26, 23 May 2020 (UTC)

Here is the code which controls gelatin crystal drop on break. 129 is TileID for any crystal shard, 4988 is ItemID for gelatincrystal, 502 is ItemID for regular crystalshard (PS the formatting is busted, assume there's curly braces on those if/else

case 129:

if (tileCache.frameX >= 324)

dropItem = 4988;

else

dropItem = 502; break;

I have no idea what tileCache.frameX means, but perhaps someone else reading this will? Breathlessblizzard (talk) 19:57, 23 May 2020 (UTC)
So what it seems like this reads is the value of tileCache.frameX determines whether a crystal shard object is spawned as a crystal shard or a gelatin crystal? Is there any differentiation between naturally spawned and player-placed shards, or can you find another reference to that variable that would connect it to one of those factors? Because if not, that would make it true. --Wrpen (talk) 02:50, 24 May 2020 (UTC)
I've tested this and can confirm that this does indeed happen, not sure what the chance is though. I was able to farm almost 100 by connecting a fast clock to an actuated block and holding down the mouse button next to it with a bunch of crystals in hand Bees Nation (talk) 13:37, 15 June 2020 (UTC)