summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-05-28 22:44:11 -0300
committerJesusaves <cpntb1@ymail.com>2019-05-28 22:44:11 -0300
commit8c99adcb54d0a13f63a6f93d771ca15f211fb4e3 (patch)
tree5c3a4960a2548edff526896a694426dff5f126a8 /npc/functions
parenteccac500742929097d1724d38a866c1bb0b3a120 (diff)
downloadserverdata-8c99adcb54d0a13f63a6f93d771ca15f211fb4e3.tar.gz
serverdata-8c99adcb54d0a13f63a6f93d771ca15f211fb4e3.tar.bz2
serverdata-8c99adcb54d0a13f63a6f93d771ca15f211fb4e3.tar.xz
serverdata-8c99adcb54d0a13f63a6f93d771ca15f211fb4e3.zip
Item crafting (Bugslayer and Wooden Sword) will now output named items (crafter name).
And these named items will have the crafter's skills on them =D Great, now we need recipes and learning (both of these) :>
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/main.txt19
1 files changed, 19 insertions, 0 deletions
diff --git a/npc/functions/main.txt b/npc/functions/main.txt
index 807ac6a44..075142e12 100644
--- a/npc/functions/main.txt
+++ b/npc/functions/main.txt
@@ -291,6 +291,25 @@ function script isin {
return false;
}
+// Clear output of getinventorylist()
+// delinventorylist()
+function script delinventorylist {
+ deletearray @inventorylist_id;
+ deletearray @inventorylist_amount;
+ deletearray @inventorylist_equip;
+ deletearray @inventorylist_refine;
+ deletearray @inventorylist_identify;
+ deletearray @inventorylist_attribute;
+ deletearray @inventorylist_card1;
+ deletearray @inventorylist_card2;
+ deletearray @inventorylist_card3;
+ deletearray @inventorylist_card4;
+ deletearray @inventorylist_expire;
+ deletearray @inventorylist_bound;
+ @inventorylist_count=0;
+ return;
+}
+
// Get some acc id, even if offline
// ( Name )
function script gf_accid {