static void transformKillSlot(final RPObject object){
  final RPObject kills=KeyedSlotUtil.getKeyedSlotObject(object,"!kills");
  if (kills != null) {
    final RPObject newKills=new RPObject();
    for (    final String attr : kills) {
      if (!attr.equals("id")) {
        String newAttr=attr;
        String value=kills.get(attr);
        if (attr.indexOf('.') < 0) {
          newAttr=updateItemName(newAttr);
          newAttr=value + "." + newAttr;
          value="1";
        }
        newKills.put(newAttr,value);
      }
    }
    final RPSlot slot=object.getSlot("!kills");
    slot.remove(kills.getID());
    slot.add(newKills);
  }
}

static void transformKillSlot ( final RPObject object ) { final RPObject kills = KeyedSlotUtil . getKeyedSlotObject ( object , "!kills" ) ; if ( kills != null ) { final RPObject newKills = new RPObject ( ) ; for ( final String attr : kills ) { if ( ! attr . equals ( "id" ) ) { String newAttr = attr ; String value = kills . get ( attr ) ; if ( attr . indexOf ( '.' ) < 0 ) { newAttr = updateItemName ( newAttr ) ; newAttr = value + "." + newAttr ; value = "1" ; } newKills . put ( newAttr , value ) ; } } final RPSlot slot = object . getSlot ( "!kills" ) ; slot . remove ( kills . getID ( ) ) ; slot . add ( newKills ) ; } }
transform kill slot content to the new kill recording system .
