[cbox]//==================================================== //= _ _ _ //= | | | | | | //= | |_| | ___ _ __ ___ _ _| | ___ ___ //= | _ |/ _ '__/ __| | | | |/ _ / __| //= | | | | __/ | | (__| |_| | | __/__ //= _| |_/___|_| ___|__,_|_|___||___/ //= //= http://herc.ws/board/ //================= More Information ================= //= http://herc.ws/board/topic/367-introducing-cash-shop-support/ //==================================================== // This file handles the entire Cashshop. You can simply // add in any amount of items you like within each category. // Please keep in mind that the Cashshop does not work // with ragexere clients. // Categories can be empty or even missing, but, if // present, their names must be kept as cat_, where // is a valid tab index, as descripbed in 'enum // CASH_SHOP_TABS' in clif.c (normally 0 through 7) //====================================================
clif.h
Edited by themonenum CASH_SHOP_TABS {
CASHSHOP_TAB_NEW = 0,
CASHSHOP_TAB_POPULAR = 1,
CASHSHOP_TAB_LIMITED = 2,
CASHSHOP_TAB_RENTAL = 3,
CASHSHOP_TAB_PERPETUITY = 4,
CASHSHOP_TAB_BUFF = 5,
CASHSHOP_TAB_RECOVERY = 6,
CASHSHOP_TAB_ETC = 7,
CASHSHOP_TAB_SPECIAL = 8, //Discounted Items
CASHSHOP_TAB_MAX,
};
[cbox]//====================================================
//= _ _ _
//= | | | | | |
//= | |_| | ___ _ __ ___ _ _| | ___ ___
//= | _ |/ _ '__/ __| | | | |/ _ / __|
//= | | | | __/ | | (__| |_| | | __/__
//= _| |_/___|_| ___|__,_|_|___||___/
//=
//= http://herc.ws/board/
//================= More Information =================
//= http://herc.ws/board/topic/367-introducing-cash-shop-support/
//====================================================
// This file handles the entire Cashshop. You can simply
// add in any amount of items you like within each category.
// Please keep in mind that the Cashshop does not work
// with ragexere clients.
// Categories can be empty or even missing, but, if
// present, their names must be kept as cat_, where
// is a valid tab index, as descripbed in 'enum
// CASH_SHOP_TABS' in clif.c (normally 0 through 7)
//====================================================
cash_shop: (
{
cat_0: { //New
Apple:100
ID531:250
}
cat_1: { //Popular
ID513:100
Banana_Juice:250
}
cat_2: { //Limited
Grape:100
ID533:250
}
cat_3: { //Rental
ID515:100
Carrot_Juice:250
}
cat_4: { //Permanent
Green_Herb:100
ID510:250
}
cat_5: { //Scroll
ID501:100
ID502:250
}
cat_6: { //Usable
White_Potion:150
Blue_Potion:500
}
cat_7: { //Other
ID909:400
ID907:500
}
cat_8: { //Special
ID909:400:10 //10% discount
ID907:500:15 //15% discount
}
}
)[/cbox]
Share this post
Link to post
Share on other sites