diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-08-18 15:53:43 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-08-18 15:53:43 -0300 |
commit | 643410d866c5b9d3134a228d2a03916a843f2570 (patch) | |
tree | b95495fccc5e9752543f8965842cb64868c898c8 /npc/020-5 | |
parent | dff61482d407826b48329037a9785874d0d40106 (diff) | |
download | serverdata-643410d866c5b9d3134a228d2a03916a843f2570.tar.gz serverdata-643410d866c5b9d3134a228d2a03916a843f2570.tar.bz2 serverdata-643410d866c5b9d3134a228d2a03916a843f2570.tar.xz serverdata-643410d866c5b9d3134a228d2a03916a843f2570.zip |
Hmm
Diffstat (limited to 'npc/020-5')
-rw-r--r-- | npc/020-5/bracco.txt | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/npc/020-5/bracco.txt b/npc/020-5/bracco.txt index 9452de333..f7be7e677 100644 --- a/npc/020-5/bracco.txt +++ b/npc/020-5/bracco.txt @@ -14,17 +14,18 @@ .@index=getarg(0); .@price=getarg(1); - mesn; - mesc l("Really melt down your @@? It'll cost you @@ GP. This action cannot be undone!", getinvindexlink(.@index), .@price), 1; - next; - if (askyesno() == ASK_NO || Zeny < .@price) - return; //failedremovecardsindex .@index, 0; // TODO: Fix this and upgrade server delinventorylist(); getinventorylist(); .@item=@inventorylist_id[.@index]; + mesn; + mesc l("Really melt down your @@? It'll cost you @@ GP. This action cannot be undone!", getitemlink(.@item), .@price), 1; + next; + if (askyesno() == ASK_NO || Zeny < .@price) + return; + if (.@item <= 0) { Exception(l("Error translating item ID @@ to @@ (Bracco, idx, id)", .@index, .@item), RB_DEFAULT|RB_SPEECH|RB_ISFATAL); } |