1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2025-06-28 21:06:02 +02:00

Compare commits

...

210 Commits

Author SHA1 Message Date
32fc5dc49b bad modpath check (leftover from The Big Split); fixes #12
also added optdepend on kitchen stuff (for the recipe)
2019-05-04 13:10:03 -04:00
854e96d4c0 add "light" to lava lamp desc. 2019-05-03 12:06:43 -04:00
6e61cc4ad8 move sounds to their correct folders 2019-05-02 18:40:25 -04:00
2ee1cd6887 Make sure all "lanterns" and "lamps" have "light" in their descriptions also
(for easier searching in sfinv and unified inv)
2019-05-02 18:36:36 -04:00
0cd8bd7780 remove homedecor_i18n and merged into homedecor_common, fixed meseon global error 2019-04-21 16:25:21 +01:00
8b78caf7c6 wardrobe now uses homedecor api 2019-04-21 15:22:27 +01:00
18d74e2f09 fix a couple of wrong depends 2019-04-21 07:47:09 -04:00
b94139c9df lighter, softer building_blocks marble texture 2019-04-20 17:02:48 -04:00
bb808a944c fix wrong "kitchen" chair selection box 2019-04-20 17:02:48 -04:00
b08c0905c0 Split the big "homedecor" mod into multiple sub-mods
Any of these new submods can be run without any other
components that were once part of the big "homedecor"
mod, other than homedecor_common and homedecor_i18n

Reduced dependencies where possible, but each submod still
has its various dependencies more or less the same as before,
i.e. some need basic_materials, others need unifieddyes,
some need building_blocks, and so on.

All of the stuff that used to be under homedecor/handlers
got moved to homedecor_common, as did any models and/or textures
that are used by more than one other homedecor component.

All the miscellaneous items that didn't warrant their own
mod ended up in homedecor_misc, which can also be thought
of as the remains of the original "homedecor" mod, renamed.
2019-04-20 17:02:42 -04:00
95590f23c5 Separate-out the wardrobe into its own mod
Standalone -- can be used without the rest of home decor
2019-04-20 10:01:42 -04:00
554ec8028d use basic_materials motor 2019-03-31 19:37:39 -04:00
0ab1040760 Merge branch 'pg-fix-tap-particles' into 'master'
Fix the tap particles spilling out of the sink

See merge request VanessaE/homedecor_modpack!4
2019-03-24 21:07:58 +00:00
52375443ed Fix the tap particles spilling out of the sink 2019-03-24 18:57:58 +01:00
ac71c0f189 Merge branch 'master' into 'master'
bugfix wardrobe save/restore skins for skinsdb

See merge request VanessaE/homedecor_modpack!2
2018-12-16 20:42:15 +00:00
37c6b99ac1 make currency opt depend 2018-11-12 08:23:19 -05:00
bcf9238e47 use currency mod's 25-cent Minegeld coin for soda machine 2018-11-09 20:23:42 -05:00
e291a45d99 license fixups: use LGPL 3.0 for code,
CC-by-SA 4.0 for media and everything else
2018-11-08 18:58:34 -05:00
12bdbd6684 use basic_materials padlock instead of steel ingot
for lockable items.
2018-10-31 12:16:50 -04:00
13a35d12a0 use basic_materials mod where possible 2018-10-30 20:46:10 -04:00
c5393f1462 use empty bucket in shower tray recipe 2018-10-25 13:15:24 -04:00
93351aecda use three marble + bucket to make bathroom sink 2018-10-25 13:14:14 -04:00
bf79c7d430 if both gloopblocks and moreblocks present, don't register "gravel spread"
alias it to gloopblocks:slab_gravel_1
2018-10-25 13:03:25 -04:00
f7ff5ae3f4 allow crafting coffee table from two endtables 2018-10-25 12:44:18 -04:00
c64dabfa28 use "default:wood" explicitly in homedecor:table recipe
("group:wood" conflicts with lrfurn coffee table,
probably an issue with moreblocks)
2018-10-25 12:40:13 -04:00
d4e85cbab2 disable sleeping in beds 2018-10-25 12:34:33 -04:00
3791311422 get rid of glass office doors
alias them to default glass doors
2018-10-25 12:30:21 -04:00
ec0e332918 get rid of phone ringing sound effect 2018-10-25 12:18:15 -04:00
6dec410d29 better recipes for the spools
(now the end cost is 0.5 ingot and 2.333 plastic per spool of wire)
2018-10-24 19:27:14 -04:00
0c58327df7 add empty spool (craft from 7 plastic sheet)
make steel and copper wire use it.
reworked existing spool images
2018-10-24 19:04:25 -04:00
fba875f474 allow turning 8 small lattice lamps into one large. 2018-10-18 07:20:36 -04:00
f983710899 reduce light output of small lattice cube lantern
(especially if it comes from a darkage:lamp)
2018-10-18 07:17:32 -04:00
6a3c009276 if darkage is also installed,
don't register large homedecor lattice lamp or the recipes to
create it or to split it into 8 small lamps. instead, add an
alias to darkage:lamp and a recipe to split that.
2018-10-18 06:54:26 -04:00
69e87419ea add alternate recipe for green welcome mat
(workaround for a moreblocks bug)
2018-10-16 15:06:07 -04:00
25fef974e3 add palette to wood banister 2018-09-13 22:32:46 -04:00
4980844320 use airbrush_replacement_node instead of ud_replacement_node in shutter 2018-09-13 10:31:29 -04:00
fc781daca0 get rid of old 89->256 color LBMs 2018-09-12 23:03:41 -04:00
5b631142aa take colored banisted "pseudo nodes" out of creative inv 2018-09-12 22:43:05 -04:00
eb6089a03e make wooden banister colorable via Unified Dyes 2018-09-12 20:34:11 -04:00
41455647a2 lrfurn i18n fix 2018-09-11 06:19:31 -04:00
55fea4f6ca make doors and gates respond to vertical mesecon two nodes below
using pressure plate rules
2018-08-28 23:26:08 -04:00
a8729575ab switch to colored itemstacks
with full crafting recipes
(requires Unified Dyes commit 2a816534 or later)

known issues:

