(Re-)add nodes from MTG (#536)

Adds fire, flowers, vessels, walls, and xpanes
This commit is contained in:
ANAND 2020-04-22 07:32:23 +05:30 committed by GitHub
parent e68fe87ea2
commit 96054843a9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
88 changed files with 1247 additions and 0 deletions

View file

@ -0,0 +1,22 @@
Minetest Game mod: vessels
==========================
See license.txt for license information.
Authors of source code
----------------------
Originally by Vanessa Ezekowitz (LGPLv2.1+)
Modified by Perttu Ahola <celeron55@gmail.com> (LGPLv2.1+)
Various Minetest developers and contributors (LGPLv2.1+)
Authors of media (textures)
---------------------------
All not listed below, Vanessa Ezekowitz (CC BY-SA 3.0)
The following textures were modified by Thomas-S (CC BY-SA 3.0):
vessels_drinking_glass.png
vessels_drinking_glass_inv.png
vessels_glass_bottle.png
vessels_steel_bottle.png
The following texture was created by Wuzzy (CC BY-SA 3.0):
vessels_shelf_slot.png (based on vessels_glass_bottle.png)

81
mods/mtg/vessels/init.lua Normal file
View file

@ -0,0 +1,81 @@
-- vessels/init.lua
-- Minetest 0.4 mod: vessels
-- See README.txt for licensing and other information.
-- Load support for MT game translation.
local S = minetest.get_translator("vessels")
minetest.register_node("vessels:shelf", {
description = S("Vessels Shelf"),
tiles = {"default_wood.png", "default_wood.png", "default_wood.png",
"default_wood.png", "vessels_shelf.png", "vessels_shelf.png"},
paramtype2 = "facedir",
is_ground_content = false,
groups = {choppy = 3, oddly_breakable_by_hand = 2, flammable = 3},
sounds = default.node_sound_wood_defaults()
})
minetest.register_node("vessels:glass_bottle", {
description = S("Empty Glass Bottle"),
drawtype = "plantlike",
tiles = {"vessels_glass_bottle.png"},
inventory_image = "vessels_glass_bottle.png",
wield_image = "vessels_glass_bottle.png",
paramtype = "light",
is_ground_content = false,
walkable = false,
selection_box = {
type = "fixed",
fixed = {-0.25, -0.5, -0.25, 0.25, 0.3, 0.25}
},
groups = {vessel = 1, dig_immediate = 3, attached_node = 1},
sounds = default.node_sound_glass_defaults(),
})
minetest.register_node("vessels:drinking_glass", {
description = S("Empty Drinking Glass"),
drawtype = "plantlike",
tiles = {"vessels_drinking_glass.png"},
inventory_image = "vessels_drinking_glass_inv.png",
wield_image = "vessels_drinking_glass.png",
paramtype = "light",
is_ground_content = false,
walkable = false,
selection_box = {
type = "fixed",
fixed = {-0.25, -0.5, -0.25, 0.25, 0.3, 0.25}
},
groups = {vessel = 1, dig_immediate = 3, attached_node = 1},
sounds = default.node_sound_glass_defaults(),
})
minetest.register_node("vessels:steel_bottle", {
description = S("Empty Heavy Steel Bottle"),
drawtype = "plantlike",
tiles = {"vessels_steel_bottle.png"},
inventory_image = "vessels_steel_bottle.png",
wield_image = "vessels_steel_bottle.png",
paramtype = "light",
is_ground_content = false,
walkable = false,
selection_box = {
type = "fixed",
fixed = {-0.25, -0.5, -0.25, 0.25, 0.3, 0.25}
},
groups = {vessel = 1, dig_immediate = 3, attached_node = 1},
sounds = default.node_sound_defaults(),
})
minetest.register_craft( {
type = "cooking",
output = "default:steel_ingot",
recipe = "vessels:steel_bottle",
})
minetest.register_craft({
type = "fuel",
recipe = "vessels:shelf",
burntime = 30,
})

View file

@ -0,0 +1,52 @@
License of source code
----------------------
GNU Lesser General Public License, version 2.1
Copyright (C) 2012-2016 Vanessa Ezekowitz
Copyright (C) 2012-2016 celeron55, Perttu Ahola <celeron55@gmail.com>
Copyright (C) 2012-2016 Various Minetest developers and contributors
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.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU Lesser General Public License for more details:
https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html
Licenses of media (textures)
----------------------------
Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0)
Copyright (C) 2012-2016 Vanessa Ezekowitz
Copyright (C) 2016 Thomas-S
You are free to:
Share — copy and redistribute the material in any medium or format.
Adapt — remix, transform, and build upon the material for any purpose, even commercially.
The licensor cannot revoke these freedoms as long as you follow the license terms.
Under the following terms:
Attribution — You must give appropriate credit, provide a link to the license, and
indicate if changes were made. You may do so in any reasonable manner, but not in any way
that suggests the licensor endorses you or your use.
ShareAlike — If you remix, transform, or build upon the material, you must distribute
your contributions under the same license as the original.
No additional restrictions — You may not apply legal terms or technological measures that
legally restrict others from doing anything the license permits.
Notices:
You do not have to comply with the license for elements of the material in the public
domain or where your use is permitted by an applicable exception or limitation.
No warranties are given. The license may not give you all of the permissions necessary
for your intended use. For example, other rights such as publicity, privacy, or moral
rights may limit how you use the material.
For more details:
http://creativecommons.org/licenses/by-sa/3.0/

