Compare commits

...

24 Commits

Author SHA1 Message Date
bri cassa 9227671f4e Merge remote-tracking branch 'upstream/master' 2023-06-05 23:31:39 +02:00
fluxionary c46c624e9b
fix unified_dyes integration (#14) 2022-11-09 17:03:28 +01:00
bri cassa cfd084c709 Merge remote-tracking branch 'upstream/master' 2022-06-25 16:45:59 +02:00
adrido 71f3ccfb14 Update readme 2022-06-24 12:08:28 +02:00
Skamiz 8137445dea
add new basalt textures (#12) 2022-06-24 11:36:53 +02:00
adrido 3c802b6bff Merge branch 'master' of https://github.com/adrido/darkage 2022-06-11 14:25:10 +02:00
adrido f30bdf99f2 Add mod.conf 2022-06-11 14:24:55 +02:00
Skamiz 92730881b4
Fix various texture issues (#11) 2022-06-11 14:17:37 +02:00
Skamiz 7d76f3864e
Fix some obvious tilling issues (#10) 2022-05-28 07:36:05 +02:00
bri cassa f0d82a4b4d Merge remote-tracking branch 'upstream/master' 2021-11-26 21:40:36 +01:00
adrido 61c4c648fd Fix missing end 2021-11-20 14:57:34 +01:00
adrido 7ebedc68bb Merge branch 'master' of https://bitbucket.org/adrido/darkage 2021-11-20 09:48:35 +01:00
adrido 536d635e25 Generation of Tuff in dirt 2021-11-20 09:34:38 +01:00
bri cassa 5df75e71e6 Merge remote-tracking branch 'upstream/master' 2021-03-12 12:16:26 +01:00
sys4-fr e5e49ed965
Remove warnings from deprecated definitions and functions (#6)
Co-authored-by: sys4 <bricassa@sys4.fr>
2021-03-10 13:28:21 +01:00
bri cassa 1455700431 Restore the sound of footsteps on the mud and silt 2021-03-06 18:29:33 +01:00
bri cassa 0cadd5e5b9 Merge branch 'github' 2021-03-06 18:24:29 +01:00
bri cassa 994f4cc144 Remove warnings from deprecated definitions and functions 2021-03-06 18:21:00 +01:00
Sys Quatre fa50c54aa7 Add stairsplus compatibility for tuff and rhyolitic_tuf rubbles 2020-08-30 13:27:16 +02:00
Sys Quatre 6dfddf7151 Merge remote-tracking branch 'upstream/master' into nalc-1.2-dev 2020-06-16 21:30:40 +02:00
orbea befafde095
Fix the dye recipes for square glass. (#5) 2020-04-21 07:34:01 +02:00
Adrian fb5213f5b1 Use extended palette 2020-01-03 16:40:45 +01:00
Sys Quatre def6b91bd5 Merge branch 'master' of yunohost.local:mtcontrib/darkage into nalc-1.2-dev 2019-12-22 12:51:27 +01:00
Nordall 8e7aea0317 Fixed colorizing, added glow variants (#3) 2019-07-21 08:57:44 +02:00
31 changed files with 244 additions and 484 deletions

380
README.md
View File

@ -1,12 +1,14 @@
# DarkAge Mod for Minetest # DarkAge Mod for Minetest
Original mod by Master Gollum
Modified by addi. Original mod by Master Gollum
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
@ -16,380 +18,52 @@ 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
* corrected Sounds of Stairs ### Version 1.4
* updated to new Moreblocks api
* added Serpentine Stairs
Version 1.1 * New Textures by Skamiz
* serveral mapgen fixes
* Maintenance stuff
* Fix spelling mistakes in README file Full release notes: <https://github.com/adrido/darkage/releases>
* 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
Version 1.0.1 ## How to install
* 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>
## BUILDING NODES ## Wiki
### Adobe: For Building-blocks and crafting information please take a look to the wiki:
Sand and Clay mixture with Straw to build houses or walls. <https://github.com/adrido/darkage/wiki>
Used from historical times, one of the first bricks
invented. I have to improve this texture, it is ugly :P
CRAFT -> 4 ## License
[Sand] [Sand]
[Clay Lump] [Straw]
### Basalt:
A darken version of the default Stone
COOKING
[Basalt Rubble]
### 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) Sourcecode: WTFPL (see below)
Graphics: WTFPL (see below) Graphics: WTFPL (see below)
#See also: ## See also
http://minetest.net/
<http://minetest.net/>
--- ---
```text
```
#!
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004 Version 2, December 2004
@ -404,4 +78,4 @@ http://minetest.net/
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. You just DO WHAT THE FUCK YOU WANT TO. 0. You just DO WHAT THE FUCK YOU WANT TO.
``` ```

325
glass.lua
View File

@ -1,19 +1,21 @@
--[[ --[[
Medival glasses. Medival glasses.
The glasses can be colorized using dye. The glasses can be colorized using dye.
Colorization requires unifieddyes installed. Colorization requires unifieddyes installed.
Special thanks to Semmett9 for the glass textures. Special thanks to Semmett9 for the glass textures.
]] ]]
--[[ Rhombus Glass ]]
minetest.register_node("darkage:glass", { 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=false, use_texture_alpha = "clip",
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(),
}) })
@ -26,80 +28,15 @@ minetest.register_craft({
} }
}) })
if minetest.get_modpath("unifieddyes") then
minetest.register_node("darkage:milk_glass", {
description = "Milky Medieval Glass (Good for colorization)",
drawtype = "glasslike",
tiles = {"darkage_milk_glass.png"},
use_texture_alpha=true,
paramtype = "light",
paramtype2 = "color",
palette = "unifieddyes_palette.png",
sunlight_propagates = true,
groups = {cracky = 3, oddly_breakable_by_hand = 3, not_cuttable=1, ud_param2_colorable = 1},
sounds = default.node_sound_glass_defaults(),
after_dig_node = unifieddyes.after_dig_node
})
-- Craft
minetest.register_craft({
output = "darkage:milk_glass 1",
type = "shapeless",
recipe = {"darkage:glass", "dye:white"}
})
-- Recycling
minetest.register_craft({
output = "darkage:glass 1",
recipe = {{"darkage:milk_glass"}}
})
end
--[[
Glow Glass
]]
minetest.register_node("darkage:glow_glass", {
description = "Medieval Glow Glass",
drawtype = "glasslike",
tiles = {"darkage_glass.png"},
use_texture_alpha=true,
paramtype = "light",
sunlight_propagates = true,
light_source = default.LIGHT_MAX-1,
groups = {cracky = 3, oddly_breakable_by_hand = 3, not_cuttable=1},
sounds = default.node_sound_glass_defaults(),
})
-- Craft
minetest.register_craft({
output = "darkage:glass 1",
recipe = {
{"darkage:glow_glass"},
}
})
-- Recycling
minetest.register_craft({
output = "darkage:glow_glass 1",
recipe = {
{"darkage:glass"},
{"default:torch"},
}
})
--[[
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 = true, use_texture_alpha = "clip",
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}, groups = {cracky = 3, oddly_breakable_by_hand = 3, not_cuttable = 1},
}) })
minetest.register_craft({ minetest.register_craft({
@ -111,86 +48,232 @@ minetest.register_craft({
} }
}) })
-- If unifieddyes installed provide a colorizeable variant --[[ Square glass By Semmett9 aka Infinatum ]]
if minetest.get_modpath("unifieddyes") then
minetest.register_node("darkage:milk_glass_round", {
description = "Milky Medieval Round Glass (Good for colorization)",
drawtype = "glasslike",
tiles = {"darkage_milk_glass_round.png"},
use_texture_alpha=true,
paramtype = "light",
paramtype2 = "color",
palette = "unifieddyes_palette.png",
sunlight_propagates = true,
groups = {cracky = 3, oddly_breakable_by_hand = 3, not_cuttable=1, ud_param2_colorable = 1},
sounds = default.node_sound_glass_defaults(),
after_dig_node = unifieddyes.after_dig_node
})
-- Craft
minetest.register_craft({
output = "darkage:milk_glass_round 1",
type = "shapeless",
recipe = {"darkage:glass_round", "dye:white"}
})
-- Recycling
minetest.register_craft({
output = "darkage:glass_round 1",
recipe = {{"darkage:milk_glass_round"}}
})
end
--[[
Square glass
By Semmett9 aka Infinatum
]]
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 = true, use_texture_alpha = "clip",
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}, 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"},
} }
}) })
-- If unifieddyes installed provide a colorizeable variant --[[
Glowing Glass Variants
]]
--[[ Rhombus Glow Glass ]]
minetest.register_node("darkage:glow_glass", {
description = "Medieval Glow Glass",
drawtype = "glasslike",
tiles = {"darkage_glass.png"},
use_texture_alpha = "clip",
paramtype = "light",
sunlight_propagates = true,
light_source = default.LIGHT_MAX - 3,
groups = {cracky = 3, oddly_breakable_by_hand = 3, not_cuttable = 1},
sounds = default.node_sound_glass_defaults(),
inventory_image = minetest.inventorycube("darkage_glow_glass.png")
})
minetest.register_craft({
output = "darkage:glow_glass 1",
type = "shaped",
recipe = {
{"darkage:glass"},
{"default:torch"}
}
})
-- Recycling
minetest.register_craft({
output = "darkage:glass 1",
type = "shaped",
recipe = {{"darkage:glow_glass"}},
})
--[[ Round Glow Glass ]]
minetest.register_node("darkage:glow_glass_round", {
description = "Medieval Round Glow Glass",
drawtype = "glasslike",
tiles = {"darkage_glass_round.png"},
use_texture_alpha = "clip",
paramtype = "light",
sunlight_propagates = true,
light_source = default.LIGHT_MAX - 3,
groups = {cracky = 3, oddly_breakable_by_hand = 3, not_cuttable = 1},
sounds = default.node_sound_glass_defaults(),
inventory_image = minetest.inventorycube("darkage_glow_glass_round.png")
})
minetest.register_craft({
output = "darkage:glow_glass_round 1",
type = "shaped",
recipe = {
{"darkage:glass_round"},
{"default:torch"}
}
})
-- Recycling
minetest.register_craft({
output = "darkage:glass_round 1",
recipe = {{"darkage:glow_glass_round"}}
})
--]] Square Glow Glass ]]
minetest.register_node("darkage:glow_glass_square", {
description = "Medieval Square Glow Glass",
drawtype = "glasslike",
tiles = {"darkage_glass_square.png"},
use_texture_alpha = "clip",
paramtype = "light",
sunlight_propagates = true,
light_source = default.LIGHT_MAX - 3,
groups = {cracky = 3, oddly_breakable_by_hand = 3, not_cuttable = 1},
sounds = default.node_sound_glass_defaults(),
inventory_image = minetest.inventorycube("darkage_glow_glass_square.png")
})
minetest.register_craft({
output = "darkage:glow_glass_square 1",
type = "shaped",
recipe = {
{"darkage:glass_square"},
{"default:torch"},
}
})
--Recycling
minetest.register_craft({
output = "darkage:glass_square 1",
recipe = {{"darkage:glow_glass_square"}}
})
--[[
Colorizable Milk Glass Variants, depending on unifieddyes mod
]]
if minetest.get_modpath("unifieddyes") then if minetest.get_modpath("unifieddyes") then
--[[ Rhombus Milk Glass ]]
minetest.register_node("darkage:milk_glass", {
description = "Milky Medieval Glass (Good for colorization)",
drawtype = "glasslike",
tiles = {"darkage_milk_glass.png"},
use_texture_alpha = "blend",
paramtype = "light",
paramtype2 = "color",
palette = "unifieddyes_palette_extended.png",
sunlight_propagates = true,
groups = {cracky = 3, oddly_breakable_by_hand = 3, not_cuttable = 1, ud_param2_colorable = 1},
sounds = default.node_sound_glass_defaults()
})
unifieddyes.register_color_craft({
output = "darkage:milk_glass",
palette = "extended",
type = "shapeless",
neutral_node = "darkage:glass",
recipe = {
"NEUTRAL_NODE",
"MAIN_DYE"
}
})
-- Recycling
minetest.register_craft({
output = "darkage:glass 1",
recipe = {{"darkage:milk_glass"}}
})
--[[ Round Milk Glass ]]
minetest.register_node("darkage:milk_glass_round", {
description = "Milky Medieval Round Glass (Good for colorization)",
drawtype = "glasslike",
tiles = {"darkage_milk_glass_round.png"},
use_texture_alpha = "blend",
paramtype = "light",
paramtype2 = "color",
palette = "unifieddyes_palette_extended.png",
sunlight_propagates = true,
groups = {cracky = 3, oddly_breakable_by_hand = 3, not_cuttable = 1, ud_param2_colorable = 1},
sounds = default.node_sound_glass_defaults()
})
unifieddyes.register_color_craft({
output = "darkage:milk_glass_round",
palette = "extended",
type = "shapeless",
neutral_node = "darkage:glass_round",
recipe = {
"NEUTRAL_NODE",
"MAIN_DYE"
}
})
-- Recycling
minetest.register_craft({
output = "darkage:glass_round 1",
recipe = {{"darkage:milk_glass_round"}}
})
--[[ Square Milk Glass ]]
minetest.register_node("darkage:milk_glass_square", { minetest.register_node("darkage:milk_glass_square", {
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=true, use_texture_alpha = "blend",
paramtype = "light", paramtype = "light",
paramtype2 = "color", paramtype2 = "color",
palette = "unifieddyes_palette.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()
after_dig_node = unifieddyes.after_dig_node
}) })
-- Craft -- Craft
minetest.register_craft({ minetest.register_craft({
output = "darkage:milk_glass_square 1", output = "darkage:milk_glass_square",
type = "shapeless", type = "shapeless",
recipe = {"darkage:glass_square", "dye:white"} recipe = {"darkage:glass_square", "dye:white"},
}) })
-- Recycling unifieddyes.register_color_craft({
output = "darkage:milk_glass_square",
palette = "extended",
type = "shapeless",
neutral_node = "darkage:glass_square",
recipe = {
"NEUTRAL_NODE",
"MAIN_DYE"
}
})
-- Recycling
minetest.register_craft({ minetest.register_craft({
output = "darkage:glass_square 1", output = "darkage:glass_square",
recipe = {{"darkage:milk_glass_square"}} recipe = {{"darkage:milk_glass_square"}}
}) })
end
end --unifieddyes condition

