1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-06-28 14:16:06 +02:00

initial commit

subgame + mods
This commit is contained in:
Ombridride
2014-10-28 18:01:32 +01:00
parent baab1b3f7c
commit 232b274c55
6451 changed files with 226156 additions and 0 deletions

13
mods/bedrock/LICENSE.txt Executable file
View File

@ -0,0 +1,13 @@
+---- zlib/libpng license ----+
Copyright (c) 2013-2014 Calinou and contributors
This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.
Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:
1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.

1
mods/bedrock/depends.txt Executable file
View File

@ -0,0 +1 @@
default

41
mods/bedrock/init.lua Executable file
View File

@ -0,0 +1,41 @@
minetest.register_ore({
ore_type = "scatter",
ore = "bedrock:bedrock",
wherein = "default:stone",
clust_scarcity = 1 * 1 * 1,
clust_num_ores = 5,
clust_size = 2,
height_min = -30912, -- Engine changes can modify this value.
height_max = -30656, -- This ensures the bottom of the world is not even loaded.
})
minetest.register_ore({
ore_type = "scatter",
ore = "bedrock:deepstone",
wherein = "default:stone",
clust_scarcity = 1 * 1 * 1,
clust_num_ores = 5,
clust_size = 2,
height_min = -30656,
height_max = -30000,
})
minetest.register_node("bedrock:bedrock", {
description = "Bedrock",
tile_images = {"bedrock_bedrock.png"},
drop = "",
groups = {unbreakable = 1, not_in_creative_inventory = 1}, -- For Map Tools' admin pickaxe.
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("bedrock:deepstone", {
description = "Deepstone",
tile_images = {"bedrock_deepstone.png"},
drop = "default:stone", -- Intended.
groups = {cracky = 1},
sounds = default.node_sound_stone_defaults(),
})
if minetest.setting_getbool("log_mods") then
minetest.log("action", "Carbone: [bedrock] loaded.")
end

Binary file not shown.

After

Width:  |  Height:  |  Size: 682 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 373 B