summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-04-24 11:03:19 -0300
committerJesusaves <cpntb1@ymail.com>2020-04-24 11:03:19 -0300
commitf61e8c4c062129dc17b7cad69c6a48f68f08b347 (patch)
tree9b12bdee9bed4ad745cfa992f65d60f2bdc64043
parentec5f42b08d328c9d67c0d521d6a096124a86b248 (diff)
downloadserverdata-f61e8c4c062129dc17b7cad69c6a48f68f08b347.tar.gz
serverdata-f61e8c4c062129dc17b7cad69c6a48f68f08b347.tar.bz2
serverdata-f61e8c4c062129dc17b7cad69c6a48f68f08b347.tar.xz
serverdata-f61e8c4c062129dc17b7cad69c6a48f68f08b347.zip
Preparatives from client-data, but now server-sided
-rw-r--r--db/constants.conf1
-rw-r--r--db/re/item_db.conf18
-rw-r--r--db/re/mob_db.conf3
-rw-r--r--npc/012-1/bot.txt5
-rw-r--r--npc/017-1/shops.txt2
5 files changed, 26 insertions, 3 deletions
diff --git a/db/constants.conf b/db/constants.conf
index a26faca57..f6618253a 100644
--- a/db/constants.conf
+++ b/db/constants.conf
@@ -4014,6 +4014,7 @@ constants_db: {
NPC_ICE_CAGE: 253
NPC_INJURIED_GIRL: 254
NPC_BARBARA_CRY: 255
+ NPC_KING_ARTHUR: 256
// TMW-BR Non Animated NPCs
NPC_SHOPPAKEP: 301
diff --git a/db/re/item_db.conf b/db/re/item_db.conf
index 1457a71eb..a3b3ed0ae 100644
--- a/db/re/item_db.conf
+++ b/db/re/item_db.conf
@@ -5319,6 +5319,24 @@ item_db: (
Sell: 7500
Weight: 1
},
+{
+ Id: 915
+ AegisName: "GuildCoin"
+ Name: "Guild Coin"
+ Type: "IT_ETC"
+ Buy: 0
+ Sell: 0
+ Weight: 0
+},
+{
+ Id: 916
+ AegisName: "LOFCoin"
+ Name: "LoF Coin"
+ Type: "IT_ETC"
+ Buy: 10000
+ Sell: 3500
+ Weight: 0
+},
// <!-- Necklaces -->
{
Id: 1000
diff --git a/db/re/mob_db.conf b/db/re/mob_db.conf
index 9da9bcb78..ef56c41ab 100644
--- a/db/re/mob_db.conf
+++ b/db/re/mob_db.conf
@@ -1548,7 +1548,6 @@ mob_db: (
FrozenYetiTear: 10000
StrangeCoin: 7000
StrangeCoin: 4000
- StrangeCoin: 1000
AnimalBones: 1500
BronzeGift: 1000
SilverGift: 500
@@ -8251,7 +8250,7 @@ mob_db: (
Drops: {
FrozenYetiTear: 10000
AnimalBones: 8000
- StrangeCoin: 7000
+ StrangeCoin: 4000
BronzeGift: 2000
SilverGift: 1000
MercBoxA: 100
diff --git a/npc/012-1/bot.txt b/npc/012-1/bot.txt
index 8f471bb34..1bd0bdbc4 100644
--- a/npc/012-1/bot.txt
+++ b/npc/012-1/bot.txt
@@ -3,9 +3,12 @@
// Jesusalva
// Description:
// Introduces the new area ingame
+// Quest:
+// TODO: Quest, requires 1× LOFCoin (obtain for free with Pyndragon)
+// Reward: Mouboo Figurine
012-1,82,59,0 script LOFBot NPC_PLAYER,{
- if (rand(1,5) % 2 == 1) {
+ if (rand2(1,5) % 2 == 1) {
mesn;
mesq l("Ah, @@ is sooo amazing!", $MOST_HEROIC$);
next;
diff --git a/npc/017-1/shops.txt b/npc/017-1/shops.txt
index db1c611ce..64602bf32 100644
--- a/npc/017-1/shops.txt
+++ b/npc/017-1/shops.txt
@@ -22,6 +22,7 @@ OnInit:
.distance = 4;
tradertype(NST_MARKET);
+ sellitem LOFCoin, -1, 1;
sellitem YellowDye, -1, 1;
sellitem CottonCloth, -1, 3;
sellitem ArrowAmmoBox, -1, 5;
@@ -29,6 +30,7 @@ OnInit:
OnClock1250:
OnClock0112:
+ restoreshopitem LOFCoin, -1, 1;
restoreshopitem YellowDye, -1, 1;
restoreshopitem CottonCloth, -1, 3;
restoreshopitem ArrowAmmoBox, -1, 5;