mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-11-08 03:20:21 +01:00
Loads of fixs
This commit is contained in:
parent
544f628222
commit
3b28b09066
|
@ -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.")
|
||||
|
|
|
@ -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}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user