Working as Designed Regarding block placement speed and ambrosia

Axelight

Terrarian
Steam or GOG
Steam
Single Player/Multiplayer
Single
Controls Used
Keyboard/Mouse
According to many tests I have done in version using timers and block counting, a newly created character places 6 blocks at most without any buffs or equipment. When I used builders potion, it increased to 7.5 which is %25. Using brick layer or its upgrades (multiple upgrades does not stack, only one accessory increases) increased it to 10, which is a %66.666... increase. Using both potion and equipment increases it to 12 which is the double speed of base block placement speed. Then I tried all of these after consuming ambrosia. With just ambrosia, it increased approximately to 6.666... which is ~%11. Then I used ambrosia with builders potion, brick layer and potion+brick layer, those increased base speed %25, %66.66, %100 which are the same as without using ambrosia. So it seems ambrosia cannot stack with builders potion nor brick layer. Was ambrosia never stacked with these two, or is this a bug?
 
Tile placement speed is calculated as follows:
- Every item has a number of frames that need to pass before it can be used again. A Dirt Block for example needs 10 frames, so you can place 6 of it within one second of 60 frames.
- The player starts out with a "boost" value of 1 which results in no change.
- Ambrosia increases this boost by 0.05, the Builder Potion by 0.25 and placement speed increasing accessories by 0.5.
- To adjust the placement speed, the number of frames mentioned earlier get divided by this "boost" value and then rounded down.
In your example, having just the Builder Potion and a placement speed increasing accessory results in floor(10 / (1 + 0.25 + 0.5)) = floor(5.714) = 5, so the placement speed has effectively doubled. Using all three together results in floor(10 / (1 + 0.05 + 0.25 + 0.5)) = floor(5.555) = 5 again. As you can see, the Ambrosia does have an effect, that effect just disappears due to rounding. Adding Ambrosia to a Builder Potion results in a change from 8 to 7, using just Ambrosia results in 9. Adding Ambrosia to a placement speed increasing accessory however results in no effective change like you noticed.
It would be difficult to change this behavior, since supporting fractional placement speeds would require intelligently placing tiles after varying intervals, which might not be worth the effort just for this edge case.
 
Oh, so there is some rounding down involved in this calculation, no wonder it messed up my calculations causing me to calculate accessory as 1.666 and ambrosia not doing anything at all. Thanks a lot. I also have a small question about something regarding to movement speed which is kinda similar to this. Can I ask here or should I start a new topic?
 
Ambrosia more or less negates the need of a builder's potion in the equation, so you will just need the builder's tools if you're placing blocks. Even though it looks like it, this is not a bug. It's a niche case of rounding that makes this happen.
 
Ambrosia more or less negates the need of a builder's potion in the equation, so you will just need the builder's tools if you're placing blocks. Even though it looks like it, this is not a bug. It's a niche case of rounding that makes this happen.
Yeah it seems so. I didn't calculate anything related to mining and wall placement speed. Maybe it helps in these aspects considering that mining speed and wall placement speed has a lot wider range than placing speed.
 
Back
Top Bottom