[mod] Wooden Bucket [1.0.1] [bucket_wooden]

User avatar
Hume2
Member
Posts: 709
Joined: Tue Jun 19, 2018 08:24
GitHub: Hume2
In-game: Hume2
Location: Czech Republic

[mod] Wooden Bucket [1.0.1] [bucket_wooden]

by Hume2 » Post

Wooden Bucket
Hello everyone!
Image

This mod is simple. It adds a bucket made of wood. Wooden bucket can hold only water or river water, not lava. This bucket is good so you can go farming before you obtain some iron.

If you use mods ethereal or farming, the bowl recipe is changed so it won't collide.
Image

License:
code: LGPL v. 2.1
textures: CC-BY-SA 3.0

Dependencies:
default
ethereal?
farming?

Download:
Attachments
screenshot_20190220_170744.png
screenshot_20190220_170744.png (9.55 KiB) Viewed 2528 times
shot.jpg
shot.jpg (114.03 KiB) Viewed 2528 times
Last edited by Hume2 on Wed Mar 06, 2019 15:21, edited 6 times in total.
If you lack the reality, go on a trip or find a job.

Sokomine
Member
Posts: 4276
Joined: Sun Sep 09, 2012 17:31
GitHub: Sokomine
IRC: Sokomine
In-game: Sokomine

Re: Wooden Bucket [wooden_bucket]

by Sokomine » Post

Nice! I was looking for a wooden bucket. However..it does seem to be a copy of the bucket code from MTG, with a few changes done? I'm not very satisifed with cut&paste code. Those things tend to develop apart over time and are difficult to maintain. It would be much better if the bucket code from MTG could be changed so that it allows for diffrent types of buckets. Admittedly, there're not that many buckets you might want to have, so there was probably not enough need before. But...a steel bucket, a wooden bucket (=not suitable for lava), a clay bucket (great material for it), glass and bottles from the vessels mod...they could all be buckets. RealTest even adds a ton of buckets for all those diffrent metals it comes with. It would be great if the bucket mod could get extended and become more flexible. Perhaps opening an issue on Github and/or offering a PR might be a good solution if you have the time to do it.
A list of my mods can be found here.

User avatar
Linuxdirk
Member
Posts: 3218
Joined: Wed Sep 17, 2014 11:21
In-game: Linuxdirk
Location: Germany
Contact:

Re: Wooden Bucket [wooden_bucket]

by Linuxdirk » Post

Sokomine wrote:But...a steel bucket, a wooden bucket (=not suitable for lava), a clay bucket (great material for it), glass and bottles from the vessels mod...they could all be buckets. RealTest even adds a ton of buckets for all those diffrent metals it comes with. It would be great if the bucket mod could get extended and become more flexible.
Yes, a bucket API would be pretty awesome. Something like

Code: Select all

bucket.register('modname:bucketname', {
    material = 'modname:itemname',
    textures = { 'modname_bucketname_empty.png', 'modname_bucketname_full.png' },
    holds = { 'liquid:one', 'liquid:two', 'liquid:etc' }
})
So modders can register buckets of material that hold all of holds liquids with textures being the bucket design.

wziard
Member
Posts: 127
Joined: Mon Oct 29, 2018 19:12

Re: Wooden Bucket [wooden_bucket]

by wziard » Post

the recipe for a boat should maybe change. For now it is the same as a wooden bucket I think?

User avatar
Lone_Wolf
Member
Posts: 2576
Joined: Sun Apr 09, 2017 05:50
GitHub: LoneWolfHT
IRC: LandarVargan
In-game: LandarVargan

Re: Wooden Bucket [wooden_bucket]

by Lone_Wolf » Post

wziard wrote:the recipe for a boat should maybe change. For now it is the same as a wooden bucket I think?
No, they're different. A boat only uses two y slots while this mod's crafting recipe uses 3 y slots
My ContentDB -|- Working on CaptureTheFlag -|- Minetest Forums Dark Theme!! (You need it)

User avatar
Stix
Member
Posts: 1385
Joined: Fri Aug 04, 2017 14:19
IRC: nil
In-game: Stix [+alts]
Location: USA

