diff --git a/mods/animatedtorches/README b/mods/animatedtorches/README new file mode 100644 index 00000000..31ea1286 --- /dev/null +++ b/mods/animatedtorches/README @@ -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. diff --git a/mods/animatedtorches/copyright.txt b/mods/animatedtorches/copyright.txt new file mode 100644 index 00000000..3247334b --- /dev/null +++ b/mods/animatedtorches/copyright.txt @@ -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. diff --git a/mods/animatedtorches/depends.txt b/mods/animatedtorches/depends.txt new file mode 100644 index 00000000..4ad96d51 --- /dev/null +++ b/mods/animatedtorches/depends.txt @@ -0,0 +1 @@ +default diff --git a/mods/animatedtorches/init.lua b/mods/animatedtorches/init.lua new file mode 100644 index 00000000..bc39e4e0 --- /dev/null +++ b/mods/animatedtorches/init.lua @@ -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(), +}) diff --git a/mods/animatedtorches/textures/default_torch_animated.png b/mods/animatedtorches/textures/default_torch_animated.png new file mode 100644 index 00000000..ca1668c7 Binary files /dev/null and b/mods/animatedtorches/textures/default_torch_animated.png differ diff --git a/mods/animatedtorches/textures/default_torch_on_ceiling_animated.png b/mods/animatedtorches/textures/default_torch_on_ceiling_animated.png new file mode 100644 index 00000000..b101561f Binary files /dev/null and b/mods/animatedtorches/textures/default_torch_on_ceiling_animated.png differ diff --git a/mods/animatedtorches/textures/default_torch_on_floor.png b/mods/animatedtorches/textures/default_torch_on_floor.png new file mode 100644 index 00000000..925a59af Binary files /dev/null and b/mods/animatedtorches/textures/default_torch_on_floor.png differ diff --git a/mods/animatedtorches/textures/default_torch_on_floor_animated.png b/mods/animatedtorches/textures/default_torch_on_floor_animated.png new file mode 100644 index 00000000..0b55818b Binary files /dev/null and b/mods/animatedtorches/textures/default_torch_on_floor_animated.png differ diff --git a/mods/vessels/README b/mods/vessels/README new file mode 100644 index 00000000..e69de29b diff --git a/mods/vessels/changelog.txt b/mods/vessels/changelog.txt new file mode 100644 index 00000000..9eb8ec1f --- /dev/null +++ b/mods/vessels/changelog.txt @@ -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. :-) diff --git a/mods/vessels/depends.txt b/mods/vessels/depends.txt new file mode 100644 index 00000000..4ad96d51 --- /dev/null +++ b/mods/vessels/depends.txt @@ -0,0 +1 @@ +default diff --git a/mods/vessels/init.lua b/mods/vessels/init.lua new file mode 100644 index 00000000..5f31cc8c --- /dev/null +++ b/mods/vessels/init.lua @@ -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!") diff --git a/mods/vessels/textures/alternates/vessels_drinking_glass.png b/mods/vessels/textures/alternates/vessels_drinking_glass.png new file mode 100644 index 00000000..8ad033e8 Binary files /dev/null and b/mods/vessels/textures/alternates/vessels_drinking_glass.png differ diff --git a/mods/vessels/textures/alternates/vessels_glass_bottle.png b/mods/vessels/textures/alternates/vessels_glass_bottle.png new file mode 100644 index 00000000..d9225793 Binary files /dev/null and b/mods/vessels/textures/alternates/vessels_glass_bottle.png differ diff --git a/mods/vessels/textures/alternates/vessels_steel_bottle.png b/mods/vessels/textures/alternates/vessels_steel_bottle.png new file mode 100644 index 00000000..629c857d Binary files /dev/null and b/mods/vessels/textures/alternates/vessels_steel_bottle.png differ diff --git a/mods/vessels/textures/vessels_drinking_glass.png b/mods/vessels/textures/vessels_drinking_glass.png new file mode 100644 index 00000000..18f5cb83 Binary files /dev/null and b/mods/vessels/textures/vessels_drinking_glass.png differ diff --git a/mods/vessels/textures/vessels_glass_bottle.png b/mods/vessels/textures/vessels_glass_bottle.png new file mode 100644 index 00000000..c325fd16 Binary files /dev/null and b/mods/vessels/textures/vessels_glass_bottle.png differ diff --git a/mods/vessels/textures/vessels_glass_fragments.png b/mods/vessels/textures/vessels_glass_fragments.png new file mode 100644 index 00000000..7772a239 Binary files /dev/null and b/mods/vessels/textures/vessels_glass_fragments.png differ diff --git a/mods/vessels/textures/vessels_steel_bottle.png b/mods/vessels/textures/vessels_steel_bottle.png new file mode 100644 index 00000000..d2b846da Binary files /dev/null and b/mods/vessels/textures/vessels_steel_bottle.png differ