Commit Graph

77 Commits

Author SHA1 Message Date
AFCMS
560aead57f
Use table.indexof in mcl_anvils 2023-08-19 18:18:27 +02:00
AFCMS
bb3771c0d2
Fix formating in mcl_anvils 2023-08-19 18:01:31 +02:00
AFCMS
ecb4c82600
Anvil Formspec
- anvil formspec
- hammer icon
- use new vectors
- add some type annotations
- optimize textures (some of them by 95%)
2023-08-19 18:01:28 +02:00
cora
817fb83ba6 Fix Anvil stacking dupe II
This guarantees that the anvil logic never overstacks the output slot
2022-06-30 14:03:55 +02:00
NO11
ca086109bf support tables for _repair_material 2021-08-31 21:04:57 +00:00
NO11
f0af15fcd8 Make anvil selection/collision box more MC like 2021-08-26 10:14:57 +00:00
NO11
f8dcf05670 Add MC like nodebox for anvils 2021-08-11 15:41:45 +00:00
AFCMS
cd33d406b2 fix many codestyle issues (functions, strings, modpaths) 2021-05-29 16:12:33 +02:00
AFCMS
21fdf492e2 [mcl_anvils] fix warnings 2021-05-23 11:20:21 +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 84819bf9f5164ab208b7be1e94d142906359a1af.
2021-04-19 14:44:20 +02:00
AFCMS
84819bf9f5 MAKE EVERY SINGLE MOD USE PROPER COLORS!!! 2021-03-30 00:01:29 +02:00
AFCMS
e2fd0823b9 Fix #1398 2021-03-27 07:10:50 +01:00
kay27
6addb7db18 Merge pull request 'Move item renaming to tt to fix enchanted named items' (#1364) from BlueBlancmanche/MineClone2:anvil-fix into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/1364
2021-03-24 05:09:54 +00:00
Blue Blancmange
44c4999b37 Move item renaming to tt. This allows additional information such as enchantments to be displayed on named items 2021-03-22 23:02:11 +00:00
Elias Fleckenstein
0a5b1e75d0 Fix anvil duplication glitch 2021-03-12 15:30:27 +01:00
Elias Fleckenstein
aeb7078c05 Update use_texture_alpha to the minetest 5.4 conventions 2021-02-18 14:00:17 +01:00
Elias Fleckenstein
3791f8983e Combine tools in anvil 2020-11-01 15:15:44 +01:00
Elias Fleckenstein
26f3d821a4 Proper anvil naming support 2020-11-01 13:44:05 +01:00
Wuzzy
723a306e1e Anvils: Add tt tooltip to damaged anvils 2020-08-20 19:52:00 +02:00
Wuzzy
f91ae540c2 Add leafdecay and anvil damage particles 2020-08-19 13:22:40 +02:00
Elias Åström
4827d2a83a Update anvil maximum name length to 35 2020-07-26 17:39:55 +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
c5e4ec5e27 Use ephemeral sounds 2020-04-07 00:55:45 +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
7243a25fe6 Generate item slot images on the fly 2020-03-24 18:48:14 +01:00
Wuzzy
070e928bf0 Merge branch 'tt' 2020-03-10 18:21:32 +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
Wuzzy
f2b7392a30 Use "minetest" instead of "core" table 2020-01-06 13:02:30 +01:00
Wuzzy
041839fd1a Update falling node when anvil got destroyed 2019-10-02 19:06:55 +02:00
Wuzzy
9cef74c03b Replace GUI image texts with translatable labels 2019-03-16 05:21:27 +01:00
Wuzzy
342202c979 New translation system, part 5: Items, part 1 2019-03-07 21:36:21 +01:00
Wuzzy
a84f7935fa Revert "Utilize formspec prepend"
This reverts commit ea0c2e9568dcb9d63f777ac62307af65c9a47603.
2019-03-07 12:42:08 +01:00
Wuzzy
ea0c2e9568 Utilize formspec prepend 2019-03-06 06:35:24 +01:00
Wuzzy
3ba4aabbcf Check for protection when using anvil formspec 2019-02-09 00:17:25 +01:00
Wuzzy
312b17a958 Check protection for most nodes 2019-02-08 21:59:01 +01:00
Wuzzy
c55714ea0c Reduce dependencies of mcl_anvils 2018-05-31 15:18:48 +02:00
Wuzzy
30be3e742f Damage anvil after falling 2018-02-05 19:58:31 +01:00
Wuzzy
c71bd9588d Generalize anvil damage 2018-02-05 19:03:56 +01:00
Wuzzy
584ef08266 Fix anvil repair sometimes destroying items 2018-02-05 18:35:12 +01:00
Wuzzy
d713cd193c Move falling anvil handling to other mod 2018-02-05 17:18:28 +01:00
Wuzzy
eef6c44e4a Anvils: Allow to use up to 4 materials at once 2018-02-05 16:09:29 +01:00
Wuzzy
2f88529d41 Don't allow anvil repair if already at max health 2018-02-04 07:36:47 +01:00
Wuzzy
4608a2f98d Generalize some anvil attributes in help 2018-02-04 07:00:26 +01:00
Wuzzy
197afa664b Use color for named items 2018-02-04 06:39:10 +01:00
Wuzzy
8ff92fcb7f Fix anvil not updating after removing input slot 2018-02-04 06:13:12 +01:00
Wuzzy
2c0eee27fc Fix restore of banner desc after anvil rename 2018-02-04 05:52:10 +01:00
Wuzzy
d594b7b62f Fix anvil may destroy items when taking output 2018-02-03 05:50:59 +01:00
Wuzzy
256dd1e26a Fix some anvil renaming issues 2018-02-03 05:42:19 +01:00
Wuzzy
fda5ed9e1c Allow to confirm anvil name with enter key 2018-02-03 05:34:20 +01:00