Commit Graph

826 Commits

Author SHA1 Message Date
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
Vanessa Ezekowitz
610f2e0bdc fix broken right-banister model, re-write left one to make sure the normals match 2015-05-11 15:05:50 -04:00
kilbith
3f16e7dbc0 Move sit function 2015-05-11 20:21:27 +02:00
Vanessa Ezekowitz
f59e0448c7 optimize all PNGs 2015-05-11 12:51:03 -04:00
Vanessa Ezekowitz
dfcd8154eb add recipe for persian rug 2015-05-11 12:46:41 -04:00
Vanessa Ezekowitz
8e1670e3b9 use mesh node for round-cornered ("small") rugs,
nodebox for square-cornered ("large", "persian") rugs.
2015-05-11 12:37:49 -04:00
Vanessa Ezekowitz
a32e723ee2 add another rug type 2015-05-11 11:50:58 -04:00
kilbith
8311c7d87d Add soda vending machine 2015-05-11 14:22:36 +02:00
kilbith
3c891aa24e Add adequate sound for faucet/tap 2015-05-11 10:35:22 +02:00
Vanessa Ezekowitz
bcf9269235 add proper air-checking and stacking of spiral staircases
also added a register_on_placenode hook to make sure other stuff can be placed on top of the staircase
2015-05-11 02:25:47 -04:00
Vanessa Ezekowitz
e010bdeb27 pass outlet position to particle handler as a table rather than separate vars 2015-05-10 22:34:30 -04:00
Vanessa Ezekowitz
b5433d8c39 don't use string.find() where == will do. 2015-05-10 22:30:53 -04:00
Vanessa Ezekowitz
3621d35bfd same for kitchen faucet 2015-05-10 22:27:35 -04:00
Vanessa Ezekowitz
9c9e525cd7 make bathroom taps use the new particles code
also make shower tray turn off taps above it, if any
minor tweak to particles function to add Y velocity
added more detailed collision boxes to the sinks to accommodate particles
2015-05-10 22:10:26 -04:00
Vanessa Ezekowitz
12f5ac9d02 abstract the particle spawner start/stop functions 2015-05-10 21:03:50 -04:00
Vanessa Ezekowitz
6907237654 added experimental spiral staircase 2015-05-09 03:17:12 -04:00
Vanessa Ezekowitz
0578282ff9 use mesh node for beer taps 2015-05-09 00:15:07 -04:00
Vanessa Ezekowitz
791f58d790 fix plasma globe material ordering
so that the glass renders properly and the base appears behind it.
2015-05-08 23:21:57 -04:00
Vanessa Ezekowitz
f6cc071483 rework oil lamp to make the wick in the center visible 2015-05-08 23:15:52 -04:00
Vanessa Ezekowitz
c698cf8167 rework fishtank model again 2015-05-08 19:45:34 -04:00
Vanessa Ezekowitz
b99763d351 rework fishtank model and textures 2015-05-08 15:52:41 -04:00
Vanessa Ezekowitz
dbb0786ebc add recipe for plasma ball 2015-05-08 14:22:18 -04:00
Vanessa Ezekowitz
b276b0f2a2 drop the "off" fishtank when digging the lighted one 2015-05-08 14:22:00 -04:00
Vanessa Ezekowitz
0b6b74678d use mesh node for fishtank 2015-05-08 14:06:51 -04:00
Vanessa Ezekowitz
27652c4401 add inv image for plasma ball 2015-05-07 23:25:29 -04:00
Vanessa Ezekowitz
db38184ff2 add plasma ball
also enable textute alpha on the cubical plasma lamp
2015-05-07 22:31:14 -04:00
Vanessa Ezekowitz
970bd4a630 better glass shingles texture 2015-05-07 18:46:25 -04:00
Vanessa Ezekowitz
2faa8d7ae3 use mesh node for paintings 2015-05-07 18:45:49 -04:00
Vanessa Ezekowitz
05d41327d7 use mesh node for Air conditioner
(to get rid of the "metal" top face where there should be glass)
2015-05-07 18:05:46 -04:00
Vanessa Ezekowitz
e414163e5e phase out redundant wrought-iron fence #2 image 2015-05-07 14:50:22 -04:00
Vanessa Ezekowitz
5b3e87031e rename all skin/clothes textures to follow usual naming convention 2015-05-07 14:46:22 -04:00
kilbith
e115b34873 Phase out excess desk lamp inv images 2015-05-07 14:46:11 -04:00
Vanessa Ezekowitz
54275987fd phase out redundant slope images
(modified the models so that they can use the existing shingle images instead)
2015-05-07 14:13:12 -04:00
Vanessa Ezekowitz
a6056d69de phase out separate inv textures for beds
reduce them to just the wood+white sheet base images plus colorized blanket/pillow overlays
2015-05-07 13:30:49 -04:00
Diego Martinez
4c6a98b593 books: Allow editing while placed and open.
Removes the ability to edit the book by "using" it, but instead
allows to edit the book by right-clicking it while open. Also
changes the interface to open/close the books by punching instead
of right-clicking. In addition, fixes wrong handling of metadata.
2015-05-06 20:36:34 -03:00
kilbith
81bb309bc6 Fix broken recipes and missing aliases (again) 2015-05-05 19:26:38 +02:00
kilbith
5f9928d027 Fix missing aliases 2015-05-05 15:34:55 +02:00
Vanessa Ezekowitz
251795988c rework the "open" book model 2015-05-04 11:45:26 -04:00
Vanessa Ezekowitz
029eda2dee delete some unused textures 2015-05-04 05:39:16 -04:00
Vanessa Ezekowitz
92a77b43fe phase out redundant kitchen cabinet images 2015-05-04 05:34:10 -04:00
Vanessa Ezekowitz
6f6b3e2b43 remove some obsolete textures 2015-05-04 05:17:21 -04:00
kilbith
5cfc2a12c6 Phase out redundant standing/table inv. images 2015-05-04 10:56:07 +02:00
Vanessa Ezekowitz
495af4ce5c add middle shelf to open medicine cabinet,
make closed and opened both non-walkable
2015-05-04 04:21:11 -04:00
Vanessa Ezekowitz
9d76512cd0 phase out baked colored book textures
in favor colorizing a couple of base textures + overlays
reworked the meshes as well.
2015-05-04 04:11:24 -04:00
Vanessa Ezekowitz
5c3699eba1 use mesh node for medicine cabinet
(allows better usage of textures, and fewer thereof)
2015-05-04 02:16:36 -04:00
Vanessa Ezekowitz
9c9fc8f334 phase out redundant nightstand images 2015-05-04 01:36:27 -04:00
Vanessa Ezekowitz
7c5ccaf43f remove some unused images 2015-05-04 01:28:57 -04:00
Vanessa Ezekowitz
dee9e2587f phase out several more redundant fence and gate images 2015-05-04 01:26:37 -04:00
Vanessa Ezekowitz
176f1db354 phase out duplicate textures from barbed wire fence/gate
and phase out most fence/gate "back" images
2015-05-04 00:53:16 -04:00