@@ -1,4 +1,4 @@
|
||||
From 77958016c76679e58d9475984109f0ec9830ceee Mon Sep 17 00:00:00 2001
|
||||
From afa1480e9b476323793c4f04de60114b6c1714c9 Mon Sep 17 00:00:00 2001
|
||||
From: md_5 <md_5@live.com.au>
|
||||
Date: Fri, 21 Jun 2013 16:44:14 +1000
|
||||
Subject: [PATCH] Crop Growth Rates
|
||||
@@ -171,43 +171,43 @@ index bf297bc..38bd7ba 100644
|
||||
}
|
||||
}
|
||||
diff --git a/src/main/java/org/spigotmc/SpigotWorldConfig.java b/src/main/java/org/spigotmc/SpigotWorldConfig.java
|
||||
index 4e1bdcf..8954c99 100644
|
||||
index 2b77e04..fcc2c88 100644
|
||||
--- a/src/main/java/org/spigotmc/SpigotWorldConfig.java
|
||||
+++ b/src/main/java/org/spigotmc/SpigotWorldConfig.java
|
||||
@@ -61,4 +61,36 @@ public class SpigotWorldConfig
|
||||
chunksPerTick = getInt( "chunks-per-tick", chunksPerTick );
|
||||
@@ -67,4 +67,36 @@ public class SpigotWorldConfig
|
||||
chunksPerTick = getInt( "chunks-per-tick", 650 );
|
||||
log( "Chunks to Grow per Tick: " + chunksPerTick );
|
||||
}
|
||||
+
|
||||
+ // Crop growth rates
|
||||
+ public int cactusModifier = 100;
|
||||
+ public int caneModifier = 100;
|
||||
+ public int melonModifier = 100;
|
||||
+ public int mushroomModifier = 100;
|
||||
+ public int pumpkinModifier = 100;
|
||||
+ public int saplingModifier = 100;
|
||||
+ public int wheatModifier = 100;
|
||||
+ public int cactusModifier;
|
||||
+ public int caneModifier;
|
||||
+ public int melonModifier;
|
||||
+ public int mushroomModifier;
|
||||
+ public int pumpkinModifier;
|
||||
+ public int saplingModifier;
|
||||
+ public int wheatModifier;
|
||||
+ private void growthModifiers()
|
||||
+ {
|
||||
+ cactusModifier = getInt( "growth.cactus-modifier", cactusModifier );
|
||||
+ cactusModifier = getInt( "growth.cactus-modifier", 100 );
|
||||
+ log( "Cactus Growth Modifier: " + cactusModifier + "%" );
|
||||
+
|
||||
+ caneModifier = getInt( "growth.cane-modifier", caneModifier );
|
||||
+ caneModifier = getInt( "growth.cane-modifier", 100 );
|
||||
+ log( "Cactus Growth Modifier: " + cactusModifier + "%" );
|
||||
+
|
||||
+ melonModifier = getInt( "growth.melon-modifier", melonModifier );
|
||||
+ melonModifier = getInt( "growth.melon-modifier", 100 );
|
||||
+ log( "Cactus Growth Modifier: " + cactusModifier + "%" );
|
||||
+
|
||||
+ mushroomModifier = getInt( "growth.mushroom-modifier", mushroomModifier );
|
||||
+ mushroomModifier = getInt( "growth.mushroom-modifier", 100 );
|
||||
+ log( "Cactus Growth Modifier: " + cactusModifier + "%" );
|
||||
+
|
||||
+ pumpkinModifier = getInt( "growth.pumpkin-modifier", pumpkinModifier );
|
||||
+ pumpkinModifier = getInt( "growth.pumpkin-modifier", 100 );
|
||||
+ log( "Cactus Growth Modifier: " + cactusModifier + "%" );
|
||||
+
|
||||
+ saplingModifier = getInt( "growth.sapling-modifier", saplingModifier );
|
||||
+ saplingModifier = getInt( "growth.sapling-modifier", 100 );
|
||||
+ log( "Cactus Growth Modifier: " + cactusModifier + "%" );
|
||||
+
|
||||
+ wheatModifier = getInt( "growth.wheat-modifier", wheatModifier );
|
||||
+ wheatModifier = getInt( "growth.wheat-modifier", 100 );
|
||||
+ log( "Cactus Growth Modifier: " + cactusModifier + "%" );
|
||||
+ }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user