Hey guys
Im here to farm thanks =P
Here is a huge weapons shop (5230 items, LUA script + SQL rows for MarketResource)
LUA:
-- npc_MerchantWeapon.lua
function NPC_Merchant_Weapon_Secroute_contact()
dlg_title( "Weapon Merchant" )
dlg_text( "GUNZ!" )
dlg_menu( "Rank 2", "wp_market(2)")
dlg_menu( "Rank 3", "wp_market(3)")
dlg_menu( "Rank 4", "wp_market(4)")
dlg_menu( "Rank 5", "wp_market(5)")
dlg_menu( "Rank 6", "wp_market(6)")
dlg_menu( "Rank 7 (150)", "wp_market(7)")
dlg_menu( "Rank 7 (155)", "wp_market(9)")
dlg_menu( "Rank 7 (160)", "wp_market(10)")
dlg_menu( "Rank 7 (MC)", "wp_market(8)")
dlg_menu( "@90010002", '' )
dlg_show()
end
function wp_market(id)
dlg_title( "Weapon Merchant" )
dlg_text( "GUNZ!" )
dlg_menu("Non-durable","open_market('mkgame_wp_0_" .. id .. "')")
dlg_menu("Durability 1","open_market('mkgame_wp_1_" .. id .. "')")
dlg_menu("Durability 2","open_market('mkgame_wp_2_" .. id .. "')")
dlg_menu("Durability 3","open_market('mkgame_wp_3_" .. id .. "')")
dlg_menu( "@90010002", '' )
dlg_show()
end
Rows for SQL (txt, Ctrl+C, Ctrl+V) below: