

Ehwaz
-
Posts
50 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Files posted by Ehwaz
-
MakeItemReq, check requirements to make a item
This functions help you easy to create a Quest NPC use to create a item by bring for NPC items and Zeny
If bring enough Zeny and Items, a menu confirm to make item will display
Else will display "Close" Button
Edit Menu text inside function.
Usage:
.@isSuccess = MakeItemReq(PRODUCT_ID,ZENY,ITEM1,ITEM1_QUANTITY,ITEM2,ITEM2_QUANTITY,.....) .@isSuccess = 0, you dont want to create this item .@isSuccess = 1, NPC created item for you // Sample Struct NPC //
prontera,157,120,4 script MakeItemReq 555,{ mes "[NPC_NAME]"; mes "Bla"; mes "Bla Bla"; mes "Bla Bla Bla"; mes "Bla Bla Bla Bla"; next; mes "[NPC_NAME]"; // MakeItemReq(PRODUCT_ID,ZENY,ITEM1,ITEM1_QUANTITY,ITEM2,ITEM2_QUANTITY,.....) .@isSuccess = MakeItemReq(5353,1000000,501,1,502,2); // Doesn't add next, because next existed in function if(.@isSuccess){ mes "[NPC_NAME]"; mes "You success to create a item"; } else { mes "[NPC_NAME]"; mes "You dont need it"; } close; }184 downloads
Submitted
-
Utility: Dynamic Shop Template
Script functions help you easy to create and edit dynamic shop.
Only support Zeny and Item as currency and OnBuy
Install:
1. Load file traderFunctions.txt
2. Copy template from file sample_templ_shop.txt
3. Edit shop name, list items and business logic you want
4. Load shop you edited.
738 downloads
Updated