I'm running r15454.
I was playing around and wasn't able to figure out why the leprechaun did not return any value for numeric_modifier "Leprechaun". So I tried some variations:
returns :
A Grouper Groupie is equal to a 0.0x weight Fairy.
A Jumpsuited Hound Dog is equal to a 1.25x weight Fairy.
A Hobo Monkey is equal to a 1.25x weight Leprechaun.
A Leprechaun is equal to a 0.0x weight Leprechaun.
A Hovering Sombrero is equal to a 0.0x weight Sombrero.
A Blood-Faced Volleyball is equal to a 0.0x weight Volleyball.
A Llama Lama is equal to a 0.5x weight Volleyball.
I was playing around and wasn't able to figure out why the leprechaun did not return any value for numeric_modifier "Leprechaun". So I tried some variations:
Code:
float PetGrouper = numeric_modifier( $familiar[Grouper Groupie], "Fairy", familiar_weight($familiar[Grouper Groupie]), $item[gill rings]);
print ("A Grouper Groupie is equal to a "+PetGrouper+"x weight Fairy.");
float PetDog = numeric_modifier( $familiar[Jumpsuited Hound Dog], "Fairy", familiar_weight($familiar[Jumpsuited Hound Dog]), $item[gill rings]);
print ("A Jumpsuited Hound Dog is equal to a "+PetDog+"x weight Fairy.");
float PetHobo = numeric_modifier( $familiar[Hobo Monkey], "Leprechaun", familiar_weight($familiar[Hobo Monkey]), $item[none]);
print ("A Hobo Monkey is equal to a "+Pethobo+"x weight Leprechaun.");
float PetLep = numeric_modifier( $familiar[Leprechaun], "Leprechaun", familiar_weight($familiar[Leprechaun]), $item[none]);
print ("A Leprechaun is equal to a "+PetLep+"x weight Leprechaun.");
float PetSom = numeric_modifier( $familiar[Hovering Sombrero], "Sombrero", familiar_weight($familiar[Hovering Sombrero]), $item[none]);
print ("A Hovering Sombrero is equal to a "+PetSom+"x weight Sombrero.");
float PetVol = numeric_modifier( $familiar[Blood-Faced Volleyball], "Volleyball", familiar_weight($familiar[Blood-Faced Volleyball]), $item[none]);
print ("A Blood-Faced Volleyball is equal to a "+PetSom+"x weight Volleyball.");
float PetLama = numeric_modifier( $familiar[Llama Lama], "Volleyball", 10, $item[none]);
print ("A Llama Lama is equal to a "+PetLama+"x weight Volleyball.");
returns :
A Grouper Groupie is equal to a 0.0x weight Fairy.
A Jumpsuited Hound Dog is equal to a 1.25x weight Fairy.
A Hobo Monkey is equal to a 1.25x weight Leprechaun.
A Leprechaun is equal to a 0.0x weight Leprechaun.
A Hovering Sombrero is equal to a 0.0x weight Sombrero.
A Blood-Faced Volleyball is equal to a 0.0x weight Volleyball.
A Llama Lama is equal to a 0.5x weight Volleyball.