summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/scripts.conf20
1 files changed, 11 insertions, 9 deletions
diff --git a/npc/scripts.conf b/npc/scripts.conf
index cb1eda99f..369bfaa38 100644
--- a/npc/scripts.conf
+++ b/npc/scripts.conf
@@ -6,13 +6,6 @@
"npc/functions/util.txt",
"npc/functions/clientversion.txt",
-// Important functions
-"npc/functions/game-rules.txt",
-"npc/functions/inventoryplace.txt",
-"npc/functions/scoreboards.txt",
-"npc/functions/random-talk.txt",
-"npc/items/rand_sc_heal.txt",
-
// General-purpose Framework functions
"npc/functions/array.txt",
"npc/functions/input.txt",
@@ -22,6 +15,17 @@
"npc/functions/time.txt",
"npc/functions/timer.txt",
+// These functions need to be loaded before everything else
+"npc/functions/goodbye.txt",
+"npc/functions/openbook.txt",
+
+// Important functions
+"npc/functions/game-rules.txt",
+"npc/functions/inventoryplace.txt",
+"npc/functions/scoreboards.txt",
+"npc/functions/random-talk.txt",
+"npc/items/rand_sc_heal.txt",
+
// Misc functions
"npc/functions/asklanguage.txt",
"npc/functions/barber.txt",
@@ -29,7 +33,6 @@
"npc/functions/confused-tree-dict.txt",
"npc/functions/doors.txt",
"npc/functions/fishing.txt",
-"npc/functions/goodbye.txt",
"npc/functions/hammocks.txt",
"npc/functions/harbours.txt",
"npc/functions/marriage.txt",
@@ -37,7 +40,6 @@
"npc/functions/news.txt",
"npc/functions/npcmove.txt",
"npc/functions/npcmovegraph.txt",
-"npc/functions/openbook.txt",
"npc/functions/questgen.txt",
"npc/functions/riddle.txt",
"npc/functions/savepoint.txt",