From a9779111b59f259d834b431a53b11de868e7b6a3 Mon Sep 17 00:00:00 2001 From: william341 Date: Fri, 28 Jul 2017 14:26:14 -0700 Subject: partially implemented loot system --- ShiftOS.Objects/Hacking/Loot.cs | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 ShiftOS.Objects/Hacking/Loot.cs (limited to 'ShiftOS.Objects') 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})"; + } + } + +} -- cgit v1.2.3