View File

@ -153,8 +153,7 @@ local function generate_claylike(data, varea, name, minp, maxp, seed, chance, mi
end end
end end
local mgparams = minetest.get_mapgen_params() local seed = minetest.get_mapgen_setting("seed")
local seed = mgparams.seed
--[[ Generate desert stone with iron in derset. --[[ Generate desert stone with iron in derset.
@ -192,7 +191,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:needs_dirt", "default:gravel", "default:stone_with_coal"}, wherein = {"default:stone", "default: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,
@ -211,7 +210,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:needs_dirt", "default:gravel", "default:stone_with_coal"}, wherein = {"default:stone", "default: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 Normal file
View File

@ -0,0 +1,6 @@
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

View File

@ -198,9 +198,7 @@ minetest.register_node("darkage:mud", {
is_ground_content = true, is_ground_content = true,
groups = {crumbly=3}, groups = {crumbly=3},
drop = 'darkage:mud_lump 4', drop = 'darkage:mud_lump 4',
sounds = default.node_sound_dirt_defaults({ sounds = default.node_sound_dirt_defaults()
footstep = "",
}),
}) })
--[[ --[[
@ -269,9 +267,7 @@ minetest.register_node("darkage:silt", {
is_ground_content = true, is_ground_content = true,
groups = {crumbly=3}, groups = {crumbly=3},
drop = 'darkage:silt_lump 4', drop = 'darkage:silt_lump 4',
sounds = default.node_sound_dirt_defaults({ sounds = default.node_sound_dirt_defaults()
footstep = "",
}),
}) })
--[[ --[[

View File

@ -15,6 +15,7 @@ darkage.register_stairs("darkage:ors_brick")
darkage.register_stairs("darkage:ors_rubble") darkage.register_stairs("darkage:ors_rubble")
darkage.register_stairs("darkage:rhyolitic_tuff") darkage.register_stairs("darkage:rhyolitic_tuff")
darkage.register_stairs("darkage:rhyolitic_tuff_bricks") darkage.register_stairs("darkage:rhyolitic_tuff_bricks")
darkage.register_stairs("darkage:rhyolitic_tuff_rubble")
darkage.register_stairs("darkage:schist") darkage.register_stairs("darkage:schist")
darkage.register_stairs("darkage:serpentine") darkage.register_stairs("darkage:serpentine")
darkage.register_stairs("darkage:shale") darkage.register_stairs("darkage:shale")
@ -26,4 +27,5 @@ darkage.register_stairs("darkage:stone_brick")
darkage.register_stairs("darkage:straw_bale") darkage.register_stairs("darkage:straw_bale")
darkage.register_stairs("darkage:tuff") darkage.register_stairs("darkage:tuff")
darkage.register_stairs("darkage:tuff_bricks") darkage.register_stairs("darkage:tuff_bricks")
darkage.register_stairs("darkage:tuff_rubble")

Binary file not shown.

Before

Width:  |  Height:  |  Size: 592 B

After

Width:  |  Height:  |  Size: 964 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 388 B

After

Width:  |  Height:  |  Size: 728 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 429 B

After

Width:  |  Height:  |  Size: 728 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 535 B

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 663 B

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 552 B

After

Width:  |  Height:  |  Size: 953 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 693 B

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 418 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 499 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 347 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 682 B

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 654 B

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 716 B

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 875 B

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 480 B

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 694 B

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 741 B

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 543 B

After

Width:  |  Height:  |  Size: 942 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 567 B

After

Width:  |  Height:  |  Size: 995 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 446 B

After

Width:  |  Height:  |  Size: 869 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 461 B

After

Width:  |  Height:  |  Size: 920 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 248 B

After

Width:  |  Height:  |  Size: 662 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 483 B

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 693 B

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 737 B

After

Width:  |  Height:  |  Size: 1.2 KiB