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:
parent
42885ee458
commit
c75b3780ca
@ -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.")
|
||||||
|
@ -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}
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user