From 973a8201adc6f6344affc40351d219c6e71b94e2 Mon Sep 17 00:00:00 2001 From: NO11 Date: Sun, 23 May 2021 16:44:01 +0000 Subject: [PATCH 1/9] Pumpkin blur texture --- .../textures/mcl_farming_pumpkin_hud.png | Bin 0 -> 20377 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 mods/ITEMS/mcl_farming/textures/mcl_farming_pumpkin_hud.png diff --git a/mods/ITEMS/mcl_farming/textures/mcl_farming_pumpkin_hud.png b/mods/ITEMS/mcl_farming/textures/mcl_farming_pumpkin_hud.png new file mode 100644 index 0000000000000000000000000000000000000000..48f47253b9d6cdda13c6303fbbc0dcf36af5144c GIT binary patch literal 20377 zcmXt<ZMnD>*6p#_pF}kEXq)VkkK26Sj(IBzs z`n`CrbKQT!d3T=}9W50CTxwhZ00`7n74-lB1ONa~3&jEefJ7TO0s!#5pMkNbp0zg| z;qGex*4Ym3>5H&~+xfh;2LPYtzZs?t%#6^;4f6r+A`r|h;cwYHFTSw?%auHq14E(A zA;;!r!O-&}wZpEU1QbRD2_54X-%$=acK)GpObnSC_bbo-xpmyX*J|{miv?6na=Z&p zzx@qE%uY$U-{0MF6B)M9ZA8A$Z;{K+rwXe+SV=;$Ry@+5=NoPJd0h)|)=v3Z6s&it zDDdU<<|8(FSg=hBENrD&FguFvLf(9IQ6p?(I=fhms13b&b)3*3v@1rorE1F95jT^O z8btqtyl9Ag#$|YlLGf9tzwgI2M``6QFC!cIQoY68?|VbkaJ5-EdkbHVljE0<4~TjwZK`co2`;i|;B8y!%MnP1 zZ_LY&xmrANib;xu{zv)|W*<}=C-+uJj9skuKKc(WTfacA=yB96rl^fsHiJ$sJ9 z@p@X)dmk(EkD6wu0y1JRKi9w0ocpq1rm^!M!BAJ3eUa~2wdZfuGWs9azpDMGI`DUw zlVDK^g3hIp~dNUA(558u=Nrh z7*1Wa^|CcHDaLU|G9D9{;~C)UvPW(#{AmFv$rseXZ_g;m-0jW;Ix-J^ ziw|OSWOa$FUNS*FA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`>3wvM4*d>-^}d)1M;G-`?YZXBme*a07*qoM6N<$g8i#S Ax&QzG literal 0 HcmV?d00001 From dddaed42b62f6a05c073b8cf5ba3f66b55531d81 Mon Sep 17 00:00:00 2001 From: NO11 Date: Sun, 23 May 2021 16:50:09 +0000 Subject: [PATCH 2/9] Obstruct the view of the player when wearing a pumpkin --- mods/ITEMS/mcl_farming/pumpkin.lua | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/mods/ITEMS/mcl_farming/pumpkin.lua b/mods/ITEMS/mcl_farming/pumpkin.lua index 86ddf707b..1c6850f57 100644 --- a/mods/ITEMS/mcl_farming/pumpkin.lua +++ b/mods/ITEMS/mcl_farming/pumpkin.lua @@ -120,8 +120,38 @@ pumpkin_face_base_def._mcl_armor_mob_range_mob = "mobs_mc:enderman" pumpkin_face_base_def._mcl_armor_element = "head" pumpkin_face_base_def._mcl_armor_texture = "mcl_farming_pumpkin_face.png" pumpkin_face_base_def._mcl_armor_preview = "mcl_farming_pumpkin_face_preview.png" + if minetest.get_modpath("mcl_armor") then + local pumpkin_hud = {} + local add_pumpkin_hud = function(player) + pumpkin_hud = player:hud_add({ + hud_elem_type = "image", + position = {x = 0.5, y = 0.5}, + scale = {x = -100, y = -100}, + text = "mcl_farming_pumpkin_hud.png", + }) + end + local remove_pumpkin_hud = function(player) + local player_name = player:get_player_name() + if pumpkin_hud then + player:hud_remove(pumpkin_hud) + end + end + pumpkin_face_base_def.on_secondary_use = mcl_armor.equip_on_use + pumpkin_face_base_def._on_equip = add_pumpkin_hud + pumpkin_face_base_def._on_unequip = remove_pumpkin_hud + + minetest.register_on_joinplayer(function(player) + pumpkin_head = player:get_inventory():get_stack("armor", 2):get_name() == "mcl_farming:pumpkin_face" + if pumpkin_head then + add_pumpkin_hud(player) + end + end) + + minetest.register_on_dieplayer(function(player) + remove_pumpkin_hud(player) + end) end -- Register stem growth From d5a2e5e5144117cb53106aa2845b1f5b2def499b Mon Sep 17 00:00:00 2001 From: NO11 Date: Sun, 23 May 2021 17:38:53 +0000 Subject: [PATCH 3/9] Add "fake" crosshair when the player is wearing a pumpkin --- mods/ITEMS/mcl_farming/pumpkin.lua | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/mods/ITEMS/mcl_farming/pumpkin.lua b/mods/ITEMS/mcl_farming/pumpkin.lua index 1c6850f57..abb698802 100644 --- a/mods/ITEMS/mcl_farming/pumpkin.lua +++ b/mods/ITEMS/mcl_farming/pumpkin.lua @@ -129,6 +129,16 @@ if minetest.get_modpath("mcl_armor") then position = {x = 0.5, y = 0.5}, scale = {x = -100, y = -100}, text = "mcl_farming_pumpkin_hud.png", + z_index = -200 + }) + --this is a fake crosshair, because hotbar and crosshair doesn't support z_index + --TODO: remove this and add correct z_index values when this is fixed: https://github.com/minetest/minetest/issues/9270 + player:hud_add({ + hud_elem_type = "image", + position = {x = 0.5, y = 0.5}, + scale = {x = 1, y = 1}, + text = "crosshair.png", + z_index = -100 }) end local remove_pumpkin_hud = function(player) @@ -137,7 +147,7 @@ if minetest.get_modpath("mcl_armor") then player:hud_remove(pumpkin_hud) end end - + pumpkin_face_base_def.on_secondary_use = mcl_armor.equip_on_use pumpkin_face_base_def._on_equip = add_pumpkin_hud pumpkin_face_base_def._on_unequip = remove_pumpkin_hud From 9b9ec13967192459ee02b67f037005cf660f42cd Mon Sep 17 00:00:00 2001 From: NO11 Date: Sun, 23 May 2021 19:38:49 +0000 Subject: [PATCH 4/9] =?UTF-8?q?=E2=80=9Emods/ITEMS/mcl=5Ffarming/pumpkin.l?= =?UTF-8?q?ua=E2=80=9C=20=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mods/ITEMS/mcl_farming/pumpkin.lua | 1 - 1 file changed, 1 deletion(-) diff --git a/mods/ITEMS/mcl_farming/pumpkin.lua b/mods/ITEMS/mcl_farming/pumpkin.lua index abb698802..6e878e97b 100644 --- a/mods/ITEMS/mcl_farming/pumpkin.lua +++ b/mods/ITEMS/mcl_farming/pumpkin.lua @@ -142,7 +142,6 @@ if minetest.get_modpath("mcl_armor") then }) end local remove_pumpkin_hud = function(player) - local player_name = player:get_player_name() if pumpkin_hud then player:hud_remove(pumpkin_hud) end From 8b11e2fec8668a4caec00e110042f6e7e1649bd5 Mon Sep 17 00:00:00 2001 From: NO11 Date: Sun, 23 May 2021 22:31:13 +0000 Subject: [PATCH 5/9] Add multiplayer support for pumpkin hud --- mods/ITEMS/mcl_farming/pumpkin.lua | 46 ++++++++++++++++++------------ 1 file changed, 27 insertions(+), 19 deletions(-) diff --git a/mods/ITEMS/mcl_farming/pumpkin.lua b/mods/ITEMS/mcl_farming/pumpkin.lua index 6e878e97b..43ee77cf6 100644 --- a/mods/ITEMS/mcl_farming/pumpkin.lua +++ b/mods/ITEMS/mcl_farming/pumpkin.lua @@ -124,26 +124,32 @@ pumpkin_face_base_def._mcl_armor_preview = "mcl_farming_pumpkin_face_preview.png if minetest.get_modpath("mcl_armor") then local pumpkin_hud = {} local add_pumpkin_hud = function(player) - pumpkin_hud = player:hud_add({ - hud_elem_type = "image", - position = {x = 0.5, y = 0.5}, - scale = {x = -100, y = -100}, - text = "mcl_farming_pumpkin_hud.png", - z_index = -200 - }) - --this is a fake crosshair, because hotbar and crosshair doesn't support z_index - --TODO: remove this and add correct z_index values when this is fixed: https://github.com/minetest/minetest/issues/9270 - player:hud_add({ - hud_elem_type = "image", - position = {x = 0.5, y = 0.5}, - scale = {x = 1, y = 1}, - text = "crosshair.png", - z_index = -100 - }) + local name = player:get_player_name() + pumpkin_hud[name] = { + pumpkin_blur = player:hud_add({ + hud_elem_type = "image", + position = {x = 0.5, y = 0.5}, + scale = {x = -100, y = -100}, + text = "mcl_farming_pumpkin_hud.png", + z_index = -200 + }), + --this is a fake crosshair, because hotbar and crosshair doesn't support z_index + --TODO: remove this and add correct z_index values + fake_crosshair = player:hud_add({ + hud_elem_type = "image", + position = {x = 0.5, y = 0.5}, + scale = {x = 1, y = 1}, + text = "crosshair.png", + z_index = -100 + }) + } end local remove_pumpkin_hud = function(player) - if pumpkin_hud then - player:hud_remove(pumpkin_hud) + local name = player:get_player_name() + if pumpkin_hud[name] then + player:hud_remove(pumpkin_hud[name].pumpkin_blur) + player:hud_remove(pumpkin_hud[name].fake_crosshair) + pumpkin_hud[name] = nil end end @@ -157,10 +163,12 @@ if minetest.get_modpath("mcl_armor") then add_pumpkin_hud(player) end end) - minetest.register_on_dieplayer(function(player) remove_pumpkin_hud(player) end) + minetest.register_on_leaveplayer(function(player) + remove_pumpkin_hud(player) + end) end -- Register stem growth From ba38f787e2f22c3e10d392bf94bd85bf3f712022 Mon Sep 17 00:00:00 2001 From: NO11 Date: Mon, 24 May 2021 11:09:47 +0000 Subject: [PATCH 6/9] Fix local function code style --- mods/ITEMS/mcl_farming/pumpkin.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mods/ITEMS/mcl_farming/pumpkin.lua b/mods/ITEMS/mcl_farming/pumpkin.lua index 43ee77cf6..d9e2b59c5 100644 --- a/mods/ITEMS/mcl_farming/pumpkin.lua +++ b/mods/ITEMS/mcl_farming/pumpkin.lua @@ -123,7 +123,7 @@ pumpkin_face_base_def._mcl_armor_preview = "mcl_farming_pumpkin_face_preview.png if minetest.get_modpath("mcl_armor") then local pumpkin_hud = {} - local add_pumpkin_hud = function(player) + local function add_pumpkin_hud(player) local name = player:get_player_name() pumpkin_hud[name] = { pumpkin_blur = player:hud_add({ @@ -144,7 +144,7 @@ if minetest.get_modpath("mcl_armor") then }) } end - local remove_pumpkin_hud = function(player) + local function remove_pumpkin_hud(player) local name = player:get_player_name() if pumpkin_hud[name] then player:hud_remove(pumpkin_hud[name].pumpkin_blur) From 47b6a8d7f89e3c17268d72acf88411b8aa2a519b Mon Sep 17 00:00:00 2001 From: NO11 Date: Tue, 25 May 2021 09:03:06 +0000 Subject: [PATCH 7/9] Remove unused variable --- mods/ITEMS/mcl_farming/pumpkin.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mods/ITEMS/mcl_farming/pumpkin.lua b/mods/ITEMS/mcl_farming/pumpkin.lua index d9e2b59c5..50e6a7970 100644 --- a/mods/ITEMS/mcl_farming/pumpkin.lua +++ b/mods/ITEMS/mcl_farming/pumpkin.lua @@ -158,8 +158,7 @@ if minetest.get_modpath("mcl_armor") then pumpkin_face_base_def._on_unequip = remove_pumpkin_hud minetest.register_on_joinplayer(function(player) - pumpkin_head = player:get_inventory():get_stack("armor", 2):get_name() == "mcl_farming:pumpkin_face" - if pumpkin_head then + if player:get_inventory():get_stack("armor", 2):get_name() == "mcl_farming:pumpkin_face" then add_pumpkin_hud(player) end end) From 91ae3208bd6db7adf74e2b4e9af56617f400eeb1 Mon Sep 17 00:00:00 2001 From: NO11 Date: Sat, 29 May 2021 08:51:38 +0000 Subject: [PATCH 8/9] Fix typo on settingtypes.txt --- settingtypes.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/settingtypes.txt b/settingtypes.txt index 78a8122b5..ea1c1a50a 100644 --- a/settingtypes.txt +++ b/settingtypes.txt @@ -1,4 +1,4 @@ -# This file contains settings of MineClone 2that can be changed in +# This file contains settings of MineClone 2 that can be changed in # minetest.conf [World] From ec542a142a6d6f4087b2f13c48a9583b737115ff Mon Sep 17 00:00:00 2001 From: NO11 Date: Sat, 29 May 2021 08:56:11 +0000 Subject: [PATCH 9/9] Improve pumkin hud a bit --- mods/ITEMS/mcl_farming/pumpkin.lua | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/mods/ITEMS/mcl_farming/pumpkin.lua b/mods/ITEMS/mcl_farming/pumpkin.lua index 50e6a7970..14b08f681 100644 --- a/mods/ITEMS/mcl_farming/pumpkin.lua +++ b/mods/ITEMS/mcl_farming/pumpkin.lua @@ -124,8 +124,7 @@ pumpkin_face_base_def._mcl_armor_preview = "mcl_farming_pumpkin_face_preview.png if minetest.get_modpath("mcl_armor") then local pumpkin_hud = {} local function add_pumpkin_hud(player) - local name = player:get_player_name() - pumpkin_hud[name] = { + pumpkin_hud[player] = { pumpkin_blur = player:hud_add({ hud_elem_type = "image", position = {x = 0.5, y = 0.5}, @@ -145,11 +144,10 @@ if minetest.get_modpath("mcl_armor") then } end local function remove_pumpkin_hud(player) - local name = player:get_player_name() - if pumpkin_hud[name] then - player:hud_remove(pumpkin_hud[name].pumpkin_blur) - player:hud_remove(pumpkin_hud[name].fake_crosshair) - pumpkin_hud[name] = nil + if pumpkin_hud[player] then + player:hud_remove(pumpkin_hud[player].pumpkin_blur) + player:hud_remove(pumpkin_hud[player].fake_crosshair) + pumpkin_hud[player] = nil end end @@ -166,7 +164,7 @@ if minetest.get_modpath("mcl_armor") then remove_pumpkin_hud(player) end) minetest.register_on_leaveplayer(function(player) - remove_pumpkin_hud(player) + pumpkin_hud[player] = nil end) end