mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-05-20 06:13:17 -04:00
New textures for vessels mod, wield images are different from inventory images
to allow for faked alpha blending in inventory.
This commit is contained in:
parent
3a4ec342cc
commit
070b33df5b
4 changed files with 59 additions and 35 deletions
45
mods/vessels/README.txt
Normal file
45
mods/vessels/README.txt
Normal file
|
@ -0,0 +1,45 @@
|
|||
Minetest 0.4 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
|
||||
|
|
@ -1,5 +1,6 @@
|
|||
Changelog
|
||||
---------
|
||||
2012-11-22: Minor tweaks to formatting of init.lua, worked in new textures.
|
||||
|
||||
2012-07-26: Added a smelting step for recycling crafted items back into raw
|
||||
materials. 2 Glass bottles/cups -> 1 "glass fragments" -> smelt into normal
|
||||
|
|
|
@ -1,34 +1,11 @@
|
|||
-- Vessels Mod by Vanessa Ezekowitz ~~ 2012-07-26
|
||||
--
|
||||
-- License: LGPL
|
||||
--
|
||||
|
||||
--========================================
|
||||
-- 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 -
|
||||
|
||||
-- Minetest 0.4 mod: vessels
|
||||
-- See README.txt for licensing and other information.
|
||||
|
||||
minetest.register_craftitem("vessels:glass_bottle", {
|
||||
description = "Glass Bottle (empty)",
|
||||
inventory_image = "vessels_glass_bottle_inv.png",
|
||||
description = "Glass Bottle (empty)",
|
||||
inventory_image = "vessels_glass_bottle_inv.png",
|
||||
wield_image = "vessels_glass_bottle.png"
|
||||
groups = {vessel=1},
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
|
@ -41,9 +18,10 @@ minetest.register_craft( {
|
|||
})
|
||||
|
||||
minetest.register_craftitem("vessels:drinking_glass", {
|
||||
description = "Drinking Glass (empty)",
|
||||
inventory_image = "vessels_drinking_glass_inv.png",
|
||||
description = "Drinking Glass (empty)",
|
||||
inventory_image = "vessels_drinking_glass_inv.png",
|
||||
wield_image = "vessels_drinking_glass.png"
|
||||
groups = {vessel=1},
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
|
@ -56,9 +34,10 @@ minetest.register_craft( {
|
|||
})
|
||||
|
||||
minetest.register_craftitem("vessels:steel_bottle", {
|
||||
description = "Heavy Steel Bottle (empty)",
|
||||
inventory_image = "vessels_steel_bottle_inv.png",
|
||||
description = "Heavy Steel Bottle (empty)",
|
||||
inventory_image = "vessels_steel_bottle_inv.png",
|
||||
wield_image = "vessels_steel_bottle.png"
|
||||
groups = {vessel=1},
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
|
@ -74,8 +53,8 @@ minetest.register_craft( {
|
|||
-- Make sure we can recycle them
|
||||
|
||||
minetest.register_craftitem("vessels:glass_fragments", {
|
||||
description = "Pile of Glass Fragments",
|
||||
inventory_image = "vessels_glass_fragments.png",
|
||||
description = "Pile of Glass Fragments",
|
||||
inventory_image = "vessels_glass_fragments.png",
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
|
@ -108,4 +87,3 @@ minetest.register_craft( {
|
|||
recipe = "vessels:steel_bottle",
|
||||
})
|
||||
|
||||
print("[Vessels] Loaded!")
|
||||
|
|
Loading…
Add table
Reference in a new issue