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

Loads of fixs

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

View File

@ -169,7 +169,7 @@ function add_protected_bukket_liquid(nameofbukket,liquidsourcename)
return
end
-- 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
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
end
self.object:setsprite({x=0, y=self.phase})
phasearmor = {
local phasearmor = {
[0]={fleshy=0},
[1]={fleshy=30},
[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 alpine = biome == 3 -- rocky terrain
-- 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 icebergs = biome == 2
local icesheet = biome == 3