mirror of
https://github.com/minetest-mods/technic.git
synced 2024-12-25 02:10:30 +01:00
Added initial flashlight definitions
This commit is contained in:
parent
2f7d6bb35b
commit
6a67be6139
@ -1,14 +1,14 @@
|
||||
torchlight_max_charge=30000
|
||||
flashlight_max_charge=30000
|
||||
|
||||
minetest.register_tool("technic:torchlight", {
|
||||
description = "Torchlight",
|
||||
inventory_image = "technic_torchlight.png",
|
||||
minetest.register_tool("technic:flashlight", {
|
||||
description = "Flashlight",
|
||||
inventory_image = "technic_flashlight.png",
|
||||
on_use = function(itemstack, user, pointed_thing)
|
||||
end,
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "technic:torchlight",
|
||||
output = "technic:flashlight",
|
||||
recipe = {
|
||||
{"glass","glass","glass"},
|
||||
{"technic:stainless_steel_ingot","technic:battery","technic:stainless_steel_ingot"},
|
2
init.lua
2
init.lua
@ -44,7 +44,7 @@ dofile(minetest.get_modpath("technic").."/sonic_screwdriver.lua")
|
||||
dofile(minetest.get_modpath("technic").."/node_breaker.lua")
|
||||
dofile(minetest.get_modpath("technic").."/deployer.lua")
|
||||
dofile(minetest.get_modpath("technic").."/tree_tap.lua")
|
||||
dofile(minetest.get_modpath("technic").."/torchlight.lua")
|
||||
dofile(minetest.get_modpath("technic").."/flashlight.lua")
|
||||
dofile(minetest.get_modpath("technic").."/water_can.lua")
|
||||
|
||||
|
||||
|
BIN
textures/technic_flashlight.png
Normal file
BIN
textures/technic_flashlight.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.9 KiB |
Loading…
Reference in New Issue
Block a user