-
Notifications
You must be signed in to change notification settings - Fork 0
/
ForagedItem.cs
45 lines (28 loc) · 1.01 KB
/
ForagedItem.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Ravine
{
public enum Forage { Deer, Trout, Squirrel, Minnows, WildOnion, Pine_Nuts, Berries, Taser, Dandelion, Mushroom, Feathers, Grub, Spear, Knife, Whiskey, WaspNest, Rabbit, Chantrelle, Hornets, Moose }
public class ForagedItem
{
public Forage TypeofForage { get; set; }
public int Value { get; set; }
public string Description { get; set; }
public bool GivesDamage { get; set; }
public bool IsPsychodelic { get; set; }
public ForagedItem()
{
}
public ForagedItem(Forage forageItem, int value, string description, bool givesDamage, bool isPsychodelic)
{
TypeofForage = forageItem;
Value = value;
Description = description;
GivesDamage = givesDamage;
IsPsychodelic = isPsychodelic; //if psychodelic, make a random choice?
}
}
}