Moved alias mapping from Constants.cs to Stages.cs.
Added odyssey as an alias.
Hardcoded all known stage values.
Verfify that the stage input is either a alias or a known stage name.
Added an option to append ! to a stage name to force sending even if the stage is not known (e.g. for custom kingdoms).
Before it only checked that it was a known alias or that it contained Stage or Zone. That made it impossible to send players toMoonWorldShopRoom and MoonWorldSphinxRoom. And a typo would have resulted in a game crash.
Changes:
odyssey
as an alias.!
to a stage name to force sending even if the stage is not known (e.g. for custom kingdoms).Before it only checked that it was a known alias or that it contained
Stage
orZone
. That made it impossible to send players toMoonWorldShopRoom
andMoonWorldSphinxRoom
. And a typo would have resulted in a game crash.