1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-06-28 06:11:47 +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

View File

@ -0,0 +1,4 @@
default
stairs
seastone
colormachine?

131
mods/sea/seastonebrick/init.lua Executable file
View File

@ -0,0 +1,131 @@
-- NODES
minetest.register_node("seastonebrick:seastonebrick", {
description = "Seastone brick",
tiles = {"seastonebrick_seastonebrick.png"},
is_ground_content = true,
groups = {cracky=2, stone=1},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("seastonebrick:seastonebrick_cyan", {
description = "Seastone brick cyan",
tiles = {"seastonebrick_seastonebrick_cyan.png"},
is_ground_content = true,
groups = {cracky=2, stone=1},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("seastonebrick:seastonebrick_magenta", {
description = "Seastone brick magenta",
tiles = {"seastonebrick_seastonebrick_magenta.png"},
is_ground_content = true,
groups = {cracky=2, stone=1},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("seastonebrick:seastonebrick_lime", {
description = "Seastone brick lime",
tiles = {"seastonebrick_seastonebrick_lime.png"},
is_ground_content = true,
groups = {cracky=2, stone=1},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("seastonebrick:seastonebrick_aqua", {
description = "Seastone brick aqua",
tiles = {"seastonebrick_seastonebrick_aqua.png"},
is_ground_content = true,
groups = {cracky=2, stone=1},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("seastonebrick:seastonebrick_skyblue", {
description = "Seastone brick skyblue",
tiles = {"seastonebrick_seastonebrick_skyblue.png"},
is_ground_content = true,
groups = {cracky=2, stone=1},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("seastonebrick:seastonebrick_redviolet", {
description = "Seastone brick redviolet",
tiles = {"seastonebrick_seastonebrick_redviolet.png"},
is_ground_content = true,
groups = {cracky=2, stone=1},
sounds = default.node_sound_stone_defaults(),
})
-- STAIRS
stairs.register_stair_and_slab("seastonebrick", "seastonebrick:seastonebrick",
{cracky=3, stone=1},
{"seastonebrick_seastonebrick.png"},
"Seastonebrick stair",
"Seastonebrick slab",
default.node_sound_stone_defaults())
stairs.register_stair_and_slab("seastonebrick_cyan", "seastonebrick:seastonebrick_cyan",
{cracky=3, stone=1},
{"seastonebrick_seastonebrick_cyan.png"},
"Seastonebrick stair cyan",
"Seastonebrick slab cyan",
default.node_sound_stone_defaults())
stairs.register_stair_and_slab("seastonebrick_magenta", "seastonebrick:seastonebrick_magenta",
{cracky=3, stone=1},
{"seastonebrick_seastonebrick_magenta.png"},
"Seastonebrick stair magenta",
"Seastonebrick slab magenta",
default.node_sound_stone_defaults())
stairs.register_stair_and_slab("seastonebrick_lime", "seastonebrick:seastonebrick_lime",
{cracky=3, stone=1},
{"seastonebrick_seastonebrick_lime.png"},
"Seastonebrick stair lime",
"Seastonebrick slab lime",
default.node_sound_stone_defaults())
stairs.register_stair_and_slab("seastonebrick_aqua", "seastonebrick:seastonebrick_aqua",
{cracky=3, stone=1},
{"seastonebrick_seastonebrick_aqua.png"},
"Seastonebrick stair aqua",
"Seastonebrick slab aqua",
default.node_sound_stone_defaults())
stairs.register_stair_and_slab("seastonebrick_skyblue", "seastonebrick:seastonebrick_skyblue",
{cracky=3, stone=1},
{"seastonebrick_seastonebrick_skyblue.png"},
"Seastonebrick stair skyblue ",
"Seastonebrick slab skyblue",
default.node_sound_stone_defaults())
stairs.register_stair_and_slab("seastonebrick_redviolet", "seastonebrick:seastonebrick_redviolet",
{cracky=3, stone=1},
{"seastonebrick_seastonebrick_redviolet.png"},
"Seastonebrick stair redviolet",
"Seastonebrick slab redviolet",
default.node_sound_stone_defaults())
-- CRAFTING
local register_blockbrick_craft = function(output,recipe)
minetest.register_craft({
output = output,
recipe = recipe,
})
end
register_blockbrick_craft("seastonebrick:seastonebrick", {{'seastone:seastone', 'seastone:seastone'}, {'seastone:seastone', 'seastone:seastone'}})
register_blockbrick_craft("seastonebrick:seastonebrick_cyan", {{'seastone:seastone_cyan', 'seastone:seastone_cyan'}, {'seastone:seastone_cyan', 'seastone:seastone_cyan'}})
register_blockbrick_craft("seastonebrick:seastonebrick_magenta", {{'seastone:seastone_magenta', 'seastone:seastone_magenta'}, {'seastone:seastone_magenta', 'seastone:seastone_magenta'}})
register_blockbrick_craft("seastonebrick:seastonebrick_lime", {{'seastone:seastone_lime', 'seastone:seastone_lime'}, {'seastone:seastone_lime', 'seastone:seastone_lime'}})
register_blockbrick_craft("seastonebrick:seastonebrick_aqua", {{'seastone:seastone_aqua', 'seastone:seastone_aqua'}, {'seastone:seastone_aqua', 'seastone:seastone_aqua'}})
register_blockbrick_craft("seastonebrick:seastonebrick_skyblue", {{'seastone:seastone_skyblue', 'seastone:seastone_skyblue'}, {'seastone:seastone_skyblue', 'seastone:seastone_skyblue'}})
register_blockbrick_craft("seastonebrick:seastonebrick_redviolet", {{'seastone:seastone_redviolet', 'seastone:seastone_redviolet'}, {'seastone:seastone_redviolet', 'seastone:seastone_redviolet'}})

View File

@ -0,0 +1,22 @@
Sounds:
sounds = default.node_sound_stone_defaults()
Copyright (C) 2010-2012 celeron55, Perttu Ahola <celeron55@gmail.com>
Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0)
http://creativecommons.org/licenses/by-sa/3.0/
Seastonebrick texture is partly based on:
.png's:
default_sandstonebrick.png
VanessaE (WTFPL)
Code:
minetest/games/minetest_game/mods/default/nodes.lua --> stonebrick
Copyright (C) 2011-2012 celeron55, Perttu Ahola <celeron55@gmail.com>
GNU Lesser General Public License as published by
the Free Software Foundation; either version 2.1 of the License, or
(at your option) any later version.

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB