#13 made immune against TNT and aggressive mobs
This commit is contained in:
parent
4d1ff18924
commit
d443ceab4e
@ -74,6 +74,10 @@ minetest.register_node("travelnet:elevator", {
|
|||||||
travelnet.remove_box( pos, oldnode, oldmetadata, digger )
|
travelnet.remove_box( pos, oldnode, oldmetadata, digger )
|
||||||
end,
|
end,
|
||||||
|
|
||||||
|
-- TNT and overenthusiastic DMs do not destroy elevators either
|
||||||
|
on_blast = function(pos, intensity)
|
||||||
|
end,
|
||||||
|
|
||||||
-- taken from VanessaEs homedecor fridge
|
-- taken from VanessaEs homedecor fridge
|
||||||
on_place = function(itemstack, placer, pointed_thing)
|
on_place = function(itemstack, placer, pointed_thing)
|
||||||
local pos = pointed_thing.above;
|
local pos = pointed_thing.above;
|
||||||
|
2
init.lua
2
init.lua
@ -22,6 +22,8 @@
|
|||||||
Please configure this mod in config.lua
|
Please configure this mod in config.lua
|
||||||
|
|
||||||
Changelog:
|
Changelog:
|
||||||
|
17.07.17 - Added more detailled licence information.
|
||||||
|
TNT and DungeonMasters ought to leave travelnets and elevators untouched now.
|
||||||
16.07.17 - Merged several PR from others (Typo, screenshot, documentation, mesecon support, bugfix).
|
16.07.17 - Merged several PR from others (Typo, screenshot, documentation, mesecon support, bugfix).
|
||||||
Added buttons to move stations up or down in the list, independent on when they where added.
|
Added buttons to move stations up or down in the list, independent on when they where added.
|
||||||
Fixed undeclared globals.
|
Fixed undeclared globals.
|
||||||
|
@ -78,6 +78,10 @@ minetest.register_node("travelnet:travelnet", {
|
|||||||
travelnet.remove_box( pos, oldnode, oldmetadata, digger )
|
travelnet.remove_box( pos, oldnode, oldmetadata, digger )
|
||||||
end,
|
end,
|
||||||
|
|
||||||
|
-- TNT and overenthusiastic DMs do not destroy travelnets
|
||||||
|
on_blast = function(pos, intensity)
|
||||||
|
end,
|
||||||
|
|
||||||
-- taken from VanessaEs homedecor fridge
|
-- taken from VanessaEs homedecor fridge
|
||||||
on_place = function(itemstack, placer, pointed_thing)
|
on_place = function(itemstack, placer, pointed_thing)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user