From d5f262eb187ed2a96b0216103210c8ba8057d59c Mon Sep 17 00:00:00 2001 From: zelgadis Date: Mon, 8 Jun 2009 04:56:38 +0000 Subject: Since fixed artefacts are going to be folded into unrandarts, and unrandarts have already become almost identical to randarts, change "randart" to "artefact" everywhere except for things that deal exclusively with randarts. Artefact related files will be renamed later. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9921 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/spells1.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'crawl-ref/source/spells1.cc') diff --git a/crawl-ref/source/spells1.cc b/crawl-ref/source/spells1.cc index 6dceab91c7..57a69b3377 100644 --- a/crawl-ref/source/spells1.cc +++ b/crawl-ref/source/spells1.cc @@ -77,7 +77,7 @@ int blink(int pow, bool high_level_controlled_blink, bool wizard_blink) } // yes, there is a logic to this ordering {dlb}: - if (scan_randarts(RAP_PREVENT_TELEPORTATION) && !wizard_blink) + if (scan_artefacts(ARTP_PREVENT_TELEPORTATION) && !wizard_blink) mpr("You feel a weird sense of stasis."); else if (you.level_type == LEVEL_ABYSS && _abyss_blocks_teleport(high_level_controlled_blink) @@ -199,7 +199,7 @@ void random_blink(bool allow_partial_control, bool override_abyss) bool success = false; coord_def target; - if (scan_randarts(RAP_PREVENT_TELEPORTATION)) + if (scan_artefacts(ARTP_PREVENT_TELEPORTATION)) mpr("You feel a weird sense of stasis."); else if (you.level_type == LEVEL_ABYSS && !override_abyss && !one_chance_in(3)) @@ -454,8 +454,8 @@ void identify(int power, int item_slot) set_ident_type(item, ID_KNOWN_TYPE); set_ident_flags(item, ISFLAG_IDENT_MASK); - if (Options.autoinscribe_randarts && is_random_artefact(item)) - add_autoinscription( item, randart_auto_inscription(item)); + if (Options.autoinscribe_artefacts && is_random_artefact(item)) + add_autoinscription( item, artefact_auto_inscription(item)); // For scrolls, now id the scroll, unless already known. if (power == -1 -- cgit v1.2.3-54-g00ecf