1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2024-12-23 08:20:21 +01:00
Commit Graph

34 Commits

Author SHA1 Message Date
Niklp
1ef4837abe
Use initial_properties for entities (#74) 2024-07-03 16:09:31 +10: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
60d63cda6f
Fix translation errors reported by i18ncheck.py (#58) 2023-08-15 18:28:39 -04:00
wsor4035
9c7eb2e502
fix https://github.com/mt-mods/homedecor_modpack/issues/50/ - swap l to 1 in translations 2023-02-20 19:54:33 -05: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
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
f6f6f3a3c3 fix depreciated setyaw call https://github.com/mt-mods/homedecor_modpack/issues/7 2021-11-27 19:56:36 -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
SwissalpS
77af2295ae add description of item in frame / on pedestal
lets players brag about their tools and is useful
for better overview.
2020-10-14 10:22:12 +00:00
SwissalpS
43de5b79ae Display item's description in infotext.
allows players to brag about their tool stats and is useful for better overview.
2020-10-12 06:23:01 +00:00
Louis Royer
1090c9139c .luacheckrc on each mod 2020-08-05 16:01:47 +02:00
Louis Royer
b88d76d07f MT5 translation for itemframes
- Fix luacheck warnings
2020-08-05 16:01:47 +02:00
TenPlus1
0cd8bd7780 remove homedecor_i18n and merged into homedecor_common, fixed meseon global error 2019-04-21 16:25:21 +01: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
Oscar
5e6307ea3a Change sounds for the "Itemframe" and "Pedestal (#395) 2017-09-29 23:39:15 -04:00
frodon1
d18bee7fa0 Fix calls to check_player_privs with player name instead of player userdata
Fixes #357
2017-02-27 21:56:16 +01:00
Vanessa Ezekowitz
f4144817e2 fix a similar crash possibility in itemframes:frame 2017-02-22 17:48:11 -05:00
Vanessa Ezekowitz
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
Diego Martínez
27e1175fb0 Add missing translations. 2017-01-29 21:57:15 -03:00
Foz
a14722eb98 Add support for protection_bypass priv.
Closes #330
2017-01-06 21:05:58 -08:00
Tim
436fdfac55 Prevent crashs in can_dig on nil-player. 2016-07-31 13:07:25 +02:00
tenplus1
7b9533fea4 Stop mesecon pistons pushing frame/pedestal
This pull checks for mesecons_mvps mod and adds the item frame and
pedestal items to the list of non-movable items so that players cannot
exploit the double-item glitch.

mesecons_mvps added to depends.txt file for this to work.
2016-04-14 22:11:19 -07:00
Auke Kok
16ae960520 Style updates.
There's no actual code changes here.
2016-04-12 10:09:45 -07:00
Tim
518d1432f6 change more recipes to use groups instead of nodenames 2015-08-16 19:41:26 +02:00
tenplus1
7266b230aa Drop item when dug, abm issue
A quick edit to drop items from an itemframe or pedestal when dug instead of removing them, also a fix for the abm to update pedestals properly...
2015-08-05 15:29:30 +01:00
kilbith
f1dca4e990 Fix screwdriver variables 2015-05-15 13:22:05 +02:00
kilbith
e374b83bc0 Disallow partially or entirely some items to rotate with the screwdriver 2015-05-14 12:41:11 +02:00
Vanessa Ezekowitz
a97bbbc23e OPTIMIZE _ALL_ THE TEXTURES! \:D/ 2015-01-23 13:53:00 -05:00
Tim
be4ed12b6c whitespace cleanup:
* remove all trailing whitespaces
* make inbox and computer use the prevalent indentation rules
* CRLF->LF where found
2015-01-21 00:44:23 +01:00
Tim
16756150ac make sure, that itemframes always remove their entities, even when worldediting 2015-01-15 13:23:42 +01:00
Vanessa Ezekowitz
4de58abc31 minetest.env:* --> minetest.* 2014-11-30 12:21:28 -05:00
Vanessa Ezekowitz
71dad95d40 PNGCRUSH _ALL_ THE TEXTURES! "\_:D/ 2014-11-02 13:03:34 -05:00
Vanessa Ezekowitz
a5529dc6cc Import Zeg9's item_frames mod
with fixes by me, see
https://github.com/VanessaE/minetest-itemframes
2014-09-10 14:25:17 -04:00