This commit is contained in:
Georgiy Gorin
2026-04-23 18:00:08 +03:00
parent dd60de0a66
commit 7475339ddb
2 changed files with 17 additions and 2 deletions
+5
View File
@@ -626,6 +626,10 @@ func _make_recipe_panel() -> void:
"leather": "Leather",
"iron": "Iron",
"metal_plate":"Iron Plate",
#"MetalPlate":"Armor boots"
"essence":"Essence",
"Enchanted_Table": "Ench Table",
"EnchantedSphere": "Enchanted Boots"
}
const RESULT_NAMES := {
"LeatherBoots": "Leather Boots",
@@ -636,6 +640,7 @@ func _make_recipe_panel() -> void:
"WoodenShield": "Wooden Shield",
"IronShield": "Iron Shield",
"MetalArmor": "Metal Armor",
"MetalPlate": "Armor boots"
}
const PAD_H := 10
+12 -2
View File
@@ -24,7 +24,7 @@ static var _list: Array[Dictionary] = [
"speed_threshold": 18.0,
},
{
"ingredients": ["leather", "metal_plate"],
"ingredients": ["leather", "iron"],
"result_scene": "res://scenes/PlateArmor.tscn",
"speed_threshold": 18.0,
},
@@ -34,10 +34,20 @@ static var _list: Array[Dictionary] = [
"speed_threshold": 18.0,
},
{
"ingredients": ["iron", "leather"],
"ingredients": ["iron", "rock"],
"result_scene": "res://scenes/IronShield.tscn",
"speed_threshold": 18.0,
},
{
"ingredients": ["iron", "Smith"],
"result_scene": "res://scenes/MetalPlate.tscn",
"speed_threshold": 0.1,
},
{
"ingredients": ["essence", "Enchanted_Table"],
"result_scene": "res://scenes/EnchantedSphere.tscn",
"speed_threshold": 0.1,
}
]
static func find(type_a: String, type_b: String, speed: float) -> Dictionary: