The open source repository for the action RPG game in development by Sig Productions titled 'Adventures in Lestoria'! https://forums.lestoria.net
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
AdventuresInLestoria/Crawler/Item.cpp

38 lines
521 B

#pragma once
#include "Item.h"
#include "safemap.h"
#include "DEFINES.h"
#include "Crawler.h"
INCLUDE_game
INCLUDE_DATA
safemap<std::string,ItemInfo>ITEM_DATA;
typedef std::string IT;
void ItemInfo::InitializeItems(){
for(auto&key:DATA["ItemDatabase"].GetKeys()){
std::cout<<key.first<<std::endl;
}
ITEM_DATA.SetInitialized();
}
void Inventory::AddItem(IT it,int amt){
}
void Inventory::GetItemCount(IT it){
}
void Inventory::UseItem(IT it,int amt)
{
}
void Inventory::RemoveItem(IT it,int amt)
{
}