projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1907b31
)
Add experimental TNT's old name as an alias
author
Perttu Ahola
<celeron55@gmail.com>
Sun, 4 Dec 2011 00:16:23 +0000
(
02:16
+0200)
committer
Perttu Ahola
<celeron55@gmail.com>
Sun, 4 Dec 2011 00:16:23 +0000
(
02:16
+0200)
data/mods/experimental/init.lua
patch
|
blob
|
history
diff --git
a/data/mods/experimental/init.lua
b/data/mods/experimental/init.lua
index 15c4b03427510627a401bcb5e9172f753027f7e9..51e86c23460b9b8e704f419ba71f91db78dd417e 100644
(file)
--- a/
data/mods/experimental/init.lua
+++ b/
data/mods/experimental/init.lua
@@
-237,6
+237,9
@@
end
--print("Registering TNT");
minetest.register_entity("experimental:tnt", TNT)
+-- Add TNT's old name also
+minetest.alias_node("TNT", "experimental:tnt")
+
--
-- A test entity for testing animated and yaw-modulated sprites
--