fix: Fixes missing methods. Adds more admin gump world building (#1675)

### Summary
- Fixe commands missing in helpinfo.
- Adds more admin gump world building options. 

### Screenshots

<img src="https://github.com/modernuo/ModernUO/assets/3953314/3001aa65-4f46-4ba4-89ed-745fefdd27c3" width="50%">
This commit is contained in:
Kamron Batman 2024-02-10 20:31:25 -08:00 committed by GitHub
parent cf989151f1
commit 4479555156
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
22 changed files with 212 additions and 201 deletions

View file

@ -264,12 +264,23 @@ namespace Server.Gumps
AddButtonLabeled(20, 175, GetButtonID(3, 101), "Teleporters");
AddButtonLabeled(220, 175, GetButtonID(3, 102), "Moongates");
AddButtonLabeled(20, 200, GetButtonID(3, 103), "Generate Spawns");
AddButtonLabeled(220, 200, GetButtonID(3, 106), "Decoration");
AddButtonLabeled(20, 200, GetButtonID(3, 103), "Spawners");
AddButtonLabeled(220, 200, GetButtonID(3, 106), "Decorations");
AddButtonLabeled(20, 225, GetButtonID(3, 104), "Doors");
AddButtonLabeled(220, 225, GetButtonID(3, 105), "Signs");
AddButtonLabeled(20, 250, GetButtonID(3, 107), "Champions");
AddButtonLabeled(220, 250, GetButtonID(3, 108), "Magincia (AOS+)");
AddButtonLabeled(20, 275, GetButtonID(3, 109), "Stealable Artifacts");
AddButtonLabeled(220, 275, GetButtonID(3, 110), "SH Teleporters");
AddButtonLabeled(20, 300, GetButtonID(3, 111), "Secret Locations");
AddButtonLabeled(220, 300, GetButtonID(3, 112), "Doom");
AddButtonLabeled(20, 325, GetButtonID(3, 113), "Khaldun Puzzles");
goto case AdminGumpPage.Administer;
}
case AdminGumpPage.Administer_Server:
@ -400,9 +411,6 @@ namespace Server.Gumps
AddButtonLabeled(20, 250, GetButtonID(3, 408), "Squelch");
AddButtonLabeled(220, 250, GetButtonID(3, 409), "Unsquelch");
AddButtonLabeled(20, 270, GetButtonID(3, 410), "Freeze");
AddButtonLabeled(220, 270, GetButtonID(3, 411), "Unfreeze");
AddButtonLabeled(20, 290, GetButtonID(3, 412), "Hide");
AddButtonLabeled(220, 290, GetButtonID(3, 413), "Unhide");
@ -2135,20 +2143,50 @@ namespace Server.Gumps
case 106:
{
InvokeCommand("Decorate");
notice = "Decoration has been generated.";
notice = "Decorations have been generated.";
break;
}
case 107:
{
InvokeCommand("GenChamps");
notice = "Champions have been generated.";
break;
}
case 108:
{
InvokeCommand("DecorateMag");
notice = "Magincia Ruins decorations have been generated.";
break;
}
case 109:
{
InvokeCommand("GenStealArties");
notice = "Stealable Artifacts have been generated.";
break;
}
case 110:
{
InvokeCommand("Freeze");
notice = "Target bounding points.";
InvokeCommand("SHTelGen");
notice = "Solen Hive teleporters have been generated.";
break;
}
case 120:
case 111:
{
InvokeCommand("Unfreeze");
notice = "Target bounding points.";
InvokeCommand("SecretLocGen");
notice = "Secret Locations have been generated.";
break;
}
case 112:
{
InvokeCommand("GenLeverPuzzle");
InvokeCommand("GenGauntlet");
notice = "Doom has been generated.";
break;
}
case 113:
{
InvokeCommand("GenKhaldun");
notice = "Khaldun puzzles have been generated.";
break;
}
@ -2489,26 +2527,6 @@ namespace Server.Gumps
InvokeCommand("Add");
break;
}
case 111:
{
InvokeCommand("FreezeWorld");
break;
}
case 112:
{
InvokeCommand("FreezeMap");
break;
}
case 121:
{
InvokeCommand("UnfreezeWorld");
break;
}
case 122:
{
InvokeCommand("UnfreezeMap");
break;
}
}
break;