From 82114352d83eb59c2fb3aef2af502ae47b72a4d4 Mon Sep 17 00:00:00 2001 From: Bumperdo09 <45916709+Bumperdo09@users.noreply.github.com> Date: Fri, 6 Feb 2026 00:33:55 -0500 Subject: [PATCH] Add Curios Face Slot (For Engineers Goggles and Face Mask) (#2992) * Add Curios Face Slot Curio face slot for create goggles and GT face mask. GT night vision goggles would need extra work to get working in the curio slot * InventoryHUD config for face curio slot --- config/InventoryHUD/curios.json | 7 +++++++ kubejs/assets/tfg/lang/en_us.json | 1 + kubejs/assets/tfg/textures/slot/face.png | Bin 0 -> 650 bytes kubejs/data/tfg/curios/entities/entities.json | 8 ++++++++ kubejs/data/tfg/curios/slots/face.json | 5 +++++ kubejs/server_scripts/create/tags.js | 4 ++++ kubejs/server_scripts/gregtech/tags.js | 4 ++++ 7 files changed, 29 insertions(+) create mode 100644 kubejs/assets/tfg/textures/slot/face.png create mode 100644 kubejs/data/tfg/curios/entities/entities.json create mode 100644 kubejs/data/tfg/curios/slots/face.json diff --git a/config/InventoryHUD/curios.json b/config/InventoryHUD/curios.json index eb0aca1d4..57bff8aaf 100644 --- a/config/InventoryHUD/curios.json +++ b/config/InventoryHUD/curios.json @@ -13,6 +13,13 @@ "halign": "LEFT", "valign": "BOTTOM" }, + "face": { + "x": 2, + "y": 134, + "enabled": true, + "halign": "LEFT", + "valign": "BOTTOM" + }, "hands": { "x": 2, "y": 44, diff --git a/kubejs/assets/tfg/lang/en_us.json b/kubejs/assets/tfg/lang/en_us.json index f59ce46fb..7796d84d5 100644 --- a/kubejs/assets/tfg/lang/en_us.json +++ b/kubejs/assets/tfg/lang/en_us.json @@ -1686,6 +1686,7 @@ "trim_material.tfc.neutronium_tfc": "Neutronium", "trim_material.tfc.pyrite_tfc": "Pyrite", "trim_material.tfc.redx_tfc": "RedX", + "curios.identifier.face": "Face", "tfg.emi.ore_veins.rock_types": "Found in rock types:", "tfg.emi.ore_veins.rarity": "Rarity: 1/%d chunks", "tfg.emi.ore_veins.density": "Density: %d", diff --git a/kubejs/assets/tfg/textures/slot/face.png b/kubejs/assets/tfg/textures/slot/face.png new file mode 100644 index 0000000000000000000000000000000000000000..0908de242aa3cf071d6fc43a8a3d96256610ab78 GIT binary patch literal 650 zcmeAS@N?(olHy`uVBq!ia0y~yU=RRd4mJh`2Kmqb6B!s7TQZ%U13aCb6$*;-(=u~X z85lGs)=u2-eb_L?!Lj$~Q@T^B%vJv)gy?XvMVeJME7z2r`j;Al&)b$6V(T@1vW( z-p}{=%cO~VD%z>fGkMW;q(5eQY~ACSvWN#W6P2gWROb`!ekwPudPXSE)QUEXRV$>P za#v0lJr_OaYE*OSyOZ$}T3OnW>n_VU3we7e@(LPBtysjyZ5U-57UG^ zlTTJPO-yDiT`@t%{)haZch_`${damUWD%&?__n`LVF&k?+1vis=G=ZOeBeJ%OlEBT zUe+_UlkUCAx~QCxA-!YAyR1)g1v{Bt=9QeBAal|`SYv9#cjI5nm<)=zdDiUQTl%f= z7sHbktDj0gcpxxCBlz2{hT|;+&tG zo0?a`;9QiNSdyBeP@Y+mq2TW68xY>eC(gjYkmTv&7-DfcIYA=hK!>k^iOCmxvyWF- zhZ{dK)dg|%&hB_3IZ-vyOrVHyQxuQ7a1mozsR5te*&SClJqT)$OJL!34{tahEz$PS yNH%`Wfg>|lOj~r~E7Q4#L*gAQ!A~wQF+4B#y)ipq@+1QT1B0ilpUXO@geCyC4+cd5 literal 0 HcmV?d00001 diff --git a/kubejs/data/tfg/curios/entities/entities.json b/kubejs/data/tfg/curios/entities/entities.json new file mode 100644 index 000000000..dfd119064 --- /dev/null +++ b/kubejs/data/tfg/curios/entities/entities.json @@ -0,0 +1,8 @@ +{ + "entities": [ + "minecraft:player" + ], + "slots": [ + "face" + ] +} \ No newline at end of file diff --git a/kubejs/data/tfg/curios/slots/face.json b/kubejs/data/tfg/curios/slots/face.json new file mode 100644 index 000000000..046825bab --- /dev/null +++ b/kubejs/data/tfg/curios/slots/face.json @@ -0,0 +1,5 @@ +{ + "size": 1, + "icon": "tfg:slot/face", + "add_cosmetic": false +} \ No newline at end of file diff --git a/kubejs/server_scripts/create/tags.js b/kubejs/server_scripts/create/tags.js index 704c76b11..81d451ee3 100644 --- a/kubejs/server_scripts/create/tags.js +++ b/kubejs/server_scripts/create/tags.js @@ -9,6 +9,10 @@ const registerCreateItemTags = (event) => { event.add('c:hidden_from_recipe_viewers', item) }) + // Face curio slot for goggles + event.remove("curios:head", "create:goggles") + event.add("curios:face", "create:goggles") + // This is greate's fault event.remove('c:hidden_from_recipe_viewers', 'create:copper_sheet') event.remove('c:hidden_from_recipe_viewers', 'create:brass_sheet') diff --git a/kubejs/server_scripts/gregtech/tags.js b/kubejs/server_scripts/gregtech/tags.js index bca277013..91ea36295 100644 --- a/kubejs/server_scripts/gregtech/tags.js +++ b/kubejs/server_scripts/gregtech/tags.js @@ -13,6 +13,10 @@ function registerGTCEUItemTags(event) { event.add("c:hidden_from_recipe_viewers", item); }); + // Face curio slot for mask + event.remove("curios:head", "gtceu:face_mask") + event.add("curios:face", "gtceu:face_mask") + // Добавление тега EMI для скрытия всех руд event.add("c:hidden_from_recipe_viewers", "#forge:ores");