forked from mtcontrib/darkage
Compare commits
17 Commits
Author | SHA1 | Date | |
---|---|---|---|
c334970311 | |||
9ccd5caf09 | |||
0b908c3d67 | |||
1e1ae634f9 | |||
b45d5ff7fc | |||
2abd633176 | |||
082ae7190f | |||
c29eeaecfd | |||
1553c63f93 | |||
0541679cf9 | |||
128f480e49 | |||
e81652db15 | |||
12326c7bee | |||
cb4d8c88c4 | |||
f459607392 | |||
0f03fe2dac | |||
24075b8cba |
22
.gitattributes
vendored
Normal file
22
.gitattributes
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
# Auto detect text files and perform LF normalization
|
||||
* text=auto
|
||||
|
||||
# Custom for Visual Studio
|
||||
*.cs diff=csharp
|
||||
*.sln merge=union
|
||||
*.csproj merge=union
|
||||
*.vbproj merge=union
|
||||
*.fsproj merge=union
|
||||
*.dbproj merge=union
|
||||
|
||||
# Standard to msysgit
|
||||
*.doc diff=astextplain
|
||||
*.DOC diff=astextplain
|
||||
*.docx diff=astextplain
|
||||
*.DOCX diff=astextplain
|
||||
*.dot diff=astextplain
|
||||
*.DOT diff=astextplain
|
||||
*.pdf diff=astextplain
|
||||
*.PDF diff=astextplain
|
||||
*.rtf diff=astextplain
|
||||
*.RTF diff=astextplain
|
163
.gitignore
vendored
Normal file
163
.gitignore
vendored
Normal file
@ -0,0 +1,163 @@
|
||||
#################
|
||||
## Eclipse
|
||||
#################
|
||||
|
||||
*.pydevproject
|
||||
.project
|
||||
.metadata
|
||||
bin/
|
||||
tmp/
|
||||
*.tmp
|
||||
*.bak
|
||||
*.swp
|
||||
*~.nib
|
||||
local.properties
|
||||
.classpath
|
||||
.settings/
|
||||
.loadpath
|
||||
|
||||
# External tool builders
|
||||
.externalToolBuilders/
|
||||
|
||||
# Locally stored "Eclipse launch configurations"
|
||||
*.launch
|
||||
|
||||
# CDT-specific
|
||||
.cproject
|
||||
|
||||
# PDT-specific
|
||||
.buildpath
|
||||
|
||||
|
||||
#################
|
||||
## Visual Studio
|
||||
#################
|
||||
|
||||
## Ignore Visual Studio temporary files, build results, and
|
||||
## files generated by popular Visual Studio add-ons.
|
||||
|
||||
# User-specific files
|
||||
*.suo
|
||||
*.user
|
||||
*.sln.docstates
|
||||
|
||||
# Build results
|
||||
[Dd]ebug/
|
||||
[Rr]elease/
|
||||
*_i.c
|
||||
*_p.c
|
||||
*.ilk
|
||||
*.meta
|
||||
*.obj
|
||||
*.pch
|
||||
*.pdb
|
||||
*.pgc
|
||||
*.pgd
|
||||
*.rsp
|
||||
*.sbr
|
||||
*.tlb
|
||||
*.tli
|
||||
*.tlh
|
||||
*.tmp
|
||||
*.vspscc
|
||||
.builds
|
||||
*.dotCover
|
||||
|
||||
## TODO: If you have NuGet Package Restore enabled, uncomment this
|
||||
#packages/
|
||||
|
||||
# Visual C++ cache files
|
||||
ipch/
|
||||
*.aps
|
||||
*.ncb
|
||||
*.opensdf
|
||||
*.sdf
|
||||
|
||||
# Visual Studio profiler
|
||||
*.psess
|
||||
*.vsp
|
||||
|
||||
# ReSharper is a .NET coding add-in
|
||||
_ReSharper*
|
||||
|
||||
# Installshield output folder
|
||||
[Ee]xpress
|
||||
|
||||
# DocProject is a documentation generator add-in
|
||||
DocProject/buildhelp/
|
||||
DocProject/Help/*.HxT
|
||||
DocProject/Help/*.HxC
|
||||
DocProject/Help/*.hhc
|
||||
DocProject/Help/*.hhk
|
||||
DocProject/Help/*.hhp
|
||||
DocProject/Help/Html2
|
||||
DocProject/Help/html
|
||||
|
||||
# Click-Once directory
|
||||
publish
|
||||
|
||||
# Others
|
||||
[Bb]in
|
||||
[Oo]bj
|
||||
sql
|
||||
TestResults
|
||||
*.Cache
|
||||
ClientBin
|
||||
stylecop.*
|
||||
~$*
|
||||
*.dbmdl
|
||||
Generated_Code #added for RIA/Silverlight projects
|
||||
|
||||
# Backup & report files from converting an old project file to a newer
|
||||
# Visual Studio version. Backup files are not needed, because we have git ;-)
|
||||
_UpgradeReport_Files/
|
||||
Backup*/
|
||||
UpgradeLog*.XML
|
||||
|
||||
|
||||
|
||||
############
|
||||
## Windows
|
||||
############
|
||||
|
||||
# Windows image file caches
|
||||
Thumbs.db
|
||||
|
||||
# Folder config file
|
||||
Desktop.ini
|
||||
|
||||
|
||||
#############
|
||||
## Python
|
||||
#############
|
||||
|
||||
*.py[co]
|
||||
|
||||
# Packages
|
||||
*.egg
|
||||
*.egg-info
|
||||
dist
|
||||
build
|
||||
eggs
|
||||
parts
|
||||
bin
|
||||
var
|
||||
sdist
|
||||
develop-eggs
|
||||
.installed.cfg
|
||||
|
||||
# Installer logs
|
||||
pip-log.txt
|
||||
|
||||
# Unit test / coverage reports
|
||||
.coverage
|
||||
.tox
|
||||
|
||||
#Translations
|
||||
*.mo
|
||||
|
||||
#Mr Developer
|
||||
.mr.developer.cfg
|
||||
|
||||
# Mac crap
|
||||
.DS_Store
|
123
README.md
123
README.md
@ -1,7 +1,9 @@
|
||||
=== DarkAge MOD for MINETEST-C55 ===
|
||||
by Master Gollum
|
||||
#DarkAge MOD for MINETEST
|
||||
orginal by Master Gollum
|
||||
modyfied by addi
|
||||
|
||||
Introduction:
|
||||
|
||||
##Introduction:
|
||||
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
|
||||
construction :P
|
||||
@ -23,24 +25,50 @@ Introduction:
|
||||
|
||||
|
||||
|
||||
Release Notes
|
||||
##Release Notes
|
||||
Version 1.0.1
|
||||
|
||||
Version 0.3
|
||||
* 29 Nodes + 3 Craft Items
|
||||
* Furniture and building decoration
|
||||
* Stone layers
|
||||
* fixed init.lua wich get broken by upload on github
|
||||
|
||||
Version 0.2
|
||||
* 13 Nodes
|
||||
* Sedimentary stones
|
||||
|
||||
Version 0.1
|
||||
* 6 Nodes
|
||||
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 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)
|
||||
* 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
|
||||
* 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
|
||||
|
||||
PS: This document has been structured as the README.txt of PilzAdam in
|
||||
his Bed MOD.
|
||||
|
||||
How to install:
|
||||
###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
|
||||
@ -50,7 +78,7 @@ How to install:
|
||||
For further information or help see:
|
||||
http://wiki.minetest.com/wiki/Installing_Mods
|
||||
|
||||
Tunning:
|
||||
###Tunning:
|
||||
Comments the following lines to remove what you don't like:
|
||||
(To comment them just add -- at the beginning of their lines)
|
||||
|
||||
@ -63,9 +91,10 @@ Tunning:
|
||||
Only pure stones will be provided.
|
||||
|
||||
|
||||
BUILDING NODES
|
||||
##BUILDING NODES
|
||||
|
||||
Adobe: 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
|
||||
CRAFT -> 4
|
||||
@ -73,22 +102,27 @@ Tunning:
|
||||
[Clay Lumb] [Straw]
|
||||
|
||||
Basalt: a darken version of the default Stone
|
||||
|
||||
COOKING
|
||||
[Basalt Cobble]
|
||||
|
||||
Basalt Cobble: 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 digged. 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 digged it lost the plaster layer!
|
||||
CRAFT -> 2
|
||||
@ -96,6 +130,7 @@ Tunning:
|
||||
[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
|
||||
@ -105,12 +140,14 @@ Tunning:
|
||||
[Gravel] [Gravel]
|
||||
|
||||
Desert Stone Cobble: To add more uses to the Desert Stones.
|
||||
|
||||
I suppossed they are harder than regular Stones so it
|
||||
cracks at 50% and releases the Cobbles or just regular
|
||||
Desert Stones.
|
||||
From dig Desert Stone
|
||||
|
||||
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
|
||||
@ -119,6 +156,7 @@ Tunning:
|
||||
does it.
|
||||
|
||||
Dry Leaves: Just a cube of Leaves toasted :P Well I found the
|
||||
|
||||
Leaves unuseful, 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
|
||||
@ -126,15 +164,18 @@ Tunning:
|
||||
[Leaves]
|
||||
|
||||
Gneiss: high grade metamorphic rock formed from Schist, very
|
||||
|
||||
common, and used in construction. It sometimes brokes in
|
||||
Gneiss Cobble when being digged.
|
||||
COOKING
|
||||
[Schist]
|
||||
|
||||
Gneiss Cobble: brick 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 desertic regions.
|
||||
It brokes in 4 Mud Lumps when digged.
|
||||
CRAFT -> 3
|
||||
@ -145,6 +186,7 @@ Tunning:
|
||||
[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]
|
||||
@ -153,6 +195,7 @@ Tunning:
|
||||
[Old Red Sandstone Cobble]
|
||||
|
||||
Old Red Sandstone Cobble: Cobbles of Old Red Sandstone.
|
||||
|
||||
CRAFT -> 4
|
||||
[Sandstone Cobble] [Sandstone Cobble]
|
||||
[Iron Lumb] [Sandstone Cobble]
|
||||
@ -161,6 +204,7 @@ Tunning:
|
||||
release with its own Cobbles.
|
||||
|
||||
Reinforced Cobble: brick with crossed wooden.
|
||||
|
||||
CRAFT -> 1
|
||||
[Stick] [] [Stick]
|
||||
[] [Cobble] []
|
||||
@ -168,15 +212,18 @@ Tunning:
|
||||
|
||||
Sandstone Cobble: brick version of the Sandstone, good for
|
||||
buildings with a pale color.
|
||||
|
||||
COOKING
|
||||
[Sandstone]
|
||||
|
||||
Schist: medium grade metamorphic rock from Slate.
|
||||
|
||||
COOKING
|
||||
[Slate]
|
||||
|
||||
Silt: granular material of a size somewhere between sand and clay.
|
||||
It brokes in 4 Silt Lumps.
|
||||
|
||||
CRAFT -> 1
|
||||
[Silt Lump] [Silt Lump]
|
||||
[Silt Lump] [Silt Lump]
|
||||
@ -184,6 +231,7 @@ Tunning:
|
||||
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
|
||||
@ -198,6 +246,7 @@ Tunning:
|
||||
as building traditional building material in zones where
|
||||
slate is easy to find.
|
||||
Note: It has stairs and slabs.
|
||||
|
||||
CRAFT -> 2
|
||||
[Slate Cobble] [Slate Cobble]
|
||||
[Slate Cobble] [Slate Cobble]
|
||||
@ -205,6 +254,7 @@ Tunning:
|
||||
Straw: a cube of yellish straw, try them in the roofs they will
|
||||
be very nice. Used also as traditional building material
|
||||
from ancient times.
|
||||
|
||||
CRAFT -> 2
|
||||
[Shrub] [Shrub]
|
||||
[Shrub] [Shrub]
|
||||
@ -214,6 +264,7 @@ Tunning:
|
||||
|
||||
Straw Bale: a decoration item, looks great for a farm or a
|
||||
country side house.
|
||||
|
||||
CRAFT -> 1
|
||||
[Straw] [Straw]
|
||||
[Straw] [Straw]
|
||||
@ -222,62 +273,89 @@ Tunning:
|
||||
from Desert Sand. The idea is that Desert Sand is stonner
|
||||
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
|
||||
##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
|
||||
[Steel Ingot] [] [Steel Ingot]
|
||||
[Steel Ingot] [] [Steel Ingot]
|
||||
[Steel Ingot] [] [Steel Ingot]
|
||||
|
||||
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
|
||||
|
||||
License:
|
||||
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 wich are glowing by itself
|
||||
|
||||
CRAFT -> 8
|
||||
[Medieval Glass]
|
||||
[torch]
|
||||
|
||||
|
||||
##License:
|
||||
Sourcecode: WTFPL (see below)
|
||||
Graphics: WTFPL (see below)
|
||||
|
||||
See also:
|
||||
#See also:
|
||||
http://minetest.net/
|
||||
|
||||
---
|
||||
|
||||
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
|
||||
Version 2, December 2004
|
||||
|
||||
@ -291,8 +369,3 @@ http://minetest.net/
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
0. You just DO WHAT THE FUCK YOU WANT TO.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
2
alias.lua
Normal file
2
alias.lua
Normal file
@ -0,0 +1,2 @@
|
||||
minetest.register_alias("darkage:sandstone_cobble", "default:sandstonebrick")
|
||||
minetest.register_alias("darkage:desert_stone_cobble", "default:desert_stonebrick")
|
99
building.lua
99
building.lua
@ -1,6 +1,57 @@
|
||||
minetest.register_node("darkage:glass", {
|
||||
description = "medieval Glass",
|
||||
drawtype = "glasslike",
|
||||
tiles = {"darkage_glass.png"},
|
||||
inventory_image = minetest.inventorycube("darkage_glass.png"),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
is_ground_content = true,
|
||||
groups = {snappy=2,cracky=3,oddly_breakable_by_hand=3},
|
||||
sounds = default.node_sound_glass_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("darkage:glow_glass", {
|
||||
description = "medieval glow glass",
|
||||
drawtype = "glasslike",
|
||||
tiles = {"darkage_glass.png"},
|
||||
inventory_image = minetest.inventorycube("darkage_glass.png"),
|
||||
paramtype = "light",
|
||||
light_source = 18,
|
||||
sunlight_propagates = true,
|
||||
is_ground_content = true,
|
||||
groups = {snappy=2,cracky=3,oddly_breakable_by_hand=3},
|
||||
sounds = default.node_sound_glass_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'darkage:glow_glass 1',
|
||||
recipe = {
|
||||
{'darkage:glass', '', ''},
|
||||
{'default:torch', '', ''},
|
||||
{'', '', ''},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'darkage:glass 1',
|
||||
recipe = {
|
||||
{'darkage:glow_glass'},
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'darkage:glass 8',
|
||||
recipe = {
|
||||
{'default:glass', 'default:steel_ingot', 'default:glass'},
|
||||
{'default:steel_ingot', 'default:glass', 'default:steel_ingot'},
|
||||
{'default:glass', 'default:steel_ingot', 'default:glass'},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_node("darkage:reinforced_chalk", {
|
||||
description = "Reinforced Chalk",
|
||||
tiles = {"darkage_reinforced_chalk.png"},
|
||||
tiles = {"darkage_chalk.png^darkage_reinforce.png"},
|
||||
is_ground_content = true,
|
||||
groups = {cracky=3},
|
||||
sounds = default.node_sound_stone_defaults()
|
||||
@ -8,7 +59,7 @@ minetest.register_node("darkage:reinforced_chalk", {
|
||||
|
||||
minetest.register_node("darkage:reinforced_wood", {
|
||||
description = "Reinforced Wood",
|
||||
tiles = {"darkage_reinforced_wood.png"},
|
||||
tiles = {"default_wood.png^darkage_reinforce.png"},
|
||||
is_ground_content = true,
|
||||
groups = {snappy=2,choppy=3,oddly_breakable_by_hand=3,flammable=3},
|
||||
sounds = default.node_sound_wood_defaults()
|
||||
@ -31,15 +82,6 @@ minetest.register_node("darkage:reinforced_wood_left", {
|
||||
})
|
||||
|
||||
|
||||
minetest.register_node("darkage:reinforced_wood", {
|
||||
description = "Reinforced Wood",
|
||||
tiles = {"darkage_reinforced_wood.png"},
|
||||
is_ground_content = true,
|
||||
groups = {snappy=2,choppy=3,oddly_breakable_by_hand=3,flammable=3},
|
||||
sounds = default.node_sound_stone_defaults()
|
||||
})
|
||||
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'darkage:reinforced_chalk',
|
||||
recipe = {
|
||||
@ -49,6 +91,15 @@ minetest.register_craft({
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'darkage:chalk',
|
||||
recipe = {
|
||||
{'darkage:chalk_powder','darkage:chalk_powder',''},
|
||||
{'darkage:chalk_powder','darkage:chalk_powder',''},
|
||||
{'','',''},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'darkage:reinforced_wood',
|
||||
recipe = {
|
||||
@ -96,3 +147,29 @@ minetest.register_craft({
|
||||
{'darkage:reinforced_wood_right'},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'darkage:glow_glass 1',
|
||||
recipe = {
|
||||
{'darkage:glass', '', ''},
|
||||
{'default:torch', '', ''},
|
||||
{'', '', ''},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'darkage:glass 1',
|
||||
recipe = {
|
||||
{'darkage:glow_glass'},
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'darkage:glass 8',
|
||||
recipe = {
|
||||
{'default:glass', 'default:steel_ingot', 'default:glass'},
|
||||
{'default:steel_ingot', 'default:glass', 'default:steel_ingot'},
|
||||
{'default:glass', 'default:steel_ingot', 'default:glass'},
|
||||
}
|
||||
})
|
||||
|
@ -1,2 +1,3 @@
|
||||
default
|
||||
|
||||
farming?
|
||||
moreblocks?
|
@ -27,7 +27,7 @@ minetest.register_node('darkage:box', {
|
||||
paramtype2 = "facedir",
|
||||
walkable = true,
|
||||
groups = { snappy = 3 },
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
on_construct = function(pos)
|
||||
local meta = minetest.env:get_meta(pos)
|
||||
meta:set_string("formspec",
|
||||
@ -66,7 +66,7 @@ minetest.register_node('darkage:wood_shelves', {
|
||||
paramtype2 = "facedir",
|
||||
walkable = true,
|
||||
groups = { snappy = 3 },
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
on_construct = function(pos)
|
||||
local meta = minetest.env:get_meta(pos)
|
||||
meta:set_string("formspec",
|
||||
@ -204,18 +204,18 @@ minetest.register_craft({
|
||||
minetest.register_craft({
|
||||
output = 'darkage:chain 2',
|
||||
recipe = {
|
||||
{'default:steel_ingot'},
|
||||
{'default:steel_ingot'},
|
||||
{'default:steel_ingot'},
|
||||
{'darkage:iron_stick'}, --changed reziep to avoid problems with ironbars - addi
|
||||
{'darkage:iron_stick'},
|
||||
{'darkage:iron_stick'},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'darkage:iron_bars 2',
|
||||
recipe = {
|
||||
{'default:steel_ingot','','default:steel_ingot'},
|
||||
{'default:steel_ingot','','default:steel_ingot'},
|
||||
{'default:steel_ingot','','default:steel_ingot'},
|
||||
{'darkage:iron_stick','','darkage:iron_stick'}, --changed reziep to avoid problems with 3dfurniture -addi
|
||||
{'darkage:iron_stick','','darkage:iron_stick'},
|
||||
{'darkage:iron_stick','','darkage:iron_stick'},
|
||||
}
|
||||
})
|
||||
|
||||
|
160
init.lua
160
init.lua
@ -3,8 +3,12 @@ print (" ---- Dark Age is Loading! ---- ")
|
||||
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")
|
||||
if minetest.get_modpath("moreblocks") then
|
||||
dofile(minetest.get_modpath("darkage").."/stairsplus.lua")--only if moreblocks installed
|
||||
else
|
||||
dofile(minetest.get_modpath("darkage").."/stairs.lua")
|
||||
|
||||
end
|
||||
----------
|
||||
-- Items
|
||||
----------
|
||||
@ -54,13 +58,13 @@ 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_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",
|
||||
@ -155,13 +159,15 @@ minetest.register_node("darkage:ors_cobble", {
|
||||
})
|
||||
|
||||
|
||||
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: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",
|
||||
@ -256,30 +262,30 @@ minetest.register_node("darkage:marble", {
|
||||
sounds = default.node_sound_stone_defaults()
|
||||
})
|
||||
|
||||
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()
|
||||
})
|
||||
--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.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'},
|
||||
-- }
|
||||
-- }
|
||||
--}
|
||||
|
||||
|
||||
---------------
|
||||
@ -300,6 +306,12 @@ minetest.register_craftitem("darkage:silt_lump", {
|
||||
inventory_image = "darkage_silt_lump.png",
|
||||
})
|
||||
|
||||
minetest.register_craftitem("darkage:iron_stick", {
|
||||
description = "Iron Stick",
|
||||
inventory_image = "darkage_iron_stick.png",
|
||||
})
|
||||
|
||||
|
||||
----------
|
||||
-- Crafts
|
||||
----------
|
||||
@ -331,6 +343,14 @@ minetest.register_craft({
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'darkage:chalk 2',
|
||||
recipe = {
|
||||
{'darkage:chalk_powder','darkage:chalk_powder'},
|
||||
{'darkage:chalk_powder','darkage:chalk_powder'},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'darkage:cobble_with_plaster 2',
|
||||
recipe = {
|
||||
@ -371,13 +391,13 @@ 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:ors_cobble 4',
|
||||
-- recipe = {
|
||||
-- {'darkage:sandstone_cobble','darkage:sandstone_cobble'},
|
||||
-- {'default:iron_lump','darkage:sandstone_cobble'},
|
||||
-- }
|
||||
--})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'darkage:silt 3',
|
||||
@ -404,10 +424,11 @@ minetest.register_craft({
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'darkage:stone_brick 3',
|
||||
output = 'darkage:stone_brick 9',--changed bacause conflicts with moreblocks
|
||||
recipe = {
|
||||
{'default:cobble','default:cobble'},
|
||||
{'default:cobble','default:cobble'},
|
||||
{'default:cobble','default:cobble','default:cobble'},--changed bacause conflicts with moreblocks
|
||||
{'default:cobble','default:cobble','default:cobble'},--changed bacause conflicts with moreblocks
|
||||
{'default:cobble','default:cobble','default:cobble'},--changed bacause conflicts with moreblocks
|
||||
}
|
||||
})
|
||||
|
||||
@ -427,6 +448,19 @@ minetest.register_craft({
|
||||
}
|
||||
})
|
||||
|
||||
if minetest.get_modpath("farming") then
|
||||
--only if farming installed
|
||||
minetest.register_craft({
|
||||
output = 'darkage:straw 4',
|
||||
recipe = {
|
||||
{'farming:wheat_harvested','farming:wheat_harvested'},
|
||||
{'farming:wheat_harvested','farming:wheat_harvested'},
|
||||
}
|
||||
})
|
||||
else
|
||||
--nothing else
|
||||
end
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'darkage:straw_bale',
|
||||
recipe = {
|
||||
@ -435,6 +469,12 @@ minetest.register_craft({
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'darkage:iron_stick 4',
|
||||
recipe = {
|
||||
{'default:steel_ingot'},
|
||||
}
|
||||
})
|
||||
|
||||
-- Cookings
|
||||
minetest.register_craft({
|
||||
@ -443,11 +483,11 @@ 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 = "default:desert_stone",
|
||||
-- recipe = "darkage:desert_stone_cobble",
|
||||
--})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
@ -455,11 +495,11 @@ minetest.register_craft({
|
||||
recipe = "default:leaves",
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
output = "darkage:sandstone_cobble",
|
||||
recipe = "default:sandstone",
|
||||
})
|
||||
--minetest.register_craft({
|
||||
-- type = "cooking",
|
||||
-- output = "darkage:sandstone_cobble",
|
||||
-- recipe = "default:sandstone",
|
||||
--})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
@ -480,11 +520,11 @@ minetest.register_craft({
|
||||
})
|
||||
|
||||
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
output = "darkage:sandstone_cobble",
|
||||
recipe = "default:sandstone",
|
||||
})
|
||||
--minetest.register_craft({
|
||||
-- type = "cooking",
|
||||
-- output = "darkage:sandstone_cobble",
|
||||
-- recipe = "default:sandstone",
|
||||
--})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
|
10
stairs.lua
10
stairs.lua
@ -136,9 +136,9 @@ darkage.register_stairs("darkage","ors_cobble",
|
||||
"Old Red Sandtone"
|
||||
)
|
||||
|
||||
darkage.register_stairs("darkage","desert_stone_cobble",
|
||||
{cracky=3},
|
||||
{"darkage_desert_stone_cobble.png"},
|
||||
"Desert Stone Cobble"
|
||||
)
|
||||
--darkage.register_stairs("darkage","desert_stone_cobble",
|
||||
-- {cracky=3},
|
||||
-- {"darkage_desert_stone_cobble.png"},
|
||||
-- "Desert Stone Cobble"
|
||||
--)
|
||||
|
||||
|
66
stairsplus.lua
Normal file
66
stairsplus.lua
Normal file
@ -0,0 +1,66 @@
|
||||
darkage = {};
|
||||
function darkage.register_stairs(modname, subname, groups, images, desc)
|
||||
table.insert(circular_saw.known_stairs, modname..":"..subname);
|
||||
recipeitem = modname..":"..subname;
|
||||
desc_stair = desc.." stair";
|
||||
desc_slab = desc.." slab";
|
||||
desc_panel = desc.." panel";
|
||||
desc_micro = desc.." micro";
|
||||
drop = subname
|
||||
register_stair(modname, subname, recipeitem, groups, images, desc_stair, drop)
|
||||
register_slab(modname, subname, recipeitem, groups, images, desc_slab, drop)
|
||||
register_panel(modname, subname, recipeitem, groups, images, desc_panel, drop)
|
||||
register_micro(modname, subname, recipeitem, groups, images, desc_micro, drop)
|
||||
end
|
||||
darkage.register_stairs("darkage","basalt_cobble",
|
||||
{cracky=3},
|
||||
{"darkage_basalt_cobble.png"},
|
||||
"Basalt Cobble"
|
||||
)
|
||||
|
||||
darkage.register_stairs("darkage","slate_tale",
|
||||
{cracky=3},
|
||||
{"darkage_slate_tale.png"},
|
||||
"Slate Tale"
|
||||
)
|
||||
|
||||
darkage.register_stairs("darkage","straw",
|
||||
{snappy=3, flammable=2},
|
||||
{"darkage_straw.png"},
|
||||
"Straw"
|
||||
)
|
||||
|
||||
darkage.register_stairs("darkage","stone_brick",
|
||||
{cracky=3},
|
||||
{"darkage_stone_brick.png"},
|
||||
"Stone Brick"
|
||||
)
|
||||
|
||||
darkage.register_stairs("darkage","ors_cobble",
|
||||
{cracky=3},
|
||||
{"darkage_ors_cobble.png"},
|
||||
"Old Red Sandtone"
|
||||
)
|
||||
|
||||
--darkage.register_stairs("darkage","desert_stone_cobble",
|
||||
-- {cracky=3},
|
||||
-- {"darkage_desert_stone_cobble.png"},
|
||||
-- "Desert Stone Cobble"
|
||||
--)
|
||||
|
||||
darkage.register_stairs("darkage","slate_cobble",
|
||||
{cracky=3},
|
||||
{"darkage_slate_cobble.png"},
|
||||
"Slate Cobble"
|
||||
)
|
||||
--darkage.register_stairs("darkage","sandstone_cobble",
|
||||
-- {cracky=3},
|
||||
-- {"darkage_sandstone_cobble.png"},
|
||||
-- "Sandstone Cobble"
|
||||
--)
|
||||
|
||||
darkage.register_stairs("darkage","gneiss_cobble",
|
||||
{cracky=3},
|
||||
{"darkage_gneiss_cobble.png"},
|
||||
"Gneiss Cobble"
|
||||
)
|
BIN
textures/darkage_glass.png
Normal file
BIN
textures/darkage_glass.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.3 KiB |
BIN
textures/darkage_glow_stone_lamp.png
Normal file
BIN
textures/darkage_glow_stone_lamp.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 697 B |
BIN
textures/darkage_iron_stick.png
Normal file
BIN
textures/darkage_iron_stick.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 202 B |
Binary file not shown.
Before Width: | Height: | Size: 813 B |
Binary file not shown.
Before Width: | Height: | Size: 809 B |
Binary file not shown.
Before Width: | Height: | Size: 717 B |
Reference in New Issue
Block a user