Change TA4 Furnace Heater recipe, fix TA4 Doser bug

This commit is contained in:
Joachim Stolberg 2021-05-02 17:05:29 +02:00
parent b52804bc91
commit f8144d55c3
4 changed files with 56 additions and 0 deletions

54
items/ceramic.lua Normal file
View File

@ -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,
})

2
textures/shrink.sh Executable file
View File

@ -0,0 +1,2 @@
#!/bin/bash
pngquant --skip-if-larger --quality=80 --strip *.png --ext .png --force

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 643 B