Commit Graph

27 Commits

Author SHA1 Message Date
Hugo Locurcio 26f59baba0
Update copyright year range for 2018 2018-11-24 17:36:04 +01:00
Thomas--S 7d701da5b9 Move recipe definitions to a separate file and function. 2018-03-26 19:09:44 +02:00
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
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
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
Pierre-Yves Rollo 54a7102291 Make stairplus:register_* functions work without using register_all. 2015-11-01 17:54:29 +01:00
Marcin bc15b6e14b Added recipe for splitting alternative stairs into 4 microblocks. 2015-07-04 16:19:17 +02: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 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 e60644c7e0 Fix drops 2013-10-27 19:24:49 +01:00
Calinou 1333faa48b Added new aliases for screwdriver and circular saw, new microblocks/panels, circular saw now has 4 rows with 8 items each 2013-10-27 09:57:21 +01:00
Calinou 85aea72376 More Blocks 2013-07-11 20:33:02 +02:00