Commit Graph

25 Commits

Author SHA1 Message Date
Thomas--S
c711946453 Move node registrations to a separate file 2018-03-26 19:09:44 +02:00
Thomas--S
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
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
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
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
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
Pierre-Yves Rollo
54a7102291 Make stairplus:register_* functions work without using register_all. 2015-11-01 17:54:29 +01:00
Marcin
49d52791a4 Added circular crafting rule to 3-microblock stairs 2015-06-27 23:06:43 +02: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
Calinou
4b682f4730 Add compressed cobblestone, crafted with 9 cobblestone. 2014-12-27 19:32:45 +01: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
Calinou
d335d0dd3c New recipes for Stairs+ nodes. Allows crafting most useful Stairs+ nodes. More accurate nodes still require the usage of the circular saw. 2014-05-04 17:53:15 +02:00
Calinou
8337a6c192 Merge ShadowNinja's rewrite. 2014-03-09 10:38:18 +01:00
Calinou
62f9f00fe8 Big update: new stair types, code looks better. 2014-01-20 19:49:40 +01:00
Vanessa Ezekowitz
4b4e10ff1d Rewrite slightly to use the new 6d facedir prediction code in builtin.
Keeps the old behavior of sneak == force wall (rather than invert).

Add protection/ownership checking.  Can be phased out later after protection
mods start taking advantage of the engine's built-in ownershi-checking
functions.

Got rid of the /st command, since it didn't work anyway.

Minor re-arrangement of init.lua to put the mod's title block at the top
where it belongs :-)
2013-11-07 22:16:37 -05:00
Calinou
474d62ac7c Allow stair/slab crafting by default, can be disabled in _config.txt 2013-09-15 14:52:18 +02:00
Calinou
85aea72376 More Blocks 2013-07-11 20:33:02 +02:00