Hmm ok, I swear I looked in there I will take a look again. Thank you for the replyIt is in the script RewardSystem.cs
ahh now I get it, so if I go into the bankbell code it should show the string number that I need to use. Makes perfect sense Thank you kindly and Happy Easter!the 1076155 is the string for what the item is named. It is how you get the name to show up on the GUMP. It will be hard to edit with a custom item name. At least it is over my head a little.
Well what I'm guessing is that the last 4 numbers is the base number for the item and then 107 at the beginning of the string would be the category it is in?Well I do not think there is a string number for 'Bank Bell"
public RewardEntry(RewardCategory category, int name, Type itemType, params object[] args)
{
this.m_Category = category;
this.m_ItemType = itemType;
this.m_RequiredExpansion = Expansion.None;
this.m_Name = name;
this.m_Args = args;
category.Entries.Add(this);
}
public RewardEntry(RewardCategory category, string name, Type itemType, params object[] args)
{
this.m_Category = category;
this.m_ItemType = itemType;
this.m_RequiredExpansion = Expansion.None;
this.m_NameString = name;
this.m_Args = args;
category.Entries.Add(this);
}
public RewardEntry(RewardCategory category, int name, Type itemType, Expansion requiredExpansion, params object[] args)
{
this.m_Category = category;
this.m_ItemType = itemType;
this.m_RequiredExpansion = requiredExpansion;
this.m_Name = name;
this.m_Args = args;
category.Entries.Add(this);
}
public RewardEntry(RewardCategory category, string name, Type itemType, Expansion requiredExpansion, params object[] args)
{
this.m_Category = category;
this.m_ItemType = itemType;
this.m_RequiredExpansion = requiredExpansion;
this.m_NameString = name;
this.m_Args = args;
category.Entries.Add(this);
}
The shard owner decided to get rid of the bank bell, but I will keep this in mind if I where to add something else new to the reward system. ThanksCorrect me if I am wrong, but in the RewardEntry.cs file, the 2nd constructor for RewardEntry(,,,) should have both the int and string version. Here is the constructors...
Code:public RewardEntry(RewardCategory category, int name, Type itemType, params object[] args) { this.m_Category = category; this.m_ItemType = itemType; this.m_RequiredExpansion = Expansion.None; this.m_Name = name; this.m_Args = args; category.Entries.Add(this); } public RewardEntry(RewardCategory category, string name, Type itemType, params object[] args) { this.m_Category = category; this.m_ItemType = itemType; this.m_RequiredExpansion = Expansion.None; this.m_NameString = name; this.m_Args = args; category.Entries.Add(this); } public RewardEntry(RewardCategory category, int name, Type itemType, Expansion requiredExpansion, params object[] args) { this.m_Category = category; this.m_ItemType = itemType; this.m_RequiredExpansion = requiredExpansion; this.m_Name = name; this.m_Args = args; category.Entries.Add(this); } public RewardEntry(RewardCategory category, string name, Type itemType, Expansion requiredExpansion, params object[] args) { this.m_Category = category; this.m_ItemType = itemType; this.m_RequiredExpansion = requiredExpansion; this.m_NameString = name; this.m_Args = args; category.Entries.Add(this); }
As you can see, where the int name and string name. You should be able to put "Bank Bell" try it out and it should work.
We use essential cookies to make this site work, and optional cookies to enhance your experience.