#how can i make items compostable
19 messages · Page 1 of 1 (latest)
Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.
I would do an event for player clicks on composter with poisonous potato/rotten flesh/etc. then take the item from the player. Then increase the composter level by one (or random integer)
!m level
Did you mean to search for command reset?
!materialtag.level
yeah that
!materialtag level
I’m broken
Search for 'compost'
ha! i win, bot.
or else just wait for https://discord.com/channels/315163488085475337/1275775117770752087
I'm not sure the food component makes stuff compostable?
I can provide this script that I used for my cooking system for custom food and crops.
It's a bit old so it might be a bit weird or redundant in parts, but I've confirmed it still works for my custom stuff.
https://paste.denizenscript.com/View/127778
Basically you have to adjustblock the composter's level and give it a chance to actually compost properly or else it just takes the item.
Content of Denizen Script Paste #127778: composting... pasted 2024/11/03 15:23:05 UTC-08:00, Paste length: 1286 characters across 20 lines, Content: Cooking_Composter: type: world
Ah yeah the foreach line isn't needed, been a long while since I coded like that
Basically as long as item in the players hand is valid to your specification then it'll take it, and fill the composter if it hits the right chance. Hope this helps!
Has your issue been resolved, or your question been answered?
If so, please use the </resolved:1028673926114594866> command to close your thread.
Or </invalid:1028673926898909185> if it's not possible to resolve.
If not yet resolved, please reply below to tell us what you still need.
(Note that if there is no reply for a few days, this thread will eventually close itself.)
@drowsy pewter