projects
/
zefram
/
minetest
/
minetest_engine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8db89b8
)
Set proper armor group for experimental:tnt
author
Perttu Ahola
<celeron55@gmail.com>
Fri, 9 Mar 2012 18:53:54 +0000
(20:53 +0200)
committer
Perttu Ahola
<celeron55@gmail.com>
Sat, 10 Mar 2012 09:28:13 +0000
(11:28 +0200)
data/mods/experimental/init.lua
patch
|
blob
|
history
diff --git
a/data/mods/experimental/init.lua
b/data/mods/experimental/init.lua
index c37488d0425bd059cd424e8c63ed6786f26db3aa..5f01d8b78815b4c979037e09d84ca12ec371c3d4 100644
(file)
--- a/
data/mods/experimental/init.lua
+++ b/
data/mods/experimental/init.lua
@@
-330,7
+330,7
@@
function TNT:on_activate(staticdata)
self.object:setvelocity({x=0, y=4, z=0})
self.object:setacceleration({x=0, y=-10, z=0})
self.object:settexturemod("^[brighten")
- self.object:set_armor_groups({
foo=1,bar=2
})
+ self.object:set_armor_groups({
immortal=1
})
end
-- Called periodically