Bug - Fixed Deep six-shooter pulverizes into sea salt crystal

Razorsoup

Member
Edit: This is with r12332

Running this code
Code:
int [item] pulvy;
pulvy = get_related($item[deep six-shooter], "pulverize");
foreach it in pulvy
	print(it + " : " + pulvy[it]);
results in
> call scripts\_test.ash

twinkly wad : 3000000

Smashing a deep six-shooter results in a sea salt crystal

> smash 1 deep six-shooter

Pulverizing deep six-shooter...
You acquire an item: sea salt crystal
deep six-shooter smashed.

pulverize.txt needs to have the following added
Code:
deep six-shooter	sea salt crystal

Side note: I wasn't sure if this is a bug or should have been marked as new content or something else. I apologize if I guessed wrong.
 
Last edited:

Yendor

Member
There's a whole bunch of new sea content which smashes into salt. I haven't personally verified all of them, though.

aquamariner's necklace
aquamariner's ring
cozy bazooka
cozy scimitar
crappy Mer-kin mask
crappy Mer-kin tailpiece
deep six-shooter
jam band
long-forgotten necklace
Mer-kin begsign
Mer-kin bunwig
Mer-kin dodgeball
Mer-kin dragbelt
Mer-kin dragnet
Mer-kin eyeglasses
Mer-kin finpaddle
Mer-kin gladiator mask
Mer-kin gladiator tailpiece
Mer-kin headguard
Mer-kin scholar mask
Mer-kin scholar tailpiece
Mer-kin stopwatch
Mer-kin switchblade
Mer-kin thighguard
pearl diver's necklace
pearl diver's ring
scale-mail underwear
sea cape
sea chaps
sea cowboy hat
sea holster
sea mantle
sea shawl
Staff of the Cozy Fish

I've heard the outfits from the bosses all do the same, except the Pocket Square of Loathing, which smashes into corrupted stardust.

Boris's helm, the Camp Scout backpack, the left and right bear arms, and Jarlsberg's pan are all unsmashable.
 

slyz

Developer
I used this script to get the list of Sea items that don't pulverize into sea salt crystals according to Mafia (PriceAdvisor is needed for its ingredients -> concoctions map).

PHP:
import <PriceAdvisor.ash>

boolean [ item ] sea_items;
boolean [ item ] sea_drops;

void add_concoctions( item itm )
{
    if ( ingredients contains itm )
    {
        foreach concoct in ingredients[ itm ]
        {
            if ( concoct.get_related( "pulverize" ).count() > 0 )
            {
                sea_items[ concoct ] = true;
            }
            concoct.add_concoctions();
        }
    }
    return;
}

// populate list of items obtained in the Sea
foreach loc in $locations[]
{
    if ( !loc.zone.contains_text( "The Sea" ) ) continue;
    foreach i, mon in loc.get_monsters()
    {
        foreach itm in mon.item_drops()
        {
            sea_drops[ itm ] = true;
        }
    }
}
foreach itm in $items[ marine aquamarine, teflon ore, velcro ore, vinyl ore ]
{
    sea_drops[ itm ] = true;
}

// populate list of pulverizable Sea items
foreach itm in sea_drops
{
    if ( itm.get_related( "pulverize" ).count() > 0 )
    {
        sea_items[ itm ] = true;
    }
    itm.add_concoctions();
}

// Print list of Sea items that do not pulverize into sea salt crystals, according to Mafia
foreach itm, b in sea_items
{
    if ( !b ) continue;
    foreach yield in itm.get_related( "pulverize" )
    {
        if ( yield != $item[ sea salt crystal ] )
        {
            print( itm );
            break;
        }
    }
}
It gave me the following list of Sea items missing from pulverize.txt:
Code:
cozy bazooka
cozy scimitar
crappy Mer-kin mask
crappy Mer-kin     tailpiece
jam band
Mer-kin begsign
Mer-kin bunwig
Mer-kin     dragbelt
Mer-kin eyeglasses
Mer-kin finpaddle
Mer-kin gladiator     mask
Mer-kin gladiator tailpiece
Mer-kin gutgirdle
Mer-kin     scholar mask
Mer-kin scholar tailpiece
Mer-kin stopwatch
rusty     staff
Staff of the Cozy Fish

However, since I don't have Expensive Jewelcrafting, I am missing some items such as aquamariner's ring.

Could someone with all the crafting skills run this script to complete the list?
 

Magus_Prime

Well-known member
I have all the crafting skills and I got the same list you did when I ran your script with the exception that the rusty staff didn't show for me.
 

slyz

Developer
I have all the crafting skills and I got the same list you did when I ran your script with the exception that the rusty staff didn't show for me.
Did you have jewelry-making pliers in your inventory when you ran the script?

For the rusty staff, did you either have a tenderizing hammer in your inventory OR have autoSatisfyWithNPCs set to true?
 

Magus_Prime

Well-known member
I had neither the tools nor autosatisfy set. It will be two more days before I break prism and have all the tools.
 

slyz

Developer
I think Darzil got all the items. I was just curious as to why aquamarine items and the rusty staff were missing from your output :)
 
Top