[Mod] Bucket lite [bucket]

Post Reply
User avatar
daret
Member
Posts: 136
Joined: Tue Nov 12, 2019 20:36
GitHub: daretmavi
In-game: Daretmavi

[Mod] Bucket lite [bucket]

by daret » Post

Bucket lite

This is fork of Minetest Game mod: bucket

Image

Image

For changes see changelog:
https://gitlab.com/daretmavi/bucket-lit ... /CHANGELOG

Recipe

Classic recipe
Image
  • bucket_use_clasic_recipe = true
New Recipe
Image
  • bucket_use_clasic_recipe = false

License: Download: Description:
  • only one bucket for water and river water types (with bucket_unify_river_water=true)
  • flowing is only one block to prevent flooding with one bucket
  • If "bucket water" gets in contact with normal water or river water, then the bucket water changes to this type.
  • If "bucket lava" gets in contact with water, or default lava, the bucket lava changes to default type - this can result in lava flooding. Just don't mess up with lava :)
  • Liquid can be taken from flowing liquid - you don't have to look for source
  • Bucket liquids are not renewable
  • more bucket types added (wood, stone, steel, bronze, mese, diamond, gold)
  • default bucket for aliases is steel
Mod dependencies:
  • default - water and lava
Working with other mods:
  • dynamic_liquid
  • Other mods bucket liquids
    • muddy water in water_life
    • muddy water in swaz
Screenshots:

This is default behavior:
Image Image Image

River water is ok, but normal water and lava can create real flood ... from one bucket. It's crazy.

This mod changes it to just one block
Image
Last edited by daret on Tue Feb 09, 2021 21:12, edited 3 times in total.

User avatar
daret
Member
Posts: 136
Joined: Tue Nov 12, 2019 20:36
GitHub: daretmavi
In-game: Daretmavi

Release 4.0

by daret » Post

Release 4.0
  • more bucket types added (wood, stone, steel, bronze, mese, diamond, gold)
  • default bucket for aliases is steel
Image

User avatar
homthack
Member
Posts: 105
Joined: Sun Apr 15, 2018 19:11
GitHub: homt8
IRC: homthack
In-game: homthack
Location: Canada
Contact:

Re: [Mod] Bucket lite [bucket]

by homthack » Post

i've visited this mods that was released, nice bucket and i know i can have a mods for develops in the addons saved.

i add this mods to my server shared.
Server-Available: [HM-Skyblock] Contact-Discord: [homthack#9917]

grapixers
New member
Posts: 3
Joined: Sat Dec 05, 2020 19:09
Contact:

Re: [Mod] Bucket lite [bucket]

by grapixers » Post

Thank you for this mod

grapixers
New member
Posts: 3
Joined: Sat Dec 05, 2020 19:09
Contact:

Re: [Mod] Bucket lite [bucket]

by grapixers » Post

Thank you for this mod

Ignaramico
Member
Posts: 78
Joined: Fri Sep 04, 2020 21:23
GitHub: ignaramico

Re: [Mod] Bucket lite [bucket]

by Ignaramico » Post

does it only work with water/lava sources made with the buckets or with the spawned one from creation too?, and does the not renewable thing means that i cant make and infinite pool of water?

User avatar
daret
Member
Posts: 136
Joined: Tue Nov 12, 2019 20:36
GitHub: daretmavi
In-game: Daretmavi

Re: [Mod] Bucket lite [bucket]

by daret » Post

Ignaramico wrote:
Sat Dec 05, 2020 23:05
does it only work with water/lava sources made with the buckets or with the spawned one from creation too?
Yes, it should work with spawned water to. It actually changes the default water to "bucket water"
E.g.

Code: Select all

default:water_source --> bucket:bucket_water_source
default:river_water_source --> bucket:bucket_water_source
It the "bucket water/lave" gets in contact with default one, then it changes to the corresponding default type.
Ignaramico wrote:
Sat Dec 05, 2020 23:05
, and does the not renewable thing means that i cant make and infinite pool of water?
If you have two default:water_source block it can generate third water source block.
Sommeting like:
water_source+water_flowing+water_source --> water_source+water_source+water_source

This is not the think with bucket water.
If you give 3 buckets in the pool, then you get 3 buckets out of the pool.

I could eventually add some switch for this.

User avatar
daret
Member
Posts: 136
Joined: Tue Nov 12, 2019 20:36
GitHub: daretmavi
In-game: Daretmavi

Release 4.1

by daret » Post

Release 4.1

Better dynamic_liquid support.

But still some change in dynamic_liquid code is needed.
- see https://github.com/minetest-mods/dynami ... d/issues/6

I'm not able to do it with groups setting only. Any ideas?

User avatar
daret
Member
Posts: 136
Joined: Tue Nov 12, 2019 20:36
GitHub: daretmavi
In-game: Daretmavi

Re: [Mod] Bucket lite [bucket]

by daret » Post

Release 5.0

Added settings:
bucket_use_clasic_recipe - use clasic recipe for bucket if true
bucket_material_... - settings for allowed materials

Classic recipe
Image
  • bucket_use_clasic_recipe = true
New Recipe
Image
  • bucket_use_clasic_recipe = false

Support for other mods defining bucket with own water
- all materials are supported
- like for water_life muddy water
- no special bucket water with reduces flowing is implemented (yet)
Image

Bucket images are a little bit lighter
Image

User avatar
Wuzzy
Member
Posts: 4786
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy
Contact:

Re: [Mod] Bucket lite [bucket]

by Wuzzy » Post

It feels wrong that you can collect lava in a wooden bucket. Stone, mese and diamond buckets feel silly. I think buckets should be limited to wood or metals only.

User avatar
daret
Member
Posts: 136
Joined: Tue Nov 12, 2019 20:36
GitHub: daretmavi
In-game: Daretmavi

Re: [Mod] Bucket lite [bucket]

by daret » Post

Wuzzy wrote:
Thu Jan 14, 2021 12:41
It feels wrong that you can collect lava in a wooden bucket. Stone, mese and diamond buckets feel silly. I think buckets should be limited to wood or metals only.
Yes, You are right.
I'm going to add settings to turn of types you don't want. I already added some settingtypes, I have to implement it.

Collecting lava in wooden bucket is wrong, but collecting lava in "any" metal bucket is wrong as well. Lava is just tooo hot.
Mese is for me something like alien material :) and diamond, hmmm ... actually everything made from mese and diamond is silly.
In contrary stone bucket could be created even in reality and I see it as the only one really suitable to take lava :D

