I managed to just self translate it. Also added it being used by [dur command >.>

public string HitPoint = "Unbreakable"; - Line 166
AddLabel(150, 11, 37, "Equipment Durability"); - Line 85

Theres a picture of what I translated it into, and the lines that I changed to show the text.
 

Attachments

  • CheckDur.png
    CheckDur.png
    2.6 MB · Views: 47
Yeah, there a few stay Chinese characters in the script. I used google translate, and looked at the gump itself for context...

I changed what seemed to translate to "air" to just a dash - DragnMaw changed it to Unbreakable (I was looking for the infinity symbol). I chose 'Equipment Durability' as the gump title as well. Also, I had to change the display name on the tool itself.

Overall a very cool script.
 
There were only a few Chinese characters in the script. Looking at the gump for context, we changed them to English. Here is the script with the changes I made. Just the gump label, and a couple gump entries.
 

Attachments

  • CheckDuration.zip
    2.3 KB · Views: 17
Add at top of Gumps script.
C#:
using Server.Commands;

Then inside can add
C#:
 public static void Initialize()
        {
            CommandSystem.Register("CheckDura", AccessLevel.Player, new CommandEventHandler(CheckDura_OnCommand));
        }

        [Usage("CheckDura")]
        [Description("Checks durability of all items worn.")]
        private static void CheckDura_OnCommand(CommandEventArgs e)
        {
            if(e.Mobile != null && !e.Mobile.Deleted)
            {
                if (e.Mobile.HasGump(typeof(CheckDurationGump)))
                    e.Mobile.CloseGump(typeof(CheckDurationGump));
                e.Mobile.SendGump(new CheckDurationGump(e.Mobile));
            }
        }


should let command of [checkdura (prob don't need the null and deleted check on the mobile)
 

Active Shards

Donations

Total amount
$0.00
Goal
$1,000.00
Back