alloying furnace gui minor changes

This commit is contained in:
minjaesong
2024-03-16 05:12:14 +09:00
parent 37b4fa1e7b
commit 09e5b175b8
6 changed files with 32 additions and 13 deletions

View File

@@ -0,0 +1,16 @@
{
/* stone brick */
"basegame:19": {
"workbench": "masonry",
"ingredients": [
[1, 1, "$ROCK"]
]
},
/* white stone tile */
"basegame:18": {
"workbench": "masonry",
"ingredients": [
[1, 1, "basegame:21"]
]
}
}

View File

@@ -75,31 +75,31 @@
"item@basegame:44": { /* signal blocker */
"workbench": "basiccrafting",
"ingredients": [
[1, 2, "basegame:21", 1, "item@basegame:116", 1, "item@basegame:112"] /* 2 marbles, 1 tin, 1 copper */
[1, 2, "$ROCK", 1, "item@basegame:116", 1, "item@basegame:112"] /* 2 rocks, 1 tin, 1 copper */
]
},
"item@basegame:45": { /* signal latch */
"workbench": "basiccrafting",
"ingredients": [
[1, 3, "basegame:21", 1, "item@basegame:116", 2, "item@basegame:112"] /* 3 marbles, 3 tin, 3 copper */
[1, 3, "$ROCK", 1, "item@basegame:116", 2, "item@basegame:112"] /* 3 rocks, 3 tin, 3 copper */
]
},
"item@basegame:8": { /* signal emitter */
"workbench": "basiccrafting",
"ingredients": [
[2, 1, "basegame:21", 1, "item@basegame:116"] /* 1 marbles, 1 tin, 1 copper */
[2, 1, "$ROCK", 1, "item@basegame:116"] /* 1 rocks, 1 tin, 1 copper */
]
},
"item@basegame:46": { /* signal repeater */
"workbench": "basiccrafting",
"ingredients": [
[1, 1, "basegame:21", 1, "item@basegame:116"] /* 1 marbles, 1 tin, 1 copper */
[1, 1, "$ROCK", 1, "item@basegame:116"] /* 1 rocks, 1 tin, 1 copper */
]
},
"item@basegame:49": { /* signal adder */
"workbench": "basiccrafting",
"ingredients": [
[1, 1, "basegame:21", 1, "item@basegame:116"] /* 2 marbles, 2 tin, 2 copper */
[1, 1, "$ROCK", 1, "item@basegame:116"] /* 2 rocks, 2 tin, 2 copper */
]
}
}

Binary file not shown.

View File

@@ -66,22 +66,22 @@ class UIAlloyingFurnace(val smelter: FixtureAlloyingFurnace) : UICanvas(
private val leftPanelY = playerThings.posY
private val backdropColour = Color(0x999999_c8.toInt())
private val backdropZoom = 9f
private val backdropZoom = 10f
private val backdropX = (leftPanelX + (leftPanelWidth - smelterBackdrops.tileW * backdropZoom) / 2).toFloat()
private val backdropY = (leftPanelY + (leftPanelHeight - smelterBackdrops.tileH * backdropZoom) / 2).toFloat()
private val oreX1 = backdropX + 3 * backdropZoom + 4
private val oreX2 = backdropX + 9 * backdropZoom - 1
private val oreX1 = backdropX + 3 * backdropZoom + 7
private val oreX2 = backdropX + 9 * backdropZoom + 2
private val oreY1 = backdropY + 6 * backdropZoom + 3
private val oreY2 = backdropY + 6 * backdropZoom + 3
private val fireboxX = backdropX + 6 * backdropZoom + 2
private val fireboxX = backdropX + 6 * backdropZoom + 4
private val fireboxY = backdropY + 21 * backdropZoom - 2
private val productX = backdropX + 21 * backdropZoom + 1
private val productY = backdropY + 11 * backdropZoom - 3
private val thermoX = (backdropX + 16 * backdropZoom + 3).toInt()
private val thermoX = (backdropX + 13 * backdropZoom + 3).toInt()
private val thermoY = (backdropY + 21 * backdropZoom - 2).toInt()

Binary file not shown.