Extenders (non-functional)

This commit is contained in:
Ben Deutsch 2015-10-01 21:59:44 +02:00
parent eec21ab4f1
commit a00aeebdf7
5 changed files with 40 additions and 0 deletions

View File

@ -151,6 +151,21 @@ minetest.register_node('telemosaic:beacon_err', {
on_rightclick = beacon_rightclick, on_rightclick = beacon_rightclick,
}) })
minetest.register_node('telemosaic:beacon_off', {
description = 'Telemosaic beacon',
tiles = {
'telemosaic_beacon_off.png',
'telemosaic_beacon_side.png',
'telemosaic_beacon_side.png',
'telemosaic_beacon_side.png',
'telemosaic_beacon_side.png',
'telemosaic_beacon_side.png',
},
paramtype = 'light',
groups = { cracky = 2 },
on_rightclick = beacon_rightclick,
})
minetest.register_tool('telemosaic:key', { minetest.register_tool('telemosaic:key', {
description = 'Telemosaic key', description = 'Telemosaic key',
@ -158,6 +173,31 @@ minetest.register_tool('telemosaic:key', {
stack_max = 1, stack_max = 1,
}) })
minetest.register_node('telemosaic:extender_one', {
description = 'Telemosaic extender, tier 1',
tiles = {
'telemosaic_extender_one.png',
},
paramtype = 'light',
groups = { cracky = 2 },
})
minetest.register_node('telemosaic:extender_two', {
description = 'Telemosaic extender, tier 2',
tiles = {
'telemosaic_extender_two.png',
},
paramtype = 'light',
groups = { cracky = 2 },
})
minetest.register_node('telemosaic:extender_three', {
description = 'Telemosaic extender, tier 3',
tiles = {
'telemosaic_extender_three.png',
},
paramtype = 'light',
groups = { cracky = 2 },
})
minetest.register_on_joinplayer(function(player) minetest.register_on_joinplayer(function(player)
local name = player:get_player_name() local name = player:get_player_name()
if not M.players[name] then if not M.players[name] then

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 280 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 342 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 320 B