mirror of
https://codeberg.org/noisytoot/notnotdnethack.git
synced 2025-08-07 21:25:26 +01:00
Add bones handling: kill 'em.
Artifacts made during the game (expected to be randarts) do not persist into bones files. They do not keep their names, either. This seems much simpler than saving the randarts to the bones level (which may be doable at a later date).
This commit is contained in:
parent
993a91de55
commit
eeeb728fd5
1 changed files with 5 additions and 0 deletions
|
@ -72,6 +72,11 @@ boolean restore;
|
|||
|
||||
if (restore && get_ox(otmp, OX_ENAM))
|
||||
sanitize_name(ONAME(otmp));
|
||||
|
||||
if (!restore && otmp->oartifact > NROFARTIFACTS) {
|
||||
/* randarts get cleared in bonesfiles */
|
||||
otmp->oartifact = 0;
|
||||
}
|
||||
|
||||
if (((otmp->otyp != CORPSE || otmp->corpsenm < SPECIAL_PM)
|
||||
&& otmp->otyp != STATUE)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue