1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-12-25 02:00:37 +01:00

Fix alias for sand_flowing

This commit is contained in:
sys4 2017-11-26 03:00:22 +01:00
parent a55163ae88
commit 541e5142ae
4 changed files with 4 additions and 61 deletions

View File

@ -1,4 +0,0 @@
((nil . ((indent-tabs-mode . t)
(tab-width . 3)))
(lua-mode . (
(eval . (highlight-regexp "^ *")))))

3
.gitignore vendored
View File

@ -6,3 +6,6 @@
*.patch
*.swp
*.diff
#*
*.old
.dir-locals.el

View File

@ -262,7 +262,7 @@ minetest.register_node(
post_effect_color = {a = 250, r = 0, g = 0, b = 0},
groups = {liquid = 3, not_in_creative_inventory = 1},
})
minetest.register_alias("default:acid_flowing", "nalc:acid_flowing")
minetest.register_alias("default:sand_flowing", "nalc:sand_flowing")
--
-- Tools / "Advanced" crafting / Non-"natural"

View File

@ -1,56 +0,0 @@
-- Zombie by BlockMen
mobs:register_mob("zombie:zombie", {
type = "monster",
passive = false,
attack_type = "dogfight",
damage = 3,
hp_min = 12,
hp_max = 35,
armor = 150,
collisionbox = {-0.25, -1, -0.3, 0.25, 0.75, 0.3},
visual = "mesh",
mesh = "creatures_mob.x",
textures = {
{"mobs_zombie.png"},
},
visual_size = {x=1, y=1},
makes_footstep_sound = true,
sounds = {
random = "mobs_zombie.1",
damage = "mobs_zombie_hit",
attack = "mobs_zombie.3",
death = "mobs_zombie_death",
},
walk_velocity = 0.5,
run_velocity = 0.5,
jump = true,
floats = 0,
view_range = 10,
drops = {
{name = "zombie:rotten_flesh",
chance = 2, min = 3, max = 5,},
},
water_damage = 0,
lava_damage = 1,
light_damage = 0,
animation = {
speed_normal = 10, speed_run = 15,
stand_start = 0, stand_end = 79,
walk_start = 168, walk_end = 188,
run_start = 168, run_end = 188,
-- punch_start = 168, punch_end = 188,
},
})
--name, nodes, neighbours, minlight, maxlight, interval, chance, active_object_count, min_height, max_height
mobs:register_spawn("zombie:zombie", {"default:stone", "default:dirt_with_grass"}, 5, 0, 1, 1, 31000)
mobs:register_egg("zombie:zombie", "Zombie", "zombie_head.png", 0)
minetest.register_craftitem("zombie:rotten_flesh", {
description = "Rotten Flesh",
inventory_image = "mobs_rotten_flesh.png",
on_use = minetest.item_eat(1),
})