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:
14
mods/animatedtorches/README
Normal file
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
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
1
mods/animatedtorches/depends.txt
Normal file
@ -0,0 +1 @@
|
||||
default
|
33
mods/animatedtorches/init.lua
Normal file
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
BIN
mods/animatedtorches/textures/default_torch_animated.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.4 KiB |
Binary file not shown.
After Width: | Height: | Size: 1.3 KiB |
BIN
mods/animatedtorches/textures/default_torch_on_floor.png
Normal file
BIN
mods/animatedtorches/textures/default_torch_on_floor.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 282 B |
Binary file not shown.
After Width: | Height: | Size: 1.3 KiB |
Reference in New Issue
Block a user