removed system.outs and system messages related to rolls

This commit is contained in:
CharonInferar
2014-04-25 17:07:12 +02:00
parent df7c10dc6d
commit 608fb42e2f
2 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -1,3 +1,3 @@
LOAD.SNAPSHOT_OBJECTS=0
LOAD.BUILDOUT_OBJECTS=0
LOAD.SNAPSHOT_OBJECTS=1
LOAD.BUILDOUT_OBJECTS=1
LOAD.RESOURCE.SYSTEM=1
+3 -3
View File
@@ -91,7 +91,7 @@ public class Forager {
// if (forager.gotThePig(pig)){
// forageChances = forageChances3;
//}
forager.sendSystemMessage("randomForageRoll " + randomForageRoll,(byte) 0);
//forager.sendSystemMessage("randomForageRoll " + randomForageRoll,(byte) 0);
if (randomForageRoll<forageResultChance+kommerkenBonus) {
for(int i=0;i<forageChances.length;i++) {
@@ -111,7 +111,7 @@ public class Forager {
if(forager.getClient().isGM()) // Always yield a TM for testing
chosenObject = 5;
forager.sendSystemMessage("chosenObject " + chosenObject,(byte) 0);
//forager.sendSystemMessage("chosenObject " + chosenObject,(byte) 0);
switch (chosenObject) {
case LYASE_ENZYME: String template = "object/tangible/loot/beast/shared_enzyme_2.iff";
@@ -153,7 +153,7 @@ public class Forager {
foragedObject.setAttachment("MapSTFName", getLevelDependentSTFName(forager.getLevel()));
int mapPlanetID = new Random().nextInt(mapPlanetIDs.length-1);
foragedObject.setAttachment("MapPlanet", mapPlanetIDs[mapPlanetID]);
System.out.println("mapPlanetID " + mapPlanetIDs[mapPlanetID]);
//System.out.println("mapPlanetID " + mapPlanetIDs[mapPlanetID]);
foragedObject.setAttachment("radial_filename", "object/treasuremap");
//foragedObject.setAttachment("radial_filename", "object/treasuremapExtract");
foragerInventory.add(foragedObject);