Jubaroo

Initiator.class

Oct 26th, 2017
454
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 41.91 KB | None | 0 0
  1.  
  2. package org.jubaroo.wurmunlimited.mods.dragonmountmod;
  3.  
  4. import com.sun.org.apache.xalan.internal.xsltc.util.IntegerArray;
  5. import org.gotti.wurmunlimited.modloader.interfaces.Configurable;
  6. import org.gotti.wurmunlimited.modloader.interfaces.Initable;
  7. import org.gotti.wurmunlimited.modloader.interfaces.WurmServerMod;
  8. import org.gotti.wurmunlimited.modsupport.creatures.ModCreatures;
  9. import org.jubaroo.wurmunlimited.mods.dragonmountmod.configurator.Constants;
  10. import org.jubaroo.wurmunlimited.mods.dragonmountmod.creatures.*;
  11.  
  12. import java.util.Properties;
  13.  
  14. public class Initiator implements Initable, WurmServerMod, Configurable {
  15.     public void init() {
  16.         ModCreatures.init();
  17.         if (Constants.BlackDrakeEnabled) {
  18.             ModCreatures.addCreature(new BlackDrake());
  19.         }
  20.         /*if (Constants.BlueDrakeEnabled) {
  21.             ModCreatures.addCreature(new BlueDrake());
  22.         }
  23.         if (Constants.GreenDrakeEnabled) {
  24.             ModCreatures.addCreature(new GreenDrake());
  25.         }
  26.         if (Constants.RedDrakeEnabled) {
  27.             ModCreatures.addCreature(new RedDrake());
  28.         }
  29.         if (Constants.WhiteDrakeEnabled) {
  30.             ModCreatures.addCreature(new WhiteDrake());
  31.         }
  32.         if (Constants.GhostDrakeEnabled) {
  33.             ModCreatures.addCreature(new GhostDrake());
  34.         }*/
  35.     }
  36.  
  37.     public void configure(Properties properties) {
  38.  
  39.         if (Constants.BlackDrakeEnabled) {
  40.             //Constants.BlackDrakeName = properties.getProperty("Black_Drake_Name", Constants.BlackDrakeName);
  41.             //Constants.BlackDrakeCreatureTypes = IntegerArray(properties.getProperty("Black_Drake_Creature_Types", Integer.toString(Constants.BlackDrakeCreatureTypes)));
  42.             //Constants.BlackDrakeItemsButchered = IntegerArray(properties.getProperty("Black_Drake_Items_Butchered", IntegerArray.length(Constants.BlackDrakeItemsButchered)));
  43.             Constants.BlackDrakeNaturalArmour = Integer.parseInt(properties.getProperty("Black_Drake_Natural_Armour", Integer.toString(Constants.BlackDrakeNaturalArmour)));
  44.             Constants.BlackDrakeHandDamage = Integer.parseInt(properties.getProperty("Black_Drake_Hand_Damage", Integer.toString(Constants.BlackDrakeHandDamage)));
  45.             Constants.BlackDrakeKickDamage = Integer.parseInt(properties.getProperty("Black_Drake_Kick_Damage", Integer.toString(Constants.BlackDrakeKickDamage)));
  46.             Constants.BlackDrakeBiteDamage = Integer.parseInt(properties.getProperty("Black_Drake_Bite_Damage", Integer.toString(Constants.BlackDrakeBiteDamage)));
  47.             Constants.BlackDrakeHeadDamage = Integer.parseInt(properties.getProperty("Black_Drake_Head_Damage", Integer.toString(Constants.BlackDrakeHeadDamage)));
  48.             Constants.BlackDrakeMoveRate = Integer.parseInt(properties.getProperty("Black_Drake_MoveRate", Integer.toString(Constants.BlackDrakeMoveRate)));
  49.             Constants.BlackDrakeMaxHuntRange = Integer.parseInt(properties.getProperty("Black_Drake_Max_Hunt_Range", Integer.toString(Constants.BlackDrakeMaxHuntRange)));
  50.             Constants.BlackDrakeAggression = Integer.parseInt(properties.getProperty("Black_Drake_Aggression", Integer.toString(Constants.BlackDrakeAggression)));
  51.             Constants.BlackDrakeVision = Integer.parseInt(properties.getProperty("Black_Drake_Vision", Integer.toString(Constants.BlackDrakeVision)));
  52.             Constants.BlackDrakeArmourType = Integer.parseInt(properties.getProperty("Black_Drake_Armour_Type", Integer.toString(Constants.BlackDrakeArmourType)));
  53.             Constants.BlackDrakeCombatMoves = Integer.parseInt(properties.getProperty("Black_Drake_Combat_Moves", Integer.toString(Constants.BlackDrakeCombatMoves)));
  54.             Constants.BlackDrakeCombatDamageType = Integer.parseInt(properties.getProperty("Black_Drake_Combat_Damage_Type", Integer.toString(Constants.BlackDrakeCombatDamageType)));
  55.             Constants.BlackDrakeVehicleSpeed = Float.parseFloat(properties.getProperty("Black_Drake_Vehicle_Max_Speed", Float.toString(Constants.BlackDrakeVehicleSpeed)));
  56.             Constants.BlackDrakeVehicleSkill = Float.parseFloat(properties.getProperty("Black_Drake_Vehicle_Skill_Required", Float.toString(Constants.BlackDrakeVehicleSkill)));
  57.             Constants.BlackDrakeVehicleDepth = Float.parseFloat(properties.getProperty("Black_Drake_Vehicle_Max_Depth", Float.toString(Constants.BlackDrakeVehicleDepth)));
  58.             Constants.BlackDrakeZaxisOffset = Float.parseFloat(properties.getProperty("Black_Drake_Vehicle_Zaxis_Offset", Float.toString(Constants.BlackDrakeZaxisOffset)));
  59.             Constants.BlackDrakeMoveSpeed = Float.parseFloat(properties.getProperty("Black_Drake_Move_Speed", Float.toString(Constants.BlackDrakeMoveSpeed)));
  60.             Constants.BlackDrakeBodyStrength = Float.parseFloat(properties.getProperty("Black_Drake_Body_Strength", Float.toString(Constants.BlackDrakeBodyStrength)));
  61.             Constants.BlackDrakeBodyControl = Float.parseFloat(properties.getProperty("Black_Drake_Body_Control", Float.toString(Constants.BlackDrakeBodyControl)));
  62.             Constants.BlackDrakeBodyStamina = Float.parseFloat(properties.getProperty("Black_Drake_Body_Stamina", Float.toString(Constants.BlackDrakeBodyStamina)));
  63.             Constants.BlackDrakeMindLogic = Float.parseFloat(properties.getProperty("Black_Drake_Mind_Logic", Float.toString(Constants.BlackDrakeMindLogic)));
  64.             Constants.BlackDrakeMindSpeed = Float.parseFloat(properties.getProperty("Black_Drake_Mind_Speed", Float.toString(Constants.BlackDrakeMindSpeed)));
  65.             Constants.BlackDrakeSoulStrength = Float.parseFloat(properties.getProperty("Black_Drake_Soul_Strength", Float.toString(Constants.BlackDrakeSoulStrength)));
  66.             Constants.BlackDrakeSoulDepth = Float.parseFloat(properties.getProperty("Black_Drake_Soul_Depth", Float.toString(Constants.BlackDrakeSoulDepth)));
  67.             Constants.BlackDrakeWeaponlessFighting = Float.parseFloat(properties.getProperty("Black_Drake_Weaponless_Fighting", Float.toString(Constants.BlackDrakeWeaponlessFighting)));
  68.             Constants.BlackDrakeFighting = Float.parseFloat(properties.getProperty("Black_Drake_Fighting", Float.toString(Constants.BlackDrakeFighting)));
  69.             Constants.BlackDrakeBaseCombatRating = Float.parseFloat(properties.getProperty("Black_Drake_Base_Combat_Rating", Float.toString(Constants.BlackDrakeBaseCombatRating)));
  70.             Constants.BlackDrakeAlignment = Float.parseFloat(properties.getProperty("Black_Drake_Alignment", Float.toString(Constants.BlackDrakeAlignment)));
  71.             Constants.BlackDrakeEnabled = Boolean.parseBoolean(properties.getProperty("Black_Drake_Enabled", Boolean.toString(Constants.BlackDrakeEnabled)));
  72.             Constants.BlackDrakeSpawnTree = Boolean.parseBoolean(properties.getProperty("Black_Drake_Spawn_Tree", Boolean.toString(Constants.BlackDrakeSpawnTree)));
  73.             Constants.BlackDrakeSpawnSteppe = Boolean.parseBoolean(properties.getProperty("Black_Drake_Spawn_Steppe", Boolean.toString(Constants.BlackDrakeSpawnSteppe)));
  74.             Constants.BlackDrakeSpawnGrass = Boolean.parseBoolean(properties.getProperty("Black_Drake_Spawn_Grass", Boolean.toString(Constants.BlackDrakeSpawnGrass)));
  75.             Constants.BlackDrakeSpawnTundra = Boolean.parseBoolean(properties.getProperty("Black_Drake_Spawn_Tundra", Boolean.toString(Constants.BlackDrakeSpawnTundra)));
  76.             Constants.BlackDrakeSpawnDirt = Boolean.parseBoolean(properties.getProperty("Black_Drake_Spawn_Dirt", Boolean.toString(Constants.BlackDrakeSpawnDirt)));
  77.             Constants.BlackDrakeSpawnSand = Boolean.parseBoolean(properties.getProperty("Black_Drake_Spawn_Sand", Boolean.toString(Constants.BlackDrakeSpawnSand)));
  78.             Constants.BlackDrakeSpawnSnow = Boolean.parseBoolean(properties.getProperty("Black_Drake_Spawn_Snow", Boolean.toString(Constants.BlackDrakeSpawnSnow)));
  79.             Constants.BlackDrakeSpawnMarsh = Boolean.parseBoolean(properties.getProperty("Black_Drake_Spawn_Marsh", Boolean.toString(Constants.BlackDrakeSpawnMarsh)));
  80.             Constants.BlackDrakeSpawnCave = Boolean.parseBoolean(properties.getProperty("Black_Drake_Spawn_Cave", Boolean.toString(Constants.BlackDrakeSpawnCave)));
  81.             Constants.BlackDrakeSpawnPeat = Boolean.parseBoolean(properties.getProperty("Black_Drake_Spawn_Peat", Boolean.toString(Constants.BlackDrakeSpawnPeat)));
  82.         }
  83.         if (Constants.BlueDrakeEnabled) {
  84.             //Constants.BlueDrakeCreatureTypes = Integer.parseInt(properties.getProperty("Blue_Drake_Creature_Types", Integer.toString(Constants.BlueDrakeCreatureTypes)));
  85.             //Constants.BlueDrakeItemsButchered = Integer.parseInt(properties.getProperty("Blue_Drake_Items_Butchered", Integer.toString(Constants.BlueDrakeItemsButchered)));
  86.             Constants.BlueDrakeNaturalArmour = Integer.parseInt(properties.getProperty("Blue_Drake_Natural_Armour", Integer.toString(Constants.BlueDrakeNaturalArmour)));
  87.             Constants.BlueDrakeHandDamage = Integer.parseInt(properties.getProperty("Blue_Drake_Hand_Damage", Integer.toString(Constants.BlueDrakeHandDamage)));
  88.             Constants.BlueDrakeKickDamage = Integer.parseInt(properties.getProperty("Blue_Drake_Kick_Damage", Integer.toString(Constants.BlueDrakeKickDamage)));
  89.             Constants.BlueDrakeBiteDamage = Integer.parseInt(properties.getProperty("Blue_Drake_Bite_Damage", Integer.toString(Constants.BlueDrakeBiteDamage)));
  90.             Constants.BlueDrakeHeadDamage = Integer.parseInt(properties.getProperty("Blue_Drake_Head_Damage", Integer.toString(Constants.BlueDrakeHeadDamage)));
  91.             Constants.BlueDrakeMoveRate = Integer.parseInt(properties.getProperty("Blue_Drake_MoveRate", Integer.toString(Constants.BlueDrakeMoveRate)));
  92.             Constants.BlueDrakeMaxHuntRange = Integer.parseInt(properties.getProperty("Blue_Drake_Max_Hunt_Range", Integer.toString(Constants.BlueDrakeMaxHuntRange)));
  93.             Constants.BlueDrakeAggression = Integer.parseInt(properties.getProperty("Blue_Drake_Aggression", Integer.toString(Constants.BlueDrakeAggression)));
  94.             Constants.BlueDrakeVision = Integer.parseInt(properties.getProperty("Blue_Drake_Vision", Integer.toString(Constants.BlueDrakeVision)));
  95.             Constants.BlueDrakeArmourType = Integer.parseInt(properties.getProperty("Blue_Drake_Armour_Type", Integer.toString(Constants.BlueDrakeArmourType)));
  96.             Constants.BlueDrakeCombatMoves = Integer.parseInt(properties.getProperty("Blue_Drake_Combat_Moves", Integer.toString(Constants.BlueDrakeCombatMoves)));
  97.             Constants.BlueDrakeCombatDamageType = Integer.parseInt(properties.getProperty("Blue_Drake_Combat_Damage_Type", Integer.toString(Constants.BlueDrakeCombatDamageType)));
  98.             Constants.BlueDrakeVehicleSpeed = Float.parseFloat(properties.getProperty("Blue_Drake_Vehicle_Max_Speed", Float.toString(Constants.BlueDrakeVehicleSpeed)));
  99.             Constants.BlueDrakeVehicleSkill = Float.parseFloat(properties.getProperty("Blue_Drake_Vehicle_Skill_Required", Float.toString(Constants.BlueDrakeVehicleSkill)));
  100.             Constants.BlueDrakeVehicleDepth = Float.parseFloat(properties.getProperty("Blue_Drake_Vehicle_Max_Depth", Float.toString(Constants.BlueDrakeVehicleDepth)));
  101.             Constants.BlueDrakeZaxisOffset = Float.parseFloat(properties.getProperty("Blue_Drake_Vehicle_Zaxis_Offset", Float.toString(Constants.BlueDrakeZaxisOffset)));
  102.             Constants.BlueDrakeMoveSpeed = Float.parseFloat(properties.getProperty("Blue_Drake_Move_Speed", Float.toString(Constants.BlueDrakeMoveSpeed)));
  103.             Constants.BlueDrakeBodyStrength = Float.parseFloat(properties.getProperty("Blue_Drake_Body_Strength", Float.toString(Constants.BlueDrakeBodyStrength)));
  104.             Constants.BlueDrakeBodyControl = Float.parseFloat(properties.getProperty("Blue_Drake_Body_Control", Float.toString(Constants.BlueDrakeBodyControl)));
  105.             Constants.BlueDrakeBodyStamina = Float.parseFloat(properties.getProperty("Blue_Drake_Body_Stamina", Float.toString(Constants.BlueDrakeBodyStamina)));
  106.             Constants.BlueDrakeMindLogic = Float.parseFloat(properties.getProperty("Blue_Drake_Mind_Logic", Float.toString(Constants.BlueDrakeMindLogic)));
  107.             Constants.BlueDrakeMindSpeed = Float.parseFloat(properties.getProperty("Blue_Drake_Mind_Speed", Float.toString(Constants.BlueDrakeMindSpeed)));
  108.             Constants.BlueDrakeSoulStrength = Float.parseFloat(properties.getProperty("Blue_Drake_Soul_Strength", Float.toString(Constants.BlueDrakeSoulStrength)));
  109.             Constants.BlueDrakeSoulDepth = Float.parseFloat(properties.getProperty("Blue_Drake_Soul_Depth", Float.toString(Constants.BlueDrakeSoulDepth)));
  110.             Constants.BlueDrakeWeaponlessFighting = Float.parseFloat(properties.getProperty("Blue_Drake_Weaponless_Fighting", Float.toString(Constants.BlueDrakeWeaponlessFighting)));
  111.             Constants.BlueDrakeFighting = Float.parseFloat(properties.getProperty("Blue_Drake_Fighting", Float.toString(Constants.BlueDrakeFighting)));
  112.             Constants.BlueDrakeBaseCombatRating = Float.parseFloat(properties.getProperty("Blue_Drake_Base_Combat_Rating", Float.toString(Constants.BlueDrakeBaseCombatRating)));
  113.             Constants.BlueDrakeAlignment = Float.parseFloat(properties.getProperty("Blue_Drake_Alignment", Float.toString(Constants.BlueDrakeAlignment)));
  114.             Constants.BlueDrakeSpawnTree = Boolean.parseBoolean(properties.getProperty("Blue_Drake_Spawn_Tree", Boolean.toString(Constants.BlueDrakeSpawnTree)));
  115.             Constants.BlueDrakeEnabled = Boolean.parseBoolean(properties.getProperty("Blue_Drake_Enabled", Boolean.toString(Constants.BlueDrakeEnabled)));
  116.             Constants.BlueDrakeSpawnSteppe = Boolean.parseBoolean(properties.getProperty("Blue_Drake_Spawn_Steppe", Boolean.toString(Constants.BlueDrakeSpawnSteppe)));
  117.             Constants.BlueDrakeSpawnGrass = Boolean.parseBoolean(properties.getProperty("Blue_Drake_Spawn_Grass", Boolean.toString(Constants.BlueDrakeSpawnGrass)));
  118.             Constants.BlueDrakeSpawnTundra = Boolean.parseBoolean(properties.getProperty("Blue_Drake_Spawn_Tundra", Boolean.toString(Constants.BlueDrakeSpawnTundra)));
  119.             Constants.BlueDrakeSpawnDirt = Boolean.parseBoolean(properties.getProperty("Blue_Drake_Spawn_Dirt", Boolean.toString(Constants.BlueDrakeSpawnDirt)));
  120.             Constants.BlueDrakeSpawnSand = Boolean.parseBoolean(properties.getProperty("Blue_Drake_Spawn_Sand", Boolean.toString(Constants.BlueDrakeSpawnSand)));
  121.             Constants.BlueDrakeSpawnSnow = Boolean.parseBoolean(properties.getProperty("Blue_Drake_Spawn_Snow", Boolean.toString(Constants.BlueDrakeSpawnSnow)));
  122.             Constants.BlueDrakeSpawnMarsh = Boolean.parseBoolean(properties.getProperty("Blue_Drake_Spawn_Marsh", Boolean.toString(Constants.BlueDrakeSpawnMarsh)));
  123.             Constants.BlueDrakeSpawnCave = Boolean.parseBoolean(properties.getProperty("Blue_Drake_Spawn_Cave", Boolean.toString(Constants.BlueDrakeSpawnCave)));
  124.             Constants.BlueDrakeSpawnPeat = Boolean.parseBoolean(properties.getProperty("Blue_Drake_Spawn_Peat", Boolean.toString(Constants.BlueDrakeSpawnPeat)));
  125.         }
  126.         if (Constants.GhostDrakeEnabled) {
  127.             //Constants.GhostDrakeCreatureTypes = Integer.parseInt(properties.getProperty("Spectral_Drake_Creature_Types", Integer.toString(Constants.GhostDrakeCreatureTypes)));
  128.             //Constants.GhostDrakeItemsButchered = Integer.parseInt(properties.getProperty("Spectral_Drake_Items_Butchered", Integer.toString(Constants.GhostDrakeItemsButchered)));
  129.             Constants.GhostDrakeNaturalArmour = Integer.parseInt(properties.getProperty("Spectral_Drake_Natural_Armour", Integer.toString(Constants.GhostDrakeNaturalArmour)));
  130.             Constants.GhostDrakeHandDamage = Integer.parseInt(properties.getProperty("Spectral_Drake_Hand_Damage", Integer.toString(Constants.GhostDrakeHandDamage)));
  131.             Constants.GhostDrakeKickDamage = Integer.parseInt(properties.getProperty("Spectral_Drake_Kick_Damage", Integer.toString(Constants.GhostDrakeKickDamage)));
  132.             Constants.GhostDrakeBiteDamage = Integer.parseInt(properties.getProperty("Spectral_Drake_Bite_Damage", Integer.toString(Constants.GhostDrakeBiteDamage)));
  133.             Constants.GhostDrakeHeadDamage = Integer.parseInt(properties.getProperty("Spectral_Drake_Head_Damage", Integer.toString(Constants.GhostDrakeHeadDamage)));
  134.             Constants.GhostDrakeMoveRate = Integer.parseInt(properties.getProperty("Spectral_Drake_MoveRate", Integer.toString(Constants.GhostDrakeMoveRate)));
  135.             Constants.GhostDrakeMaxHuntRange = Integer.parseInt(properties.getProperty("Spectral_Drake_Max_Hunt_Range", Integer.toString(Constants.GhostDrakeMaxHuntRange)));
  136.             Constants.GhostDrakeAggression = Integer.parseInt(properties.getProperty("Spectral_Drake_Aggression", Integer.toString(Constants.GhostDrakeAggression)));
  137.             Constants.GhostDrakeVision = Integer.parseInt(properties.getProperty("Spectral_Drake_Vision", Integer.toString(Constants.GhostDrakeVision)));
  138.             Constants.GhostDrakeArmourType = Integer.parseInt(properties.getProperty("Spectral_Drake_Armour_Type", Integer.toString(Constants.GhostDrakeArmourType)));
  139.             Constants.GhostDrakeCombatMoves = Integer.parseInt(properties.getProperty("Spectral_Drake_Combat_Moves", Integer.toString(Constants.GhostDrakeCombatMoves)));
  140.             Constants.GhostDrakeCombatDamageType = Integer.parseInt(properties.getProperty("Spectral_Drake_Combat_Damage_Type", Integer.toString(Constants.GhostDrakeCombatDamageType)));
  141.             Constants.GhostDrakeVehicleSpeed = Float.parseFloat(properties.getProperty("Spectral_Drake_Vehicle_Max_Speed", Float.toString(Constants.GhostDrakeVehicleSpeed)));
  142.             Constants.GhostDrakeVehicleSkill = Float.parseFloat(properties.getProperty("Spectral_Drake_Vehicle_Skill_Required", Float.toString(Constants.GhostDrakeVehicleSkill)));
  143.             Constants.GhostDrakeVehicleDepth = Float.parseFloat(properties.getProperty("Spectral_Drake_Vehicle_Max_Depth", Float.toString(Constants.GhostDrakeVehicleDepth)));
  144.             Constants.GhostDrakeZaxisOffset = Float.parseFloat(properties.getProperty("Spectral_Drake_Vehicle_Zaxis_Offset", Float.toString(Constants.GhostDrakeZaxisOffset)));
  145.             Constants.GhostDrakeMoveSpeed = Float.parseFloat(properties.getProperty("Spectral_Drake_Move_Speed", Float.toString(Constants.GhostDrakeMoveSpeed)));
  146.             Constants.GhostDrakeBodyStrength = Float.parseFloat(properties.getProperty("Spectral_Drake_Body_Strength", Float.toString(Constants.GhostDrakeBodyStrength)));
  147.             Constants.GhostDrakeBodyControl = Float.parseFloat(properties.getProperty("Spectral_Drake_Body_Control", Float.toString(Constants.GhostDrakeBodyControl)));
  148.             Constants.GhostDrakeBodyStamina = Float.parseFloat(properties.getProperty("Spectral_Drake_Body_Stamina", Float.toString(Constants.GhostDrakeBodyStamina)));
  149.             Constants.GhostDrakeMindLogic = Float.parseFloat(properties.getProperty("Spectral_Drake_Mind_Logic", Float.toString(Constants.GhostDrakeMindLogic)));
  150.             Constants.GhostDrakeMindSpeed = Float.parseFloat(properties.getProperty("Spectral_Drake_Mind_Speed", Float.toString(Constants.GhostDrakeMindSpeed)));
  151.             Constants.GhostDrakeSoulStrength = Float.parseFloat(properties.getProperty("Spectral_Drake_Soul_Strength", Float.toString(Constants.GhostDrakeSoulStrength)));
  152.             Constants.GhostDrakeSoulDepth = Float.parseFloat(properties.getProperty("Spectral_Drake_Soul_Depth", Float.toString(Constants.GhostDrakeSoulDepth)));
  153.             Constants.GhostDrakeWeaponlessFighting = Float.parseFloat(properties.getProperty("Spectral_Drake_Weaponless_Fighting", Float.toString(Constants.GhostDrakeWeaponlessFighting)));
  154.             Constants.GhostDrakeFighting = Float.parseFloat(properties.getProperty("Spectral_Drake_Fighting", Float.toString(Constants.GhostDrakeFighting)));
  155.             Constants.GhostDrakeBaseCombatRating = Float.parseFloat(properties.getProperty("Spectral_Drake_Base_Combat_Rating", Float.toString(Constants.GhostDrakeBaseCombatRating)));
  156.             Constants.GhostDrakeAlignment = Float.parseFloat(properties.getProperty("Spectral_Drake_Alignment", Float.toString(Constants.GhostDrakeAlignment)));
  157.             Constants.GhostDrakeEnabled = Boolean.parseBoolean(properties.getProperty("Spectral_Drake_Enabled", Boolean.toString(Constants.GhostDrakeEnabled)));
  158.             Constants.GhostDrakeSpawnTree = Boolean.parseBoolean(properties.getProperty("Spectral_Drake_Spawn_Tree", Boolean.toString(Constants.GhostDrakeSpawnTree)));
  159.             Constants.GhostDrakeSpawnSteppe = Boolean.parseBoolean(properties.getProperty("Spectral_Drake_Spawn_Steppe", Boolean.toString(Constants.GhostDrakeSpawnSteppe)));
  160.             Constants.GhostDrakeSpawnGrass = Boolean.parseBoolean(properties.getProperty("Spectral_Drake_Spawn_Grass", Boolean.toString(Constants.GhostDrakeSpawnGrass)));
  161.             Constants.GhostDrakeSpawnTundra = Boolean.parseBoolean(properties.getProperty("Spectral_Drake_Spawn_Tundra", Boolean.toString(Constants.GhostDrakeSpawnTundra)));
  162.             Constants.GhostDrakeSpawnDirt = Boolean.parseBoolean(properties.getProperty("Spectral_Drake_Spawn_Dirt", Boolean.toString(Constants.GhostDrakeSpawnDirt)));
  163.             Constants.GhostDrakeSpawnSand = Boolean.parseBoolean(properties.getProperty("Spectral_Drake_Spawn_Sand", Boolean.toString(Constants.GhostDrakeSpawnSand)));
  164.             Constants.GhostDrakeSpawnSnow = Boolean.parseBoolean(properties.getProperty("Spectral_Drake_Spawn_Snow", Boolean.toString(Constants.GhostDrakeSpawnSnow)));
  165.             Constants.GhostDrakeSpawnMarsh = Boolean.parseBoolean(properties.getProperty("Spectral_Drake_Spawn_Marsh", Boolean.toString(Constants.GhostDrakeSpawnMarsh)));
  166.             Constants.GhostDrakeSpawnCave = Boolean.parseBoolean(properties.getProperty("Spectral_Drake_Spawn_Cave", Boolean.toString(Constants.GhostDrakeSpawnCave)));
  167.             Constants.GhostDrakeSpawnPeat = Boolean.parseBoolean(properties.getProperty("Spectral_Drake_Spawn_Peat", Boolean.toString(Constants.GhostDrakeSpawnPeat)));
  168.         }
  169.         if (Constants.GreenDrakeEnabled) {
  170.             //Constants.GreenDrakeCreatureTypes = Integer.parseInt(properties.getProperty("Green_Drake_Creature_Types", Integer.toString(Constants.GreenDrakeCreatureTypes)));
  171.             //Constants.GreenDrakeItemsButchered = Integer.parseInt(properties.getProperty("Green_Drake_Items_Butchered", Integer.toString(Constants.GreenDrakeItemsButchered)));
  172.             Constants.GreenDrakeNaturalArmour = Integer.parseInt(properties.getProperty("Green_Drake_Natural_Armour", Integer.toString(Constants.GreenDrakeNaturalArmour)));
  173.             Constants.GreenDrakeHandDamage = Integer.parseInt(properties.getProperty("Green_Drake_Hand_Damage", Integer.toString(Constants.GreenDrakeHandDamage)));
  174.             Constants.GreenDrakeKickDamage = Integer.parseInt(properties.getProperty("Green_Drake_Kick_Damage", Integer.toString(Constants.GreenDrakeKickDamage)));
  175.             Constants.GreenDrakeBiteDamage = Integer.parseInt(properties.getProperty("Green_Drake_Bite_Damage", Integer.toString(Constants.GreenDrakeBiteDamage)));
  176.             Constants.GreenDrakeHeadDamage = Integer.parseInt(properties.getProperty("Green_Drake_Head_Damage", Integer.toString(Constants.GreenDrakeHeadDamage)));
  177.             Constants.GreenDrakeMoveRate = Integer.parseInt(properties.getProperty("Green_Drake_MoveRate", Integer.toString(Constants.GreenDrakeMoveRate)));
  178.             Constants.GreenDrakeMaxHuntRange = Integer.parseInt(properties.getProperty("Green_Drake_Max_Hunt_Range", Integer.toString(Constants.GreenDrakeMaxHuntRange)));
  179.             Constants.GreenDrakeAggression = Integer.parseInt(properties.getProperty("Green_Drake_Aggression", Integer.toString(Constants.GreenDrakeAggression)));
  180.             Constants.GreenDrakeVision = Integer.parseInt(properties.getProperty("Green_Drake_Vision", Integer.toString(Constants.GreenDrakeVision)));
  181.             Constants.GreenDrakeArmourType = Integer.parseInt(properties.getProperty("Green_Drake_Armour_Type", Integer.toString(Constants.GreenDrakeArmourType)));
  182.             Constants.GreenDrakeCombatMoves = Integer.parseInt(properties.getProperty("Green_Drake_Combat_Moves", Integer.toString(Constants.GreenDrakeCombatMoves)));
  183.             Constants.GreenDrakeCombatDamageType = Integer.parseInt(properties.getProperty("Green_Drake_Combat_Damage_Type", Integer.toString(Constants.GreenDrakeCombatDamageType)));
  184.             Constants.GreenDrakeVehicleSpeed = Float.parseFloat(properties.getProperty("Green_Drake_Vehicle_Max_Speed", Float.toString(Constants.GreenDrakeVehicleSpeed)));
  185.             Constants.GreenDrakeVehicleSkill = Float.parseFloat(properties.getProperty("Green_Drake_Vehicle_Skill_Required", Float.toString(Constants.GreenDrakeVehicleSkill)));
  186.             Constants.GreenDrakeVehicleDepth = Float.parseFloat(properties.getProperty("Green_Drake_Vehicle_Max_Depth", Float.toString(Constants.GreenDrakeVehicleDepth)));
  187.             Constants.GreenDrakeZaxisOffset = Float.parseFloat(properties.getProperty("Green_Drake_Vehicle_Zaxis_Offset", Float.toString(Constants.GreenDrakeZaxisOffset)));
  188.             Constants.GreenDrakeMoveSpeed = Float.parseFloat(properties.getProperty("Green_Drake_Move_Speed", Float.toString(Constants.GreenDrakeMoveSpeed)));
  189.             Constants.GreenDrakeBodyStrength = Float.parseFloat(properties.getProperty("Green_Drake_Body_Strength", Float.toString(Constants.GreenDrakeBodyStrength)));
  190.             Constants.GreenDrakeBodyControl = Float.parseFloat(properties.getProperty("Green_Drake_Body_Control", Float.toString(Constants.GreenDrakeBodyControl)));
  191.             Constants.GreenDrakeBodyStamina = Float.parseFloat(properties.getProperty("Green_Drake_Body_Stamina", Float.toString(Constants.GreenDrakeBodyStamina)));
  192.             Constants.GreenDrakeMindLogic = Float.parseFloat(properties.getProperty("Green_Drake_Mind_Logic", Float.toString(Constants.GreenDrakeMindLogic)));
  193.             Constants.GreenDrakeMindSpeed = Float.parseFloat(properties.getProperty("Green_Drake_Mind_Speed", Float.toString(Constants.GreenDrakeMindSpeed)));
  194.             Constants.GreenDrakeSoulStrength = Float.parseFloat(properties.getProperty("Green_Drake_Soul_Strength", Float.toString(Constants.GreenDrakeSoulStrength)));
  195.             Constants.GreenDrakeSoulDepth = Float.parseFloat(properties.getProperty("Green_Drake_Soul_Depth", Float.toString(Constants.GreenDrakeSoulDepth)));
  196.             Constants.GreenDrakeWeaponlessFighting = Float.parseFloat(properties.getProperty("Green_Drake_Weaponless_Fighting", Float.toString(Constants.GreenDrakeWeaponlessFighting)));
  197.             Constants.GreenDrakeFighting = Float.parseFloat(properties.getProperty("Green_Drake_Fighting", Float.toString(Constants.GreenDrakeFighting)));
  198.             Constants.GreenDrakeBaseCombatRating = Float.parseFloat(properties.getProperty("Green_Drake_Base_Combat_Rating", Float.toString(Constants.GreenDrakeBaseCombatRating)));
  199.             Constants.GreenDrakeAlignment = Float.parseFloat(properties.getProperty("Green_Drake_Alignment", Float.toString(Constants.GreenDrakeAlignment)));
  200.             Constants.GreenDrakeEnabled = Boolean.parseBoolean(properties.getProperty("Green_Drake_Enabled", Boolean.toString(Constants.GreenDrakeEnabled)));
  201.             Constants.GreenDrakeSpawnTree = Boolean.parseBoolean(properties.getProperty("Green_Drake_Spawn_Tree", Boolean.toString(Constants.GreenDrakeSpawnTree)));
  202.             Constants.GreenDrakeSpawnSteppe = Boolean.parseBoolean(properties.getProperty("Green_Drake_Spawn_Steppe", Boolean.toString(Constants.GreenDrakeSpawnSteppe)));
  203.             Constants.GreenDrakeSpawnGrass = Boolean.parseBoolean(properties.getProperty("Green_Drake_Spawn_Grass", Boolean.toString(Constants.GreenDrakeSpawnGrass)));
  204.             Constants.GreenDrakeSpawnTundra = Boolean.parseBoolean(properties.getProperty("Green_Drake_Spawn_Tundra", Boolean.toString(Constants.GreenDrakeSpawnTundra)));
  205.             Constants.GreenDrakeSpawnDirt = Boolean.parseBoolean(properties.getProperty("Green_Drake_Spawn_Dirt", Boolean.toString(Constants.GreenDrakeSpawnDirt)));
  206.             Constants.GreenDrakeSpawnSand = Boolean.parseBoolean(properties.getProperty("Green_Drake_Spawn_Sand", Boolean.toString(Constants.GreenDrakeSpawnSand)));
  207.             Constants.GreenDrakeSpawnSnow = Boolean.parseBoolean(properties.getProperty("Green_Drake_Spawn_Snow", Boolean.toString(Constants.GreenDrakeSpawnSnow)));
  208.             Constants.GreenDrakeSpawnMarsh = Boolean.parseBoolean(properties.getProperty("Green_Drake_Spawn_Marsh", Boolean.toString(Constants.GreenDrakeSpawnMarsh)));
  209.             Constants.GreenDrakeSpawnCave = Boolean.parseBoolean(properties.getProperty("Green_Drake_Spawn_Cave", Boolean.toString(Constants.GreenDrakeSpawnCave)));
  210.             Constants.GreenDrakeSpawnPeat = Boolean.parseBoolean(properties.getProperty("Green_Drake_Spawn_Peat", Boolean.toString(Constants.GreenDrakeSpawnPeat)));
  211.         }
  212.         if (Constants.RedDrakeEnabled) {
  213.             //Constants.RedDrakeCreatureTypes = Integer.parseInt(properties.getProperty("Red_Drake_Creature_Types", Integer.toString(Constants.RedDrakeCreatureTypes)));
  214.             //Constants.RedDrakeItemsButchered = Integer.parseInt(properties.getProperty("Red_Drake_Items_Butchered", Integer.toString(Constants.RedDrakeItemsButchered)));
  215.             Constants.RedDrakeNaturalArmour = Integer.parseInt(properties.getProperty("Red_Drake_Natural_Armour", Integer.toString(Constants.RedDrakeNaturalArmour)));
  216.             Constants.RedDrakeHandDamage = Integer.parseInt(properties.getProperty("Red_Drake_Hand_Damage", Integer.toString(Constants.RedDrakeHandDamage)));
  217.             Constants.RedDrakeKickDamage = Integer.parseInt(properties.getProperty("Red_Drake_Kick_Damage", Integer.toString(Constants.RedDrakeKickDamage)));
  218.             Constants.RedDrakeBiteDamage = Integer.parseInt(properties.getProperty("Red_Drake_Bite_Damage", Integer.toString(Constants.RedDrakeBiteDamage)));
  219.             Constants.RedDrakeHeadDamage = Integer.parseInt(properties.getProperty("Red_Drake_Head_Damage", Integer.toString(Constants.RedDrakeHeadDamage)));
  220.             Constants.RedDrakeMoveRate = Integer.parseInt(properties.getProperty("Red_Drake_MoveRate", Integer.toString(Constants.RedDrakeMoveRate)));
  221.             Constants.RedDrakeMaxHuntRange = Integer.parseInt(properties.getProperty("Red_Drake_Max_Hunt_Range", Integer.toString(Constants.RedDrakeMaxHuntRange)));
  222.             Constants.RedDrakeAggression = Integer.parseInt(properties.getProperty("Red_Drake_Aggression", Integer.toString(Constants.RedDrakeAggression)));
  223.             Constants.RedDrakeVision = Integer.parseInt(properties.getProperty("Red_Drake_Vision", Integer.toString(Constants.RedDrakeVision)));
  224.             Constants.RedDrakeArmourType = Integer.parseInt(properties.getProperty("Red_Drake_Armour_Type", Integer.toString(Constants.RedDrakeArmourType)));
  225.             Constants.RedDrakeCombatMoves = Integer.parseInt(properties.getProperty("Red_Drake_Combat_Moves", Integer.toString(Constants.RedDrakeCombatMoves)));
  226.             Constants.RedDrakeCombatDamageType = Integer.parseInt(properties.getProperty("Red_Drake_Combat_Damage_Type", Integer.toString(Constants.RedDrakeCombatDamageType)));
  227.             Constants.RedDrakeVehicleSpeed = Float.parseFloat(properties.getProperty("Red_Drake_Vehicle_Max_Speed", Float.toString(Constants.RedDrakeVehicleSpeed)));
  228.             Constants.RedDrakeVehicleSkill = Float.parseFloat(properties.getProperty("Red_Drake_Vehicle_Skill_Required", Float.toString(Constants.RedDrakeVehicleSkill)));
  229.             Constants.RedDrakeVehicleDepth = Float.parseFloat(properties.getProperty("Red_Drake_Vehicle_Max_Depth", Float.toString(Constants.RedDrakeVehicleDepth)));
  230.             Constants.RedDrakeZaxisOffset = Float.parseFloat(properties.getProperty("Red_Drake_Vehicle_Zaxis_Offset", Float.toString(Constants.RedDrakeZaxisOffset)));
  231.             Constants.RedDrakeMoveSpeed = Float.parseFloat(properties.getProperty("Red_Drake_Move_Speed", Float.toString(Constants.RedDrakeMoveSpeed)));
  232.             Constants.RedDrakeBodyStrength = Float.parseFloat(properties.getProperty("Red_Drake_Body_Strength", Float.toString(Constants.RedDrakeBodyStrength)));
  233.             Constants.RedDrakeBodyControl = Float.parseFloat(properties.getProperty("Red_Drake_Body_Control", Float.toString(Constants.RedDrakeBodyControl)));
  234.             Constants.RedDrakeBodyStamina = Float.parseFloat(properties.getProperty("Red_Drake_Body_Stamina", Float.toString(Constants.RedDrakeBodyStamina)));
  235.             Constants.RedDrakeMindLogic = Float.parseFloat(properties.getProperty("Red_Drake_Mind_Logic", Float.toString(Constants.RedDrakeMindLogic)));
  236.             Constants.RedDrakeMindSpeed = Float.parseFloat(properties.getProperty("Red_Drake_Mind_Speed", Float.toString(Constants.RedDrakeMindSpeed)));
  237.             Constants.RedDrakeSoulStrength = Float.parseFloat(properties.getProperty("Red_Drake_Soul_Strength", Float.toString(Constants.RedDrakeSoulStrength)));
  238.             Constants.RedDrakeSoulDepth = Float.parseFloat(properties.getProperty("Red_Drake_Soul_Depth", Float.toString(Constants.RedDrakeSoulDepth)));
  239.             Constants.RedDrakeWeaponlessFighting = Float.parseFloat(properties.getProperty("Red_Drake_Weaponless_Fighting", Float.toString(Constants.RedDrakeWeaponlessFighting)));
  240.             Constants.RedDrakeFighting = Float.parseFloat(properties.getProperty("Red_Drake_Fighting", Float.toString(Constants.RedDrakeFighting)));
  241.             Constants.RedDrakeBaseCombatRating = Float.parseFloat(properties.getProperty("Red_Drake_Base_Combat_Rating", Float.toString(Constants.RedDrakeBaseCombatRating)));
  242.             Constants.RedDrakeAlignment = Float.parseFloat(properties.getProperty("Red_Drake_Alignment", Float.toString(Constants.RedDrakeAlignment)));
  243.             Constants.RedDrakeSpawnTree = Boolean.parseBoolean(properties.getProperty("Red_Drake_Spawn_Tree", Boolean.toString(Constants.RedDrakeSpawnTree)));
  244.             Constants.RedDrakeEnabled = Boolean.parseBoolean(properties.getProperty("Red_Drake_Enabled", Boolean.toString(Constants.RedDrakeEnabled)));
  245.             Constants.RedDrakeSpawnSteppe = Boolean.parseBoolean(properties.getProperty("Red_Drake_Spawn_Steppe", Boolean.toString(Constants.RedDrakeSpawnSteppe)));
  246.             Constants.RedDrakeSpawnGrass = Boolean.parseBoolean(properties.getProperty("Red_Drake_Spawn_Grass", Boolean.toString(Constants.RedDrakeSpawnGrass)));
  247.             Constants.RedDrakeSpawnTundra = Boolean.parseBoolean(properties.getProperty("Red_Drake_Spawn_Tundra", Boolean.toString(Constants.RedDrakeSpawnTundra)));
  248.             Constants.RedDrakeSpawnDirt = Boolean.parseBoolean(properties.getProperty("Red_Drake_Spawn_Dirt", Boolean.toString(Constants.RedDrakeSpawnDirt)));
  249.             Constants.RedDrakeSpawnSand = Boolean.parseBoolean(properties.getProperty("Red_Drake_Spawn_Sand", Boolean.toString(Constants.RedDrakeSpawnSand)));
  250.             Constants.RedDrakeSpawnSnow = Boolean.parseBoolean(properties.getProperty("Red_Drake_Spawn_Snow", Boolean.toString(Constants.RedDrakeSpawnSnow)));
  251.             Constants.RedDrakeSpawnMarsh = Boolean.parseBoolean(properties.getProperty("Red_Drake_Spawn_Marsh", Boolean.toString(Constants.RedDrakeSpawnMarsh)));
  252.             Constants.RedDrakeSpawnCave = Boolean.parseBoolean(properties.getProperty("Red_Drake_Spawn_Cave", Boolean.toString(Constants.RedDrakeSpawnCave)));
  253.             Constants.RedDrakeSpawnPeat = Boolean.parseBoolean(properties.getProperty("Red_Drake_Spawn_Peat", Boolean.toString(Constants.RedDrakeSpawnPeat)));
  254.         }
  255.         if (Constants.WhiteDrakeEnabled) {
  256.             //Constants.WhiteDrakeCreatureTypes = Integer.parseInt(properties.getProperty("White_Drake_Creature_Types", Integer.toString(Constants.WhiteDrakeCreatureTypes)));
  257.             //Constants.WhiteDrakeItemsButchered = Integer.parseInt(properties.getProperty("White_Drake_Items_Butchered", Integer.toString(Constants.WhiteDrakeItemsButchered)));
  258.             Constants.WhiteDrakeNaturalArmour = Integer.parseInt(properties.getProperty("White_Drake_Natural_Armour", Integer.toString(Constants.WhiteDrakeNaturalArmour)));
  259.             Constants.WhiteDrakeHandDamage = Integer.parseInt(properties.getProperty("White_Drake_Hand_Damage", Integer.toString(Constants.WhiteDrakeHandDamage)));
  260.             Constants.WhiteDrakeKickDamage = Integer.parseInt(properties.getProperty("White_Drake_Kick_Damage", Integer.toString(Constants.WhiteDrakeKickDamage)));
  261.             Constants.WhiteDrakeBiteDamage = Integer.parseInt(properties.getProperty("White_Drake_Bite_Damage", Integer.toString(Constants.WhiteDrakeBiteDamage)));
  262.             Constants.WhiteDrakeHeadDamage = Integer.parseInt(properties.getProperty("White_Drake_Head_Damage", Integer.toString(Constants.WhiteDrakeHeadDamage)));
  263.             Constants.WhiteDrakeMoveRate = Integer.parseInt(properties.getProperty("White_Drake_MoveRate", Integer.toString(Constants.WhiteDrakeMoveRate)));
  264.             Constants.WhiteDrakeMaxHuntRange = Integer.parseInt(properties.getProperty("White_Drake_Max_Hunt_Range", Integer.toString(Constants.WhiteDrakeMaxHuntRange)));
  265.             Constants.WhiteDrakeAggression = Integer.parseInt(properties.getProperty("White_Drake_Aggression", Integer.toString(Constants.WhiteDrakeAggression)));
  266.             Constants.WhiteDrakeVision = Integer.parseInt(properties.getProperty("White_Drake_Vision", Integer.toString(Constants.WhiteDrakeVision)));
  267.             Constants.WhiteDrakeArmourType = Integer.parseInt(properties.getProperty("White_Drake_Armour_Type", Integer.toString(Constants.WhiteDrakeArmourType)));
  268.             Constants.WhiteDrakeCombatMoves = Integer.parseInt(properties.getProperty("White_Drake_Combat_Moves", Integer.toString(Constants.WhiteDrakeCombatMoves)));
  269.             Constants.WhiteDrakeCombatDamageType = Integer.parseInt(properties.getProperty("White_Drake_Combat_Damage_Type", Integer.toString(Constants.WhiteDrakeCombatDamageType)));
  270.             Constants.WhiteDrakeVehicleSpeed = Float.parseFloat(properties.getProperty("White_Drake_Vehicle_Max_Speed", Float.toString(Constants.WhiteDrakeVehicleSpeed)));
  271.             Constants.WhiteDrakeVehicleSkill = Float.parseFloat(properties.getProperty("White_Drake_Vehicle_Skill_Required", Float.toString(Constants.WhiteDrakeVehicleSkill)));
  272.             Constants.WhiteDrakeVehicleDepth = Float.parseFloat(properties.getProperty("White_Drake_Vehicle_Max_Depth", Float.toString(Constants.WhiteDrakeVehicleDepth)));
  273.             Constants.WhiteDrakeZaxisOffset = Float.parseFloat(properties.getProperty("White_Drake_Vehicle_Zaxis_Offset", Float.toString(Constants.WhiteDrakeZaxisOffset)));
  274.             Constants.WhiteDrakeMoveSpeed = Float.parseFloat(properties.getProperty("White_Drake_Move_Speed", Float.toString(Constants.WhiteDrakeMoveSpeed)));
  275.             Constants.WhiteDrakeBodyStrength = Float.parseFloat(properties.getProperty("White_Drake_Body_Strength", Float.toString(Constants.WhiteDrakeBodyStrength)));
  276.             Constants.WhiteDrakeBodyControl = Float.parseFloat(properties.getProperty("White_Drake_Body_Control", Float.toString(Constants.WhiteDrakeBodyControl)));
  277.             Constants.WhiteDrakeBodyStamina = Float.parseFloat(properties.getProperty("White_Drake_Body_Stamina", Float.toString(Constants.WhiteDrakeBodyStamina)));
  278.             Constants.WhiteDrakeMindLogic = Float.parseFloat(properties.getProperty("White_Drake_Mind_Logic", Float.toString(Constants.WhiteDrakeMindLogic)));
  279.             Constants.WhiteDrakeMindSpeed = Float.parseFloat(properties.getProperty("White_Drake_Mind_Speed", Float.toString(Constants.WhiteDrakeMindSpeed)));
  280.             Constants.WhiteDrakeSoulStrength = Float.parseFloat(properties.getProperty("White_Drake_Soul_Strength", Float.toString(Constants.WhiteDrakeSoulStrength)));
  281.             Constants.WhiteDrakeSoulDepth = Float.parseFloat(properties.getProperty("White_Drake_Soul_Depth", Float.toString(Constants.WhiteDrakeSoulDepth)));
  282.             Constants.WhiteDrakeWeaponlessFighting = Float.parseFloat(properties.getProperty("White_Drake_Weaponless_Fighting", Float.toString(Constants.WhiteDrakeWeaponlessFighting)));
  283.             Constants.WhiteDrakeFighting = Float.parseFloat(properties.getProperty("White_Drake_Fighting", Float.toString(Constants.WhiteDrakeFighting)));
  284.             Constants.WhiteDrakeBaseCombatRating = Float.parseFloat(properties.getProperty("White_Drake_Base_Combat_Rating", Float.toString(Constants.WhiteDrakeBaseCombatRating)));
  285.             Constants.WhiteDrakeAlignment = Float.parseFloat(properties.getProperty("White_Drake_Alignment", Float.toString(Constants.WhiteDrakeAlignment)));
  286.             Constants.WhiteDrakeEnabled = Boolean.parseBoolean(properties.getProperty("White_Drake_Enabled", Boolean.toString(Constants.WhiteDrakeEnabled)));
  287.             Constants.WhiteDrakeSpawnTree = Boolean.parseBoolean(properties.getProperty("White_Drake_Spawn_Tree", Boolean.toString(Constants.WhiteDrakeSpawnTree)));
  288.             Constants.WhiteDrakeSpawnSteppe = Boolean.parseBoolean(properties.getProperty("White_Drake_Spawn_Steppe", Boolean.toString(Constants.WhiteDrakeSpawnSteppe)));
  289.             Constants.WhiteDrakeSpawnGrass = Boolean.parseBoolean(properties.getProperty("White_Drake_Spawn_Grass", Boolean.toString(Constants.WhiteDrakeSpawnGrass)));
  290.             Constants.WhiteDrakeSpawnTundra = Boolean.parseBoolean(properties.getProperty("White_Drake_Spawn_Tundra", Boolean.toString(Constants.WhiteDrakeSpawnTundra)));
  291.             Constants.WhiteDrakeSpawnDirt = Boolean.parseBoolean(properties.getProperty("White_Drake_Spawn_Dirt", Boolean.toString(Constants.WhiteDrakeSpawnDirt)));
  292.             Constants.WhiteDrakeSpawnSand = Boolean.parseBoolean(properties.getProperty("White_Drake_Spawn_Sand", Boolean.toString(Constants.WhiteDrakeSpawnSand)));
  293.             Constants.WhiteDrakeSpawnSnow = Boolean.parseBoolean(properties.getProperty("White_Drake_Spawn_Snow", Boolean.toString(Constants.WhiteDrakeSpawnSnow)));
  294.             Constants.WhiteDrakeSpawnMarsh = Boolean.parseBoolean(properties.getProperty("White_Drake_Spawn_Marsh", Boolean.toString(Constants.WhiteDrakeSpawnMarsh)));
  295.             Constants.WhiteDrakeSpawnCave = Boolean.parseBoolean(properties.getProperty("White_Drake_Spawn_Cave", Boolean.toString(Constants.WhiteDrakeSpawnCave)));
  296.             Constants.WhiteDrakeSpawnPeat = Boolean.parseBoolean(properties.getProperty("White_Drake_Spawn_Peat", Boolean.toString(Constants.WhiteDrakeSpawnPeat)));
  297.         }
  298.     }
  299. }
Advertisement
Add Comment
Please, Sign In to add comment