Commit Graph

68 Commits

Author SHA1 Message Date
wsor4035 0d5cab9455
replace hardcoded game agnostic texture support and homedecor.textures to xcompat (#66)
* switch existing to xcompat textures

* replace the rest of the hard coded texture conversions to use homedecor.textures
2024-03-03 15:52:58 -05:00
Luke aka SwissalpS 080551e647
Is ground content (#64)
see https://github.com/pandorabox-io/pandorabox.io/issues/836
2024-02-29 18:49:24 -05:00
Niklp ecd67f0eab
Update translations (#59)
* Update translations

* Fix usage of translation api in log message

* Fix %s usage in itemframes.it.tr
2023-08-20 17:54:38 -04:00
Niklp 77f2b0e05b
Fix ugly looking fakegrass (#51) 2023-02-21 21:30:11 +11:00
unknown 55bbd478d9 fix all or edge cases for https://github.com/mt-mods/homedecor_modpack/issues/49 not caught by the last commit 2022-11-30 17:48:28 -05:00
fluxionary 97d4c65230 remove weird, redundant loop
the removed loop was doing the same thing as the `stairsplus:register_alias_all("moreblocks", "tar", "building_blocks", "Tar")` line below, but causing a crash when using the (not yet pulled) new stairsplus API https://github.com/minetest-mods/moreblocks/pull/191
2022-06-24 18:16:49 +02:00
wsor4035 546cd7110f
make homedecor game agnostic (#28)
* make materials.lua with hades, minetest game, farlands items

* make textures file for central handling

* make mods game agnostic

* take out the trash

* handle multiple seats in sofas

* add github luacheck workflow and various luacheck fixes

* add fluxionary scope creep

* fix devtest breaking right to a name policy

Co-authored-by: wsor4035 <24964441+wsor4035@users.noreply.github.com>
Co-authored-by: SFENCE <sfence.software@gmail.com>
2022-05-03 15:21:14 -04:00
unknown 21ae9f8c17 drop stairs api support and fix use_texture_alpha for stairs 2021-11-27 23:43:59 -05:00
ExeVirus f9ca183f2a # Compression Commit
This commit performs both lossless and lossy compression on every .obj and .png in homedecor. The .png files were all 100% losslessly compressed using ect.exe and optipng.exe (more details below) at maximum settings. The .obj files were lossy-compressed so that comments were removed, trailing 000's were removed and all numbers rounded to 3 decimal places max. Blender exports at 6 decimal places but for minetest, 3 decimal places is the absolute maximum a person with anything under a 256K screen will ever need.

## Results
```
Original entire modpack size: 6343.5 KB
New entire modpack size:      5312.2 KB
Total Reduction:              1031.3 KB  (16.3% less)
```
Please note that actual media size is likely more like 4,500 KB so media reduction is more around 20-25%.

## Details / What actions were actually performed

Used these programs:

https://github.com/ExeVirus/Compress-Obj

https://sourceforge.net/projects/optipng/

https://github.com/fhanau/Efficient-Compression-Tool

Ran this command on every .obj: (fast)

```
luajit.exe compress.lua -f <file> -precision 3
```

Ran these commands on every .png: (slow)
```
ect.exe  -9 -strip --allfilters-b <file>
optipng.exe -o7 -strip all -clobber <file>
```

Note that for future compression, I recommend only using optipng.exe instead of both. ECT can get better results but it takes a LOT longer and only ever saves another 1-2% of the file size. Not worth an extra 10-20 seconds per texture file in my opinion.

## Time spent

Roughly 2 Hours from start to finish + commit + PR
2021-01-23 07:28:20 -05:00
Peter Nerlich af808c7586 update recipies to contain groups instead of concrete items: wardrobe, filing_cabinet, desk, table, woodglass, fakegrass 2020-12-02 00:32:16 +01:00
Gardon Klimm ec1be77d7e Update german locale 2020-10-09 04:57:41 +00:00
Louis Royer 1090c9139c .luacheckrc on each mod 2020-08-05 16:01:47 +02:00
Louis Royer 9a814da186 MT5 translation for building_blocks mod
- update .luacheckrc because stairs is used
- remove dependency to homedecor_common (not needed anymore)
- improve french translation
2020-08-05 15:35:22 +02:00
TenPlus1 0cd8bd7780 remove homedecor_i18n and merged into homedecor_common, fixed meseon global error 2019-04-21 16:25:21 +01:00
Vanessa Dannenberg b94139c9df lighter, softer building_blocks marble texture 2019-04-20 17:02:48 -04:00
Vanessa Dannenberg 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
Alexander Weber 3597c2c1aa Proper handle stairs groups
fix #410
2018-05-11 09:09:25 -04:00
Jat15 5efa9af1b7 Building_blocks Alias (#398)
Alias for old node Tar cut by moreblocks.
2017-11-20 12:26:57 -05:00
Jat15 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
Jat15 3021248538 Building Blocks add sound (#393)
- Grate
- Firefplace
- Roofing
2017-09-29 01:05:53 -04:00
Vanessa Ezekowitz 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
Jat15 ddcb08fe62 Building Blocks node_stairs layout
- Glasslike
- RailLike
- Nodebox
- Node
And fix one tabulation with fakegrass.
2017-09-27 18:47:58 +02:00
Jat15 972d30dd38 Building Blocks layout all file 2017-09-27 17:05:20 +02:00
Jat15 cc9276841e Building Blocks Delete return to the line 2017-09-27 16:26:44 +02:00
Jat15 f2f49a3aac Building Blocks Create file recipes 2017-09-27 16:02:54 +02:00
Jat15 b92c9e065b Building Blocks Create file others 2017-09-27 15:58:04 +02:00
Jat15 ea77ac32ea Building Blocks Create file node_stairs 2017-09-27 15:44:33 +02:00
Jat15 14697ef71b Building Blocks create file alias 2017-09-27 15:29:20 +02:00
Jat15 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
Jat15 87e3c9f9ce Building Blocks add alias for moreblocks 2017-09-26 17:19:51 +02:00
Jat15 095e34ad7f Building Blocks Add Alias for bbstairs 2017-09-26 16:48:20 +02:00
Jat15 6c9da755f3 Building Blocks moreblocks and stairs
Simplify integration moreblocks
Replace bb stairs by Stairs
2017-09-26 15:43:47 +02:00
Jat15 c786e3ae05 Building Blocks simplify name for stairs 2017-09-26 15:17:16 +02:00
Vanessa Ezekowitz c60607aa0d use a nodebox for building_blocks BWtile 2017-08-12 16:52:31 -04:00
fat115 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
Vanessa Ezekowitz af41f549a7 fix missing tar alias
(if moreblocks is installed)
2017-02-27 11:27:57 -05:00
Vanessa Ezekowitz 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
Vanessa Ezekowitz cf44a85684 increase yield of tar recipes (2 -> 4) 2017-02-22 13:44:45 -05:00
Diego Martínez 3e585ec482 Add a few missing translations. 2017-01-29 23:49:09 -03:00
Diego Martínez 27e1175fb0 Add missing translations. 2017-01-29 21:57:15 -03:00
Auke Kok 138e078f1b Whitespace damage fixes.
This is cleaned up by `cleanfile` (from the linux kernel tree
tool set).
2016-12-31 12:33:46 -08:00
Foz 90b9f90c0c replace deprecated field 2016-11-04 07:49:18 -09:00
Vanessa Ezekowitz abdd52721c if moreblocks is installed, use different recipe
for sticks -> bundle of sticks

also add recipe to craft bundle --> 4 sticks
2015-10-12 03:32:26 -04:00
Craig Davison ed3aa1e88a Replace LIGHT_MAX with default.LIGHT_MAX 2015-08-01 10:24:43 -04:00
Vanessa Ezekowitz f59e0448c7 optimize all PNGs 2015-05-11 12:51:03 -04:00
kilbith 4dee35893a Cleaning and tweaking node params 2015-04-29 16:58:33 +02:00
Vanessa Ezekowitz 814d43f541 do similar for marble 2015-04-18 17:15:22 -04:00
Vanessa Ezekowitz 4ec6a72d5d put tar block into tar_block group and use that for related recipes 2015-04-18 17:04:00 -04:00
Vanessa Ezekowitz 8b806bf082 if technic isn't installed, define its granite node (as a building
material only) and make it from 5 tar + 4 marble (both from
building_blocks).

If moreblocks is installed (and technic isn't), this node is routed
through the stairsplus component, and a recipe is added that uses
moreblocks' own tar node also.
2015-03-23 02:09:39 -04:00
Vanessa Ezekowitz a97bbbc23e OPTIMIZE _ALL_ THE TEXTURES! \:D/ 2015-01-23 13:53:00 -05:00