standing lamp bypasses vertical stack check
bed expansion changes the color of the first-placed bed
to match the second when creating a king bed.
2018-08-22 05:09:55 -04:00
04cb59401b bugfix wardrobe save/restore skins for skinsdb 2018-06-25 16:12:09 +02:00
9e69a6db73 more set_int fixes 2018-06-11 14:06:37 -04:00
54ce73b616 fix the fix ;) 2018-06-07 10:57:19 -04:00
8a5bc0e038 fix #2 2018-06-07 10:22:52 -04:00
d6ff137657 Add moreblocks:slab_wood for table_lamp (#418) 2018-05-20 00:49:02 -04:00
a4ca53cc05 fix players in bed count for multiplayer (#404) 2018-05-14 13:28:36 -04:00
017326dbed replace print with verbose logging (#409)
* remove debug log
2018-05-14 00:00:29 -04:00
31bf6b8c40 add translation for log message 2018-05-13 23:59:22 -04:00
b526ec1714 add disabled coin crafting logging 2018-05-13 23:59:22 -04:00
7e98534179 add prefix to settings key 2018-05-13 23:59:22 -04:00
8132cfc6f8 add setting disable_coin_crafting to make coins not available for crafting 2018-05-13 23:59:22 -04:00
Foz
39984c356b Resolve itemframe entity duplication Fixes #405.
The ABM that replaces deleted entities in itemframes and pedestals can sometimes add multiple copies of each entity due to a race condition in which the ABM runs either before the server loads the entities or after they have been removed due to the map block being unloaded.  Due to limitations in determining when all entities have been loaded, this race condition cannot be fully avoided.  This commit converts the ABM, which ran every fifteen seconds, into and LBM that runs on every load and adds a check to the entities when they are loaded such that only the first loaded entity will be kept and any additional copies delete themselves during the loading process.
2018-05-13 09:34:18 -04:00
eb2b3d7980 add optional support for skinsdb in wardrobe
- All skins are registered in skinsdb, including skins format
- But the skins are not in inventory skins list, still available trough wardrobe only
- If selected, the skins metadata and preview is shown in inventory
- Use skinsdb method to set the skin
- Note: skinsdb manages the 3d_armor if both mods found
2018-05-13 09:31:27 -04:00
08bbd0f592 Computer Remove local 2018-05-11 09:20:44 -04:00
3597c2c1aa Proper handle stairs groups
fix #410
2018-05-11 09:09:25 -04:00
5db791deb4 refactor code 2018-05-11 09:02:45 -04:00
8ccbe6abc4 add skin_updates table (somehow got lost) 2018-05-11 09:02:45 -04:00
cafba3bc53 load skin when player has joined the game 2018-05-11 09:02:45 -04:00
ac10702849 prepare code to be reused later 2018-05-11 09:02:45 -04:00
fe2acaaa1e replace player_set_textures with new API (fallback to old API) 2018-05-11 09:02:45 -04:00
bfda7c49fd fix ceiling lamp recipes (#403)
There is no homedecor:glowlight_small, homedecor:glowlight_small_cube only
2018-02-13 13:31:01 -05:00
4d9c4c2410 Update init.lua (#400)
tweak sizes of chain selection boxes and adjust light levels of chandeliers.
2017-12-21 01:45:30 -05:00
1471a0cba9 depend on mt_game 'creative' mod
as some of its functions are used to check if players have creative mode
2017-12-15 20:10:42 -05:00
eabd237252 Luacheck: make this a bit more useful by adding common symbols. 2017-12-06 21:16:40 -08:00
9d4ac9bd9a Fix books: enforce book ownership, strict access checking.
Fixes #399
2017-12-06 21:15:58 -08:00
5efa9af1b7 Building_blocks Alias (#398)
Alias for old node Tar cut by moreblocks.
2017-11-20 12:26:57 -05:00
7d40724d39 Update Malay translation (#396)
* Update Malay translation
2017-11-13 22:22:45 -05:00
5e6307ea3a Change sounds for the "Itemframe" and "Pedestal (#395) 2017-09-29 23:39:15 -04:00
8882ab8e19 Building blocks add glass for stairplus (#394)
* Building Blocks Add all glass for stairsplus

-Smoothglass
-WoodGlass

(plus some style fixes)
2017-09-29 11:58:55 -04:00
3021248538 Building Blocks add sound (#393)
- Grate
- Firefplace
- Roofing
2017-09-29 01:05:53 -04:00
4eaf265e65 allow sleeping in beds!
fixed by using some code from mt_game, with changes
2017-09-29 01:03:05 -04:00
228e25e123 get rid of inventorycube() calls
they're obsolete and annoying in combo with current inventory hover animations
2017-09-28 06:22:53 -04:00
ddcb08fe62 Building Blocks node_stairs layout
- Glasslike
- RailLike
- Nodebox
- Node
And fix one tabulation with fakegrass.
2017-09-27 18:47:58 +02:00
972d30dd38 Building Blocks layout all file 2017-09-27 17:05:20 +02:00
cc9276841e Building Blocks Delete return to the line 2017-09-27 16:26:44 +02:00
f2f49a3aac Building Blocks Create file recipes 2017-09-27 16:02:54 +02:00
b92c9e065b Building Blocks Create file others 2017-09-27 15:58:04 +02:00
ea77ac32ea Building Blocks Create file node_stairs 2017-09-27 15:44:33 +02:00
14697ef71b Building Blocks create file alias 2017-09-27 15:29:20 +02:00
9921efeeef Building Blocks Revert capital lettre
45-48 and 352-353 : Marble and Tar not use capital lettre for stairs.
Alias and node name revert.
2017-09-27 14:14:40 +02:00
87e3c9f9ce Building Blocks add alias for moreblocks 2017-09-26 17:19:51 +02:00
095e34ad7f Building Blocks Add Alias for bbstairs 2017-09-26 16:48:20 +02:00
6c9da755f3 Building Blocks moreblocks and stairs
Simplify integration moreblocks
Replace bb stairs by Stairs
2017-09-26 15:43:47 +02:00
c786e3ae05 Building Blocks simplify name for stairs 2017-09-26 15:17:16 +02:00
48be7ddef1 brain-o in banister placement. fixes #388
there was no reason to explicitly check whether to place a horizontal
next to another horizontal after all the other checks were done.
2017-09-25 23:53:18 -04:00
2c5be0735a Russian locale (#386)
* Russian locale

* Russian locale. Plurals fix
2017-08-21 16:57:43 -04:00
36e5e319e3 add description for "Ice Fire" (#385) 2017-08-20 11:52:45 -04:00
57b988c185 clarify desc for "large" shrubbery 2017-08-13 14:33:45 -04:00
d6f660b72a clarify desc for "striped" deck chair 2017-08-13 14:33:45 -04:00
7b4db2fc5a clarify desc for "open" curtains 2017-08-13 14:33:45 -04:00
b45ace825d Update German translation (#378) 2017-08-13 14:27:43 -04:00
9d2704c0c2 rework a bit to work better with minetest_game 0.4.16
eliminates flint and steel (aliased to mt_game fire:flint_and_steel)
eliminates fake_fire:fake_fire (aliased to mt_game fire:permanent_flame)

mt_game already provides a "fake" fire in the form of a "permanent flame", strike a coal block with flint/steel to get it.

modifies default ice block so that it can be "ignited" (ice fire on top) with mt_game flint/steel

Fire mod must be enabled. However, fire damage is NOT required.
2017-08-12 18:21:50 -04:00
d7a4054dda fix take-coin handling for soda machine 2017-08-12 18:00:09 -04:00
f03e71397a get rid of last vestages of "infinite stacks" special handling
just checks for creative mode/priv directly instead, as needed.
2017-08-12 17:52:29 -04:00
6349c53824 update recipes for stained glass 2017-08-12 17:07:51 -04:00
c60607aa0d use a nodebox for building_blocks BWtile 2017-08-12 16:52:31 -04:00
78ec2119f6 give unique (if generic) descriptions to picture frames 2017-08-12 16:43:42 -04:00
c247318dd8 Update french, german, portuguese (and pt_BR) translations (#380)
* add some translatable strings

* updated translations
add option --sort-by-file to updatepo.sh

* Updated de, pt, pt_BR translations
from pull requests #378 (Wuzzy) & #379 (afmachado)

pt.po and pt_BR.po are the same but pt.po is usable by any portuguese speaking people, not only brazilian ones

* improved french translation
2017-08-12 16:30:46 -04:00
9693d9dd46 Disable sleeping in beds (again) 2017-06-25 03:12:23 -04:00
23d1365939 fix wrongly-colored plasma ball base 2017-06-25 03:12:18 -04:00
f391bc59b0 use texture overlays on lava lamps
(water is now blue like it used to be)
2017-06-25 03:12:13 -04:00
790557f6ce Make the white glowlight overlays more subtle
(they're too bright against the darker colors e.g. green)
2017-06-25 03:12:08 -04:00
c9c4214bff use static hardware coloring for books,
use soft overlays for cover trim,
2017-06-25 03:12:03 -04:00
914aee41fe fix book models
(get rid of redundant overlay polys)
2017-06-25 03:11:58 -04:00
ec83040d10 use soft overlays for bathroom tiles instead of the two-layer mesh node 2017-06-25 03:11:52 -04:00
9bb4222aa5 use soft overlays to re-create the subtle white glow that glowlights used to have
before param2 coloring went in.
2017-06-25 03:11:46 -04:00
67ddc87d2c Re-enable sleeping in beds 2017-06-25 03:11:41 -04:00
970636571e missed an alias for open books 2017-06-25 03:11:37 -04:00
4ee5b6b87f revert a599b041d4 (param2 colorization of books)
The intention of this is to fix books in peoples' inventories that are
now inaccessible.  They can be placed, viewed, edited like normal now.

Side effect: all books that were already in-world and that have already
been converted to the param2 colorization before will be grey now, and
most will end up turned some wierd direction, but that can be fixed with
the screwdriver.

If you need to re-color one of the now-grey books, you'll need to craft
one of the desired color, place it, and copy and paste your text from
the grey book.

Newly-placed colored books will behave normally.
2017-06-25 03:11:31 -04:00
1f2676b8f6 use mesh node for cubical plasma lamp 2017-06-25 03:11:25 -04:00
ad4790f74c verify inbox owner when taking items 2017-06-25 03:11:19 -04:00
7925897748 Replace deprecated methods:
- 'setting_get' with 'settings:get'
- 'setting_getbool' with 'settings:get_bool'
2017-06-25 03:11:12 -04:00
459c02548e don't crash if placing bed on top of bed when not in auto-color mode. 2017-06-25 03:11:05 -04:00
1eb1e87f08 use unified dyes auto-colorization feature
also fixed some bugs in bed handling
also got rid of the old, obsolete "placeholder" node, aliased it to air.
2017-06-25 03:10:59 -04:00
27eae09d93 use unified dyes on_construct handler
to set 256-color palette meta key on place
for those nodes that use it
2017-06-25 03:10:53 -04:00
761b18c17e don't reference lrfurn chair colors in homedecor chair LBM
use a local copy instead
2017-06-25 02:29:53 -04:00
763bcb2e95 Make Wrought Iron Fence 2 recipe more generous
And remove double craft definition
2017-03-11 19:39:16 +01:00
2d0363f3ac add clawfoot tubs
(one with brass handles, one chrome)
2017-02-27 20:16:22 -05:00
0f1b8418a1 lighting: actually get meta before trying to use it :) 2017-02-27 17:02:20 -05:00
f6701bd9cd Merge pull request #359 from frodon1/server_crash
Fix calls to check_player_privs with player name instead of player userdata
2017-02-27 16:54:56 -05:00
d18bee7fa0 Fix calls to check_player_privs with player name instead of player userdata
Fixes #357
2017-02-27 21:56:16 +01:00
c05378f20f require white dye for "light" tiles recipe 2017-02-27 13:51:51 -05:00
d61a990fc9 fix broken bathroom tiles recipes 2017-02-27 13:47:21 -05:00
af41f549a7 fix missing tar alias
(if moreblocks is installed)
2017-02-27 11:27:57 -05:00
c1eda2246a convert lavalamps to UD extended palette 2017-02-25 02:11:47 -05:00
0de4732f43 set meta "ext" flag when converting old nodes 2017-02-25 01:02:51 -05:00
bc9192a847 remove a debug print 2017-02-24 21:57:13 -05:00
1ef6e9b69f do the same for the old static->param2 LBM 2017-02-24 21:27:22 -05:00
efbc491245 use new Unified Dyes "extended" palette
for bathroom tiles, table lamps, and standing lamps
requires unified dyes commit d2819353 or newer
2017-02-24 20:14:21 -05:00
8e6fa4cdff actually get some benefit from the consumed beer :P 2017-02-24 09:51:46 -05:00
2c921c03cd HUEG BOX 2017-02-24 03:05:01 -03:00
43f7056142 building_blocks: if moreblocks is installed, un-register the tar therein
and replace it with the building_blocks version.  Depends on moreblocks
pull request #70
2017-02-23 11:13:48 -05:00
f6173b036c Remove dead code. 2017-02-22 22:49:03 -03:00
8d9ea61b13 Add new used globals to .luacheckrc. 2017-02-22 22:48:45 -03:00
f7ccf20410 fix rotation of top/bottom textures of open gates 2017-02-22 18:55:05 -05:00
0ff3013895 add white and plain wood "half doors" (registred as gates) 2017-02-22 18:51:07 -05:00
f4144817e2 fix a similar crash possibility in itemframes:frame 2017-02-22 17:48:11 -05:00
0eee5f4959 it's possible for the player to be nil
in can_dig (e.g. if it's a technic quarry or something)
2017-02-22 17:28:48 -05:00
e8981367d6 when consuming beer, return the empty glass
(drop the glass on the ground, if necessary)
2017-02-22 17:28:13 -05:00
2c034ebba0 reduce visual scale of sofas 2017-02-22 16:48:38 -05:00
06342cbd86 make sofas and coffee table place with long axis left-to-right
(e.g. front of sofa faces you)
2017-02-22 16:43:39 -05:00
f32fdad4ff reduce README to just a stub (use the forum thread instead) 2017-02-22 14:59:54 -05:00
3ea7d5d84e don't deduct sofas from inventory in creative mode 2017-02-22 14:57:52 -05:00
cf44a85684 increase yield of tar recipes (2 -> 4) 2017-02-22 13:44:45 -05:00
96d0084109 plain wooden kitchen chair is not supposed to be colorable 2017-02-21 11:28:43 -05:00
f09481c3f0 switch over all punch-operated objects
to use on_rightclick instead, for consistency with other parts of minetest,
minetest_game, etc.
2017-02-20 18:30:59 -05:00
8ea285e683 fix rotation of sofas.... properly. :P 2017-02-20 16:39:44 -05:00
16ee0417e8 more tweaks to README 2017-02-20 12:13:52 -05:00
09078726da fix signs_lib comment in readme 2017-02-20 02:26:17 -05:00
18d2e492af use unified dyes' on_rotate handler for some nodes 2017-02-18 13:01:49 -05:00
6c0dd2d31a use unified dyes' rotation correction functions 2017-02-17 23:07:25 -05:00
e9477dd45d don't run LBM at every load 2017-02-16 16:59:19 -05:00
634b89c4c6 Fix missing warnings. 2017-02-16 02:11:22 -03:00
2df6dbcad9 Fix warnings issued by luacheck. 2017-02-15 23:53:52 -03:00
c8fa17801b Translate missing string. 2017-02-12 04:08:31 -03:00
8547b9b498 Update catalogs. 2017-02-11 04:30:13 -03:00
9e2ebe373a Add missing translations. 2017-02-11 04:29:37 -03:00
dafc731078 fix crash from bad "pink" translation reference 2017-02-09 09:44:44 -05:00
7d3b2f921e perform the after-place-fix-rotation at the end of on_place 2017-02-07 00:17:06 -05:00
f29e2fc698 remove debug prints 2017-02-06 09:34:21 -05:00
a599b041d4 convert books to param2 colorization
requires unified dyes commit b0ccff16 or later
2017-02-06 09:31:31 -05:00
846fe60be7 fix wrong texture ref on "medium" tiles 2017-02-06 07:54:40 -05:00
51341671c7 remove debug print 2017-02-06 07:49:57 -05:00
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
a493933105 unified dyes uses on_use now, instead of on_rightclick 2017-02-04 19:41:36 -05:00
13059eb3a2 fix table recipe 2017-02-04 13:41:21 -05:00
36dc31416e fix bed recipe 2017-02-03 14:21:26 -05:00
fe92fdc373 Minor fixes to inbox.
* Don't trigger global variable warning.
* Change form name to avoid possible bugs in the future.
* Actually (opt-)depend on screwdriver mod.
2017-02-03 00:27:02 -03:00
2ce071ec16 fix crash in stack_sideways (typo) 2017-02-02 10:25:29 -05:00
5f264bc484 local-ize a variable 2017-02-01 11:55:17 -05:00
cad8a378c3 fix crash 2017-02-01 11:51:12 -05:00
1fabeb3975 rename and re-decribe desk lamp LBM 2017-02-01 08:50:03 -05:00
c683874904 revised crafting recipe for desk lamp 2017-01-31 19:08:21 -05:00
5dd5d3a14b convert desk lamps to param2 colorization 2017-01-31 19:01:47 -05:00
3969f1a198 disable sleeping due to crashing inside minetest_game 2017-01-31 11:53:40 -05:00
7623b39a33 fix crash in door placement (copy&paste error) 2017-01-31 11:52:11 -05:00
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
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
1ec16b5b53 add paramtype="light" to curtains 2017-01-30 19:59:35 -05:00
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
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
ac9927d035 I18N fixes.
* Make xgettext not output line numbers
* Remove line numbers from existing catalogs.
* Re-add missing localizations.
2017-01-30 21:40:42 -03:00
6cadc7cf26 convert lrfurn to use param2 colorization
To maximize the palette, this uses the colorwallmounted param2 style,
which necessitated modifying the models to make wallmounted look like
normal facedir.  This means couches and chairs can now only ever be
placed upright, facing one of N/S/E/W like a couch or chair normally
would, but since the screwdriver was already disabled, it was basically
impossible to rotate them to any other orientation anyway.

Since this is colorwallmounted, it uses the 32-color abridged Unified Dyes
palette.
2017-01-30 17:10:01 -05:00
3e585ec482 Add a few missing translations. 2017-01-29 23:49:09 -03:00
c806807171 Update translations. 2017-01-29 21:57:37 -03:00
27e1175fb0 Add missing translations. 2017-01-29 21:57:15 -03:00
dc7b60c11f Split I18N stuff into its own submod. 2017-01-29 21:51:07 -03:00
010c07f23a Update pt.po 2017-01-29 14:17:00 -03:00
cb48bfec98 Convert old translations to new format. 2017-01-29 14:17:00 -03:00
4ae16c294e always pass pointed_thing along to on_rightclick 2017-01-29 12:15:14 -05:00
e97cefa94c homedecor depends on unifieddyes 2017-01-29 11:48:06 -05:00
f96f8ac86b lavalamp depends on unifieddyes 2017-01-29 11:44:47 -05:00
0e68696566 remove debug prints
localized a misc. variable
2017-01-29 04:36:39 -05:00
59ae86ec0f convert lavalamps to use param2 coloring
Side effect:  Now all of Unified Dyes' colors can be applied.
2017-01-29 04:32:26 -05:00
89e3353c5b more contrast on glowlight slab top 2017-01-29 03:53:20 -05:00
722c1c6f89 fix wrong nodenames in on_rightclick replace code 2017-01-29 03:50:22 -05:00
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
79e501394a fix missing 6dfacedir -> wallmounted
in LBM code for glowlights
2017-01-29 03:31:02 -05:00
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
1ce7d2b24d removed obsolete glowlight ABMs 2017-01-28 22:11:18 -05:00
428729a43d fix curtain recipes
add support for cottages:wool therein
2017-01-28 22:02:37 -05:00
4ef2f83f07 remove some debug statements 2017-01-28 21:57:48 -05:00
b9307f11ad Convert curtains to param2 coloring. 2017-01-28 21:51:29 -05:00
d35ebe8c00 fix colores of white and black sofas 2017-01-26 09:44:00 -05:00
dc903b16c8 fixed a few missed "black metal" -> static color lines 2017-01-25 17:53:45 -05:00
4598cdca56 fix z-fighting on window shutters 2017-01-25 05:51:59 -05:00
81db7f2c00 fix water in "open toilet" model
(flipped normals)
2017-01-25 05:47:02 -05:00
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
914 changed files with 48556 additions and 16702 deletions

View File

@ -4,7 +4,9 @@ allow_defined_top = true
read_globals = {
"DIR_DELIM",
"minetest", "core",
"unpack",
"dump",
table = { fields = { "copy", "getn" } },
"vector", "nodeupdate",
"VoxelManip", "VoxelArea",
"PseudoRandom", "ItemStack",
@ -15,6 +17,9 @@ read_globals = {
"beds",
"technic",
"mesecon",
"unifieddyes",
"creative",
"homedecor_i18n",
}
globals = {

450
LICENSE
View File

@ -1,17 +1,15 @@
For the Lua code: LGPL 3.0 or higher
For all models, all textures, and all sounds: CC-by-SA 3.0 or higher
For everything else: WTFPL
License for code: LGPL 3.0
License for media and all other assets: CC-by-SA 4.0
Exceptions to the above:
These licenses apply to all modules and components in this modpack,
unless otherwise stated.
Fancy mesh fire model and texture by NathanS (CC-0).
===============================================================================
###############################################################################
GNU LESSER GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
@ -174,26 +172,432 @@ apply, that proxy's public statement of acceptance of any version is
permanent authorization for you to choose that version for the
Library.
===============================================================================
###############################################################################
This work is licensed under the Creative Commons Attribution-ShareAlike
4.0 International License. To view a copy of this license, visit
http://creativecommons.org/licenses/by-sa/4.0/ or send a letter to
Creative Commons, PO Box 1866, Mountain View, CA 94042, USA.
Attribution-ShareAlike 4.0 International
===============================================================================
=======================================================================
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Creative Commons Corporation ("Creative Commons") is not a law firm and
does not provide legal services or legal advice. Distribution of
Creative Commons public licenses does not create a lawyer-client or
other relationship. Creative Commons makes its licenses and related
information available on an "as-is" basis. Creative Commons gives no
warranties regarding its licenses, any material licensed under their
terms and conditions, or any related information. Creative Commons
disclaims all liability for damages resulting from their use to the
fullest extent possible.
Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
Using Creative Commons Public Licenses
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
Creative Commons public licenses provide a standard set of terms and
conditions that creators and other rights holders may use to share
original works of authorship and other material subject to copyright
and certain other rights specified in the public license below. The
following considerations are for informational purposes only, are not
exhaustive, and do not form part of our licenses.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
Considerations for licensors: Our public licenses are
intended for use by those authorized to give the public
permission to use material in ways otherwise restricted by
copyright and certain other rights. Our licenses are
irrevocable. Licensors should read and understand the terms
and conditions of the license they choose before applying it.
Licensors should also secure all rights necessary before
applying our licenses so that the public can reuse the
material as expected. Licensors should clearly mark any
material not subject to the license. This includes other CC-
licensed material, or material used under an exception or
limitation to copyright. More considerations for licensors:
wiki.creativecommons.org/Considerations_for_licensors
0. You just DO WHAT THE FUCK YOU WANT TO.
Considerations for the public: By using one of our public
licenses, a licensor grants the public permission to use the
licensed material under specified terms and conditions. If
the licensor's permission is not necessary for any reason--for
example, because of any applicable exception or limitation to
copyright--then that use is not regulated by the license. Our
licenses grant only permissions under copyright and certain
other rights that a licensor has authority to grant. Use of
the licensed material may still be restricted for other
reasons, including because others have copyright or other
rights in the material. A licensor may make special requests,
such as asking that all changes be marked or described.
Although not required by our licenses, you are encouraged to
respect those requests where reasonable. More considerations
for the public:
wiki.creativecommons.org/Considerations_for_licensees
=======================================================================
Creative Commons Attribution-ShareAlike 4.0 International Public
License
By exercising the Licensed Rights (defined below), You accept and agree
to be bound by the terms and conditions of this Creative Commons
Attribution-ShareAlike 4.0 International Public License ("Public
License"). To the extent this Public License may be interpreted as a
contract, You are granted the Licensed Rights in consideration of Your
acceptance of these terms and conditions, and the Licensor grants You
such rights in consideration of benefits the Licensor receives from
making the Licensed Material available under these terms and
conditions.
Section 1 -- Definitions.
a. Adapted Material means material subject to Copyright and Similar
Rights that is derived from or based upon the Licensed Material
and in which the Licensed Material is translated, altered,
arranged, transformed, or otherwise modified in a manner requiring
permission under the Copyright and Similar Rights held by the
Licensor. For purposes of this Public License, where the Licensed
Material is a musical work, performance, or sound recording,
Adapted Material is always produced where the Licensed Material is
synched in timed relation with a moving image.
b. Adapter's License means the license You apply to Your Copyright
and Similar Rights in Your contributions to Adapted Material in
accordance with the terms and conditions of this Public License.
c. BY-SA Compatible License means a license listed at
creativecommons.org/compatiblelicenses, approved by Creative
Commons as essentially the equivalent of this Public License.
d. Copyright and Similar Rights means copyright and/or similar rights
closely related to copyright including, without limitation,
performance, broadcast, sound recording, and Sui Generis Database
Rights, without regard to how the rights are labeled or
categorized. For purposes of this Public License, the rights
specified in Section 2(b)(1)-(2) are not Copyright and Similar
Rights.
e. Effective Technological Measures means those measures that, in the
absence of proper authority, may not be circumvented under laws
fulfilling obligations under Article 11 of the WIPO Copyright
Treaty adopted on December 20, 1996, and/or similar international
agreements.
f. Exceptions and Limitations means fair use, fair dealing, and/or
any other exception or limitation to Copyright and Similar Rights
that applies to Your use of the Licensed Material.
g. License Elements means the license attributes listed in the name
of a Creative Commons Public License. The License Elements of this
Public License are Attribution and ShareAlike.
h. Licensed Material means the artistic or literary work, database,
or other material to which the Licensor applied this Public
License.
i. Licensed Rights means the rights granted to You subject to the
terms and conditions of this Public License, which are limited to
all Copyright and Similar Rights that apply to Your use of the
Licensed Material and that the Licensor has authority to license.
j. Licensor means the individual(s) or entity(ies) granting rights
under this Public License.
k. Share means to provide material to the public by any means or
process that requires permission under the Licensed Rights, such
as reproduction, public display, public performance, distribution,
dissemination, communication, or importation, and to make material
available to the public including in ways that members of the
public may access the material from a place and at a time
individually chosen by them.
l. Sui Generis Database Rights means rights other than copyright
resulting from Directive 96/9/EC of the European Parliament and of
the Council of 11 March 1996 on the legal protection of databases,
as amended and/or succeeded, as well as other essentially
equivalent rights anywhere in the world.
m. You means the individual or entity exercising the Licensed Rights
under this Public License. Your has a corresponding meaning.
Section 2 -- Scope.
a. License grant.
1. Subject to the terms and conditions of this Public License,
the Licensor hereby grants You a worldwide, royalty-free,
non-sublicensable, non-exclusive, irrevocable license to
exercise the Licensed Rights in the Licensed Material to:
a. reproduce and Share the Licensed Material, in whole or
in part; and
b. produce, reproduce, and Share Adapted Material.
2. Exceptions and Limitations. For the avoidance of doubt, where
Exceptions and Limitations apply to Your use, this Public
License does not apply, and You do not need to comply with
its terms and conditions.
3. Term. The term of this Public License is specified in Section
6(a).
4. Media and formats; technical modifications allowed. The
Licensor authorizes You to exercise the Licensed Rights in
all media and formats whether now known or hereafter created,
and to make technical modifications necessary to do so. The
Licensor waives and/or agrees not to assert any right or
authority to forbid You from making technical modifications
necessary to exercise the Licensed Rights, including
technical modifications necessary to circumvent Effective
Technological Measures. For purposes of this Public License,
simply making modifications authorized by this Section 2(a)
(4) never produces Adapted Material.
5. Downstream recipients.
a. Offer from the Licensor -- Licensed Material. Every
recipient of the Licensed Material automatically
receives an offer from the Licensor to exercise the
Licensed Rights under the terms and conditions of this
Public License.
b. Additional offer from the Licensor -- Adapted Material.
Every recipient of Adapted Material from You
automatically receives an offer from the Licensor to
exercise the Licensed Rights in the Adapted Material
under the conditions of the Adapter's License You apply.
c. No downstream restrictions. You may not offer or impose
any additional or different terms or conditions on, or
apply any Effective Technological Measures to, the
Licensed Material if doing so restricts exercise of the
Licensed Rights by any recipient of the Licensed
Material.
6. No endorsement. Nothing in this Public License constitutes or
may be construed as permission to assert or imply that You
are, or that Your use of the Licensed Material is, connected
with, or sponsored, endorsed, or granted official status by,
the Licensor or others designated to receive attribution as
provided in Section 3(a)(1)(A)(i).
b. Other rights.
1. Moral rights, such as the right of integrity, are not
licensed under this Public License, nor are publicity,
privacy, and/or other similar personality rights; however, to
the extent possible, the Licensor waives and/or agrees not to
assert any such rights held by the Licensor to the limited
extent necessary to allow You to exercise the Licensed
Rights, but not otherwise.
2. Patent and trademark rights are not licensed under this
Public License.
3. To the extent possible, the Licensor waives any right to
collect royalties from You for the exercise of the Licensed
Rights, whether directly or through a collecting society
under any voluntary or waivable statutory or compulsory
licensing scheme. In all other cases the Licensor expressly
reserves any right to collect such royalties.
Section 3 -- License Conditions.
Your exercise of the Licensed Rights is expressly made subject to the
following conditions.
a. Attribution.
1. If You Share the Licensed Material (including in modified
form), You must:
a. retain the following if it is supplied by the Licensor
with the Licensed Material:
i. identification of the creator(s) of the Licensed
Material and any others designated to receive
attribution, in any reasonable manner requested by
the Licensor (including by pseudonym if
designated);
ii. a copyright notice;
iii. a notice that refers to this Public License;
iv. a notice that refers to the disclaimer of
warranties;
v. a URI or hyperlink to the Licensed Material to the
extent reasonably practicable;
b. indicate if You modified the Licensed Material and
retain an indication of any previous modifications; and
c. indicate the Licensed Material is licensed under this
Public License, and include the text of, or the URI or
hyperlink to, this Public License.
2. You may satisfy the conditions in Section 3(a)(1) in any
reasonable manner based on the medium, means, and context in
which You Share the Licensed Material. For example, it may be
reasonable to satisfy the conditions by providing a URI or
hyperlink to a resource that includes the required
information.
3. If requested by the Licensor, You must remove any of the
information required by Section 3(a)(1)(A) to the extent
reasonably practicable.
b. ShareAlike.
In addition to the conditions in Section 3(a), if You Share
Adapted Material You produce, the following conditions also apply.
1. The Adapter's License You apply must be a Creative Commons
license with the same License Elements, this version or
later, or a BY-SA Compatible License.
2. You must include the text of, or the URI or hyperlink to, the
Adapter's License You apply. You may satisfy this condition
in any reasonable manner based on the medium, means, and
context in which You Share Adapted Material.
3. You may not offer or impose any additional or different terms
or conditions on, or apply any Effective Technological
Measures to, Adapted Material that restrict exercise of the
rights granted under the Adapter's License You apply.
Section 4 -- Sui Generis Database Rights.
Where the Licensed Rights include Sui Generis Database Rights that
apply to Your use of the Licensed Material:
a. for the avoidance of doubt, Section 2(a)(1) grants You the right
to extract, reuse, reproduce, and Share all or a substantial
portion of the contents of the database;
b. if You include all or a substantial portion of the database
contents in a database in which You have Sui Generis Database
Rights, then the database in which You have Sui Generis Database
Rights (but not its individual contents) is Adapted Material,
including for purposes of Section 3(b); and
c. You must comply with the conditions in Section 3(a) if You Share
all or a substantial portion of the contents of the database.
For the avoidance of doubt, this Section 4 supplements and does not
replace Your obligations under this Public License where the Licensed
Rights include other Copyright and Similar Rights.
Section 5 -- Disclaimer of Warranties and Limitation of Liability.
a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
c. The disclaimer of warranties and limitation of liability provided
above shall be interpreted in a manner that, to the extent
possible, most closely approximates an absolute disclaimer and
waiver of all liability.
Section 6 -- Term and Termination.
a. This Public License applies for the term of the Copyright and
Similar Rights licensed here. However, if You fail to comply with
this Public License, then Your rights under this Public License
terminate automatically.
b. Where Your right to use the Licensed Material has terminated under
Section 6(a), it reinstates:
1. automatically as of the date the violation is cured, provided
it is cured within 30 days of Your discovery of the
violation; or
2. upon express reinstatement by the Licensor.
For the avoidance of doubt, this Section 6(b) does not affect any
right the Licensor may have to seek remedies for Your violations
of this Public License.
c. For the avoidance of doubt, the Licensor may also offer the
Licensed Material under separate terms or conditions or stop
distributing the Licensed Material at any time; however, doing so
will not terminate this Public License.
d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
License.
Section 7 -- Other Terms and Conditions.
a. The Licensor shall not be bound by any additional or different
terms or conditions communicated by You unless expressly agreed.
b. Any arrangements, understandings, or agreements regarding the
Licensed Material not stated herein are separate from and
independent of the terms and conditions of this Public License.
Section 8 -- Interpretation.
a. For the avoidance of doubt, this Public License does not, and
shall not be interpreted to, reduce, limit, restrict, or impose
conditions on any use of the Licensed Material that could lawfully
be made without permission under this Public License.
b. To the extent possible, if any provision of this Public License is
deemed unenforceable, it shall be automatically reformed to the
minimum extent necessary to make it enforceable. If the provision
cannot be reformed, it shall be severed from this Public License
without affecting the enforceability of the remaining terms and
conditions.
c. No term or condition of this Public License will be waived and no
failure to comply consented to unless expressly agreed to by the
Licensor.
d. Nothing in this Public License constitutes or may be interpreted
as a limitation upon, or waiver of, any privileges and immunities
that apply to the Licensor or You, including from the legal
processes of any jurisdiction or authority.
=======================================================================
Creative Commons is not a party to its public
licenses. Notwithstanding, Creative Commons may elect to apply one of
its public licenses to material it publishes and in those instances
will be considered the “Licensor.” The text of the Creative Commons
public licenses is dedicated to the public domain under the CC0 Public
Domain Dedication. Except for the limited purpose of indicating that
material is shared under a Creative Commons public license or as
otherwise permitted by the Creative Commons policies published at
creativecommons.org/policies, Creative Commons does not authorize the
use of the trademark "Creative Commons" or any other trademark or logo
of Creative Commons without its prior written consent including,
without limitation, in connection with any unauthorized modifications
to any of its public licenses or any other arrangements,
understandings, or agreements concerning use of licensed material. For
the avoidance of doubt, this paragraph does not form part of the
public licenses.
Creative Commons may be contacted at creativecommons.org.

65
README
View File

@ -1,61 +1,8 @@
This is what I consider to be a fairly feature-filled home decor
modpack. As such, it comes in multiple parts:
This is what I consider to be a fairly feature-filled home decor modpack.
See the forum thread at
https://forum.minetest.net/viewtopic.php?f=11&t=2041 for details about
this modpack.
* The actual homedecor mod, which supplies a bunch of stuff found in
most homes (like flower pots, home electronics, brass and wrought-iron
tables, and a bunch of other things).
Dependencies: unifieddyes and a Minetest engine build newer than 2017-01-23.
* A "3d extras" mod, which supplies things that re-define something in
some other mod (or in the default game) so that those objects become
fully 3d (instead of a flat cube), as well as things which are directly
related. This mod, for example, provides 3d bookshelves and their empty
and half-depth "open frame" counterparts.
* A signs library forked from the one that thexyz and PilzAdam first
made, which produces visible text on signs (and which has been extended
to put signs on fences, including the brass and wrought iron ones here
in homedecor).
* Sdzen's building_blocks mod, which is here to supply not only a few
blocks to build with, obviously, :-) but also to supply a number of
materials to craft other things in Homedecor with.
All items can be accessed either by crafting various other items
together, or with the usual /give commands. To get a list of the actual
node names, just go into the homedecor/ folder and run the listnodes.sh
Bash script. Note that a few of the listed nodes are kinda useless by
themselves (like the various parts of the folding doors).
All of the images used for the recipes in the forum post tracking this
mod are included in the crafting-guide/ folder.
Most stuff can be made from materials found through a game world. Some
stuff can only be crafted by using materials from another mod (look for
the orange highlights). Currently, this mod can use materials from
moreores, mesecons, wool, and unifieddyes if present. You can still use
the usual /give commands to get the items that depend on these mods if
you don't use them installed.
This mod is still a work-in-progress, but should be complete enough not
to irritate anyone. :-) Namely, many items can be used as fuel but the
burn times need tuning and I need to tune the cook time and fuel usage
on the four smelted items.
Much of the code (especially for the doors) plus the bucket were taken
from the files which come with Minetest and altered to suit. Many
thanks to Jeija for coming up with an elegant cylinder using nodeboxes;
see his 'irregular' mods). His code is used herein (you can guess where
:-) ).
Dependencies: none (just the game's default stuff)
Recommends: buckets, flowers, unifieddyes, junglegrass, moreores,
mesecons, wool
Skin credits:
Mammu by hansuke123
http://minetest.fensta.bplaced.net/#name=Mammu
BrightGirl by Malarif
http://minetest.fensta.bplaced.net/#name=BrightGirl
Recommends: signs_lib, windmill, moreblocks, unified_inventory.

61
building_blocks/alias.lua Normal file
View File

@ -0,0 +1,61 @@
local S = homedecor.gettext
if minetest.get_modpath("moreblocks") or minetest.get_modpath("stairs") then
minetest.register_alias("building_blocks:slab_tar", "stairs:slab_Tar")
minetest.register_alias("building_blocks:stair_tar", "stairs:stair_Tar")
minetest.register_alias("building_blocks:slab_marble", "stairs:slab_Marble")
minetest.register_alias("building_blocks:stair_marble", "stairs:stair_Marble")
end
if minetest.get_modpath("moreblocks") then
stairsplus:register_alias_all("building_blocks", "tar", "building_blocks", "Tar")
stairsplus:register_alias_all("building_blocks", "marble", "building_blocks", "Marble")
for _, i in ipairs(stairsplus.shapes_list) do
local class = i[1]
local cut = i[2]
minetest.unregister_item("moreblocks:"..class.."tar"..cut)
minetest.register_alias("moreblocks:"..class.."tar"..cut, "building_blocks:"..class.."tar"..cut)
end
minetest.unregister_item("moreblocks:tar")
minetest.register_alias("moreblocks:tar", "building_blocks:Tar")
stairsplus:register_alias_all("moreblocks", "tar", "building_blocks", "Tar")
if minetest.get_modpath("gloopblocks") then
minetest.register_alias("building_blocks:gravel_spread", "gloopblocks:slab_gravel_1")
end
end
minetest.register_alias("adobe", "building_blocks:Adobe")
minetest.register_alias("fakegrass", "building_blocks:fakegrass")
minetest.register_alias("hardwood", "building_blocks:hardwood")
minetest.register_alias("tar_knife", "building_blocks:knife")
minetest.register_alias("marble", "building_blocks:Marble")
minetest.register_alias("building_blocks_roofing", "building_blocks:Roofing")
minetest.register_alias("sticks", "building_blocks:sticks")
minetest.register_alias("building_blocks:faggot", "building_blocks:sticks")
minetest.register_alias("tar", "building_blocks:Tar")
if not minetest.get_modpath("technic") then
minetest.register_node( ":technic:granite", {
description = S("Granite"),
tiles = { "technic_granite.png" },
is_ground_content = true,
groups = {cracky=1},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_craft({
output = "technic:granite 9",
recipe = {
{ "group:tar_block", "group:marble", "group:tar_block" },
{ "group:marble", "group:tar_block", "group:marble" },
{ "group:tar_block", "group:marble", "group:tar_block" }
},
})
if minetest.get_modpath("moreblocks") then
stairsplus:register_all("technic", "granite", "technic:granite", {
description=S("Granite"),
groups={cracky=1, not_in_creative_inventory=1},
tiles={"technic_granite.png"},
})
end
end

View File

@ -1,2 +1,5 @@
default
moreblocks?
homedecor_common
moreblocks?
gloopblocks?
stairs?

View File

@ -1,616 +1,7 @@
minetest.register_node("building_blocks:Adobe", {
tiles = {"building_blocks_Adobe.png"},
description = "Adobe",
is_ground_content = true,
groups = {crumbly=3},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("building_blocks:Roofing", {
tiles = {"building_blocks_Roofing.png"},
is_ground_content = true,
description = "Roof block",
groups = {snappy=3},
})
minetest.register_craft({
output = 'building_blocks:terrycloth_towel 2',
recipe = {
{"farming:string", "farming:string", "farming:string"},
}
})
minetest.register_craft({
output = 'building_blocks:Tarmac_spread 4',
recipe = {
{"group:tar_block", "group:tar_block"},
}
})
minetest.register_craft({
output = 'building_blocks:gravel_spread 4',
recipe = {
{"default:gravel", "default:gravel", "default:gravel"},
}
})
minetest.register_craft({
output = 'building_blocks:brobble_spread 4',
recipe = {
{"default:brick", "default:cobble", "default:brick"},
}
})
minetest.register_craft({
output = 'building_blocks:Fireplace 1',
recipe = {
{"default:steel_ingot", "building_blocks:sticks", "default:steel_ingot"},
}
})
minetest.register_craft({
output = 'building_blocks:Adobe 3',
recipe = {
{"default:sand"},
{"default:clay"},
{"group:stick"},
}
})
local S = homedecor.gettext
local modpath = minetest.get_modpath("building_blocks")
minetest.register_craft({
output = 'building_blocks:Roofing 10',
recipe = {
{"building_blocks:Adobe", "building_blocks:Adobe"},
{"building_blocks:Adobe", "building_blocks:Adobe"},
}
})
minetest.register_craft({
output = 'building_blocks:BWtile 10',
recipe = {
{"group:marble", "group:tar_block"},
{"group:tar_block", "group:marble"},
}
})
minetest.register_craft({
output = 'building_blocks:grate 1',
recipe = {
{"default:steel_ingot", "default:steel_ingot"},
{"default:glass", "default:glass"},
}
})
minetest.register_craft({
output = 'building_blocks:woodglass 1',
recipe = {
{"default:wood"},
{"default:glass"},
}
})
minetest.register_craft({
output = 'building_blocks:hardwood 2',
recipe = {
{"default:wood", "default:junglewood"},
{"default:junglewood", "default:wood"},
}
})
minetest.register_craft({
output = 'building_blocks:hardwood 2',
recipe = {
{"default:junglewood", "default:wood"},
{"default:wood", "default:junglewood"},
}
})
if minetest.get_modpath("moreblocks") then
minetest.register_craft({
output = 'building_blocks:sticks 2',
recipe = {
{'group:stick', '' , 'group:stick'},
{'group:stick', 'group:stick', 'group:stick'},
{'group:stick', 'group:stick', 'group:stick'},
}
})
else
minetest.register_craft({
output = 'building_blocks:sticks',
recipe = {
{'group:stick', 'group:stick'},
{'group:stick', 'group:stick'},
}
})
end
minetest.register_craft({
output = 'default:stick 4',
recipe = {
{'building_blocks:sticks'},
}
})
minetest.register_craft({
output = 'building_blocks:fakegrass 2',
recipe = {
{'default:leaves'},
{"default:dirt"},
}
})
minetest.register_craft({
output = 'building_blocks:tar_base 2',
recipe = {
{"default:coal_lump", "default:gravel"},
{"default:gravel", "default:coal_lump"}
}
})
minetest.register_craft({
output = 'building_blocks:tar_base 2',
recipe = {
{"default:gravel", "default:coal_lump"},
{"default:coal_lump", "default:gravel"}
}
})
minetest.register_craft({
type = "cooking",
output = "building_blocks:smoothglass",
recipe = "default:glass"
})
minetest.register_node("building_blocks:smoothglass", {
drawtype = "glasslike",
description = "Streak Free Glass",
tiles = {"building_blocks_sglass.png"},
inventory_image = minetest.inventorycube("building_blocks_sglass.png"),
paramtype = "light",
sunlight_propagates = true,
is_ground_content = true,
groups = {snappy=3,cracky=3,oddly_breakable_by_hand=3},
sounds = default.node_sound_glass_defaults(),
})
minetest.register_node("building_blocks:grate", {
drawtype = "glasslike",
description = "Grate",
tiles = {"building_blocks_grate.png"},
inventory_image = minetest.inventorycube("building_blocks_grate.png"),
paramtype = "light",
sunlight_propagates = true,
is_ground_content = true,
groups = {cracky=1},
})
minetest.register_node("building_blocks:Fireplace", {
description = "Fireplace",
tiles = {
"building_blocks_cast_iron.png",
"building_blocks_cast_iron.png",
"building_blocks_cast_iron.png",
"building_blocks_cast_iron_fireplace.png"
},
paramtype = "light",
paramtype2 = "facedir",
light_source = default.LIGHT_MAX,
sunlight_propagates = true,
is_ground_content = true,
groups = {cracky=2},
})
minetest.register_node("building_blocks:woodglass", {
drawtype = "glasslike",
description = "Wood Framed Glass",
tiles = {"building_blocks_wglass.png"},
inventory_image = minetest.inventorycube("building_blocks_wglass.png"),
paramtype = "light",
sunlight_propagates = true,
is_ground_content = true,
groups = {snappy=3,cracky=3,oddly_breakable_by_hand=3},
sounds = default.node_sound_glass_defaults(),
})
minetest.register_node("building_blocks:terrycloth_towel", {
drawtype = "raillike",
description = "Terrycloth towel",
tiles = {"building_blocks_towel.png"},
inventory_image = "building_blocks_towel_inv.png",
paramtype = "light",
walkable = false,
selection_box = {
type = "fixed",
-- but how to specify the dimensions for curved and sideways rails?
fixed = {-1/2, -1/2, -1/2, 1/2, -1/2+1/16, 1/2},
},
sunlight_propagates = true,
is_ground_content = true,
groups = {crumbly=3},
})
minetest.register_node("building_blocks:Tarmac_spread", {
drawtype = "raillike",
description = "Tarmac Spread",
tiles = {"building_blocks_tar.png"},
inventory_image = "building_blocks_tar_spread_inv.png",
paramtype = "light",
walkable = false,
selection_box = {
type = "fixed",
-- but how to specify the dimensions for curved and sideways rails?
fixed = {-1/2, -1/2, -1/2, 1/2, -1/2+1/16, 1/2},
},
sunlight_propagates = true,
is_ground_content = true,
groups = {cracky=3},
sounds = default.node_sound_dirt_defaults(),
})
minetest.register_node("building_blocks:BWtile", {
drawtype = "raillike",
description = "Chess board tiling",
tiles = {"building_blocks_BWtile.png"},
inventory_image = "building_blocks_bwtile_inv.png",
paramtype = "light",
walkable = false,
selection_box = {
type = "fixed",
-- but how to specify the dimensions for curved and sideways rails?
fixed = {-1/2, -1/2, -1/2, 1/2, -1/2+1/16, 1/2},
},
sunlight_propagates = true,
is_ground_content = true,
groups = {crumbly=3},
})
minetest.register_node("building_blocks:brobble_spread", {
drawtype = "raillike",
description = "Brobble Spread",
tiles = {"building_blocks_brobble.png"},
inventory_image = "building_blocks_brobble_spread_inv.png",
paramtype = "light",
walkable = false,
selection_box = {
type = "fixed",
-- but how to specify the dimensions for curved and sideways rails?
fixed = {-1/2, -1/2, -1/2, 1/2, -1/2+1/16, 1/2},
},
sunlight_propagates = true,
is_ground_content = true,
groups = {crumbly=3},
})
minetest.register_node("building_blocks:gravel_spread", {
drawtype = "raillike",
description = "Gravel Spread",
tiles = {"default_gravel.png"},
inventory_image = "building_blocks_gravel_spread_inv.png",
paramtype = "light",
walkable = false,
selection_box = {
type = "fixed",
-- but how to specify the dimensions for curved and sideways rails?
fixed = {-1/2, -1/2, -1/2, 1/2, -1/2+1/16, 1/2},
},
sunlight_propagates = true,
is_ground_content = true,
groups = {crumbly=2},
sounds = default.node_sound_dirt_defaults({
footstep = {name="default_gravel_footstep", gain=0.5},
dug = {name="default_gravel_footstep", gain=1.0},
}),
})
minetest.register_node("building_blocks:hardwood", {
tiles = {"building_blocks_hardwood.png"},
is_ground_content = true,
description = "Hardwood",
groups = {choppy=1,flammable=1},
sounds = default.node_sound_wood_defaults(),
})
if minetest.get_modpath("moreblocks") then
stairsplus:register_all(
"building_blocks",
"marble",
"building_blocks:Marble",
{
description = "Marble",
tiles = {"building_blocks_marble.png"},
groups = {cracky=3},
sounds = default.node_sound_stone_defaults(),
}
)
stairsplus:register_all(
"building_blocks",
"hardwood",
"building_blocks:hardwood",
{
description = "Hardwood",
tiles = {"building_blocks_hardwood.png"},
groups = {choppy=1,flammable=1},
sounds = default.node_sound_wood_defaults(),
}
)
stairsplus:register_all(
"building_blocks",
"fakegrass",
"building_blocks:fakegrass",
{
description = "Grass",
tiles = {"default_grass.png"},
groups = {crumbly=3},
sounds = default.node_sound_dirt_defaults({
footstep = {name="default_grass_footstep", gain=0.4},
}),
}
)
stairsplus:register_all(
"building_blocks",
"tar",
"building_blocks:Tar",
{
description = "Tar",
tiles = {"building_blocks_tar.png"},
groups = {crumbly=1},
sounds = default.node_sound_stone_defaults(),
}
)
stairsplus:register_all(
"building_blocks",
"grate",
"building_blocks:grate",
{
description = "Grate",
tiles = {"building_blocks_grate.png"},
groups = {cracky=1},
sounds = default.node_sound_stone_defaults(),
}
)
stairsplus:register_all(
"building_blocks",
"Adobe",
"building_blocks:Adobe",
{
description = "Adobe",
tiles = {"building_blocks_Adobe.png"},
groups = {crumbly=3},
sounds = default.node_sound_stone_defaults(),
}
)
stairsplus:register_all(
"building_blocks",
"Roofing",
"building_blocks:Roofing",
{
description = "Roofing",
tiles = {"building_blocks_Roofing.png"},
groups = {snappy=3},
sounds = default.node_sound_stone_defaults(),
}
)
else
bb_stairs = {}
-- Node will be called stairs:stair_<subname>
function bb_stairs.register_stair(subname, recipeitem, groups, images, description)
minetest.register_node("building_blocks:stair_" .. subname, {
description = description,
drawtype = "nodebox",
tiles = images,
paramtype = "light",
paramtype2 = "facedir",
is_ground_content = true,
groups = groups,
node_box = {
type = "fixed",
fixed = {
{-0.5, -0.5, -0.5, 0.5, 0, 0.5},
{-0.5, 0, 0, 0.5, 0.5, 0.5},
},
},
})
minetest.register_craft({
output = 'building_blocks:stair_' .. subname .. ' 4',
recipe = {
{recipeitem, "", ""},
{recipeitem, recipeitem, ""},
{recipeitem, recipeitem, recipeitem},
},
})
-- Flipped recipe for the silly minecrafters
minetest.register_craft({
output = 'building_blocks:stair_' .. subname .. ' 4',
recipe = {
{"", "", recipeitem},
{"", recipeitem, recipeitem},
{recipeitem, recipeitem, recipeitem},
},
})
end
-- Node will be called stairs:slab_<subname>
function bb_stairs.register_slab(subname, recipeitem, groups, images, description)
minetest.register_node("building_blocks:slab_" .. subname, {
description = description,
drawtype = "nodebox",
tiles = images,
paramtype = "light",
is_ground_content = true,
groups = groups,
node_box = {
type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, 0, 0.5},
},
selection_box = {
type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, 0, 0.5},
},
})
minetest.register_craft({
output = 'building_blocks:slab_' .. subname .. ' 3',
recipe = {
{recipeitem, recipeitem, recipeitem},
},
})
end
-- Nodes will be called stairs:{stair,slab}_<subname>
function bb_stairs.register_stair_and_slab(subname, recipeitem, groups, images, desc_stair, desc_slab)
bb_stairs.register_stair(subname, recipeitem, groups, images, desc_stair)
bb_stairs.register_slab(subname, recipeitem, groups, images, desc_slab)
end
bb_stairs.register_stair_and_slab("marble","building_blocks:Marble",
{cracky=3},
{"building_blocks_marble.png"},
"Marble stair",
"Marble slab"
)
bb_stairs.register_stair_and_slab("hardwood","building_blocks:hardwood",
{choppy=1,flammable=1},
{"building_blocks_hardwood.png"},
"Hardwood stair",
"Hardwood slab"
)
bb_stairs.register_stair_and_slab("fakegrass","building_blocks:fakegrass",
{crumbly=3},
{"default_grass.png"},
"Grass stair",
"Grass slab"
)
bb_stairs.register_stair_and_slab("tar","building_blocks:Tar",
{crumbly=1},
{"building_blocks_tar.png"},
"Tar stair",
"Tar slab"
)
bb_stairs.register_stair_and_slab("grate","building_blocks:grate",
{cracky=1},
{"building_blocks_grate.png"},
"Grate Stair",
"Grate Slab"
)
bb_stairs.register_stair_and_slab("Adobe", "building_blocks:Adobe",
{crumbly=3},
{"building_blocks_Adobe.png"},
"Adobe stair",
"Adobe slab"
)
bb_stairs.register_stair_and_slab("Roofing", "building_blocks:Roofing",
{snappy=3},
{"building_blocks_Roofing.png"},
"Roofing stair",
"Roofing slab"
)
end
minetest.register_craft({
type = "fuel",
recipe = "building_blocks:hardwood",
burntime = 28,
})
minetest.register_node("building_blocks:fakegrass", {
tiles = {"default_grass.png", "default_dirt.png", "default_dirt.png^default_grass_side.png"},
description = "Fake Grass",
is_ground_content = true,
groups = {crumbly=3},
sounds = default.node_sound_dirt_defaults({
footstep = {name="default_grass_footstep", gain=0.4},
}),
})
minetest.register_craftitem("building_blocks:sticks", {
description = "Small bundle of sticks",
image = "building_blocks_sticks.png",
on_place_on_ground = minetest.craftitem_place_item,
})
minetest.register_craftitem("building_blocks:tar_base", {
description = "Tar base",
image = "building_blocks_tar_base.png",
})
--Tar
minetest.register_craft({
output = 'building_blocks:knife 1',
recipe = {
{"group:tar_block"},
{"group:stick"},
}
})
minetest.register_alias("tar", "building_blocks:Tar")
minetest.register_alias("fakegrass", "building_blocks:fakegrass")
minetest.register_alias("tar_knife", "building_blocks:knife")
minetest.register_alias("adobe", "building_blocks:Adobe")
minetest.register_alias("building_blocks_roofing", "building_blocks:Roofing")
minetest.register_alias("hardwood", "building_blocks:hardwood")
minetest.register_alias("sticks", "building_blocks:sticks")
minetest.register_alias("building_blocks:faggot", "building_blocks:sticks")
minetest.register_alias("marble", "building_blocks:Marble")
minetest.register_node("building_blocks:Tar", {
description = "Tar",
tiles = {"building_blocks_tar.png"},
is_ground_content = true,
groups = {crumbly=1, tar_block = 1},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("building_blocks:Marble", {
description = "Marble",
tiles = {"building_blocks_marble.png"},
is_ground_content = true,
groups = {cracky=3, marble = 1},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_craft({
type = "fuel",
recipe = "building_blocks:sticks",
burntime = 5,
})
minetest.register_craft({
type = "fuel",
recipe = "building_blocks:Tar",
burntime = 40,
})
minetest.register_craft({
type = "cooking",
output = "building_blocks:Tar",
recipe = "building_blocks:tar_base",
})
minetest.register_tool("building_blocks:knife", {
description = "Tar Knife",
inventory_image = "building_blocks_knife.png",
tool_capabilities = {
max_drop_level=0,
groupcaps={
choppy={times={[2]=7.50, [3]=2.80}, uses=100, maxlevel=1},
fleshy={times={[2]=5.50, [3]=2.80}, uses=100, maxlevel=1}
}
},
})
minetest.register_craft({
output = "building_blocks:Marble 9",
recipe = {
{"default:clay", "group:tar_block", "default:clay"},
{"group:tar_block","default:clay", "group:tar_block"},
{"default:clay", "group:tar_block","default:clay"},
}
})
if not minetest.get_modpath("technic") then
minetest.register_node( ":technic:granite", {
description = "Granite",
tiles = { "technic_granite.png" },
is_ground_content = true,
groups = {cracky=1},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_craft({
output = "technic:granite 9",
recipe = {
{ "group:tar_block", "group:marble", "group:tar_block" },
{ "group:marble", "group:tar_block", "group:marble" },
{ "group:tar_block", "group:marble", "group:tar_block" }
},
})
if minetest.get_modpath("moreblocks") then
stairsplus:register_all("technic", "granite", "technic:granite", {
description="Granite",
groups={cracky=1, not_in_creative_inventory=1},
tiles={"technic_granite.png"},
})
end
end
dofile(modpath.."/alias.lua")
dofile(modpath.."/node_stairs.lua")
dofile(modpath.."/others.lua")
dofile(modpath.."/recipes.lua")

View File

@ -0,0 +1,230 @@
local S = homedecor.gettext
local stairs_groups_names = {"cracky","choppy","flammable","crumbly","snappy"}
local function building_blocks_stairs(nodename, def)
minetest.register_node(nodename, def)
if minetest.get_modpath("moreblocks") or minetest.get_modpath("stairs") then
local mod, name = nodename:match("(.*):(.*)")
minetest.register_alias(mod .. ":slab_" .. name, "stairs:slab_" .. name)
minetest.register_alias(mod .. ":stair_" .. name, "stairs:stair_" .. name)
local stairs_groups = {}
for _, groupname in ipairs(stairs_groups_names) do
stairs_groups[groupname] = def.groups[groupname]
end
if minetest.get_modpath("moreblocks") then
stairsplus:register_all(
mod,
name,
nodename,
{
description = def.description,
tiles = def.tiles,
groups = stairs_groups,
sounds = def.sounds,
}
)
else
stairs.register_stair_and_slab(name,nodename,
stairs_groups,
def.tiles,
("%s Stair"):format(def.description),
("%s Slab"):format(def.description),
def.sounds
)
end
end
end
building_blocks_stairs("building_blocks:grate", {
drawtype = "glasslike",
description = S("Grate"),
tiles = {"building_blocks_grate.png"},
paramtype = "light",
sunlight_propagates = true,
is_ground_content = true,
groups = {cracky=1},
sounds = default.node_sound_metal_defaults(),
})
building_blocks_stairs("building_blocks:smoothglass", {
drawtype = "glasslike",
description = S("Streak Free Glass"),
tiles = {"building_blocks_sglass.png"},
paramtype = "light",
sunlight_propagates = true,
is_ground_content = true,
groups = {snappy=3,cracky=3,oddly_breakable_by_hand=3},
sounds = default.node_sound_glass_defaults(),
})
building_blocks_stairs("building_blocks:woodglass", {
drawtype = "glasslike",
description = S("Wood Framed Glass"),
tiles = {"building_blocks_wglass.png"},
paramtype = "light",
sunlight_propagates = true,
is_ground_content = true,
groups = {snappy=3,cracky=3,oddly_breakable_by_hand=3},
sounds = default.node_sound_glass_defaults(),
})
building_blocks_stairs("building_blocks:Adobe", {
tiles = {"building_blocks_Adobe.png"},
description = S("Adobe"),
is_ground_content = true,
groups = {crumbly=3},
sounds = default.node_sound_stone_defaults(),
})
building_blocks_stairs("building_blocks:fakegrass", {
tiles = {"default_grass.png", "default_dirt.png", "default_dirt.png^default_grass_side.png"},
description = S("Fake Grass"),
is_ground_content = true,
groups = {crumbly=3},
sounds = default.node_sound_dirt_defaults({
footstep = {name="default_grass_footstep", gain=0.4},
}),
})
building_blocks_stairs("building_blocks:hardwood", {
tiles = {"building_blocks_hardwood.png"},
is_ground_content = true,
description = S("Hardwood"),
groups = {choppy=1,flammable=1},
sounds = default.node_sound_wood_defaults(),
})
building_blocks_stairs("building_blocks:Roofing", {
tiles = {"building_blocks_Roofing.png"},
is_ground_content = true,
description = S("Roof block"),
groups = {snappy=3},
sounds = default.node_sound_stone_defaults(),
})
building_blocks_stairs("building_blocks:Tar", {
description = S("Tar"),
tiles = {"building_blocks_tar.png"},
is_ground_content = true,
groups = {crumbly=1, tar_block = 1},
sounds = default.node_sound_stone_defaults(),
})
building_blocks_stairs("building_blocks:Marble", {
description = S("Marble"),
tiles = {"building_blocks_marble.png"},
is_ground_content = true,
groups = {cracky=3, marble = 1},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("building_blocks:brobble_spread", {
drawtype = "raillike",
-- Translators: "Brobble" is a portmanteau of "Brick" and "Cobble".
-- Translate however you see fit.
description = S("Brobble Spread"),
tiles = {"building_blocks_brobble.png"},
inventory_image = "building_blocks_brobble_spread_inv.png",
paramtype = "light",
walkable = false,
selection_box = {
type = "fixed",
-- but how to specify the dimensions for curved and sideways rails?
fixed = {-1/2, -1/2, -1/2, 1/2, -1/2+1/16, 1/2},
},
sunlight_propagates = true,
is_ground_content = true,
groups = {crumbly=3},
})
if not minetest.get_modpath("moreblocks") or not minetest.get_modpath("gloopblocks") then
minetest.register_node("building_blocks:gravel_spread", {
drawtype = "raillike",
description = S("Gravel Spread"),
tiles = {"default_gravel.png"},
inventory_image = "building_blocks_gravel_spread_inv.png",
paramtype = "light",
walkable = false,
selection_box = {
type = "fixed",
-- but how to specify the dimensions for curved and sideways rails?
fixed = {-1/2, -1/2, -1/2, 1/2, -1/2+1/16, 1/2},
},
sunlight_propagates = true,
is_ground_content = true,
groups = {crumbly=2},
sounds = default.node_sound_dirt_defaults({
footstep = {name="default_gravel_footstep", gain=0.5},
dug = {name="default_gravel_footstep", gain=1.0},
}),
})
end
minetest.register_node("building_blocks:Tarmac_spread", {
drawtype = "raillike",
description = S("Tarmac Spread"),
tiles = {"building_blocks_tar.png"},
inventory_image = "building_blocks_tar_spread_inv.png",
paramtype = "light",
walkable = false,
selection_box = {
type = "fixed",
-- but how to specify the dimensions for curved and sideways rails?
fixed = {-1/2, -1/2, -1/2, 1/2, -1/2+1/16, 1/2},
},
sunlight_propagates = true,
is_ground_content = true,
groups = {cracky=3},
sounds = default.node_sound_dirt_defaults(),
})
minetest.register_node("building_blocks:terrycloth_towel", {
drawtype = "raillike",
description = S("Terrycloth towel"),
tiles = {"building_blocks_towel.png"},
inventory_image = "building_blocks_towel_inv.png",
paramtype = "light",
walkable = false,
selection_box = {
type = "fixed",
-- but how to specify the dimensions for curved and sideways rails?
fixed = {-1/2, -1/2, -1/2, 1/2, -1/2+1/16, 1/2},
},
sunlight_propagates = true,
is_ground_content = true,
groups = {crumbly=3},
})
minetest.register_node("building_blocks:BWtile", {
drawtype = "nodebox",
description = S("Chess board tiling"),
tiles = {
"building_blocks_BWtile.png",
"building_blocks_BWtile.png^[transformR90",
"building_blocks_BWtile.png^[transformR90",
"building_blocks_BWtile.png^[transformR90",
"building_blocks_BWtile.png",
"building_blocks_BWtile.png"
},
inventory_image = "building_blocks_bwtile_inv.png",
paramtype = "light",
walkable = false,
node_box = {
type = "fixed",
fixed = {-1/2, -1/2, -1/2, 1/2, -1/2+1/16, 1/2},
},
sunlight_propagates = true,
is_ground_content = true,
groups = {crumbly=3},
})
minetest.register_node("building_blocks:Fireplace", {
description = S("Fireplace"),
tiles = {
"building_blocks_cast_iron.png",
"building_blocks_cast_iron.png",
"building_blocks_cast_iron.png",
"building_blocks_cast_iron_fireplace.png"
},
paramtype = "light",
paramtype2 = "facedir",
light_source = default.LIGHT_MAX,
sunlight_propagates = true,
is_ground_content = true,
groups = {cracky=2},
sounds = default.node_sound_stone_defaults(),
})

View File

@ -0,0 +1,23 @@
local S = homedecor.gettext
minetest.register_craftitem("building_blocks:sticks", {
description = S("Small bundle of sticks"),
image = "building_blocks_sticks.png",
on_place_on_ground = minetest.craftitem_place_item,
})
minetest.register_craftitem("building_blocks:tar_base", {
description = S("Tar base"),
image = "building_blocks_tar_base.png",
})
minetest.register_tool("building_blocks:knife", {
description = S("Tar Knife"),
inventory_image = "building_blocks_knife.png",
tool_capabilities = {
max_drop_level=0,
groupcaps={
choppy={times={[2]=7.50, [3]=2.80}, uses=100, maxlevel=1},
fleshy={times={[2]=5.50, [3]=2.80}, uses=100, maxlevel=1}
}
},
})

174
building_blocks/recipes.lua Normal file
View File

@ -0,0 +1,174 @@
local S = homedecor.gettext
if minetest.get_modpath("moreblocks") then
minetest.register_craft({
output = 'building_blocks:sticks 2',
recipe = {
{'group:stick', '' , 'group:stick'},
{'group:stick', 'group:stick', 'group:stick'},
{'group:stick', 'group:stick', 'group:stick'},
}
})
else
minetest.register_craft({
output = 'building_blocks:sticks',
recipe = {
{'group:stick', 'group:stick'},
{'group:stick', 'group:stick'},
}
})
end
minetest.register_craft({
output = 'building_blocks:Adobe 3',
recipe = {
{"default:sand"},
{"default:clay"},
{"group:stick"},
}
})
minetest.register_craft({
output = 'building_blocks:brobble_spread 4',
recipe = {
{"default:brick", "default:cobble", "default:brick"},
}
})
minetest.register_craft({
output = 'building_blocks:BWtile 10',
recipe = {
{"group:marble", "group:tar_block"},
{"group:tar_block", "group:marble"},
}
})
minetest.register_craft({
output = 'building_blocks:fakegrass 2',
recipe = {
{'default:leaves'},
{"default:dirt"},
}
})
minetest.register_craft({
output = 'building_blocks:Fireplace 1',
recipe = {
{"default:steel_ingot", "building_blocks:sticks", "default:steel_ingot"},
}
})
minetest.register_craft({
output = 'building_blocks:grate 1',
recipe = {
{"default:steel_ingot", "default:steel_ingot"},
{"default:glass", "default:glass"},
}
})
if not minetest.get_modpath("moreblocks") or not minetest.get_modpath("gloopblocks") then
minetest.register_craft({
output = 'building_blocks:gravel_spread 4',
recipe = {
{"default:gravel", "default:gravel", "default:gravel"},
}
})
end
minetest.register_craft({
output = 'building_blocks:hardwood 2',
recipe = {
{"default:wood", "default:junglewood"},
{"default:junglewood", "default:wood"},
}
})
minetest.register_craft({
output = 'building_blocks:hardwood 2',
recipe = {
{"default:junglewood", "default:wood"},
{"default:wood", "default:junglewood"},
}
})
minetest.register_craft({
output = 'building_blocks:knife 1',
recipe = {
{"group:tar_block"},
{"group:stick"},
}
})
minetest.register_craft({
output = "building_blocks:Marble 9",
recipe = {
{"default:clay", "group:tar_block", "default:clay"},
{"group:tar_block","default:clay", "group:tar_block"},
{"default:clay", "group:tar_block","default:clay"},
}
})
minetest.register_craft({
output = 'building_blocks:Roofing 10',
recipe = {
{"building_blocks:Adobe", "building_blocks:Adobe"},
{"building_blocks:Adobe", "building_blocks:Adobe"},
}
})
minetest.register_craft({
output = 'default:stick 4',
recipe = {
{'building_blocks:sticks'},
}
})
minetest.register_craft({
output = 'building_blocks:tar_base 4',
recipe = {
{"default:coal_lump", "default:gravel"},
{"default:gravel", "default:coal_lump"}
}
})
minetest.register_craft({
output = 'building_blocks:tar_base 4',
recipe = {
{"default:gravel", "default:coal_lump"},
{"default:coal_lump", "default:gravel"}
}
})
minetest.register_craft({
output = 'building_blocks:Tarmac_spread 4',
recipe = {
{"group:tar_block", "group:tar_block"},
}
})
minetest.register_craft({
output = 'building_blocks:terrycloth_towel 2',
recipe = {
{"farming:string", "farming:string", "farming:string"},
}
})
minetest.register_craft({
output = 'building_blocks:woodglass 1',
recipe = {
{"default:wood"},
{"default:glass"},
}
})
minetest.register_craft({
type = "cooking",
output = "building_blocks:smoothglass",
recipe = "default:glass"
})
minetest.register_craft({
type = "cooking",
output = "building_blocks:Tar",
recipe = "building_blocks:tar_base",
})
minetest.register_craft({
type = "fuel",
recipe = "building_blocks:hardwood",
burntime = 28,
})
minetest.register_craft({
type = "fuel",
recipe = "building_blocks:sticks",
burntime = 5,
})
minetest.register_craft({
type = "fuel",
recipe = "building_blocks:Tar",
burntime = 40,
})

Binary file not shown.

Before

Width:  |  Height:  |  Size: 499 B

After

Width:  |  Height:  |  Size: 450 B

View File

@ -1 +0,0 @@
default

View File

@ -1,178 +0,0 @@
local chains_sbox = {
type = "fixed",
fixed = { -0.1, -0.625, -0.1, 0.1, 0.5, 0.1 }
}
local topchains_sbox = {
type = "fixed",
fixed = {
{ -0.25, 0.35, -0.25, 0.25, 0.5, 0.25 },
{ -0.1, -0.625, -0.1, 0.1, 0.4, 0.1 }
}
}
minetest.register_node("chains:chain", {
description = "Hanging chain (wrought iron)",
drawtype = "mesh",
mesh = "chains.obj",
tiles = {"chains_wrought_iron.png"},
walkable = false,
climbable = true,
sunlight_propagates = true,
paramtype = "light",
inventory_image = "chain_wrought_iron_inv.png",
groups = {cracky=3},
selection_box = chains_sbox,
})
minetest.register_node("chains:chain_brass", {
description = "Hanging chain (brass)",
drawtype = "mesh",
mesh = "chains.obj",
tiles = {"chains_brass.png"},
walkable = false,
climbable = true,
sunlight_propagates = true,
paramtype = "light",
inventory_image = "chain_brass_inv.png",
groups = {cracky=3},
selection_box = chains_sbox,
})
minetest.register_node("chains:chain_top", {
description = "Hanging chain (ceiling mount, wrought iron)",
drawtype = "mesh",
mesh = "top_chains.obj",
tiles = {"chains_wrought_iron.png"},
walkable = false,
climbable = true,
sunlight_propagates = true,
paramtype = "light",
inventory_image = "top_chain_wrought_iron_inv.png",
groups = {cracky=3},
selection_box = topchains_sbox,
})
minetest.register_node("chains:chain_top_brass", {
description = "Hanging chain (ceiling mount, brass)",
drawtype = "mesh",
mesh = "top_chains.obj",
tiles = {"chains_brass.png"},
walkable = false,
climbable = true,
sunlight_propagates = true,
paramtype = "light",
inventory_image = "top_chain_brass_inv.png",
groups = {cracky=3},
selection_box = topchains_sbox,
})
minetest.register_node("chains:chandelier", {
description = "Chandelier (wrought iron)",
paramtype = "light",
light_source = default.LIGHT_MAX-2,
walkable = false,
climbable = true,
sunlight_propagates = true,
paramtype = "light",
tiles = {
"chains_wrought_iron.png",
"chains_candle.png",
{
name="chains_candle_flame.png",
animation={
type="vertical_frames",
aspect_w=16,
aspect_h=16,
length=3.0
}
}
},
drawtype = "mesh",
mesh = "chains_chandelier.obj",
groups = {cracky=3},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("chains:chandelier_brass", {
description = "Chandelier (brass)",
paramtype = "light",
light_source = default.LIGHT_MAX-2,
walkable = false,
climbable = true,
sunlight_propagates = true,
paramtype = "light",
tiles = {
"chains_brass.png",
"chains_candle.png",
{
name="chains_candle_flame.png",
animation={
type="vertical_frames",
aspect_w=16,
aspect_h=16,
length=3.0
}
}
},
drawtype = "mesh",
mesh = "chains_chandelier.obj",
groups = {cracky=3},
sounds = default.node_sound_stone_defaults(),
})
-- crafts
minetest.register_craft({
output = 'chains:chain 2',
recipe = {
{'glooptest:chainlink'},
{'glooptest:chainlink'},
{'glooptest:chainlink'},
}
})
minetest.register_craft({
output = 'chains:chain_top',
recipe = {
{'default:steel_ingot'},
{'glooptest:chainlink'},
},
})
minetest.register_craft({
output = 'chains:chandelier',
recipe = {
{'', 'glooptest:chainlink', ''},
{'default:torch', 'glooptest:chainlink', 'default:torch'},
{'default:steel_ingot', 'default:steel_ingot', 'default:steel_ingot'},
}
})
-- brass versions
minetest.register_craft({
output = 'chains:chain_brass 2',
recipe = {
{'homedecor:chainlink_brass'},
{'homedecor:chainlink_brass'},
{'homedecor:chainlink_brass'},
}
})
minetest.register_craft({
output = 'chains:chain_top_brass',
recipe = {
{'technic:brass_ingot'},
{'homedecor:chainlink_brass'},
},
})
minetest.register_craft({
output = 'chains:chandelier_brass',
recipe = {
{'', 'homedecor:chainlink_brass', ''},
{'default:torch', 'homedecor:chainlink_brass', 'default:torch'},
{'technic:brass_ingot', 'technic:brass_ingot', 'technic:brass_ingot'},
}
})

View File

@ -1,881 +0,0 @@
# Blender v2.73 (sub 0) OBJ File: 'chains.blend'
# www.blender.org
o Torus.016_Torus
v 0.000000 -0.429978 0.000002
v 0.000000 -0.401109 0.055211
v -0.014044 -0.391975 0.048870
v -0.014044 -0.423304 0.000002
v -0.009826 -0.379748 0.040970
v -0.009826 -0.406012 0.000002
v 0.009826 -0.379748 0.040970
v 0.009826 -0.406012 0.000002
v 0.014044 -0.391975 0.048870
v 0.014044 -0.423304 0.000002
v 0.000000 -0.316336 0.080195
v -0.014044 -0.316336 0.069112
v -0.009826 -0.316336 0.057941
v 0.009826 -0.316336 0.057941
v 0.014044 -0.316336 0.069112
v 0.000000 -0.231564 0.055211
v -0.014044 -0.240700 0.048870
v -0.009826 -0.252925 0.040970
v 0.009826 -0.252925 0.040970
v 0.014044 -0.240700 0.048870
v 0.000000 -0.202695 0.000002
v -0.014044 -0.209368 0.000002
v -0.009826 -0.226661 0.000002
v 0.009826 -0.226661 0.000002
v 0.014044 -0.209368 0.000002
v 0.000000 -0.231564 -0.055206
v -0.014044 -0.240700 -0.048868
v -0.009826 -0.252925 -0.040967
v 0.009826 -0.252925 -0.040967
v 0.014044 -0.240700 -0.048865
v 0.000000 -0.316336 -0.080190
v -0.014044 -0.316336 -0.069108
v -0.009826 -0.316336 -0.057936
v 0.009826 -0.316336 -0.057936
v 0.014044 -0.316336 -0.069108
v 0.000000 -0.400361 -0.055206
v -0.014044 -0.391975 -0.048868
v -0.009826 -0.379748 -0.040967
v 0.009826 -0.379748 -0.040967
v 0.014044 -0.391975 -0.048868
v 0.000000 -0.262249 0.000002
v -0.061672 -0.233381 0.000002
v -0.054590 -0.224245 -0.012569
v 0.000000 -0.255577 -0.012569
v -0.045765 -0.212018 -0.008794
v 0.000000 -0.238285 -0.008794
v -0.045765 -0.212018 0.008798
v 0.000000 -0.238285 0.008798
v -0.054590 -0.224245 0.012574
v 0.000000 -0.255577 0.012574
v -0.089582 -0.148609 0.000002
v -0.077200 -0.148609 -0.012569
v -0.064722 -0.148609 -0.008794
v -0.064722 -0.148609 0.008799
v -0.077200 -0.148609 0.012574
v -0.061672 -0.063837 0.000002
v -0.054590 -0.072971 -0.012569
v -0.045765 -0.085198 -0.008794
v -0.045765 -0.085198 0.008799
v -0.054590 -0.072971 0.012574
v 0.000000 -0.034967 0.000002
v 0.000000 -0.041641 -0.012569
v 0.000000 -0.058933 -0.008794
v 0.000000 -0.058933 0.008799
v 0.000000 -0.041641 0.012574
v 0.061672 -0.063837 0.000002
v 0.054590 -0.072971 -0.012569
v 0.045765 -0.085198 -0.008794
v 0.045765 -0.085198 0.008799
v 0.054590 -0.072971 0.012574
v 0.089582 -0.148609 0.000002
v 0.077200 -0.148609 -0.012569
v 0.064722 -0.148609 -0.008794
v 0.064722 -0.148609 0.008799
v 0.077200 -0.148609 0.012574
v 0.061672 -0.232631 0.000002
v 0.054590 -0.224245 -0.012569
v 0.045765 -0.212018 -0.008794
v 0.045765 -0.212018 0.008798
v 0.054590 -0.224245 0.012574
v 0.000000 0.073316 0.000002
v 0.061672 0.102183 0.000002
v 0.054590 0.111319 0.012574
v 0.000000 0.079988 0.012574
v 0.045765 0.123546 0.008799
v 0.000000 0.097280 0.008799
v 0.045765 0.123546 -0.008794
v 0.000000 0.097280 -0.008794
v 0.054590 0.111319 -0.012569
v 0.000000 0.079988 -0.012569
v 0.089582 0.186956 0.000002
v 0.077200 0.186956 0.012574
v 0.064722 0.186956 0.008799
v 0.064722 0.186956 -0.008794
v 0.077200 0.186956 -0.012569
v 0.061672 0.271728 0.000002
v 0.054590 0.262594 0.012574
v 0.045765 0.250367 0.008799
v 0.045765 0.250367 -0.008794
v 0.054590 0.262594 -0.012569
v 0.000000 0.300597 0.000002
v 0.000000 0.293923 0.012574
v 0.000000 0.276631 0.008799
v 0.000000 0.276631 -0.008794
v 0.000000 0.293923 -0.012569
v -0.061672 0.271728 0.000002
v -0.054590 0.262594 0.012574
v -0.045765 0.250367 0.008799
v -0.045765 0.250367 -0.008794
v -0.054590 0.262594 -0.012569
v -0.089582 0.186956 0.000002
v -0.077200 0.186956 0.012574
v -0.064722 0.186956 0.008799
v -0.064722 0.186956 -0.008794
v -0.077200 0.186956 -0.012569
v -0.061672 0.102931 0.000002
v -0.054590 0.111319 0.012574
v -0.045765 0.123546 0.008799
v -0.045765 0.123546 -0.008794
v -0.054590 0.111319 -0.012569
v 0.000000 -0.095037 0.000002
v 0.000000 -0.066168 -0.055206
v 0.014044 -0.057034 -0.048868
v 0.014044 -0.088363 0.000002
v 0.009826 -0.044807 -0.040967
v 0.009826 -0.071071 0.000002
v -0.009826 -0.044807 -0.040967
v -0.009826 -0.071071 0.000002
v -0.014044 -0.057034 -0.048868
v -0.014044 -0.088363 0.000002
v 0.000000 0.018605 -0.080190
v 0.014044 0.018605 -0.069108
v 0.009826 0.018605 -0.057936
v -0.009826 0.018605 -0.057936
v -0.014044 0.018605 -0.069108
v 0.000000 0.103377 -0.055206
v 0.014044 0.094243 -0.048868
v 0.009826 0.082016 -0.040967
v -0.009826 0.082016 -0.040967
v -0.014044 0.094243 -0.048868
v 0.000000 0.132246 0.000002
v 0.014044 0.125572 0.000002
v 0.009826 0.108280 0.000002
v -0.009826 0.108280 0.000002
v -0.014044 0.125572 0.000002
v 0.000000 0.103377 0.055211
v 0.014044 0.094243 0.048870
v 0.009826 0.082016 0.040970
v -0.009826 0.082016 0.040970
v -0.014044 0.094243 0.048870
v 0.000000 0.018605 0.080195
v 0.014044 0.018605 0.069112
v 0.009826 0.018605 0.057941
v -0.009826 0.018605 0.057941
v -0.014044 0.018605 0.069112
v 0.000000 -0.065420 0.055211
v 0.014044 -0.057032 0.048870
v 0.009826 -0.044807 0.040970
v -0.009826 -0.044807 0.040970
v -0.014044 -0.057032 0.048870
v 0.000000 -0.598329 0.000002
v 0.061672 -0.569460 0.000002
v 0.054590 -0.560326 0.012574
v 0.000000 -0.591655 0.012574
v 0.045765 -0.548099 0.008798
v 0.000000 -0.574363 0.008798
v 0.045765 -0.548099 -0.008794
v 0.000000 -0.574363 -0.008794
v 0.054590 -0.560326 -0.012569
v 0.000000 -0.591655 -0.012569
v 0.089582 -0.484687 0.000002
v 0.077200 -0.484687 0.012574
v 0.064722 -0.484687 0.008798
v 0.064722 -0.484687 -0.008794
v 0.077200 -0.484687 -0.012569
v 0.061672 -0.399915 0.000002
v 0.054590 -0.409051 0.012574
v 0.045765 -0.421278 0.008798
v 0.045765 -0.421278 -0.008794
v 0.054590 -0.409051 -0.012569
v 0.000000 -0.371048 0.000002
v 0.000000 -0.377719 0.012574
v 0.000000 -0.395012 0.008798
v 0.000000 -0.395012 -0.008794
v 0.000000 -0.377719 -0.012569
v -0.061672 -0.399915 0.000002
v -0.054590 -0.409051 0.012574
v -0.045765 -0.421278 0.008798
v -0.045765 -0.421278 -0.008794
v -0.054590 -0.409051 -0.012569
v -0.089582 -0.484687 0.000002
v -0.077200 -0.484687 0.012574
v -0.064722 -0.484687 0.008798
v -0.064722 -0.484687 -0.008794
v -0.077200 -0.484687 -0.012569
v -0.061672 -0.568712 0.000002
v -0.054590 -0.560326 0.012574
v -0.045765 -0.548099 0.008798
v -0.045765 -0.548099 -0.008794
v -0.054590 -0.560326 -0.012569
v 0.000000 0.241043 0.000002
v 0.000000 0.269910 0.055211
v -0.014044 0.279047 0.048870
v -0.014044 0.247717 0.000002
v -0.009826 0.291274 0.040970
v -0.009826 0.265007 0.000002
v 0.009826 0.291274 0.040970
v 0.009826 0.265007 0.000002
v 0.014044 0.279047 0.048870
v 0.014044 0.247717 0.000002
v 0.000000 0.354683 0.080195
v -0.014044 0.354683 0.069112
v -0.009826 0.354683 0.057941
v 0.009826 0.354683 0.057941
v 0.014044 0.354683 0.069112
v 0.000000 0.439455 0.055211
v -0.014044 0.430321 0.048870
v -0.009826 0.418094 0.040970
v 0.009826 0.418094 0.040970
v 0.014044 0.430321 0.048870
v 0.000000 0.468325 0.000002
v -0.014044 0.461651 0.000002
v -0.009826 0.444361 0.000002
v 0.009826 0.444361 0.000002
v 0.014044 0.461651 0.000002
v 0.000000 0.439455 -0.055206
v -0.014044 0.430321 -0.048868
v -0.009826 0.418094 -0.040967
v 0.009826 0.418094 -0.040967
v 0.014044 0.430321 -0.048868
v 0.000000 0.354683 -0.080190
v -0.014044 0.354683 -0.069108
v -0.009826 0.354683 -0.057936
v 0.009826 0.354683 -0.057936
v 0.014044 0.354683 -0.069108
v 0.000000 0.270661 -0.055206
v -0.014044 0.279047 -0.048868
v -0.009826 0.291274 -0.040967
v 0.009826 0.291274 -0.040967
v 0.014044 0.279047 -0.048868
vt 0.187500 0.125000
vt 0.250000 0.125000
vt 0.250000 0.187500
vt 0.187500 0.187500
vt 0.250000 0.250000
vt 0.187500 0.250000
vt 0.250000 0.312500
vt 0.187500 0.312500
vt 0.250000 0.375000
vt 0.187500 0.375000
vt 0.187500 0.062500
vt 0.250000 0.062500
vt 0.312500 0.125000
vt 0.312500 0.187500
vt 0.312500 0.250000
vt 0.312500 0.312500
vt 0.312500 0.375000
vt 0.312500 0.062500
vt 0.375000 0.125000
vt 0.375000 0.187500
vt 0.375000 0.250000
vt 0.375000 0.312500
vt 0.375000 0.375000
vt 0.375000 0.062500
vt 0.437500 0.125000
vt 0.437500 0.187500
vt 0.437500 0.250000
vt 0.437500 0.312500
vt 0.437500 0.375000
vt 0.437500 0.062500
vt 0.500000 0.125000
vt 0.500000 0.187500
vt 0.500000 0.250000
vt 0.500000 0.312500
vt 0.500000 0.375000
vt 0.500000 0.062500
vt -0.000000 0.125000
vt 0.062500 0.125000
vt 0.062500 0.187500
vt -0.000000 0.187500
vt 0.062500 0.250000
vt -0.000000 0.250000
vt 0.062500 0.312500
vt -0.000000 0.312500
vt 0.062500 0.375000
vt -0.000000 0.375000
vt -0.000000 0.062500
vt 0.062500 0.062500
vt 0.125000 0.125000
vt 0.125000 0.187500
vt 0.125000 0.250000
vt 0.125000 0.312500
vt 0.125000 0.375000
vt 0.125000 0.062500
vt 0.750000 0.625000
vt 0.812500 0.625000
vt 0.812500 0.687500
vt 0.750000 0.687500
vt 0.750000 0.375000
vt 0.812500 0.375000
vt 0.812500 0.437500
vt 0.750000 0.437500
vt 0.812500 0.500000
vt 0.750000 0.500000
vt 0.812500 0.562500
vt 0.750000 0.562500
vt 0.875000 0.625000
vt 0.875000 0.687500
vt 0.875000 0.375000
vt 0.875000 0.437500
vt 0.875000 0.500000
vt 0.875000 0.562500
vt 0.937500 0.625000
vt 0.937500 0.687500
vt 0.937500 0.375000
vt 0.937500 0.437500
vt 0.937500 0.500000
vt 0.937500 0.562500
vt 1.000000 0.625000
vt 1.000000 0.687500
vt 1.000000 0.375000
vt 1.000000 0.437500
vt 1.000000 0.500000
vt 1.000000 0.562500
vt 0.500000 0.625000
vt 0.562500 0.625000
vt 0.562500 0.687500
vt 0.500000 0.687500
vt 0.562500 0.375000
vt 0.562500 0.437500
vt 0.500000 0.437500
vt 0.562500 0.500000
vt 0.500000 0.500000
vt 0.562500 0.562500
vt 0.500000 0.562500
vt 0.625000 0.625000
vt 0.625000 0.687500
vt 0.625000 0.375000
vt 0.625000 0.437500
vt 0.625000 0.500000
vt 0.625000 0.562500
vt 0.687500 0.625000
vt 0.687500 0.687500
vt 0.687500 0.375000
vt 0.687500 0.437500
vt 0.687500 0.500000
vt 0.687500 0.562500
vt 0.250000 0.625000
vt 0.312500 0.625000
vt 0.312500 0.687500
vt 0.250000 0.687500
vt 0.312500 0.437500
vt 0.250000 0.437500
vt 0.312500 0.500000
vt 0.250000 0.500000
vt 0.312500 0.562500
vt 0.250000 0.562500
vt 0.375000 0.625000
vt 0.375000 0.687500
vt 0.375000 0.437500
vt 0.375000 0.500000
vt 0.375000 0.562500
vt 0.437500 0.625000
vt 0.437500 0.687500
vt 0.437500 0.437500
vt 0.437500 0.500000
vt 0.437500 0.562500
vt -0.000000 0.625000
vt 0.062500 0.625000
vt 0.062500 0.687500
vt -0.000000 0.687500
vt 0.062500 0.437500
vt -0.000000 0.437500
vt 0.062500 0.500000
vt -0.000000 0.500000
vt 0.062500 0.562500
vt -0.000000 0.562500
vt 0.125000 0.625000
vt 0.125000 0.687500
vt 0.125000 0.437500
vt 0.125000 0.500000
vt 0.125000 0.562500
vt 0.187500 0.625000
vt 0.187500 0.687500
vt 0.187500 0.437500
vt 0.187500 0.500000
vt 0.187500 0.562500
vt 0.687500 0.750000
vt 0.750000 0.750000
vt 0.750000 0.812500
vt 0.687500 0.812500
vt 0.750000 0.875000
vt 0.687500 0.875000
vt 0.750000 0.937500
vt 0.687500 0.937500
vt 0.750000 1.000000
vt 0.687500 1.000000
vt 0.812500 0.750000
vt 0.812500 0.812500
vt 0.812500 0.875000
vt 0.812500 0.937500
vt 0.812500 1.000000
vt 0.875000 0.750000
vt 0.875000 0.812500
vt 0.875000 0.875000
vt 0.875000 0.937500
vt 0.875000 1.000000
vt 0.937500 0.750000
vt 0.937500 0.812500
vt 0.937500 0.875000
vt 0.937500 0.937500
vt 0.937500 1.000000
vt 1.000000 0.750000
vt 1.000000 0.812500
vt 1.000000 0.875000
vt 1.000000 0.937500
vt 1.000000 1.000000
vt 0.500000 0.750000
vt 0.562500 0.750000
vt 0.562500 0.812500
vt 0.500000 0.812500
vt 0.562500 0.875000
vt 0.500000 0.875000
vt 0.562500 0.937500
vt 0.500000 0.937500
vt 0.562500 1.000000
vt 0.500000 1.000000
vt 0.625000 0.750000
vt 0.625000 0.812500
vt 0.625000 0.875000
vt 0.625000 0.937500
vt 0.625000 1.000000
vt 0.750000 0.312500
vt 0.812500 0.312500
vt 0.750000 0.062500
vt 0.812500 0.062500
vt 0.812500 0.125000
vt 0.750000 0.125000
vt 0.812500 0.187500
vt 0.750000 0.187500
vt 0.812500 0.250000
vt 0.750000 0.250000
vt 0.875000 0.312500
vt 0.875000 0.062500
vt 0.875000 0.125000
vt 0.875000 0.187500
vt 0.875000 0.250000
vt 0.937500 0.312500
vt 0.937500 0.062500
vt 0.937500 0.125000
vt 0.937500 0.187500
vt 0.937500 0.250000
vt 1.000000 0.312500
vt 1.000000 0.062500
vt 1.000000 0.125000
vt 1.000000 0.187500
vt 1.000000 0.250000
vt 0.562500 0.312500
vt 0.562500 0.062500
vt 0.562500 0.125000
vt 0.562500 0.187500
vt 0.562500 0.250000
vt 0.625000 0.312500
vt 0.625000 0.062500
vt 0.625000 0.125000
vt 0.625000 0.187500
vt 0.625000 0.250000
vt 0.687500 0.312500
vt 0.687500 0.062500
vt 0.687500 0.125000
vt 0.687500 0.187500
vt 0.687500 0.250000
vt 0.250000 0.937500
vt 0.312500 0.937500
vt 0.312500 1.000000
vt 0.250000 1.000000
vt 0.312500 0.750000
vt 0.250000 0.750000
vt 0.312500 0.812500
vt 0.250000 0.812500
vt 0.312500 0.875000
vt 0.250000 0.875000
vt 0.375000 0.937500
vt 0.375000 1.000000
vt 0.375000 0.750000
vt 0.375000 0.812500
vt 0.375000 0.875000
vt 0.437500 0.937500
vt 0.437500 1.000000
vt 0.437500 0.750000
vt 0.437500 0.812500
vt 0.437500 0.875000
vt 0.000000 0.937500
vt 0.062500 0.937500
vt 0.062500 1.000000
vt 0.000000 1.000000
vt 0.062500 0.750000
vt 0.000000 0.750000
vt 0.062500 0.812500
vt 0.000000 0.812500
vt 0.062500 0.875000
vt 0.000000 0.875000
vt 0.125000 0.937500
vt 0.125000 1.000000
vt 0.125000 0.750000
vt 0.125000 0.812500
vt 0.125000 0.875000
vt 0.187500 0.937500
vt 0.187500 1.000000
vt 0.187500 0.750000
vt 0.187500 0.812500
vt 0.187500 0.875000
vn 0.000000 -1.000000 -0.004800
vn 0.000000 -0.657400 0.753500
vn -0.898300 -0.248500 0.362300
vn -0.863600 -0.504100 -0.003400
vn -0.661500 0.421500 -0.620200
vn -0.746000 0.665900 0.000000
vn 0.661500 0.421500 -0.620200
vn 0.746000 0.665900 0.000000
vn 0.898300 -0.248500 0.362300
vn 0.863600 -0.504100 -0.003400
vn 0.000000 0.000000 1.000000
vn -0.925200 0.000000 0.379500
vn -0.617100 0.000000 -0.786900
vn 0.617100 0.000000 -0.786900
vn 0.925200 0.000000 0.379500
vn 0.000000 0.657400 0.753500
vn -0.898300 0.248400 0.362300
vn -0.661500 -0.421500 -0.620200
vn 0.661500 -0.421500 -0.620200
vn 0.898300 0.248400 0.362300
vn 0.000000 1.000000 0.000000
vn -0.866100 0.499800 0.000000
vn -0.746000 -0.665900 0.000000
vn 0.746000 -0.665900 0.000000
vn 0.866100 0.499800 0.000000
vn 0.000000 0.657400 -0.753500
vn -0.898300 0.248400 -0.362400
vn -0.661600 -0.421500 0.620200
vn 0.661500 -0.421500 0.620200
vn 0.898300 0.248400 -0.362300
vn 0.000000 -0.000900 -1.000000
vn -0.924600 -0.000600 -0.380700
vn -0.617100 0.000000 0.786900
vn 0.617100 0.000000 0.786900
vn 0.924700 -0.000600 -0.380700
vn 0.000000 -0.650300 -0.759600
vn -0.895600 -0.254600 -0.364800
vn -0.661600 0.421500 0.620200
vn 0.661600 0.421500 0.620200
vn 0.895600 -0.254600 -0.364800
vn 0.004900 -1.000000 0.000000
vn -0.729700 -0.683800 0.000000
vn -0.324500 -0.256300 -0.910500
vn 0.003300 -0.475500 -0.879700
vn 0.578700 0.436200 -0.689100
vn 0.000000 0.666600 -0.745400
vn 0.578700 0.436200 0.689100
vn 0.000000 0.666600 0.745400
vn -0.324500 -0.256300 0.910500
vn 0.003300 -0.475500 0.879700
vn -1.000000 0.000000 0.000000
vn -0.359600 0.000000 -0.933100
vn 0.756400 0.000000 -0.654100
vn 0.756400 0.000000 0.654100
vn -0.359600 0.000000 0.933100
vn -0.729700 0.683700 0.000000
vn -0.324500 0.256300 -0.910500
vn 0.578700 -0.436200 -0.689100
vn 0.578700 -0.436200 0.689100
vn -0.324500 0.256300 0.910500
vn 0.000000 0.470900 -0.882200
vn 0.000000 -0.666600 -0.745400
vn 0.000000 -0.666600 0.745400
vn 0.000000 0.470900 0.882200
vn 0.729700 0.683700 0.000000
vn 0.324500 0.256300 -0.910500
vn -0.578700 -0.436200 -0.689100
vn -0.578700 -0.436200 0.689100
vn 0.324500 0.256300 0.910500
vn 1.000000 -0.001100 0.000000
vn 0.361000 -0.000700 -0.932600
vn -0.756400 0.000000 -0.654100
vn -0.756400 0.000000 0.654100
vn 0.361000 -0.000700 0.932600
vn 0.736100 -0.676800 0.000000
vn 0.327100 -0.263100 -0.907600
vn -0.578700 0.436200 -0.689100
vn -0.578700 0.436200 0.689100
vn 0.327100 -0.263100 0.907600
vn -0.004900 -1.000000 0.000000
vn 0.729700 -0.683800 0.000000
vn 0.324500 -0.256300 0.910500
vn -0.003300 -0.475400 0.879700
vn 0.324500 -0.256300 -0.910500
vn -0.003300 -0.475400 -0.879700
vn 1.000000 0.000000 0.000000
vn 0.359600 0.000000 0.933100
vn 0.359600 0.000000 -0.933100
vn -1.000000 -0.001100 0.000000
vn -0.361000 -0.000700 0.932600
vn -0.361000 -0.000700 -0.932600
vn -0.736100 -0.676800 0.000000
vn -0.327100 -0.263100 0.907600
vn -0.327100 -0.263100 -0.907600
vn 0.000000 -1.000000 0.004800
vn 0.000000 -0.657400 -0.753500
vn 0.898300 -0.248500 -0.362400
vn 0.863600 -0.504100 0.003400
vn -0.898300 -0.248500 -0.362400
vn -0.863600 -0.504100 0.003400
vn 0.000000 0.000000 -1.000000
vn 0.925200 0.000000 -0.379500
vn -0.925200 0.000000 -0.379500
vn 0.898300 0.248500 -0.362400
vn 0.661600 -0.421500 0.620200
vn -0.898300 0.248500 -0.362400
vn 0.898300 0.248500 0.362300
vn -0.898300 0.248500 0.362300
vn 0.000000 -0.000900 1.000000
vn 0.924700 -0.000600 0.380700
vn -0.924700 -0.000600 0.380700
vn 0.000000 -0.650300 0.759600
vn 0.895600 -0.254600 0.364700
vn -0.895600 -0.254600 0.364700
vn 0.729700 -0.683700 0.000000
vn 0.729700 0.683800 0.000000
vn -0.729700 0.683800 0.000000
vn -0.898300 -0.248400 0.362300
vn -0.863600 -0.504100 -0.003500
vn 0.898300 -0.248400 0.362300
vn 0.863600 -0.504100 -0.003500
vn -0.661500 -0.421500 0.620200
vn 0.924600 -0.000600 -0.380700
vn -0.661500 0.421500 0.620200
vn 0.661500 0.421500 0.620200
s 1
f 1/1/1 2/2/2 3/3/3 4/4/4
f 4/4/4 3/3/3 5/5/5 6/6/6
f 6/6/6 5/5/5 7/7/7 8/8/8
f 8/8/8 7/7/7 9/9/9 10/10/10
f 1/1/1 10/11/10 9/12/9 2/2/2
f 2/2/2 11/13/11 12/14/12 3/3/3
f 3/3/3 12/14/12 13/15/13 5/5/5
f 5/5/5 13/15/13 14/16/14 7/7/7
f 7/7/7 14/16/14 15/17/15 9/9/9
f 9/12/9 15/18/15 11/13/11 2/2/2
f 11/13/11 16/19/16 17/20/17 12/14/12
f 12/14/12 17/20/17 18/21/18 13/15/13
f 13/15/13 18/21/18 19/22/19 14/16/14
f 14/16/14 19/22/19 20/23/20 15/17/15
f 15/18/15 20/24/20 16/19/16 11/13/11
f 16/19/16 21/25/21 22/26/22 17/20/17
f 17/20/17 22/26/22 23/27/23 18/21/18
f 18/21/18 23/27/23 24/28/24 19/22/19
f 19/22/19 24/28/24 25/29/25 20/23/20
f 20/24/20 25/30/25 21/25/21 16/19/16
f 21/25/21 26/31/26 27/32/27 22/26/22
f 22/26/22 27/32/27 28/33/28 23/27/23
f 23/27/23 28/33/28 29/34/29 24/28/24
f 24/28/24 29/34/29 30/35/30 25/29/25
f 25/30/25 30/36/30 26/31/26 21/25/21
f 26/37/26 31/38/31 32/39/32 27/40/27
f 27/40/27 32/39/32 33/41/33 28/42/28
f 28/42/28 33/41/33 34/43/34 29/44/29
f 29/44/29 34/43/34 35/45/35 30/46/30
f 30/47/30 35/48/35 31/38/31 26/37/26
f 31/38/31 36/49/36 37/50/37 32/39/32
f 32/39/32 37/50/37 38/51/38 33/41/33
f 33/41/33 38/51/38 39/52/39 34/43/34
f 34/43/34 39/52/39 40/53/40 35/45/35
f 35/48/35 40/54/40 36/49/36 31/38/31
f 36/49/36 1/1/1 4/4/4 37/50/37
f 37/50/37 4/4/4 6/6/6 38/51/38
f 38/51/38 6/6/6 8/8/8 39/52/39
f 39/52/39 8/8/8 10/10/10 40/53/40
f 1/1/1 36/49/36 40/54/40 10/11/10
f 41/55/41 42/56/42 43/57/43 44/58/44
f 44/59/44 43/60/43 45/61/45 46/62/46
f 46/62/46 45/61/45 47/63/47 48/64/48
f 48/64/48 47/63/47 49/65/49 50/66/50
f 41/55/41 50/66/50 49/65/49 42/56/42
f 42/56/42 51/67/51 52/68/52 43/57/43
f 43/60/43 52/69/52 53/70/53 45/61/45
f 45/61/45 53/70/53 54/71/54 47/63/47
f 47/63/47 54/71/54 55/72/55 49/65/49
f 49/65/49 55/72/55 51/67/51 42/56/42
f 51/67/51 56/73/56 57/74/57 52/68/52
f 52/69/52 57/75/57 58/76/58 53/70/53
f 53/70/53 58/76/58 59/77/59 54/71/54
f 54/71/54 59/77/59 60/78/60 55/72/55
f 55/72/55 60/78/60 56/73/56 51/67/51
f 56/73/56 61/79/21 62/80/61 57/74/57
f 57/75/57 62/81/61 63/82/62 58/76/58
f 58/76/58 63/82/62 64/83/63 59/77/59
f 59/77/59 64/83/63 65/84/64 60/78/60
f 60/78/60 65/84/64 61/79/21 56/73/56
f 61/85/21 66/86/65 67/87/66 62/88/61
f 62/35/61 67/89/66 68/90/67 63/91/62
f 63/91/62 68/90/67 69/92/68 64/93/63
f 64/93/63 69/92/68 70/94/69 65/95/64
f 65/95/64 70/94/69 66/86/65 61/85/21
f 66/86/65 71/96/70 72/97/71 67/87/66
f 67/89/66 72/98/71 73/99/72 68/90/67
f 68/90/67 73/99/72 74/100/73 69/92/68
f 69/92/68 74/100/73 75/101/74 70/94/69
f 70/94/69 75/101/74 71/96/70 66/86/65
f 71/96/70 76/102/75 77/103/76 72/97/71
f 72/98/71 77/104/76 78/105/77 73/99/72
f 73/99/72 78/105/77 79/106/78 74/100/73
f 74/100/73 79/106/78 80/107/79 75/101/74
f 75/101/74 80/107/79 76/102/75 71/96/70
f 76/102/75 41/55/41 44/58/44 77/103/76
f 77/104/76 44/59/44 46/62/46 78/105/77
f 78/105/77 46/62/46 48/64/48 79/106/78
f 79/106/78 48/64/48 50/66/50 80/107/79
f 41/55/41 76/102/75 80/107/79 50/66/50
f 81/108/80 82/109/81 83/110/82 84/111/83
f 84/9/83 83/17/82 85/112/78 86/113/48
f 86/113/48 85/112/78 87/114/77 88/115/46
f 88/115/46 87/114/77 89/116/84 90/117/85
f 81/108/80 90/117/85 89/116/84 82/109/81
f 82/109/81 91/118/86 92/119/87 83/110/82
f 83/17/82 92/23/87 93/120/73 85/112/78
f 85/112/78 93/120/73 94/121/72 87/114/77
f 87/114/77 94/121/72 95/122/88 89/116/84
f 89/116/84 95/122/88 91/118/86 82/109/81
f 91/118/86 96/123/65 97/124/69 92/119/87
f 92/23/87 97/29/69 98/125/68 93/120/73
f 93/120/73 98/125/68 99/126/67 94/121/72
f 94/121/72 99/126/67 100/127/66 95/122/88
f 95/122/88 100/127/66 96/123/65 91/118/86
f 96/123/65 101/85/21 102/88/64 97/124/69
f 97/29/69 102/35/64 103/91/63 98/125/68
f 98/125/68 103/91/63 104/93/62 99/126/67
f 99/126/67 104/93/62 105/95/61 100/127/66
f 100/127/66 105/95/61 101/85/21 96/123/65
f 101/128/21 106/129/56 107/130/60 102/131/64
f 102/46/64 107/45/60 108/132/59 103/133/63
f 103/133/63 108/132/59 109/134/58 104/135/62
f 104/135/62 109/134/58 110/136/57 105/137/61
f 105/137/61 110/136/57 106/129/56 101/128/21
f 106/129/56 111/138/89 112/139/90 107/130/60
f 107/45/60 112/53/90 113/140/54 108/132/59
f 108/132/59 113/140/54 114/141/53 109/134/58
f 109/134/58 114/141/53 115/142/91 110/136/57
f 110/136/57 115/142/91 111/138/89 106/129/56
f 111/138/89 116/143/92 117/144/93 112/139/90
f 112/53/90 117/10/93 118/145/47 113/140/54
f 113/140/54 118/145/47 119/146/45 114/141/53
f 114/141/53 119/146/45 120/147/94 115/142/91
f 115/142/91 120/147/94 116/143/92 111/138/89
f 116/143/92 81/108/80 84/111/83 117/144/93
f 117/10/93 84/9/83 86/113/48 118/145/47
f 118/145/47 86/113/48 88/115/46 119/146/45
f 119/146/45 88/115/46 90/117/85 120/147/94
f 81/108/80 116/143/92 120/147/94 90/117/85
f 121/148/95 122/149/96 123/150/97 124/151/98
f 124/151/98 123/150/97 125/152/39 126/153/8
f 126/153/8 125/152/39 127/154/38 128/155/6
f 128/155/6 127/154/38 129/156/99 130/157/100
f 121/148/95 130/103/100 129/58/99 122/149/96
f 122/149/96 131/158/101 132/159/102 123/150/97
f 123/150/97 132/159/102 133/160/34 125/152/39
f 125/152/39 133/160/34 134/161/33 127/154/38
f 127/154/38 134/161/33 135/162/103 129/156/99
f 129/58/99 135/57/103 131/158/101 122/149/96
f 131/158/101 136/163/26 137/164/104 132/159/102
f 132/159/102 137/164/104 138/165/105 133/160/34
f 133/160/34 138/165/105 139/166/28 134/161/33
f 134/161/33 139/166/28 140/167/106 135/162/103
f 135/57/103 140/68/106 136/163/26 131/158/101
f 136/163/26 141/168/21 142/169/25 137/164/104
f 137/164/104 142/169/25 143/170/24 138/165/105
f 138/165/105 143/170/24 144/171/23 139/166/28
f 139/166/28 144/171/23 145/172/22 140/167/106
f 140/68/106 145/74/22 141/168/21 136/163/26
f 141/168/21 146/173/16 147/174/107 142/169/25
f 142/169/25 147/174/107 148/175/19 143/170/24
f 143/170/24 148/175/19 149/176/18 144/171/23
f 144/171/23 149/176/18 150/177/108 145/172/22
f 145/74/22 150/80/108 146/173/16 141/168/21
f 146/178/16 151/179/109 152/180/110 147/181/107
f 147/181/107 152/180/110 153/182/14 148/183/19
f 148/183/19 153/182/14 154/184/13 149/185/18
f 149/185/18 154/184/13 155/186/111 150/187/108
f 150/88/108 155/87/111 151/179/109 146/178/16
f 151/179/109 156/188/112 157/189/113 152/180/110
f 152/180/110 157/189/113 158/190/7 153/182/14
f 153/182/14 158/190/7 159/191/5 154/184/13
f 154/184/13 159/191/5 160/192/114 155/186/111
f 155/87/111 160/97/114 156/188/112 151/179/109
f 156/188/112 121/148/95 124/151/98 157/189/113
f 157/189/113 124/151/98 126/153/8 158/190/7
f 158/190/7 126/153/8 128/155/6 159/191/5
f 159/191/5 128/155/6 130/157/100 160/192/114
f 121/148/95 156/188/112 160/97/114 130/103/100
f 161/193/80 162/194/115 163/60/82 164/59/83
f 164/195/83 163/196/82 165/197/78 166/198/48
f 166/198/48 165/197/78 167/199/77 168/200/46
f 168/200/46 167/199/77 169/201/84 170/202/85
f 161/193/80 170/202/85 169/201/84 162/194/115
f 162/194/115 171/203/86 172/69/87 163/60/82
f 163/196/82 172/204/87 173/205/73 165/197/78
f 165/197/78 173/205/73 174/206/72 167/199/77
f 167/199/77 174/206/72 175/207/88 169/201/84
f 169/201/84 175/207/88 171/203/86 162/194/115
f 171/203/86 176/208/116 177/75/69 172/69/87
f 172/204/87 177/209/69 178/210/68 173/205/73
f 173/205/73 178/210/68 179/211/67 174/206/72
f 174/206/72 179/211/67 180/212/66 175/207/88
f 175/207/88 180/212/66 176/208/116 171/203/86
f 176/208/116 181/213/21 182/81/64 177/75/69
f 177/209/69 182/214/64 183/215/63 178/210/68
f 178/210/68 183/215/63 184/216/62 179/211/67
f 179/211/67 184/216/62 185/217/61 180/212/66
f 180/212/66 185/217/61 181/213/21 176/208/116
f 181/34/21 186/218/117 187/89/60 182/35/64
f 182/36/64 187/219/60 188/220/59 183/31/63
f 183/31/63 188/220/59 189/221/58 184/32/62
f 184/32/62 189/221/58 190/222/57 185/33/61
f 185/33/61 190/222/57 186/218/117 181/34/21
f 186/218/117 191/223/89 192/98/90 187/89/60
f 187/219/60 192/224/90 193/225/54 188/220/59
f 188/220/59 193/225/54 194/226/53 189/221/58
f 189/221/58 194/226/53 195/227/91 190/222/57
f 190/222/57 195/227/91 191/223/89 186/218/117
f 191/223/89 196/228/92 197/104/93 192/98/90
f 192/224/90 197/229/93 198/230/47 193/225/54
f 193/225/54 198/230/47 199/231/45 194/226/53
f 194/226/53 199/231/45 200/232/94 195/227/91
f 195/227/91 200/232/94 196/228/92 191/223/89
f 196/228/92 161/193/80 164/59/83 197/104/93
f 197/229/93 164/195/83 166/198/48 198/230/47
f 198/230/47 166/198/48 168/200/46 199/231/45
f 199/231/45 168/200/46 170/202/85 200/232/94
f 161/193/80 196/228/92 200/232/94 170/202/85
f 201/233/1 202/234/2 203/235/118 204/236/119
f 204/111/119 203/110/118 205/237/5 206/238/6
f 206/238/6 205/237/5 207/239/7 208/240/8
f 208/240/8 207/239/7 209/241/120 210/242/121
f 201/233/1 210/242/121 209/241/120 202/234/2
f 202/234/2 211/243/11 212/244/12 203/235/118
f 203/110/118 212/119/12 213/245/13 205/237/5
f 205/237/5 213/245/13 214/246/14 207/239/7
f 207/239/7 214/246/14 215/247/15 209/241/120
f 209/241/120 215/247/15 211/243/11 202/234/2
f 211/243/11 216/248/16 217/249/108 212/244/12
f 212/119/12 217/124/108 218/250/18 213/245/13
f 213/245/13 218/250/18 219/251/19 214/246/14
f 214/246/14 219/251/19 220/252/107 215/247/15
f 215/247/15 220/252/107 216/248/16 211/243/11
f 216/248/16 221/185/21 222/187/22 217/249/108
f 217/124/108 222/88/22 223/178/23 218/250/18
f 218/250/18 223/178/23 224/181/24 219/251/19
f 219/251/19 224/181/24 225/183/25 220/252/107
f 220/252/107 225/183/25 221/185/21 216/248/16
f 221/253/21 226/254/26 227/255/106 222/256/22
f 222/131/22 227/130/106 228/257/122 223/258/23
f 223/258/23 228/257/122 229/259/29 224/260/24
f 224/260/24 229/259/29 230/261/104 225/262/25
f 225/262/25 230/261/104 226/254/26 221/253/21
f 226/254/26 231/263/31 232/264/32 227/255/106
f 227/130/106 232/139/32 233/265/33 228/257/122
f 228/257/122 233/265/33 234/266/34 229/259/29
f 229/259/29 234/266/34 235/267/123 230/261/104
f 230/261/104 235/267/123 231/263/31 226/254/26
f 231/263/31 236/268/36 237/269/37 232/264/32
f 232/139/32 237/144/37 238/270/124 233/265/33
f 233/265/33 238/270/124 239/271/125 234/266/34
f 234/266/34 239/271/125 240/272/40 235/267/123
f 235/267/123 240/272/40 236/268/36 231/263/31
f 236/268/36 201/233/1 204/236/119 237/269/37
f 237/144/37 204/111/119 206/238/6 238/270/124
f 238/270/124 206/238/6 208/240/8 239/271/125
f 239/271/125 208/240/8 210/242/121 240/272/40
f 201/233/1 236/268/36 240/272/40 210/242/121

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 344 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 386 B

View File

@ -33,10 +33,6 @@ computer:admiral128
There's also a `computer:computer' alias to `computer:babytower'.
License:
Sourcecode: WTFPL (see below)
Graphics: WTFPL (see below)
Thanks to all the people in the forums and the #minetest IRC channel for
their support and suggestions; in no particular order:
OldCoder, Josh, tonyka, VanessaE, davidpace, Jordach, and all the other
@ -45,17 +41,3 @@ Thanks to all the people in the forums and the #minetest IRC channel for
See also:
http://minetest.net/
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2012 Diego Martínez <lkaezadl3@gmail.com>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. You just DO WHAT THE FUCK YOU WANT TO.

View File

@ -1,3 +1,6 @@
local S = homedecor.gettext
-- Amiga 500 lookalike
computer.register("computer:shefriendSOO", {
description = "SheFriendSOO",
@ -150,6 +153,19 @@ computer.register("computer:admiral128", {
})
})
-- XBox lookalike
computer.register("computer:hueg_box", {
description = "HUEG Box",
tiles_off = { },
node_box = computer.pixelnodebox(16, {
-- X Y Z W H L
{ 0, 0, 7, 16, 6, 9 }, -- Console
{ 2, 0, 1, 11, 3, 6 }, -- Controller
{ 2, 0, 0, 2, 3, 1 },
{ 11, 0, 0, 2, 3, 1 },
})
})
-- Generic Flat Screen LCD (16x9) with keyboard
local mo_sbox = {
type = "fixed",
@ -157,7 +173,7 @@ local mo_sbox = {
}
minetest.register_node("computer:monitor", {
description = "Monitor and keyboard",
description = S("Monitor and keyboard"),
inventory_image = "computer_monitor_inv.png",
drawtype = "mesh",
mesh = "computer_monitor.obj",
@ -175,7 +191,6 @@ minetest.register_node("computer:monitor", {
})
minetest.register_node("computer:monitor_on", {
description = "Monitor and keyboard",
drawtype = "mesh",
mesh = "computer_monitor.obj",
tiles = {"monitor_display.png^[transformFX", "monitor_plastic.png", "computer_black.png", "monitor_plastic.png"},
@ -200,7 +215,7 @@ minetest.register_alias("computer:monitor_desktop", "computer:monitor")
--WIFI Router (linksys look-a-like)
minetest.register_node("computer:router", {
description = "WIFI Router",
description = S("WIFI Router"),
inventory_image = "computer_router_inv.png",
tiles = {"computer_router_t.png","computer_router_bt.png","computer_router_l.png","computer_router_r.png","computer_router_b.png",
{name="computer_router_f_animated.png", animation={type="vertical_frames", aspect_w=32, aspect_h=32, length=1.0}},}, --"computer_router_f.png"},
@ -228,7 +243,7 @@ local pct_cbox = {
--Modern PC Tower
minetest.register_node("computer:tower", {
description = "Computer Tower",
description = S("Computer Tower"),
inventory_image = "computer_tower_inv.png",
drawtype = "mesh",
mesh = "computer_tower.obj",
@ -245,7 +260,7 @@ minetest.register_alias("computer:tower_on", "computer:tower")
-- Printer/scaner combo
minetest.register_node("computer:printer", {
description = "Printer Scaner Combo",
description = S("Printer-Scanner Combo"),
inventory_image = "computer_printer_inv.png",
tiles = {"computer_printer_t.png","computer_printer_bt.png","computer_printer_l.png",
"computer_printer_r.png","computer_printer_b.png","computer_printer_f.png"},
@ -273,7 +288,7 @@ minetest.register_node("computer:printer", {
--Rack Server
minetest.register_node("computer:server", {
drawtype = "nodebox",
description = "Rack Server",
description = S("Rack Server"),
tiles = {
'computer_server_t.png',
'computer_server_bt.png',
@ -303,7 +318,8 @@ minetest.register_node("computer:server", {
on_place = function(itemstack, placer, pointed_thing)
local pos = pointed_thing.above
if minetest.get_node({x=pos.x, y=pos.y+1, z=pos.z}).name ~= "air" then
minetest.chat_send_player( placer:get_player_name(), "Not enough vertical space to place a server!" )
minetest.chat_send_player( placer:get_player_name(),
S("Not enough vertical space to place a server!" ))
return itemstack
end
return minetest.item_place(itemstack, placer, pointed_thing)
@ -312,7 +328,6 @@ minetest.register_node("computer:server", {
minetest.register_node("computer:server_on", {
drawtype = "nodebox",
description = "Rack Server",
tiles = {
'computer_server_t.png',
'computer_server_bt.png',

View File

@ -1,3 +1,2 @@
default
intllib?
homedecor_common

View File

@ -1,6 +0,0 @@
# Language: Español
# Author: Diego Martínez <lkaezadl3@gmail.com>
Plastic sheet = Placa de Plastico
Unprocessed Plastic base = Base de Plastico No Procesada

View File

@ -1,15 +1,12 @@
-- Copyright (C) 2012-2013 Diego Martínez <kaeza@users.sf.net>
-- License is WTFPL (see README.txt).
-- This file defines some items in order to not have to depend on other mods.
-- Boilerplate to support localized strings if intllib mod is installed.
local S = rawget(_G, "intllib") and intllib.Getter() or function(s) return s end
local S = homedecor.gettext
if (not minetest.get_modpath("homedecor")) then
minetest.register_craftitem(":homedecor:plastic_sheeting", {
minetest.register_craftitem(":basic_materials:plastic_sheet", {
description = S("Plastic sheet"),
inventory_image = "homedecor_plastic_sheeting.png",
})
@ -52,7 +49,7 @@ if (not minetest.get_modpath("homedecor")) then
minetest.register_craft({
type = "cooking",
output = "homedecor:plastic_sheeting",
output = "basic_materials:plastic_sheet",
recipe = "homedecor:plastic_base",
})
@ -64,7 +61,7 @@ if (not minetest.get_modpath("homedecor")) then
minetest.register_craft({
type = 'fuel',
recipe = 'homedecor:plastic_sheeting',
recipe = 'basic_materials:plastic_sheet',
burntime = 30,
})

View File

@ -1,54 +1,52 @@
-- Copyright (C) 2012-2013 Diego Martínez <kaeza@users.sf.net>
-- License is WTFPL (see README.txt).
minetest.register_craft({
output = "computer:shefriendSOO",
recipe = {
{ "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" },
{ "homedecor:plastic_sheeting", "default:glass", "homedecor:plastic_sheeting" },
{ "homedecor:plastic_sheeting", "group:wood", "homedecor:plastic_sheeting" }
{ "basic_materials:plastic_sheet", "basic_materials:plastic_sheet", "basic_materials:plastic_sheet" },
{ "basic_materials:plastic_sheet", "default:glass", "basic_materials:plastic_sheet" },
{ "basic_materials:plastic_sheet", "group:wood", "basic_materials:plastic_sheet" }
}
})
minetest.register_craft({
output = "computer:slaystation",
recipe = {
{ "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" },
{ "homedecor:plastic_sheeting", "group:wood", "homedecor:plastic_sheeting" }
{ "basic_materials:plastic_sheet", "basic_materials:plastic_sheet", "basic_materials:plastic_sheet" },
{ "basic_materials:plastic_sheet", "group:wood", "basic_materials:plastic_sheet" }
}
})
minetest.register_craft({
output = "computer:vanio",
recipe = {
{ "homedecor:plastic_sheeting", "", "" },
{ "basic_materials:plastic_sheet", "", "" },
{ "default:glass", "", "" },
{ "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" }
{ "basic_materials:plastic_sheet", "basic_materials:plastic_sheet", "basic_materials:plastic_sheet" }
}
})
minetest.register_craft({
output = "computer:specter",
recipe = {
{ "", "", "homedecor:plastic_sheeting" },
{ "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" },
{ "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" }
{ "", "", "basic_materials:plastic_sheet" },
{ "basic_materials:plastic_sheet", "basic_materials:plastic_sheet", "basic_materials:plastic_sheet" },
{ "basic_materials:plastic_sheet", "basic_materials:plastic_sheet", "basic_materials:plastic_sheet" }
}
})
minetest.register_craft({
output = "computer:slaystation2",
recipe = {
{ "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" },
{ "homedecor:plastic_sheeting", "default:steel_ingot", "homedecor:plastic_sheeting" }
{ "basic_materials:plastic_sheet", "basic_materials:plastic_sheet", "basic_materials:plastic_sheet" },
{ "basic_materials:plastic_sheet", "default:steel_ingot", "basic_materials:plastic_sheet" }
}
})
minetest.register_craft({
output = "computer:admiral64",
recipe = {
{ "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" },
{ "basic_materials:plastic_sheet", "basic_materials:plastic_sheet", "basic_materials:plastic_sheet" },
{ "group:wood", "group:wood", "group:wood" }
}
})
@ -56,7 +54,7 @@ minetest.register_craft({
minetest.register_craft({
output = "computer:admiral128",
recipe = {
{ "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" },
{ "basic_materials:plastic_sheet", "basic_materials:plastic_sheet", "basic_materials:plastic_sheet" },
{ "default:steel_ingot", "default:steel_ingot", "default:steel_ingot" }
}
})
@ -64,16 +62,16 @@ minetest.register_craft({
minetest.register_craft({
output = "computer:wee",
recipe = {
{ "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" },
{ "homedecor:plastic_sheeting", "default:copper_ingot", "homedecor:plastic_sheeting" }
{ "basic_materials:plastic_sheet", "basic_materials:plastic_sheet", "basic_materials:plastic_sheet" },
{ "basic_materials:plastic_sheet", "default:copper_ingot", "basic_materials:plastic_sheet" }
}
})
minetest.register_craft({
output = "computer:piepad",
recipe = {
{ "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" },
{ "homedecor:plastic_sheeting", "default:glass", "homedecor:plastic_sheeting" }
{ "basic_materials:plastic_sheet", "basic_materials:plastic_sheet", "basic_materials:plastic_sheet" },
{ "basic_materials:plastic_sheet", "default:glass", "basic_materials:plastic_sheet" }
}
})
@ -82,9 +80,9 @@ minetest.register_craft({
minetest.register_craft({
output = "computer:monitor",
recipe = {
{ "homedecor:plastic_sheeting", "default:glass","" },
{ "homedecor:plastic_sheeting", "default:glass","" },
{ "homedecor:plastic_sheeting", "default:mese_crystal_fragment", "homedecor:plastic_sheeting" }
{ "basic_materials:plastic_sheet", "default:glass","" },
{ "basic_materials:plastic_sheet", "default:glass","" },
{ "basic_materials:plastic_sheet", "default:mese_crystal_fragment", "basic_materials:plastic_sheet" }
}
})
@ -92,35 +90,35 @@ minetest.register_craft({
output = "computer:router",
recipe = {
{ "default:steel_ingot","","" },
{ "default:steel_ingot" ,"homedecor:plastic_sheeting", "homedecor:plastic_sheeting" },
{ "default:mese_crystal_fragment","homedecor:plastic_sheeting", "homedecor:plastic_sheeting" }
{ "default:steel_ingot" ,"basic_materials:plastic_sheet", "basic_materials:plastic_sheet" },
{ "default:mese_crystal_fragment","basic_materials:plastic_sheet", "basic_materials:plastic_sheet" }
}
})
minetest.register_craft({
output = "computer:tower",
recipe = {
{ "homedecor:plastic_sheeting", "default:steel_ingot", "homedecor:plastic_sheeting" },
{ "homedecor:plastic_sheeting", "default:mese_crystal", "homedecor:plastic_sheeting" },
{ "homedecor:plastic_sheeting", "default:steel_ingot", "homedecor:plastic_sheeting" }
{ "basic_materials:plastic_sheet", "default:steel_ingot", "basic_materials:plastic_sheet" },
{ "basic_materials:plastic_sheet", "default:mese_crystal", "basic_materials:plastic_sheet" },
{ "basic_materials:plastic_sheet", "default:steel_ingot", "basic_materials:plastic_sheet" }
}
})
minetest.register_craft({
output = "computer:printer",
recipe = {
{ "homedecor:plastic_sheeting", "default:steel_ingot","" },
{ "homedecor:plastic_sheeting", "default:mese_crystal", "homedecor:plastic_sheeting" },
{ "homedecor:plastic_sheeting", "default:coal_lump", "homedecor:plastic_sheeting" }
{ "basic_materials:plastic_sheet", "default:steel_ingot","" },
{ "basic_materials:plastic_sheet", "default:mese_crystal", "basic_materials:plastic_sheet" },
{ "basic_materials:plastic_sheet", "default:coal_lump", "basic_materials:plastic_sheet" }
}
})
minetest.register_craft({
output = "computer:printer",
recipe = {
{ "homedecor:plastic_sheeting", "default:steel_ingot","" },
{ "homedecor:plastic_sheeting", "default:mese_crystal", "homedecor:plastic_sheeting" },
{ "homedecor:plastic_sheeting", "dye:black", "homedecor:plastic_sheeting", }
{ "basic_materials:plastic_sheet", "default:steel_ingot","" },
{ "basic_materials:plastic_sheet", "default:mese_crystal", "basic_materials:plastic_sheet" },
{ "basic_materials:plastic_sheet", "dye:black", "basic_materials:plastic_sheet", }
}
})
@ -136,8 +134,8 @@ minetest.register_craft({
minetest.register_craft({
output = "computer:tetris_arcade",
recipe = {
{ "homedecor:plastic_sheeting", "homedecor:power_crystal", "homedecor:plastic_sheeting", },
{ "basic_materials:plastic_sheet", "basic_materials:energy_crystal", "basic_materials:plastic_sheet", },
{ "dye:black", "default:glass", "dye:black" },
{ "homedecor:plastic_sheeting", "homedecor:power_crystal", "homedecor:plastic_sheeting" }
{ "basic_materials:plastic_sheet", "basic_materials:energy_crystal", "basic_materials:plastic_sheet" }
}
})

View File

@ -1,3 +1,6 @@
local S = homedecor.gettext
local shapes = {
{ { x = {0, 1, 0, 1}, y = {0, 0, 1, 1} } },
@ -30,12 +33,12 @@ local colors = { "computer_cyan.png", "computer_magenta.png", "computer_red.png"
local background = "image[0,0;3.55,6.66;computer_black.png]"
local buttons = "button[3,4.5;0.6,0.6;left;<]"
.."button[3.6,4.5;0.6,0.6;rotateleft;L]"
.."button[3.6,4.5;0.6,0.6;rotateleft;"..minetest.formspec_escape(S("L")).."]"
.."button[4.2,4.5;0.6,0.6;down;v]"
.."button[4.2,5.3;0.6,0.6;drop;V]"
.."button[4.8,4.5;0.6,0.6;rotateright;R]"
.."button[4.8,4.5;0.6,0.6;rotateright;"..minetest.formspec_escape(S("R")).."]"
.."button[5.4,4.5;0.6,0.6;right;>]"
.."button[3.5,3;2,2;new;New Game]"
.."button[3.5,3;2,2;new;"..minetest.formspec_escape(S("New Game")).."]"
local formsize = "size[5.9,5.7]"
local boardx, boardy = 0, 0
@ -228,7 +231,7 @@ local function step(pos, fields)
local scr = { formsize, background,
t.boardstring, t.previewstring,
draw_shape(t.cur, t.x, t.y, t.rot, boardx, boardy),
"label[3.8,0.1;Next...]label[3.8,2.7;Score: ",
"label[3.8,0.1;"..S("Next...").."]label[3.8,2.7;"..S("Score: "),
t.score, close, buttons }
@ -241,7 +244,7 @@ local function step(pos, fields)
end
minetest.register_node("computer:tetris_arcade", {
description="Tetris Arcade",
description=S("Tetris Arcade"),
drawtype = "mesh",
mesh = "tetris_arcade.obj",
tiles = {"tetris_arcade.png"},
@ -259,7 +262,8 @@ minetest.register_node("computer:tetris_arcade", {
},
on_construct = function(pos)
local meta = minetest.get_meta(pos)
meta:set_string("formspec", formsize.."button[2,2.5;2,2;new;New Game]"
meta:set_string("formspec", formsize
.."button[2,2.5;2,2;new;"..minetest.formspec_escape(S("New Game")).."]"
..default.gui_bg..default.gui_bg_img..default.gui_slots)
end,
on_timer = function(pos)
@ -275,7 +279,7 @@ minetest.register_node("computer:tetris_arcade", {
return itemstack
end
if minetest.get_node({x=pos.x, y=pos.y+1, z=pos.z}).name ~= "air" then
minetest.chat_send_player(placer:get_player_name(), "No room for place the Arcade!")
minetest.chat_send_player(placer:get_player_name(), S("No room for place the Arcade!"))
return itemstack
end
local dir = placer:get_look_dir()

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 108 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 130 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 100 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 97 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 220 B

20
copyright.txt Normal file
View File

@ -0,0 +1,20 @@
Most code and textures by Vanessa Ezekowitz.
Some code copied and modified from the game's default mods (especially
doors) and ironzorg's flowers mod.
Whatever is stated here applies to all homedecor modpack components, as
appropriate.
Licenses:
* Door open/close sound by Slanesh on freesound.org
http://freesound.org/people/Slanesh/sounds/31768/
* Gate open/close by j1987 on freesound.org
http://freesound.org/people/j1987/sounds/106116/
* Doorbell sound by guitarguy1985 on freesound.org
http://freesound.org/people/guitarguy1985/sounds/69384/
* Book soundn by mckinneysound's on http://www.freesfx.co.uk/
http://www.freesfx.co.uk/sfx/book?p=3
* Phone ringing sound by andyt's on http://www.freesfx.co.uk/
http://www.freesfx.co.uk/sfx/phone?p=5

View File

@ -1 +1,2 @@
default
default
homedecor_common

View File

@ -1,3 +1,6 @@
local S = homedecor.gettext
screwdriver = screwdriver or {}
local function start_smoke(pos, node, clicker, chimney)
@ -13,8 +16,8 @@ local function start_smoke(pos, node, clicker, chimney)
end, s_handle)
end
minetest.delete_particlespawner(id)
this_spawner_meta:set_int("smoky", nil)
this_spawner_meta:set_int("sound", nil)
this_spawner_meta:set_int("smoky", 0)
this_spawner_meta:set_int("sound", 0)
return
end
@ -31,7 +34,7 @@ local function start_smoke(pos, node, clicker, chimney)
})
if chimney == 1 then
this_spawner_meta:set_int("smoky", id)
this_spawner_meta:set_int("sound", nil)
this_spawner_meta:set_int("sound", 0)
else
s_handle = minetest.sound_play("fire_small", {
pos = pos,
@ -59,47 +62,44 @@ local function stop_smoke(pos)
end, s_handle)
end
this_spawner_meta:set_int("smoky", nil)
this_spawner_meta:set_int("sound", nil)
this_spawner_meta:set_int("smoky", 0)
this_spawner_meta:set_int("sound", 0)
end
-- FLAME TYPES
local flame_types = {"fake", "ice"}
minetest.register_node("fake_fire:ice_fire", {
inventory_image = "ice_fire_inv.png",
description = S("Ice fire"),
drawtype = "plantlike",
paramtype = "light",
paramtype2 = "facedir",
groups = {dig_immediate=3, not_in_creative_inventory=1},
sunlight_propagates = true,
buildable_to = true,
walkable = false,
light_source = 14,
waving = 1,
tiles = {
{name="ice_fire_animated.png", animation={type="vertical_frames",
aspect_w=16, aspect_h=16, length=1.5}},
},
on_rightclick = function(pos, node, clicker, itemstack, pointed_thing)
start_smoke(pos, node, clicker)
return itemstack
end,
on_destruct = function (pos)
stop_smoke(pos)
minetest.sound_play("fire_extinguish", {
pos = pos, max_hear_distance = 5
})
end,
drop = ""
})
for _, f in ipairs(flame_types) do
minetest.register_node("fake_fire:"..f.."_fire", {
inventory_image = f.."_fire_inv.png",
description = f.." fire",
drawtype = "plantlike",
paramtype = "light",
paramtype2 = "facedir",
groups = {dig_immediate=3, not_in_creative_inventory=1},
sunlight_propagates = true,
buildable_to = true,
walkable = false,
light_source = 14,
waving = 1,
tiles = {
{name=f.."_fire_animated.png", animation={type="vertical_frames",
aspect_w=16, aspect_h=16, length=1.5}},
},
on_rightclick = function(pos, node, clicker, itemstack, pointed_thing)
start_smoke(pos, node, clicker)
return itemstack
end,
on_destruct = function (pos)
stop_smoke(pos)
minetest.sound_play("fire_extinguish", {
pos = pos, max_hear_distance = 5
})
end,
drop = ""
})
end
minetest.register_alias("fake_fire:fake_fire", "fire:permanent_flame")
minetest.register_node("fake_fire:fancy_fire", {
inventory_image = "fancy_fire_inv.png",
description = "Fancy Fire",
description = S("Fancy Fire"),
drawtype = "mesh",
mesh = "fancy_fire.obj",
paramtype = "light",
@ -136,7 +136,7 @@ minetest.register_node("fake_fire:fancy_fire", {
-- EMBERS
minetest.register_node("fake_fire:embers", {
description = "Glowing Embers",
description = S("Glowing Embers"),
tiles = {
{name="embers_animated.png", animation={type="vertical_frames",
aspect_w=16, aspect_h=16, length=2}},
@ -148,12 +148,16 @@ minetest.register_node("fake_fire:embers", {
})
-- CHIMNEYS
local materials = {"stone", "sandstone"}
local materials = {
{ "stone", S("Stone chimney top") },
{ "sandstone", S("Sandstone chimney top") },
}
for _, m in ipairs(materials) do
minetest.register_node("fake_fire:chimney_top_"..m, {
description = "Chimney Top - "..m,
tiles = {"default_"..m..".png^chimney_top.png", "default_"..m..".png"},
for _, mat in ipairs(materials) do
local name, desc = unpack(mat)
minetest.register_node("fake_fire:chimney_top_"..name, {
description = desc,
tiles = {"default_"..name..".png^chimney_top.png", "default_"..name..".png"},
groups = {snappy=3},
paramtype = "light",
sounds = default.node_sound_stone_defaults(),
@ -174,48 +178,23 @@ for _, m in ipairs(materials) do
minetest.register_craft({
type = "shapeless",
output = 'fake_fire:chimney_top_'..m,
recipe = {"default:torch", "stairs:slab_"..m}
output = 'fake_fire:chimney_top_'..name,
recipe = {"default:torch", "stairs:slab_"..name}
})
end
-- FLINT and STEEL
minetest.register_tool("fake_fire:flint_and_steel", {
description = "Flint and steel",
inventory_image = "flint_and_steel.png",
liquids_pointable = false,
stack_max = 1,
tool_capabilities = {
full_punch_interval = 1.0,
max_drop_level=0,
groupcaps={flamable = {uses=65, maxlevel=1}}
},
on_use = function(itemstack, user, pointed_thing)
if pointed_thing.type == "node" and minetest.get_node(pointed_thing.above).name == "air" then
if not minetest.is_protected(pointed_thing.above, user:get_player_name()) then
if string.find(minetest.get_node(pointed_thing.under).name, "ice") then
minetest.set_node(pointed_thing.above, {name="fake_fire:ice_fire"})
else
minetest.set_node(pointed_thing.above, {name="fake_fire:fake_fire"})
end
else
minetest.chat_send_player(user:get_player_name(), "This area is protected!")
end
else
return
end
minetest.register_alias("fake_fire:flint_and_steel", "fire:flint_and_steel")
itemstack:add_wear(65535/65)
return itemstack
minetest.override_item("default:ice", {
on_ignite = function(pos, igniter)
local flame_pos = {x = pos.x, y = pos.y + 1, z = pos.z}
if minetest.get_node(flame_pos).name == "air" then
minetest.set_node(flame_pos, {name = "fake_fire:ice_fire"})
end
end
})
-- CRAFTS
minetest.register_craft({
type = "shapeless",
output = 'fake_fire:flint_and_steel',
recipe = {"default:obsidian_shard", "default:steel_ingot"}
})
minetest.register_craft({
type = "shapeless",

View File

@ -1,104 +0,0 @@
local S = homedecor.gettext
local bathroom_tile_colors = {
{ "1", S("white/grey"), "#c0c0c0:200" },
{ "2", S("white/dark grey"), "#404040:150" },
{ "3", S("white/black"), "#000000:200" },
{ "4", S("black/dark grey"), "" },
{ "red", S("white/red"), "#d00000:150" },
{ "green", S("white/green"), "#00d000:150" },
{ "blue", S("white/blue"), "#0000d0:150" },
{ "yellow", S("white/yellow"), "#ffff00:150" },
{ "tan", S("white/tan"), "#ceaf42:150" }
}
for _, c in ipairs(bathroom_tile_colors) do
local color, shade, hue = unpack(c)
local coloredtile = "homedecor_bathroom_tiles_bg.png^(homedecor_bathroom_tiles_fg.png^[colorize:"..hue..")"
if color == "4" then
coloredtile = "(homedecor_bathroom_tiles_bg.png^[colorize:#000000:75)"..
"^(homedecor_bathroom_tiles_fg.png^[colorize:#000000:200)"
end
minetest.register_node("homedecor:tiles_"..color, {
description = S("Bathroom/kitchen tiles (@1)", shade),
tiles = {
coloredtile,
coloredtile,
coloredtile,
coloredtile,
"("..coloredtile..")^[transformR90",
"("..coloredtile..")^[transformR90"
},
groups = {cracky=3},
paramtype = "light",
sounds = default.node_sound_stone_defaults(),
})
end
local tr_cbox = {
type = "fixed",
fixed = { -0.375, -0.3125, 0.25, 0.375, 0.375, 0.5 }
}
homedecor.register("towel_rod", {
description = S("Towel rod with towel"),
mesh = "homedecor_towel_rod.obj",
tiles = {
"homedecor_generic_terrycloth.png",
"default_wood.png",
},
inventory_image = "homedecor_towel_rod_inv.png",
selection_box = tr_cbox,
walkable = false,
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=3,flammable=3},
sounds = default.node_sound_defaults(),
})
homedecor.register("medicine_cabinet", {
description = S("Medicine cabinet"),
mesh = "homedecor_medicine_cabinet.obj",
tiles = {
'default_wood.png',
'homedecor_medicine_cabinet_mirror.png'
},
inventory_image = "homedecor_medicine_cabinet_inv.png",
selection_box = {
type = "fixed",
fixed = {-0.3125, -0.1875, 0.3125, 0.3125, 0.5, 0.5}
},
walkable = false,
groups = { snappy = 3 },
sounds = default.node_sound_wood_defaults(),
on_punch = function(pos, node, puncher, pointed_thing)
node.name = "homedecor:medicine_cabinet_open"
minetest.swap_node(pos, node)
end,
infotext=S("Medicine cabinet"),
inventory = {
size=6,
},
})
homedecor.register("medicine_cabinet_open", {
mesh = "homedecor_medicine_cabinet_open.obj",
tiles = {
'default_wood.png',
'homedecor_medicine_cabinet_mirror.png',
'homedecor_medicine_cabinet_inside.png'
},
selection_box = {
type = "fixed",
fixed = {-0.3125, -0.1875, -0.25, 0.3125, 0.5, 0.5}
},
walkable = false,
groups = { snappy = 3, not_in_creative_inventory=1 },
drop = "homedecor:medicine_cabinet",
on_punch = function(pos, node, puncher, pointed_thing)
node.name = "homedecor:medicine_cabinet"
minetest.swap_node(pos, node)
end,
})

View File

@ -1,285 +0,0 @@
local S = homedecor.gettext
local toilet_sbox = {
type = "fixed",
fixed = { -6/16, -8/16, -8/16, 6/16, 9/16, 8/16 },
}
local toilet_cbox = {
type = "fixed",
fixed = {
{-6/16, -8/16, -8/16, 6/16, 1/16, 8/16 },
{-6/16, -8/16, 4/16, 6/16, 9/16, 8/16 }
}
}
homedecor.register("toilet", {
description = S("Toilet"),
mesh = "homedecor_toilet_closed.obj",
tiles = {
"homedecor_marble.png^[colorize:#ffffff:175",
"homedecor_marble.png^[colorize:#ffffff:175",
"homedecor_marble.png^[colorize:#ffffff:175",
"homedecor_generic_metal_black.png^[brighten"
},
selection_box = toilet_sbox,
node_box = toilet_cbox,
groups = {cracky=3},
sounds = default.node_sound_stone_defaults(),
on_punch = function (pos, node, puncher)
node.name = "homedecor:toilet_open"
minetest.set_node(pos, node)
end
})
homedecor.register("toilet_open", {
mesh = "homedecor_toilet_open.obj",
tiles = {
"homedecor_marble.png^[colorize:#ffffff:175",
"homedecor_marble.png^[colorize:#ffffff:175",
"homedecor_marble.png^[colorize:#ffffff:175",
"default_water.png",
"homedecor_generic_metal_black.png^[brighten"
},
selection_box = toilet_sbox,
collision_box = toilet_cbox,
drop = "homedecor:toilet",
groups = {cracky=3},
sounds = default.node_sound_stone_defaults(),
on_punch = function (pos, node, puncher)
node.name = "homedecor:toilet"
minetest.set_node(pos, node)
minetest.sound_play("homedecor_toilet_flush", {
pos=pos,
max_hear_distance = 5,
gain = 1,
})
end
})
-- toilet paper :-)
local tp_cbox = {
type = "fixed",
fixed = { -0.25, 0.125, 0.0625, 0.1875, 0.4375, 0.5 }
}
homedecor.register("toilet_paper", {
description = S("Toilet paper"),
mesh = "homedecor_toilet_paper.obj",
tiles = {
"homedecor_generic_quilted_paper.png",
"default_wood.png"
},
inventory_image = "homedecor_toilet_paper_inv.png",
selection_box = tp_cbox,
walkable = false,
groups = {snappy=3,oddly_breakable_by_hand=3},
sounds = default.node_sound_defaults(),
})
--Sink
local sink_cbox = {
type = "fixed",
fixed = { -5/16, -8/16, 1/16, 5/16, 8/16, 8/16 }
}
homedecor.register("sink", {
description = S("Bathroom Sink"),
mesh = "homedecor_bathroom_sink.obj",
tiles = {
"homedecor_marble.png^[colorize:#ffffff:175",
"homedecor_marble.png",
"default_water.png"
},
inventory_image="homedecor_bathroom_sink_inv.png",
selection_box = sink_cbox,
groups = {cracky=3},
sounds = default.node_sound_stone_defaults(),
node_box = {
type = "fixed",
fixed = {
{ -5/16, 5/16, 1/16, -4/16, 8/16, 8/16 },
{ 5/16, 5/16, 1/16, 4/16, 8/16, 8/16 },
{ -5/16, 5/16, 1/16, 5/16, 8/16, 2/16 },
{ -5/16, 5/16, 6/16, 5/16, 8/16, 8/16 },
{ -4/16, -8/16, 1/16, 4/16, 5/16, 6/16 }
}
},
on_destruct = function(pos)
homedecor.stop_particle_spawner({x=pos.x, y=pos.y+1, z=pos.z})
end
})
--Taps
local function taps_on_rightclick(pos, node, clicker, itemstack, pointed_thing)
local below = minetest.get_node_or_nil({x=pos.x, y=pos.y-1, z=pos.z})
if below and
below.name == "homedecor:shower_tray" or
below.name == "homedecor:sink" or
below.name == "homedecor:kitchen_cabinet_with_sink" or
below.name == "homedecor:kitchen_cabinet_with_sink_locked" then
local particledef = {
outlet = { x = 0, y = -0.44, z = 0.28 },
velocity_x = { min = -0.1, max = 0.1 },
velocity_y = -0.3,
velocity_z = { min = -0.1, max = 0 },
spread = 0
}
homedecor.start_particle_spawner(pos, node, particledef, "homedecor_faucet")
end
return itemstack
end
homedecor.register("taps", {
description = S("Bathroom taps/faucet"),
mesh = "homedecor_bathroom_faucet.obj",
tiles = {
"homedecor_generic_metal_black.png^[brighten",
"homedecor_generic_metal_bright.png",
"homedecor_generic_metal_black.png^[colorize:#ffffff:200",
"homedecor_generic_metal_bright.png"
},
inventory_image = "3dforniture_taps_inv.png",
wield_image = "3dforniture_taps_inv.png",
selection_box = {
type = "fixed",
fixed = { -4/16, -7/16, 4/16, 4/16, -4/16, 8/16 },
},
walkable = false,
groups = {cracky=3},
sounds = default.node_sound_stone_defaults(),
on_rightclick = taps_on_rightclick,
on_destruct = homedecor.stop_particle_spawner,
on_rotate = screwdriver.disallow
})
homedecor.register("taps_brass", {
description = S("Bathroom taps/faucet (brass)"),
mesh = "homedecor_bathroom_faucet.obj",
tiles = {
"homedecor_generic_metal_brass.png",
"homedecor_generic_metal_brass.png",
"homedecor_generic_metal_black.png^[colorize:#ffffff:200",
"homedecor_generic_metal_brass.png"
},
inventory_image = "3dforniture_taps_brass_inv.png",
wield_image = "3dforniture_taps_brass_inv.png",
selection_box = {
type = "fixed",
fixed = { -4/16, -7/16, 4/16, 4/16, -4/16, 8/16 },
},
walkable = false,
groups = {cracky=3},
sounds = default.node_sound_stone_defaults(),
on_rightclick = taps_on_rightclick,
on_destruct = homedecor.stop_particle_spawner,
on_rotate = screwdriver.disallow
})
--Shower Tray
homedecor.register("shower_tray", {
description = S("Shower Tray"),
tiles = {
"forniture_marble_base_ducha_top.png",
"homedecor_marble.png"
},
node_box = {
type = "fixed",
fixed = {
{ -0.5, -0.5, -0.5, 0.5, -0.45, 0.5 },
{ -0.5, -0.45, -0.5, 0.5, -0.4, -0.45 },
{ -0.5, -0.45, 0.45, 0.5, -0.4, 0.5 },
{ -0.5, -0.45, -0.45, -0.45, -0.4, 0.45 },
{ 0.45, -0.45, -0.45, 0.5, -0.4, 0.45 }
},
},
selection_box = homedecor.nodebox.slab_y(0.1),
groups = {cracky=2},
sounds = default.node_sound_stone_defaults(),
on_destruct = function(pos)
homedecor.stop_particle_spawner({x=pos.x, y=pos.y+2, z=pos.z}) -- the showerhead
homedecor.stop_particle_spawner({x=pos.x, y=pos.y+1, z=pos.z}) -- the taps, if any
end
})
--Shower Head
local sh_cbox = {
type = "fixed",
fixed = { -0.2, -0.4, -0.05, 0.2, 0.1, 0.5 }
}
homedecor.register("shower_head", {
drawtype = "mesh",
mesh = "homedecor_shower_head.obj",
tiles = {
"homedecor_generic_metal_black.png^[brighten",
"homedecor_shower_head.png"
},
inventory_image = "homedecor_shower_head_inv.png",
description = S("Shower Head"),
groups = {snappy=3},
selection_box = sh_cbox,
walkable = false,
on_rotate = screwdriver.disallow,
on_rightclick = function(pos, node, clicker, itemstack, pointed_thing)
local below = minetest.get_node_or_nil({x=pos.x, y=pos.y-2.0, z=pos.z})
if below and below.name == "homedecor:shower_tray" then
local particledef = {
outlet = { x = 0, y = -0.42, z = 0.1 },
velocity_x = { min = -0.15, max = 0.15 },
velocity_y = -2,
velocity_z = { min = -0.3, max = 0.1 },
spread = 0.12
}
homedecor.start_particle_spawner(pos, node, particledef, "homedecor_shower")
end
return itemstack
end,
on_destruct = function(pos)
homedecor.stop_particle_spawner(pos)
end
})
local bs_cbox = {
type = "fixed",
fixed = { -8/16, -8/16, 1/16, 8/16, 8/16, 8/16 }
}
homedecor.register("bathroom_set", {
drawtype = "mesh",
mesh = "homedecor_bathroom_set.obj",
tiles = {
"homedecor_bathroom_set_mirror.png",
"homedecor_bathroom_set_tray.png",
"homedecor_bathroom_set_toothbrush.png",
"homedecor_bathroom_set_cup.png",
"homedecor_bathroom_set_toothpaste.png",
},
inventory_image = "homedecor_bathroom_set_inv.png",
description = S("Bathroom sundries set"),
groups = {snappy=3},
selection_box = bs_cbox,
walkable = false,
sounds = default.node_sound_glass_defaults(),
})
minetest.register_alias("3dforniture:toilet", "homedecor:toilet")
minetest.register_alias("3dforniture:toilet_open", "homedecor:toilet_open")
minetest.register_alias("3dforniture:sink", "homedecor:sink")
minetest.register_alias("3dforniture:taps", "homedecor:taps")
minetest.register_alias("3dforniture:shower_tray", "homedecor:shower_tray")
minetest.register_alias("3dforniture:shower_head", "homedecor:shower_head")
minetest.register_alias("3dforniture:table_lamp", "homedecor:table_lamp_off")
minetest.register_alias("toilet", "homedecor:toilet")
minetest.register_alias("sink", "homedecor:sink")
minetest.register_alias("taps", "homedecor:taps")
minetest.register_alias("shower_tray", "homedecor:shower_tray")
minetest.register_alias("shower_head", "homedecor:shower_head")
minetest.register_alias("table_lamp", "homedecor:table_lamp_off")

View File

@ -1,214 +0,0 @@
local S, NS = homedecor.gettext, homedecor.ngettext
local function N_(x) return x end
local bedcolors = {
{ S("black"), "black", "#000000:200" }, --new cg72
{ S("brown"), "brown", "#603010:175" },
{ S("blue"), "blue", "#0000d0:150" },
{ S("cyan"), "cyan", "#009fa7:150" }, --new cg72
{ S("dark grey"), "darkgrey", "#101010:175" },
{ S("dark green"), "dark_green", "#007000:150" },
{ S("green"), "green", "#00d000:150" }, --new cg72
{ S("grey"), "grey", "#101010:100" }, --new cg72
{ S("magenta"), "magenta", "#e0048b:150" }, --new cg72
{ S("orange"), "orange", "#ff3000:150" },
{ S("pink"), "pink", "#ff80b0:150" },
{ S("red"), "red", "#d00000:150" },
{ S("violet"), "violet", "#7000e0:150" },
{ S("white"), "white", "#000000:000" }, --new cg72
{ S("yellow"), "yellow", "#ffe000:150" }
}
local bed_sbox = {
type = "fixed",
fixed = { -0.5, -0.5, -0.5, 0.5, 0.5, 1.5 }
}
local bed_cbox = {
type = "fixed",
fixed = {
{ -0.5, -0.5, -0.5, 0.5, -0.05, 1.5 },
{ -0.5, -0.5, 1.44, 0.5, 0.5, 1.5 },
{ -0.5, -0.5, -0.5, 0.5, 0.18, -0.44 },
}
}
local kbed_sbox = {
type = "fixed",
fixed = { -0.5, -0.5, -0.5, 1.5, 0.5, 1.5 }
}
local kbed_cbox = {
type = "fixed",
fixed = {
{ -0.5, -0.5, -0.5, 1.5, -0.05, 1.5 },
{ -0.5, -0.5, 1.44, 1.5, 0.5, 1.5 },
{ -0.5, -0.5, -0.5, 1.5, 0.18, -0.44 },
}
}
for _, c in ipairs(bedcolors) do
local colordesc, color, hue = unpack(c)
local color2=color
if color == "darkgrey" then
color2 = "dark_grey"
end
homedecor.register("bed_"..color.."_regular", {
mesh = "homedecor_bed_regular.obj",
tiles = {
"homedecor_bed_frame.png",
"default_wood.png",
"wool_white.png",
"wool_"..color2..".png",
"homedecor_bed_bottom.png",
"wool_"..color2..".png^[brighten", -- pillow
},
inventory_image = "homedecor_bed_inv.png^(homedecor_bed_overlay_inv.png^[colorize:"..hue..")",
description = S("Bed (@1)", colordesc),
groups = {snappy=3},
selection_box = bed_sbox,
collision_box = bed_cbox,
sounds = default.node_sound_wood_defaults(),
on_rotate = screwdriver.disallow,
after_place_node = function(pos, placer, itemstack, pointed_thing)
if not placer:get_player_control().sneak then
return homedecor.bed_expansion(pos, placer, itemstack, pointed_thing, color)
end
end,
after_dig_node = function(pos)
homedecor.unextend_bed(pos, color)
end,
on_rightclick = function(pos, node, clicker, itemstack, pointed_thing)
if minetest.get_modpath("beds") then
beds.on_rightclick(pos, clicker)
end
return itemstack
end
})
homedecor.register("bed_"..color.."_extended", {
mesh = "homedecor_bed_extended.obj",
tiles = {
"homedecor_bed_frame.png",
"default_wood.png",
"wool_white.png",
"wool_"..color2..".png",
"homedecor_bed_bottom.png",
"wool_"..color2..".png^[brighten",
},
selection_box = bed_sbox,
collision_box = bed_cbox,
sounds = default.node_sound_wood_defaults(),
expand = { forward = "air" },
on_rotate = screwdriver.disallow,
after_dig_node = function(pos)
homedecor.unextend_bed(pos, color)
end,
on_rightclick = function(pos, node, clicker, itemstack, pointed_thing)
if minetest.get_modpath("beds") then
beds.on_rightclick(pos, clicker)
end
return itemstack
end,
drop = "homedecor:bed_"..color.."_regular"
})
homedecor.register("bed_"..color.."_kingsize", {
mesh = "homedecor_bed_kingsize.obj",
tiles = {
"homedecor_bed_frame.png",
"default_wood.png",
"wool_white.png",
"wool_"..color2..".png",
"homedecor_bed_bottom.png",
"wool_"..color2..".png^[brighten",
},
inventory_image = "homedecor_bed_kingsize_inv.png^(homedecor_bed_kingsize_overlay_inv.png^[colorize:"..hue..")",
groups = {snappy=3, not_in_creative_inventory=1},
description = S("Bed (@1, king sized)", colordesc),
groups = {snappy=3, not_in_creative_inventory=1},
selection_box = kbed_sbox,
collision_box = kbed_cbox,
sounds = default.node_sound_wood_defaults(),
on_rotate = screwdriver.disallow,
after_dig_node = function(pos, oldnode, oldmetadata, digger)
local inv = digger:get_inventory()
if digger:get_player_control().sneak and inv:room_for_item("main", "bed_"..color.."_regular 1") then
inv:remove_item("main", "homedecor:bed_"..color.."_kingsize 1")
inv:add_item("main", "homedecor:bed_"..color.."_regular 2")
end
end,
on_rightclick = function(pos, node, clicker, itemstack, pointed_thing)
if minetest.get_modpath("beds") then
beds.on_rightclick(pos, clicker)
end
return itemstack
end
})
minetest.register_alias("homedecor:bed_"..color.."_foot", "homedecor:bed_"..color.."_regular")
minetest.register_alias("homedecor:bed_"..color.."_footext", "homedecor:bed_"..color.."_extended")
minetest.register_alias("homedecor:bed_"..color.."_head", "air")
end
for _, w in pairs({ N_("mahogany"), N_("oak") }) do
homedecor.register("nightstand_"..w.."_one_drawer", {
description = S("Nightstand with One Drawer (@1)", S(w)),
tiles = { 'homedecor_nightstand_'..w..'_tb.png',
'homedecor_nightstand_'..w..'_tb.png^[transformFY',
'homedecor_nightstand_'..w..'_lr.png^[transformFX',
'homedecor_nightstand_'..w..'_lr.png',
'homedecor_nightstand_'..w..'_back.png',
'homedecor_nightstand_'..w..'_1_drawer_front.png'},
node_box = {
type = "fixed",
fixed = {
{ -8/16, 0, -30/64, 8/16, 8/16, 8/16 }, -- top half
{ -7/16, 1/16, -32/64, 7/16, 7/16, -29/64}, -- drawer face
{ -8/16, -8/16, -30/64, -7/16, 0, 8/16 }, -- left
{ 7/16, -8/16, -30/64, 8/16, 0, 8/16 }, -- right
{ -8/16, -8/16, 7/16, 8/16, 0, 8/16 }, -- back
{ -8/16, -8/16, -30/64, 8/16, -7/16, 8/16 } -- bottom
}
},
groups = { snappy = 3 },
sounds = default.node_sound_wood_defaults(),
selection_box = { type = "regular" },
infotext=S("One-drawer Nightstand"),
inventory = {
size=8,
lockable=true,
},
})
homedecor.register("nightstand_"..w.."_two_drawers", {
description = S("Nightstand with Two Drawers (@1)", S(w)),
tiles = { 'homedecor_nightstand_'..w..'_tb.png',
'homedecor_nightstand_'..w..'_tb.png^[transformFY',
'homedecor_nightstand_'..w..'_lr.png^[transformFX',
'homedecor_nightstand_'..w..'_lr.png',
'homedecor_nightstand_'..w..'_back.png',
'homedecor_nightstand_'..w..'_2_drawer_front.png'},
node_box = {
type = "fixed",
fixed = {
{ -8/16, -8/16, -30/64, 8/16, 8/16, 8/16 }, -- main body
{ -7/16, 1/16, -32/64, 7/16, 7/16, -29/64 }, -- top drawer face
{ -7/16, -7/16, -32/64, 7/16, -1/16, -29/64 }, -- bottom drawer face
}
},
groups = { snappy = 3 },
sounds = default.node_sound_wood_defaults(),
selection_box = { type = "regular" },
infotext=S("Two-drawer Nightstand"),
inventory = {
size=16,
lockable=true,
},
})
end

View File

@ -1,99 +0,0 @@
local clock_sbox = {
type = "fixed",
fixed = { -8/32, -8/32, 14/32, 8/32, 8/32, 16/32 }
}
local clock_materials = {
{ "plastic", "homedecor_generic_plastic_black.png^[colorize:#ffffff:220" },
{ "wood", "default_wood.png" }
}
for i in ipairs(clock_materials) do
local m1 = clock_materials[i][1]
local m2 = clock_materials[i][2]
homedecor.register("analog_clock_"..m1, {
description = "Analog clock ("..m1..")",
mesh = "homedecor_analog_clock.obj",
tiles = {
"homedecor_analog_clock_face.png",
m2,
"homedecor_analog_clock_back.png"
},
inventory_image = "homedecor_analog_clock_"..m1.."_inv.png",
walkable = false,
selection_box = clock_sbox,
groups = {snappy=3},
sounds = default.node_sound_wood_defaults(),
})
end
homedecor.register("digital_clock", {
description = "Digital clock",
tiles = {
"homedecor_digital_clock_edges.png",
"homedecor_digital_clock_edges.png",
"homedecor_digital_clock_edges.png",
"homedecor_digital_clock_edges.png",
"homedecor_digital_clock_back.png",
"homedecor_digital_clock_front.png"
},
inventory_image = "homedecor_digital_clock_inv.png",
node_box = {
type = "fixed",
fixed = {
{-0.28125, -0.25, 0.4375, 0.3125, 0.25, 0.5},
}
},
walkable = false,
sounds = default.node_sound_wood_defaults(),
groups = {snappy=3},
})
homedecor.register("alarm_clock", {
description = "Alarm clock",
tiles = {
"homedecor_alarm_clock_top.png",
"homedecor_alarm_clock_bottom.png",
"homedecor_alarm_clock_sides.png",
"homedecor_alarm_clock_sides.png^[transformFX",
"homedecor_alarm_clock_back.png",
"homedecor_alarm_clock_front.png"
},
inventory_image = "homedecor_alarm_clock_inv.png",
node_box = {
type = "fixed",
fixed = {
{ -9/32, -16/32, 7/32, 10/32, -5/32, 16/32 },
}
},
walkable = false,
sounds = default.node_sound_wood_defaults(),
groups = {snappy=3},
})
local gf_cbox = {
type = "fixed",
fixed = { -7/16, -8/16, -7/16, 7/16, 24/16, 7/16 }
}
homedecor.register("grandfather_clock", {
description = "Grandfather Clock",
mesh = "homedecor_grandfather_clock.obj",
tiles = {
"default_glass.png",
"homedecor_grandfather_clock_face.png",
"homedecor_generic_wood_luxury.png",
"homedecor_grandfather_clock_face_edge.png",
"homedecor_generic_metal_brass.png"
},
inventory_image = "homedecor_grandfather_clock_inv.png",
groups = { snappy = 3 },
selection_box = gf_cbox,
collision_box = gf_cbox,
sounds = default.node_sound_wood_defaults(),
expand = { top="placeholder" },
on_rotate = screwdriver.rotate_simple
})
minetest.register_alias("homedecor:grandfather_clock_bottom", "homedecor:grandfather_clock")
minetest.register_alias("homedecor:grandfather_clock_top", "air")

View File

@ -1,18 +0,0 @@
Most code and all textures by Vanessa Ezekowitz.
Some code copied and modified from the game's default mods (especially
doors) and ironzorg's flowers mod.
Licenses:
* For the lua code, LGPL.
* For the door open/close sound, CC-By-SA 3.0 by Slanesh on freesound.org
http://freesound.org/people/Slanesh/sounds/31768/
* For the gate open/close sound, CC0, by j1987 on freesound.org
http://freesound.org/people/j1987/sounds/106116/
* For the doorbell sound, CC0 by guitarguy1985 on freesound.org
http://freesound.org/people/guitarguy1985/sounds/69384/
* For the book sound, Public Domain by mckinneysound's on http://www.freesfx.co.uk/
http://www.freesfx.co.uk/sfx/book?p=3
* For the phone ring, Public Domain by andyt's on http://www.freesfx.co.uk/
http://www.freesfx.co.uk/sfx/phone?p=5
* For all images and everything else, WTFPL.

File diff suppressed because it is too large Load Diff

View File

@ -1,12 +0,0 @@
default
building_blocks?
signs_lib?
moreblocks?
technic?
dye?
bees?
intllib?
bucket?
beds?
flowers?
3d_armor?

View File

@ -1,157 +0,0 @@
-- Various home electronics
local S = homedecor.gettext
homedecor.register("speaker", {
description = S("Large Stereo Speaker"),
mesh="homedecor_speaker_large.obj",
tiles = {
"homedecor_speaker_sides.png",
"homedecor_speaker_front.png"
},
groups = { snappy = 3 },
sounds = default.node_sound_wood_defaults(),
on_punch = function(pos, node, puncher, pointed_thing)
minetest.set_node(pos, {name = "homedecor:speaker_open", param2 = node.param2})
end
})
homedecor.register("speaker_open", {
description = S("Large Stereo Speaker, open front"),
mesh="homedecor_speaker_large_open.obj",
tiles = {
"homedecor_speaker_sides.png",
"homedecor_speaker_driver.png",
"homedecor_speaker_open_front.png",
"homedecor_generic_metal_black.png"
},
groups = { snappy = 3, not_in_creative_inventory=1 },
sounds = default.node_sound_wood_defaults(),
on_punch = function(pos, node, puncher, pointed_thing)
minetest.set_node(pos, {name = "homedecor:speaker", param2 = node.param2})
end
})
local spk_cbox = {
type = "fixed",
fixed = { -3/16, -8/16, 1/16, 3/16, -2/16, 7/16 }
}
homedecor.register("speaker_small", {
description = S("Small Surround Speaker"),
mesh="homedecor_speaker_small.obj",
tiles = {
"homedecor_speaker_sides.png",
"homedecor_speaker_front.png"
},
selection_box = spk_cbox,
walkable = false,
groups = { snappy = 3 },
sounds = default.node_sound_wood_defaults(),
})
homedecor.register("stereo", {
description = S("Stereo Receiver"),
tiles = { 'homedecor_stereo_top.png',
'homedecor_stereo_bottom.png',
'homedecor_stereo_left.png^[transformFX',
'homedecor_stereo_left.png',
'homedecor_stereo_back.png',
'homedecor_stereo_front.png'},
groups = { snappy = 3 },
sounds = default.node_sound_wood_defaults(),
})
homedecor.register("projection_screen", {
description = S("Projection Screen Material"),
drawtype = 'signlike',
tiles = { 'homedecor_projection_screen.png' },
wield_image = 'homedecor_projection_screen_inv.png',
inventory_image = 'homedecor_projection_screen_inv.png',
walkable = false,
groups = { snappy = 3 },
sounds = default.node_sound_leaves_defaults(),
paramtype2 = 'wallmounted',
selection_box = {
type = "wallmounted",
--wall_side = = <default>
},
})
homedecor.register("television", {
description = S("Small CRT Television"),
tiles = { 'homedecor_television_top.png',
'homedecor_television_bottom.png',
'homedecor_television_left.png^[transformFX',
'homedecor_television_left.png',
'homedecor_television_back.png',
{ name="homedecor_television_front_animated.png",
animation={
type="vertical_frames",
aspect_w=16,
aspect_h=16,
length=80.0
}
}
},
light_source = default.LIGHT_MAX - 1,
groups = { snappy = 3 },
sounds = default.node_sound_wood_defaults(),
})
homedecor.register("dvd_vcr", {
description = S("DVD and VCR"),
tiles = {
"homedecor_dvdvcr_top.png",
"homedecor_dvdvcr_bottom.png",
"homedecor_dvdvcr_sides.png",
"homedecor_dvdvcr_sides.png^[transformFX",
"homedecor_dvdvcr_back.png",
"homedecor_dvdvcr_front.png",
},
inventory_image = "homedecor_dvdvcr_inv.png",
node_box = {
type = "fixed",
fixed = {
{-0.3125, -0.5, -0.25, 0.3125, -0.375, 0.1875},
{-0.25, -0.5, -0.25, 0.25, -0.1875, 0.125},
}
},
groups = { snappy = 3 },
sounds = default.node_sound_wood_defaults(),
})
local tel_cbox = {
type = "fixed",
fixed = { -0.25, -0.5, -0.1875, 0.25, -0.21, 0.15 }
}
homedecor.register("telephone", {
mesh = "homedecor_telephone.obj",
tiles = {
"homedecor_telephone_dial.png",
"homedecor_telephone_base.png",
"homedecor_telephone_handset.png",
"homedecor_telephone_cord.png",
},
inventory_image = "homedecor_telephone_inv.png",
description = S("Telephone"),
groups = {snappy=3},
selection_box = tel_cbox,
walkable = false,
sounds = default.node_sound_wood_defaults(),
})
minetest.register_abm({
nodenames = "homedecor:telephone",
label = "sfx",
interval = 30,
chance = 15,
action = function(pos, node)
minetest.sound_play("homedecor_telephone_ringing", {
pos = pos,
gain = 1.0,
max_hear_distance = 5
})
end
})

View File

@ -1,162 +0,0 @@
local S = homedecor.gettext
local table_colors = {
{ "", S("Table"), homedecor.plain_wood },
{ "_mahogany", S("Mahogany Table"), homedecor.mahogany_wood },
{ "_white", S("White Table"), homedecor.white_wood }
}
for _, t in ipairs(table_colors) do
local suffix, desc, texture = unpack(t)
homedecor.register("table"..suffix, {
description = desc,
tiles = { texture },
node_box = {
type = "fixed",
fixed = {
{ -0.4, -0.5, -0.4, -0.3, 0.4, -0.3 },
{ 0.3, -0.5, -0.4, 0.4, 0.4, -0.3 },
{ -0.4, -0.5, 0.3, -0.3, 0.4, 0.4 },
{ 0.3, -0.5, 0.3, 0.4, 0.4, 0.4 },
{ -0.5, 0.4, -0.5, 0.5, 0.5, 0.5 },
{ -0.4, -0.2, -0.3, -0.3, -0.1, 0.3 },
{ 0.3, -0.2, -0.4, 0.4, -0.1, 0.3 },
{ -0.3, -0.2, -0.4, 0.4, -0.1, -0.3 },
{ -0.3, -0.2, 0.3, 0.3, -0.1, 0.4 },
},
},
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2},
sounds = default.node_sound_wood_defaults(),
})
end
local chaircolors = {
{ "", S("plain") },
{ "black", S("black") },
{ "red", S("red") },
{ "pink", S("pink") },
{ "violet", S("violet") },
{ "blue", S("blue") },
{ "dark_green", S("dark green") },
}
local kc_cbox = {
type = "fixed",
fixed = { -0.3125, -0.5, -0.3125, 0.3125, 0.5, 0.3125 },
}
local ac_cbox = {
type = "fixed",
fixed = {
{-0.5, -0.5, -0.5, 0.5, 0, 0.5 },
{-0.5, -0.5, 0.4, 0.5, 0.5, 0.5 }
}
}
for _, t in ipairs(chaircolors) do
local woolcolor, colordesc = unpack(t)
local color = woolcolor
local chairtiles
if woolcolor == "" then
chairtiles = {
homedecor.plain_wood,
homedecor.plain_wood
}
else
color = "_"..woolcolor
chairtiles = {
homedecor.plain_wood,
"wool"..color..".png",
}
end
homedecor.register("chair"..color, {
description = S("Kitchen chair (@1)", colordesc),
mesh = "homedecor_kitchen_chair.obj",
tiles = chairtiles,
selection_box = kc_cbox,
collision_box = kc_cbox,
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2},
sounds = default.node_sound_wood_defaults(),
on_rightclick = function(pos, node, clicker, itemstack, pointed_thing)
pos.y = pos.y+0 -- where do I put my ass ?
homedecor.sit(pos, node, clicker)
return itemstack
end
})
if color ~= "" then
homedecor.register("armchair"..color, {
description = S("Armchair (@1)", colordesc),
mesh = "forniture_armchair.obj",
tiles = {
"wool"..color..".png",
"wool_dark_grey.png",
"default_wood.png"
},
groups = {snappy=3},
sounds = default.node_sound_wood_defaults(),
node_box = ac_cbox
})
minetest.register_craft({
output = "homedecor:armchair"..color.." 2",
recipe = {
{ "wool:"..woolcolor,""},
{ "group:wood","group:wood" },
{ "wool:"..woolcolor,"wool:"..woolcolor },
},
})
end
end
local ob_cbox = {
type = "fixed",
fixed = { -0.5, -0.5, 0, 0.5, 0.5, 0.5 }
}
minetest.register_node(":homedecor:openframe_bookshelf", {
description = S("Bookshelf (open-frame)"),
drawtype = "mesh",
mesh = "homedecor_openframe_bookshelf.obj",
tiles = {
"homedecor_openframe_bookshelf_books.png",
"default_wood.png"
},
groups = {choppy=3,oddly_breakable_by_hand=2,flammable=3},
sounds = default.node_sound_wood_defaults(),
paramtype = "light",
paramtype2 = "facedir",
selection_box = ob_cbox,
collision_box = ob_cbox,
})
homedecor.register("wall_shelf", {
description = S("Wall Shelf"),
tiles = {
"homedecor_wood_table_large_edges.png",
},
groups = { snappy = 3 },
sounds = default.node_sound_wood_defaults(),
node_box = {
type = "fixed",
fixed = {
{-0.5, 0.4, 0.47, 0.5, 0.47, 0.5},
{-0.5, 0.47, -0.1875, 0.5, 0.5, 0.5}
}
}
})
-- Aliases for 3dforniture mod.
minetest.register_alias("3dforniture:table", "homedecor:table")
minetest.register_alias("3dforniture:chair", "homedecor:chair")
minetest.register_alias("3dforniture:armchair", "homedecor:armchair_black")
minetest.register_alias("homedecor:armchair", "homedecor:armchair_black")
minetest.register_alias('table', 'homedecor:table')
minetest.register_alias('chair', 'homedecor:chair')
minetest.register_alias('armchair', 'homedecor:armchair')

View File

@ -1,262 +0,0 @@
minetest.register_craft({
output = "homedecor:table", "homedecor:chair 2",
recipe = {
{ "group:wood","group:wood", "group:wood" },
{ "group:stick", "", "group:stick" },
},
})
minetest.register_craft({
type = "shapeless",
output = "homedecor:table_mahogany",
recipe = {
"homedecor:table",
"dye:brown",
},
})
minetest.register_craft({
type = "shapeless",
output = "homedecor:table_mahogany",
recipe = {
"homedecor:table",
"unifieddyes:dark_orange",
},
})
minetest.register_craft({
type = "shapeless",
output = "homedecor:table_white",
recipe = {
"homedecor:table",
"dye:white",
},
})
minetest.register_craft({
type = "fuel",
recipe = "homedecor:table",
burntime = 30,
})
minetest.register_craft({
type = "fuel",
recipe = "homedecor:table_mahogany",
burntime = 30,
})
minetest.register_craft({
type = "fuel",
recipe = "homedecor:table_white",
burntime = 30,
})
minetest.register_craft({
output = "homedecor:chair 2",
recipe = {
{ "group:stick",""},
{ "group:wood","group:wood" },
{ "group:stick","group:stick" },
},
})
minetest.register_craft({
type = "fuel",
recipe = "homedecor:chair",
burntime = 15,
})
local chaircolors = { "black", "red", "pink", "violet", "blue", "dark_green" }
for _, color in ipairs(chaircolors) do
minetest.register_craft({
type = "shapeless",
output = "homedecor:chair_"..color,
recipe = {
"homedecor:chair",
"wool:white",
"dye:"..color
},
})
minetest.register_craft({
type = "shapeless",
output = "homedecor:chair_"..color,
recipe = {
"homedecor:chair",
"wool:"..color
},
})
minetest.register_craft({
type = "fuel",
recipe = "homedecor:chair_"..color,
burntime = 15,
})
end
minetest.register_craft({
type = "fuel",
recipe = "homedecor:armchair",
burntime = 30,
})
minetest.register_craft({
output = "homedecor:table_lamp_white_off",
recipe = {
{"default:paper","default:torch" ,"default:paper"},
{"","group:stick",""},
{"","stairs:slab_wood",""},
},
})
minetest.register_craft({
output = "homedecor:table_lamp_white_off",
recipe = {
{"default:paper","default:torch" ,"default:paper"},
{"","group:stick",""},
{"","moreblocks:slab_wood",""},
},
})
minetest.register_craft({
output = "homedecor:standing_lamp_white_off",
recipe = {
{"homedecor:table_lamp_white_off"},
{"group:stick"},
{"group:stick"},
},
})
minetest.register_craft({
type = "fuel",
recipe = "homedecor:table_lamp_white_off",
burntime = 10,
})
local lamp_colors = { "blue", "green", "pink", "red", "violet" }
for _, color in ipairs(lamp_colors) do
minetest.register_craft({
output = "homedecor:table_lamp_"..color.."_off",
recipe = {
{"wool:"..color,"default:torch" ,"wool:"..color},
{"","group:stick",""},
{"","stairs:slab_wood",""},
},
})
minetest.register_craft({
output = "homedecor:table_lamp_"..color.."_off",
recipe = {
{"wool:"..color,"default:torch" ,"wool:"..color},
{"","group:stick",""},
{"","moreblocks:slab_wood",""},
},
})
minetest.register_craft({
type = "shapeless",
output = "homedecor:table_lamp_"..color.."_off",
recipe = {
"dye:"..color,
"homedecor:table_lamp_off",
},
})
minetest.register_craft({
type = "fuel",
recipe = "homedecor:table_lamp_"..color.."_off",
burntime = 10,
})
minetest.register_craft({
output = "homedecor:standing_lamp_"..color.."_off",
recipe = {
{"homedecor:table_lamp_"..color.."_off"},
{"group:stick"},
{"group:stick"},
},
})
minetest.register_craft({
type = "shapeless",
output = "homedecor:standing_lamp_"..color.."_off",
recipe = {
"homedecor:standing_lamp_off",
"dye:"..color
},
})
end
minetest.register_craft({
output = "homedecor:toilet",
recipe = {
{"","","bucket:bucket_water"},
{ "group:marble","group:marble", "group:marble" },
{ "", "bucket:bucket_empty", "" },
},
})
minetest.register_craft({
output = "homedecor:sink",
recipe = {
{ "group:marble","bucket:bucket_empty", "group:marble" },
},
})
minetest.register_craft({
output = "homedecor:taps",
recipe = {
{ "default:steel_ingot","bucket:bucket_water", "default:steel_ingot" },
},
})
minetest.register_craft({
output = "homedecor:taps_brass",
recipe = {
{ "technic:brass_ingot","bucket:bucket_water", "technic:brass_ingot" },
},
})
minetest.register_craft({
output = "homedecor:shower_tray",
recipe = {
{ "group:marble","bucket:bucket_water", "group:marble" },
},
})
minetest.register_craft({
output = "homedecor:shower_head",
recipe = {
{"default:steel_ingot", "bucket:bucket_water"},
},
})
minetest.register_craft({
output = "homedecor:bars 6",
recipe = {
{ "default:steel_ingot","default:steel_ingot","default:steel_ingot" },
{ "homedecor:pole_wrought_iron","homedecor:pole_wrought_iron","homedecor:pole_wrought_iron" },
},
})
minetest.register_craft({
output = "homedecor:L_binding_bars 3",
recipe = {
{ "homedecor:bars","" },
{ "homedecor:bars","homedecor:bars" },
},
})
minetest.register_craft({
output = "homedecor:torch_wall 10",
recipe = {
{ "default:coal_lump" },
{ "default:steel_ingot" },
},
})

View File

@ -1,207 +0,0 @@
local cutlery_cbox = {
type = "fixed",
fixed = {
{ -5/16, -8/16, -6/16, 5/16, -7/16, 2/16 },
{ -2/16, -8/16, 2/16, 2/16, -4/16, 6/16 }
}
}
homedecor.register("cutlery_set", {
drawtype = "mesh",
mesh = "homedecor_cutlery_set.obj",
tiles = { "homedecor_cutlery_set.png" },
inventory_image = "homedecor_cutlery_set_inv.png",
description = "Cutlery set",
groups = {snappy=3},
selection_box = cutlery_cbox,
walkable = false,
sounds = default.node_sound_glass_defaults(),
})
local bottle_cbox = {
type = "fixed",
fixed = {
{ -0.125, -0.5, -0.125, 0.125, 0, 0.125}
}
}
local fbottle_cbox = {
type = "fixed",
fixed = {
{ -0.375, -0.5, -0.3125, 0.375, 0, 0.3125 }
}
}
local bottle_colors = {"brown", "green"}
for _, b in ipairs(bottle_colors) do
homedecor.register("bottle_"..b, {
tiles = { "homedecor_bottle_"..b..".png" },
inventory_image = "homedecor_bottle_"..b.."_inv.png",
description = "Bottle ("..b..")",
mesh = "homedecor_bottle.obj",
walkable = false,
groups = {snappy=3},
sounds = default.node_sound_glass_defaults(),
selection_box = bottle_cbox
})
-- 4-bottle sets
homedecor.register("4_bottles_"..b, {
tiles = {
"homedecor_bottle_"..b..".png",
"homedecor_bottle_"..b..".png"
},
inventory_image = "homedecor_4_bottles_"..b.."_inv.png",
description = "Four "..b.." bottles",
mesh = "homedecor_4_bottles.obj",
walkable = false,
groups = {snappy=3},
sounds = default.node_sound_glass_defaults(),
selection_box = fbottle_cbox
})
end
homedecor.register("4_bottles_multi", {
tiles = {
"homedecor_bottle_brown.png",
"homedecor_bottle_green.png"
},
inventory_image = "homedecor_4_bottles_multi_inv.png",
description = "Four misc brown/green bottles",
mesh = "homedecor_4_bottles.obj",
groups = {snappy=3},
walkable = false,
sounds = default.node_sound_glass_defaults(),
selection_box = fbottle_cbox
})
local wine_cbox = homedecor.nodebox.slab_z(-0.75)
homedecor.register("wine_rack", {
description = "Wine Rack",
mesh = "homedecor_wine_rack.obj",
tiles = {
"homedecor_generic_wood_red.png",
"homedecor_bottle_brown.png",
"homedecor_bottle_brown2.png",
"homedecor_bottle_brown3.png",
"homedecor_bottle_brown4.png"
},
inventory_image = "homedecor_wine_rack_inv.png",
groups = {choppy=2},
selection_box = wine_cbox,
collision_box = wine_cbox,
sounds = default.node_sound_defaults(),
})
homedecor.register("dartboard", {
description = "Dartboard",
mesh = "homedecor_dartboard.obj",
tiles = { "homedecor_dartboard.png" },
inventory_image = "homedecor_dartboard_inv.png",
wield_image = "homedecor_dartboard_inv.png",
paramtype2 = "wallmounted",
walkable = false,
selection_box = {
type = "wallmounted",
},
groups = {choppy=2,dig_immediate=2,attached_node=1},
legacy_wallmounted = true,
sounds = default.node_sound_wood_defaults(),
})
homedecor.register("beer_tap", {
description = "Beer tap",
mesh = "homedecor_beer_taps.obj",
tiles = {
"homedecor_generic_metal_bright.png",
"homedecor_generic_metal_black.png",
},
inventory_image = "homedecor_beertap_inv.png",
groups = { snappy=3 },
walkable = false,
selection_box = {
type = "fixed",
fixed = { -0.25, -0.5, -0.4375, 0.25, 0.235, 0 }
},
on_punch = function(pos, node, puncher, pointed_thing)
local wielditem = puncher:get_wielded_item()
local inv = puncher:get_inventory()
local wieldname = wielditem:get_name()
if wieldname == "vessels:drinking_glass" then
if inv:room_for_item("main", "homedecor:beer_mug 1") then
wielditem:take_item()
puncher:set_wielded_item(wielditem)
inv:add_item("main", "homedecor:beer_mug 1")
minetest.chat_send_player(puncher:get_player_name(), "Ahh, a frosty cold beer - look in your inventory for it!")
else
minetest.chat_send_player(puncher:get_player_name(), "No room in your inventory to add a beer mug!")
end
end
end
})
minetest.register_craft({
output = "homedecor:beer_tap",
recipe = {
{ "group:stick","default:steel_ingot","group:stick" },
{ "homedecor:kitchen_faucet","default:steel_ingot","homedecor:kitchen_faucet" },
{ "default:steel_ingot","default:steel_ingot","default:steel_ingot" }
},
})
local beer_cbox = {
type = "fixed",
fixed = { -5/32, -8/16, -9/32 , 7/32, -2/16, 1/32 }
}
homedecor.register("beer_mug", {
description = "Beer mug",
drawtype = "mesh",
mesh = "homedecor_beer_mug.obj",
tiles = { "homedecor_beer_mug.png" },
inventory_image = "homedecor_beer_mug_inv.png",
groups = { snappy=3, oddly_breakable_by_hand=3 },
walkable = false,
sounds = default.node_sound_glass_defaults(),
selection_box = beer_cbox,
on_use = minetest.item_eat(2)
})
local svm_cbox = {
type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, 1.5, 0.5}
}
homedecor.register("soda_machine", {
description = "Soda Vending Machine",
mesh = "homedecor_soda_machine.obj",
tiles = {"homedecor_soda_machine.png"},
groups = {snappy=3},
selection_box = svm_cbox,
collision_box = svm_cbox,
expand = { top="placeholder" },
sounds = default.node_sound_wood_defaults(),
on_rotate = screwdriver.rotate_simple,
on_punch = function(pos, node, puncher, pointed_thing)
local wielditem = puncher:get_wielded_item()
local wieldname = wielditem:get_name()
local fdir_to_fwd = { {0, -1}, {-1, 0}, {0, 1}, {1, 0} }
local fdir = node.param2
local pos_drop = { x=pos.x+fdir_to_fwd[fdir+1][1], y=pos.y, z=pos.z+fdir_to_fwd[fdir+1][2] }
if wieldname == "homedecor:coin" then
wielditem:take_item()
puncher:set_wielded_item(wielditem)
minetest.spawn_item(pos_drop, "homedecor:soda_can")
minetest.sound_play("insert_coin", {
pos=pos, max_hear_distance = 5
})
else
minetest.chat_send_player(puncher:get_player_name(), "Please insert a coin in the machine.")
end
end
})

View File

@ -1,22 +0,0 @@
local handlerpath = homedecor.modpath .. "/handlers/"
-- nodebox arithmetics and helpers
-- (please keep non-generic nodeboxes with their node definition)
dofile(handlerpath.."nodeboxes.lua")
-- expand and unexpand decor
dofile(handlerpath.."expansion.lua")
-- register nodes that cook stuff
dofile(handlerpath.."furnaces.lua")
-- inventory related functionality, like initialization, ownership and spawning locked versions
dofile(handlerpath.."inventory.lua")
-- glue it all together into a registration function
dofile(handlerpath.."registration.lua")
-- some nodes have particle spawners
dofile(handlerpath.."water_particles.lua")
dofile(handlerpath.."sit.lua")

View File

@ -1,133 +0,0 @@
-- Home Decor mod by VanessaE
--
-- Mostly my own code, with bits and pieces lifted from Minetest's default
-- lua files and from ironzorg's flowers mod. Many thanks to GloopMaster
-- for helping me figure out the inventories used in the nightstands/dressers.
--
-- The code for ovens, nightstands, refrigerators are basically modified
-- copies of the code for chests and furnaces.
local modpath = minetest.get_modpath("homedecor")
-- Load support for intllib.
local S, NS = dofile(modpath.."/intllib.lua")
homedecor = {
modpath = modpath,
gettext = S,
ngettext = NS,
-- infinite stacks
expect_infinite_stacks = minetest.setting_getbool("creative_mode") and not minetest.get_modpath("unified_inventory")
}
-- Determine if the item being pointed at is the underside of a node (e.g a ceiling)
function homedecor.find_ceiling(itemstack, placer, pointed_thing)
-- most of this is copied from the rotate-and-place function in builtin
local unode = core.get_node_or_nil(pointed_thing.under)
if not unode then
return
end
local undef = core.registered_nodes[unode.name]
if undef and undef.on_rightclick then
undef.on_rightclick(pointed_thing.under, unode, placer,
itemstack, pointed_thing)
return
end
local above = pointed_thing.above
local under = pointed_thing.under
local iswall = (above.y == under.y)
local isceiling = not iswall and (above.y < under.y)
local anode = core.get_node_or_nil(above)
if not anode then
return
end
local pos = pointed_thing.above
local node = anode
if undef and undef.buildable_to then
pos = pointed_thing.under
node = unode
end
if core.is_protected(pos, placer:get_player_name()) then
core.record_protection_violation(pos,
placer:get_player_name())
return
end
local ndef = core.registered_nodes[node.name]
if not ndef or not ndef.buildable_to then
return
end
return isceiling, pos
end
screwdriver = screwdriver or {}
homedecor.plain_wood = "homedecor_generic_wood_plain.png^"..
"(homedecor_generic_wood_boards_overlay.png^[colorize:#a7682020:100)"
homedecor.mahogany_wood = "(homedecor_generic_wood_plain.png^[colorize:#401010:125)^"..
"(homedecor_generic_wood_boards_overlay.png^[colorize:#66493880:200)"
homedecor.white_wood = "(homedecor_generic_wood_plain.png^[colorize:#e0f0ff:200)^"..
"(homedecor_generic_wood_boards_overlay.png^[colorize:#ffffff:200)"
homedecor.dark_wood = "(homedecor_generic_wood_plain.png^[colorize:#140900:200)^"..
"(homedecor_generic_wood_boards_overlay.png^[colorize:#21110180:180)"
-- load different handler subsystems
dofile(modpath.."/handlers/init.lua")
-- load various other components
dofile(modpath.."/misc-nodes.lua") -- the catch-all for all misc nodes
dofile(modpath.."/tables.lua")
dofile(modpath.."/electronics.lua")
dofile(modpath.."/shutters.lua")
dofile(modpath.."/roofing.lua")
dofile(modpath.."/foyer.lua")
dofile(modpath.."/doors_and_gates.lua")
dofile(modpath.."/fences.lua")
dofile(modpath.."/lighting.lua")
dofile(modpath.."/kitchen_appliances.lua")
dofile(modpath.."/kitchen_furniture.lua")
dofile(modpath.."/gastronomy.lua")
dofile(modpath.."/bathroom_furniture.lua")
dofile(modpath.."/bathroom_sanitation.lua")
dofile(modpath.."/bedroom.lua")
dofile(modpath.."/laundry.lua")
dofile(modpath.."/office.lua")
dofile(modpath.."/clocks.lua")
dofile(modpath.."/electrics.lua")
dofile(modpath.."/window_treatments.lua")
dofile(modpath.."/furniture.lua")
dofile(modpath.."/furniture_medieval.lua")
dofile(modpath.."/furniture_recipes.lua")
dofile(modpath.."/climate-control.lua")
dofile(modpath.."/cobweb.lua")
dofile(modpath.."/books.lua")
dofile(modpath.."/exterior.lua")
dofile(modpath.."/trash_cans.lua")
dofile(modpath.."/wardrobe.lua")
dofile(modpath.."/crafts.lua")
print("[HomeDecor] " .. S("Loaded!"))

View File

@ -1,256 +0,0 @@
-- This file supplies refrigerators
local S = homedecor.gettext
local function N_(x) return x end
-- steel-textured fridge
homedecor.register("refrigerator_steel", {
mesh = "homedecor_refrigerator.obj",
tiles = { "homedecor_refrigerator_steel.png" },
inventory_image = "homedecor_refrigerator_steel_inv.png",
description = S("Refrigerator (stainless steel)"),
groups = {snappy=3},
sounds = default.node_sound_stone_defaults(),
selection_box = homedecor.nodebox.slab_y(2),
collision_box = homedecor.nodebox.slab_y(2),
expand = { top="placeholder" },
infotext=S("Refrigerator"),
inventory = {
size=50,
lockable=true,
},
on_rotate = screwdriver.rotate_simple
})
-- white, enameled fridge
homedecor.register("refrigerator_white", {
mesh = "homedecor_refrigerator.obj",
tiles = { "homedecor_refrigerator_white.png" },
inventory_image = "homedecor_refrigerator_white_inv.png",
description = S("Refrigerator"),
groups = {snappy=3},
selection_box = homedecor.nodebox.slab_y(2),
collision_box = homedecor.nodebox.slab_y(2),
sounds = default.node_sound_stone_defaults(),
expand = { top="placeholder" },
infotext=S("Refrigerator"),
inventory = {
size=50,
lockable=true,
},
on_rotate = screwdriver.rotate_simple
})
minetest.register_alias("homedecor:refrigerator_white_bottom", "homedecor:refrigerator_white")
minetest.register_alias("homedecor:refrigerator_white_top", "air")
minetest.register_alias("homedecor:refrigerator_steel_bottom", "homedecor:refrigerator_steel")
minetest.register_alias("homedecor:refrigerator_steel_top", "air")
minetest.register_alias("homedecor:refrigerator_white_bottom_locked", "homedecor:refrigerator_white_locked")
minetest.register_alias("homedecor:refrigerator_white_top_locked", "air")
minetest.register_alias("homedecor:refrigerator_locked", "homedecor:refrigerator_white_locked")
minetest.register_alias("homedecor:refrigerator_steel_bottom_locked", "homedecor:refrigerator_steel_locked")
minetest.register_alias("homedecor:refrigerator_steel_top_locked", "air")
-- kitchen "furnaces"
homedecor.register_furnace("oven", {
description = S("Oven"),
tile_format = "homedecor_oven_%s%s.png",
output_slots = 4,
output_width = 2,
cook_speed = 1.25,
})
homedecor.register_furnace("oven_steel", {
description = S("Oven (stainless steel)"),
tile_format = "homedecor_oven_steel_%s%s.png",
output_slots = 4,
output_width = 2,
cook_speed = 1.25,
})
homedecor.register_furnace("microwave_oven", {
description = S("Microwave Oven"),
tiles = {
"homedecor_microwave_top.png", "homedecor_microwave_top.png^[transformR180",
"homedecor_microwave_top.png^[transformR270", "homedecor_microwave_top.png^[transformR90",
"homedecor_microwave_top.png^[transformR180", "homedecor_microwave_front.png"
},
tiles_active = {
"homedecor_microwave_top.png", "homedecor_microwave_top.png^[transformR180",
"homedecor_microwave_top.png^[transformR270", "homedecor_microwave_top.png^[transformR90",
"homedecor_microwave_top.png^[transformR180", "homedecor_microwave_front_active.png"
},
output_slots = 2,
output_width = 2,
cook_speed = 1.5,
extra_nodedef_fields = {
node_box = {
type = "fixed",
fixed = { -0.5, -0.5, -0.125, 0.5, 0.125, 0.5 },
},
},
})
-- coffee!
-- coffee!
-- coffee!
local cm_cbox = {
type = "fixed",
fixed = {
{ 0, -8/16, 0, 7/16, 3/16, 8/16 },
{ -4/16, -8/16, -6/16, -1/16, -5/16, -3/16 }
}
}
homedecor.register("coffee_maker", {
mesh = "homedecor_coffeemaker.obj",
tiles = {
"homedecor_coffeemaker_decanter.png",
"homedecor_coffeemaker_cup.png",
"homedecor_coffeemaker_case.png",
},
description = S("Coffee Maker"),
inventory_image = "homedecor_coffeemaker_inv.png",
walkable = false,
groups = {snappy=3},
selection_box = cm_cbox,
node_box = cm_cbox,
on_rotate = screwdriver.disallow
})
local fdir_to_steampos = {
x = { 0.15, 0.275, -0.15, -0.275 },
z = { 0.275, -0.15, -0.275, 0.15 }
}
minetest.register_abm({
nodenames = "homedecor:coffee_maker",
label = "sfx",
interval = 2,
chance = 1,
action = function(pos, node)
local fdir = node.param2
if fdir and fdir < 4 then
local steamx = fdir_to_steampos.x[fdir + 1]
local steamz = fdir_to_steampos.z[fdir + 1]
minetest.add_particlespawner({
amount = 1,
time = 1,
minpos = {x=pos.x - steamx, y=pos.y - 0.35, z=pos.z - steamz},
maxpos = {x=pos.x - steamx, y=pos.y - 0.35, z=pos.z - steamz},
minvel = {x=-0.003, y=0.01, z=-0.003},
maxvel = {x=0.003, y=0.01, z=-0.003},
minacc = {x=0.0,y=-0.0,z=-0.0},
maxacc = {x=0.0,y=0.003,z=-0.0},
minexptime = 2,
maxexptime = 5,
minsize = 1,
maxsize = 1.2,
collisiondetection = false,
texture = "homedecor_steam.png",
})
end
end
})
homedecor.register("toaster", {
description = S("Toaster"),
tiles = { "homedecor_toaster_sides.png" },
inventory_image = "homedecor_toaster_inv.png",
walkable = false,
groups = { snappy=3 },
node_box = {
type = "fixed",
fixed = {
{-0.0625, -0.5, -0.125, 0.125, -0.3125, 0.125}, -- NodeBox1
},
},
on_rightclick = function(pos, node, clicker, itemstack, pointed_thing)
local fdir = node.param2
minetest.set_node(pos, { name = "homedecor:toaster_loaf", param2 = fdir })
minetest.sound_play("toaster", {
pos = pos,
gain = 1.0,
max_hear_distance = 5
})
return itemstack
end
})
homedecor.register("toaster_loaf", {
tiles = {
"homedecor_toaster_toploaf.png",
"homedecor_toaster_sides.png",
"homedecor_toaster_sides.png",
"homedecor_toaster_sides.png",
"homedecor_toaster_sides.png",
"homedecor_toaster_sides.png"
},
walkable = false,
groups = { snappy=3, not_in_creative_inventory=1 },
node_box = {
type = "fixed",
fixed = {
{-0.0625, -0.5, -0.125, 0.125, -0.3125, 0.125}, -- NodeBox1
{-0.03125, -0.3125, -0.0935, 0, -0.25, 0.0935}, -- NodeBox2
{0.0625, -0.3125, -0.0935, 0.0935, -0.25, 0.0935}, -- NodeBox3
},
},
on_rightclick = function(pos, node, clicker, itemstack, pointed_thing)
local fdir = node.param2
minetest.set_node(pos, { name = "homedecor:toaster", param2 = fdir })
return itemstack
end,
drop = "homedecor:toaster"
})
homedecor.register("dishwasher", {
description = S("Dishwasher"),
drawtype = "nodebox",
tiles = {
"homedecor_dishwasher_top.png",
"homedecor_dishwasher_bottom.png",
"homedecor_dishwasher_sides.png",
"homedecor_dishwasher_sides.png^[transformFX",
"homedecor_dishwasher_back.png",
"homedecor_dishwasher_front.png"
},
node_box = {
type = "fixed",
fixed = {
{-0.5, -0.5, -0.5, 0.5, -0.4375, 0.5},
{-0.5, -0.5, -0.5, 0.5, 0.5, -0.4375},
{-0.5, -0.5, -0.5, 0.5, 0.1875, 0.1875},
{-0.4375, -0.5, -0.5, 0.4375, 0.4375, 0.4375},
}
},
selection_box = { type = "regular" },
sounds = default.node_sound_stone_defaults(),
groups = { snappy = 3 },
})
local materials = { N_("granite"), N_("marble"), N_("steel"), N_("wood") }
for _, m in ipairs(materials) do
homedecor.register("dishwasher_"..m, {
description = S("Dishwasher (@1)", S(m)),
tiles = {
"homedecor_kitchen_cabinet_top_"..m..".png",
"homedecor_dishwasher_bottom.png",
"homedecor_dishwasher_sides.png",
"homedecor_dishwasher_sides.png^[transformFX",
"homedecor_dishwasher_back.png",
"homedecor_dishwasher_front.png"
},
groups = { snappy = 3 },
sounds = default.node_sound_stone_defaults(),
})
end

View File

@ -1,157 +0,0 @@
-- This file supplies Kitchen cabinets and kitchen sink
local S = homedecor.gettext
local cabinet_sides = "(default_wood.png^[transformR90)^homedecor_kitchen_cabinet_bevel.png"
local cabinet_bottom = "(default_wood.png^[colorize:#000000:100)^(homedecor_kitchen_cabinet_bevel.png^[colorize:#46321580)"
local function N_(x) return x end
local counter_materials = { "", N_("granite"), N_("marble"), N_("steel") }
for _, mat in ipairs(counter_materials) do
local desc = S("Kitchen Cabinet")
local material = ""
if mat ~= "" then
desc = S("Kitchen Cabinet (@1 top)", S(mat))
material = "_"..mat
end
homedecor.register("kitchen_cabinet"..material, {
description = desc,
tiles = { 'homedecor_kitchen_cabinet_top'..material..'.png',
cabinet_bottom,
cabinet_sides,
cabinet_sides,
cabinet_sides,
'homedecor_kitchen_cabinet_front.png'},
groups = { snappy = 3 },
sounds = default.node_sound_wood_defaults(),
infotext=S("Kitchen Cabinet"),
inventory = {
size=24,
lockable=true,
},
})
end
local kitchen_cabinet_half_box = homedecor.nodebox.slab_y(0.5, 0.5)
homedecor.register("kitchen_cabinet_half", {
description = S('Half-height Kitchen Cabinet (on ceiling)'),
tiles = {
cabinet_sides,
cabinet_bottom,
cabinet_sides,
cabinet_sides,
cabinet_sides,
'homedecor_kitchen_cabinet_front_half.png'
},
selection_box = kitchen_cabinet_half_box,
node_box = kitchen_cabinet_half_box,
groups = { snappy = 3 },
sounds = default.node_sound_wood_defaults(),
infotext=S("Kitchen Cabinet"),
inventory = {
size=12,
lockable=true,
},
})
homedecor.register("kitchen_cabinet_with_sink", {
description = S("Kitchen Cabinet with sink"),
mesh = "homedecor_kitchen_sink.obj",
tiles = {
"homedecor_kitchen_sink_top.png",
"homedecor_kitchen_cabinet_front.png",
cabinet_sides,
cabinet_bottom
},
groups = { snappy = 3 },
sounds = default.node_sound_wood_defaults(),
infotext=S("Under-sink cabinet"),
inventory = {
size=16,
lockable=true,
},
node_box = {
type = "fixed",
fixed = {
{ -8/16, -8/16, -8/16, 8/16, 6/16, 8/16 },
{ -8/16, 6/16, -8/16, -6/16, 8/16, 8/16 },
{ 6/16, 6/16, -8/16, 8/16, 8/16, 8/16 },
{ -8/16, 6/16, -8/16, 8/16, 8/16, -6/16 },
{ -8/16, 6/16, 6/16, 8/16, 8/16, 8/16 },
}
},
on_destruct = function(pos)
homedecor.stop_particle_spawner({x=pos.x, y=pos.y+1, z=pos.z})
end
})
local cp_cbox = {
type = "fixed",
fixed = { -0.375, -0.5, -0.5, 0.375, -0.3125, 0.3125 }
}
homedecor.register("copper_pans", {
description = "Copper pans",
mesh = "homedecor_copper_pans.obj",
tiles = { "homedecor_polished_copper.png" },
inventory_image = "homedecor_copper_pans_inv.png",
groups = { snappy=3 },
selection_box = cp_cbox,
walkable = false,
on_place = minetest.rotate_node
})
local kf_cbox = {
type = "fixed",
fixed = { -2/16, -8/16, 1/16, 2/16, -1/16, 8/16 }
}
homedecor.register("kitchen_faucet", {
mesh = "homedecor_kitchen_faucet.obj",
tiles = { "homedecor_generic_metal_bright.png" },
inventory_image = "homedecor_kitchen_faucet_inv.png",
description = "Kitchen Faucet",
groups = {snappy=3},
selection_box = kf_cbox,
walkable = false,
on_rotate = screwdriver.disallow,
on_rightclick = function(pos, node, clicker, itemstack, pointed_thing)
local below = minetest.get_node_or_nil({x=pos.x, y=pos.y-1, z=pos.z})
if below and
below.name == "homedecor:sink" or
below.name == "homedecor:kitchen_cabinet_with_sink" or
below.name == "homedecor:kitchen_cabinet_with_sink_locked" then
local particledef = {
outlet = { x = 0, y = -0.19, z = 0.13 },
velocity_x = { min = -0.05, max = 0.05 },
velocity_y = -0.3,
velocity_z = { min = -0.1, max = 0 },
spread = 0
}
homedecor.start_particle_spawner(pos, node, particledef, "homedecor_faucet")
end
return itemstack
end,
on_destruct = homedecor.stop_particle_spawner
})
homedecor.register("paper_towel", {
mesh = "homedecor_paper_towel.obj",
tiles = {
"homedecor_generic_quilted_paper.png",
"default_wood.png"
},
inventory_image = "homedecor_paper_towel_inv.png",
description = S("Paper towels"),
groups = { snappy=3 },
walkable = false,
selection_box = {
type = "fixed",
fixed = { -0.4375, 0.125, 0.0625, 0.4375, 0.4375, 0.5 }
},
})

View File

@ -1,61 +0,0 @@
-- laundry devices
homedecor.register("washing_machine", {
description = "Washing Machine",
tiles = {
"homedecor_washing_machine_top.png",
"homedecor_washing_machine_bottom.png",
"homedecor_washing_machine_sides.png",
"homedecor_washing_machine_sides.png^[transformFX",
"homedecor_washing_machine_back.png",
"homedecor_washing_machine_front.png"
},
node_box = {
type = "fixed",
fixed = {
{-0.5, -0.5, -0.5, 0.5, 0.375, 0.375},
{-0.5, -0.5, 0.3125, 0.5, 0.5, 0.5},
}
},
selection_box = { type = "regular" },
groups = { snappy = 3 },
})
homedecor.register("dryer", {
description = "Tumble dryer",
tiles = {
"homedecor_dryer_top.png",
"homedecor_dryer_bottom.png",
"homedecor_dryer_sides.png",
"homedecor_dryer_sides.png^[transformFX",
"homedecor_dryer_back.png",
"homedecor_dryer_front.png"
},
node_box = {
type = "fixed",
fixed = {
{-0.5, -0.5, -0.5, 0.5, 0.375, 0.375},
{-0.5, -0.5, 0.3125, 0.5, 0.5, 0.5},
}
},
selection_box = { type = "regular" },
groups = { snappy = 3 },
})
local ib_cbox = {
type = "fixed",
fixed = { -6/16, -8/16, -4/16, 17/16, 4/16, 4/16 }
}
homedecor.register("ironing_board", {
description = "Ironing board",
mesh = "homedecor_ironing_board.obj",
tiles = {
"wool_grey.png",
"homedecor_generic_metal_black.png^[brighten"
},
expand = {right = "placeholder"},
groups = { snappy = 3 },
selection_box = ib_cbox,
collision_box = ib_cbox
})

View File

@ -1,550 +0,0 @@
-- This file supplies glowlights
local dirs2 = { 9, 18, 7, 12 }
local S = homedecor.gettext
local function N_(x) return x end
local colors = { N_("yellow"), N_("white") }
for i in ipairs(colors) do
local color = colors[i]
minetest.register_abm({
nodenames = { "homedecor:glowlight_thin_"..color },
interval = 1,
chance = 1,
action = function(pos, node, active_object_count, active_object_count_wider)
minetest.set_node(pos, {name = "homedecor:glowlight_quarter_"..color, param2 = 20})
end,
})
minetest.register_abm({
nodenames = { "homedecor:glowlight_thick_"..color },
interval = 1,
chance = 1,
action = function(pos, node, active_object_count, active_object_count_wider)
minetest.set_node(pos, {name = "homedecor:glowlight_half_"..color, param2 = 20})
end,
})
minetest.register_abm({
nodenames = { "homedecor:glowlight_thin_"..color.."_wall" },
interval = 1,
chance = 1,
action = function(pos, node, active_object_count, active_object_count_wider)
local fdir = node.param2 or 0
local nfdir = dirs2[fdir+1]
minetest.set_node(pos, {name = "homedecor:glowlight_quarter_"..color, param2 = nfdir})
end,
})
minetest.register_abm({
nodenames = { "homedecor:glowlight_thick_"..color.."_wall" },
interval = 1,
chance = 1,
action = function(pos, node, active_object_count, active_object_count_wider)
local fdir = node.param2 or 0
local nfdir = dirs2[fdir+1]
minetest.set_node(pos, {name = "homedecor:glowlight_half_"..color, param2 = nfdir})
end,
})
minetest.register_abm({
nodenames = { "homedecor:glowlight_small_cube_"..color.."_ceiling" },
interval = 1,
chance = 1,
action = function(pos, node, active_object_count, active_object_count_wider)
minetest.set_node(pos, {name = "homedecor:glowlight_small_cube_"..color, param2 = 20})
end,
})
local glowlight_nodebox = {
half = homedecor.nodebox.slab_y(1/2),
quarter = homedecor.nodebox.slab_y(1/4),
small_cube = {
type = "fixed",
fixed = { -0.25, -0.5, -0.25, 0.25, 0, 0.25 }
},
}
homedecor.register("glowlight_half_"..color, {
description = S("Thick Glowlight (@1)", S(color)),
tiles = {
"homedecor_glowlight_"..color.."_top.png",
"homedecor_glowlight_"..color.."_bottom.png",
"homedecor_glowlight_thick_"..color.."_sides.png",
"homedecor_glowlight_thick_"..color.."_sides.png",
"homedecor_glowlight_thick_"..color.."_sides.png",
"homedecor_glowlight_thick_"..color.."_sides.png"
},
selection_box = glowlight_nodebox.half,
node_box = glowlight_nodebox.half,
groups = { snappy = 3 },
light_source = default.LIGHT_MAX,
sounds = default.node_sound_glass_defaults(),
on_place = minetest.rotate_node
})
homedecor.register("glowlight_quarter_"..color, {
description = S("Thin Glowlight (@1)", S(color)),
tiles = {
"homedecor_glowlight_"..color.."_top.png",
"homedecor_glowlight_"..color.."_bottom.png",
"homedecor_glowlight_thin_"..color.."_sides.png",
"homedecor_glowlight_thin_"..color.."_sides.png",
"homedecor_glowlight_thin_"..color.."_sides.png",
"homedecor_glowlight_thin_"..color.."_sides.png"
},
selection_box = glowlight_nodebox.quarter,
node_box = glowlight_nodebox.quarter,
groups = { snappy = 3 },
light_source = default.LIGHT_MAX-1,
sounds = default.node_sound_glass_defaults(),
on_place = minetest.rotate_node
})
-- Glowlight "cubes"
homedecor.register("glowlight_small_cube_"..color, {
description = S("Small Glowlight Cube (@1)", S(color)),
tiles = {
"homedecor_glowlight_cube_"..color.."_tb.png",
"homedecor_glowlight_cube_"..color.."_tb.png",
"homedecor_glowlight_cube_"..color.."_sides.png",
"homedecor_glowlight_cube_"..color.."_sides.png",
"homedecor_glowlight_cube_"..color.."_sides.png",
"homedecor_glowlight_cube_"..color.."_sides.png"
},
selection_box = glowlight_nodebox.small_cube,
node_box = glowlight_nodebox.small_cube,
groups = { snappy = 3 },
light_source = default.LIGHT_MAX-1,
sounds = default.node_sound_glass_defaults(),
on_place = minetest.rotate_node
})
end
homedecor.register("plasma_lamp", {
description = S("Plasma Lamp"),
drawtype = "glasslike_framed",
tiles = {"default_gold_block.png","homedecor_glass_face_clean.png"},
special_tiles = {
{
name="homedecor_plasma_storm.png",
animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=2.0},
}
},
use_texture_alpha = true,
light_source = default.LIGHT_MAX - 1,
sunlight_propagates = true,
groups = {cracky=3,oddly_breakable_by_hand=3},
sounds = default.node_sound_glass_defaults(),
after_place_node = function(pos, placer, itemstack, pointed_thing)
minetest.swap_node(pos, {name = "homedecor:plasma_lamp", param2 = 255})
end
})
homedecor.register("plasma_ball", {
description = S("Plasma Ball"),
mesh = "homedecor_plasma_ball.obj",
tiles = {
"homedecor_generic_plastic_black.png",
{
name = "homedecor_plasma_ball_streamers.png",
animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=2.0},
},
"homedecor_plasma_ball_glass.png"
},
inventory_image = "homedecor_plasma_ball_inv.png",
selection_box = {
type = "fixed",
fixed = { -0.1875, -0.5, -0.1875, 0.1875, 0, 0.1875 }
},
walkable = false,
use_texture_alpha = true,
light_source = default.LIGHT_MAX - 5,
sunlight_propagates = true,
groups = {cracky=3,oddly_breakable_by_hand=3},
sounds = default.node_sound_glass_defaults(),
})
local tc_cbox = {
type = "fixed",
fixed = {
{ -0.1875, -0.5, -0.1875, 0.1875, 0.375, 0.1875 },
}
}
homedecor.register("candle", {
description = S("Thick Candle"),
mesh = "homedecor_candle_thick.obj",
tiles = {
'homedecor_candle_sides.png',
{name="homedecor_candle_flame.png", animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=3.0}},
},
inventory_image = "homedecor_candle_inv.png",
selection_box = tc_cbox,
walkable = false,
groups = { snappy = 3 },
light_source = default.LIGHT_MAX-4,
})
local c_cbox = {
type = "fixed",
fixed = {
{ -0.125, -0.5, -0.125, 0.125, 0.05, 0.125 },
}
}
homedecor.register("candle_thin", {
description = S("Thin Candle"),
mesh = "homedecor_candle_thin.obj",
tiles = {
'homedecor_candle_sides.png',
{name="homedecor_candle_flame.png", animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=3.0}},
},
inventory_image = "homedecor_candle_thin_inv.png",
selection_box = c_cbox,
walkable = false,
groups = { snappy = 3 },
light_source = default.LIGHT_MAX-4,
})
local cs_cbox = {
type = "fixed",
fixed = {
{ -0.15625, -0.5, -0.15625, 0.15625, 0.3125, 0.15625 },
}
}
homedecor.register("candlestick_wrought_iron", {
description = S("Candlestick (wrought iron)"),
mesh = "homedecor_candlestick.obj",
tiles = {
"homedecor_candle_sides.png",
{name="homedecor_candle_flame.png", animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=3.0}},
"homedecor_generic_metal_wrought_iron.png",
},
inventory_image = "homedecor_candlestick_wrought_iron_inv.png",
selection_box = cs_cbox,
walkable = false,
groups = { snappy = 3 },
light_source = default.LIGHT_MAX-4,
})
homedecor.register("candlestick_brass", {
description = S("Candlestick (brass)"),
mesh = "homedecor_candlestick.obj",
tiles = {
"homedecor_candle_sides.png",
{name="homedecor_candle_flame.png", animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=3.0}},
"homedecor_generic_metal_brass.png",
},
inventory_image = "homedecor_candlestick_brass_inv.png",
selection_box = cs_cbox,
walkable = false,
groups = { snappy = 3 },
light_source = default.LIGHT_MAX-4,
})
homedecor.register("wall_sconce", {
description = S("Wall sconce"),
mesh = "homedecor_wall_sconce.obj",
tiles = {
'homedecor_candle_sides.png',
{name="homedecor_candle_flame.png", animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=3.0}},
'homedecor_wall_sconce_back.png',
'homedecor_generic_metal_wrought_iron.png',
},
inventory_image = "homedecor_wall_sconce_inv.png",
selection_box = {
type = "fixed",
fixed = { -0.1875, -0.25, 0.3125, 0.1875, 0.25, 0.5 }
},
walkable = false,
groups = { snappy = 3 },
light_source = default.LIGHT_MAX-4,
})
local ol_cbox = {
type = "fixed",
fixed = {
{ -5/16, -8/16, -3/16, 5/16, 4/16, 3/16 },
}
}
homedecor.register("oil_lamp", {
description = S("Oil lamp (hurricane)"),
mesh = "homedecor_oil_lamp.obj",
tiles = {
"homedecor_generic_metal_brass.png",
"homedecor_generic_metal_black.png",
"homedecor_generic_metal_black.png^[colorize:#ff0000:160",
"homedecor_oil_lamp_wick.png",
"homedecor_generic_metal_black.png^[colorize:#ff0000:150",
"homedecor_oil_lamp_glass.png",
},
use_texture_alpha = true,
inventory_image = "homedecor_oil_lamp_inv.png",
selection_box = ol_cbox,
walkable = false,
groups = { snappy = 3 },
light_source = default.LIGHT_MAX-3,
sounds = default.node_sound_glass_defaults(),
})
homedecor.register("oil_lamp_tabletop", {
description = S("Oil Lamp (tabletop)"),
mesh = "homedecor_oil_lamp_tabletop.obj",
tiles = {"homedecor_oil_lamp_tabletop.png"},
inventory_image = "homedecor_oil_lamp_tabletop_inv.png",
selection_box = ol_cbox,
collision_box = ol_cbox,
groups = { snappy = 3 },
light_source = default.LIGHT_MAX-3,
sounds = default.node_sound_glass_defaults(),
})
local gl_cbox = {
type = "fixed",
fixed = { -0.25, -0.5, -0.25, 0.25, 0.45, 0.25 },
}
minetest.register_alias("homedecor:wall_lantern", "homedecor:ground_lantern")
homedecor.register("ground_lantern", {
description = S("Ground Lantern"),
mesh = "homedecor_ground_lantern.obj",
tiles = { "homedecor_light.png", "homedecor_generic_metal_wrought_iron.png" },
use_texture_alpha = true,
inventory_image = "homedecor_ground_lantern_inv.png",
wield_image = "homedecor_ground_lantern_inv.png",
groups = {snappy=3},
light_source = 11,
selection_box = gl_cbox,
walkable = false
})
local hl_cbox = {
type = "fixed",
fixed = { -0.25, -0.5, -0.2, 0.25, 0.5, 0.5 },
}
homedecor.register("hanging_lantern", {
description = S("Hanging Lantern"),
mesh = "homedecor_hanging_lantern.obj",
tiles = { "homedecor_generic_metal_wrought_iron.png", "homedecor_light.png" },
use_texture_alpha = true,
inventory_image = "homedecor_hanging_lantern_inv.png",
wield_image = "homedecor_hanging_lantern_inv.png",
groups = {snappy=3},
light_source = 11,
selection_box = hl_cbox,
walkable = false
})
local cl_cbox = {
type = "fixed",
fixed = { -0.35, -0.45, -0.35, 0.35, 0.5, 0.35 }
}
homedecor.register("ceiling_lantern", {
drawtype = "mesh",
mesh = "homedecor_ceiling_lantern.obj",
tiles = { "homedecor_light.png", "homedecor_generic_metal_wrought_iron.png" },
use_texture_alpha = true,
inventory_image = "homedecor_ceiling_lantern_inv.png",
description = "Ceiling Lantern",
groups = {snappy=3},
light_source = 11,
selection_box = cl_cbox,
walkable = false
})
homedecor.register("lattice_lantern_large", {
description = S("Lattice lantern (large)"),
tiles = { 'homedecor_lattice_lantern_large.png' },
groups = { snappy = 3 },
light_source = default.LIGHT_MAX,
sounds = default.node_sound_glass_defaults(),
})
homedecor.register("lattice_lantern_small", {
description = S("Lattice lantern (small)"),
tiles = {
'homedecor_lattice_lantern_small_tb.png',
'homedecor_lattice_lantern_small_tb.png',
'homedecor_lattice_lantern_small_sides.png'
},
selection_box = {
type = "fixed",
fixed = { -0.25, -0.5, -0.25, 0.25, 0, 0.25 }
},
node_box = {
type = "fixed",
fixed = { -0.25, -0.5, -0.25, 0.25, 0, 0.25 }
},
groups = { snappy = 3 },
light_source = default.LIGHT_MAX-1,
sounds = default.node_sound_glass_defaults(),
on_place = minetest.rotate_node
})
local repl = { off="low", low="med", med="hi", hi="max", max="off", }
local lamp_colors = {
{ N_("white"), "#ffffffe0:175" },
{ N_("blue"), "#2626c6e0:200" },
{ N_("green"), "#27a927e0:200" },
{ N_("pink"), "#ff8fb7e0:200" },
{ N_("red"), "#ad2323e0:200" },
{ N_("violet"), "#7f29d7e0:200" },
}
local tlamp_cbox = {
type = "fixed",
fixed = { -0.25, -0.5, -0.25, 0.25, 0.5, 0.25 }
}
local slamp_cbox = {
type = "fixed",
fixed = { -0.25, -0.5, -0.25, 0.25, 1.5, 0.25 }
}
local function reg_lamp(suffix, nxt, tilesuffix, light, color)
local lampcolor = "_"..color[1]
local colordesc = S(color[1])
local woolcolor = color[1]
local invcolor = color[2]
local wool_brighten = (light or 0) * 7
local bulb_brighten = (light or 0) * 14
homedecor.register("table_lamp"..lampcolor.."_"..suffix, {
description = S("Table Lamp (@1)", colordesc),
mesh = "homedecor_table_lamp.obj",
tiles = {
"wool_"..woolcolor..".png^[colorize:#ffffff:"..wool_brighten,
"homedecor_table_standing_lamp_lightbulb.png^[colorize:#ffffff:"..bulb_brighten,
"homedecor_generic_wood_red.png",
"homedecor_generic_metal_black.png^[brighten",
},
inventory_image = "homedecor_table_lamp_foot_inv.png^(homedecor_table_lamp_top_inv.png^[colorize:"..invcolor..")",
walkable = false,
light_source = light,
selection_box = tlamp_cbox,
sounds = default.node_sound_wood_defaults(),
groups = {cracky=2,oddly_breakable_by_hand=1,
not_in_creative_inventory=((light ~= nil) and 1) or nil,
},
drop = "homedecor:table_lamp"..lampcolor.."_off",
on_punch = function(pos, node, puncher)
node.name = "homedecor:table_lamp"..lampcolor.."_"..repl[suffix]
minetest.set_node(pos, node)
end,
})
-- standing lamps
homedecor.register("standing_lamp"..lampcolor.."_"..suffix, {
description = S("Standing Lamp (@1)", colordesc),
mesh = "homedecor_standing_lamp.obj",
tiles = {
"wool_"..woolcolor..".png^[colorize:#ffffff:"..wool_brighten,
"homedecor_table_standing_lamp_lightbulb.png^[colorize:#ffffff:"..bulb_brighten,
"homedecor_generic_wood_red.png",
"homedecor_generic_metal_black.png^[brighten",
},
inventory_image = "homedecor_standing_lamp_foot_inv.png^(homedecor_standing_lamp_top_inv.png^[colorize:"..invcolor..")",
walkable = false,
light_source = light,
groups = {cracky=2,oddly_breakable_by_hand=1,
not_in_creative_inventory=((light ~= nil) and 1) or nil,
},
selection_box = slamp_cbox,
sounds = default.node_sound_wood_defaults(),
on_rotate = screwdriver.rotate_simple,
on_punch = function(pos, node, puncher)
node.name = "homedecor:standing_lamp"..lampcolor.."_"..repl[suffix]
minetest.set_node(pos, node)
end,
expand = { top="placeholder" },
})
minetest.register_alias("homedecor:standing_lamp_bottom"..lampcolor.."_"..suffix, "homedecor:standing_lamp"..lampcolor.."_"..suffix)
minetest.register_alias("homedecor:standing_lamp_top"..lampcolor.."_"..suffix, "air")
-- for old maps that had the original 3dforniture mod
if lampcolor == "" then
minetest.register_alias("3dforniture:table_lamp_"..suffix, "homedecor:table_lamp_"..suffix)
end
end
for _, color in ipairs(lamp_colors) do
reg_lamp("off", "low", "", nil, color )
reg_lamp("low", "med", "l", 3, color )
reg_lamp("med", "hi", "m", 7, color )
reg_lamp("hi", "max", "h", 11, color )
reg_lamp("max", "off", "x", 14, color )
end
local dlamp_cbox = {
type = "fixed",
fixed = { -0.2, -0.5, -0.15, 0.32, 0.12, 0.15 },
}
local dlamp_colors = { N_("red"), N_("blue"), N_("green"), N_("violet") }
for _, color in ipairs(dlamp_colors) do
homedecor.register("desk_lamp_"..color, {
description = S("Desk Lamp (@1)", S(color)),
mesh = "homedecor_desk_lamp.obj",
tiles = {
"homedecor_table_standing_lamp_lightbulb.png^[colorize:#ffffff:200",
"homedecor_generic_metal_black.png^[colorize:"..color..":150",
"homedecor_generic_metal_black.png",
"homedecor_generic_metal_black.png^[colorize:"..color..":150"
},
inventory_image = "homedecor_desk_lamp_stem_inv.png^(homedecor_desk_lamp_metal_inv.png^[colorize:"..color..":140)",
selection_box = dlamp_cbox,
walkable = false,
groups = {snappy=3},
})
end
homedecor.register("ceiling_lamp", {
description = S("Ceiling Lamp"),
mesh = "homedecor_ceiling_lamp.obj",
tiles = {
"homedecor_generic_metal_brass.png",
"homedecor_ceiling_lamp_glass.png",
"homedecor_table_standing_lamp_lightbulb.png^[colorize:#ffffff:200",
"homedecor_generic_plastic_black.png^[colorize:#442d04:200",
},
inventory_image = "homedecor_ceiling_lamp_inv.png",
light_source = default.LIGHT_MAX,
groups = {snappy=3},
walkable = false,
on_punch = function(pos, node, puncher)
minetest.set_node(pos, {name = "homedecor:ceiling_lamp_off"})
end,
})
homedecor.register("ceiling_lamp_off", {
description = S("Ceiling Lamp (off)"),
mesh = "homedecor_ceiling_lamp.obj",
tiles = {
"homedecor_generic_metal_brass.png",
"homedecor_ceiling_lamp_glass.png",
"homedecor_table_standing_lamp_lightbulb.png",
"homedecor_generic_plastic_black.png^[colorize:#442d04:200",
},
groups = {snappy=3, not_in_creative_inventory=1},
walkable = false,
on_punch = function(pos, node, puncher)
minetest.set_node(pos, {name = "homedecor:ceiling_lamp"})
end,
drop = "homedecor:ceiling_lamp"
})

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,240 +0,0 @@
# Blender v2.73 (sub 0) OBJ File: 'book.blend'
# www.blender.org
o Cube.002_Cube.001
v 0.161995 -0.448008 0.216625
v 0.149566 -0.485966 0.216625
v 0.113157 -0.485966 0.216625
v 0.142021 -0.448008 0.216625
v 0.115781 -0.485966 0.208120
v 0.142021 -0.448008 0.208120
v 0.113157 -0.485966 -0.220555
v -0.159347 -0.485966 -0.220555
v 0.115781 -0.485966 -0.212050
v 0.161995 -0.448008 0.208120
v -0.148926 -0.485966 0.208120
v -0.155653 -0.448008 0.208120
v -0.155653 -0.448008 -0.212051
v -0.148926 -0.485966 -0.212051
v 0.152482 -0.485966 0.208120
v 0.152482 -0.485966 -0.212050
v 0.161995 -0.448008 -0.220555
v 0.161995 -0.448008 -0.212050
v 0.145193 -0.500002 -0.212050
v 0.145193 -0.500002 0.208120
v 0.115781 -0.500002 0.208120
v 0.115781 -0.500002 -0.212050
v 0.115781 -0.396013 -0.212050
v 0.115781 -0.396013 0.208120
v 0.145193 -0.396013 0.208120
v 0.145193 -0.396013 -0.212050
v 0.152482 -0.410049 -0.212050
v 0.152482 -0.410049 0.208120
v -0.148926 -0.410049 -0.212051
v -0.148926 -0.410049 0.208120
v 0.115781 -0.410049 -0.212050
v -0.159347 -0.410049 -0.220555
v 0.113157 -0.410049 -0.220555
v 0.115781 -0.410049 0.208120
v 0.113157 -0.410049 0.216625
v 0.149566 -0.410049 0.216625
v 0.115781 -0.396013 0.216625
v 0.141549 -0.396013 0.216625
v 0.149566 -0.410049 -0.220555
v 0.141549 -0.396013 -0.220555
v -0.159346 -0.396013 -0.220555
v -0.159347 -0.396013 0.216624
v 0.115781 -0.396013 -0.220555
v -0.159347 -0.410049 0.216624
v 0.115781 -0.500002 0.216625
v 0.141549 -0.500002 0.216625
v 0.142021 -0.448008 -0.212050
v 0.149566 -0.485966 -0.220555
v 0.141549 -0.500002 -0.220555
v -0.159346 -0.500002 -0.220555
v -0.159347 -0.500002 0.216624
v 0.142021 -0.448008 -0.220555
v 0.115781 -0.500002 -0.220555
v -0.159347 -0.485966 0.216624
vt 0.921987 0.383861
vt 0.921987 0.340448
vt 0.931829 0.340448
vt 0.931829 0.383861
vt 0.931829 0.427274
vt 0.921987 0.427274
vt 0.768089 0.490273
vt 0.722954 0.490273
vt 0.722954 0.009727
vt 0.768089 0.009727
vt 0.768089 0.500000
vt 0.722404 0.500000
vt 0.809636 0.490273
vt 0.809086 0.500000
vt 0.352434 0.000000
vt 0.670829 0.000000
vt 0.670829 0.009727
vt 0.670829 0.490273
vt 0.670829 0.500000
vt 0.352433 0.499999
vt 0.809636 0.009727
vt 0.809086 0.000000
vt 0.823601 0.000000
vt 0.824288 0.009727
vt 0.012060 0.509727
vt 0.000000 0.500001
vt 0.315359 0.500000
vt 0.318396 0.509727
vt 0.700649 0.000000
vt 0.704866 0.009727
vt 0.731001 0.867517
vt 0.731001 0.844673
vt 0.774928 0.811661
vt 0.774928 0.853302
vt 0.687072 0.853302
vt 0.687072 0.811661
vt 0.774928 0.500000
vt 0.791171 0.500000
vt 0.791171 0.814662
vt 0.791171 0.844133
vt 0.851343 0.522844
vt 0.851343 0.500000
vt 0.895271 0.514215
vt 0.895271 0.555856
vt 0.912144 0.383862
vt 0.912144 0.340448
vt 0.334639 0.500000
vt 0.334639 0.999999
vt 0.318396 0.999999
vt 0.318396 0.500000
vt 0.895271 0.867517
vt 0.911514 0.523384
vt 0.911514 0.552855
vt 0.911514 0.867516
vt 0.824288 0.490273
vt 0.823601 0.500000
vt 0.807415 0.555856
vt 0.807415 0.514215
vt 0.768089 0.000000
vt 0.722404 0.000000
vt 0.912144 0.427274
vt 0.318396 0.990273
vt 0.315359 1.000000
vt 0.000000 1.000000
vt 0.012060 0.990274
vt 0.704866 0.490273
vt 0.318396 0.490273
vt 0.318396 0.009727
vt 0.352433 0.009727
vt 0.352433 0.490273
vt 0.705553 0.490273
vt 0.705553 0.009727
vt 0.670829 0.509727
vt 0.364493 0.509726
vt 0.667792 0.500000
vt 0.318396 0.000000
vt 0.348216 0.000000
vt 0.704866 0.500000
vt 0.807415 0.867517
vt 0.791172 0.867516
vt 0.791171 0.552855
vt 0.791171 0.523384
vt 0.336190 0.500000
vt 0.352433 0.999999
vt 0.336190 0.999999
vt 0.670829 0.844133
vt 0.670829 0.814662
vt 0.687072 0.500000
vt 0.348216 0.500000
vt 0.364493 0.990273
vt 0.670829 0.990273
vt 0.667792 1.000000
vt 0.704866 0.000000
vt 0.000000 0.000001
vt 0.439305 1.000000
vt 0.439305 0.319104
vt 0.527160 0.379125
vt 0.527160 0.984613
vt 0.087857 1.000000
vt 0.087857 0.319104
vt 0.175712 0.334491
vt 0.175712 0.939979
vt 0.351448 0.984613
vt 0.351448 0.379125
vt 0.000000 0.939979
vt 0.000000 0.334491
vt 0.351448 0.000000
vt 0.351448 0.961094
vt 0.263593 0.961094
vt 0.263593 0.000000
vt 0.175736 0.000000
vt 0.175736 0.961094
vn -0.803100 -0.582900 0.123900
vn -0.803000 0.582900 0.123900
vn 0.970000 0.243100 0.000000
vn 0.947900 0.274000 -0.162500
vn 0.947900 -0.274000 -0.162500
vn -0.000000 -1.000000 -0.000000
vn 0.831600 -0.453400 0.320700
vn 0.000000 1.000000 -0.000000
vn 0.000000 0.000000 1.000000
vn 0.000000 0.000000 -1.000000
vn -0.803100 -0.582900 -0.123900
vn -1.000000 -0.000000 -0.000000
vn 0.831600 -0.453400 -0.320700
vn 0.947900 -0.274000 0.162500
vn 0.970000 -0.243100 -0.000000
vn 0.947900 0.274000 0.162500
vn -0.803000 0.582900 -0.123900
vn 0.887500 -0.460900 -0.000000
vn 0.887500 0.460900 -0.000000
vn 0.831600 0.453400 -0.320700
vn 0.831600 0.453400 0.320700
vn -0.984700 -0.174500 -0.000000
vn -0.984700 0.174500 0.000000
g Cube.002_Cube.001_Cube.002_Cube.001_cover
s off
f 47/1/1 31/2/1 33/3/1 52/4/1
f 47/1/2 52/4/2 7/5/2 9/6/2
f 18/7/3 27/8/3 28/9/3 10/10/3
f 27/8/4 18/7/4 17/11/4 39/12/4
f 16/13/5 48/14/5 17/11/5 18/7/5
f 50/15/6 53/16/6 22/17/6 21/18/6 45/19/6 51/20/6
f 15/21/7 2/22/7 46/23/7 20/24/7
f 11/25/8 54/26/8 3/27/8 5/28/8
f 22/17/6 53/16/6 49/29/6 19/30/6
f 1/31/9 4/32/9 3/33/9 2/34/9
f 1/31/9 36/35/9 35/36/9 4/32/9
f 2/34/9 3/33/9 54/37/9 51/38/9 45/39/9 46/40/9
f 52/41/10 17/42/10 48/43/10 7/44/10
f 34/2/11 6/1/11 4/45/11 35/46/11
f 50/47/12 51/48/12 54/49/12 8/50/12
f 8/51/10 7/44/10 48/43/10 49/52/10 53/53/10 50/54/10
f 19/55/13 49/56/13 48/14/13 16/13/13
f 52/41/10 33/57/10 39/58/10 17/42/10
f 10/10/14 1/59/14 2/22/14 15/21/14
f 18/7/15 10/10/15 15/21/15 16/13/15
f 10/10/16 28/9/16 36/60/16 1/59/16
f 5/6/17 3/61/17 4/45/17 6/1/17
f 9/62/8 7/63/8 8/64/8 14/65/8
f 16/13/18 15/21/18 20/24/18 19/55/18
f 22/17/6 19/30/6 20/66/6 21/18/6
f 23/67/8 24/68/8 25/69/8 26/70/8
f 27/8/19 26/71/19 25/72/19 28/9/19
f 31/73/6 29/74/6 32/20/6 33/75/6
f 25/69/8 24/68/8 37/76/8 38/77/8
f 26/71/20 27/8/20 39/12/20 40/78/20
f 32/79/10 41/80/10 43/81/10 40/82/10 39/58/10 33/57/10
f 41/83/12 32/20/12 44/84/12 42/85/12
f 36/35/9 38/86/9 37/87/9 42/19/9 44/88/9 35/36/9
f 23/67/8 26/70/8 40/89/8 43/50/8
f 30/90/6 34/91/6 35/92/6 44/84/6
f 28/9/21 25/72/21 38/93/21 36/60/21
f 29/74/6 30/90/6 44/84/6 32/20/6
f 41/26/8 42/94/8 37/76/8 24/68/8 23/67/8 43/50/8
f 54/26/8 11/25/8 14/65/8 8/64/8
g Cube.002_Cube.001_Cube.002_Cube.001_edges
f 13/95/10 47/96/10 9/97/10 14/98/10
f 6/99/9 12/100/9 11/101/9 5/102/9
f 13/95/10 29/103/10 31/104/10 47/96/10
f 6/99/9 34/105/9 30/106/9 12/100/9
f 14/107/22 11/108/22 12/109/22 13/110/22
f 29/111/23 13/110/23 12/109/23 30/112/23

View File

@ -1,419 +0,0 @@
# Blender v2.73 (sub 0) OBJ File: 'book-open.blend'
# www.blender.org
o Cube.002_Cube.001
v -0.012428 -0.485966 0.216625
v 0.000001 -0.486750 -0.220555
v -0.321341 -0.485966 -0.220555
v 0.000001 -0.462863 0.208120
v -0.310920 -0.485966 0.208120
v -0.306022 -0.464409 0.208120
v -0.306022 -0.464409 -0.212051
v -0.310920 -0.485966 -0.212051
v 0.000001 -0.462862 -0.212050
v -0.016802 -0.500002 -0.212050
v -0.016802 -0.500002 0.208120
v -0.046214 -0.500002 0.208120
v -0.046214 -0.500002 -0.212050
v -0.046214 -0.500002 0.216625
v -0.020445 -0.500002 0.216625
v -0.012428 -0.485966 -0.220555
v -0.020445 -0.500002 -0.220555
v -0.321340 -0.500002 -0.220555
v -0.321341 -0.500002 0.216624
v -0.046214 -0.500002 -0.220555
v -0.321341 -0.485966 0.216624
v -0.238235 -0.450057 0.208120
v 0.000001 -0.486750 0.216625
v -0.238235 -0.450057 -0.212051
v 0.306023 -0.464409 0.208120
v 0.306023 -0.464409 -0.212051
v 0.238237 -0.450057 0.208120
v 0.238237 -0.450057 -0.212051
v 0.046215 -0.500003 -0.212050
v 0.046215 -0.500003 0.208120
v 0.016803 -0.500003 0.208120
v 0.016803 -0.500003 -0.212050
v 0.000001 -0.481442 0.216625
v 0.000001 -0.481442 -0.220555
v 0.310922 -0.485967 -0.212051
v 0.310922 -0.485967 0.208120
v 0.321343 -0.485967 -0.220555
v 0.012430 -0.485967 0.216625
v 0.046215 -0.500003 0.216625
v 0.020447 -0.500003 0.216625
v 0.012430 -0.485967 -0.220555
v 0.020447 -0.500003 -0.220555
v 0.321342 -0.500003 -0.220555
v 0.321343 -0.500003 0.216624
v 0.046215 -0.500003 -0.220555
v 0.321343 -0.485967 0.216624
v 0.000001 -0.486750 0.208120
v 0.000001 -0.486750 -0.212050
v 0.086920 -0.442244 -0.212051
v 0.086920 -0.442244 0.208120
v -0.086847 -0.442244 -0.212051
v -0.086847 -0.442244 0.208120
v -0.043405 -0.447755 -0.212050
v -0.043405 -0.447755 0.208120
v 0.043478 -0.447755 -0.212050
v 0.043478 -0.447755 0.208120
v 0.010224 -0.490836 0.216625
v -0.006214 -0.482857 0.216625
v -0.006214 -0.482857 -0.220555
v -0.008400 -0.490836 0.208120
v -0.008400 -0.490836 -0.212050
v -0.010222 -0.490836 -0.220555
v -0.010222 -0.490836 0.216625
v 0.010224 -0.490836 -0.220555
v 0.008402 -0.490836 -0.212050
v 0.008402 -0.490836 0.208120
v 0.006215 -0.482858 -0.220555
v 0.006215 -0.482858 0.216625
v -0.012428 -0.485966 -0.212050
v 0.000001 -0.481442 -0.212050
v 0.012430 -0.485967 -0.212050
v -0.006214 -0.482857 -0.212050
v 0.006215 -0.482858 -0.212050
v -0.012428 -0.485966 0.208120
v 0.000001 -0.481442 0.208120
v 0.012430 -0.485967 0.208120
v -0.006214 -0.482857 0.208120
v 0.006215 -0.482858 0.208120
vt 0.965735 0.839196
vt 0.711783 0.839196
vt 0.711783 0.832541
vt 0.711783 0.503765
vt 0.711783 0.497110
vt 0.965736 0.497110
vt 0.395683 0.494736
vt 0.395683 0.261171
vt 0.403533 0.261171
vt 0.403532 0.502890
vt 0.687998 0.839196
vt 0.684635 0.832541
vt 0.987044 0.738829
vt 0.987044 0.497110
vt 1.000000 0.497110
vt 0.999999 0.712393
vt 0.999999 0.732556
vt 0.992051 0.000000
vt 0.992051 0.342086
vt 0.979145 0.342086
vt 0.979145 0.000000
vt 0.969912 1.000000
vt 0.969911 0.758280
vt 0.982867 0.764553
vt 0.982867 0.784716
vt 0.982868 0.999999
vt 0.403533 0.241720
vt 0.395683 0.241720
vt 0.395683 0.008154
vt 0.403532 0.000000
vt 0.684634 0.503765
vt 0.007850 0.008154
vt 0.000000 0.000000
vt 0.657486 0.832541
vt 0.657486 0.503765
vt 0.657486 0.497110
vt 0.681271 0.497110
vt 0.969911 0.497110
vt 0.982867 0.497110
vt 0.982868 0.712393
vt 0.982868 0.732556
vt 0.969912 0.738829
vt 0.966239 0.000000
vt 0.966239 0.342086
vt 0.987044 0.758280
vt 1.000000 0.764553
vt 1.000000 0.784716
vt 0.999999 1.000000
vt 0.987043 1.000000
vt 0.681271 0.839196
vt 0.657486 0.839196
vt 0.000000 0.261171
vt 0.007850 0.261171
vt 0.007850 0.494736
vt 0.000000 0.502891
vt 0.403534 0.839196
vt 0.403533 0.497110
vt 0.687998 0.497110
vt 0.974407 0.740555
vt 0.970635 0.748555
vt 0.967042 0.743692
vt 0.965736 0.748555
vt 0.967042 0.753417
vt 0.974406 0.756554
vt 0.991539 0.740555
vt 0.987768 0.748555
vt 0.984174 0.743692
vt 0.982868 0.748555
vt 0.984174 0.753417
vt 0.991539 0.756554
vt 0.044849 0.844977
vt 0.035593 0.844977
vt 0.035446 0.838322
vt 0.044554 0.838322
vt 0.956803 0.342087
vt 0.956803 0.335432
vt 0.964557 0.335432
vt 0.947366 0.342087
vt 0.949048 0.335432
vt 0.045143 0.838322
vt 0.054251 0.838322
vt 0.054104 0.844977
vt 0.044554 0.509546
vt 0.035446 0.509546
vt 0.035593 0.502890
vt 0.044849 0.502891
vt 0.964557 0.006655
vt 0.956803 0.006655
vt 0.956803 0.000000
vt 0.949048 0.006655
vt 0.947366 0.000000
vt 0.054104 0.502891
vt 0.054251 0.509546
vt 0.045143 0.509546
vt 0.000000 0.256308
vt 0.000000 0.251445
vt 0.007850 0.251445
vt 0.007850 0.256308
vt 0.000000 0.246582
vt 0.000000 0.241720
vt 0.007850 0.241720
vt 0.007850 0.246582
vt 0.403533 0.251445
vt 0.403533 0.256308
vt 0.395683 0.256308
vt 0.395683 0.251445
vt 0.403533 0.246582
vt 0.395683 0.246582
vt 0.779948 0.000000
vt 0.779948 1.000000
vt 0.724984 1.000000
vt 0.724983 0.000000
vt 0.717416 1.000000
vt 0.662450 1.000000
vt 0.662449 0.000000
vt 0.717416 0.000000
vt 0.184400 1.000000
vt 0.126957 0.970419
vt 0.221962 0.896695
vt 0.485666 0.793134
vt 0.471964 0.896524
vt 0.376957 0.970419
vt 0.216239 0.433002
vt 0.126957 0.260013
vt 0.059402 0.000000
vt 0.001957 0.029581
vt 0.009688 0.014790
vt 0.235664 0.793305
vt 0.013207 0.000000
vt 0.091241 0.566998
vt 0.055557 0.728328
vt 0.001957 0.739987
vt 0.110666 0.206866
vt 0.134686 0.985210
vt 0.096964 0.103476
vt 0.180555 0.271672
vt 0.138205 1.000000
vt 0.341239 0.566998
vt 0.305555 0.728328
vt 0.251957 0.739987
vt 0.251957 0.029581
vt 0.360664 0.206695
vt 0.388207 1.000000
vt 0.384688 0.985210
vt 0.434402 1.000000
vt 0.346962 0.103305
vt 0.466241 0.433002
vt 0.376957 0.260013
vt 0.309400 0.000000
vt 0.259687 0.014790
vt 0.263205 0.000000
vt 0.430558 0.271672
vt 0.636817 0.156314
vt 0.875000 0.156314
vt 0.875000 0.984312
vt 0.636817 0.984312
vt 0.000000 0.156314
vt 0.125000 0.156314
vt 0.125000 0.984312
vt 0.000000 0.984313
vt 1.000000 0.156314
vt 1.000000 0.984313
vt 0.363296 0.156314
vt 0.431676 0.156314
vt 0.431676 0.984311
vt 0.363296 0.984312
vt 0.500000 0.156314
vt 0.568437 0.156314
vt 0.568437 0.984311
vt 0.500000 0.984311
vn -0.577300 -0.577300 -0.577300
vn 0.000000 -0.707100 -0.707100
vn 0.000000 -1.000000 0.000000
vn 0.000000 -0.707100 0.707100
vn -0.577300 -0.577300 0.577300
vn 0.280700 0.927500 0.246900
vn 0.172900 0.732100 0.658800
vn 0.148700 0.629400 0.762700
vn 0.577300 0.577300 0.577300
vn 0.216600 -0.711100 -0.668800
vn 0.428700 -0.900500 -0.071700
vn -0.148700 0.629400 0.762700
vn -0.577300 0.577300 0.577300
vn 0.216600 -0.711100 0.668800
vn -0.577300 0.577300 -0.577300
vn -0.148700 0.629400 -0.762700
vn -0.172900 0.732100 0.658800
vn -0.280700 0.927500 0.246900
vn 0.428700 -0.900500 0.071700
vn -0.280700 0.927500 -0.246900
vn -0.428800 -0.900500 0.071700
vn -0.428800 -0.900500 -0.071700
vn -0.216600 -0.711100 0.668800
vn 0.577300 0.577300 -0.577300
vn 0.577300 -0.577300 -0.577300
vn 0.000000 -0.707100 -0.707000
vn -0.216600 -0.711100 -0.668800
vn 0.148700 0.629400 -0.762700
vn 0.577300 -0.577300 0.577300
vn 0.172900 0.732100 -0.658800
vn 0.280700 0.927500 -0.246900
vn -0.350300 -0.496700 -0.794100
vn 0.000000 -0.580000 -0.814600
vn 0.246900 0.689300 -0.681100
vn 0.000000 0.750900 -0.660400
vn -0.246800 0.689300 -0.681100
vn 0.350300 -0.496700 -0.794100
vn 0.350300 -0.496700 0.794100
vn 0.000000 -0.580000 0.814600
vn -0.246800 0.689300 0.681100
vn 0.000000 0.750900 0.660400
vn 0.246900 0.689300 0.681100
vn -0.350300 -0.496700 0.794100
vn -0.569600 -0.819500 0.062900
vn 0.000000 -0.999700 0.023700
vn 0.569600 -0.819500 0.062900
vn -0.569600 -0.819500 -0.062900
vn 0.000000 -0.999700 -0.023700
vn 0.569600 -0.819500 -0.062900
vn 0.000000 0.649100 -0.760600
vn 0.228600 0.638300 -0.735000
vn -0.172900 0.732100 -0.658800
vn -0.228600 0.638300 -0.735000
vn 0.228600 0.638300 0.735000
vn 0.000000 0.649100 0.760600
vn -0.228600 0.638300 0.735000
vn -0.559600 0.567900 0.603500
vn -0.559600 0.567900 -0.603500
vn 0.559600 0.567900 -0.603500
vn 0.559600 0.567900 0.603500
vn 0.000200 0.614300 -0.789000
vn 0.166600 0.709800 -0.684400
vn -0.027100 0.725500 0.687600
vn -0.166400 0.709800 0.684400
vn -0.093900 0.717800 -0.689800
vn 0.027100 0.725500 -0.687600
vn 0.093900 0.717800 -0.689800
vn -0.027100 0.725500 -0.687600
vn -0.166400 0.709800 -0.684400
vn -0.093900 0.717800 0.689800
vn 0.027100 0.725500 0.687600
vn 0.000200 0.614300 0.789000
vn 0.166600 0.709800 0.684400
vn 0.093900 0.717800 0.689800
g Cube.002_Cube.001_Cube.002_Cube.001_cover
s 1
f 18/1/1 20/2/2 13/3/3 12/4/3 14/5/4 19/6/5
f 36/7/6 76/8/7 38/9/8 46/10/9
f 13/3/3 20/2/2 17/11/10 10/12/11
f 1/13/12 21/14/13 19/15/5 14/16/4 15/17/14
f 18/18/1 19/19/5 21/20/13 3/21/15
f 3/22/15 16/23/16 17/24/10 20/25/2 18/26/1
f 1/27/12 74/28/17 5/29/18 21/30/13
f 13/3/3 10/12/11 11/31/19 12/4/3
f 21/30/13 5/29/18 8/32/20 3/33/15
f 29/34/3 30/35/3 31/31/21 32/12/22
f 31/31/21 30/35/3 39/36/4 40/37/23
f 37/38/24 43/39/25 45/40/26 42/41/27 41/42/28
f 43/43/25 37/21/24 46/20/9 44/44/29
f 38/45/8 40/46/23 39/47/4 44/48/29 46/49/9
f 29/34/3 32/12/22 42/50/27 45/51/26
f 41/52/28 71/53/30 35/54/31 37/55/24
f 35/54/31 36/7/6 46/10/9 37/55/24
f 43/56/25 44/57/29 39/36/4 30/35/3 29/34/3 45/51/26
f 15/58/14 14/5/4 12/4/3 11/31/19
f 42/41/27 64/59/32 41/42/28
f 41/42/28 64/59/32 2/60/33 67/61/34
f 67/61/34 2/60/33 34/62/35
f 34/62/35 2/60/33 59/63/36
f 2/60/33 62/64/37 16/23/16 59/63/36
f 16/23/16 62/64/37 17/24/10
f 15/17/14 63/65/38 1/13/12
f 23/66/39 58/67/40 1/13/12 63/65/38
f 58/67/40 23/66/39 33/68/41
f 68/69/42 33/68/41 23/66/39
f 38/45/8 68/69/42 23/66/39 57/70/43
f 57/70/43 40/46/23 38/45/8
f 40/71/23 57/72/43 66/73/44 31/74/21
f 57/44/43 23/75/39 47/76/45 66/77/44
f 47/76/45 23/75/39 63/78/38 60/79/46
f 15/71/14 11/80/19 60/81/46 63/82/38
f 32/83/22 65/84/47 64/85/32 42/86/27
f 64/43/32 65/87/47 48/88/48 2/89/33
f 48/88/48 61/90/49 62/91/37 2/89/33
f 17/86/10 62/92/37 61/93/49 10/94/11
f 67/95/34 34/96/35 70/97/50 73/98/51
f 59/99/36 16/100/16 69/101/52 72/102/53
f 41/52/28 67/95/34 73/98/51 71/53/30
f 34/96/35 59/99/36 72/102/53 70/97/50
f 33/103/41 68/104/42 78/105/54 75/106/55
f 1/27/12 58/107/40 77/108/56 74/28/17
f 68/104/42 38/9/8 76/8/7 78/105/54
f 58/107/40 33/103/41 75/106/55 77/108/56
f 8/32/20 69/101/52 16/100/16 3/33/15
f 10/94/11 61/93/49 60/81/46 11/80/19
f 47/76/45 60/79/46 61/90/49 48/88/48
f 65/87/47 66/77/44 47/76/45 48/88/48
f 31/74/21 66/73/44 65/84/47 32/83/22
g Cube.002_Cube.001_Cube.002_Cube.001_edges
f 8/109/20 5/110/18 6/111/57 7/112/58
f 35/113/31 26/114/59 25/115/60 36/116/6
f 9/117/61 69/118/52 53/119/62
f 50/120/63 56/121/64 76/122/7
f 24/123/65 69/118/52 8/124/20
f 9/125/61 71/126/30 73/127/51
f 51/128/66 53/119/62 69/118/52
f 9/125/61 73/127/51 70/129/50
f 28/130/67 26/131/59 35/132/31
f 71/126/30 49/133/68 28/130/67
f 72/134/53 69/118/52 9/117/61
f 71/126/30 55/135/69 49/133/68
f 28/130/67 35/132/31 71/126/30
f 24/123/65 8/124/20 7/136/58
f 69/118/52 24/123/65 51/128/66
f 9/125/61 55/135/69 71/126/30
f 70/137/50 72/134/53 9/117/61
f 22/138/70 6/139/57 5/140/18
f 74/141/17 52/142/71 22/138/70
f 75/143/55 78/144/54 4/145/72
f 74/141/17 54/146/73 52/142/71
f 22/138/70 5/140/18 74/141/17
f 27/147/74 76/122/7 36/148/6
f 4/149/72 74/141/17 77/150/56
f 27/147/74 50/120/63 76/122/7
f 4/149/72 77/150/56 75/151/55
f 4/145/72 78/144/54 76/122/7
f 4/149/72 54/146/73 74/141/17
f 27/147/74 36/148/6 25/152/60
f 56/121/64 4/145/72 76/122/7
g Cube.002_Cube.001_Cube.002_Cube.001_pages
f 50/153/63 27/154/74 28/155/67 49/156/68
f 6/157/57 22/158/70 24/159/65 7/160/58
f 27/154/74 25/161/60 26/162/59 28/155/67
f 52/163/71 54/164/73 53/165/62 51/166/66
f 22/158/70 52/163/71 51/166/66 24/159/65
f 4/167/72 56/168/64 55/169/69 9/170/61
f 54/164/73 4/167/72 9/170/61 53/165/62
f 56/168/64 50/153/63 49/156/68 55/169/69

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,49 +0,0 @@
-- Various kinds of window shutters
local S = homedecor.gettext
local shutters = {
{"oak", S("unpainted oak"), "#bf8a51:200" },
{"mahogany", S("mahogany"), "#822606:200" },
{"red", S("red"), "#d00000:150" },
{"yellow", S("yellow"), "#ffff00:150" },
{"forest_green", S("forest green"), "#006000:150" },
{"light_blue", S("light blue"), "#1963c7:150" },
{"violet", S("violet"), "#6000ff:150" },
{"black", S("black"), "#000000:200" },
{"dark_grey", S("dark grey"), "#202020:200" },
{"grey", S("grey"), "#c0c0c0:150" },
{"white", S("white"), "#ffffff:150" },
}
local shutter_cbox = {
type = "wallmounted",
wall_top = { -0.5, 0.4375, -0.5, 0.5, 0.5, 0.5 },
wall_bottom = { -0.5, -0.5, -0.5, 0.5, -0.4375, 0.5 },
wall_side = { -0.5, -0.5, -0.5, -0.4375, 0.5, 0.5 }
}
for _, s in ipairs(shutters) do
local name, desc, hue = unpack(s)
local tile = "homedecor_window_shutter.png^[colorize:"..hue
local inv = "homedecor_window_shutter_inv.png^[colorize:"..hue
homedecor.register("shutter_"..name, {
mesh = "homedecor_window_shutter.obj",
tiles = { tile },
description = S("Wooden Shutter (@1)", desc),
inventory_image = inv,
wield_image = inv,
paramtype2 = "wallmounted",
groups = { snappy = 3 },
sounds = default.node_sound_wood_defaults(),
selection_box = shutter_cbox,
node_box = shutter_cbox,
-- collision_box doesn't accept type="wallmounted", but node_box
-- does. Said nodeboxes create a custom collision box but are
-- invisible themselves because drawtype="mesh".
})
end
minetest.register_alias("homedecor:shutter_purple", "homedecor:shutter_violet")

Binary file not shown.

Before

Width:  |  Height:  |  Size: 190 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 381 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 309 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 178 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 175 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 591 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 880 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 331 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 326 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 354 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 465 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 425 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 372 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 211 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 217 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 98 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 605 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 135 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 138 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 140 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 350 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 353 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 352 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 178 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 458 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 134 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 317 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 119 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 172 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 455 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 616 B

Some files were not shown because too many files have changed in this diff Show More