Talk:Crates

Usage question
Do Sonar Potions and Fishing Potions (or boosting fishing power) help find these? I want to know if I should combine all three fishing-related buffs or not. --Macks2008 (talk) 14:29, 29 January 2015‎ (UTC)


 * I'm not sure how old your I haven't noticed any increased chance to catch crates using any potion besides the Crate Potion. However, when using the Sonar Potion, you can ignore non-crate bites in order to save bait. The Fishing Potion (or increasing fishing power) will also decrease the rate at which your bait is consumed. --ValornTheRed (talk) 19:10, 4 July 2015 (UTC)

"Portal" Reference
The page as quoted, "It's improbable to be a reference, but the crate's sprite resembles Weighted Storage Cubes from Portal franchise." However I feel this is a bit misleading and very unlikely to be reference nor does it assist in the article in any form. They're crates, box shaped by nature, and the sprites do not, to me, resemble anything close to the portal cubes outside of minor details of them being box shaped, with a few styles being similar. Should this information be left in? I have nothing against the trivia bit afterwards indicating it to be used for adventure maps, etc. Kalbintion (talk) 02:20, 21 July 2015 (UTC)


 * A lot of trivia is added by anonymous users, and is often questionable. You won't get into any trouble for removing nonsensical trivia; go ahead. As for the bit about its application in maps, a lot of things can be used creatively in maps. Unless there were to be a guide page for making maps, that info doesn't really belong on the wiki. –KM100 (talk) 02:27, 21 July 2015 (UTC)

Merging all the crates
i feel as if the crates should be merged into 1 page, this one, Crates, the page may have the loading features of the fishing page, but it may fit.

Luigirox901 (talk) 00:32, 26 November 2015 (UTC)

Probability
The sentence reads: E.g with a Fishing Power of 100 in a Corrupted Biome the probabilities would be: Golden Crate: 6,57%; Corrupt Crate: 8,90%; Iron Crate: 28,37%; Wooden Crate: 56,16% Speaking for those who never studied probability (or have forgotten because they never needed it), nor looked at the code... what in the world does 6,57% mean? At first I thought that comma was meant to be a decimal. If it's not, can we explain this in a way that a 12-grader would understand? -- Ferretwings (talk) 16:12, 19 July 2016 (UTC)


 * Sorry, I just confused both signs, i have corrected it. Flisch42 (talk) 18:25, 19 July 2016 (UTC)


 * Oh good. :) I was feeling really dumb, trying to figure it out. Now I fee confident again about my math skills, lol! Thanks for fixing it. :) -- Ferretwings (talk) 19:17, 19 July 2016 (UTC)

crate probability wrong?
I was looking for source online and found the one by Pryaxis on github. Looking at projectile.fishingcheck the probability for crates seem to be different there. If this source is accurate the information on this page is wrong, can anyone confirm the accuracy of this source?

DJIKhaos (talk) 23:05, 25 July 2019 (UTC)


 * I have taken a look, too, and luckily, crates are handled near the top of the function, so it is comparatively easy to determine the chances (assuming a fishing power of 100; in any of the special biomes, taking Corruption as an example here):
 * Golden Crate: $$\frac{1}{10}$$ $$* \biggl( \Bigl(\frac{2}{45} * \frac{1}{45}\Bigr)$$ $$ + \Bigl(\frac{2}{45} * \frac{44}{45}\Bigr)$$ $$ + \Bigl(\frac{43}{45} * \frac{1}{45}\Bigr)$$ $$ \biggr) = \frac{133}{20250} \approx 6.5679 \times 10^{-3} \approx 0.657%$$


 * Corrupt Crate (or any other biome crate): $$\frac{1}{10}$$ $$* \Bigl(\frac{43}{45} * \frac{44}{45}\Bigr)$$ $$ * \frac{2}{21}$$ $$ \approx 8.8983 \times 10^{-3} \approx 0.898%$$


 * Iron Crate: $$\frac{1}{10}$$ $$* \Bigl(\frac{43}{45} * \frac{44}{45}\Bigr)$$ $$ * \frac{19}{21}$$ $$ * \frac{1}{3}$$ $$ \approx 0.028178 \approx 2.818%$$


 * Wooden Crate: $$\frac{1}{10}$$ $$* \Bigl(\frac{43}{45} * \frac{44}{45}\Bigr)$$ $$ * \frac{19}{21}$$ $$ * \frac{2}{3}$$ $$ \approx 0.056356 \approx 5.636%$$
 * For Iron and Wooden Crates caught in a biome that does not qualify for a biome crate, the $$ * \frac{19}{21}$$ part is simply dropped from the calculation, because flag5 is never being considered due to the second parts of those conditions (the biome checks) always evaluating to false.
 * With a Crate Potion, num19 is set to 20 instead of 10, so the initial $$\frac{1}{10}$$ is doubled to $$\frac{2}{10}$$, effectively doubling all chances.
 * Little disclaimer just in case: All of this is taken from the 1.3.5.3 source code, Terraria.Projectile.FishingCheck, as you said. I have absolutely no idea about other versions or platforms. I have tested these chances extensively using an emulator of the fishing algorithm.
 * --Rye Greenwood (talk) 00:05, 3 December 2019 (UTC)
 * --Rye Greenwood (talk) 00:05, 3 December 2019 (UTC)