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

Loads of fixs

This commit is contained in:
LeMagnesium 2015-01-15 23:27:03 +01:00
parent 42885ee458
commit c75b3780ca
3 changed files with 3 additions and 3 deletions

View File

@ -169,7 +169,7 @@ function add_protected_bukket_liquid(nameofbukket,liquidsourcename)
return return
end end
-- Check if pointing to a buildable node -- Check if pointing to a buildable node
n = minetest.get_node(pointed_thing.under) local n = minetest.get_node(pointed_thing.under)
if is_protected_area(pointed_thing.under, 7 ,user:get_player_name()) then if is_protected_area(pointed_thing.under, 7 ,user:get_player_name()) then
minetest.chat_send_player(user:get_player_name(),"You cant place here - Too short of a protected area.") minetest.chat_send_player(user:get_player_name(),"You cant place here - Too short of a protected area.")

View File

@ -127,7 +127,7 @@ minetest.register_entity("clams:whiteshell", {
self.phase = 0 self.phase = 0
end end
self.object:setsprite({x=0, y=self.phase}) self.object:setsprite({x=0, y=self.phase})
phasearmor = { local phasearmor = {
[0]={fleshy=0}, [0]={fleshy=0},
[1]={fleshy=30}, [1]={fleshy=30},
[2]={fleshy=70} [2]={fleshy=70}

View File

@ -106,7 +106,7 @@ minetest.register_on_generated(function(minp, maxp, seed)
local plain = biome == 2 -- spawns not much local plain = biome == 2 -- spawns not much
local alpine = biome == 3 -- rocky terrain local alpine = biome == 3 -- rocky terrain
-- Water biomes -- Water biomes
biome2 = pr:next(1, 5) local biome2 = pr:next(1, 5)
local cool = biome == 1 -- only spawns ice on edge of water local cool = biome == 1 -- only spawns ice on edge of water
local icebergs = biome == 2 local icebergs = biome == 2
local icesheet = biome == 3 local icesheet = biome == 3