updated to version 1.2

applied most changes by CraigyDavi
updated to new stairsplus aka moreblocks api
added serpentine stairs
This commit is contained in:
adrido 2014-09-04 12:37:40 +02:00
parent 367109e8f0
commit 3a8bdb7e7f
9 changed files with 128 additions and 148 deletions

View File

@ -1,7 +1,6 @@
#DarkAge MOD for MINETEST
orginal by Master Gollum
modyfied by addi
Original mod by Master Gollum
Modified by addi and CraigyDavi
##Introduction:
This mod adds a few new blocks that allows to create new buildings in a
@ -26,9 +25,25 @@ modyfied by addi
##Release Notes
Version 1.2
* corrected Sounds of Stairs
* updated to new Moreblocks api
* added Serpentine Stairs
Version 1.1
* 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
Version 1.0.1
* fixed init.lua wich get broken by upload on github
* fixed init.lua which get broken by upload on github
Version 1.0
@ -36,13 +51,13 @@ 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 ironbars mod
* 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
* dissabled marble_tile to avoid the message "texture not found"
* added compatibililty with stairsplus (now its 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 shelfes
* 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
@ -71,14 +86,14 @@ PS: This document has been structured as the README.txt of PilzAdam in
###How to install:
Unzip the archive an place it in minetest-base-directory/mods/minetest/
if you have a windows client or a linux run-in-place client. If you
have a linux system-wide instalation place it in
have a linux system-wide installation place it in
~/.minetest/mods/minetest/.
If you want to install this mod only in one world create the folder
worldmods/ in your worlddirectory.
For further information or help see:
http://wiki.minetest.com/wiki/Installing_Mods
###Tunning:
###Tuning:
Comments the following lines to remove what you don't like:
(To comment them just add -- at the beginning of their lines)
@ -99,7 +114,7 @@ PS: This document has been structured as the README.txt of PilzAdam in
invented. I have to improve this texture, it is ugly :P
CRAFT -> 4
[Sand] [Sand]
[Clay Lumb] [Straw]
[Clay Lump] [Straw]
Basalt: a darken version of the default Stone
@ -114,7 +129,7 @@ PS: This document has been structured as the README.txt of PilzAdam in
Chalk: a soft, white and porous sedimentary rock. It becomes
Chalk Powder when digged. Can't be craft, only found as
Chalk Powder when dug. Can't be craft, only found as
stratum.
Chalk Powder: pile of chalk from digging Chalk stones. Can
@ -124,7 +139,7 @@ PS: This document has been structured as the README.txt of PilzAdam in
Cobblestone with Plaster: Cobbles where has been applied a
layer of white plaster.
When digged it lost the plaster layer!
When dug it lost the plaster layer!
CRAFT -> 2
[Cobblestone] [Chalk Powder]
[Cobblestone] [Chalk Powder]
@ -141,7 +156,7 @@ PS: This document has been structured as the README.txt of PilzAdam in
Desert Stone Cobble: To add more uses to the Desert Stones.
I suppossed they are harder than regular Stones so it
I supposed they are harder than regular Stones so it
cracks at 50% and releases the Cobbles or just regular
Desert Stones.
From dig Desert Stone
@ -157,7 +172,7 @@ PS: This document has been structured as the README.txt of PilzAdam in
Dry Leaves: Just a cube of Leaves toasted :P Well I found the
Leaves unuseful, so I thought to turn them into Straw, ok
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
@ -165,8 +180,8 @@ PS: This document has been structured as the README.txt of PilzAdam in
Gneiss: high grade metamorphic rock formed from Schist, very
common, and used in construction. It sometimes brokes in
Gneiss Cobble when being digged.
common, and used in construction. It sometimes brakes in
Gneiss Cobble when being dug.
COOKING
[Schist]
@ -176,8 +191,8 @@ PS: This document has been structured as the README.txt of PilzAdam in
Mud: mixture of water and some combination of soil, silt, and
clay. Used for build houses, specially in desertic regions.
It brokes in 4 Mud Lumps when digged.
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]
@ -190,7 +205,7 @@ PS: This document has been structured as the README.txt of PilzAdam in
sandstone with iron that gives it this color.
CRAFT -> 4
[Sandstone] [Sandstone]
[Iron Lumb] [Sandstone]
[Iron Lump] [Sandstone]
COOKING
[Old Red Sandstone Cobble]
@ -198,7 +213,7 @@ PS: This document has been structured as the README.txt of PilzAdam in
CRAFT -> 4
[Sandstone Cobble] [Sandstone Cobble]
[Iron Lumb] [Sandstone Cobble]
[Iron Lump] [Sandstone Cobble]
COOKING
[Desert Stone] --> I think I will change it in the future
release with its own Cobbles.
@ -222,7 +237,7 @@ PS: This document has been structured as the README.txt of PilzAdam in
[Slate]
Silt: granular material of a size somewhere between sand and clay.
It brokes in 4 Silt Lumps.
It brakes in 4 Silt Lumps.
CRAFT -> 1
[Silt Lump] [Silt Lump]
@ -242,7 +257,7 @@ PS: This document has been structured as the README.txt of PilzAdam in
Slate Cobble: Cobble obtained from Slate
From dig Slate
Slate Tale: Nice blue slate tales for roofs. They has been used
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.
@ -251,7 +266,7 @@ PS: This document has been structured as the README.txt of PilzAdam in
[Slate Cobble] [Slate Cobble]
[Slate Cobble] [Slate Cobble]
Straw: a cube of yellish straw, try them in the roofs they will
Straw: a cube of yellowish straw, try them in the roofs they will
be very nice. Used also as traditional building material
from ancient times.
@ -270,7 +285,7 @@ PS: This document has been structured as the README.txt of PilzAdam in
[Straw] [Straw]
Desert Stone: just the default block, it can be obtained now
from Desert Sand. The idea is that Desert Sand is stonner
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.
@ -340,7 +355,7 @@ Just started so they are few ones
CRAFT -> 1
[Medieval Glow Glass]
Medieval Glow Glass: a good looking glass, with small tiles wich are glowing by itself
Medieval Glow Glass: a good looking glass, with small tiles which are glowing by itself
CRAFT -> 8
[Medieval Glass]

