diff options
author | Raphael Langella <raphael.langella@gmail.com> | 2011-09-05 15:47:34 +0000 |
---|---|---|
committer | Raphael Langella <raphael.langella@gmail.com> | 2011-09-05 23:20:17 +0200 |
commit | 9e666ba7fcee19e20652fa88576ac7c1e1a3e67d (patch) | |
tree | 4fe93961fa2d5d2400b0e2e3e010226b9786b695 /crawl-ref/source/scripts | |
parent | 15260ea622839fad86cb77931cc83b3d30f507a8 (diff) | |
download | crawl-ref-9e666ba7fcee19e20652fa88576ac7c1e1a3e67d.tar.gz crawl-ref-9e666ba7fcee19e20652fa88576ac7c1e1a3e67d.zip |
Merge all the item mimics into a single monster type.
Now feature and item mimics have both the same name internally (and use
MF_NAME_ADJECTIVE). I hacked Mon_Name_Cache to allow creating them with &M, but
partial match doesn't work. You have to fully type "item mimic" or
"feature mimic".
Naming is changed a bit and use the item name (DESC_BASENAME). Examples:
a - ([) A storm dragon armour mimic
b - (!) A potion mimic
c - ($) A pile of gold mimic
Adding new item types is trivial now.
Diffstat (limited to 'crawl-ref/source/scripts')
-rw-r--r-- | crawl-ref/source/scripts/place-population.lua | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/crawl-ref/source/scripts/place-population.lua b/crawl-ref/source/scripts/place-population.lua index 93c75dd127..cfd1b8094d 100644 --- a/crawl-ref/source/scripts/place-population.lua +++ b/crawl-ref/source/scripts/place-population.lua @@ -17,11 +17,6 @@ local function canonical_name(mons) return shapeshifter end - local mimic = mons.mimic - if mimic then - return mimic - end - local dancing_weapon = mons.dancing_weapon if dancing_weapon then return dancing_weapon |