View file

@ -0,0 +1,8 @@
# textdomain: vessels
Vessels Shelf=
Empty Glass Bottle=
Empty Drinking Glass=
Empty Heavy Steel Bottle=
Glass Fragments=
Empty Vessels Shelf=
Vessels Shelf (@1 items)=

View file

@ -0,0 +1,8 @@
# textdomain: vessels
Vessels Shelf=Gefäßregal
Empty Glass Bottle=Leere Glasflasche
Empty Drinking Glass=Leeres Trinkglas
Empty Heavy Steel Bottle=Leere schwere Stahlflasche
Glass Fragments=Glasfragmente
Empty Vessels Shelf=Leeres Gefäßregal
Vessels Shelf (@1 items)=Gefäßregal (@1 Gegenstände)

View file

@ -0,0 +1,8 @@
# textdomain: vessels
Vessels Shelf=Estante de vasijas
Empty Glass Bottle=Botella de vidrio vacía
Empty Drinking Glass=Vaso para beber vacío
Empty Heavy Steel Bottle=Botella de acero vacía
Glass Fragments=Fragmentos de vidrio
Empty Vessels Shelf=Estante de vasijas vacío
Vessels Shelf (@1 items)=Estante de vasijas (@1 objetos)

View file

@ -0,0 +1,8 @@
# textdomain: vessels
Vessels Shelf=Etagère à récipient
Empty Glass Bottle=Bouteille de verre vide
Empty Drinking Glass=Verre vide
Empty Heavy Steel Bottle=Bouteille d'acier lourde vide
Glass Fragments=Fragments de verre
Empty Vessels Shelf=Etagère à récipient vide
Vessels Shelf (@1 items)=Etagère à récipient (@1 articles)

View file

@ -0,0 +1,8 @@
# textdomain: vessels
Vessels Shelf=Scaffale per contenitori
Empty Glass Bottle=Bottiglia di vetro vuota
Empty Drinking Glass=Bicchiere di vetro vuoto
Empty Heavy Steel Bottle=Bottigia di metallo pesante vuota
Glass Fragments=Frammenti di vetro
Empty Vessels Shelf=Scaffale per contenitori vuoto
Vessels Shelf (@1 items)=Scaffale per contenitori (@1 oggetti)

View file

@ -0,0 +1,8 @@
# textdomain: vessels
Vessels Shelf=Rak Bekas Kaca
Empty Glass Bottle=Botol Kaca Kosong
Empty Drinking Glass=Gelas Minuman Kosong
Empty Heavy Steel Bottle=Botol Keluli Berat Kosong
Glass Fragments=Serpihan Kaca
Empty Vessels Shelf=Rak Bekas Kaca Kosong
Vessels Shelf (@1 items)=Rak Bekas Kaca (@1 barang)

View file

@ -0,0 +1,8 @@
# textdomain: vessels
Vessels Shelf=Полка с Сосудами
Empty Glass Bottle=Пустая Стеклянная Бутылка
Empty Drinking Glass=Пустая Питьевая Бутылка
Empty Heavy Steel Bottle=Пустая Стальная Бутылка
Glass Fragments=Стеклянные Осколки
Empty Vessels Shelf=Полка с Пустыми Сосудами
Vessels Shelf (@1 items)=Полка с Сосудами (@1 предметы)

View file

@ -0,0 +1,8 @@
# textdomain: vessels
Vessels Shelf=Fartygshylla
Empty Glass Bottle=Tom Glasflska
Empty Drinking Glass=Tom Drycksflaska
Empty Heavy Steel Bottle=Tom Tung Stål Flaska
Glass Fragments=Glasbitar
Empty Vessels Shelf=Tom Fartygshylla
Vessels Shelf (@1 items)=Fartygshylla (@1 saker)

View file

@ -0,0 +1,3 @@
name = vessels
description = Minetest Game mod: vessels
depends = default

Binary file not shown.

After

Width:  |  Height:  |  Size: 371 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 313 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 229 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 354 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 348 B