Yeah, it looks like if you replaced that "any" with the type of metal the monster is you'd get that type of precious metal. The value passed in is only used to pick the type if the string doesn't match. So something like
obj=make_gold(level, "copper");
would always create copper coins, but if you found the creeping copper at depth 100 it would be many more copper coins (on average) than if you found it at depth 1.
This would only be a cosmetic change, if I'm reading it correctly.
obj=make_gold(level, "copper");
would always create copper coins, but if you found the creeping copper at depth 100 it would be many more copper coins (on average) than if you found it at depth 1.
This would only be a cosmetic change, if I'm reading it correctly.
Comment