Compare commits
4 Commits
v1.4.1
...
nalc-1.2.0
Author | SHA1 | Date | |
---|---|---|---|
6dfddf7151 | |||
def6b91bd5 | |||
51a0c9dc13 | |||
aa228814b2 |
21
LICENSE.txt
@ -1,21 +0,0 @@
|
|||||||
MIT License
|
|
||||||
|
|
||||||
Copyright (c) 2025 adrido
|
|
||||||
|
|
||||||
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.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
||||||
SOFTWARE.
|
|
395
README.md
@ -1,14 +1,12 @@
|
|||||||
# DarkAge Mod for Minetest
|
# DarkAge Mod for Minetest
|
||||||
|
Original mod by Master Gollum
|
||||||
Original mod by Master Gollum
|
Modified by addi.
|
||||||
Modified by addi.
|
|
||||||
|
|
||||||
Contains code from CragiDavi and HybridDog
|
Contains code from CragiDavi and HybridDog
|
||||||
|
|
||||||
## Introduction
|
## Introduction:
|
||||||
|
|
||||||
This mod adds a few new blocks that allows to create new buildings in a
|
This mod adds a few new blocks that allows to create new buildings in a
|
||||||
pre industrial landscape. Of course, feel free to use them in any other
|
pre industrial landscape. Of course, feel free to use them in any other
|
||||||
construction :P
|
construction :P
|
||||||
|
|
||||||
It also provides more layers of stones. I tried not to turn mining in
|
It also provides more layers of stones. I tried not to turn mining in
|
||||||
@ -18,43 +16,392 @@ Contains code from CragiDavi and HybridDog
|
|||||||
Silt and Mud are more easy to find than stone layers, but if you find
|
Silt and Mud are more easy to find than stone layers, but if you find
|
||||||
one it will be a real mine, with all probability with hundreds of blocks.
|
one it will be a real mine, with all probability with hundreds of blocks.
|
||||||
|
|
||||||
I used mainly 4 square recipes to avoid collisions with other MODs,
|
I used mainly 4 square recipes to avoid collisions with other MODs,
|
||||||
anyway I have not checked all them, so it is possible that another
|
anyway I have not checked all them, so it is possible that another
|
||||||
person is already using one or more of this combinations.
|
person is already using one or more of this combinations.
|
||||||
|
|
||||||
I also used Desert Sand and Desert Stone, because they almost are not
|
I also used Desert Sand and Desert Stone, because they almost are not
|
||||||
used in the default version. Probably I will change this recipes in
|
used in the default version. Probably I will change this recipes in
|
||||||
next releases.
|
next releases.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Release Notes
|
## Release Notes
|
||||||
|
Version 1.2
|
||||||
|
|
||||||
### Version 1.4.1
|
* corrected Sounds of Stairs
|
||||||
|
* updated to new Moreblocks api
|
||||||
|
* added Serpentine Stairs
|
||||||
|
|
||||||
* Minor Bug fixes
|
Version 1.1
|
||||||
|
|
||||||
Full release notes: <https://github.com/adrido/darkage/releases>
|
* Fix spelling mistakes in README file
|
||||||
|
* Bug fix
|
||||||
|
* Rename slate_tale to slate_tile
|
||||||
|
* Remove unneeded code
|
||||||
|
* Add marble tile
|
||||||
|
* Remove unneeded code
|
||||||
|
* Capitalise a couple of descriptions
|
||||||
|
* Add marble tile texture
|
||||||
|
* Rename alias.lua to aliases.lua
|
||||||
|
|
||||||
## How to install
|
Version 1.0.1
|
||||||
|
|
||||||
|
* fixed init.lua which get broken by upload on github
|
||||||
|
|
||||||
|
|
||||||
|
Version 1.0
|
||||||
|
|
||||||
|
* compatibility with stairsplus added
|
||||||
|
* added new item iron_stick
|
||||||
|
* added craft reziep for iron stick
|
||||||
|
* changed reziep of iron_bars to avoid conflicts with iron bars mod
|
||||||
|
* changed reziep of chain to avoid conflicts with 3d furniture mod
|
||||||
|
* changed reziep of darkage:stonebrick to avoid conflicts with moreblocks
|
||||||
|
* disabled marble_tile to avoid the message "texture not found"
|
||||||
|
* added compatibility with stairsplus (now its moreblocks)
|
||||||
|
* added darkage:glass a nice looking glass that must be in this mod
|
||||||
|
* changed the sound_node_leaves_default to wood_default from box and wooden shelves
|
||||||
|
* added craft reziep for darkage:chalk
|
||||||
|
* improved the textures of reinforced wood and chalk to save a bit more loadtime on servers
|
||||||
|
* added another reziep for darkage straw (this can be crafted now, if farming is installed, with farming:harvested_weed
|
||||||
|
|
||||||
|
Version 0.3
|
||||||
|
|
||||||
|
* 29 Nodes + 3 Craft Items
|
||||||
|
* Furniture and building decoration
|
||||||
|
* Stone layers
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Version 0.2
|
||||||
|
|
||||||
|
* 13 Nodes
|
||||||
|
* Sedimentary stones
|
||||||
|
|
||||||
|
|
||||||
|
Version 0.1
|
||||||
|
|
||||||
|
* 6 Nodes
|
||||||
|
|
||||||
|
|
||||||
|
### How to install:
|
||||||
Unzip the archive an place it in minetest-base-directory/mods/
|
Unzip the archive an place it in minetest-base-directory/mods/
|
||||||
if you have a windows client or a linux run-in-place client. If you
|
if you have a windows client or a linux run-in-place client. If you
|
||||||
have a linux system-wide installation place it in
|
have a linux system-wide installation place it in
|
||||||
~/.minetest/mods/.
|
~/.minetest/mods/.
|
||||||
If you want to install this mod only in one world create the folder
|
If you want to install this mod only in one world create the folder
|
||||||
worldmods/ in your worlddirectory. Remember to activate it for your world by pressing the 'configure' button and doubleclick darkage in the right list.
|
worldmods/ in your worlddirectory. Remember to activate it for your world by pressing the 'configure' button and doubleclick darkage in the right list.
|
||||||
For further information or help see:
|
For further information or help see:
|
||||||
<http://wiki.minetest.net/Installing_Mods>
|
http://wiki.minetest.net/Installing_Mods
|
||||||
|
|
||||||
## Wiki
|
## BUILDING NODES
|
||||||
|
|
||||||
For Building-blocks and crafting information please take a look to the wiki:
|
### Adobe:
|
||||||
<https://github.com/adrido/darkage/wiki>
|
Sand and Clay mixture with Straw to build houses or walls.
|
||||||
|
Used from historical times, one of the first bricks
|
||||||
|
invented. I have to improve this texture, it is ugly :P
|
||||||
|
|
||||||
## License
|
CRAFT -> 4
|
||||||
|
[Sand] [Sand]
|
||||||
|
[Clay Lump] [Straw]
|
||||||
|
|
||||||
Sourcecode: MIT
|
|
||||||
Graphics: CC-0
|
|
||||||
|
|
||||||
## See also
|
### Basalt:
|
||||||
|
A darken version of the default Stone
|
||||||
|
|
||||||
|
COOKING
|
||||||
|
[Basalt Rubble]
|
||||||
|
|
||||||
<https://www.luanti.org/>
|
|
||||||
|
### Basalt Rubble:
|
||||||
|
A darken version of the default Cobble.
|
||||||
|
|
||||||
|
CRAFT -> 4
|
||||||
|
[Cobble] [Cobble]
|
||||||
|
[Coal Lump] [Coal Lump]
|
||||||
|
|
||||||
|
|
||||||
|
### Chalk:
|
||||||
|
A soft, white and porous sedimentary rock. It becomes
|
||||||
|
Chalk Powder when dug. Can't be craft, only found as stratum.
|
||||||
|
|
||||||
|
|
||||||
|
### Chalk Powder:
|
||||||
|
Pile of chalk from digging Chalk stones. Can
|
||||||
|
be used to prepare plaster. See Cobblestone with Plaster.
|
||||||
|
|
||||||
|
|
||||||
|
### Cobblestone with Plaster:
|
||||||
|
Cobbles where has been applied a
|
||||||
|
layer of white plaster.
|
||||||
|
When dug it lost the plaster layer!
|
||||||
|
|
||||||
|
CRAFT -> 2
|
||||||
|
[Cobblestone] [Chalk Powder]
|
||||||
|
[Cobblestone] [Chalk Powder]
|
||||||
|
|
||||||
|
|
||||||
|
### Dark Dirt:
|
||||||
|
A darken version of the Dirt where the grass doesn't
|
||||||
|
grown, perfect for create a path in a forest. I was using
|
||||||
|
Gravel, but the noise walking was annoying to me (like
|
||||||
|
walking over iron coal with the nude feet :P), for this I
|
||||||
|
created this node.
|
||||||
|
|
||||||
|
CRAFT -> 4
|
||||||
|
[Dirt] [Dirt]
|
||||||
|
[Gravel] [Gravel]
|
||||||
|
|
||||||
|
|
||||||
|
### Desert Iron Ore:
|
||||||
|
I know that others MODs add ores to the
|
||||||
|
Desert Stones, mine also does it, but just Iron, I supposed
|
||||||
|
the red color is because of the iron, so it goes with more
|
||||||
|
high probability than regular Stones and it doesn't add
|
||||||
|
Coal to them. It will not be a lot so you can keep it with
|
||||||
|
another MOD that does the same or just comment the lines that
|
||||||
|
does it.
|
||||||
|
|
||||||
|
|
||||||
|
### Dry Leaves:
|
||||||
|
Just a cube of Leaves toasted :P Well I found the
|
||||||
|
Leaves are not useful so I thought to turn them into Straw, ok
|
||||||
|
it is not the same, but well, why not? Just dry them in a
|
||||||
|
Furnace and then put together to create the Straw
|
||||||
|
|
||||||
|
COOKING
|
||||||
|
[Leaves]
|
||||||
|
|
||||||
|
|
||||||
|
### Gneiss:
|
||||||
|
High grade metamorphic rock formed from Schist, very
|
||||||
|
common, and used in construction. It sometimes brakes in
|
||||||
|
Gneiss Rubble when being dug.
|
||||||
|
|
||||||
|
COOKING
|
||||||
|
[Schist]
|
||||||
|
|
||||||
|
|
||||||
|
### Gneiss Rubble:
|
||||||
|
Cobble version of the gneiss.
|
||||||
|
|
||||||
|
From dig gneiss
|
||||||
|
|
||||||
|
|
||||||
|
### Mud:
|
||||||
|
Mixture of water and some combination of soil, silt, and
|
||||||
|
clay. Used for build houses, specially in desert regions.
|
||||||
|
It brakes in 4 Mud Lumps when dug.
|
||||||
|
|
||||||
|
CRAFT -> 3
|
||||||
|
[Dirt] [Dirt]
|
||||||
|
[Clay Lump] [Silt Lump]
|
||||||
|
|
||||||
|
CRAFT -> 1
|
||||||
|
[Mud Lump] [Mud Lump]
|
||||||
|
[Mud Lump] [Mud Lump]
|
||||||
|
|
||||||
|
|
||||||
|
### Old Red Sandstone:
|
||||||
|
A light red sandstone, in fact it's
|
||||||
|
sandstone with iron that gives it this color.
|
||||||
|
|
||||||
|
CRAFT -> 4
|
||||||
|
[Sandstone] [Sandstone]
|
||||||
|
[Iron Lump] [Sandstone]
|
||||||
|
|
||||||
|
COOKING
|
||||||
|
[Old Red Sandstone Rubble]
|
||||||
|
|
||||||
|
|
||||||
|
### Old Red Sandstone Rubble:
|
||||||
|
Cobbles of Old Red Sandstone.
|
||||||
|
|
||||||
|
CRAFT -> 4
|
||||||
|
[Sandstone] [Sandstone]
|
||||||
|
[Iron Lump] [Sandstone]
|
||||||
|
|
||||||
|
|
||||||
|
### Reinforced Cobble:
|
||||||
|
Brick with crossed wooden.
|
||||||
|
|
||||||
|
CRAFT -> 1
|
||||||
|
[Stick] [] [Stick]
|
||||||
|
[] [Cobble] []
|
||||||
|
[Stick] [] [Stick]
|
||||||
|
|
||||||
|
|
||||||
|
### Schist:
|
||||||
|
Medium grade metamorphic rock from Slate.
|
||||||
|
|
||||||
|
COOKING
|
||||||
|
[Slate]
|
||||||
|
|
||||||
|
|
||||||
|
### Silt:
|
||||||
|
Granular material of a size somewhere between sand and clay.
|
||||||
|
It brakes in 4 Silt Lumps.
|
||||||
|
|
||||||
|
CRAFT -> 1
|
||||||
|
[Silt Lump] [Silt Lump]
|
||||||
|
[Silt Lump] [Silt Lump]
|
||||||
|
|
||||||
|
|
||||||
|
### Slate:
|
||||||
|
Fine-grained, foliated, homogeneous metamorphic rock
|
||||||
|
derived from an original shale-type sedimentary rock through
|
||||||
|
low-grade regional metamorphism. It is used to build roof.
|
||||||
|
|
||||||
|
COOKING
|
||||||
|
[Shale]
|
||||||
|
|
||||||
|
COOKING
|
||||||
|
[Slate Cobble]
|
||||||
|
|
||||||
|
|
||||||
|
### Slate Rubble:
|
||||||
|
Cobble obtained from Slate
|
||||||
|
|
||||||
|
From dig Slate
|
||||||
|
|
||||||
|
|
||||||
|
### Slate Tile:
|
||||||
|
Nice blue slate tiles for roofs. They has been used
|
||||||
|
as building traditional building material in zones where
|
||||||
|
slate is easy to find.
|
||||||
|
Note: It has stairs and slabs.
|
||||||
|
|
||||||
|
CRAFT -> 2
|
||||||
|
[Slate Rubble] [Slate Rubble]
|
||||||
|
[Slate Rubble] [Slate Rubble]
|
||||||
|
|
||||||
|
|
||||||
|
### Straw Bale:
|
||||||
|
A decoration item, looks great for a farm or a
|
||||||
|
country side house.
|
||||||
|
|
||||||
|
CRAFT -> 1
|
||||||
|
[Straw] [Straw]
|
||||||
|
[Straw] [Straw]
|
||||||
|
|
||||||
|
|
||||||
|
### Desert Stone:
|
||||||
|
Just the default block, it can be obtained now
|
||||||
|
from Desert Sand. The idea is that Desert Sand is stonier
|
||||||
|
than regular Sand, so it takes less to create a Desert
|
||||||
|
Stone than a Sandstone.
|
||||||
|
|
||||||
|
CRAFT -> 2
|
||||||
|
[Sandstone] [Sandstone]
|
||||||
|
[Sandstone] [Sandstone]
|
||||||
|
|
||||||
|
|
||||||
|
##FURNITURE NODES
|
||||||
|
Just started so they are few ones
|
||||||
|
|
||||||
|
### Box:
|
||||||
|
A more smaller container than the Chest, but it requires
|
||||||
|
less wood. As cheep as 4 woods and have 16 slots. The craft
|
||||||
|
is a little weird but I think it makes sense and avoids
|
||||||
|
collision with the recipe of Hardwood of the MOD
|
||||||
|
building_blocks.
|
||||||
|
|
||||||
|
CRAFT -> 2
|
||||||
|
[Wood] [] [Wood]
|
||||||
|
[] [] []
|
||||||
|
[Wood] [] [Wood]
|
||||||
|
|
||||||
|
### Chain:
|
||||||
|
Climbable chain.
|
||||||
|
|
||||||
|
CRAFT -> 2
|
||||||
|
[Steel Ingot]
|
||||||
|
[Steel Ingot]
|
||||||
|
[Steel Ingot]
|
||||||
|
|
||||||
|
|
||||||
|
### Iron Bars:
|
||||||
|
Alternative window for the Glass.
|
||||||
|
|
||||||
|
CRAFT -> 3
|
||||||
|
[Iron Stick] [] [Iron Stick]
|
||||||
|
[Iron Stick] [] [Iron Stick]
|
||||||
|
[Iron Stick] [] [Iron Stick]
|
||||||
|
|
||||||
|
|
||||||
|
###Iron Grille:
|
||||||
|
Alternative window for the Glass.
|
||||||
|
|
||||||
|
CRAFT -> 3
|
||||||
|
[] [Iron Bars] []
|
||||||
|
[Iron Bars] [] [Iron Bars]
|
||||||
|
[] [Iron Bars] []
|
||||||
|
|
||||||
|
|
||||||
|
###Wood Bars:
|
||||||
|
Alternative window for the Glass.
|
||||||
|
|
||||||
|
CRAFT -> 3
|
||||||
|
[Stick] [] [Stick]
|
||||||
|
[Stick] [] [Stick]
|
||||||
|
[Stick] [] [Stick]
|
||||||
|
|
||||||
|
|
||||||
|
###Wood Frame:
|
||||||
|
Alternative window for the Glass.
|
||||||
|
|
||||||
|
CRAFT -> 1
|
||||||
|
[Stick] [Stick] [Stick]
|
||||||
|
[Stick] [Glass] [Stick]
|
||||||
|
[Stick] [Stick] [Stick]
|
||||||
|
|
||||||
|
|
||||||
|
### Medieval Glass:
|
||||||
|
A good looking glass, with small tiles
|
||||||
|
|
||||||
|
CRAFT -> 8
|
||||||
|
[Glass] [steel_ingot] [Glass]
|
||||||
|
[steel_ingot] [Glass] [steel_ingot]
|
||||||
|
[Glass] [steel_ingot] [Glass]
|
||||||
|
|
||||||
|
or:
|
||||||
|
CRAFT -> 1
|
||||||
|
[Medieval Glow Glass]
|
||||||
|
|
||||||
|
|
||||||
|
### Medieval Glow Glass:
|
||||||
|
A good looking glass, with small tiles which are glowing by itself
|
||||||
|
|
||||||
|
CRAFT -> 8
|
||||||
|
[Medieval Glass]
|
||||||
|
[torch]
|
||||||
|
|
||||||
|
|
||||||
|
##License:
|
||||||
|
Sourcecode: WTFPL (see below)
|
||||||
|
Graphics: WTFPL (see below)
|
||||||
|
|
||||||
|
#See also:
|
||||||
|
http://minetest.net/
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
#!
|
||||||
|
|
||||||
|
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
|
||||||
|
Version 2, December 2004
|
||||||
|
|
||||||
|
Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
|
||||||
|
|
||||||
|
Everyone is permitted to copy and distribute verbatim or modified
|
||||||
|
copies of this license document, and changing it is allowed as long
|
||||||
|
as the name is changed.
|
||||||
|
|
||||||
|
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
|
||||||
|
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||||
|
|
||||||
|
0. You just DO WHAT THE FUCK YOU WANT TO.
|
||||||
|
```
|
@ -78,6 +78,8 @@ register_moreblocks_alias("darkage:slate_tale", "darkage:slate_tile")
|
|||||||
|
|
||||||
-- Basalt Brick
|
-- Basalt Brick
|
||||||
minetest.register_alias("darkage:basalt_cobble", "darkage:basalt_brick")
|
minetest.register_alias("darkage:basalt_cobble", "darkage:basalt_brick")
|
||||||
|
minetest.register_alias("stairs:slab_basalt_cobble", "stairs:slab_basalt_brick")
|
||||||
|
minetest.register_alias("stairs:stair_basalt_cobble", "stairs:stair_basalt_brick")
|
||||||
register_moreblocks_alias("darkage:basalt_cobble", "darkage:basalt_brick")
|
register_moreblocks_alias("darkage:basalt_cobble", "darkage:basalt_brick")
|
||||||
minetest.register_alias("darkage:basalt_cobble_wall", "darkage:basalt_rubble_wall")
|
minetest.register_alias("darkage:basalt_cobble_wall", "darkage:basalt_rubble_wall")
|
||||||
|
|
||||||
|
146
glass.lua
@ -12,10 +12,10 @@ minetest.register_node("darkage:glass", {
|
|||||||
description = "Clean Medieval Glass",
|
description = "Clean Medieval Glass",
|
||||||
drawtype = "glasslike",
|
drawtype = "glasslike",
|
||||||
tiles = {"darkage_glass.png"},
|
tiles = {"darkage_glass.png"},
|
||||||
use_texture_alpha = "clip",
|
use_texture_alpha=false,
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
groups = {cracky = 3, oddly_breakable_by_hand = 3, not_cuttable = 1},
|
groups = {cracky = 3, oddly_breakable_by_hand = 3, not_cuttable=1},
|
||||||
sounds = default.node_sound_glass_defaults(),
|
sounds = default.node_sound_glass_defaults(),
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -28,15 +28,17 @@ minetest.register_craft({
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
--[[ Round Glass By Semmett9 aka Infinatum ]]
|
||||||
|
|
||||||
minetest.register_node("darkage:glass_round", {
|
minetest.register_node("darkage:glass_round", {
|
||||||
description = "Round Glass",
|
description = "Round Glass",
|
||||||
drawtype = "glasslike",
|
drawtype = "glasslike",
|
||||||
tiles = {"darkage_glass_round.png"},
|
tiles = { "darkage_glass_round.png" },
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
use_texture_alpha = "clip",
|
use_texture_alpha = true,
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
sounds = default.node_sound_glass_defaults(),
|
sounds = default.node_sound_glass_defaults(),
|
||||||
groups = {cracky = 3, oddly_breakable_by_hand = 3, not_cuttable = 1},
|
groups = {cracky=3,oddly_breakable_by_hand=3, not_cuttable=1},
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
@ -53,20 +55,20 @@ minetest.register_craft({
|
|||||||
minetest.register_node("darkage:glass_square", {
|
minetest.register_node("darkage:glass_square", {
|
||||||
description = "Square Glass",
|
description = "Square Glass",
|
||||||
drawtype = "glasslike",
|
drawtype = "glasslike",
|
||||||
tiles = {"darkage_glass_square.png"},
|
tiles = { "darkage_glass_square.png" },
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
use_texture_alpha = "clip",
|
use_texture_alpha = true,
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
sounds = default.node_sound_glass_defaults(),
|
sounds = default.node_sound_glass_defaults(),
|
||||||
groups = {cracky = 3, oddly_breakable_by_hand = 3, not_cuttable = 1},
|
groups = {cracky=3,oddly_breakable_by_hand=3, not_cuttable=1},
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "darkage:glass_square 8",
|
output = "darkage:glass_square 8",
|
||||||
recipe = {
|
recipe = {
|
||||||
{"default:glass", "default:steel_ingot", "default:glass"},
|
{"default:glass", "default:steel_ingot", "default:glass"},
|
||||||
{"default:steel_ingot", "default:steel_ingot", "default:steel_ingot"},
|
{"default:steel_ingot", "default:steel_ingot", "default:steel_ingot"},
|
||||||
{"default:glass", "default:steel_ingot", "default:glass"},
|
{"default:glass", "default:steel_ingot", "default:glass"},
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -81,18 +83,18 @@ minetest.register_node("darkage:glow_glass", {
|
|||||||
description = "Medieval Glow Glass",
|
description = "Medieval Glow Glass",
|
||||||
drawtype = "glasslike",
|
drawtype = "glasslike",
|
||||||
tiles = {"darkage_glass.png"},
|
tiles = {"darkage_glass.png"},
|
||||||
use_texture_alpha = "clip",
|
use_texture_alpha=true,
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
light_source = default.LIGHT_MAX - 3,
|
light_source = default.LIGHT_MAX-3,
|
||||||
groups = {cracky = 3, oddly_breakable_by_hand = 3, not_cuttable = 1},
|
groups = {cracky = 3, oddly_breakable_by_hand = 3, not_cuttable=1},
|
||||||
sounds = default.node_sound_glass_defaults(),
|
sounds = default.node_sound_glass_defaults(),
|
||||||
inventory_image = minetest.inventorycube("darkage_glow_glass.png")
|
inventory_image = minetest.inventorycube("darkage_glow_glass.png")
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "darkage:glow_glass 1",
|
output = "darkage:glow_glass 1",
|
||||||
type = "shaped",
|
type = "shaped",
|
||||||
recipe = {
|
recipe = {
|
||||||
{"darkage:glass"},
|
{"darkage:glass"},
|
||||||
{"default:torch"}
|
{"default:torch"}
|
||||||
@ -102,7 +104,7 @@ minetest.register_craft({
|
|||||||
-- Recycling
|
-- Recycling
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "darkage:glass 1",
|
output = "darkage:glass 1",
|
||||||
type = "shaped",
|
type = "shaped",
|
||||||
recipe = {{"darkage:glow_glass"}},
|
recipe = {{"darkage:glow_glass"}},
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -112,21 +114,21 @@ minetest.register_node("darkage:glow_glass_round", {
|
|||||||
description = "Medieval Round Glow Glass",
|
description = "Medieval Round Glow Glass",
|
||||||
drawtype = "glasslike",
|
drawtype = "glasslike",
|
||||||
tiles = {"darkage_glass_round.png"},
|
tiles = {"darkage_glass_round.png"},
|
||||||
use_texture_alpha = "clip",
|
use_texture_alpha=true,
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
light_source = default.LIGHT_MAX - 3,
|
light_source = default.LIGHT_MAX-3,
|
||||||
groups = {cracky = 3, oddly_breakable_by_hand = 3, not_cuttable = 1},
|
groups = {cracky = 3, oddly_breakable_by_hand = 3, not_cuttable=1},
|
||||||
sounds = default.node_sound_glass_defaults(),
|
sounds = default.node_sound_glass_defaults(),
|
||||||
inventory_image = minetest.inventorycube("darkage_glow_glass_round.png")
|
inventory_image = minetest.inventorycube("darkage_glow_glass_round.png")
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "darkage:glow_glass_round 1",
|
output = "darkage:glow_glass_round 1",
|
||||||
type = "shaped",
|
type = "shaped",
|
||||||
recipe = {
|
recipe = {
|
||||||
{"darkage:glass_round"},
|
{"darkage:glass_round"},
|
||||||
{"default:torch"}
|
{"default:torch"}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -139,31 +141,31 @@ minetest.register_craft({
|
|||||||
--]] Square Glow Glass ]]
|
--]] Square Glow Glass ]]
|
||||||
|
|
||||||
minetest.register_node("darkage:glow_glass_square", {
|
minetest.register_node("darkage:glow_glass_square", {
|
||||||
description = "Medieval Square Glow Glass",
|
description = "Medieval Square Glow Glass",
|
||||||
drawtype = "glasslike",
|
drawtype = "glasslike",
|
||||||
tiles = {"darkage_glass_square.png"},
|
tiles = {"darkage_glass_square.png"},
|
||||||
use_texture_alpha = "clip",
|
use_texture_alpha=true,
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
light_source = default.LIGHT_MAX - 3,
|
light_source = default.LIGHT_MAX-3,
|
||||||
groups = {cracky = 3, oddly_breakable_by_hand = 3, not_cuttable = 1},
|
groups = {cracky = 3, oddly_breakable_by_hand = 3, not_cuttable=1},
|
||||||
sounds = default.node_sound_glass_defaults(),
|
sounds = default.node_sound_glass_defaults(),
|
||||||
inventory_image = minetest.inventorycube("darkage_glow_glass_square.png")
|
inventory_image = minetest.inventorycube("darkage_glow_glass_square.png")
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "darkage:glow_glass_square 1",
|
output = "darkage:glow_glass_square 1",
|
||||||
type = "shaped",
|
type = "shaped",
|
||||||
recipe = {
|
recipe = {
|
||||||
{"darkage:glass_square"},
|
{"darkage:glass_square"},
|
||||||
{"default:torch"},
|
{"default:torch"},
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
--Recycling
|
--Recycling
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "darkage:glass_square 1",
|
output = "darkage:glass_square 1",
|
||||||
recipe = {{"darkage:glow_glass_square"}}
|
recipe = {{"darkage:glow_glass_square"}}
|
||||||
})
|
})
|
||||||
|
|
||||||
--[[
|
--[[
|
||||||
@ -179,27 +181,33 @@ if minetest.get_modpath("unifieddyes") then
|
|||||||
description = "Milky Medieval Glass (Good for colorization)",
|
description = "Milky Medieval Glass (Good for colorization)",
|
||||||
drawtype = "glasslike",
|
drawtype = "glasslike",
|
||||||
tiles = {"darkage_milk_glass.png"},
|
tiles = {"darkage_milk_glass.png"},
|
||||||
use_texture_alpha = "blend",
|
use_texture_alpha=true,
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "color",
|
paramtype2 = "color",
|
||||||
palette = "unifieddyes_palette_extended.png",
|
palette = "unifieddyes_palette_extended.png",
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
groups = {cracky = 3, oddly_breakable_by_hand = 3, not_cuttable = 1, ud_param2_colorable = 1},
|
groups = {cracky = 3, oddly_breakable_by_hand = 3, not_cuttable=1, ud_param2_colorable = 1},
|
||||||
sounds = default.node_sound_glass_defaults()
|
sounds = default.node_sound_glass_defaults()
|
||||||
})
|
})
|
||||||
|
|
||||||
unifieddyes.register_color_craft({
|
minetest.register_craft({
|
||||||
output = "darkage:milk_glass",
|
output = "darkage:milk_glass",
|
||||||
palette = "extended",
|
|
||||||
type = "shapeless",
|
type = "shapeless",
|
||||||
neutral_node = "darkage:glass",
|
recipe = {"darkage:glass", "dye:white"}
|
||||||
recipe = {
|
|
||||||
"NEUTRAL_NODE",
|
|
||||||
"MAIN_DYE"
|
|
||||||
}
|
|
||||||
})
|
})
|
||||||
|
|
||||||
-- Recycling
|
unifieddyes.register_color_craft({
|
||||||
|
output = "darkage:milk_glass",
|
||||||
|
palette = "extended",
|
||||||
|
type = "shapeless",
|
||||||
|
neutral_node = "",
|
||||||
|
recipe = {
|
||||||
|
"darkage:milk_glass",
|
||||||
|
"MAIN_DYE"
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
-- Recycling
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "darkage:glass 1",
|
output = "darkage:glass 1",
|
||||||
recipe = {{"darkage:milk_glass"}}
|
recipe = {{"darkage:milk_glass"}}
|
||||||
@ -211,26 +219,32 @@ if minetest.get_modpath("unifieddyes") then
|
|||||||
description = "Milky Medieval Round Glass (Good for colorization)",
|
description = "Milky Medieval Round Glass (Good for colorization)",
|
||||||
drawtype = "glasslike",
|
drawtype = "glasslike",
|
||||||
tiles = {"darkage_milk_glass_round.png"},
|
tiles = {"darkage_milk_glass_round.png"},
|
||||||
use_texture_alpha = "blend",
|
use_texture_alpha=true,
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "color",
|
paramtype2 = "color",
|
||||||
palette = "unifieddyes_palette_extended.png",
|
palette = "unifieddyes_palette_extended.png",
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
groups = {cracky = 3, oddly_breakable_by_hand = 3, not_cuttable = 1, ud_param2_colorable = 1},
|
groups = {cracky = 3, oddly_breakable_by_hand = 3, not_cuttable=1, ud_param2_colorable = 1},
|
||||||
sounds = default.node_sound_glass_defaults()
|
sounds = default.node_sound_glass_defaults()
|
||||||
})
|
})
|
||||||
|
-- Craft
|
||||||
unifieddyes.register_color_craft({
|
minetest.register_craft({
|
||||||
output = "darkage:milk_glass_round",
|
output = "darkage:milk_glass_round",
|
||||||
palette = "extended",
|
|
||||||
type = "shapeless",
|
type = "shapeless",
|
||||||
neutral_node = "darkage:glass_round",
|
recipe = {"darkage:glass_round", "dye:white"},
|
||||||
recipe = {
|
|
||||||
"NEUTRAL_NODE",
|
|
||||||
"MAIN_DYE"
|
|
||||||
}
|
|
||||||
})
|
})
|
||||||
|
|
||||||
|
unifieddyes.register_color_craft({
|
||||||
|
output = "darkage:milk_glass_round",
|
||||||
|
palette = "extended",
|
||||||
|
type = "shapeless",
|
||||||
|
neutral_node = "",
|
||||||
|
recipe = {
|
||||||
|
"darkage:milk_glass_round",
|
||||||
|
"MAIN_DYE"
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
-- Recycling
|
-- Recycling
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "darkage:glass_round 1",
|
output = "darkage:glass_round 1",
|
||||||
@ -243,12 +257,12 @@ if minetest.get_modpath("unifieddyes") then
|
|||||||
description = "Milky Medieval Square Glass (Good for colorization)",
|
description = "Milky Medieval Square Glass (Good for colorization)",
|
||||||
drawtype = "glasslike",
|
drawtype = "glasslike",
|
||||||
tiles = {"darkage_milk_glass_square.png"},
|
tiles = {"darkage_milk_glass_square.png"},
|
||||||
use_texture_alpha = "blend",
|
use_texture_alpha=true,
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "color",
|
paramtype2 = "color",
|
||||||
palette = "unifieddyes_palette_extended.png",
|
palette = "unifieddyes_palette_extended.png",
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
groups = {cracky = 3, oddly_breakable_by_hand = 3, not_cuttable = 1, ud_param2_colorable = 1},
|
groups = {cracky = 3, oddly_breakable_by_hand = 3, not_cuttable=1, ud_param2_colorable = 1},
|
||||||
sounds = default.node_sound_glass_defaults()
|
sounds = default.node_sound_glass_defaults()
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -260,13 +274,13 @@ if minetest.get_modpath("unifieddyes") then
|
|||||||
})
|
})
|
||||||
|
|
||||||
unifieddyes.register_color_craft({
|
unifieddyes.register_color_craft({
|
||||||
output = "darkage:milk_glass_square",
|
output = "darkage:milk_glass_square",
|
||||||
palette = "extended",
|
palette = "extended",
|
||||||
type = "shapeless",
|
type = "shapeless",
|
||||||
neutral_node = "darkage:glass_square",
|
neutral_node = "",
|
||||||
recipe = {
|
recipe = {
|
||||||
"NEUTRAL_NODE",
|
"darkage:milk_glass_square",
|
||||||
"MAIN_DYE"
|
"MAIN_DYE"
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
2
init.lua
@ -384,3 +384,5 @@ minetest.register_craft({
|
|||||||
{"darkage:rhyolitic_tuff", "darkage:rhyolitic_tuff"},
|
{"darkage:rhyolitic_tuff", "darkage:rhyolitic_tuff"},
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
minetest.log("action", "[darkage] loaded.")
|
||||||
|
10
mapgen.lua
@ -153,10 +153,11 @@ local function generate_claylike(data, varea, name, minp, maxp, seed, chance, mi
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
local seed = minetest.get_mapgen_setting("seed")
|
local mgparams = minetest.get_mapgen_params()
|
||||||
|
local seed = mgparams.seed
|
||||||
|
|
||||||
|
|
||||||
-- Generate desert stone with iron in derset.
|
--[[ Generate desert stone with iron in derset.
|
||||||
minetest.register_ore({
|
minetest.register_ore({
|
||||||
ore_type = "scatter",
|
ore_type = "scatter",
|
||||||
ore = "darkage:desert_stone_with_iron",
|
ore = "darkage:desert_stone_with_iron",
|
||||||
@ -167,6 +168,7 @@ minetest.register_ore({
|
|||||||
y_min = -1,
|
y_min = -1,
|
||||||
y_max = 200,
|
y_max = 200,
|
||||||
})
|
})
|
||||||
|
]]--
|
||||||
|
|
||||||
-- Generate chalk inside mountains
|
-- Generate chalk inside mountains
|
||||||
minetest.register_ore({
|
minetest.register_ore({
|
||||||
@ -190,7 +192,7 @@ minetest.register_ore({
|
|||||||
minetest.register_ore({
|
minetest.register_ore({
|
||||||
ore_type = "sheet",
|
ore_type = "sheet",
|
||||||
ore = "darkage:tuff",
|
ore = "darkage:tuff",
|
||||||
wherein = {"default:stone", "default:dirt", "default:gravel", "default:stone_with_coal"},
|
wherein = {"default:stone", "default:needs_dirt", "default:gravel", "default:stone_with_coal"},
|
||||||
column_height_max = 20,
|
column_height_max = 20,
|
||||||
column_height_min = 15,
|
column_height_min = 15,
|
||||||
y_min = -200,
|
y_min = -200,
|
||||||
@ -209,7 +211,7 @@ minetest.register_ore({
|
|||||||
minetest.register_ore({
|
minetest.register_ore({
|
||||||
ore_type = "sheet",
|
ore_type = "sheet",
|
||||||
ore = "darkage:rhyolitic_tuff",
|
ore = "darkage:rhyolitic_tuff",
|
||||||
wherein = {"default:stone", "default:dirt", "default:gravel", "default:stone_with_coal"},
|
wherein = {"default:stone", "default:needs_dirt", "default:gravel", "default:stone_with_coal"},
|
||||||
column_height_max = 20,
|
column_height_max = 20,
|
||||||
column_height_min = 15,
|
column_height_min = 15,
|
||||||
y_min = -2000,
|
y_min = -2000,
|
||||||
|
6
mod.conf
@ -1,6 +0,0 @@
|
|||||||
name = darkage
|
|
||||||
title = DarkAge
|
|
||||||
description = DarkAge adds several new nodes and crafts to create a pre industrial landscape. It also extends the stones and provides new construction materials.
|
|
||||||
depends= default, farming
|
|
||||||
optional_depends = moreblocks, stairs, unifieddyes
|
|
||||||
min_minetest_version = 5.3
|
|
@ -110,7 +110,7 @@ minetest.register_lbm({
|
|||||||
end
|
end
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node("darkage:desert_stone_with_iron", {
|
--[[minetest.register_node("darkage:desert_stone_with_iron", {
|
||||||
description = "Desert Iron Ore",
|
description = "Desert Iron Ore",
|
||||||
tiles = {"default_desert_stone.png^default_mineral_iron.png"},
|
tiles = {"default_desert_stone.png^default_mineral_iron.png"},
|
||||||
is_ground_content = true,
|
is_ground_content = true,
|
||||||
@ -118,6 +118,7 @@ minetest.register_node("darkage:desert_stone_with_iron", {
|
|||||||
drop = 'default:iron_lump',
|
drop = 'default:iron_lump',
|
||||||
sounds = default.node_sound_stone_defaults(),
|
sounds = default.node_sound_stone_defaults(),
|
||||||
})
|
})
|
||||||
|
]]--
|
||||||
|
|
||||||
minetest.register_node("darkage:darkdirt", {
|
minetest.register_node("darkage:darkdirt", {
|
||||||
description = "Dark Dirt",
|
description = "Dark Dirt",
|
||||||
|
Before Width: | Height: | Size: 964 B After Width: | Height: | Size: 592 B |
Before Width: | Height: | Size: 728 B After Width: | Height: | Size: 388 B |
Before Width: | Height: | Size: 728 B After Width: | Height: | Size: 429 B |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 535 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 663 B |
Before Width: | Height: | Size: 953 B After Width: | Height: | Size: 552 B |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 693 B |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 682 B |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 654 B |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 716 B |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 875 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 480 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 694 B |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 741 B |
Before Width: | Height: | Size: 942 B After Width: | Height: | Size: 543 B |
Before Width: | Height: | Size: 995 B After Width: | Height: | Size: 567 B |
Before Width: | Height: | Size: 869 B After Width: | Height: | Size: 446 B |
Before Width: | Height: | Size: 920 B After Width: | Height: | Size: 461 B |
Before Width: | Height: | Size: 662 B After Width: | Height: | Size: 248 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 483 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 693 B |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 737 B |