Working on translation context
This commit is contained in:
@@ -25,3 +25,10 @@ func _enter_tree() -> void:
|
||||
|
||||
func _init() -> void:
|
||||
_updateRecipes()
|
||||
|
||||
func getRecipe(recipeType:Recipe.Type) -> Recipe:
|
||||
if RECIPE_MAP.has(recipeType):
|
||||
return RECIPE_MAP[recipeType]
|
||||
else:
|
||||
assert(false, "Recipe type not found: " + Recipe.Type.find_key(recipeType))
|
||||
return null
|
||||
|
Reference in New Issue
Block a user