diff options
author | Perttu Ahola <celeron55@gmail.com> | 2012-03-04 21:08:03 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2012-03-10 11:28:13 +0200 |
commit | e9cdb938fe44282e09fb88628a6e86e5e7279c69 (patch) | |
tree | d4c017082a8de4e9fc008d8b402b2efb0f6abc48 /data | |
parent | f1cb91cd931bed056bdbe37938d141e2ea068b89 (diff) | |
download | minetest-e9cdb938fe44282e09fb88628a6e86e5e7279c69.tar.gz minetest-e9cdb938fe44282e09fb88628a6e86e5e7279c69.tar.bz2 minetest-e9cdb938fe44282e09fb88628a6e86e5e7279c69.zip |
Entity damage system WIP; Remove C++ mobs
Diffstat (limited to 'data')
-rw-r--r-- | data/mods/default/init.lua | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/data/mods/default/init.lua b/data/mods/default/init.lua index 9750f610f..bcd633b34 100644 --- a/data/mods/default/init.lua +++ b/data/mods/default/init.lua @@ -202,7 +202,7 @@ -- - getpos() -> {x=num, y=num, z=num} -- - setpos(pos); pos={x=num, y=num, z=num} -- - moveto(pos, continuous=false): interpolated move --- - punch(puncher, time_from_last_punch) +-- - punch(puncher, time_from_last_punch, tool_capabilities, direction) -- ^ puncher = an another ObjectRef, -- ^ time_from_last_punch = time since last punch action of the puncher -- - right_click(clicker); clicker = an another ObjectRef @@ -1124,14 +1124,14 @@ minetest.register_node("default:tree", { description = "Tree", tile_images = {"default_tree_top.png", "default_tree_top.png", "default_tree.png"}, is_ground_content = true, - groups = {snappy=2}, + groups = {snappy=2,choppy=2}, }) minetest.register_node("default:jungletree", { description = "Jungle Tree", tile_images = {"default_jungletree_top.png", "default_jungletree_top.png", "default_jungletree.png"}, is_ground_content = true, - groups = {snappy=2}, + groups = {snappy=2,choppy=2}, }) minetest.register_node("default:junglegrass", { @@ -1174,7 +1174,7 @@ minetest.register_node("default:cactus", { description = "Cactus", tile_images = {"default_cactus_top.png", "default_cactus_top.png", "default_cactus_side.png"}, is_ground_content = true, - groups = {snappy=2}, + groups = {snappy=2,choppy=3}, }) minetest.register_node("default:papyrus", { @@ -1193,7 +1193,7 @@ minetest.register_node("default:bookshelf", { description = "Bookshelf", tile_images = {"default_wood.png", "default_wood.png", "default_bookshelf.png"}, is_ground_content = true, - groups = {snappy=2}, + groups = {snappy=2,choppy=3}, }) minetest.register_node("default:glass", { @@ -1219,7 +1219,7 @@ minetest.register_node("default:fence_wood", { type = "fixed", fixed = {-1/7, -1/2, -1/7, 1/7, 1/2, 1/7}, }, - groups = {snappy=2}, + groups = {snappy=2,choppy=2}, }) minetest.register_node("default:rail", { @@ -1255,7 +1255,7 @@ minetest.register_node("default:ladder", { --wall_bottom = = <default> --wall_side = = <default> }, - groups = {snappy=2}, + groups = {snappy=2,choppy=2}, legacy_wallmounted = true, }) @@ -1263,7 +1263,7 @@ minetest.register_node("default:wood", { description = "Wood", tile_images = {"default_wood.png"}, is_ground_content = true, - groups = {snappy=2}, + groups = {snappy=2,choppy=2}, }) minetest.register_node("default:mese", { @@ -1421,7 +1421,7 @@ minetest.register_node("default:chest", { "default_chest_side.png", "default_chest_side.png", "default_chest_front.png"}, paramtype2 = "facedir", metadata_name = "chest", - groups = {snappy=2}, + groups = {snappy=2,choppy=2}, legacy_facedir_simple = true, }) @@ -1431,7 +1431,7 @@ minetest.register_node("default:chest_locked", { "default_chest_side.png", "default_chest_side.png", "default_chest_lock.png"}, paramtype2 = "facedir", metadata_name = "locked_chest", - groups = {snappy=2}, + groups = {snappy=2,choppy=2}, legacy_facedir_simple = true, }) |