first commit. @TODO insert sound effect.

master
pagliaccio 2012-08-01 13:00:45 +02:00
parent 2e838572fe
commit 9f73d4b72b
4 changed files with 27 additions and 1 deletions

View File

@ -1,4 +1,7 @@
laser_mod
=========
mod for minetest
mod for minetest
CC BY-NC-SA 3.0 http://creativecommons.org/licenses/by-nc-sa/3.0/it/deed.it

1
depends.txt Normal file
View File

@ -0,0 +1 @@
default

22
init.lua Normal file
View File

@ -0,0 +1,22 @@
minetest.register_tool("laser_mod:laser_sword", {
description = "Laser Sword",
inventory_image = "laser_sword.png",
tool_capabilities = {
full_punch_interval = 1.0,
max_drop_level=3,
groupcaps={
cracky={times={[1]=1.0, [2]=0.5, [3]=0.5}, uses=30, maxlevel=3},
crumbly={times={[1]=1.0, [2]=0.5, [3]=0.5}, uses=30, maxlevel=3},
snappy={times={[1]=1.0, [2]=0.5, [3]=0.5}, uses=30, maxlevel=3}
}
},
})
minetest.register_craft({
output = 'laser_mod:laser_sword',
recipe = {
{'default:glass'},
{'default:mese'},
{'default:stick'},
}
})

BIN
textures/laser_sword.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 311 B