public override void GetProperties(IPropertyList list) { base.GetProperties(list); list.Add(1070881, Dipper); // Hand Dipped by ~1_name~ list.Add(1070880); // Winter 2004 }
public override void GetProperties(IPropertyList list) { base.GetProperties(list); list.Add(1074502); // It looks explosive. list.Add(1075085); // Requirement: Mondain's Legacy }
public override void AddNameProperties(IPropertyList list) { base.AddNameProperties(list); var index = CraftResources.GetIndex(Resource); if (index >= 1 && index <= 8) { return; } if (!CraftResources.IsStandard(Resource)) { var num = CraftResources.GetLocalizationNumber(Resource); if (num > 0) { list.Add(num); } else { list.Add(CraftResources.GetName(Resource)); } } }
public override void GetProperties(IPropertyList list) { base.GetProperties(list); if (_guild?.Disbanded == false) { string name; string abbr; if ((name = _guild.Name) == null || (name = name.Trim()).Length <= 0) { name = "(unnamed)"; } if ((abbr = _guild.Abbreviation) == null || (abbr = abbr.Trim()).Length <= 0) { abbr = ""; } // list.Add( 1060802, Utility.FixHtml( name ) ); // Guild name: ~1_val~ list.Add(1060802, $"{Utility.FixHtml(name)} [{Utility.FixHtml(abbr)}]"); } else if (_guildName != null && _guildAbbrev != null) { list.Add(1060802, $"{Utility.FixHtml(_guildName)} [{Utility.FixHtml(_guildAbbrev)}]"); } }
public override void AddNameProperty(IPropertyList list) { if (Amount > 1) { list.Add(1050039, $"{Amount}\t{1024216:#}"); // ~1_NUMBER~ ~2_ITEMNAME~ } else { list.Add(1024216); // pile of hides } }
public override void GetProperties(IPropertyList list) { base.GetProperties(list); list.Add(GetDescription()); if (!Dead && _timerToken.Running) { list.Add(1074507); // Gasping for air } }
public override void AddNameProperty(IPropertyList list) { if (Amount > 1) { list.Add(1050039, $"{Amount}\t{1027154:#}"); // ~1_NUMBER~ ~2_ITEMNAME~ } else { list.Add(1027154); // ingots } }
public override void AddNameProperty(IPropertyList list) { if (Amount > 1) { list.Add(1050039, $"{Amount}\t{1024199:#}"); // ~1_NUMBER~ ~2_ITEMNAME~ } else { list.Add(1024199); // cut leather } }
public override void AddNameProperty(IPropertyList list) { if (ItemID == 0x2006) // Corpse form { list.Add("a human corpse"); list.Add(1049318, Name); // the remains of ~1_NAME~ the militia fighter } else { list.Add(1049319); // the remains of a militia fighter } }
public override void AddNameProperty(IPropertyList list) { if (ItemID == 0x2006) // Corpse form { list.Add("a human corpse"); list.Add(1049144, Name); // the remains of ~1_NAME~ the apprentice } else { list.Add(1049145); // the remains of a wizard's apprentice } }
public override void GetProperties(IPropertyList list) { base.GetProperties(list); if (Weight >= 20) { if (_fisher != null) { list.Add(1070857, _fisher.Name); // Caught by ~1_fisherman~ } list.Add(1070858, $"{(int)Weight}"); // ~1_weight~ stones } }
public override void AddNameProperty(IPropertyList list) { if (_owner != null) { list.Add(1150295, _owner); // ~1_NAME~'s St. Valentine Bear } else { list.Add(1150294); // St. Valentine Bear } AddLine(list, 1150301, _line1); // [ ~1_LINE0~ ] AddLine(list, 1150302, _line2); // [ ~1_LINE1~ ] AddLine(list, 1150303, _line3); // [ ~1_LINE2~ ] }
public override void GetProperties(IPropertyList list) { base.GetProperties(list); // NOTE: OSI does not list uses remaining; intentional difference list.Add(1060584, $"{Charges}"); // uses remaining: ~1_val~ }
public override void GetProperties(IPropertyList list) { base.GetProperties(list); if (ItemName != null) { if (ItemName.Number > 0) { list.Add(1070998, ItemName.Number); // Use this to redeem<br>your ~1_PROMO~ } else { list.Add(1070998, ItemName.String); // Use this to redeem<br>your ~1_PROMO~ } } }
public override void GetProperties(IPropertyList list) { base.GetProperties(list); // This is half a prize ticket! Double-click this ticket and target any other ticket marked NEW PLAYER and get a prize! This ticket will only work for YOU, so don't give it away! list.Add(1041492); }
private static void AddLine(IPropertyList list, int cliloc, string line) { if (line != null) { list.Add(cliloc, line); } }
public override void GetProperties(IPropertyList list) { base.GetProperties(list); if (Commodity != null) { var args = Commodity.Name == null ? $"#{(Commodity as ICommodity)?.DescriptionNumber ?? Commodity.LabelNumber}\t{Commodity.Amount}" : $"{Commodity.Name}\t{Commodity.Amount}"; list.Add(1060658, args); // ~1_val~: ~2_val~ } else { list.Add(1060748); // unfilled } }
public override void GetProperties(IPropertyList list) { base.GetProperties(list); var remaining = CreationTime + LifeSpan - Core.Now; list.Add(1072517, $"{(int)remaining.TotalSeconds}"); // Lifespan: ~1_val~ seconds }
public override void GetProperties(IPropertyList list) { base.GetProperties(list); if (!CraftResources.IsStandard(_resource)) { var num = CraftResources.GetLocalizationNumber(_resource); if (num > 0) { list.Add(num); } else { list.Add(CraftResources.GetName(_resource)); } } }
public override void GetProperties(IPropertyList list) { base.GetProperties(list); if (Core.ML && _isRewardItem) { list.Add(1076217); // 1st Year Veteran Reward } }
public override void AddNameProperties(IPropertyList list) { base.AddNameProperties(list); if (IsShipwreckedItem) { list.Add(1041645); // recovered from a shipwreck } }
public override void AddNameProperties(IPropertyList list) { base.AddNameProperties(list); AddQuestItemProperty(list); if (CanGiveMLQuest) { list.Add(1072269); // Quest Giver } }
public override void AddNameProperty(IPropertyList list) { if (!string.IsNullOrEmpty(_title)) { list.Add(_title); } else { base.AddNameProperty(list); } }
public override void AddNameProperty(IPropertyList list) { if (Name != null) { list.Add(1075257, Name); // Contents of ~1_PETNAME~'s pack. } else { base.AddNameProperty(list); } }
public override void AddNameProperty(IPropertyList list) { if (m_Boat?.ShipName != null) { list.Add(1042884, m_Boat.ShipName); // the tiller man of the ~1_SHIP_NAME~ } else { base.AddNameProperty(list); } }
public override void AddNameProperty(IPropertyList list) { if (_owner != null) { list.Add(1042887, _owner.Name); // a strong box owned by ~1_OWNER_NAME~ } else { base.AddNameProperty(list); } }
public override void AddNameProperty(IPropertyList list) { if (CraftResources.IsStandard(Resource)) { list.Add(1061119, " "); // ~1_LEATHER_TYPE~ runic sewing kit return; } var num = CraftResources.GetLocalizationNumber(Resource); if (num > 0) { // ~1_LEATHER_TYPE~ runic sewing kit list.Add(1061119, $"#{num}"); } else { // ~1_LEATHER_TYPE~ runic sewing kit list.Add(1061119, CraftResources.GetName(Resource)); } }
public override void AddNameProperties(IPropertyList list) { base.AddNameProperties(list); if (!Empty) { var fish = Fish; if (fish != null) { list.Add(1074494, $"#{fish.LabelNumber}"); // Contains: ~1_CREATURE~ } } }
public override void GetProperties(IPropertyList list) { base.GetProperties(list); if (Commodity is ICommodity ic) { list.Add(1060658, $"{ic.DescriptionNumber:#}\t{Commodity.Amount}"); // ~1_val~: ~2_val~ } else if (Commodity != null) { if (Commodity.Name == null) { list.Add(1060658, $"{Commodity.LabelNumber:#}\t{Commodity.Amount}"); // ~1_val~: ~2_val~ } else { list.Add(1060658, $"{Commodity.Name}\t{Commodity.Amount}"); // ~1_val~: ~2_val~ } } else { list.Add(1060748); // unfilled } }
public override void GetProperties(IPropertyList list) { base.GetProperties(list); if (_isRewardItem) { // X Year Veteran Reward list.Add( RewardSystem.GetRewardYearLabel( this, new object[] { Hue, _number } ) ); } }