Here's the easy part... Time hat / pants / swords / chrome weapon.
Code:
# DOO DOO DOO-DOO, DOO-DOO, DOO-DOO, IT'S PAJAMA-TIME!
# equip hat...
if( item_amount( $item[time helmet] ) > 0 )
{
equip_slot( $slot[hat], $item[time helmet] );
}
# equip pants...
if( item_amount( $item[time trousers] ) > 0 )
{
equip_slot( $slot[pants], $item[time trousers] );
}
# equip weapons...
if( item_amount( $item[time sword] ) > 0 )
{
equip_slot( $slot[weapon], $item[time sword] );
}
if( item_amount( $item[time sword] ) > 0 )
{
equip_slot( $slot[off-hand], $item[time sword] );
}
if( current_equipment( $slot[weapon] ) != $item[time sword] )
{
if( item_amount( $item[chrome crossbow] ) > 0 )
{
equip_slot( $slot[weapon], $item[chrome crossbow] );
}
if( item_amount( $item[chrome staff] ) > 0 )
{
equip_slot( $slot[weapon], $item[chrome staff] );
}
if( item_amount( $item[chrome sword] ) > 0 )
{
equip_slot( $slot[weapon], $item[chrome sword] );
}
}
The WIKI says there are six accessories that will give extra turns at rollover...
-- plexiglass pocketwatch +3
-- imitation nice watch +3
-- stainless steel solitaire +2
-- dead guy's watch +1
-- tiny plastic tiny plastic bitchin' meatcar +1
-- tiny plastic Crimbo reindeer +1
You cannot wear more than one of each. A plexiglass pocketwatch can be combined with either of the other two watches. You cannot combine an imitation nice watch with a dead guy's watch. There are no combining restrictions with the non-watch accessories.
I'll have to think about it a bit, but right now, it's pajama-time for me.
Oh... I didn't test if you have the base stats to equip the items. I don't know what will happen if you don't. I'm currently in ronin and don't have any of the items in my backpack.