Re: Wooden Bucket [wooden_bucket]

by Stix » Post

Lone_Wolf wrote:
wziard wrote:the recipe for a boat should maybe change. For now it is the same as a wooden bucket I think?
No, they're different. A boat only uses two y slots while this mod's crafting recipe uses 3 y slots
All of you have it wrong, the recipe for a boat is as follows:

XXX
WXW
WWW

where X = nothing and W = group:wood.

If you weren't sure a quick glance at the mods init.lua file would have told you that...
Hey, what can i say? I'm the bad guy.

User avatar
Lone_Wolf
Member
Posts: 2576
Joined: Sun Apr 09, 2017 05:50
GitHub: LoneWolfHT
IRC: LandarVargan
In-game: LandarVargan

Re: Wooden Bucket [wooden_bucket]

by Lone_Wolf » Post

Stix wrote:
Lone_Wolf wrote:
wziard wrote:the recipe for a boat should maybe change. For now it is the same as a wooden bucket I think?
No, they're different. A boat only uses two y slots while this mod's crafting recipe uses 3 y slots
All of you have it wrong, the recipe for a boat is as follows:

XXX y slot 1
WXW y slot 2
WWW y slot 3

where X = nothing and W = group:wood.

If you weren't sure a quick glance at the mods init.lua file would have told you that...
I said they were different?

Nice mod btw Hume2. Any change you could get it on the ContentDB? https://content.minetest.net/
My ContentDB -|- Working on CaptureTheFlag -|- Minetest Forums Dark Theme!! (You need it)

wziard
Member
Posts: 127
Joined: Mon Oct 29, 2018 19:12

Re: Wooden Bucket [wooden_bucket]

by wziard » Post

Stix wrote: XXX
WXW
WWW

If you weren't sure a quick glance at the mods init.lua file would have told you that...
You are right of course. I was in the train on my phone :-)

But as there is no conflict with the boat after all I don't understand why Hume2 didn't just copy the recipe for a steel bucket with wood. It's confusing that it's different. Imho the recipe should be:

WXW
XWX

for a wooden bucket. Just like the steel one.

User avatar
Hume2
Member
Posts: 709
Joined: Tue Jun 19, 2018 08:24
GitHub: Hume2
In-game: Hume2
Location: Czech Republic

Re: Wooden Bucket [wooden_bucket]

by Hume2 » Post

Sokomine wrote:Nice! I was looking for a wooden bucket. However..it does seem to be a copy of the bucket code from MTG, with a few changes done? I'm not very satisifed with cut&paste code. Those things tend to develop apart over time and are difficult to maintain. It would be much better if the bucket code from MTG could be changed so that it allows for diffrent types of buckets. Admittedly, there're not that many buckets you might want to have, so there was probably not enough need before. But...a steel bucket, a wooden bucket (=not suitable for lava), a clay bucket (great material for it), glass and bottles from the vessels mod...they could all be buckets. RealTest even adds a ton of buckets for all those diffrent metals it comes with. It would be great if the bucket mod could get extended and become more flexible. Perhaps opening an issue on Github and/or offering a PR might be a good solution if you have the time to do it.
That's a good idea. I'll look what I can do later. Until it's done, this mod can be used.
wziard wrote: But as there is no conflict with the boat after all I don't understand why Hume2 didn't just copy the recipe for a steel bucket with wood. It's confusing that it's different. Imho the recipe should be:

WXW
XWX

for a wooden bucket. Just like the steel one.
Yes, but this one collides with ethereal:bowl. Maybe ethereal:bowl could be crafted from a wooden bucket.
If you lack the reality, go on a trip or find a job.

wziard
Member
Posts: 127
Joined: Mon Oct 29, 2018 19:12

Re: Wooden Bucket [wooden_bucket]

by wziard » Post

Ah shucks. It's been ages since I used Ethereal, so I forgot.
ethereal:bowl from a bucket (and back) seems like a good idea.

