From f8144d55c3153cd473810aff0a3ed6227ef45fd6 Mon Sep 17 00:00:00 2001 From: Joachim Stolberg Date: Sun, 2 May 2021 17:05:29 +0200 Subject: [PATCH] Change TA4 Furnace Heater recipe, fix TA4 Doser bug --- items/ceramic.lua | 54 ++++++++++++++++++++++++++ textures/shrink.sh | 2 + textures/techage_ceramic_material.png | Bin 0 -> 1068 bytes textures/techage_furnace_ceramic.png | Bin 0 -> 643 bytes 4 files changed, 56 insertions(+) create mode 100644 items/ceramic.lua create mode 100755 textures/shrink.sh create mode 100644 textures/techage_ceramic_material.png create mode 100644 textures/techage_furnace_ceramic.png diff --git a/items/ceramic.lua b/items/ceramic.lua new file mode 100644 index 0000000..e6864e5 --- /dev/null +++ b/items/ceramic.lua @@ -0,0 +1,54 @@ +--[[ + + TechAge + ======= + + Copyright (C) 2021 Joachim Stolberg + + AGPL v3 + See LICENSE.txt for more information + + TA4 Ceramic + +]]-- + +local S = techage.S + +minetest.register_craftitem("techage:ta4_ceramic_material", { + description = S("TA4 Ceramic Material"), + inventory_image = "techage_ceramic_material.png", + groups = {powder = 1}, +}) + +techage.recipes.add("ta4_doser", { + output = "techage:ta4_ceramic_material 2", + input = { + "techage:clay_powder 1", + "techage:aluminum_powder 1", + "techage:silver_sandstone_powder 1", + "techage:water 1", + } +}) + +minetest.register_craft({ + output = "techage:ta4_ceramic_material 2", + recipe = { + {"techage:clay_powder", "techage:aluminum_powder", ""}, + {"techage:silver_sandstone_powder", "bucket:bucket_water", ""}, + {"", "", ""}, + } +}) + +minetest.register_craftitem("techage:ta4_furnace_ceramic", { + description = S("TA4 Furnace Ceramic"), + inventory_image = "techage_furnace_ceramic.png", +}) + +techage.furnace.register_recipe({ + output = "techage:ta4_furnace_ceramic", + recipe = { + "techage:ta4_ceramic_material", + "techage:ta4_ceramic_material", + }, + time = 16, +}) \ No newline at end of file diff --git a/textures/shrink.sh b/textures/shrink.sh new file mode 100755 index 0000000..36036c5 --- /dev/null +++ b/textures/shrink.sh @@ -0,0 +1,2 @@ +#!/bin/bash +pngquant --skip-if-larger --quality=80 --strip *.png --ext .png --force \ No newline at end of file diff --git a/textures/techage_ceramic_material.png b/textures/techage_ceramic_material.png new file mode 100644 index 0000000000000000000000000000000000000000..ce9fcf81262c2aceeeec167743b1c7c3d2e66abc GIT binary patch literal 1068 zcmV+{1k?M8P)fW0fX=VE^Q`ozHKYj0e-;5;3IbXk*xSF!8nx=`0 zi@H;G3+i>T{T~5XbrdyX8~jS3u8Sb}RRf{67l3I{$4%7KkpO|Qla1L}M zRxo0O4$c8AS3sYqdWI>?W<7I)+bW8wBCSCcprYlXVybZ4Wg4Hm%FvVGtgB zAa0sx15{1#FlZlpAcFH@h$ikb00B7!kO7^lde;jiCkm0!$n(0lD5ZY_D6JBA7NJ4< z3go!~;7jxlr5t#GY5_$JY&!vxy#gW^%81w&?Y$)aKtV*g$_4rqodW>U0k9LhTodBe zfjj|Jp#bQ`kzgy3MZ8pUJ@hAm9&xvg%VX064$~GU-l>1#pO{ zFak15WRlqWgxR2T1E2trNoIkvTu}?4L~#=yQvxB$>>;toalE(k#={{2039R`roK}9 z+ycD2qBpP;1E%zcJ^`ritye~A!m|k00fxu6~&C;sR8Tbk@#@E>jRMJ`(efT z;%~Ajf*Tj65&wWZ=bU9)0sfjyfEdxG`tK;?>5*7YMTr9EyFj{iHLQ#*6l}?awm%*pBz!#TKje{jE z!owq!2pa+;zTtec5Om2!5w;p2m;(kq13(*Ectm~Rw3xTERM#O#sRf=KkMpTV77OKa zv7H~11R|DtuQYH6V=A)nI8&Uf?Ysp*;x<^|$-x%T-}O9qQ~)r01bq}Rz#RhY1MC)E z-cnR}K$mIuXn_|1He(l)@TjM>g0EdBX?NhD1I{s7QL+c%h^JW-(sTfT@C`=A)!ul} zhlyku6m)QI`4X#}5iKlmtu10s`oy}p84xC0(%sGc$1EY&+NTc+ZxP_*oa1hMxur1X z4>-?$)&csS@Wx9Jm~!UQ-FE&Hdgv1kw~f5hfTAwL?H@6^-+uq8iH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