1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-06-28 06:11:47 +02:00

Update from Creative's repository

- For MinetestForFun/server-minetestforfun-creative#57
This commit is contained in:
LeMagnesium
2016-02-16 14:43:18 +01:00
parent c9a568f2ce
commit 8b02a31c12
107 changed files with 102 additions and 89 deletions

View File

@ -2472,7 +2472,9 @@ function mobs:register_egg(mob, desc, background, addegg)
inventory_image = invimg,
on_place = function(itemstack, placer, pointed_thing)
if not minetest.check_player_privs(placer:get_player_name(), {server=true}) then -- MFF
return
end
local pos = pointed_thing.above
if pos

View File

@ -7,8 +7,8 @@ mobs:register_mob("mobs:chicken", {
-- is it aggressive
passive = true,
-- health & armor
hp_min = 5,
hp_max = 10,
hp_min = 4,
hp_max = 8,
armor = 200,
-- textures and model
collisionbox = {-0.3, -0.75, -0.3, 0.3, 0.1, 0.3},

View File

@ -1,6 +1,9 @@
-- Dungeon Master by PilzAdam
-- Node which cannot be destroyed by DungeonMasters' fireballs
local excluded = {"nether:netherrack","default:obsidian_glass","default:obsidian", "default:obsidian_cooled", "default:bedrock", "doors:door_steel_b_1", "doors:door_steel_t_1", "doors:door_steel_b_2", "doors:door_steel_t_2","default:chest_locked"}
mobs:register_mob("mobs:dungeon_master", {
-- animal, monster, npc, barbarian
type = "monster",
@ -92,7 +95,7 @@ mobs:register_arrow("mobs:fireball", {
}, nil)
end,
-- node hit, bursts into flame
-- node hit, bursts into flame (cannot blast through obsidian or protection redo mod items)
hit_node = function(self, pos, node)
mobs:explosion(pos, 1, 1, 0)
end