21 lines
338 B
C++
21 lines
338 B
C++
#pragma once
|
|
|
|
#include "asset_base.hpp"
|
|
|
|
struct Drop
|
|
{
|
|
int itemId;
|
|
int minAmount;
|
|
int maxAmount;
|
|
int dropChance;
|
|
};
|
|
|
|
struct Interactable_Resource : public AssetBase
|
|
{
|
|
int maxHealth;
|
|
int respawnTime;
|
|
std::vector<Drop> drops;
|
|
std::vector<int> requiredTools;
|
|
int xp;
|
|
int typeId;
|
|
}; |