One more try to get these stupid mods to actually upload instead of just
linking in.
14
mods/animatedtorches/README
Normal file
|
@ -0,0 +1,14 @@
|
|||
This simple mod uses a bit of code cobbled together from the default
|
||||
torches and from the recently-introduced animated lava to create proper,
|
||||
animated torches. All existing torches (wall, ceiling, floor) will be
|
||||
displayed with the new animated texture, but no nodes are being
|
||||
replaced. Inventory/wield image uses the stock torch image already
|
||||
supplied with Minetest.
|
||||
|
||||
Textures by me (derived from a rendered torch and an actual burning
|
||||
flame).
|
||||
|
||||
This mod requires a build or git pull of Minetest dated June 17, 2012 or
|
||||
later.
|
||||
|
||||
License: GPL for the code, WTFPL for the textures.
|
4
mods/animatedtorches/copyright.txt
Normal file
|
@ -0,0 +1,4 @@
|
|||
Code copied from minetest's stock code by celeron55 et.al, modifications
|
||||
and all textures by Vanessa Ezekowitz.
|
||||
|
||||
Licenses: For the lua code, GPL. For all images and everything else, WTFPL.
|
1
mods/animatedtorches/depends.txt
Normal file
|
@ -0,0 +1 @@
|
|||
default
|
33
mods/animatedtorches/init.lua
Normal file
|
@ -0,0 +1,33 @@
|
|||
-- Animated torches, based on the static torches and animated lava code
|
||||
-- from Minetest; modifications by Vanessa Ezekowitz 2012-06-17
|
||||
--
|
||||
-- License: LGPL
|
||||
|
||||
minetest.register_node(":default:torch", {
|
||||
description = "Torch",
|
||||
drawtype = "torchlike",
|
||||
tiles = {
|
||||
|
||||
-- "default_torch_on_floor.png", "default_torch_on_ceiling.png", "default_torch.png"
|
||||
|
||||
{name="default_torch_on_floor_animated.png", animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=3.0}},
|
||||
{name="default_torch_on_ceiling_animated.png", animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=3.0}},
|
||||
{name="default_torch_animated.png", animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=3.0}}
|
||||
|
||||
},
|
||||
inventory_image = "default_torch_on_floor.png",
|
||||
wield_image = "default_torch_on_floor.png",
|
||||
paramtype = "light",
|
||||
paramtype2 = "wallmounted",
|
||||
sunlight_propagates = true,
|
||||
walkable = false,
|
||||
light_source = LIGHT_MAX-1,
|
||||
selection_box = {
|
||||
type = "wallmounted",
|
||||
wall_top = {-0.1, 0.5-0.6, -0.1, 0.1, 0.5, 0.1},
|
||||
wall_bottom = {-0.1, -0.5, -0.1, 0.1, -0.5+0.6, 0.1},
|
||||
wall_side = {-0.5, -0.3, -0.1, -0.5+0.3, 0.3, 0.1},
|
||||
},
|
||||
groups = {choppy=2,dig_immediate=3,flammable=1},
|
||||
sounds = default.node_sound_defaults(),
|
||||
})
|
BIN
mods/animatedtorches/textures/default_torch_animated.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 1.3 KiB |
BIN
mods/animatedtorches/textures/default_torch_on_floor.png
Normal file
After Width: | Height: | Size: 282 B |
After Width: | Height: | Size: 1.3 KiB |
0
mods/vessels/README
Normal file
10
mods/vessels/changelog.txt
Normal 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
|
@ -0,0 +1 @@
|
|||
default
|
108
mods/vessels/init.lua
Normal 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!")
|
BIN
mods/vessels/textures/alternates/vessels_drinking_glass.png
Normal file
After Width: | Height: | Size: 253 B |
BIN
mods/vessels/textures/alternates/vessels_glass_bottle.png
Normal file
After Width: | Height: | Size: 242 B |
BIN
mods/vessels/textures/alternates/vessels_steel_bottle.png
Normal file
After Width: | Height: | Size: 345 B |
BIN
mods/vessels/textures/vessels_drinking_glass.png
Normal file
After Width: | Height: | Size: 338 B |
BIN
mods/vessels/textures/vessels_glass_bottle.png
Normal file
After Width: | Height: | Size: 405 B |
BIN
mods/vessels/textures/vessels_glass_fragments.png
Normal file
After Width: | Height: | Size: 425 B |
BIN
mods/vessels/textures/vessels_steel_bottle.png
Normal file
After Width: | Height: | Size: 342 B |