Commit Graph

84 Commits

Author SHA1 Message Date
kabou 5431e206b0 Fix hopper breakage in get_item_group return value.
In commit 55009c257e that added vectors to
mcl_composters, mcl_hoppers was accidentally patched with a unrelated
change, updating it to get_item_group().  This mostly works, but in one
particular case the semantics of the return value differs.  Instead of
returning 'nil' it returns '0'.  That altered the evaluation of an if
condition, breaking the abm that sucks in items.

This commit fixes the conditional by explicitly comparing  '~= 0'.
2022-02-24 03:18:25 +01:00
Emojigit 15747220f2 mcl_hoppers 2022-02-23 23:58:05 +01:00
kabou 55009c257e Use new vectors
* Use vector.new instead of xyz table.
2022-02-19 21:18:01 +01:00
Elias Fleckenstein e4feb233e0
Fix hopper dupe 2021-12-09 18:20:24 +01:00
Elias Fleckenstein b0aceae73d
Fix reference dupe glitches 2021-11-19 15:22:40 +01:00
AFCMS a896d7f5e4 replace deprecated "current_name" by "context" for inventory location 2021-06-12 00:09:39 +02:00
marcin-serwin cbe8583cef Merge branch 'master' into polish-translation 2021-06-02 10:14:25 +00:00
AFCMS cd33d406b2 fix many codestyle issues (functions, strings, modpaths) 2021-05-29 16:12:33 +02:00
Elias Fleckenstein d8d4cb5def Revert color changes to GUI.
The Minecraft colorset (net.minecraft.util.text.TextFormatting) is only used for chat and tooltips.
This partically reverts 84819bf9f5.
2021-04-19 14:44:20 +02:00
AFCMS a602f64ea5 fix many warnings 2021-04-15 23:41:34 +02:00
Marcin Serwin 9472f86025 Fix spellchecking errors 2021-04-12 17:58:04 +02:00
Marcin Serwin cec4011de2 Add polish translation of mcl_hoppers 2021-04-12 15:29:33 +02:00
AFCMS 84819bf9f5 MAKE EVERY SINGLE MOD USE PROPER COLORS!!! 2021-03-30 00:01:29 +02:00
Elias Åström ed30fa0868 Move data from deprecated files to mod.conf
Move data from deprecated files (depends.txt and description.txt) into
fields in mod.conf for all mods.

This was done with a shell script :)
2021-03-18 17:37:12 +01:00
AFCMS 8f30e223e2 I hate reverting something xD 2021-03-16 17:39:06 +01:00
kay27 ba51686e6c Russian translation 2020-07-20 00:11:13 +00:00
Wuzzy c156398fb5 Merge branch 'translate-fr' of https://git.minetest.land/lrocher/MineClone2 into translate_fr 2020-05-09 18:57:40 +02:00
Rocher Laurent 4957bd1118 Translate In French 2020-05-03 22:39:07 +02:00
Elias Åström 6315490b14 Update the rest of the blast resistance values
The values have been updated according to this list:

https://minecraft.gamepedia.com/Module:Blast_resistance_values
2020-04-19 13:08:36 +02:00
Wuzzy 6ce3278dd4 Fix missing variable check in hcl_hoppers 2020-03-29 16:05:30 +02:00
Wuzzy da1c3f635c Revert "Add dummy inventory images for backwards-compat"
This reverts commit 73d93ae969.
2020-03-29 14:38:39 +02:00
Wuzzy e9f259881f Add LBMs to update to new node formspecs of 0.60.0 2020-03-29 14:35:01 +02:00
Wuzzy 73d93ae969 Add dummy inventory images for backwards-compat
In 0.60.0, the inventory rendering of nodes was changed, so images were removed. This caused missing image errors with *existing* node formspecs, however, so empty dummy images are added back.
2020-03-29 14:05:59 +02:00
Wuzzy 7243a25fe6 Generate item slot images on the fly 2020-03-24 18:48:14 +01:00
Wuzzy 5a03ce6dac Remove pointless content ID loading in mcl_hoppers 2020-03-14 07:17:46 +01:00
Wuzzy feba60cad8 Translate all extended tooltips to German 2020-03-12 01:35:11 +01:00
Wuzzy 070e928bf0 Merge branch 'tt' 2020-03-10 18:21:32 +01:00
Wuzzy 81fd3fad40 Fix hopper inventory screen 2020-03-10 05:44:37 +01:00
Wuzzy 03ad3cca29 Major default formspec style update
- Uses formspec_prepend to set e.g. button style
- Make all formspecs use the MCL2 style consistently
2020-03-10 05:01:49 +01:00
Wuzzy ba74546d48 Add extended tooltips 2020-02-19 04:54:17 +01:00
wuniversales 15481cb24d Add Spanish translation 2020-02-04 21:43:50 +01:00
Wuzzy 1a02ccd36f Add more node groups 2019-12-13 10:20:08 +01:00
Wuzzy e09a72ed59 Tweak item appearance of internal items 2019-12-09 22:32:40 +01:00
Wuzzy 7471836c2d Fix side hopper not collecting non-fuel items 2019-12-09 08:51:25 +01:00
Wuzzy 9cef74c03b Replace GUI image texts with translatable labels 2019-03-16 05:21:27 +01:00
Wuzzy af4aa6c2ec Change German translation of Shulker 2019-03-16 00:21:17 +01:00
Wuzzy 77ab44217a German transl.: mcl_fishing to mcl_maps + fixes 2019-03-15 06:12:03 +01:00
Wuzzy 5aeb4aea74 Add translation templates for most mods
Using the findtext.lua script
2019-03-13 23:40:59 +01:00
Wuzzy 47c817d75a New translation system, part 8: Items, part 4 2019-03-08 00:22:28 +01:00
Wuzzy a84f7935fa Revert "Utilize formspec prepend"
This reverts commit ea0c2e9568.
2019-03-07 12:42:08 +01:00
Wuzzy ea0c2e9568 Utilize formspec prepend 2019-03-06 06:35:24 +01:00
Wuzzy 312b17a958 Check protection for most nodes 2019-02-08 21:59:01 +01:00
Wuzzy e789801662 Replace getpos() with get_pos() 2019-02-01 06:33:07 +01:00
Wuzzy 7196485294 Remove sunlight propagation for various nodes 2018-01-28 20:21:02 +01:00
Wuzzy 254a3093eb Fix inconsistent hopper texture 2018-01-22 18:06:12 +01:00
Wuzzy e4ab20509f Clean up the redstone rules 2018-01-12 01:37:32 +01:00
Wuzzy 990a9a8b46 Update on_place callbacks when placing hopper 2018-01-10 16:57:57 +01:00
Wuzzy 8b15e41b12 Set hopper redstone rules 2018-01-10 16:35:26 +01:00
Wuzzy bf5e4f0788 Allow to disable hoppers with redstone power 2018-01-10 16:18:42 +01:00
Wuzzy 320567e1f2 Add basic screwdriver support 2017-12-05 14:09:39 +01:00