Mod rewrite and new models (#21)

* Aliases moved to utils folder

* Method to generate two different formspec layouts, big and small

* Log Actions moved to separate module

* Added method to generate a chest definition

* Rewritten models

* Add Fridge model

* Add Toolbox models

* "Mod loaded" message; Updated localization template

* Add Italian localization

* Fridge now has both normal and big (2 blocks) models

* Fixed mixed indentation

* Rewritten README; improved IT and FR (thanks to @louisroyer) localizations.
This commit is contained in:
nxet
2020-10-08 11:17:51 +02:00
committed by GitHub
parent 939c7ea73d
commit 74b3c5a25d
37 changed files with 659 additions and 595 deletions

6
utils/aliases.lua Normal file
View File

@ -0,0 +1,6 @@
-- Aliases for compatibility with 0gb.us's chests_0gb_us mod.
minetest.register_alias("chests_0gb_us:cobble", "more_chests:cobble")
minetest.register_alias("chests_0gb_us:wifi", "more_chests:wifi")
minetest.register_alias("chests_0gb_us:shared", "more_chests:shared")
minetest.register_alias("chests_0gb_us:secret", "more_chests:secret")
minetest.register_alias("chests_0gb_us:dropbox", "more_chests:dropbox")