Resource icon

Travel Book 1.5

Author
Talow
Downloads
226
Views
2,922
First release
Last update
Rating
5.00 star(s) 2 ratings
No permission to download Join the discussion

More resources from Talow

This is a remake of the Travel Book that Milva posted, while the idea is the same, The execution is very different.

By default, the Travel Book will have the same entries (and a fixed entry)

Item will be named Travel Book, but the Gump will read your shards name (from the shard list) and then travel book on the bottom of the left side as Milva suggested.

The Travel book will automatically adjust itself based on the entries in its private static List of Locations with you can change to fit your shard as you see fit.

The Gump will Not display a Map if there are no locations in the list (you can see this with the default list and Fel as there are no locations on the Fel Map) as locations are Filtered by Map (in the order provided in the list).

Paging automatically set up by code so you just need to manage the list.

Updating the Locations List:
in the TravelBookGump section of the code, starting at line 50 the Locations List is defined. The Locations themselves are defined with it starting on line 52 with Britain:
Code:
new RunebookEntry(new Point3D(1422,1697,0), Map.Trammel, "Britain", null),
Should be easy, but JIC...
the 3 numbers are the X Y and Z of the locations, then we have the Map for the locations and then the Name/Description. The last value is for housing and not used by this script, leave as null.
  • Like
Reactions: zerodowned

Active Shards

Donations

Total amount
$0.00
Goal
$1,000.00
Back