diff options
| author | william341 <[email protected]> | 2017-07-28 14:26:14 -0700 |
|---|---|---|
| committer | william341 <[email protected]> | 2017-07-28 14:26:27 -0700 |
| commit | a9779111b59f259d834b431a53b11de868e7b6a3 (patch) | |
| tree | bfa0ed1fd2a7c288ce33665024cd9f8e4943fdb6 /ShiftOS.Objects/Hacking | |
| parent | 5c6d90ce3de81174bd254b0291ab6a598d3d2898 (diff) | |
| download | shiftos_thereturn-a9779111b59f259d834b431a53b11de868e7b6a3.tar.gz shiftos_thereturn-a9779111b59f259d834b431a53b11de868e7b6a3.tar.bz2 shiftos_thereturn-a9779111b59f259d834b431a53b11de868e7b6a3.zip | |
partially implemented loot system
Diffstat (limited to 'ShiftOS.Objects/Hacking')
| -rw-r--r-- | ShiftOS.Objects/Hacking/Loot.cs | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/ShiftOS.Objects/Hacking/Loot.cs b/ShiftOS.Objects/Hacking/Loot.cs new file mode 100644 index 0000000..47c91e4 --- /dev/null +++ b/ShiftOS.Objects/Hacking/Loot.cs @@ -0,0 +1,30 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace ShiftOS.Objects +{ + public class Loot + { + public string FriendlyName { get; set; } + public string LootName { get; set; } + public int Rarity { get; set; } + public string PointTo { get; set; } + + public string ID + { + get + { + return LootName.ToLower().Replace(" ", "_"); + } + } + + public override string ToString() + { + return $"{FriendlyName} ({LootName})"; + } + } + +} |
