|
|
@ -75,15 +75,15 @@ class Reagent:
|
|
|
|
for i in react_res:
|
|
|
|
for i in react_res:
|
|
|
|
result.append(react_res[i])
|
|
|
|
result.append(react_res[i])
|
|
|
|
|
|
|
|
|
|
|
|
if not self.__recipe:
|
|
|
|
if not self.__recipe:
|
|
|
|
return None #return result #[False, "", 0]
|
|
|
|
return None #return result #[False, "", 0]
|
|
|
|
for item in self.__recipe:
|
|
|
|
for item in self.__recipe:
|
|
|
|
# "Бикаридин": [ [0, "Углерод", 1], [1, "Инапровалин", 1] ]
|
|
|
|
# "Бикаридин": [ [0, "Углерод", 1], [1, "Инапровалин", 1] ]
|
|
|
|
#result.append([self.__recipe[item]["reagent"], localise(item).capitalize(), self.__recipe[item]["amount"]])
|
|
|
|
# result.append([self.__recipe[item]["reagent"], localise(item).capitalize(), self.__recipe[item]["amount"]])
|
|
|
|
# "Бикаридин": [ 2, ["Углерод", 1], ["Инапровалин", 1] ]
|
|
|
|
# "Бикаридин": [ 2, ["Углерод", 1], ["Инапровалин", 1] ]
|
|
|
|
result.append([localise(item).capitalize(), self.__recipe[item]['amount']])
|
|
|
|
result.append([localise(item).capitalize(), self.__recipe[item]['amount']])
|
|
|
|
#print(result)
|
|
|
|
#print(result)
|
|
|
|
return result
|
|
|
|
return result
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def load_localisation():
|
|
|
|
def load_localisation():
|
|
|
|