server
server copied to clipboard
[Lua] Add Campaign Arbiter teleport/retrace behavior
I affirm:
- [x] I understand that if I do not agree to the following points by completing the checkboxes my PR will be ignored.
- [x] I understand I should leave resolving conversations to the LandSandBoat team so that reviewers won't miss what was said.
- [x] I have read and understood the Contributing Guide and the Code of Conduct.
- [x] I have tested my code and the things my code has changed since the last commit in the PR and will test after any later commits.
What does this pull request do?
Created new teleports
lua file to support two new sets of functions for teleporting from nations to the campaign front and retracing from the campaign front to the aligned nation.
The retrace NPCs now don't show teleport option if you are in the zone you'd teleport to. I've include the additional Campaign Arbiters' lua files in each city zone, but their status is still set to 2 in the db.
The teleport NPCs give a menu that lists all zones you've visited and cost based on wiki sources.
Showing the teleport to battlefront in action:
The menu didn't show CN_S until i zoned to CN_S and went back to npc
Steps to test these changes
Interact with the CA NPCs in the 3 nations in the past and get the default "Civilian what are you doing" message. Adjust your allegiance and get the menu based on zones visited (with a catchall if somehow you end up in the past nation, with an allegiance, and never having visited the zones)
Interact with the Retrace NPCs in the 3 nations in the past and see that they give you the option to Retrace only if you're aligned with a nation and you are not currently in that nation.
This needs a rebase to resolve conflicts.
This needs a rebase to resolve conflicts.
Thanks for lookin out. All clear now