ThatGhzGamer
New member
Posts: 8
Joined: Fri Feb 15, 2019 22:02
GitHub: ThatGhzGamer

Re: Wooden Bucket [wooden_bucket]

by ThatGhzGamer » Post

cool mod going to download :)
(I suck at mining iron in the beginning lol)
OMBZuGgmzofWqMBO9jPLEEHtGNg1pBOZ

User avatar
Hume2
Member
Posts: 709
Joined: Tue Jun 19, 2018 08:24
GitHub: Hume2
In-game: Hume2
Location: Czech Republic

Re: [mod] Wooden Bucket [1.0] [wooden_bucket]

by Hume2 » Post

Update:
I changed the recipe and farming:bowl and ethereal:bowl are now crafted from wooden buckets.
Wooden bucket of water is no longer in the group:water_bucket to prevent obtaining iron buckets by using a wooden bucket of water in recipes.
It's now the 1.0 release.
A proper bucket API will come later (if I have time).
If you lack the reality, go on a trip or find a job.

ThorfinnS
Member
Posts: 311
Joined: Mon Feb 25, 2019 22:05
GitHub: ThorfinnS

Re: [mod] Wooden Bucket [1.0] [wooden_bucket]

by ThorfinnS » Post

How about using a slab for the bottom of the bucket? They are way underused anyway.

Incidentally, the buckets stack, but my stack of 6 filled buckets became 1 empty bucket when I dumped one of them.

User avatar
Linuxdirk
Member
Posts: 3218
Joined: Wed Sep 17, 2014 11:21
In-game: Linuxdirk
Location: Germany
Contact:

Re: [mod] Wooden Bucket [1.0] [wooden_bucket]

by Linuxdirk » Post

ThorfinnS wrote:Incidentally, the buckets stack, but my stack of 6 filled buckets became 1 empty bucket when I dumped one of them.
Empty buckets should stack just fine but full buckets shouldn't.

ThorfinnS
Member
Posts: 311
Joined: Mon Feb 25, 2019 22:05
GitHub: ThorfinnS

Re: [mod] Wooden Bucket [1.0] [wooden_bucket]

by ThorfinnS » Post

Must be using an old version. I'll update and see.

[EDIT]
Nope. Just tried it and they stack just fine. In fact, they autostacked. I do have a lot of other mods installed. I'll try a new game with just buckets, but it may take a bit.
[/EDIT]

[EDIT2]
That was it. Some other mod was allowing them to stack. I'll have to try to figure out which.
[/EDIT2]

ThorfinnS
Member
Posts: 311
Joined: Mon Feb 25, 2019 22:05
GitHub: ThorfinnS

Re: [mod] Wooden Bucket [1.0] [wooden_bucket]

by ThorfinnS » Post

As I mentioned in another thread, I'm building a server for special needs kids. Turns out slab was too much for them when I added moretrees, yet they love the new trees. Plus the clementines, lemons, etc.

So I modified the recipe in my local server to:

Code: Select all

W-W
W-W
-W-
If you would rather I deleted it from my server, please let me know.

Thanks

--Steph

ThorfinnS
Member
Posts: 311
Joined: Mon Feb 25, 2019 22:05
GitHub: ThorfinnS

Re: [mod] Wooden Bucket [1.0] [wooden_bucket]

by ThorfinnS » Post

That was fast. Got a comment back from one of the special needs kids that there wasn't a handle.

Anyone have a problem with:
W=wood
S=Stick

Code: Select all

WSW
W W
 W
I'd be OK with:

Code: Select all

 S 
W W
 W
if that's already taken.

Thanks

--Steph

ThorfinnS
Member
Posts: 311
Joined: Mon Feb 25, 2019 22:05
GitHub: ThorfinnS

Re: [mod] Wooden Bucket [1.0] [wooden_bucket]

by ThorfinnS » Post

My friend commented back that maybe the appropriate recipe is:

Code: Select all

SSS
W W
 W
I don't have any idea if this interferes with anything.

Thanks

--Steph

[EDIT]
FWIW, I'm going to do it anyway. It's worth it to have one of the players see his contributions become "canon".

