Commit Graph

55 Commits (d3a0da6921a0b14315b644b41c054b22c8ae6b70)

Author SHA1 Message Date
Герхард PICCORO Lenz McKAY 3eacc17e73
Fix 0.4 compatibility (#16)
* added minetest 0.4 compatibility due the trasnlation missing support

* if translation is not supported use english on compat/mtg.lua
* improved the code of translation of the already init.lua
* this solves: closes https://github.com/minetest-mods/lavastuff/issues/13
* this solves: closes https://codeberg.org/minenux/lavastuff/issues/1
* close https://codeberg.org/minenux/lavastuff/issues/1

* real fix for compatibility later trasnlations

* real fix for https://github.com/minetest-mods/lavastuff/issues/13
* use native translator or intlib property as must be, but mock if both fails

* fix modname and use intlib depennds only in older engines

* autodetect mod name from minetest api
* added only intllib in depends.txt for older 0.4.X, mod.conf its for 5+
  so due 5+ has built in internationalization its not necesary in that file

* added the depends only when necesary for intllib

* Update init.lua usage or MODNAME and MODPATH

Co-authored-by: LoneWolfHT <lonewolf04361@gmail.com>

* puff also uage ot the MODNAME in get translator

* update luacheck as suggested by lonewolf

i dont know how to avoid the usage of those variables.. but he suggested to just put those .. https://github.com/minetest-mods/lavastuff/pull/16#issuecomment-1036497969

* move intllib to others to do not fail in checks agains moderns engine

also added ',' at the en of the line

Co-authored-by: LoneWolfHT <lonewolf04361@gmail.com>
2022-02-23 21:13:38 -08:00
LoneWolfHT 94d6bd9b44 Properly handle multiple cookable drops 2022-02-02 12:22:05 -08:00
LoneWolfHT 44e408f484 Add logging to indicate mod loading progress 2022-01-10 13:18:24 -08:00
LoneWolfHT 2019afbbc3 Cleanup. Mineclone2 fixes. Start Nodecore support 2022-01-02 11:18:50 -08:00
LoneWolfHT cf9b9c38ff Tweak node brightness 2021-07-29 11:16:07 -07:00
LoneWolfHT af16847eb5 Fix passing of arguments 2021-07-29 11:15:12 -07:00
Louis Royer 0ec8240154 Fix Inner/Outer Stairs translation
Fix Inner/Outer Stairs translation if minetest/minetest_game/pull/2584 is accepted (do not merge until MTG PR is merged).
2020-09-21 12:31:10 +02:00
LoneWolfHT ff314c727f Fix up mod.conf and a type check 2020-05-22 14:55:43 -07:00
LoneWolfHT f9d2556204 Add support for MineClone2 2020-05-20 20:05:13 -07:00
LoneWolfHT eeea2272e4 Fix using the wrong sound for moreblocks stairs 2020-05-20 10:40:02 -07:00
LoneWolfHT 7b405a49a9 Only register crafts if MTG found, mcl2 and nodecore support 2020-05-20 10:14:16 -07:00
LoneWolfHT 335ea36df1 Convert spaces to tabs 2020-03-20 10:04:15 -07:00
LoneWolfHT 678f1113da Make items glow when dropped 2020-02-27 14:11:12 -08:00
Luke aka SwissalpS 82a0ca5f13
allow right-clicking doors and other items
curiously technic chests and machines worked without this patch.
But itemframes and pedestals didn't. Neither did Fancyvendors and probably a lot of items I have not even tried.

This patch should solve the issue in general.
2020-02-13 18:11:39 +01:00
Panquesito7 d331b6bf6e
Various luacheck fixes 2020-01-16 22:43:51 -06:00
LoneWolfHT 82fc0e54b3 Slightly increase brightness of lava in a bottle 2019-08-28 17:05:46 -07:00
LoneWolfHT 476b08c7fe Change tool_fire_func to act similar to a flint & steel 2019-08-28 17:05:04 -07:00
LoneWolfHT 6d8d2f2c92 Change lava orb and ingot crafts 2019-05-19 10:27:05 -07:00
LoneWolfHT 68761e6085 Reduce block light source 2019-05-19 09:24:50 -07:00
LoneWolfHT b813f4ba31 Add translations for lava in a bottle 2019-03-27 14:29:36 -07:00
LoneWolfHT 09dbf2e53d Make lava bottles less bright 2019-03-25 15:01:16 -07:00
LoneWolfHT e3c7a83870 Add 'Lava in a bottle' 2019-03-25 14:48:19 -07:00
LoneWolfHT 3ad964f1c0 Fix bug with languages 2019-02-08 19:01:07 -08:00
LoneWolfHT 6ab2d23b0f Remove lightup feature. Add tool fires. Fix settings 2019-02-08 18:58:36 -08:00
LoneWolfHT 9287198d43 Add spanish translations 2019-02-05 14:30:10 -08:00
LoneWolfHT 69ae4279bc Allow preventing items to be smelted when dug 2019-02-02 15:16:23 -08:00
LoneWolfHT 00857b7355 Add a cooktime limit and settings 2019-02-01 18:32:34 -08:00
LoneWolfHT 78468cd41e Add support for fire_plus 2019-01-27 20:04:53 -08:00
LoneWolfHT d95d6f21b0 Make tools and armor equivalent to ethereal's crystal armor 2019-01-26 18:31:22 -08:00
LoneWolfHT 658c27414c luacheck fixes 2019-01-25 16:43:12 -08:00
LoneWolfHT bc9afaed94 Add support for moreblocks 2019-01-25 16:38:58 -08:00
LoneWolfHT 4b0ace495d Use minetest_game's stairs mod to register stairs and slabs 2019-01-25 16:30:21 -08:00
LoneWolfHT 381b8c9824 Fix buckets being destroyed when crafting lava orbs 2019-01-25 15:54:06 -08:00
LoneWolfHT bb96932f70 Add lightup feature to pickaxes 2019-01-04 20:47:52 -08:00
LoneWolfHT 4e0c4643b0 Fix sword lightup bug 2019-01-04 19:48:57 -08:00
LoneWolfHT d6588615a0 Add some missing recipes and give sword a special ability 2019-01-04 19:04:32 -08:00
LoneWolfHT 78b8993aef Make all lava tools smelt drops 2018-10-17 16:49:18 -07:00
LoneWolfHT 43fb353707 Use latest 3d_armor registration method 2018-10-17 16:42:23 -07:00
LoneWolfHT e38579c03d Clean up unreadable code 2018-10-17 16:34:43 -07:00
ChimneySwift 9fcfe16130
Bug fix with toolranks support 2017-11-18 16:55:08 +10:00
Lone_Wolf 5fe75f6408
Add toolranks support 2017-11-16 20:16:01 -08:00
Lone_Wolf 770e1a73d3
Remove 3d_armor dependency 2017-11-15 23:09:46 -08:00
ChimneySwift 9896e39165
Finished Lava Pick
--Overwrites mobs_monster lava pick with new texture, if mobs_monstor is loaded, otherwise adds a lavastuff lava pick
--Added autosmelt functionality for if not using mobs_monster
--Clears craft for old lava pick recipe
2017-11-16 11:43:55 +10:00
ChimneySwift 0408143802
Fixed Compatibility With mobs_monster 2017-11-16 10:45:07 +10:00
Lone_Wolf de9b6f7648
Update init.lua 2017-11-15 15:55:40 -08:00
Lone_Wolf 46a6c4bb4f
Update init.lua 2017-10-29 16:32:37 -07:00
Lone_Wolf 7666c29800
Add Lava Slab & Stair 2017-10-28 01:06:04 -07:00
Lone_Wolf 48c2f6d611
Fixed Bug 2017-10-27 12:43:12 -07:00
Lone_Wolf d2c83fc52f
Update init.lua 2017-10-27 12:29:35 -07:00
Lone_Wolf c3a741bd24 Update init.lua 2017-10-08 22:27:59 -07:00