if (map["ac"]) ac = map["ac"]; if (map["armour types"]) armour_types = map["armour_types"]; if (!undefinedp(map["max cond"])) max_cond = map["max cond"]; if (!undefinedp(map["damage chance"])) damage_chance = map["damage chance"]; if (map["type"]) set_type(map["type"]); if (map["wear remove func"]) wear_remove_func = map["wear remove func"]; if (map["no limbs"]) no_limbs = map["no limbs"];