impling plugin: add Crystal implings
This commit is contained in:
@@ -61,6 +61,24 @@ enum Impling
|
|||||||
NINJA(ImplingType.NINJA, NpcID.NINJA_IMPLING),
|
NINJA(ImplingType.NINJA, NpcID.NINJA_IMPLING),
|
||||||
NINJA_2(ImplingType.NINJA, NpcID.NINJA_IMPLING_1653),
|
NINJA_2(ImplingType.NINJA, NpcID.NINJA_IMPLING_1653),
|
||||||
|
|
||||||
|
CRYSTAL(ImplingType.CRYSTAL, NpcID.CRYSTAL_IMPLING),
|
||||||
|
CRYSTAL_2(ImplingType.CRYSTAL, NpcID.CRYSTAL_IMPLING_8742),
|
||||||
|
CRYSTAL_3(ImplingType.CRYSTAL, NpcID.CRYSTAL_IMPLING_8743),
|
||||||
|
CRYSTAL_4(ImplingType.CRYSTAL, NpcID.CRYSTAL_IMPLING_8744),
|
||||||
|
CRYSTAL_5(ImplingType.CRYSTAL, NpcID.CRYSTAL_IMPLING_8745),
|
||||||
|
CRYSTAL_6(ImplingType.CRYSTAL, NpcID.CRYSTAL_IMPLING_8746),
|
||||||
|
CRYSTAL_7(ImplingType.CRYSTAL, NpcID.CRYSTAL_IMPLING_8747),
|
||||||
|
CRYSTAL_8(ImplingType.CRYSTAL, NpcID.CRYSTAL_IMPLING_8748),
|
||||||
|
CRYSTAL_9(ImplingType.CRYSTAL, NpcID.CRYSTAL_IMPLING_8749),
|
||||||
|
CRYSTAL_10(ImplingType.CRYSTAL, NpcID.CRYSTAL_IMPLING_8750),
|
||||||
|
CRYSTAL_11(ImplingType.CRYSTAL, NpcID.CRYSTAL_IMPLING_8751),
|
||||||
|
CRYSTAL_12(ImplingType.CRYSTAL, NpcID.CRYSTAL_IMPLING_8752),
|
||||||
|
CRYSTAL_13(ImplingType.CRYSTAL, NpcID.CRYSTAL_IMPLING_8753),
|
||||||
|
CRYSTAL_14(ImplingType.CRYSTAL, NpcID.CRYSTAL_IMPLING_8754),
|
||||||
|
CRYSTAL_15(ImplingType.CRYSTAL, NpcID.CRYSTAL_IMPLING_8755),
|
||||||
|
CRYSTAL_16(ImplingType.CRYSTAL, NpcID.CRYSTAL_IMPLING_8756),
|
||||||
|
CRYSTAL_17(ImplingType.CRYSTAL, NpcID.CRYSTAL_IMPLING_8757),
|
||||||
|
|
||||||
DRAGON(ImplingType.DRAGON, NpcID.DRAGON_IMPLING),
|
DRAGON(ImplingType.DRAGON, NpcID.DRAGON_IMPLING),
|
||||||
DRAGON_2(ImplingType.DRAGON, NpcID.DRAGON_IMPLING_1654),
|
DRAGON_2(ImplingType.DRAGON, NpcID.DRAGON_IMPLING_1654),
|
||||||
|
|
||||||
|
|||||||
@@ -40,6 +40,7 @@ enum ImplingType
|
|||||||
NATURE("Nature"),
|
NATURE("Nature"),
|
||||||
MAGPIE("Magpie"),
|
MAGPIE("Magpie"),
|
||||||
NINJA("Ninja"),
|
NINJA("Ninja"),
|
||||||
|
CRYSTAL("Crystal"),
|
||||||
DRAGON("Dragon"),
|
DRAGON("Dragon"),
|
||||||
LUCKY("Lucky");
|
LUCKY("Lucky");
|
||||||
|
|
||||||
|
|||||||
@@ -236,6 +236,28 @@ public interface ImplingsConfig extends Config
|
|||||||
|
|
||||||
@ConfigItem(
|
@ConfigItem(
|
||||||
position = 19,
|
position = 19,
|
||||||
|
keyName = "showCrystal",
|
||||||
|
name = "Show Crystal implings",
|
||||||
|
description = "Configures whether or not Crystal implings are displayed"
|
||||||
|
)
|
||||||
|
default boolean showCrystal()
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
@ConfigItem(
|
||||||
|
position = 20,
|
||||||
|
keyName = "crystalColor",
|
||||||
|
name = "Crystal impling color",
|
||||||
|
description = "Text color for Crystal implings"
|
||||||
|
)
|
||||||
|
default Color getCrystalColor()
|
||||||
|
{
|
||||||
|
return new Color(93, 188, 210);
|
||||||
|
}
|
||||||
|
|
||||||
|
@ConfigItem(
|
||||||
|
position = 21,
|
||||||
keyName = "showdragon",
|
keyName = "showdragon",
|
||||||
name = "Show Dragon implings",
|
name = "Show Dragon implings",
|
||||||
description = "Configures whether or not Dragon impling tags are displayed"
|
description = "Configures whether or not Dragon impling tags are displayed"
|
||||||
@@ -246,7 +268,7 @@ public interface ImplingsConfig extends Config
|
|||||||
}
|
}
|
||||||
|
|
||||||
@ConfigItem(
|
@ConfigItem(
|
||||||
position = 20,
|
position = 22,
|
||||||
keyName = "dragonColor",
|
keyName = "dragonColor",
|
||||||
name = "Dragon impling color",
|
name = "Dragon impling color",
|
||||||
description = "Text color for Dragon implings"
|
description = "Text color for Dragon implings"
|
||||||
@@ -257,7 +279,7 @@ public interface ImplingsConfig extends Config
|
|||||||
}
|
}
|
||||||
|
|
||||||
@ConfigItem(
|
@ConfigItem(
|
||||||
position = 21,
|
position = 23,
|
||||||
keyName = "showlucky",
|
keyName = "showlucky",
|
||||||
name = "Show Lucky implings",
|
name = "Show Lucky implings",
|
||||||
description = "Configures whether or not Lucky impling tags are displayed"
|
description = "Configures whether or not Lucky impling tags are displayed"
|
||||||
@@ -268,7 +290,7 @@ public interface ImplingsConfig extends Config
|
|||||||
}
|
}
|
||||||
|
|
||||||
@ConfigItem(
|
@ConfigItem(
|
||||||
position = 22,
|
position = 24,
|
||||||
keyName = "luckyColor",
|
keyName = "luckyColor",
|
||||||
name = "Lucky impling color",
|
name = "Lucky impling color",
|
||||||
description = "Text color for Lucky implings"
|
description = "Text color for Lucky implings"
|
||||||
@@ -279,7 +301,7 @@ public interface ImplingsConfig extends Config
|
|||||||
}
|
}
|
||||||
|
|
||||||
@ConfigItem(
|
@ConfigItem(
|
||||||
position = 23,
|
position = 25,
|
||||||
keyName = "showspawn",
|
keyName = "showspawn",
|
||||||
name = "Show Spawn locations",
|
name = "Show Spawn locations",
|
||||||
description = "Configures whether or not spawn locations are displayed in Puro Puro"
|
description = "Configures whether or not spawn locations are displayed in Puro Puro"
|
||||||
@@ -290,7 +312,7 @@ public interface ImplingsConfig extends Config
|
|||||||
}
|
}
|
||||||
|
|
||||||
@ConfigItem(
|
@ConfigItem(
|
||||||
position = 24,
|
position = 26,
|
||||||
keyName = "spawnColor",
|
keyName = "spawnColor",
|
||||||
name = "Impling spawn color",
|
name = "Impling spawn color",
|
||||||
description = "Text color for impling spawns in Puro Puro"
|
description = "Text color for impling spawns in Puro Puro"
|
||||||
@@ -301,7 +323,7 @@ public interface ImplingsConfig extends Config
|
|||||||
}
|
}
|
||||||
|
|
||||||
@ConfigItem(
|
@ConfigItem(
|
||||||
position = 25,
|
position = 27,
|
||||||
keyName = "showname",
|
keyName = "showname",
|
||||||
name = "Show name on minimap",
|
name = "Show name on minimap",
|
||||||
description = "Configures whether or not impling names are displayed on minimap"
|
description = "Configures whether or not impling names are displayed on minimap"
|
||||||
|
|||||||
@@ -164,6 +164,8 @@ public class ImplingsPlugin extends Plugin
|
|||||||
return config.showMagpie();
|
return config.showMagpie();
|
||||||
case NINJA:
|
case NINJA:
|
||||||
return config.showNinja();
|
return config.showNinja();
|
||||||
|
case CRYSTAL:
|
||||||
|
return config.showCrystal();
|
||||||
case DRAGON:
|
case DRAGON:
|
||||||
return config.showDragon();
|
return config.showDragon();
|
||||||
case LUCKY:
|
case LUCKY:
|
||||||
@@ -202,6 +204,8 @@ public class ImplingsPlugin extends Plugin
|
|||||||
return config.getMagpieColor();
|
return config.getMagpieColor();
|
||||||
case NINJA:
|
case NINJA:
|
||||||
return config.getNinjaColor();
|
return config.getNinjaColor();
|
||||||
|
case CRYSTAL:
|
||||||
|
return config.getCrystalColor();
|
||||||
case DRAGON:
|
case DRAGON:
|
||||||
return config.getDragonColor();
|
return config.getDragonColor();
|
||||||
case LUCKY:
|
case LUCKY:
|
||||||
|
|||||||
Reference in New Issue
Block a user