Compare commits
10 Commits
c13321142b
...
v2.0.0
Author | SHA1 | Date | |
---|---|---|---|
325999f848 | |||
5cab63c675 | |||
8019f9f309 | |||
873019176b | |||
b934d8ad4d | |||
719494b6c4 | |||
8b10e0721e | |||
b2f1163dad | |||
f421c67372 | |||
72a6ee6032 |
@ -1,6 +1,6 @@
|
||||
repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v2.1.0
|
||||
rev: v2.3.0
|
||||
hooks:
|
||||
- id: end-of-file-fixer
|
||||
- id: trailing-whitespace
|
||||
|
16
.travis.yml
@ -1,15 +1,15 @@
|
||||
language: generic
|
||||
dist: bionic
|
||||
language: python
|
||||
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- luarocks
|
||||
python:
|
||||
- 3.7.1
|
||||
|
||||
install:
|
||||
- pyenv global 3.6.3
|
||||
- pip3 install --user pre-commit
|
||||
- sudo apt-get update -qq
|
||||
- sudo apt-get install -qqq luarocks
|
||||
- pip3 install pre-commit
|
||||
- luarocks install --local luacheck
|
||||
|
||||
script:
|
||||
- $HOME/.local/bin/pre-commit run --all-files
|
||||
- pre-commit run --all-files
|
||||
- $HOME/.luarocks/bin/luacheck .
|
||||
|
12
CHANGELOG.md
@ -7,14 +7,23 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
## [2.0.0] - 2019-11-25
|
||||
|
||||
### Added
|
||||
|
||||
- Stairs+ nodes for ice.
|
||||
- `settingtypes.txt` file to allow configuring settings in the main menu.
|
||||
- Polish translation.
|
||||
|
||||
### Changed
|
||||
|
||||
- The minimum supported Minetest version is now 5.0.0.
|
||||
- Stairs+ nodes now emit one light level less compared to full nodes to make up
|
||||
for their smaller visual size.
|
||||
|
||||
### Fixed
|
||||
|
||||
- Fixed a recipe conflict that made Centered Wooden Tiles impossible to craft.
|
||||
|
||||
## [1.3.0] - 2019-03-23
|
||||
|
||||
@ -81,7 +90,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
||||
|
||||
- Initial versioned release.
|
||||
|
||||
[Unreleased]: https://github.com/minetest-mods/moreblocks/compare/v1.3.0...HEAD
|
||||
[Unreleased]: https://github.com/minetest-mods/moreblocks/compare/v2.0.0...HEAD
|
||||
[2.0.0]: https://github.com/minetest-mods/moreblocks/compare/v1.3.0...v2.0.0
|
||||
[1.3.0]: https://github.com/minetest-mods/moreblocks/compare/v1.2.0...v1.3.0
|
||||
[1.2.0]: https://github.com/minetest-mods/moreblocks/compare/v1.1.0...v1.2.0
|
||||
[1.1.0]: https://github.com/minetest-mods/moreblocks/compare/v1.0.0...v1.1.0
|
||||
|
@ -60,9 +60,9 @@ on that line.
|
||||
|
||||
## Version compatibility
|
||||
|
||||
More Blocks is currently primarily tested with Minetest 0.4.17.
|
||||
More Blocks is currently primarily tested with Minetest 5.1.0.
|
||||
It may or may not work with newer or older versions. Issues arising in older
|
||||
versions than 0.4.17 will generally not be fixed.
|
||||
versions than 5.0.0 will generally not be fixed.
|
||||
|
||||
## License
|
||||
|
||||
|
20
crafting.lua
@ -35,15 +35,6 @@ minetest.register_craft({
|
||||
recipe = {"default:junglegrass", "default:cobble"},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "moreblocks:wood_tile_center 9",
|
||||
recipe = {
|
||||
{"group:wood", "group:wood", "group:wood"},
|
||||
{"group:wood", "moreblocks:wood_tile", "group:wood"},
|
||||
{"group:wood", "group:wood", "group:wood"},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "moreblocks:wood_tile 9",
|
||||
recipe = {
|
||||
@ -53,6 +44,17 @@ minetest.register_craft({
|
||||
}
|
||||
})
|
||||
|
||||
-- This must be registered after `moreblocks:wood_tile` to avoid recipe conflicts,
|
||||
-- since `moreblocks:wood_tile` is part of `group:wood`
|
||||
minetest.register_craft({
|
||||
output = "moreblocks:wood_tile_center 9",
|
||||
recipe = {
|
||||
{"group:wood", "group:wood", "group:wood"},
|
||||
{"group:wood", "moreblocks:wood_tile", "group:wood"},
|
||||
{"group:wood", "group:wood", "group:wood"},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "moreblocks:wood_tile",
|
||||
|
@ -286,4 +286,4 @@ msgstr "%s Panel"
|
||||
#: stairsplus/common.lua
|
||||
#, lua-format
|
||||
msgid "%s Stairs"
|
||||
msgstr "% Schody"
|
||||
msgstr "%s Schody"
|
||||
|
@ -35,6 +35,9 @@ stairsplus.register_single = function(category, alternate, info, modname, subnam
|
||||
-- This makes node rotation work on placement
|
||||
def.place_param2 = nil
|
||||
|
||||
-- Darken light sources slightly to make up for their smaller visual size
|
||||
def.light_source = math.max(0, (def.light_source or 0) - 1)
|
||||
|
||||
def.on_place = minetest.rotate_node
|
||||
def.groups = stairsplus:prepare_groups(fields.groups)
|
||||
|
||||
|
@ -14,8 +14,10 @@ stairsplus.expect_infinite_stacks = false
|
||||
|
||||
stairsplus.shapes_list = {}
|
||||
|
||||
if not minetest.get_modpath("unified_inventory")
|
||||
and minetest.settings:get_bool("creative_mode") then
|
||||
if
|
||||
not minetest.get_modpath("unified_inventory")
|
||||
and minetest.settings:get_bool("creative_mode")
|
||||
then
|
||||
stairsplus.expect_infinite_stacks = true
|
||||
end
|
||||
|
||||
@ -36,7 +38,7 @@ end
|
||||
|
||||
function stairsplus:register_all(modname, subname, recipeitem, fields)
|
||||
self:register_stair(modname, subname, recipeitem, fields)
|
||||
self:register_slab (modname, subname, recipeitem, fields)
|
||||
self:register_slab(modname, subname, recipeitem, fields)
|
||||
self:register_slope(modname, subname, recipeitem, fields)
|
||||
self:register_panel(modname, subname, recipeitem, fields)
|
||||
self:register_micro(modname, subname, recipeitem, fields)
|
||||
|
@ -49,6 +49,7 @@ local default_nodes = { -- Default stairs/slabs/panels/microblocks:
|
||||
"desert_sandstone_block",
|
||||
"sandstone_block",
|
||||
"coral_skeleton",
|
||||
"ice",
|
||||
}
|
||||
|
||||
for _, name in pairs(default_nodes) do
|
||||
|
Before Width: | Height: | Size: 176 B After Width: | Height: | Size: 170 B |
Before Width: | Height: | Size: 165 B After Width: | Height: | Size: 163 B |
Before Width: | Height: | Size: 306 B After Width: | Height: | Size: 258 B |
Before Width: | Height: | Size: 292 B After Width: | Height: | Size: 269 B |
Before Width: | Height: | Size: 219 B After Width: | Height: | Size: 207 B |
Before Width: | Height: | Size: 170 B After Width: | Height: | Size: 167 B |
Before Width: | Height: | Size: 169 B After Width: | Height: | Size: 167 B |
Before Width: | Height: | Size: 850 B After Width: | Height: | Size: 739 B |
Before Width: | Height: | Size: 169 B After Width: | Height: | Size: 167 B |
Before Width: | Height: | Size: 121 B After Width: | Height: | Size: 115 B |
Before Width: | Height: | Size: 356 B After Width: | Height: | Size: 352 B |
Before Width: | Height: | Size: 170 B After Width: | Height: | Size: 169 B |
Before Width: | Height: | Size: 135 B After Width: | Height: | Size: 88 B |
Before Width: | Height: | Size: 153 B After Width: | Height: | Size: 117 B |
Before Width: | Height: | Size: 389 B After Width: | Height: | Size: 387 B |
Before Width: | Height: | Size: 282 B After Width: | Height: | Size: 281 B |
Before Width: | Height: | Size: 284 B After Width: | Height: | Size: 282 B |