Last active
September 15, 2017 09:39
-
-
Save Dimillian/113a217cf21dc5626ab3b4919312a1ee to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public string LongNameAndData | |
{ | |
get { | |
string[] description = new String[4]; | |
description[0] = LongName; | |
if (itemGroup == ItemGroups.Armor) { | |
description[1] = "Armor Rating: " + GetMaterialArmorValue(); | |
} else if (itemGroup == ItemGroups.Weapons) { | |
description[1] = "Damage: " + GetBaseDamageMin() + "-" + GetBaseDamageMax(); | |
} | |
// Find other interesting data for other item groups. For now it's a blank line. | |
description[2] = "Condition: " + currentCondition + "/" + maxCondition; | |
description[3] = "Weight: " + weightInKg + " Kg"; | |
return String.Join("\r", description); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment