def armor_body_diamond(coords): x, y = coords bonus = 8 equipment_com = actor.CompEquipment(defense_bonus = bonus, slot = "body") return_object = actor.ObjActor(x, y, "Diamond armor", animation_key = "S_STRONG_ARMOR", equipment = equipment_com) return return_object
def armor_body(coords): x, y = coords bonus = 4 equipment_com = actor.CompEquipment(defense_bonus = bonus, slot = "body") return_object = actor.ObjActor(x, y, "Armor", animation_key = "S_ARMOR", equipment = equipment_com) return return_object
def weapon_dagger(coords): x, y = coords bonus = libtcod.random_get_int(0, 2, 5) equipment_com = actor.CompEquipment(attack_bonus = bonus, slot = "hand_right") return_object = actor.ObjActor(x, y, "Dagger", animation_key = "S_DAGGER", equipment = equipment_com) return return_object
def armor_shield(coords): x, y = coords bonus = libtcod.random_get_int(0, 2, 5) equipment_com = actor.CompEquipment(defense_bonus = bonus, slot = "hand_left") return_object = actor.ObjActor(x, y, "Shield", animation_key = "S_SHIELD", equipment = equipment_com) return return_object
def weapon_scythe(coords): x, y = coords bonus = libtcod.random_get_int(0, 10, 15) equipment_com = actor.CompEquipment(attack_bonus = bonus, slot = "hand_right") return_object = actor.ObjActor(x, y, "Scythe", animation_key = "S_LONG_SWORD", equipment = equipment_com) return return_object