aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.Objects/Hacking
diff options
context:
space:
mode:
authorwilliam341 <[email protected]>2017-07-28 14:26:14 -0700
committerwilliam341 <[email protected]>2017-07-28 14:26:27 -0700
commita9779111b59f259d834b431a53b11de868e7b6a3 (patch)
treebfa0ed1fd2a7c288ce33665024cd9f8e4943fdb6 /ShiftOS.Objects/Hacking
parent5c6d90ce3de81174bd254b0291ab6a598d3d2898 (diff)
downloadshiftos_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.cs30
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})";
+ }
+ }
+
+}