diff options
-rw-r--r-- | world/map/db/item_db_use.txt | 5 | ||||
-rw-r--r-- | world/map/npc/items/unreleased_item.txt | 11 |
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; +} |