@@ -196,7 +196,7 @@ class Character: | |||
self.career = next((x for x in Character.CAREERS if x["id"] == cid), "") | |||
def gen_gadget(self): | |||
gid = r.randint(0,(len(gear.gadgets) - 5)) | |||
gid = r.randint(0,36) | |||
self.gadget = [x for x in Character.GADGETS if x["id"] == gid][0] | |||
if type(self.gadget["description"]) != str: | |||
self.gadget["description"] = self.gadget["description"]() |