mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-21 17:22:17 +00:00
Added configurable limits to skin overlays and dialog images.
This commit is contained in:
1 parent
7cfc4ccca4
commit
40a210ce8f
5 files changed
+29
-1
No files matched your search
@@ -103,6 +103,12 @@ public class CustomNpcs {
|
||||
@ConfigProp(info = "Number of chunk loading npcs that can be active at the same time")
|
||||
public static int ChuckLoaders = 20;
|
||||
|
||||
@ConfigProp(info = "The maximum number of images any dialog can hold.")
|
||||
public static int DialogImageLimit = 10;
|
||||
|
||||
@ConfigProp(info = "The maximum number of images any dialog can hold.")
|
||||
public static int SkinOverlayLimit = 10;
|
||||
|
||||
public static File Dir;
|
||||
|
||||
@ConfigProp(info = "Set to false if you want to disable guns")
|
||||
@@ -174,6 +180,14 @@ public class CustomNpcs {
|
||||
if(NpcSizeLimit < 1)
|
||||
NpcSizeLimit = 1;
|
||||
|
||||
if (DialogImageLimit < 0) {
|
||||
DialogImageLimit = 0;
|
||||
}
|
||||
|
||||
if (SkinOverlayLimit < 0) {
|
||||
SkinOverlayLimit = 0;
|
||||
}
|
||||
|
||||
if (TrackingInfoAlignment < 0)
|
||||
TrackingInfoAlignment = 0;
|
||||
if (TrackingInfoAlignment > 8)
|
||||
|
||||
Reference in new issue
Block a user