I would like let wooden bucket to burn in hands and let lava flow on the ground, but it is beyond my starting lua programing ability.

My TODO:
  • Add switch for bucket types
  • Add switch for lava behavior ... or something

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

Re: [Mod] Bucket lite [bucket]

by Linuxdirk » Post

A "stone bucket" is called a crucible in real life. At least sort of.

User avatar
daret
Member
Posts: 136
Joined: Tue Nov 12, 2019 20:36
GitHub: daretmavi
In-game: Daretmavi

Release 5.1

by daret » Post

Release 5.1

Switches for buckettypes are implemented:
Spoiler
Enable steel bucket
bucket_material_steel (Enable steel bucket) bool true

Enable wood bucket
bucket_material_wood (Enable wood bucket) bool true

Enable stone bucket
bucket_material_stone (Enable stone bucket) bool true

Enable bronze bucket
bucket_material_bronze (Enable bronze bucket) bool true

Enable mese bucket
bucket_material_mese (Enable mese bucket) bool true

Enable diamond bucket
bucket_material_diamond (Enable diamond bucket) bool true

Enable gold bucket
bucket_material_gold (Enable gold bucket) bool true


Default bucket type
- do not disable defined type, or you get nothing with /giveme bucket
bucket_default_type (Bucket default type) enum steel steel,wood,stone,bronze,mese,diamond,gold
BUG fixed
- bucket return not working correctly is itemstack > 1

User avatar
daret
Member
Posts: 136
Joined: Tue Nov 12, 2019 20:36
GitHub: daretmavi
In-game: Daretmavi

Release 6.0

by daret » Post

Release 6.0

Function and switches for getting lava are implemented:
  • New group get_lava
  • Default - wood, bronze, gold can not take lava
  • Default - stone, steel, mese, diamond, gold can take lava
Spoiler
Get lava with steel bucket
bucket_getlava_steel (Enable steel bucket) bool true

Get lava with wood bucket
bucket_getlava_wood (Enable wood bucket) bool false

Get lava with stone bucket
bucket_getlava_stone (Enable stone bucket) bool true

Get lava with bronze bucket
bucket_getlava_bronze (Enable bronze bucket) bool false

Get lava with mese bucket
bucket_getlava_mese (Enable mese bucket) bool true

Get lava with diamond bucket
bucket_getlava_diamond (Enable diamond bucket) bool true

Get lava with gold bucket
bucket_getlava_gold (Enable gold bucket) bool false

User avatar
daret
Member
Posts: 136
Joined: Tue Nov 12, 2019 20:36
GitHub: daretmavi
In-game: Daretmavi

Release 6.1

by daret » Post

Release 6.1

BUG Fix: Lava as fuel - for lava enabled buckets

BUG Fix: Buckets added to dungeon_loot

User avatar
daret
Member
Posts: 136
Joined: Tue Nov 12, 2019 20:36
GitHub: daretmavi
In-game: Daretmavi

Release 6.2

by daret » Post

Release 6.2

BUG Fix: Translation implementation update
- to get rid of ERROR[Main]: Ignoring escape sequence 'T....' in translation. if bucket defined in another mod with translation implemented (like swampz)

User avatar
daret
Member
Posts: 136
Joined: Tue Nov 12, 2019 20:36
GitHub: daretmavi
In-game: Daretmavi

Release 7.0

by daret » Post

Release 7.0

Total rewrite of bucket water implementation.
- better support for liquid definition from other mods
- river water bucket added back + setting to unify
- other mods ca unify with function "bucket.register_bucket_as_diffrent_liquid(source, flowing, destination_source, force_renew)"
- dynamic_liquid bettes support - no changes needed

New Settings
Unify water and river water
- taken river water is going to be changed to clasic water
bucket_unify_river_water (Unify river water) bool false

Bucket liquid reverse interval
- if bucket water gets in touch with original source or water+lava, then if will be changed back to original source
- in seconds
bucket_liquid_abm (Bucket liquid reserve interval) float 1.0

Post Reply

Who is online

Users browsing this forum: No registered users and 16 guests