Add more death drops to leather golems

In addition to the leather armor, leather golems can now drop
leather cloaks and saddles.
This commit is contained in:
Pasi Kallinen
2026-01-15 19:02:40 +02:00
parent a4e032762f
commit eed952a095
2 changed files with 4 additions and 1 deletions

View File

@@ -838,6 +838,7 @@ if a lit potion of oil on the floor was launched by an explosion and it hit
tried to extinguish it as a light source
place_object() validated coordinates after using them to index level.objects
killed rope golem may drop leashes, bullwhips, and grappling hooks
killed leather golem may drop leather cloaks, and saddles
using magic portals stuns hero for a few turns
using level teleporters confuses hero without teleport control for a few turns
clear obj->bypass for buried objects [a giant on ice triggers a fire trap,

View File

@@ -676,7 +676,9 @@ make_corpse(struct monst *mtmp, unsigned int corpseflags)
case PM_LEATHER_GOLEM:
num = d(2, 4);
while (num--)
obj = mksobj_at(LEATHER_ARMOR, x, y, TRUE, FALSE);
obj = mksobj_at(rn2(4) ? LEATHER_ARMOR
: rn2(3) ? LEATHER_CLOAK : SADDLE,
x, y, TRUE, FALSE);
free_mgivenname(mtmp);
break;
case PM_GOLD_GOLEM: