Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
stone-to-flesh vs golem statues and figurines (trunk only)
Back in <email deleted> in #U1216 suggested that statues of stone golems which are hit by stone-to-flesh spell should leave flesh golem corpses instead of meatballs. But they should actually have revived as flesh golems. Stone-to-flesh revival of golem statues and golem figurines didn't work as intended because golems other than flesh or leather were considered to be vegan/vegatarian, which caused them to produce meat rather than living monsters. Also, S-to-F of a leather golem statue worked as intended and created a flesh golem, but S-to-F of a leather golem firugine created a leather golem out of stone object. This fixes it so that any type of golem statue or golem figurine revives as a flesh golem. Two other bugs noticed and fixed: (1) S-to-F cast on self while a figurine of a non-veggy monster was "worn" in one of the three weapon slots triggered an "extract_nobj: object lost" panic similar to several similar cases which were recently fixed (that was 3.4.3; for development code, it gave "obfree: deleting worn obj" warning instead). (2) S-to-F activating a shop-owned figurine didn't charge for it.
- Loading branch information
nethack.rankin
committed
Apr 1, 2007
1 parent
e91ff47
commit d8a0f73
Showing
3 changed files
with
129 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters