mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2026-01-29 01:30:04 +00:00
Implement Croc Pot item combining
This commit is contained in:
@@ -5,11 +5,15 @@
|
||||
|
||||
struct Item {
|
||||
bool tradeable, sellable;
|
||||
int buyPrice, sellPrice, stackSize, level; // TODO: implement more as needed
|
||||
int buyPrice, sellPrice, stackSize, level, rarity; // TODO: implement more as needed
|
||||
};
|
||||
struct VendorListing {
|
||||
int sort, type, iID;
|
||||
};
|
||||
struct CrocPotEntry {
|
||||
int multStats, multLooks;
|
||||
float base, rd0, rd1, rd2, rd3;
|
||||
};
|
||||
|
||||
namespace ItemManager {
|
||||
enum class SlotType {
|
||||
@@ -20,6 +24,7 @@ namespace ItemManager {
|
||||
// hopefully this is fine since it's never modified after load
|
||||
extern std::map<std::pair<int32_t, int32_t>, Item> ItemData; // <id, type> -> data
|
||||
extern std::map<int32_t, std::vector<VendorListing>> VendorTables;
|
||||
extern std::map<int32_t, CrocPotEntry> CrocPotTable; // level gap -> entry
|
||||
|
||||
void init();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user