Imported from trollstream "ContentDB"
|
@ -0,0 +1,36 @@
|
|||
License of source code
|
||||
----------------------
|
||||
|
||||
Copyright (c) 2022 blocky_player.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
For more details:
|
||||
http://creativecommons.org/licenses/by-sa/3.0/
|
||||
|
||||
Textures
|
||||
--------
|
||||
|
||||
coquina.png
|
||||
dense_stone.png
|
||||
igneous_rock.png
|
||||
limestone.png
|
||||
marble.png
|
||||
marble_rock.png
|
||||
metamorphic_rock.png
|
||||
polished_marble.png
|
||||
sedimentary_rock.png
|
||||
shell.png
|
||||
|
||||
Code
|
||||
----
|
||||
|
||||
init.lua
|
|
@ -0,0 +1,6 @@
|
|||
ALL TEXTURES BY: Blocky_Player
|
||||
Textures:
|
||||
dense_stone.png
|
||||
marble.png
|
||||
marble_rock.png
|
||||
polished_marble.png
|
|
@ -0,0 +1,110 @@
|
|||
-- Please leave a review on Content Data Base
|
||||
minetest.register_node("more_stones:dense_stone", {
|
||||
description = ("Dense Stone"),
|
||||
tiles = {"dense_stone.png"},
|
||||
drop = {"default:stone"},
|
||||
groups = {cracky = 3, stone = 1, level = 2},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "more_stones:dense_stone 4",
|
||||
recipe = {
|
||||
{"default:stone_block", "default:stone"},
|
||||
{"default:stone", "default:stone_block"},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_node("more_stones:marble", {
|
||||
description = ("Marble"),
|
||||
tiles = {"marble.png"},
|
||||
drop = {"more_stones:marble_rock"},
|
||||
groups = {cracky = 3},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "more_stones:marble",
|
||||
recipe = {
|
||||
{"more_stones:marble_rock", "more_stones:marble_rock"},
|
||||
{"more_stones:marble_rock", "more_stones:marble_rock"},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craftitem("more_stones:marble_rock", {
|
||||
description = "Marble Rock",
|
||||
inventory_image = "marble_rock.png"
|
||||
})
|
||||
|
||||
minetest.register_node("more_stones:polished_marble", {
|
||||
description = ("Polished Marble"),
|
||||
tiles = {"polished_marble.png"},
|
||||
drop = {"more_stones:polished_marble"},
|
||||
groups = {cracky = 2},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "more_stones:polished_marble",
|
||||
recipe = {
|
||||
{"more_stones:marble", "more_stones:marble_rock"},
|
||||
{"more_stones:marble_rock", "more_stones:marble"},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_node("more_stones:sedimentary_rock", {
|
||||
description = ("Sedimentary Rock"),
|
||||
tiles = {"sedimentary_rock.png"},
|
||||
groups = {cracky = 2, crumbly = 1, not_in_creative_inventory = 1}, --blocks without a recipe are for learning purpouses. Use as examples of what certain types of rocks look like
|
||||
sounds = default.node_sound_dirt_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("more_stones:igneous_rock", {
|
||||
description = ("Igneous Rock"),
|
||||
tiles = {"igneous_rock.png"},
|
||||
groups = {cracky = 3, not_in_creative_inventory = 1},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("more_stones:metamorphic_rock", {
|
||||
description = ("Metamorphic Rock"),
|
||||
tiles = {"metamorphic_rock.png"},
|
||||
groups = {cracky = 3, not_in_creative_inventory = 1},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_craftitem("more_stones:shell", {
|
||||
description = "Shells",
|
||||
inventory_image = "shell.png",
|
||||
})
|
||||
|
||||
minetest.register_node("more_stones:coquina", {
|
||||
description = ("Coquina"),
|
||||
tiles = {"coquina.png"},
|
||||
groups = {cracky = 2, crumbly = 2},
|
||||
sounds = default.node_sound_dirt_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "more_stones:coquina",
|
||||
type = "shapeless",
|
||||
recipe = {
|
||||
"more_stones:shell",
|
||||
"more_stones:shell",
|
||||
"more_stones:shell",
|
||||
"more_stones:shell",
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_node("more_stones:lime_stone", {
|
||||
description = ("Limestone"),
|
||||
tiles = {"limestone.png"},
|
||||
groups = {cracky = 1},
|
||||
sounds = default.node_sound_dirt_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_craftitem("more_stones:bone", {
|
||||
description = "Bone",
|
||||
inventory_image = "bone.png",
|
||||
})
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
name = more_stones
|
||||
description = Adds some stones and blocks. Work in progress, will add naturally generated ores, as well as more blocks and variety in ores. Best for creative, and building, but also suitable for survival players.
|
||||
depends = default
|
After Width: | Height: | Size: 716 B |
After Width: | Height: | Size: 326 B |
After Width: | Height: | Size: 481 B |
After Width: | Height: | Size: 684 B |
After Width: | Height: | Size: 452 B |
After Width: | Height: | Size: 294 B |
After Width: | Height: | Size: 719 B |
After Width: | Height: | Size: 349 B |
After Width: | Height: | Size: 846 B |
After Width: | Height: | Size: 1.3 KiB |