Feature - Implemented Add "pasta guardian" as item_type()

zarqon

Well-known member
I'm trying to calculate the meat value of defeating any given monster. The recent item_drops_array() is wonderful for this, but I'm having a little trouble accounting for conditional drops. Shirts depend on Torso, so that's easy to filter. Quest items don't need to be considered, so they can be removed. After removing shirts and quest items, here are the remaining known conditional drops, with item type:

blank prescription sheet =>
bunch of square grapes => food
burst hellseal brain =>
crumbling rat skull =>
eel sauce =>
fishy wand => familiar equipment
glowing syringe =>
groupie spangles =>
hair of the fish =>
halibut => fish
hellseal claw =>
hellseal whisker =>
hobo nickel =>
jellyfish gel =>
midget clownfish => familiar larva
obsidian dagger => knife
paranormal ricotta =>
quasi-ethereal macaroni fragments =>
reflection of a map =>
sea radish => food
shimmering tendrils =>
shredded hellseal hide =>
smoking talon =>
tiny frozen prehistoric meteorite jawbreaker => food
tomb ratchet =>
torn hellseal sinew =>
vampire glitter =>
water-polo cap => hat
water-polo mitt => accessory
wine-soaked bone chips =>

Not unmanageably large, anymore. As you can see, adding a "pasta guardian" item type would help a great deal (relevant items bolded above), since I could easily filter them out based on class. I can't think of any other item type that might need to go there, either.

If you do add this, don't forget the scintillating powder, twitching trigger finger, and decoded cult documents -- they're not in my list because they don't drop from a monster.
 

Bale

Minion
Relatedly, I'd really like item_type() to return "pasta guardian larva" where applicable -- that would help a good deal in parsing conditional drops from item_drops_array().

Sounds like a feature request.

Seems that this is already is a feature request. Feature request bumped by requested feature request.
 

Veracity

Developer
Staff member
Revision 10247

> ashq foreach it in $items[] if ( item_type( it ) == "pasta guardian" ) print( it )

quasi-ethereal macaroni fragments
shimmering tendrils
scintillating powder
paranormal ricotta
smoking talon
vampire glitter
wine-soaked bone chips
crumbling rat skull
twitching trigger finger
decoded cult documents
 
Top