24 Commits

Author SHA1 Message Date
Jordan Snelling
ecdbbda344 Make buckets control scheme consistent.
This commit, fixes this strange feature of the empty bucket: the right mouse button (or a configured key), is used for filling and emptying the bucket, instead of left click to fill, right click to empty, which is harder to use than before this commit.

This allows mod makers to create nodes or entities that require on_punch while holding a bucket to interact with them, regardless of whether the bucket is full or not, because of this interaction, an empty bucket would be unable to be filled by a cow, or unable to fill a machine with a liquid due to the differences of on_use and on_place.

on_use() blocks on_punch() from activating, and on_place() blocks on_rightclick() from activating.
2015-09-12 22:19:18 +01:00
paramat
c4fb5bd385 Bucket: Register river water bucket, add texture
Add groups to registration and use water_bucket group
2015-06-14 01:18:14 +01:00
ShadowNinja
794a436d86 Fix bucket code indentation 2015-03-07 21:26:55 -05:00
tenplus1
df35360372 Make empty buckets stackable 2015-02-28 22:15:46 +01:00
PilzAdam
957f94534b Remove remains of finite liquids from bucket mod
This reverts commit 79856c914d5b9d3eb43bec78840ee811880b30ff.
2014-12-06 20:58:03 +01:00
Diego Martínez
e707ba3cf1 Fix leaked globals. 2014-11-29 18:03:18 +01:00
Zefram
263b6f2fdf Show filled buckets in creative inventory 2014-07-24 13:41:17 +02:00
ShadowNinja
1a9362afed Prevent bucket from replacing unloaded nodes 2013-12-22 18:51:28 -05:00
ShadowNinja
4ea001fa37 Shorten lines in bucket and support nil placers 2013-12-14 14:39:48 -05:00
Novatux
e8bcfdcd0e Check for area protection in buckets 2013-12-14 13:51:07 -05:00
Zeg9
9bbde070a1 Call on_rightclick from buckets 2013-07-11 02:30:47 +02:00
PilzAdam
31a74ede18 Replace minetest.env: with minetest. 2013-05-25 00:40:03 +02:00
PilzAdam
fcf0816fa8 Move all common mods back to minetest_game 2013-05-18 16:05:16 +02:00
PilzAdam
d6ec56811b Use common mods 2013-03-21 18:44:36 +01:00
PilzAdam
4e20ed6153 Add a description to buckets and use rightclick to place the liquids 2013-03-19 20:06:53 +01:00
ShadowNinja
79856c914d Allow buckets to pick up partially full liquid nodes when liquid_finite is enabled. 2013-03-19 20:04:50 +01:00
hdastwb
648a11263b Use replacements in furnace and replace lava bucket with empty bucket when used as fuel 2013-03-19 19:30:06 +01:00
PilzAdam
68020d2e93 Dont allow the bucket to replace nodes that are not buildable to 2012-11-09 15:25:21 +01:00
PilzAdam
30d582296b Follow the naming convention and make the first letter Bucket capitalized 2012-11-06 20:38:40 +01:00
khonkhortisan
a399f648e7 Emtpy bucket
-> Empty bucket
2012-10-09 09:05:00 -07:00
Perttu Ahola
cd4e86773f Add description to bucket to make it show in creative inventory 2012-07-25 18:28:21 +03:00
sfan5
8c8b4b005e Fix Lava Bucket as Fuel 2012-07-20 08:26:05 +02:00
Perttu Ahola
1d4ae73e0d Move media author information to README.txt in mod directories 2012-03-30 11:15:01 +03:00
Perttu Ahola
f9ab8cd018 Add initial content 2012-03-26 22:50:35 +03:00