bleary
Member
Oh, also:
	
	
	
		
				
			
		Code:
	
	1173a1174,1196
> void pickPants() {
>               string pref = vars["chit.familiar.pants"];
>               if (pref != "") {
>                       string [int] pantsmap = split_string(pref, ",");
>                       item pants;
>                       foreach i in pantsmap {
>                               pants = to_item(pantsmap[i]);
>                               if ( allmystuff contains pants) {
>                                       addEquipment(pants, "inventory");
>                               } else if ( available_amount(pants) > 0 ) {
>                                       addEquipment(pants, "retrieve");
>                               } else {
>                                       foreach foldable in get_related(pants, "fold") {
>                                               if ( allmystuff contains foldable) {
>                                                       addEquipment(pants, "fold");
>                                               }
>                                       }
>                               }
>                       }
>               }
>       }
> 
> 
1266a1290,1294
>               case $familiar[fancypants scarecrow]:
>                       addLoader("Changing Pants...");
>                       pickPants();
>                       addSadFace("You don't have any pants for your " + myfam + ".");
>                       break;
3155a3187
>       setvar("chit.familiar.pants", "spangly mariachi pants,BRICKO pants");