Commit Graph

66 Commits

Author SHA1 Message Date
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
DS-Minetest
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
John Cole
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
AntumDeluge
7347b05e3e Replace deprecated methods:
- 'setting_get' with 'settings:get'
- 'setting_getbool' with 'settings:get_bool'
2017-08-12 14:08:24 -07:00
lemon-melon
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
Fixer
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
Vanessa Ezekowitz
e9c6cef4dd build a list of all of the stairsplus slab/stair/etc... shapes (#70)
for other mods to reference.
2017-02-23 17:12:36 +01:00
Vanessa Ezekowitz
f4b68fbfd7 add some 0.4.15 default nodes to table saw, including farming:straw (#69)
* add some 0.4.15 default nodes to table saw
including farming:straw

* fix hard-coded drop
2017-02-23 17:08:22 +01:00
Vanessa Ezekowitz
0569ff9683 add a few new shapes to the table saw: (#67)
* 1/16 slab, L-shaped (two sides)
* 1/16 slab, corner-shaped (three sides)
* 1/16 slab, U-shaped (three sides)
2017-02-21 22:58:40 +01:00
Hugo Locurcio
831bbb2b27 Prepare for v1.0.0 release 2017-02-19 13:35:16 +01:00
Vanessa Ezekowitz
cf1b054a99 allow passing paramtype2 to the nodes being created (#65) 2017-01-26 22:11:45 +01:00
Auke Kok
81f77ae97e Prevent creating a global 2016-12-31 12:33:09 -08:00
Auke Kok
5500c9906c Run cleanfile on all files, fixing whitespace issues. 2016-12-31 12:33:09 -08:00
Thomas--S
7f06db2200 Add Alias Functions (#54)
* register_alias
* register_alias_force
2016-10-03 12:14:34 +02:00
John Cole
26a5273dd6 Fix drop logic. (#49)
The code

		not type(fields.drop) == "table"

was always false because it compares a boolean with a string,

		not (type(fields.drop) == "table")

is the intended logic.
2016-07-12 12:49:43 -07:00
Thomas--S
db93277a98 Add support for the alternative drop syntax (#46)
Until now, when the moreblocks node for a node with the alternative drop syntax were registered, the game crashed.
2016-06-17 12:15:02 -07:00
Luka Vandervelden
30fba0ea40 Aspen tree registration in stairsplus. (#44) 2016-06-10 10:47:18 -07:00
Auke Kok
f92a938d75 Prevent glass slabs from becoming transparent on sides/bottom.
For all glasslike drawtype nodes, the tiles contain up to 2
textures. The second texture is for "connected" glass, but that
likely is a transparent texture. If we use the `tiles` def without
modification, we will make all those slabs/slopes transparent on all
sides except the top.

To fix, we remove the tiles[2] from the tiledef in case the node is
a glasslike drawtype.
2016-02-19 13:35:36 -08:00
Auke Kok
cdc50bc069 Fix warning
Fixes #25
2016-01-26 12:52:55 -08:00
Pierre-Yves Rollo
54a7102291 Make stairplus:register_* functions work without using register_all. 2015-11-01 17:54:29 +01:00
Calinou
f02a871c30 Add acacia tree and wood, modify pine tree and wood names 2015-08-24 19:37:20 +02:00
Calinou
4cde2fd66b Merge pull request #17 from beyondlimits/master
Additional crafting recipes for slabs
2015-07-16 11:17:12 +02:00
jp
896af95703 Save light_source in saw's output for glowing default nodes 2015-07-05 10:15:25 +02:00
Marcin
4c5e408126 Additional crafting recipes for slabs 2015-07-04 18:44:42 +02:00
Calinou
4799368e5b Merge pull request #16 from beyondlimits/master
Add recipe for splitting alternative stairs into 4 microblocks
2015-07-04 17:49:28 +02:00
Marcin
bc15b6e14b Added recipe for splitting alternative stairs into 4 microblocks. 2015-07-04 16:19:17 +02:00
Calinou
7d9a882512 Merge pull request #15 from beyondlimits/master
Correct recipes for slopes
2015-07-02 10:40:09 +02:00
Marcin
5fad16743c Removed shaped and added new shapeless crafting recipes for slopes. 2015-07-01 21:12:01 +02:00
Calinou
9efa7a3b5b Merge pull request #14 from beyondlimits/master
Add circular crafting rule to 3-microblock stairs
2015-06-28 18:45:12 +02:00
Marcin
49d52791a4 Added circular crafting rule to 3-microblock stairs 2015-06-27 23:06:43 +02:00
Calinou
5d32408d8d Merge pull request #8 from kilbith/patch-1
Add meselamp to registration
2015-06-27 21:13:04 +02:00
Marcin
0ba64153ae Added missing slopes 2015-06-18 20:45:01 +02:00
kilbith
41458f02c2 Add meselamp to registration 2015-06-17 17:18:17 +02:00
Craig Davison
197eac75c0 Add stairsplus support to obsidian brick 2015-06-15 21:04:58 +01:00
Calinou
a360b8e83f Add size information to slab description (by est31). 2015-03-03 21:32:51 +01:00
Calinou
aef4413eb9 Check for ndef before registering Stairs+ nodes. 2015-02-11 17:59:28 +01:00
Calinou
10d28eec32 More informative and shorter headers. 2015-01-12 17:46:22 +01:00
Calinou
b5d62de9d8 Add licensing headers to all files, fix intllib global variable warnings. 2015-01-11 22:21:33 +01:00
Olivier Samyn
41bb46fb36 Add support for minetest game pine tree. 2015-01-06 20:39:56 +01:00
Calinou
4b682f4730 Add compressed cobblestone, crafted with 9 cobblestone. 2014-12-27 19:32:45 +01:00
Calinou
5e5f46b310 Add some more recipes for slopes. 2014-10-30 22:35:21 +01:00
Calinou
ed5d0398bb Add inner, outer, outer-cut slopes and their half and half-raised variations, with crafting recipes for them. Code cleanup is ongoing. 2014-10-29 21:06:30 +01:00
Calinou
851a6db870 Add slopes and their crafting. 2014-10-28 22:12:40 +01:00
Calinou
84ee1ffae8 Fix issue #1: “stairsplus_in_creative_inventory not being honored”. 2014-10-19 18:15:46 +02:00
Calinou
3b1392ce04 Make Stairs+ recipes mod-agnostic. 2014-07-28 10:02:55 +02:00
Calinou
f7916005c2 Code cleanup, new Stairs+ recipes. 2014-07-21 12:24:49 +02:00
Calinou
abfd2adcfd New recipes, code cleanup. 2014-07-03 19:31:43 +02:00
Calinou
e2f4cc369b Code cleanup. Add tar and more stone types. 2014-06-27 20:14:08 +02:00