1
0
Fork 0
MineClone2/mods/ITEMS/mcl_buckets
kabou 88ce1e3662 Remove redundant logic.
The function on_place_bucket contains the following logic:
  if not a and not b then return x end
  if a then
    foo(a)
  elseif b then
    foo(b)
  else
    return x
  end

The "if not a and not b then .." is removed because the case is handled
by the else case later on.  This will allow some further simplifications.
2022-02-20 18:46:23 +01:00
..
locale Add polish translation of mcl_buckets 2021-04-24 20:57:57 +02:00
textures Add river water bucket 2017-11-30 14:50:37 +01:00
API.md fix documentation 2021-07-14 15:22:27 +02:00
README.md rewrite README to markdown 2021-07-15 01:03:50 +02:00
init.lua Remove redundant logic. 2022-02-20 18:46:23 +01:00
mod.conf Add missing dependency 2022-02-17 14:42:01 +00:00
register.lua fix misleading API 2021-07-14 15:18:12 +02:00

README.md

MineClone2 Bucket (mcl_bucket)

Originally taken from Minetest Game, adapted for MineClone2.

This mod add buckets to the game, including an API to register your own (see API.md).

License

Copyright (C) 2011-2012 Kahrl kahrl@gmx.net

Copyright (C) 2011-2012 celeron55, Perttu Ahola celeron55@gmail.com

This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

http://www.gnu.org/licenses/lgpl-2.1.html