Created
December 25, 2020 00:58
-
-
Save egocarib/5eeef0552d415cf81ee7e543490d74d7 to your computer and use it in GitHub Desktop.
A wish that will output the zone tiers of all world map parasangs into Player.log
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[XRL.Wish.HasWishCommand] | |
class WorldZoneTierWish | |
{ | |
[XRL.Wish.WishCommand(Command = "dumpzonetiers")] | |
public static void DumpZoneTiers() | |
{ | |
string tierMap = "\n"; | |
for (int j = 0; j < 25; j++) | |
{ | |
for (int i = 0; i < 80; i++) | |
{ | |
int zoneTier = XRL.World.ZoneManager.instance.GetZoneTier("JoppaWorld", i, j, 10); | |
tierMap += $"{zoneTier}"; | |
} | |
tierMap += "\n"; | |
} | |
XRL.Core.XRLCore.Log($"Zone Tier Map:\n{tierMap}\n"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment