summaryrefslogtreecommitdiff
path: root/npc/048-2/bluesageConfig.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-07-07 20:36:00 -0300
committerJesusaves <cpntb1@ymail.com>2021-07-07 20:36:00 -0300
commit6967b9e0b63d19141d4f59b7933a960ac81916d0 (patch)
tree8ecd9cd2461f3598cb7faece71eb77162aa4ef2a /npc/048-2/bluesageConfig.txt
parent9877fd4ad81120af8e63e96d5d429092014dc017 (diff)
parent046c659193e1ca8bd13478678d1277df8bf9395c (diff)
downloadserverdata-6967b9e0b63d19141d4f59b7933a960ac81916d0.tar.gz
serverdata-6967b9e0b63d19141d4f59b7933a960ac81916d0.tar.bz2
serverdata-6967b9e0b63d19141d4f59b7933a960ac81916d0.tar.xz
serverdata-6967b9e0b63d19141d4f59b7933a960ac81916d0.zip
Merge branch 'master' into legacy
Override all files with 'master' version. This version is meant to preserve git history as requested by bjorn.
Diffstat (limited to 'npc/048-2/bluesageConfig.txt')
-rw-r--r--npc/048-2/bluesageConfig.txt71
1 files changed, 71 insertions, 0 deletions
diff --git a/npc/048-2/bluesageConfig.txt b/npc/048-2/bluesageConfig.txt
new file mode 100644
index 00000000..5a17a304
--- /dev/null
+++ b/npc/048-2/bluesageConfig.txt
@@ -0,0 +1,71 @@
+
+
+
+
+
+
+- script #bluesageconfig NPC32767,{
+ end;
+
+OnInit:
+ $@Q_BlueSageMinimumLevel = 60;
+
+ $@Q_BlueSageBookPages_MASK = 0x1F;
+ $@Q_BlueSageBookPages_SHIFT = 0;
+
+ $@Q_BlueSageGrimoire = 0x20;
+ $@Q_BlueSageIceSword = 0x40;
+
+ $@Q_BlueSageMaterial_MASK = NIBBLE_2_MASK;
+ $@Q_BlueSageMaterial_SHIFT = NIBBLE_2_SHIFT;
+
+ $@Q_BlueSageMaterialReed = 0x100;
+ $@Q_BlueSageMaterialSilk = 0x200;
+ $@Q_BlueSageMaterialClaw = 0x400;
+ $@Q_BlueSageMaterialInk = 0x800;
+
+ $@Q_BlueSageSlimes_MASK = BYTE_2_MASK;
+ $@Q_BlueSageSlimes_SHIFT = BYTE_2_SHIFT;
+ $@Q_BlueSageSlimesStart = 0x010000;
+ $@Q_BlueSageSlime0 = 0x020000;
+ $@Q_BlueSageSlime1 = 0x040000;
+ $@Q_BlueSageSlime2 = 0x080000;
+ $@Q_BlueSageSlime3 = 0x100000;
+ $@Q_BlueSageSlime4 = 0x200000;
+ $@Q_BlueSageSlime5 = 0x400000;
+ $@Q_BlueSageSlime6 = 0x800000;
+ //white
+ $@BlueSageSlime0_Amount = 6;
+ $@BlueSageSlime1_Amount = 5;
+ $@BlueSageSlime2_Amount = 4;
+ $@BlueSageSlime3_Amount = 3;
+ // blue
+ $@BlueSageSlime4_Amount = 3;
+ $@BlueSageSlime5_Amount = 2;
+ $@BlueSageSlime6_Amount = 1;
+ end;
+}
+
+function script updateBlueSageBookPages {
+ QUEST_BlueSage = (QUEST_BlueSage & ~($@Q_BlueSageBookPages_MASK) | (@bookpages << $@Q_BlueSageBookPages_SHIFT));
+ return;
+}
+
+function script blueSageNumberOfClearedNests {
+ @slimenests = 0;
+ if (QUEST_BlueSage & $@Q_BlueSageSlime0)
+ @slimenests = @slimenests+1;
+ if (QUEST_BlueSage & $@Q_BlueSageSlime1)
+ @slimenests = @slimenests+1;
+ if (QUEST_BlueSage & $@Q_BlueSageSlime2)
+ @slimenests = @slimenests+1;
+ if (QUEST_BlueSage & $@Q_BlueSageSlime3)
+ @slimenests = @slimenests+1;
+ if (QUEST_BlueSage & $@Q_BlueSageSlime4)
+ @slimenests = @slimenests+1;
+ if (QUEST_BlueSage & $@Q_BlueSageSlime5)
+ @slimenests = @slimenests+1;
+ if (QUEST_BlueSage & $@Q_BlueSageSlime6)
+ @slimenests = @slimenests+1;
+ return;
+}