Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 11/30/17 in all areas

  1. So I'll have to debug it. I'll look at it tonight (4pm here, I'll get home around 6)
    1 point
  2. Good suggestion @Santafe . I'd like to have these kind of atcommands for all status changes in future, for debugging purposes. But that'd need some code refactorizations i think :/
    1 point
  3. Allright, I'll try to make a general skeleton during the day then ^^
    1 point
  4. Thanks for your help! We found it after all. For people looking to customize this as well, here's the file you need to edit. conf/battle/items.conf Find this part here: // Do produced items have the maker's name on them? (Note 3) // 0x01: Produced Weapons // 0x02: Produced Potions // 0x04: Produced Arrows // 0x08: Produced Holy Water/Ancilla // 0x10: Produced Deadly Potions // 0x80: Other produced items. produce_item_name_input: 0x03 And replace produce_item_name_input: 0x03 to: produce_item_name_input: 0x07 (For produced Weapons, Potions and Arrows)
    1 point
  5. //35000,Grape_Voucher,Grape Voucher,3,0,,10,,,,,,,,,,,,,{},{},{} //Add in import item_db.txt Adding Custom Item //adds global monster drop of grape voucher - script Grape_Voucher -1,{ OnNPCKillEvent: if( rand(100) < 10 ) //drops at 10% getitem .item,1; end; OnInit: set .item,35000; //item id here end; } //Voucher Exchange prontera,255,55,4 script Voucher_Exchange 117,{ if(countitem(.grapes) == 0){ mes "[Grape Merchant]"; mes "Good Day, I'm trading my grape juice for grape vouchers!"; next; mes "[Grape Merchant]"; mes "If you found vouchers feel free to trade it to me"; close; } else { mes "[Grape Merchant]"; mes "Seems like you have vouchers do you want to trade?!"; next; if(select("Yes:Quit")==2) close; mes "[Grape Merchant]"; mes "How many do you want to exchange?"; input .@amount; if(countitem(.grapes) >= .@amount){ mes "[Grape Merchant]"; mes "Here you go!"; delitem .grapes,.@amount; getitem .juice,.@amount; end; } else { mes "[Grape Merchant]"; mes "You dont have this kind of amount"; close; } } OnInit: set .grapes,35000; //voucher id here set .juice,533; //grape juice id end; }
    1 point
×
×
  • Create New...