|
|
@ -17,10 +17,10 @@ def parse_ftl(url = 'https://raw.githubusercontent.com/SerbiaStrong-220/space-st
|
|
|
|
locales[name] = locale
|
|
|
|
locales[name] = locale
|
|
|
|
return locales
|
|
|
|
return locales
|
|
|
|
|
|
|
|
|
|
|
|
def load_recipe(yml = parse_yml()):
|
|
|
|
def load_recipes(url = 'https://raw.githubusercontent.com/SerbiaStrong-220/space-station-14/master/Resources/Prototypes/Recipes/Reactions/medicine.yml', category = '-'):
|
|
|
|
|
|
|
|
yml = parse_yml(url)
|
|
|
|
recipes = {}
|
|
|
|
recipes = {}
|
|
|
|
for element in yml:
|
|
|
|
for element in yml:
|
|
|
|
category = "medicine"
|
|
|
|
|
|
|
|
product = element["id"]
|
|
|
|
product = element["id"]
|
|
|
|
comps = {}
|
|
|
|
comps = {}
|
|
|
|
for elem in element["reactants"]:
|
|
|
|
for elem in element["reactants"]:
|
|
|
|