Commit Graph

874 Commits

Author SHA1 Message Date
Vanessa Ezekowitz b3538e3941 convert bathroom tiles to param2 color
side effect:

I added a third shade of the formerly-white checker background
that alternates with the colored overlay.  The colored overlay
follows the standard full Unified Dyes palette.
2017-02-06 07:40:46 -05:00
Vanessa Ezekowitz a493933105 unified dyes uses on_use now, instead of on_rightclick 2017-02-04 19:41:36 -05:00
Vanessa Ezekowitz 13059eb3a2 fix table recipe 2017-02-04 13:41:21 -05:00
Vanessa Ezekowitz 36dc31416e fix bed recipe 2017-02-03 14:21:26 -05:00
Vanessa Ezekowitz 2ce071ec16 fix crash in stack_sideways (typo) 2017-02-02 10:25:29 -05:00
Vanessa Ezekowitz 5f264bc484 local-ize a variable 2017-02-01 11:55:17 -05:00
Vanessa Ezekowitz cad8a378c3 fix crash 2017-02-01 11:51:12 -05:00
Vanessa Ezekowitz 1fabeb3975 rename and re-decribe desk lamp LBM 2017-02-01 08:50:03 -05:00
Vanessa Ezekowitz c683874904 revised crafting recipe for desk lamp 2017-01-31 19:08:21 -05:00
Vanessa Ezekowitz 5dd5d3a14b convert desk lamps to param2 colorization 2017-01-31 19:01:47 -05:00
Vanessa Ezekowitz 3969f1a198 disable sleeping due to crashing inside minetest_game 2017-01-31 11:53:40 -05:00
Vanessa Ezekowitz 7623b39a33 fix crash in door placement (copy&paste error) 2017-01-31 11:52:11 -05:00
Vanessa Ezekowitz f6aa12aef9 convert beds to param2 colorization
as a side effect, this also fixes the bug where you couldn't
stack beds to form "bunk" beds.

Place a bed, right-click it with dye to color it.

Place two beds side by side and they'll form a king-size bed, which
you can right right-click with dye to color.

Place a regular bed, then right-click it while wielding another
regular bed (i.e. as if you were trying to place it) and, if there
is room above the first bed, the second will be placed on top and
the bedposts on the bottom one will extend to reach it.  Color
either of the two by right-clicking with dye.

Shift-right-click forces placement of a regular bed without trying
to stack it into bunks.

Right-click while NOT wielding a bed or dye will attempt to let you
sleep (via default beds code).
2017-01-30 23:22:47 -05:00
Vanessa Ezekowitz 70ba7db599 convert shutters to param2 colorization
craft and place an oak shutter first, then right-click it with
dye to color it.  dig to get back the oak + dye.
2017-01-30 20:43:40 -05:00
Vanessa Ezekowitz 1ec16b5b53 add paramtype="light" to curtains 2017-01-30 19:59:35 -05:00
Vanessa Ezekowitz 1d41b5ee18 remove old paper-based table lamp recipes, fix broken ones,
added recipe that uses cottages:wool, to complement the one that uses
default white wool.
2017-01-30 19:59:35 -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
BrunoMine 010c07f23a Update pt.po 2017-01-29 14:17:00 -03:00
Diego Martínez cb48bfec98 Convert old translations to new format. 2017-01-29 14:17:00 -03:00
Vanessa Ezekowitz 4ae16c294e always pass pointed_thing along to on_rightclick 2017-01-29 12:15:14 -05:00
Vanessa Ezekowitz e97cefa94c homedecor depends on unifieddyes 2017-01-29 11:48:06 -05:00
Vanessa Ezekowitz 0e68696566 remove debug prints
localized a misc. variable
2017-01-29 04:36:39 -05:00
Vanessa Ezekowitz 89e3353c5b more contrast on glowlight slab top 2017-01-29 03:53:20 -05:00
Vanessa Ezekowitz 722c1c6f89 fix wrong nodenames in on_rightclick replace code 2017-01-29 03:50:22 -05:00
Vanessa Ezekowitz 175724d53c add a function to correct for broken placement rotation
for wallmounted nodes (engine or _game bug), and put it
to use.
2017-01-29 03:45:58 -05:00
Vanessa Ezekowitz 79e501394a fix missing 6dfacedir -> wallmounted
in LBM code for glowlights
2017-01-29 03:31:02 -05:00
Vanessa Ezekowitz 800d9017dd convert glowlights, table lamps, and standing lamps
to use param2-base coloring.

