mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-06-28 06:11:47 +02:00
Down the water, tweak the u-boots, exclude nodes
- Dungeon masters cannot destroy nodes in excluded table neither nodes of group unbreakable, neither nether's nodes. - Tweak of a global variable in seawrecks (aka. choosen_ingot) - Highlandpools create real lakes now, and not water flower over the floor.
This commit is contained in:
@ -99,7 +99,7 @@ minetest.register_node("seawrecks:ubootchest", {
|
||||
local amount_of_price = math.floor(math.random()*20)+1
|
||||
local ingot_price = {"default:steel_ingot","default:copper_ingot","default:gold_ingot","moreores:tin_ingot","moreores:silver_ingot"}
|
||||
local price_group = {"",""}
|
||||
choosen_ingot = math.floor(math.random()*10)+1
|
||||
local choosen_ingot = math.floor(math.random()*10)+1
|
||||
price_group[1] = ingot_price[choosen_ingot].." "..amount_of_price
|
||||
if (kind_of_price == 0) then -- Ingots AND mese
|
||||
price_group[2] = "default:mese_crystal "..math.floor(math.random()*6)+1
|
||||
|
Reference in New Issue
Block a user