in forge/blade/systems/skill.py [0:0]
def attempt(self, inv, item):
if (item.createSkill != self.__class__ or
self.level < item.createLevel):
return
if item.recipe is not None:
#Check that everything is available
if not inv.satisfies(item.recipe): return
inv.removeRecipe(item.recipe)
if item.alwaysSucceeds or self.success(item.createLevel):
inv.add(item, item.amtMade)
self.exp += item.exp
return True