artifact tracking again
Redo the recent artifact creation stuff by replacing several nearly identical routines with one more general one. Also adds a tracking bit for one or two more creation methods. That changed artiexist[] from an array of structs holding 8 or less bits to one holding 9, so bump EDITLEVEL in case the total size changed.
This commit is contained in:
@@ -5602,7 +5602,7 @@ makewish(void)
|
||||
|
||||
if (otmp->oartifact)
|
||||
/* update artifact bookkeeping; doesn't produce a livelog event */
|
||||
(void) artifact_wish(otmp, TRUE); /* calls found_artifact() */
|
||||
artifact_origin(otmp, ONAME_WISH | ONAME_KNOW_ARTI);
|
||||
}
|
||||
|
||||
/* wisharti conduct handled in readobjnam() */
|
||||
|
||||
Reference in New Issue
Block a user