package legends.model;

import legends.xml.annotation.Xml;

public class VagueRelationship {
	@Xml("hfid")
	private int hfId = -1;

	@Xml("artistic_buddy")
	private boolean artisticBuddy = false;
	@Xml("atheletic_rival")
	private boolean athleticRival = false;
	@Xml("athlete_buddy")
	private boolean athleteBuddy = false;
	@Xml("business_rival")
	private boolean businessRival = false;
	@Xml("childhood_friend")
	private boolean childhoodFriend = false;
	@Xml("grudge")
	private boolean grudge = false;
	@Xml("jealous_obsession")
	private boolean jealousObsession = false;
	@Xml("jealous_relationship_grudge")
	private boolean jealousRelationshipGrudge = false;
	@Xml("persecution_grudge")
	private boolean persecutionGrudge = false;
	@Xml("religious_persecution_grudge")
	private boolean religiousPersecutionGrudge = false;
	@Xml("scholar_buddy")
	private boolean scholarBuddy = false;
	@Xml("war_buddy")
	private boolean warBuddy = false;

	public int getHfId() {
		return hfId;
	}

	public void setHfId(int hfId) {
		this.hfId = hfId;
	}

	public String getType() {
		if (artisticBuddy)
			return "art friend";
		if (athleticRival)
			return "athletic rival";
		if (athleteBuddy)
			return "athletic friend";
		if (businessRival)
			return "business rival";
		if (childhoodFriend)
			return "childhood friend";
		if (grudge)
			return "grudge";
		if (jealousObsession)
			return "infatuated";
		if (jealousRelationshipGrudge)
			return "jealous";
		if (persecutionGrudge)
			return "grudge after persecution";
		if (religiousPersecutionGrudge)
			return "grudge after religious persecution";
		if (scholarBuddy)
			return "scholar friend";
		if (warBuddy)
			return "war friend";

		return "unknown";
	}
}

@@ -935,16 +935,91 @@
  false;%0A
+%09@Xml(%22supernatural_grudge%22)%0A%09private boolean supernaturalGrudge = false;%0A%09
 %0A%09public
@@ -1751,16 +1751,89 @@
 friend%22;
+%0A%09%09if (supernaturalGrudge)%0A%09%09%09return %22subject of supernatural vengeance%22;
 %0A%0A%09%09retu

Add supernatural grudge to vague relationships.