copygirl 109 Posted September 26, 2019 Report Share Posted September 26, 2019 (edited) Farmland Drops Soil changes the behavior of farmland to drop soil when broken, depending on the nutrients available. This is for those people that got frustrated by losing their precious Terra Preta when wanting to move their farms to a better, fancier place or even their entire base. Well, you can't! Except with the amazing Farmland Drops Soil mod. When you break a farmland block, it will have a chance to drop their respective soil block, depending on the nutrients available. If you wait for the nutrients to fully recover, you always get your soil back. Otherwise, it will pick the lowest nutrient, and adjust the drop chance based on it. For example, a Terra Preta farmland with N=80, P=60, K=40 has a 50% chance to drop the soil block (40 / 80 = 0.5). [ Download ]Source code is available on GitHub as well. Edited December 9, 2020 by copygirl Quote Link to post Share on other sites
Tyron 904 Posted September 27, 2019 Report Share Posted September 27, 2019 Well perhaps more like make the farmland drop soil with a special "was farmland" attribute and when placed it'll remember its state until tilled or so 1 1 Quote Link to post Share on other sites
copygirl 109 Posted September 27, 2019 Author Report Share Posted September 27, 2019 1 minute ago, Tyron said: Well perhaps more like make the farmland drop soil with a special "was farmland" attribute and when placed it'll remember its state until tilled or so If you actually make the soil items remember their state, then they won't stack anymore. I still like my idea best Quote Link to post Share on other sites
Tyron 904 Posted September 27, 2019 Report Share Posted September 27, 2019 Also true Quote Link to post Share on other sites
DrTenabrae 11 Posted October 27, 2019 Report Share Posted October 27, 2019 I think the two main suggestions on discord were it's a 0% nutrient when you place it (this would affect all moved soil) or you only get a block back when the tilled land is at 100% nutrient (so you're essentially 'preparing the soil for transport' Quote Link to post Share on other sites
copygirl 109 Posted October 27, 2019 Author Report Share Posted October 27, 2019 5 hours ago, DrTenabrae said: or you only get a block back when the tilled land is at 100% nutrient (so you're essentially 'preparing the soil for transport' That would be confusing for players who don't know about this rule, and frustrating in general. And doesn't make much sense, in my opinion, to drop nothing when you dig up farmland. Quote Link to post Share on other sites
DrTenabrae 11 Posted October 28, 2019 Report Share Posted October 28, 2019 me either... i had to lose about 14x21... 294 tera preta on chrometech when I wanted to move my farm. Quote Link to post Share on other sites
copygirl 109 Posted October 28, 2019 Author Report Share Posted October 28, 2019 What about doing something similar to food regarding the stacking, to follow up on @Tyron's post? Picking up a farmland block with lower than full nutrients will store its nutrients on the item itself. If the nutrients are similar enough to an existent stack in your inventory, they automatically stack. If not, you can still forcefully stack them, like food with varying amounts of freshness. Either way, the nutrients will be averaged. 1 Quote Link to post Share on other sites
copygirl 109 Posted December 9, 2019 Author Report Share Posted December 9, 2019 Tiny update to the mod, making it only load server-side. This should also mean it's now not required on clients anymore. Quote Link to post Share on other sites
copygirl 109 Posted December 9, 2020 Author Report Share Posted December 9, 2020 Updated the mod to something more sophisticated and balanced. - Farmland no longer always drops the soil block, it depends on the nutrients at the time of breaking it. (See first post.) - It now is once more a mod that's required on both server and client, due to a block behavior being added. Quote Link to post Share on other sites
DArkHekRoMaNT 90 Posted December 11, 2020 Report Share Posted December 11, 2020 (edited) On 9/27/2019 at 9:20 AM, copygirl said: If you actually make the soil items remember their state, then they won't stack anymore. I still like my idea best Can you make a system similar to food? You can stack food with different expiration dates and it will be averaged Edited December 11, 2020 by DArkHekRoMaNT Quote Link to post Share on other sites
copygirl 109 Posted December 11, 2020 Author Report Share Posted December 11, 2020 2 minutes ago, DArkHekRoMaNT said: Can you make a system similar to food? You can stack food with different expiration dates and it will be averaged It would require the item and soil block to store this additional information. Turning soil blocks into block entities is a no-go. Quote Link to post Share on other sites
Sukotto82 12 Posted December 12, 2020 Report Share Posted December 12, 2020 I seen someones revised version of this, I actaully have it and I like it quite a bit. glad you thought of it. combined with my own mod I can exploit the revised version of this if I really wanted to but don't at least not intentionally. the way they did it is you will always get a soil block when you break the farmland but the soil block you get will very on the nutrients in the farmland so if its at the default with no usage aka 25, 50, 65, or 80 (I think compost is 65). either way if it has less than it's full nutrients you get the highest soil block that matches the lowest nutrient so if you plant terra pretta and you dig it up and it has all 80s you will get 100% terra pretta soil drop, if its say 90-70-80 (90 due to fertilizer) you will get compost soil back. with my fertilizer mod you can make a super fertilzier that adds a slow release of nutrients 80-80-80 but it is really slow so don't expect to get super soil lol but it will help keep you farming with less rotations and if you take a medium soil block till it fertilize it until it has over 80 in each nutrient you can dig it up and get a terra pretta soil block. takes forever for soil to go up though and I think it drains faster if the nutrient is above the max the farmland naturally has so it's a little hard if you want to really try to exploit it. either way. I don't mind waiting for it to regen nutrients if it means I can dig it up and move. I'm glad you made this mod. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.