It's just a matter of whether other want the same.
[/EDIT]

User avatar
Hume2
Member
Posts: 709
Joined: Tue Jun 19, 2018 08:24
GitHub: Hume2
In-game: Hume2
Location: Czech Republic

Re: [mod] Wooden Bucket [1.0] [wooden_bucket]

by Hume2 » Post

I'm glad that you test it on a server. The license allows you to do so anyway :)

This mod usually used the first recipe you wrote here but I was convinced to change it. The mod is now designed so it changes the recipe of wooden bowl so you might want to remove this behaviour as well. The other recipes you mentioned aren't occupied AFAIK.
If you lack the reality, go on a trip or find a job.

ThorfinnS
Member
Posts: 311
Joined: Mon Feb 25, 2019 22:05
GitHub: ThorfinnS

Re: [mod] Wooden Bucket [1.0] [wooden_bucket]

by ThorfinnS » Post

Hume2 wrote:The mod is now designed so it changes the recipe of wooden bowl...
I saw something about it, but didn't bother to investigate. I thought the bowl was a small V out of planks. That's why I did a capital V for a bucket -- it should be bigger than a bowl. I now see you did the same thing differently -- bowls have just gone through an intermediate bucket state.

User avatar
Hume2
Member
Posts: 709
Joined: Tue Jun 19, 2018 08:24
GitHub: Hume2
In-game: Hume2
Location: Czech Republic

Re: [mod] Wooden Bucket [1.0.1] [bucket_wooden]

by Hume2 » Post

I renamed the mod because the name "wooden_bucket" is already taken by viewtopic.php?t=16472. It's the only change in the 1.0.1 release.
If you lack the reality, go on a trip or find a job.

minerman
Member
Posts: 23
Joined: Sat Mar 07, 2020 11:01

Re: [mod] Wooden Bucket [1.0.1] [bucket_wooden]

by minerman » Post

Hello hume2,
xdecor's wooden bowl recipe conflicted with this mod. I ended up going nuclear option by deleting the xdecor's bowl recipe. Is there another workaround? thanks!

User avatar
pampogokiraly
Member
Posts: 293
Joined: Wed Jan 08, 2020 22:21
In-game: i_love_mesecon

Re: [mod] Wooden Bucket [1.0.1] [bucket_wooden]

by pampogokiraly » Post

minerman wrote:Hello hume2,
xdecor's wooden bowl recipe conflicted with this mod. I ended up going nuclear option by deleting the xdecor's bowl recipe. Is there another workaround? thanks!
In my mod i actualy changed the wooden bucket recipe to this:

Code: Select all

plank, nothing, plank
plank, nothing, plank
nothing, plank, nothing
This will never going to conflict with any bowl mod
All praise the Bacon God! The one and only god in MineTest

minerman
Member
Posts: 23
Joined: Sat Mar 07, 2020 11:01

Re: [mod] Wooden Bucket [1.0.1] [bucket_wooden]

by minerman » Post

pampogokiraly wrote:
minerman wrote:Hello hume2,
xdecor's wooden bowl recipe conflicted with this mod. I ended up going nuclear option by deleting the xdecor's bowl recipe. Is there another workaround? thanks!
In my mod i actualy changed the wooden bucket recipe to this:

Code: Select all

plank, nothing, plank
plank, nothing, plank
nothing, plank, nothing
This will never going to conflict with any bowl mod
Which mod, this mod or xdecor one?

User avatar
pampogokiraly
Member
Posts: 293
Joined: Wed Jan 08, 2020 22:21
In-game: i_love_mesecon

Re: [mod] Wooden Bucket [1.0.1] [bucket_wooden]

by pampogokiraly » Post

Every mod that have some bowl have the same recipe:

Code: Select all

plank, nothing, plank
nothing, plank, nothing
so you better change the BUCKET to this:

Code: Select all

plank, nothing, plank
plank, nothing, plank
nothing, plank, nothing
All praise the Bacon God! The one and only god in MineTest

Post Reply

Who is online

Users browsing this forum: No registered users and 27 guests