Added Incense Sticks. Now to make them do stuffs...

This commit is contained in:
Lizbeth Rika committed 2015-05-15 15:54:11 +01:00
1 parent cb160985b9
commit 2c41e88628
13 files changed
+170 -4

No files matched your search

@@ -28,6 +28,7 @@ public class Brew {
int cost;
List<PotionEffect> effects;
boolean canInfuseBloodPendant = true;
boolean canInfuseIncense = true;
/**
* @param name The unlocalized name of this potion.
@@ -51,10 +52,22 @@ public class Brew {
canInfuseBloodPendant = false;
return this;
}
/**
* Sets this brew to not be able to be infused onto Incense Sticks.
*/
public Brew setNotIncenseInfusable() {
canInfuseIncense = false;
return this;
}
public boolean canInfuseBloodPendant() {
return canInfuseBloodPendant;
}
public boolean canInfuseIncense() {
return canInfuseIncense;
}
/**
* Returns the key for this brew, for it to be found in the map in the API.