Reworked crafting as needed to account for the node names.
2017-01-29 01:21:51 -05:00
Vanessa Ezekowitz 1ce7d2b24d removed obsolete glowlight ABMs 2017-01-28 22:11:18 -05:00
Vanessa Ezekowitz 428729a43d fix curtain recipes
add support for cottages:wool therein
2017-01-28 22:02:37 -05:00
Vanessa Ezekowitz 4ef2f83f07 remove some debug statements 2017-01-28 21:57:48 -05:00
Vanessa Ezekowitz b9307f11ad Convert curtains to param2 coloring. 2017-01-28 21:51:29 -05:00
Vanessa Ezekowitz dc903b16c8 fixed a few missed "black metal" -> static color lines 2017-01-25 17:53:45 -05:00
Vanessa Ezekowitz 4598cdca56 fix z-fighting on window shutters 2017-01-25 05:51:59 -05:00
Vanessa Ezekowitz 81db7f2c00 fix water in "open toilet" model
(flipped normals)
2017-01-25 05:47:02 -05:00
Vanessa Ezekowitz 73545c89af Use texture colorization where possible
Uses "color = <foo>" in the tile image def instead
of compositing with ^[colorize or ^[brighten.  Saves RAM.
2017-01-25 04:22:28 -05:00
Diego Martínez 8e467ef6b6 Spanish translation. 2017-01-25 00:14:29 -03:00
Diego Martínez 152c9029d9 Add simple script to aid in extracting messages. 2017-01-25 00:14:15 -03:00
Diego Martínez c1223dc5d6 Remove old translations. 2017-01-25 00:09:28 -03:00
Diego Martínez 0d3da0c328 Use new intllib API. 2017-01-25 00:09:18 -03:00
Foz 06e47fba72 Avoid crashes due to missing desk_fan entity.
Fixes #337
2017-01-09 00:01:33 -05:00
Diego Martínez 1ea19fd12f Activate faucets for locked cabinets too. 2017-01-07 04:51:20 -03:00
Foz a14722eb98 Add support for protection_bypass priv.
Closes #330
2017-01-06 21:05:58 -08:00
Muhammad Nur Hidayat Yasuyoshi 4e439c34cb Malay translation 2017-01-05 01:02:27 -03:00
Foz bf0c918d4e Fix variable name.
Fixes #334.
2017-01-02 01:40:50 -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
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
Tucker Bamberg 50c0eaf436 Allow user to pick up globe by hand. 2016-12-29 18:38:53 -05:00
Foz f9f0947457 Resolve undeclared globals in calls to flip_gate.
Fixes minetest-mods/homedecor_modpack #324
2016-11-02 17:26:06 -09:00
placki 653f8f8b60 add shift-click support to ovens/microwaves 2016-09-29 12:45:34 +02:00
Tim 9e7ddd4a40 add listring support to homedecor inventories 2016-08-27 21:10:43 +02:00
Megaf 726f87131c Add missing alias for refrigerator locked.
minetest.register_alias("homedecor:refrigerator_locked", "homedecor:refrigerator_white_locked")
2016-08-21 21:48:37 +01:00
Tim df84e62798 LIGHT_MAX -> default.LIGHT_MAX 2016-07-31 13:07:25 +02:00
Tim 337dc05e70 Always return the ItemStack for on_rightclick to comply with the API. 2016-07-31 13:07:21 +02:00
Emon b33428b907 Italian locale (#311)
Translation complete
2016-05-18 15:05:35 -07:00
Amaz 5d0c6c3515 Add name of item moved to all inventories. Fixes https://github.com/minetest-mods/homedecor_modpack/issues/307 2016-05-05 07:37:31 -07:00
Vanessa Ezekowitz 5d88c3d25c remove some bogus aliases 2015-10-23 13:05:16 -04:00
Vanessa Ezekowitz 7ac5e9e815 use mesh nodes for chainlink and barbed wire fences and corners
(so that I can give them custom collision boxes)
2015-10-04 10:06:30 -04:00
Vanessa Ezekowitz e3f3df7508 fixed wrong texture filename 2015-09-25 09:10:15 -04:00
Vanessa Ezekowitz 7b37c66b78 use mesh nodes for shrubbery 2015-09-25 09:00:22 -04:00
Vanessa Ezekowitz fcf8ecfd35 simplify shrubbery collision/selection box 2015-09-25 07:48:07 -04:00
Vanessa Ezekowitz 5fccd3234f make spiral stairs diggable with a pick, not an axe
also, shrink the wield scale down to something reasonable
2015-09-25 07:40:36 -04:00
crazyginger72 70758559cc reduced textures in lrfurn mod and added a full color range to lrfurn and beds 2015-09-23 01:29:06 -04:00
Vanessa Ezekowitz 181c746bbf tweaked "plain" door models to avoid z-fighting with the glass variant. 2015-09-13 20:00:49 -04:00
Tim 3555a6ae57 add placement hinting to the swing (currently used during smoketesting to avoid false positives) 2015-09-10 10:29:00 +02:00
Tim ffeac9a1bd fix books and swing's on_place to handle CONTENT_IGNORE and CONTENT_UNKNOWN and to always return their itemstacks 2015-09-10 09:43:04 +02:00
Tim aa0519b13b let is_buildable_to take any number of positions 2015-09-08 17:29:17 +02:00
Tim 2896f48ed1 let selection and buildable_to checks test for content_ignore; also fixes some border cases for banisters and replacing of unknown nodes 2015-09-08 16:52:52 +02:00
Tim d5fbfbf305 fix right click oddities of expansion nodes and make sure to always return the leftover itemstack 2015-09-08 16:24:15 +02:00
Tim 20f5afb624 fix the japanese open door to use homedecor registration, and make it and its closed version use placeholders 2015-09-08 10:16:31 +02:00
Tim 7d5287cc04 placeholder usage for decor, where useable 2015-09-08 09:51:51 +02:00
Tim fb1b620316 add placeholders as not-buildable_to nodes, that can be set to prevent other nodes to build or expanded into expansions
this fixes #292
2015-09-08 09:26:40 +02:00
Tim 26a874d919 set defaults for limiting rotations on expanded nodes 2015-09-08 09:10:25 +02:00
Tim 98c10fb18f allow the swing to be placed with proper facedir 2015-09-07 11:49:15 +02:00
Tim 3dc94b67cc label abms for profiling purposes
see https://github.com/t4im/profiler/#labeling
2015-08-20 14:52:01 +02:00
Tim d7c56bfcdb clean up furnace code a bit by removing duplicate or replacing obsolete code 2015-08-20 14:27:28 +02: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 9773d63e8e only set main list size if size field is given, to allow using the locked/lockable features with different listnames 2015-08-19 22:02:04 +02:00
Tim 088269a85e streamline locked description/infotext setting; avoid double brackets "Node (Locked) (owned by .. )" 2015-08-19 20:28:47 +02:00
Tim 25c2262750 make desks lockable, as they commonly are 2015-08-19 20:21:56 +02:00
Tim b6512b3add let the custom on_place of the expansion code call after_place_node to make sure infotexts and owners of locked nodes are being set 2015-08-19 20:20:58 +02:00
Tim 29f61bb899 spawn lockable nodes for "inventory = { lockable = true }", and migrate all lockable nodes to this mechanism, but the furnaces 2015-08-19 19:30:03 +02:00
Tim cc79b5fc03 register a copy of the def instead of the passed def, this allows us later to spawn supporting nodes from the same original def 2015-08-19 18:48:50 +02:00
Tim 9420e9136c use the simplified inventory format for the wardrobe, where applicable 2015-08-19 18:03:05 +02:00
Tim 4d5975d407 allow inventories to be locked (not just have a locked version of it being spawned later, but be locked by registration)
the code will also be used later to replace locked.lua that spawns a locked version from an unlocked version
2015-08-19 18:00:45 +02:00
Tim a6ffd1f3c6 simplify trash can code and limit the inventory size to the displayed one 2015-08-19 17:37:18 +02:00
Tim 8a91865d82 allow chaining of on_construct instead of overwriting in registration function 2015-08-19 17:30:37 +02:00
Tim 2d433f9652 remove debug statements 2015-08-19 17:09:50 +02:00
Tim 7402f30c3a simplify calendar construction 2015-08-19 17:02:01 +02:00
Tim 2ed7ae6a56 move inventory registration functions into dedicated handler file 2015-08-19 16:14:17 +02:00
Tim 628c37e29e replace several explicit nodebox definitions with the function-version 2015-08-19 15:49:32 +02:00
Tim 91092d99be introduce nodebox abstractions used by fences, like corner nodeboxes, and indirectly slab_x; update fences accordingly 2015-08-19 15:32:19 +02:00
Tim 7d087815c8 fix slab_z nodebox direction inconsistencies 2015-08-19 15:06:53 +02:00
Tim 7d07e81a8c combine chimney, roof shingles and roof slopes into roofing.lua 2015-08-16 20:05:48 +02:00
Tim 518d1432f6 change more recipes to use groups instead of nodenames 2015-08-16 19:41:26 +02:00
Tim faf6cefa99 use the default background for all automatic inventory formspecs 2015-08-16 19:06:44 +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
Vanessa Ezekowitz 804ee36102 fix deduction of spiral staircase 2015-08-15 05:18:04 -04:00
Craig Davison ed3aa1e88a Replace LIGHT_MAX with default.LIGHT_MAX 2015-08-01 10:24:43 -04:00
Vanessa Ezekowitz 23a0af58ee add yellow and red shrubbery, crafted from green shrub + dye 2015-07-28 08:19:40 -04:00
Vanessa Ezekowitz 6aea902159 move shrubbery from gloopblocks to homedecor 2015-07-28 07:37:57 -04:00
Vanessa Ezekowitz bc195552ed opt-depend on 3d_armor
should fix this issue:
https://forum.minetest.net/viewtopic.php?f=11&t=2041&start=625#p185494
2015-07-27 06:52:29 -04:00
Vanessa Ezekowitz 3e26b64d94 fix female skins in wardrobe when 3d armor is installed 2015-07-27 06:51:32 -04:00
Vanessa Ezekowitz b20b3bb8e9 replaced two skins with something less likely to be confused for the modpack's author :-) 2015-07-20 22:12:21 -04:00
Vanessa Ezekowitz a949238a0d alternate recipe if neither technic nor moreores is installed
(default gold + steel + copper == 3 brass)
2015-07-17 17:55:55 -04:00
Vanessa Ezekowitz 492f13fd8f fix potted-flower model (re-derived it from the standard flowerpot)
delete an obsolete texture.
2015-06-25 02:57:07 -04:00
Vanessa Ezekowitz e67bdcafd3 made potted flowers directly reference minetest_game flower images where possible. 2015-06-21 21:03:09 -04:00
Vanessa Ezekowitz fd741795f4 fix misaligned UVs on round table model 2015-06-19 04:56:15 -04:00
Vanessa Ezekowitz 6bf41d0159 fix buckets getting lost if hotbar is full to the left of the bucket 2015-06-14 02:41:20 -04:00
Vanessa Ezekowitz 87c334a9e5 get rid of unused variable 2015-06-14 01:58:18 -04:00
Vanessa Ezekowitz 81f3c96680 better table and standing lamp inv images 2015-06-08 13:43:46 -04:00
Vanessa Ezekowitz e00742a93a make redefined buckets return their itemstacks properly 2015-05-29 21:54:25 -04:00
Vanessa Ezekowitz f0da8f3d6f minor tweak to gold coin desc 2015-05-28 20:38:29 -04:00
Vanessa Ezekowitz 6e8c321ab6 take "open" speaker out of creative inv 2015-05-27 18:05:06 -04:00
Vanessa Ezekowitz 9959270e77 improve windowblind inv images 2015-05-27 15:19:49 -04:00
Vanessa Ezekowitz adc8cd0303 new oil extract, drinking glass, glass bottle, oil lamp inv images
adjusted vessels shelf glass texture accordingly
2015-05-26 18:42:03 -04:00
Vanessa Ezekowitz a025f83bf9 same for standing lamp 2015-05-26 18:01:13 -04:00
Vanessa Ezekowitz bec0177800 trim edges of table lampshade 2015-05-26 17:55:30 -04:00
Vanessa Ezekowitz 5f0fe66eba new inv image for radiator 2015-05-26 17:05:06 -04:00
Vanessa Ezekowitz 79020e380e new inventory images for window shutter and large benches 2015-05-26 16:43:19 -04:00
kilbith 5ffce841a6 Minor tweaks 2015-05-23 15:17:14 +02:00
kilbith 493e74ab42 Fix crash for dummy bucket 2015-05-22 17:42:18 -04:00
Vanessa Ezekowitz e041ca9115 same for bathroom tiles 2015-05-18 17:36:48 -04:00
Vanessa Ezekowitz 898bdb1c82 fix missing paramtype = "light" on skylights 2015-05-18 17:31:05 -04:00
kilbith dc3521488b Fix faucet's particlespawner not stopped after destruct 2015-05-18 13:04:10 +02:00
LeMagnesium 17e066b9b1 Fixed bucket overwrite inhibiting its role
- Buckets couldn't be used to take default:water_source nor default:lava_source
   because the overwrite made in homdecor/exterior.lua replaced that way of
   working. This patch makes both well and sources work.
2015-05-16 13:47:46 +02:00
Vanessa Ezekowitz 3b2dc854c9 delete changelog, it's badly outdated and beyond salvation :P 2015-05-15 19:27:05 -04:00
Vanessa Ezekowitz 70efd9186e fix flowerpot alias 2015-05-15 19:13:41 -04:00
Vanessa Ezekowitz 4b3976fd4b clarify the license info for the modpack and combine all such files into one 2015-05-15 19:12:01 -04:00
kilbith 45d1419478 Trash can drop fix and pot recipe tweak 2015-05-15 22:58:12 +02:00
kilbith 142fce09a7 Import plantlife's small flower pots 2015-05-15 21:11:30 +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 246a38832a Allow water to be picked up from well 2015-05-14 10:07:21 +02:00
kilbith e0fe854c5d Add stained glass 2015-05-13 00:05:24 +02:00
kilbith b93ec107d7 Add garden lattices 2015-05-12 17:09:33 +02:00
Vanessa Ezekowitz dad8ad1428 new inv image for beer taps
got rid of a couple obsolete images
2015-05-12 09:03:51 -04:00
Vanessa Ezekowitz 704870b7d1 fix banister recipes to point to the "horizontal" ones 2015-05-11 20:30:00 -04:00
Vanessa Ezekowitz 01b55f1a9a better prediction for placing diagonals at the top of the stack
better prediction for placing horizontals at the top and bottom of the
stack, particularly if they're placed within 1 node of the correct spot.
2015-05-11 20:14:02 -04:00
Vanessa Ezekowitz d5188661da do the same for the "L" bars 2015-05-11 18:35:10 -04:00
Vanessa Ezekowitz 5210351139 rotate black metal texture on 3dforniture bars 2015-05-11 18:15:24 -04:00
Vanessa Ezekowitz be751e3267 new inv images for the banisters 2015-05-11 18:11:19 -04:00
Vanessa Ezekowitz 10b859ba59 add a horizontal banister, rename the diagonals (+alias)
includes just enough code to try to auto-route them as they're placed.

the "root" node is now the horizontal one - if you have diagonals and
they don't place right, they should after you dig them and place again.
2015-05-11 18:03:21 -04:00