1
0
mirror of https://github.com/minetest/minetest_game.git synced 2025-07-03 23:20:22 +02:00

One more try to get these stupid mods to actually upload instead of just

linking in.
This commit is contained in:
Vanessa Ezekowitz
2012-09-02 13:06:20 -04:00
parent 80faf42da2
commit b3bc58a2e4
19 changed files with 171 additions and 0 deletions

0
mods/vessels/README Normal file
View File

View File

@ -0,0 +1,10 @@
Changelog
---------
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
glass block. 1 Steel bottle -> smelt to 1 steel ingot.
2012-07-26: Better bottle texture. Note that it is blended against the 50%
grey fields in the inventory display, so it will show artifacts if you try to
wield it. Don't do that. :-)

1
mods/vessels/depends.txt Normal file
View File

@ -0,0 +1 @@
default

108
mods/vessels/init.lua Normal file
View File

@ -0,0 +1,108 @@
-- Vessels Mod by Vanessa Ezekowitz ~~ 2012-07-26
--
-- License: GPL
--
--========================================
-- 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.register_craftitem("vessels:glass_bottle", {
description = "Glass Bottle (empty)",
inventory_image = "vessels_glass_bottle.png",
})
minetest.register_craft( {
output = "vessels:glass_bottle 10",
recipe = {
{ "default:glass", "", "default:glass" },
{ "default:glass", "", "default:glass" },
{ "", "default:glass", "" }
}
})
minetest.register_craftitem("vessels:drinking_glass", {
description = "Drinking Glass (empty)",
inventory_image = "vessels_drinking_glass.png",
})
minetest.register_craft( {
output = "vessels:drinking_glass 14",
recipe = {
{ "default:glass", "", "default:glass" },
{ "default:glass", "", "default:glass" },
{ "default:glass", "default:glass", "default:glass" }
}
})
minetest.register_craftitem("vessels:steel_bottle", {
description = "Heavy Steel Bottle (empty)",
inventory_image = "vessels_steel_bottle.png",
})
minetest.register_craft( {
output = "vessels:steel_bottle 5",
recipe = {
{ "default:steel_ingot", "", "default:steel_ingot" },
{ "default:steel_ingot", "", "default:steel_ingot" },
{ "", "default:steel_ingot", "" }
}
})
-- Make sure we can recycle them
minetest.register_craftitem("vessels:glass_fragments", {
description = "Pile of Glass Fragments",
inventory_image = "vessels_glass_fragments.png",
})
minetest.register_craft( {
type = "shapeless",
output = "vessels:glass_fragments",
recipe = {
"vessels:glass_bottle",
"vessels:glass_bottle",
},
})
minetest.register_craft( {
type = "shapeless",
output = "vessels:glass_fragments",
recipe = {
"vessels:drinking_glass",
"vessels:drinking_glass",
},
})
minetest.register_craft({
type = "cooking",
output = "default:glass",
recipe = "vessels:glass_fragments",
})
minetest.register_craft( {
type = "cooking",
output = "default:steel_ingot",
recipe = "vessels:steel_bottle",
})
print("[Vessels] Loaded!")

Binary file not shown.

After

Width:  |  Height:  |  Size: 253 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 242 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 345 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 338 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 405 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 425 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 342 B