server/game/src/mining.h
2022-03-05 12:44:06 +02:00

20 lines
490 B
C++

#ifndef __MINING_H
#define __MINING_H
namespace mining
{
LPEVENT CreateMiningEvent(LPCHARACTER ch, LPCHARACTER load, int count);
DWORD GetRawOreFromLoad(DWORD dwLoadVnum);
bool OreRefine(LPCHARACTER ch, LPCHARACTER npc, LPITEM item, int cost, int pct, LPITEM metinstone_item);
int GetFractionCount();
// REFINE_PICK
int RealRefinePick(LPCHARACTER ch, LPITEM item);
void CHEAT_MAX_PICK(LPCHARACTER ch, LPITEM item);
// END_OF_REFINE_PICK
bool IsVeinOfOre (DWORD vnum);
}
#endif