Commit graph

8 commits

Author SHA1 Message Date
Mikita Wiśniewski
bd93df71fe mcl_chests: Fix the cracking animation; code and docs clean-up ()
* Fix the cracking animation on chests by setting `use_texture_alpha` to "blend" instead of "clip"
* De-duplicate double chests' `on_rightclick` code
* Use `ipairs(tbl)` instead of `i=1,#tbl` where applicable
* Lots of miscellaneous code formatting/styling fixes
* Minor grammar fixes in documentation files

Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4959
Reviewed-by: teknomunk <teknomunk@protonmail.com>
Co-authored-by: Mikita Wiśniewski <rudzik8@protonmail.com>
Co-committed-by: Mikita Wiśniewski <rudzik8@protonmail.com>
2025-03-03 12:18:44 +01:00
Mikita Wiśniewski
0385abc277 Fix undeclared (global) variable usage ()
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4803
Reviewed-by: teknomunk <teknomunk@protonmail.com>
Co-authored-by: Mikita Wiśniewski <rudzik8@protonmail.com>
Co-committed-by: Mikita Wiśniewski <rudzik8@protonmail.com>
2025-01-05 15:57:02 +01:00
seventeenthShulker
0408f9c3d8 Update hardness and blast res for value not matching the wiki
- Notably, smooth sandstone (and red) is much more durable than other sandstone variants
- Ender chest isn't actually more explosion resistant than obsidian, hmm
2024-08-18 04:47:12 +02:00
Mikita Wiśniewski
347305eaea Fix ender chests rotate crash 2024-07-31 02:27:26 +02:00
Mikita Wiśniewski
f1fa6240bb Fix shift-clicking and a few luacheck warnings 2024-07-31 02:27:26 +02:00
Mikita Wiśniewski
209b24a2fb Move LBMs out of init.lua and fix API.md 2024-07-31 02:27:26 +02:00
Mikita Wiśniewski
d6d64d8837 Fix long doc strings 2024-07-31 02:27:26 +02:00
Mikita Wiśniewski
e771f0e3ff Split ITEMS/mcl_chests/init.lua (fixes )
Shulker boxes can now be rotated.

The TODO will now be transferred to PR.
2024-07-31 02:27:26 +02:00