54b87e955d
Adds a minor helper function that allows efficient retrieval of several inventories from a node inventory. We use this helper to quickly retrieve the items in chests, vessel shelves, book shelves and furnaces, and return these with the nodes itself to the TNT caller. The TNT caller then performs the entity physics, and we don't need to do anything else. We disable TNT doing anything with bones. We expose a bug in the code that drops the items - metadata was lost entirely. This patch corrects that by properly copying the metadata and creating the drops list inclusive metadata. |
||
---|---|---|
.. | ||
textures | ||
depends.txt | ||
init.lua | ||
README.txt |
Minetest Game mod: vessels ========================== Crafts ------- Glass bottle (yields 10) G - G G - G - G - Drinking Glass (yields 14) G - G G - G G G G Heavy Steel Bottle (yields 5) S - S S - S - S - License of source code: ----------------------- Copyright (C) 2012 Vanessa Ezekowitz Version 2012-09-02 Modifications by 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.1 of the License, or (at your option) any later version. http://www.gnu.org/licenses/lgpl-2.1.html License of media (textures and sounds) -------------------------------------- WTFPL Authors of media files ----------------------- Unless specifically noted, Copyright (C) 2012 Vanessa Ezekowitz