private void parseTriggerLine(String line) {
    if (line.startsWith(TRIGTOT_KEYWORD)) {
      _log.debug("Found the " + TRIGTOT_KEYWORD + " section");
      return;
    }

    String data = line.substring(TRIG_KEYWORD.length());
    String[] trigDataSplit = getData(data);

    int roomVnum = Integer.valueOf(trigDataSplit[0]);
    TriggerType triggerType = TriggerType.getTriggerType(Integer.valueOf(trigDataSplit[1]));

    if (triggerType.equals(TriggerType.Invalid)) {
      _log.info("Invalid trigger found -- " + trigDataSplit[1]);
    }

    Room room = _area.getEntry(roomVnum);
    if (room == null) {
      _log.info("Room " + roomVnum + " does not exist!  Skipping");
      return;
    }

    Trigger trigger = new DefaultTrigger();
    trigger.setTriggerType(triggerType);
    trigger.setV2(Integer.valueOf(trigDataSplit[2]));
    trigger.setV3(Integer.valueOf(trigDataSplit[3]));
    trigger.setV4(Integer.valueOf(trigDataSplit[4]));
    trigger.setV5(Integer.valueOf(trigDataSplit[5]));
    trigger.setV6(Integer.valueOf(trigDataSplit[6]));
    trigger.setV7(Integer.valueOf(trigDataSplit[7]));
    room.getTriggers().add(trigger);
  }
 private void fixTriggerV7(int roomVnum, int v7) {
   try {
     Room room = _area.getRoomMap().get(roomVnum);
     room.getTriggers().get(0).setV7(v7);
   } catch (Exception e) {
     _log.error("Error attempting to trigger V7 for room " + roomVnum);
   }
 }
 private void fixTriggerDescription(int roomVnum, int v4, int v5) {
   try {
     Room room = _area.getRoomMap().get(roomVnum);
     Trigger trigger = room.getTriggers().get(0);
     trigger.setV4(v4);
     trigger.setV5(v5);
   } catch (Exception e) {
     _log.error("Error attempting to hack triggers description value for room " + roomVnum);
   }
 }