View File

@ -1,11 +1,11 @@
minetest.register_alias("darkage:sandstone_cobble", "default:sandstonebrick")
minetest.register_alias("darkage:desert_stone_cobble", "default:desert_stonebrick")
minetest.register_alias("darkage:sandstone_cobble","default:sandstonebrick")
minetest.register_alias("darkage:desert_stone_cobble","default:desert_stonebrick")
minetest.register_alias("darkage:stair_desert_stone_cobble_wall_half","default:stair_desert_stonebrick_wall_half")
minetest.register_alias("darkage:slab_desert_stone_cobble_inverted","default:slab_desert_stonebrick_inverted")
minetest.register_alias("darkage:stair_desert_stone_cobble_inverted","default:stair_desert_stonebrick_inverted")
minetest.register_alias("darkage:stair_desert_stone_cobble_outer", "default:stair_desert_stonebrick_outer")
minetest.register_alias("darkage:stair_desert_stone_cobble_outer","default:stair_desert_stonebrick_outer")
minetest.register_alias("darkage:slab_desert_stone_cobble_three_quarter_wall","default:slab_desert_stonebrick_three_quarter_wall")
minetest.register_alias("darkage:slab_desert_stone_cobble_quarter","default:slab_desert_stonebrick_quarter")
minetest.register_alias("darkage:slab_desert_stone_cobble","default:slab_desert_stonebrick")
@ -33,7 +33,7 @@ minetest.register_alias("darkage:slab_desert_stone_cobble_three_quarter_inverted
minetest.register_alias("darkage:stair_sandstone_cobble_wall_half","default:stair_sandstonebrick_wall_half")
minetest.register_alias("darkage:slab_sandstone_cobble_inverted","default:slab_sandstonebrick_inverted")
minetest.register_alias("darkage:stair_sandstone_cobble_inverted","default:stair_sandstonebrick_inverted")
minetest.register_alias("darkage:stair_sandstone_cobble_outer", "default:stair_sandstonebrick_outer")
minetest.register_alias("darkage:stair_sandstone_cobble_outer","default:stair_sandstonebrick_outer")
minetest.register_alias("darkage:slab_sandstone_cobble_three_quarter_wall","default:slab_sandstonebrick_three_quarter_wall")
minetest.register_alias("darkage:slab_sandstone_cobble_quarter","default:slab_sandstonebrick_quarter")
minetest.register_alias("darkage:slab_sandstone_cobble","default:slab_sandstonebrick")
@ -56,3 +56,33 @@ minetest.register_alias("darkage:stair_sandstone_cobble","default:stair_sandston
minetest.register_alias("darkage:panel_sandstone_cobble_vertical","default:panel_sandstonebrick_vertical")
minetest.register_alias("darkage:stair_sandstone_cobble_inner_inverted","default:stair_sandstonebrick_inner_inverted")
minetest.register_alias("darkage:slab_sandstone_cobble_three_quarter_inverted","default:slab_sandstonebrick_three_quarter_inverted")
--Add aliases when slate_tale was renamed to slate_tile
minetest.register_alias("darkage:slate_tile","darkage:slate_tale")
minetest.register_alias("darkage:slab_slate_tile_inverted","darkage:slab_slate_tale_inverted")
minetest.register_alias("darkage:slab_slate_tile_wall","darkage:slab_slate_tale_wall")
minetest.register_alias("darkage:slab_slate_tile_quarter","darkage:slab_slate_tale_quarter")
minetest.register_alias("darkage:slab_slate_tile_quarter_inverted","darkage:slab_slate_tale_quarter_inverted")
minetest.register_alias("darkage:slab_slate_tile_quarter_wall","darkage:slab_slate_tale_quarter_wall")
minetest.register_alias("darkage:slab_slate_tile_three_quarter","darkage:slab_slate_tale_three_quarter")
minetest.register_alias("darkage:slab_slate_tile_three_quarter_inverted","darkage:slab_slate_tale_three_quarter_inverted")
minetest.register_alias("darkage:slab_slate_tile_three_quarter_wall","darkage:slab_slate_tale_three_quarter_wall")
minetest.register_alias("darkage:stair_slate_tile_inverted","darkage:stair_slate_tale_inverted")
minetest.register_alias("darkage:stair_slate_tile_wall","darkage:stair_slate_tale_wall")
minetest.register_alias("darkage:stair_slate_tile_wall_half","darkage:stair_slate_tale_wall_half")
minetest.register_alias("darkage:stair_slate_tile_wall_half_inverted","darkage:stair_slate_tale_wall_half_inverted")
minetest.register_alias("darkage:stair_slate_tile_half","darkage:stair_slate_tale_half")
minetest.register_alias("darkage:stair_slate_tile_half_inverted","darkage:stair_slate_tale_half_inverted")
minetest.register_alias("darkage:stair_slate_tile_right_half","darkage:stair_slate_tale_right_half")
minetest.register_alias("darkage:stair_slate_tile_right_half_inverted","darkage:stair_slate_tale_right_half_inverted")
minetest.register_alias("darkage:stair_slate_tile_wall_half","darkage:stair_slate_tale_wall_half")
minetest.register_alias("darkage:stair_slate_tile_wall_half_inverted","darkage:stair_slate_tale_wall_half_inverted")
minetest.register_alias("darkage:stair_slate_tile_inner","darkage:stair_slate_tale_inner")
minetest.register_alias("darkage:stair_slate_tile_inner_inverted","darkage:stair_slate_tale_inner_inverted")
minetest.register_alias("darkage:stair_slate_tile_outer","darkage:stair_slate_tale_outer")
minetest.register_alias("darkage:stair_slate_tile_outer_inverted","darkage:stair_slate_tale_outer_inverted")
minetest.register_alias("darkage:panel_slate_tile_bottom","darkage:panel_slate_tale_bottom")
minetest.register_alias("darkage:panel_slate_tile_top","darkage:panel_slate_tale_top")
minetest.register_alias("darkage:panel_slate_tile_vertical","darkage:panel_slate_tale_vertical")
minetest.register_alias("darkage:micro_slate_tile_bottom","darkage:micro_slate_tale_bottom")
minetest.register_alias("darkage:micro_slate_tile_top","darkage:micro_slate_tale_top")

View File

@ -1,5 +1,5 @@
minetest.register_node("darkage:glass", {
description = "medieval Glass",
description = "Medieval Glass",
drawtype = "glasslike",
tiles = {"darkage_glass.png"},
inventory_image = minetest.inventorycube("darkage_glass.png"),
@ -11,7 +11,7 @@ minetest.register_node("darkage:glass", {
})
minetest.register_node("darkage:glow_glass", {
description = "medieval glow glass",
description = "Medieval Glow Glass",
drawtype = "glasslike",
tiles = {"darkage_glass.png"},
inventory_image = minetest.inventorycube("darkage_glass.png"),

View File

@ -1,9 +1,9 @@
print (" ---- Dark Age is Loading! ---- ")
print (" ---- Dark Age Version 1.2 is Loading! ---- ")
-- Commend this lines if you don't like some of this features
dofile(minetest.get_modpath("darkage").."/mapgen.lua")
dofile(minetest.get_modpath("darkage").."/building.lua")
dofile(minetest.get_modpath("darkage").."/furniture.lua")
dofile(minetest.get_modpath("darkage").."/alias.lua")
dofile(minetest.get_modpath("darkage").."/aliases.lua")
if minetest.get_modpath("moreblocks") then
dofile(minetest.get_modpath("darkage").."/stairsplus.lua")--only if moreblocks installed
else
@ -58,14 +58,6 @@ minetest.register_node("darkage:cobble_with_plaster", {
sounds = default.node_sound_stone_defaults(),
})
--minetest.register_node("darkage:desert_stone_cobble", {
-- description = "Desert Stone Cobble",
-- tiles = {"darkage_desert_stone_cobble.png"},
-- is_ground_content = true,
-- groups = {cracky=3},
-- sounds = default.node_sound_stone_defaults()
--})
minetest.register_node("darkage:desert_stone_with_iron", {
description = "Desert Iron Ore",
tiles = {"default_desert_stone.png^darkage_mineral_iron.png"},
@ -129,7 +121,6 @@ minetest.register_node("darkage:marble", {
sounds = default.node_sound_stone_defaults()
})
minetest.register_node("darkage:mud", {
description = "Mud",
tiles = {"darkage_mud_up.png","darkage_mud.png"},
@ -158,17 +149,6 @@ minetest.register_node("darkage:ors_cobble", {
sounds = default.node_sound_stone_defaults()
})
--minetest.register_node("darkage:sandstone_cobble", {
-- description = "Sandstone Cobble",
-- tiles = {"darkage_sandstone_cobble.png"},
-- is_ground_content = true,
-- groups = {crumbly=2,cracky=2},
-- sounds = default.node_sound_stone_defaults()
--})
minetest.register_node("darkage:serpentine", {
description = "Serpentine",
tiles = {"darkage_serpentine.png"},
@ -221,9 +201,9 @@ minetest.register_node("darkage:slate_cobble", {
sounds = default.node_sound_stone_defaults()
})
minetest.register_node("darkage:slate_tale", {
description = "Slate Tale",
tiles = {"darkage_slate_tale.png"},
minetest.register_node("darkage:slate_tile", {
description = "Slate Tile",
tiles = {"darkage_slate_tile.png"},
is_ground_content = true,
groups = {cracky=2},
sounds = default.node_sound_stone_defaults()
@ -262,31 +242,13 @@ minetest.register_node("darkage:marble", {
sounds = default.node_sound_stone_defaults()
})
--minetest.register_node("darkage:marble_tile", { --disabled because texture not found
-- description = "Marble Tile",
-- tiles = {"darkage_marble_tile.png"},
-- is_ground_content = true,
-- groups = {cracky=2},
-- sounds = default.node_sound_stone_defaults()
--})
---------------
-- Overrides
---------------
--minetest.registered_nodes["default:desert_stone"].drop= {
-- max_items = 1,
-- items = {
-- {
-- -- player will get cobbles with 1/3 chance
-- items = {'darkage:desert_stone_cobble'},
-- rarity = 2,
-- },
-- {
-- items = {'default:desert_stone'},
-- }
-- }
--}
minetest.register_node("darkage:marble_tile", {
description = "Marble Tile",
tiles = {"darkage_marble_tile.png"},
is_ground_content = true,
groups = {cracky=2},
sounds = default.node_sound_stone_defaults()
})
---------------
-- Crafts Items
@ -316,8 +278,6 @@ minetest.register_craftitem("darkage:iron_stick", {
-- Crafts
----------
--sand+clay+water+straw
minetest.register_craft({
output = 'darkage:adobe 4',
recipe = {
@ -391,14 +351,6 @@ minetest.register_craft({
}
})
--minetest.register_craft({
-- output = 'darkage:ors_cobble 4',
-- recipe = {
-- {'darkage:sandstone_cobble','darkage:sandstone_cobble'},
-- {'default:iron_lump','darkage:sandstone_cobble'},
-- }
--})
minetest.register_craft({
output = 'darkage:silt 3',
recipe = {
@ -416,7 +368,7 @@ minetest.register_craft({
})
minetest.register_craft({
output = 'darkage:slate_tale 2',
output = 'darkage:slate_tile 2',
recipe = {
{'darkage:slate_cobble','darkage:slate_cobble'},
{'darkage:slate_cobble','darkage:slate_cobble'},
@ -483,24 +435,12 @@ minetest.register_craft({
recipe = "darkage:basalt_cobble",
})
--minetest.register_craft({
-- type = "cooking",
-- output = "default:desert_stone",
-- recipe = "darkage:desert_stone_cobble",
--})
minetest.register_craft({
type = "cooking",
output = "darkage:dry_leaves",
recipe = "default:leaves",
})
--minetest.register_craft({
-- type = "cooking",
-- output = "darkage:sandstone_cobble",
-- recipe = "default:sandstone",
--})
minetest.register_craft({
type = "cooking",
output = "darkage:gneiss",
@ -519,13 +459,6 @@ minetest.register_craft({
recipe = "darkage:ors_cobble",
})
--minetest.register_craft({
-- type = "cooking",
-- output = "darkage:sandstone_cobble",
-- recipe = "default:sandstone",
--})
minetest.register_craft({
type = "cooking",
output = "darkage:schist",

View File

@ -112,10 +112,10 @@ darkage.register_stairs("darkage","basalt_cobble",
"Basalt Cobble"
)
darkage.register_stairs("darkage","slate_tale",
darkage.register_stairs("darkage","slate_tile",
{cracky=3},
{"darkage_slate_tale.png"},
"Slate Tale"
{"darkage_slate_tile.png"},
"Slate Tile"
)
darkage.register_stairs("darkage","straw",
@ -130,15 +130,26 @@ darkage.register_stairs("darkage","stone_brick",
"Stone Brick"
)
darkage.register_stairs("darkage","marble",
{cracky=3},
{"darkage_marble.png"},
"Marble"
)
darkage.register_stairs("darkage","marble_tile",
{cracky=3},
{"darkage_marble_tile.png"},
"Marble Tile"
)
darkage.register_stairs("darkage","ors_cobble",
{cracky=3},
{"darkage_ors_cobble.png"},
"Old Red Sandtone"
"Old Red Sandstone"
)
--darkage.register_stairs("darkage","desert_stone_cobble",
-- {cracky=3},
-- {"darkage_desert_stone_cobble.png"},
-- "Desert Stone Cobble"
--)
darkage.register_stairs("darkage","serpentine",
{cracky=3},
{"darkage_serpentine.png"},
"Serpentine"
)

View File

@ -14,10 +14,10 @@ groups = {cracky=2},
sounds = default.node_sound_stone_defaults(),
})
--slate tale
stairsplus:register_all("darkage", "slate_tale", "darkage:slate_tale", {
--slate tile
stairsplus:register_all("darkage", "slate_tile", "darkage:slate_tile", {
description = "Slate Tale",
tiles = {"darkage_slate_tale.png"},
tiles = {"darkage_slate_tile.png"},
groups = {cracky=2},
sounds = default.node_sound_stone_defaults(),
})
@ -110,15 +110,7 @@ groups = {crumbly=2,cracky=2},
sounds = default.node_sound_stone_defaults(),
})
--[[
--no need for desert_stone cobble because its in minetest game
stairsplus:register_all("darkage", "desert_stone_cobble", "darkage:desert_stone_cobble", {
description = "Desert Stone Cobble",
tiles = {"darkage_desert_stone_cobble.png"},
groups = {cracky=3},
sounds = default.node_sound_stone_defaults(),
})
]]
--old red sandstone
stairsplus:register_all("darkage", "ors", "darkage:ors", {
description = "Old Red Sandstone",
@ -134,12 +126,11 @@ tiles = {"darkage_ors_cobble.png"},
groups = {crumbly=2,cracky=2},
sounds = default.node_sound_stone_defaults(),
})
--[[
--no need for sandstone_cobble, because its in minetest game
stairsplus:register_all("darkage", "sandstone_cobble", "darkage:sandstone_cobble", {
description = "Sandstone Cobble",
tiles = {"darkage_sandstone_cobble.png"},
groups = {cracky=2},
--Serpentine
stairsplus:register_all("darkage", "serpentine", "darkage:serpentine", {
description = "Serpentine",
tiles = {"darkage_serpentine.png"},
groups = {crumbly=2,cracky=2},
sounds = default.node_sound_stone_defaults(),
})
]]

Binary file not shown.

After

Width:  |  Height:  |  Size: 785 B

View File

Before

Width:  |  Height:  |  Size: 596 B

After

Width:  |  Height:  |  Size: 596 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB