public override string Print(bool link = true, DwarfObject pov = null) { string eventString = GetYearTime(); eventString += Maker != null?Maker.ToLink(link, pov, this) : "UNKNOWN HISTORICAL FIGURE"; eventString += " prepared a masterful "; switch (ItemSubType) { case "0": eventString += "biscuits"; break; case "1": eventString += "stew"; break; case "2": eventString += "roasts"; break; default: eventString += "meal"; break; } eventString += " for "; eventString += MakerEntity != null?MakerEntity.ToLink(link, pov, this) : "UNKNOWN ENTITY"; eventString += " in "; eventString += Site != null?Site.ToLink(link, pov, this) : "UNKNOWN SITE"; eventString += PrintParentCollection(link, pov); eventString += "."; return(eventString); }
public override string Print(bool link = true, DwarfObject pov = null) { string eventString = GetYearTime(); eventString += Maker != null?Maker.ToLink(link, pov, this) : "UNKNOWN HISTORICAL FIGURE"; eventString += " masterfully dyed a "; eventString += !string.IsNullOrWhiteSpace(Material) ? Material + " " : ""; if (!string.IsNullOrWhiteSpace(ItemSubType) && ItemSubType != "-1") { eventString += ItemSubType; } else { eventString += !string.IsNullOrWhiteSpace(ItemType) ? ItemType : "UNKNOWN ITEM"; } eventString += " with "; eventString += !string.IsNullOrWhiteSpace(DyeMaterial) ? DyeMaterial : "UNKNOWN DYE"; eventString += " for "; eventString += MakerEntity != null?MakerEntity.ToLink(link, pov, this) : "UNKNOWN ENTITY"; eventString += " in "; eventString += Site != null?Site.ToLink(link, pov, this) : "UNKNOWN SITE"; eventString += PrintParentCollection(link, pov); eventString += "."; return(eventString); }
public override string Print(bool link = true, DwarfObject pov = null) { string eventString = GetYearTime(); eventString += Maker != null?Maker.ToLink(link, pov, this) : "UNKNOWN HISTORICAL FIGURE"; eventString += " "; eventString += Process; eventString += " a masterful "; if (!string.IsNullOrWhiteSpace(BuildingSubType) && BuildingSubType != "-1") { eventString += BuildingSubType; } else { eventString += !string.IsNullOrWhiteSpace(BuildingType) ? BuildingType : "UNKNOWN BUILDING"; } eventString += " for "; eventString += MakerEntity != null?MakerEntity.ToLink(link, pov, this) : "UNKNOWN ENTITY"; eventString += " in "; eventString += Site != null?Site.ToLink(link, pov, this) : "UNKNOWN SITE"; eventString += PrintParentCollection(link, pov); eventString += "."; return(eventString); }
public override string Print(bool link = true, DwarfObject pov = null) { string eventString = GetYearTime(); eventString += Maker != null?Maker.ToLink(link, pov) : "UNKNOWN HISTORICAL FIGURE"; eventString += " created a masterful "; eventString += "engraving"; eventString += " for "; eventString += MakerEntity != null?MakerEntity.ToLink(link, pov) : "UNKNOWN ENTITY"; eventString += " in "; eventString += Site != null?Site.ToLink(link, pov) : "UNKNOWN SITE"; eventString += PrintParentCollection(link, pov); eventString += "."; return(eventString); }