metal working station and recipes

This commit is contained in:
minjaesong
2023-12-06 00:22:35 +09:00
parent 0d290dfc1f
commit ceea2ff1a2
14 changed files with 212 additions and 10 deletions

View File

@@ -106,7 +106,9 @@ class CraftingCodex {
data class CraftingRecipe(val workbench: String, val ingredients: Array<CraftingIngredients>, val moq: Long, val product: ItemID, val addedBy: String)
data class CraftingIngredients(val key: String, val keyMode: CraftingItemKeyMode, val qty: Long)
data class CraftingIngredients(val key: String, val keyMode: CraftingItemKeyMode, val qty: Long) {
override fun toString() = "$qty ${if (keyMode == CraftingItemKeyMode.TAG) "\$$key" else "$key"}"
}
enum class CraftingItemKeyMode { VERBATIM, TAG }
}