Lines Matching refs:unrand
943 const unrandart_entry *unrand = _seekunrandart(item); in setup_unrandart() local
945 if (unrand->prpty[ARTP_NO_UPGRADE] && !creating) in setup_unrandart()
949 rap[i] = static_cast<short>(unrand->prpty[i]); in setup_unrandart()
951 item.base_type = unrand->base_type; in setup_unrandart()
952 item.sub_type = unrand->sub_type; in setup_unrandart()
953 item.plus = unrand->plus; in setup_unrandart()
1028 const unrandart_entry *unrand = _seekunrandart(item); in artefact_properties() local
1031 proprt[i] = static_cast<short>(unrand->prpty[i]); in artefact_properties()
1048 const unrandart_entry *unrand = _seekunrandart(item); in artefact_property() local
1049 return static_cast<short>(unrand->prpty[prop]); in artefact_property()
1177 const unrandart_entry *unrand = _seekunrandart(item); in make_artefact_name() local
1179 return unrand->name; in make_artefact_name()
1180 return unrand->unid_name; in make_artefact_name()
1787 const unrandart_entry *unrand = &unranddata[unrand_index - UNRAND_START]; in make_item_unrandart() local
1795 item.props[ARTEFACT_APPEAR_KEY].get_string() = unrand->unid_name; in make_item_unrandart()
1810 if (!(unrand->flags & UNRAND_FLAG_UNIDED) in make_item_unrandart()
1811 && !strcmp(unrand->name, unrand->unid_name)) in make_item_unrandart()