mirror of
https://github.com/adrido/darkage.git
synced 2025-06-28 14:36:22 +02:00
Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
c591d47cf8 | |||
c6d4e81bb5 | |||
4e3ab01e0a | |||
c46c624e9b |
21
LICENSE.txt
Normal file
21
LICENSE.txt
Normal file
@ -0,0 +1,21 @@
|
||||
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.
|
31
README.md
31
README.md
@ -28,11 +28,9 @@ Contains code from CragiDavi and HybridDog
|
||||
|
||||
## Release Notes
|
||||
|
||||
### Version 1.4
|
||||
### Version 1.4.1
|
||||
|
||||
* New Textures by Skamiz
|
||||
* serveral mapgen fixes
|
||||
* Maintenance stuff
|
||||
* Minor Bug fixes
|
||||
|
||||
Full release notes: <https://github.com/adrido/darkage/releases>
|
||||
|
||||
@ -54,28 +52,9 @@ For Building-blocks and crafting information please take a look to the wiki:
|
||||
|
||||
## License
|
||||
|
||||
Sourcecode: WTFPL (see below)
|
||||
Graphics: WTFPL (see below)
|
||||
Sourcecode: MIT
|
||||
Graphics: CC-0
|
||||
|
||||
## See also
|
||||
|
||||
<http://minetest.net/>
|
||||
|
||||
---
|
||||
|
||||
```text
|
||||
|
||||
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.
|
||||
```
|
||||
<https://www.luanti.org/>
|
||||
|
@ -78,8 +78,6 @@ register_moreblocks_alias("darkage:slate_tale", "darkage:slate_tile")
|
||||
|
||||
-- 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")
|
||||
minetest.register_alias("darkage:basalt_cobble_wall", "darkage:basalt_rubble_wall")
|
||||
|
||||
|
147
glass.lua
147
glass.lua
@ -15,7 +15,7 @@ minetest.register_node("darkage:glass", {
|
||||
use_texture_alpha = "clip",
|
||||
paramtype = "light",
|
||||
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(),
|
||||
})
|
||||
|
||||
@ -28,32 +28,15 @@ minetest.register_craft({
|
||||
}
|
||||
})
|
||||
|
||||
--[[ Round Glass By Semmett9 aka Infinatum ]]
|
||||
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_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(),
|
||||
after_dig_node = unifieddyes.after_dig_node
|
||||
})
|
||||
end
|
||||
|
||||
minetest.register_node("darkage:glass_round", {
|
||||
description = "Round Glass",
|
||||
drawtype = "glasslike",
|
||||
tiles = { "darkage_glass_round.png" },
|
||||
tiles = {"darkage_glass_round.png"},
|
||||
paramtype = "light",
|
||||
use_texture_alpha = "clip",
|
||||
sunlight_propagates = true,
|
||||
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({
|
||||
@ -70,20 +53,20 @@ minetest.register_craft({
|
||||
minetest.register_node("darkage:glass_square", {
|
||||
description = "Square Glass",
|
||||
drawtype = "glasslike",
|
||||
tiles = { "darkage_glass_square.png" },
|
||||
tiles = {"darkage_glass_square.png"},
|
||||
paramtype = "light",
|
||||
use_texture_alpha = "clip",
|
||||
sunlight_propagates = true,
|
||||
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({
|
||||
output = "darkage:glass_square 8",
|
||||
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:glass", "default:steel_ingot", "default:glass"},
|
||||
{"default:glass", "default:steel_ingot", "default:glass"},
|
||||
}
|
||||
})
|
||||
|
||||
@ -101,15 +84,15 @@ minetest.register_node("darkage:glow_glass", {
|
||||
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},
|
||||
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")
|
||||
inventory_image = minetest.inventorycube("darkage_glow_glass.png")
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "darkage:glow_glass 1",
|
||||
type = "shaped",
|
||||
type = "shaped",
|
||||
recipe = {
|
||||
{"darkage:glass"},
|
||||
{"default:torch"}
|
||||
@ -119,7 +102,7 @@ minetest.register_craft({
|
||||
-- Recycling
|
||||
minetest.register_craft({
|
||||
output = "darkage:glass 1",
|
||||
type = "shaped",
|
||||
type = "shaped",
|
||||
recipe = {{"darkage:glow_glass"}},
|
||||
})
|
||||
|
||||
@ -132,18 +115,18 @@ minetest.register_node("darkage:glow_glass_round", {
|
||||
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},
|
||||
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")
|
||||
inventory_image = minetest.inventorycube("darkage_glow_glass_round.png")
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "darkage:glow_glass_round 1",
|
||||
type = "shaped",
|
||||
type = "shaped",
|
||||
recipe = {
|
||||
{"darkage:glass_round"},
|
||||
{"default:torch"}
|
||||
{"default:torch"}
|
||||
}
|
||||
})
|
||||
|
||||
@ -156,31 +139,31 @@ minetest.register_craft({
|
||||
--]] Square Glow Glass ]]
|
||||
|
||||
minetest.register_node("darkage:glow_glass_square", {
|
||||
description = "Medieval Square Glow Glass",
|
||||
drawtype = "glasslike",
|
||||
tiles = {"darkage_glass_square.png"},
|
||||
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},
|
||||
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")
|
||||
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"},
|
||||
}
|
||||
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"}}
|
||||
output = "darkage:glass_square 1",
|
||||
recipe = {{"darkage:glow_glass_square"}}
|
||||
})
|
||||
|
||||
--[[
|
||||
@ -201,28 +184,22 @@ if minetest.get_modpath("unifieddyes") then
|
||||
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},
|
||||
groups = {cracky = 3, oddly_breakable_by_hand = 3, not_cuttable = 1, ud_param2_colorable = 1},
|
||||
sounds = default.node_sound_glass_defaults()
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
unifieddyes.register_color_craft({
|
||||
output = "darkage:milk_glass",
|
||||
palette = "extended",
|
||||
type = "shapeless",
|
||||
recipe = {"darkage:glass", "dye:white"}
|
||||
neutral_node = "darkage:glass",
|
||||
recipe = {
|
||||
"NEUTRAL_NODE",
|
||||
"MAIN_DYE"
|
||||
}
|
||||
})
|
||||
|
||||
unifieddyes.register_color_craft({
|
||||
output = "darkage:milk_glass",
|
||||
palette = "extended",
|
||||
type = "shapeless",
|
||||
neutral_node = "",
|
||||
recipe = {
|
||||
"darkage:milk_glass",
|
||||
"MAIN_DYE"
|
||||
}
|
||||
})
|
||||
|
||||
-- Recycling
|
||||
-- Recycling
|
||||
minetest.register_craft({
|
||||
output = "darkage:glass 1",
|
||||
recipe = {{"darkage:milk_glass"}}
|
||||
@ -239,26 +216,20 @@ if minetest.get_modpath("unifieddyes") then
|
||||
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},
|
||||
groups = {cracky = 3, oddly_breakable_by_hand = 3, not_cuttable = 1, ud_param2_colorable = 1},
|
||||
sounds = default.node_sound_glass_defaults()
|
||||
})
|
||||
-- Craft
|
||||
minetest.register_craft({
|
||||
output = "darkage:milk_glass_round",
|
||||
type = "shapeless",
|
||||
recipe = {"darkage:glass_round", "dye:white"},
|
||||
})
|
||||
|
||||
unifieddyes.register_color_craft({
|
||||
output = "darkage:milk_glass_round",
|
||||
palette = "extended",
|
||||
type = "shapeless",
|
||||
neutral_node = "",
|
||||
recipe = {
|
||||
"darkage:milk_glass_round",
|
||||
"MAIN_DYE"
|
||||
}
|
||||
})
|
||||
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({
|
||||
@ -277,7 +248,7 @@ if minetest.get_modpath("unifieddyes") then
|
||||
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},
|
||||
groups = {cracky = 3, oddly_breakable_by_hand = 3, not_cuttable = 1, ud_param2_colorable = 1},
|
||||
sounds = default.node_sound_glass_defaults()
|
||||
})
|
||||
|
||||
@ -289,13 +260,13 @@ if minetest.get_modpath("unifieddyes") then
|
||||
})
|
||||
|
||||
unifieddyes.register_color_craft({
|
||||
output = "darkage:milk_glass_square",
|
||||
palette = "extended",
|
||||
type = "shapeless",
|
||||
neutral_node = "",
|
||||
recipe = {
|
||||
"darkage:milk_glass_square",
|
||||
"MAIN_DYE"
|
||||
output = "darkage:milk_glass_square",
|
||||
palette = "extended",
|
||||
type = "shapeless",
|
||||
neutral_node = "darkage:glass_square",
|
||||
recipe = {
|
||||
"NEUTRAL_NODE",
|
||||
"MAIN_DYE"
|
||||
}
|
||||
})
|
||||
|
||||
|
Reference in New Issue
Block a user