1
0
mirror of https://github.com/minetest/minetest_game.git synced 2024-11-16 15:00:18 +01:00
Commit Graph

34 Commits

Author SHA1 Message Date
An0n3m0us
e19f42d648 Add groups for tools and mushrooms (#2378) 2019-06-01 21:10:30 +02:00
SmallJoker
255031fc91 Replace deprecated function calls 2018-07-01 20:44:03 +01:00
DTA7
a2d7678ffd Add nil checks for placer 2017-11-15 23:16:28 +00:00
paramat
3ae382c913 River water renewability: Add comments to nodes.lua and bucket mod 2017-11-11 21:37:27 +00:00
Fernando Carmona Varo
5b2a896180 Bucket: Allow buckets to trigger the on_punch of entities and nodes
The purpose of this is to allow mods to be able to interact (e.g. fill up)
an empty bucket when it is used to punch a node that's not a liquid source
or when punching a custom entity (e.g. milking a cow).
2016-11-02 12:39:56 +00:00
paramat
7b30c26a45 Bucket: Add optional 'force-renew' bool to registration
River water needs to be 'liquid_renewable = false' to avoid a mess caused by
spreading of sources, however picking it up with a bucket then creates
a hole in the river. Allow a 'force-renew' of the source node if it has a
source neighbour.
2016-10-12 04:11:36 +01:00
Tim
76211624ac Use minetest instead of core namespace, discourage via luacheck 2016-08-09 03:47:27 +01:00
Tim
4473627de0 Remove unused and clean up missused variable-value assignments.
* Unused variables
* Unused values (assigned to variables, but overwritten before use)
* Defining already defined variables instead of reassigning to them.
2016-07-15 21:58:49 +01:00
Tim
5644ab4bd3 Bucket: Allow liquid placed against unknown nodes instead of aborting abnormally 2016-07-07 19:22:13 +01:00
Tim
fe450b4144 Bucket: Prevent crashing when placing liquid against a buildable node into an unknown node 2016-07-07 19:21:46 +01:00
tenplus1
21b457c9e1 Bucket: Correct liquid placing in protected areas
- Placing liquid inside a protected area no longer returns an empty bucket
- Remove on_place function, tidy up code, return proper itemstack
- Shorten code (changes from HybridDog/patch-35)
2016-07-05 18:15:35 +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 79856c914d.
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