Add zone name mapping for malleus_plain

Handle the special case of the malleus_plain zone
which has no level and thus was mentioned by Starkad
using its ID rather than using a user friendly name.

Resolves: SF bug 5871
This commit is contained in:
Cosmin Humeniuc 2020-08-09 19:18:35 +03:00
parent 1a6879f8bf
commit 8cedabb3cd
No known key found for this signature in database
GPG key ID: 097BA5071395C7EE
2 changed files with 3 additions and 1 deletions

View file

@ -1750,6 +1750,7 @@ public class StendhalRPZone extends MarauroaRPZone {
zoneNameMappings.put("-1_athor_ship_w2", "on Athor ferry");
zoneNameMappings.put("-2_athor_ship_w2", "on Athor ferry");
zoneNameMappings.put("hell", "in Hell");
zoneNameMappings.put("malleus_plain", "in Malleus Plain");
}
/**

View file

@ -32,7 +32,8 @@ public class StendhalRPZoneTest {
{"-3_semos_dungeon", "deep below ground level at Semos dungeon"},
{"-1_ados_caves", "below ground level at Ados caves"},
{"6_kikareukin_islands", "high above the ground level at Kikareukin islands"},
{"hell", "in Hell"}
{"hell", "in Hell"},
{"malleus_plain", "in Malleus Plain"}
});
}