summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2022-12-21 15:50:53 -0300
committerJesusaves <cpntb1@ymail.com>2022-12-21 15:50:53 -0300
commitdfad5d63357f3057e4986753f7004419f89d3e13 (patch)
treea0ea07e9ffc9b51bf83ab55840b7d9afc662ab52
parent4605febfed506747dc75ea814c18d9d8b31f1feb (diff)
downloadserverdata-dfad5d63357f3057e4986753f7004419f89d3e13.tar.gz
serverdata-dfad5d63357f3057e4986753f7004419f89d3e13.tar.bz2
serverdata-dfad5d63357f3057e4986753f7004419f89d3e13.tar.xz
serverdata-dfad5d63357f3057e4986753f7004419f89d3e13.zip
This hack will do (scrolls)
-rw-r--r--world/map/db/item_db_use.txt5
-rw-r--r--world/map/npc/items/unreleased_item.txt11
2 files changed, 16 insertions, 0 deletions
diff --git a/world/map/db/item_db_use.txt b/world/map/db/item_db_use.txt
index 12019781..2de922c0 100644
--- a/world/map/db/item_db_use.txt
+++ b/world/map/db/item_db_use.txt
@@ -102,3 +102,8 @@
5237, CaramelCandy, 0, 700, 350, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, {heal 350, 0, 1;}, {}
5251, Tomato, 0, 700, 350, 5, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, {heal 200, 5, 1;}, {}
5263, LovePotion, 0, 90000, 550, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, {callfunc "LovePotion";}, {}
+5141, AlizarinScroll, 0, 3000, 1000, 5, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, {callfunc "UnreleasedScroll";}, {}
+5142, CobaltScroll, 0, 3000, 1000, 5, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, {callfunc "UnreleasedScroll";}, {}
+5143, GambogeScroll, 0, 3000, 1000, 5, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, {callfunc "UnreleasedScroll";}, {}
+5144, MauveScroll, 0, 3000, 1000, 5, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, {callfunc "UnreleasedScroll";}, {}
+5145, JoyplimScroll, 0, 3000, 1000, 5, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, {callfunc "UnreleasedScroll";}, {}
diff --git a/world/map/npc/items/unreleased_item.txt b/world/map/npc/items/unreleased_item.txt
index d8bb9e07..a04b0843 100644
--- a/world/map/npc/items/unreleased_item.txt
+++ b/world/map/npc/items/unreleased_item.txt
@@ -15,3 +15,14 @@ function|script|UnreleasedItem
L_Return:
return;
}
+
+
+function|script|UnreleasedScroll
+{
+ message strcharinfo(0), "You have difficulties using this item, as if it is not yet fully in this world.";
+ set Zeny, Zeny + 1000; // Force the sell
+ goto L_Return;
+
+L_Return:
+ return;
+}