updated lots of mods:
blox, bobblocks, homedecor, coloredwood, gloopblocks, moreblocks, plasticbox, replacer, solidcolor, stained_glass, technic, unifiedbricks, and unifieddyes (in most of these, it's to upgrade to the Unified Dyes "extended" palette)
This commit is contained in:
@@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file.
|
||||
The format is based on [Keep a Changelog](http://keepachangelog.com/)
|
||||
and this project adheres to [Semantic Versioning](http://semver.org/).
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
### Added
|
||||
|
||||
- 3 new node shapes in the circular saw (thin slabs, available in
|
||||
"L-shaped", "corner-shaped" and "U-shaped" variations), all with 1/16
|
||||
thickness.
|
||||
- Stone Block, Desert Stone Block, Obsidian Block, Sandstone Block, Coral
|
||||
Skeleton and Straw are now present as Stairs+ nodes.
|
||||
|
||||
## [1.0.0] - 2017-02-19
|
||||
|
||||
- Initial versioned release.
|
||||
- Initial versioned release.
|
||||
|
@@ -1,2 +1,3 @@
|
||||
default
|
||||
intllib?
|
||||
farming?
|
||||
|
@@ -12,6 +12,8 @@ local modpath = minetest.get_modpath("moreblocks").. "/stairsplus"
|
||||
stairsplus = {}
|
||||
stairsplus.expect_infinite_stacks = false
|
||||
|
||||
stairsplus.shapes_list = {}
|
||||
|
||||
if not minetest.get_modpath("unified_inventory")
|
||||
and minetest.setting_getbool("creative_mode") then
|
||||
stairsplus.expect_infinite_stacks = true
|
||||
|
@@ -65,6 +65,10 @@ local microblocks_defs = {
|
||||
}
|
||||
}
|
||||
|
||||
for k,v in pairs(microblocks_defs) do
|
||||
table.insert(stairsplus.shapes_list, { "micro_", k })
|
||||
end
|
||||
|
||||
function stairsplus:register_micro_alias(modname_old, subname_old, modname_new, subname_new)
|
||||
local defs = stairsplus.copytable(microblocks_defs)
|
||||
for alternate, def in pairs(defs) do
|
||||
|
@@ -65,6 +65,10 @@ local panels_defs = {
|
||||
}
|
||||
}
|
||||
|
||||
for k,v in pairs(panels_defs) do
|
||||
table.insert(stairsplus.shapes_list, { "panel_", k })
|
||||
end
|
||||
|
||||
function stairsplus:register_panel_alias(modname_old, subname_old, modname_new, subname_new)
|
||||
local defs = stairsplus.copytable(panels_defs)
|
||||
for alternate, def in pairs(defs) do
|
||||
|
@@ -7,6 +7,7 @@ Licensed under the zlib license. See LICENSE.md for more information.
|
||||
|
||||
local default_nodes = { -- Default stairs/slabs/panels/microblocks:
|
||||
"stone",
|
||||
"stone_block",
|
||||
"cobble",
|
||||
"mossycobble",
|
||||
"brick",
|
||||
@@ -17,6 +18,7 @@ local default_nodes = { -- Default stairs/slabs/panels/microblocks:
|
||||
"bronzeblock",
|
||||
"diamondblock",
|
||||
"desert_stone",
|
||||
"desert_stone_block",
|
||||
"desert_cobble",
|
||||
"meselamp",
|
||||
"glass",
|
||||
@@ -31,20 +33,29 @@ local default_nodes = { -- Default stairs/slabs/panels/microblocks:
|
||||
"aspen_tree",
|
||||
"aspen_wood",
|
||||
"obsidian",
|
||||
"obsidian_block",
|
||||
"obsidianbrick",
|
||||
"obsidian_glass",
|
||||
"stonebrick",
|
||||
"desert_stonebrick",
|
||||
"sandstonebrick",
|
||||
"obsidianbrick",
|
||||
"sandstone_block",
|
||||
"coral_skeleton",
|
||||
"farming:straw"
|
||||
}
|
||||
|
||||
for _, name in pairs(default_nodes) do
|
||||
local nodename = "default:" .. name
|
||||
local nodename = "default:"..name
|
||||
local a,b = string.find(name, ":")
|
||||
if b then
|
||||
nodename = name
|
||||
name = string.sub(name, b+1)
|
||||
end
|
||||
local ndef = minetest.registered_nodes[nodename]
|
||||
if ndef then
|
||||
local drop
|
||||
if type(ndef.drop) == "string" then
|
||||
drop = ndef.drop:sub(9)
|
||||
drop = ndef.drop:sub((b or 8)+1)
|
||||
end
|
||||
|
||||
local tiles = ndef.tiles
|
||||
|
@@ -44,6 +44,10 @@ local slabs_defs = {
|
||||
}
|
||||
}
|
||||
|
||||
for k,v in pairs(slabs_defs) do
|
||||
table.insert(stairsplus.shapes_list, { "slab_", k })
|
||||
end
|
||||
|
||||
function stairsplus:register_slab_alias(modname_old, subname_old, modname_new, subname_new)
|
||||
local defs = stairsplus.copytable(slabs_defs)
|
||||
for alternate, def in pairs(defs) do
|
||||
|
@@ -219,6 +219,10 @@ local slopes_defs = {
|
||||
},
|
||||
}
|
||||
|
||||
for k,v in pairs(slopes_defs) do
|
||||
table.insert(stairsplus.shapes_list, { "slope_", k })
|
||||
end
|
||||
|
||||
function stairsplus:register_slope_alias(modname_old, subname_old, modname_new, subname_new)
|
||||
local defs = stairsplus.copytable(slopes_defs)
|
||||
for alternate, def in pairs(defs) do
|
||||
|
@@ -105,6 +105,10 @@ local stairs_defs = {
|
||||
},
|
||||
}
|
||||
|
||||
for k,v in pairs(stairs_defs) do
|
||||
table.insert(stairsplus.shapes_list, { "stair_", k })
|
||||
end
|
||||
|
||||
function stairsplus:register_stair_alias(modname_old, subname_old, modname_new, subname_new)
|
||||
local defs = stairsplus.copytable(stairs_defs)
|
||||
for alternate, def in pairs(defs) do
|
||||
|
Reference in New Issue
Block a user