Vanessa Ezekowitz
e9477dd45d
don't run LBM at every load
2017-02-16 16:59:19 -05:00
Diego Martínez
2df6dbcad9
Fix warnings issued by luacheck
.
2017-02-15 23:53:52 -03:00
Vanessa Ezekowitz
a493933105
unified dyes uses on_use now, instead of on_rightclick
2017-02-04 19:41:36 -05:00
Vanessa Ezekowitz
dd0e26d95b
use param2 colorization for homedecor kitchen chairs and armchairs
...
Note that the all-wood kitchen chair cannot be colored.
2017-01-30 19:59:35 -05:00
Diego Martínez
dc7b60c11f
Split I18N stuff into its own submod.
2017-01-29 21:51:07 -03:00
Diego Martínez
0d3da0c328
Use new intllib API.
2017-01-25 00:09:18 -03:00
Auke Kok
138e078f1b
Whitespace damage fixes.
...
This is cleaned up by `cleanfile` (from the linux kernel tree
tool set).
2016-12-31 12:33:46 -08:00
Tim
337dc05e70
Always return the ItemStack for on_rightclick to comply with the API.
2016-07-31 13:07:21 +02:00
Tim
1e7fb18b0b
move office-themed nodes into an office-file
2015-08-16 17:41:44 +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
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
fa9d73201c
Fix params (again)
2015-05-01 00:12:21 +02:00
kilbith
4dee35893a
Cleaning and tweaking node params
2015-04-29 16:58:33 +02:00
Vanessa Ezekowitz
a35b57d713
rename most wood, metal, etc textures
...
to bring them all together into one "category" instead of being scattered across the directory
also combine a couple dupes.
2015-04-27 23:48:02 -04:00
jp
ff6073664d
Beds : use default sleeping function and adjust s/c_box
2015-04-26 10:37:50 +02:00
Vanessa Ezekowitz
12cc9da08c
allow shift-dig a king size bed to get the two twin beds back
2015-04-22 04:34:51 -04:00
Vanessa Ezekowitz
5cb73ffa7e
Add king-sized bed model
...
create it by placing two twins of the same color side by side, left first
also moved the bed extension functions into handlers/expansion.lua,
renamed them, and made a few other minor tweaks to that file accordingly.
2015-04-22 00:43:22 -04:00
Vanessa Ezekowitz
e71bbdc0ef
better mesh/UV mapping for openframe bookshelf
2015-04-17 09:28:41 -04:00
Vanessa Ezekowitz
d6a86d736a
use mesh nodes for kitchen chairs
...
also fix their selectboxes
2015-04-15 01:52:30 -04:00
kilbith
b01d3b2b4f
Disable sitting functions (broken)
2015-04-01 00:42:07 -04:00
Vanessa Ezekowitz
9bc7f5c5ba
use mesh nodes for former-"3dforniture" armchairs
2015-03-31 01:04:27 -04:00
Vanessa Ezekowitz
e662bb36b9
use mesh node for grandfather clock
2015-03-30 21:06:07 -04:00
Vanessa Ezekowitz
e105fad1d4
use mesh nodes for beds
2015-03-29 23:26:59 -04:00
Vanessa Ezekowitz
2ed516a9f6
replace wardrobe with mesh node
2015-03-29 20:59:47 -04:00
jp
546f8b501c
Opti. code
2015-02-28 10:14:46 +01:00
jp
4fe73ade80
rename sit functions
2015-02-25 11:17:42 +01:00
jp
d3199606ec
Reorganize files
2015-02-25 10:35:29 +01:00
kilbith
44b5d34449
Functionalize misc. sit instructions
2015-01-27 19:43:12 +01:00
kilbith
b633ea8d8d
Allow sit on the office chairs
...
... also remove useless definitions (set by default).
2015-01-27 12:45:29 +01:00
Vanessa Ezekowitz
bf2f1b0e90
add fancy office chairs
2015-01-27 06:01:29 -05:00
kilbith
931a5b0746
Move checking at right place
2015-01-24 22:41:38 +01:00
jp
da2af88eb8
fix typo
2015-01-24 21:27:45 +01:00
jp
c6790ad21e
Allow sit on some furnitures
2015-01-24 20:10:54 +01:00
Vanessa Ezekowitz
9ffe942e61
fix a few missing parameters on openframe bookshelf
2015-01-23 19:29:51 -05:00
Tim
78045a752f
move most other homedecor nodes to the new registration function, remove any unnecessary fields due to minetest or homedecor defaults
2015-01-24 00:34:02 +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
cc9a1a9c3c
select a formspec automaticly from a table if none is supplied
2015-01-23 12:37:23 -05:00
Tim
306a6798b3
add an after_unexpand hook to allow beds to properly expand and unexpand, and update beds to use expansion in the process
2015-01-23 12:37:23 -05:00
Tim
d6ce145f9c
use an expand def-field to automaticly expand and unexpand the three available types of expansion and let nearly all decor use this form
...
example of usage:
expand = { top="homedecor:newnode", right="homedecor:rightnode", forward="homedecor:forwardnode" }
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
d1064c2beb
Use mesh node for open-frame bookshelf
2014-12-14 01:19:36 -05:00
Vanessa Ezekowitz
3c3aa9e0d0
fix messed-up front/back images on kitchen chairs
...
Signed-off-by: Vanessa Ezekowitz <vanessaezekowitz@gmail.com>
2014-12-10 13:34:16 -05:00
jp
3bb41cbb4f
Textures optimizing
2014-11-03 12:46:45 +01:00
jp
0e8bd681c0
Remove another useless nodebox
2014-10-31 22:29:05 +01:00
jp
1790358200
Update beds
2014-10-31 20:33:28 +01:00
kilbith
1b13161416
Bed model: wider & lighter
2014-10-13 11:29:36 +02:00