Commit Graph

108 Commits

Author SHA1 Message Date
21d4fab1f5 start to take care of loose ends 2022-06-16 17:46:09 -07:00
acc6e2ebea fix some bugs, starting to track down all the compatability issues 2022-06-16 16:32:55 -07:00
039b75c832 fix luacheck 2022-06-15 16:20:32 -07:00
92ce2e1f52 compatability and legacy mostly done. schema recipes are all messed up for some reason. 2022-06-15 16:18:11 -07:00
38f610a200 fix bug and luacheck 2022-06-14 16:32:48 -07:00
a2c8e2db8e circular saw works now; still need to do compatabilit and testing 2022-06-14 16:30:41 -07:00
b9eed16713 functional, except saw, legacy, other compatability 2022-06-14 11:17:06 -07:00
687de31632 checkpoint. stairsplus is done, excluding the circular saw, and testing 2022-06-13 16:11:20 -07:00
9e68ca91b8 daily checkpoint, not much improved, stairsplus still completely nonfunctional 2022-06-12 21:10:36 -07:00
da7d0f94dc moreblocks looks good, now stairsplus... 2022-06-12 11:49:41 -07:00
c5ddb5f2d4 nonfunctional checkpoint 2022-06-11 18:17:41 -07:00
dce587cf33 Merge and update translations (#186) 2021-11-14 02:14:19 +01:00
e8d219f108 Optional dependency on default mod (#182) 2021-08-26 20:46:07 +02:00
ff7e85094f Fix strange placement behavior for non-default Stairs+ nodes (#168)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2020-12-28 03:27:58 +01:00
0c2c3ad4ef Add in prepare_groups tree and wool (#128)
Tree for glitch with furnace
Wool  move for more coherence
2020-12-27 19:42:15 +01:00
8a14250127 Fix stairs placement over oddly-shaped nodes (#166) 2020-12-18 17:59:57 +01:00
ab91ad967a Improve the placement logic for slabs, etc (#160)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2020-12-14 14:46:50 +01:00
b67028a417 Fix use_texture_alpha warnings since 5.4.0-dev 2020-08-16 10:14:18 +02:00
bbfd782300 Remove legacy Stairs+ conversion code
It was only required to import worlds last edited before Q3 2013.
2020-01-03 11:34:13 +01:00
917a46014f Update copyright statements to 2020 2020-01-01 04:09:24 +01:00
5cab63c675 Add ice as a Stairs+ node
This closes #109.
2019-10-17 22:25:44 +02:00
72a6ee6032 Make Stairs+ nodes emit slightly less light compared to full nodes
This makes up for their smaller visual size.
2019-05-08 20:00:57 +02:00
e09d2fab01 Fix several typos in comments 2019-04-21 16:57:42 +02:00
8e8078e74b Refactor common.lua to simplify code and make locale strings searchable 2019-03-20 21:30:35 +01:00
e622c692e1 Make some Stairs+ functions local and add Luacheck ignores
Those functions are used in various places in the mod,
so they aren't unused.
2019-03-09 01:58:51 +01:00
76a00a5365 Update intllib support to avoid using deprecated functions 2019-03-03 20:02:40 +01:00
0e885283c0 Update copyright statements to 2019 2019-02-25 12:13:55 +01:00
b0cb1d325a Fix Stairs+ node rotation on placement
This closes #123.
2019-02-25 10:47:51 +01:00
b6f6bc8c71 Activate translation for stairplus descriptions 2019-02-25 10:30:24 +01:00
95155a3bc6 Add pre-commit hooks
See https://pre-commit.com/ for more information.
2019-02-21 23:10:58 +01:00
1649f91156 Tweak the Luacheck configuration file and fix many warnings 2019-02-20 23:39:01 +01:00
26f59baba0 Update copyright year range for 2018 2018-11-24 17:36:04 +01:00
ca45478761 brass block stairs/slabs/etc (#135) 2018-11-24 17:27:16 +01:00
1482a7810f make stairs from cement too. 2018-11-24 17:06:16 +01:00
01ec8290f6 basic_materials stairs/slopes/et. al
(keeping original technic item names)
2018-11-24 17:06:16 +01:00
846214993f Add aliases for MTG corner stairs (#117) 2018-07-19 19:24:30 +02:00
8ff1cb598f Update documentation 2018-03-26 19:09:44 +02:00
7d701da5b9 Move recipe definitions to a separate file and function. 2018-03-26 19:09:44 +02:00
d5edcb2a10 Add a register_custom_subset function 2018-03-26 19:09:44 +02:00
c711946453 Move node registrations to a separate file 2018-03-26 19:09:44 +02:00
4d2a7ab6fe Move definitions to a separate file
Make definitions table global
Replace stairsplus.copytable() function with table.copy()
2018-03-26 19:09:44 +02:00
Foz
f6e0db21b2 Finish aliasing split_stone_tile_alt
to checker_stone_tile.
2017-12-31 12:51:25 -08:00
Foz
2b76b077f0 Drop paramtype2 from glass before registering.
Fix minetest-mods/moreblocks#98

Caused by cf1b054a99, 6a996eb86a and minetest/minetest_game@2f46103ff8.

For some unknown reason `default:glass` and `obsidian:glass` have `paramtype2 = "glasslikeliquidlevel"`.  After the refactor of `stairsplus/registrations.lua`, all of the source node's defs are passed along to `stairsplus:register_all()`.  Prior to cf1b054a99 the paramtype2 setting was discarded.
2017-12-28 20:00:14 -08:00
Foz
d91da8b442 Fix slab descriptions.
A regression caused the description of slabs to revert to the source block's description.  This commit fixes the regression and adds descriptions which were missing for the recently added slabs (two_sides, three_sides, and three_sides_u).

Closes minetest-mods/moreblocks#96
2017-12-28 19:59:38 -08:00
4c767ad7ff add stair and slab groups 2017-12-28 19:54:45 -08:00
Foz
780df105ea Stop assuming stair and slab aliases are required.
Only make aliases automatically for stairs and slabs from MTG stairs mod. Let other mods worry about aliasing themselves.  Fixes minetest-mods/moreblocks#45
2017-12-28 18:00:07 -08:00
6a996eb86a Refactor stairsplus registrations (#93)
* Refactor stairsplus registrations

 - Reorganize and remove redundant code.
 - Remove sunlight_propagates=true and default to paramtype="light".
    This causes cut blocks to have a shadow but not completely block light.
 - Fix several bugs (#90, #91, #92).

* Readd sunlight_propagates=true for compatibility.
2017-12-19 23:42:45 +01:00
7347b05e3e Replace deprecated methods:
- 'setting_get' with 'settings:get'
- 'setting_getbool' with 'settings:get_bool'
2017-08-12 14:08:24 -07:00
fc3c5f4738 Support tin and silver/sandstone blocks (#79)
Allows tin blocks and silver/desert sandstone blocks to be used in the circular saw.
2017-08-12 14:07:33 -07:00
fbfb079f54 Make wool sawable (#72)
* Make wool sawable

Based on my simple research https://github.com/minetest-mods/moreblocks/issues/71 enabling wool should not cause major slowdowns.

Code pasted from gloopblocks

* List wool as optional dependancy

* Added check for wool dependancy

* Make life easier for translators
2017-03-14 22:13:16 -07:00