Diego Martínez
0d3da0c328
Use new intllib API.
2017-01-25 00:09:18 -03:00
Auke Kok
923198a2dd
Fix most luacheck issues.
...
There are 3 false positives remaining after this patch, so
the bulk of the issues are fixed now.
2016-12-31 12:33:46 -08:00
Tim
fc8621da41
manage all handler inits in their own init file
2015-08-19 22:38:10 +02:00
Tim
908b408248
register the furnaces internally via homedecor.register as well, getting rid of the last dependency on deprecated lock-code
2015-08-19 22:30:27 +02:00
Tim
2ed7ae6a56
move inventory registration functions into dedicated handler file
2015-08-19 16:14:17 +02:00
Tim
7d07e81a8c
combine chimney, roof shingles and roof slopes into roofing.lua
2015-08-16 20:05:48 +02:00
Tim
382eba6860
combine beds and nighstands into a bedroom category
2015-08-16 18:02:12 +02:00
Tim
2ff235d5f1
aggregate foyer themed nodes into dedicated file
2015-08-16 17:55:48 +02:00
Tim
1e7fb18b0b
move office-themed nodes into an office-file
2015-08-16 17:41:44 +02:00
Tim
d2824c10e7
use the minetest provided table copy function
2015-08-16 17:26:33 +02:00
Tim
45aef81f55
simplify init.lua a little
2015-08-16 17:21:57 +02:00
Tim
799a652c91
rename misc-electrical -> electrics
2015-08-16 17:21:57 +02:00
Tim
94ac477d6a
move gastronomical furniture and utilities into a dedicated file
2015-08-16 17:21:50 +02:00
kilbith
f1dca4e990
Fix screwdriver variables
2015-05-15 13:22:05 +02:00
kilbith
e374b83bc0
Disallow partially or entirely some items to rotate with the screwdriver
2015-05-14 12:41:11 +02:00
kilbith
3f16e7dbc0
Move sit function
2015-05-11 20:21:27 +02:00
Vanessa Ezekowitz
12f5ac9d02
abstract the particle spawner start/stop functions
2015-05-10 21:03:50 -04:00
Vanessa Ezekowitz
3996b55c03
phase out generic dark, mahogany, and white wood
...
and rename the base wood to _plain instead of beech
2015-05-03 21:18:35 -04:00
kilbith
b3a7a3bb73
Enhanced wardrobe formspec
2015-05-01 11:28:06 -04:00
kilbith
4dee35893a
Cleaning and tweaking node params
2015-04-29 16:58:33 +02:00
Vanessa Ezekowitz
c8633be1dc
add banisters, placed on side of blocks
...
when placing, code will try to determine if the bannister should be
left- or right-sided. Defaults to left-sided; hold shift while placing
to force right-sided.
2015-04-27 03:09:37 -04:00
Vanessa Ezekowitz
9ccb6b5188
use mesh nodes for all doors
...
and for Japanese walls
makes it somewhat easier to add new door types
far fewer textures as well.
2015-04-25 03:13:47 -04:00
kilbith
58f64d265f
Add green Trash Can
2015-03-29 16:45:08 +02:00
jp
d3199606ec
Reorganize files
2015-02-25 10:35:29 +01:00
Tim
24db06a0b0
fix intllib support and remove unnecessary checks of it
2015-02-05 10:15:05 +01:00
Tim
5fb4bff628
move handlers into subdirectory to split them apart from the actual game content
2015-01-23 22:53:57 +01:00
Tim
4516aa960b
move kitchen related nodes into their associated files
2015-01-23 22:48:40 +01:00
Tim
f9a59c1738
rename kitchen and bathroom related files to their actual contained functionality
2015-01-23 22:26:38 +01:00
Tim
f60eb9ca47
whitespace cleanup, now also making most of homedecor consistenly use the same indentation style
2015-01-23 22:14:00 +01:00
Tim
b5188493cc
abstract common nodebox forms, fixing some ignored ones in the process
2015-01-23 12:37:23 -05:00
Tim
e010ab83fc
remove an obsolete function from init.lua
2015-01-23 12:37:23 -05:00
Tim
0a0c558c3a
rewrite the node stacking/expansion code, preventing a crash building on unknown nodes, and reduce table lookups and overall code
2015-01-23 12:37:23 -05:00
Tim
b4b281d9ea
abstract most inventory handling code into a homedecor registration function
...
drawtype and param related defaults are being handled as well
for now we still leave the locked-node generation to locked.lua, due to its furnace-like node support
example:
homedecor.register("penbox", {
<common defs>
infotext=S("Penbox"),
inventory = {
size=8,
formspec=…
lockable=true -- will be supported later
},
})
2015-01-23 12:37:23 -05:00
Tim
be4ed12b6c
whitespace cleanup:
...
* remove all trailing whitespaces
* make inbox and computer use the prevalent indentation rules
* CRLF->LF where found
2015-01-21 00:44:23 +01:00
Vanessa Ezekowitz
88e5c28d39
use mesh nodes for standing lamp and "3dforniture" table lamp
...
rewrote the surrounding code a bit to clean it up
all new textures, got rid of related, obsolete files.
2015-01-03 01:52:39 -05:00
Vanessa Ezekowitz
bb8b3eea20
use current intllib API
2014-12-27 01:13:05 -05:00
Vanessa Ezekowitz
763d8fa200
Add a tree swing
...
model and textures by jp
To place, point at the underside of a node, e.g. a ceiling or the bottom
side of tree leaves or something. It will automatically stretch
downward trying to find the ground (well, anything that isn't
buildable_to anyway), down to a maximum of 4 meters' worth of rope.
To remove, dig the swing itself and it'll take the rope with it.
2014-09-18 16:30:25 -04:00
Vanessa Ezekowitz
068bff4594
functionalize most of the two-node objects' placement code
2014-09-07 15:01:51 -04:00
Vanessa Ezekowitz
60d34095a5
make cobwebs sit in corners when so-placed.
...
Algorithm tries to find an X-/Z+ or X+/Z- corner first (places the
cobweb using the torchlike "on-floor" mode) then an X-/Z- or X+/Z+
corner ("on-ceiling), then opposing X-/X+ walls (nodebox, not rotated),
then opposing Z-/Z+ walls (nodebox, rotated 90 degrees), then falls back
to plantlike (which also happens to fit places where e.g. three walls
come together only 1m apart)
ABM added to convert old ones.
Node name has changed so if you have cobwebs in your inventory, sorry
about that.
2014-09-04 16:27:05 -04:00
Vanessa Ezekowitz
0202d3ed5e
add cobwebs
2014-08-12 12:14:21 -04:00
Vanessa Ezekowitz
269db07a00
add space heater
...
rename fans.lua -> climate-control.lua and move air conditioner into it
along with the new heater.
2014-07-18 10:55:09 -04:00
Jordach
f73cfa1cf5
desk fans (YAHN)
...
uses new fan blades object for recipe
2014-07-18 09:54:22 -04:00
Vanessa Ezekowitz
86345c778f
merge no-moreblocks recipes back into crafts.lua
...
as these are now the preferred recipes.
2014-06-30 13:07:19 -04:00
Vanessa Ezekowitz
ba3abaa6a6
avoid duplicating get_nodedef_field() function
...
(both doors/gates and desk need it)
moved to init.lua and into homedecor.* namespace.
2014-06-29 10:47:25 -04:00
Vanessa Ezekowitz
949a2a94d8
Add towel rod with towel
...
moved bathroom/kitchen tiles into misc-bathroom.lua
also, rename misc_nodes.lua -> misc-nodes.lua
2014-06-26 21:33:27 -04:00
crazyginger72
25e47f3f9c
Add blinds and framed windowpanes
2014-06-26 20:13:16 -04:00
Vanessa Ezekowitz
a7fdbe320c
add decorative electrical outlet and light switch
2014-06-25 23:08:20 -04:00
Vanessa Ezekowitz
8465422c37
added a whole bunch of paintings
...
total of 20, wall-hanging style
no crafting recipes yet.
2014-06-25 07:31:50 -04:00
Vanessa Ezekowitz
18049bf229
Add various kinds of decorative clocks.
...
(as usual, no crafting recipes are available yet)
2014-06-25 05:59:34 -04:00
Vanessa Ezekowitz
b3268caa4b
added decorative washing machine and tumble dryer
...
(no craft recipes yet)
2014-06-25 01:02:26 -04:00