I'm going to give LGH credit for this, even though the concept was already pencilled in to the items table (check out class 4)The bottom line is that I would not have implemented this without her prodding, so thank her (but don't encourage additional prodding!)
Oh, and the word "ticket" was NOT my word, she gets full credit for that.
And in YOUR world, you don't have to use the word ticket at all, that's just gonna be the hip insider term for the concept.
==========
Where was I... oh yeah!
----------
WHAT IS A TICKET?
A ticket is an item you use on yourself which then takes you somewhere. Like "Ticket to Stonetree"
Being an item, you can sell them in stores, give them away in scenes, make them quest items, etc. Not sure if you can USE them if they are a non-discardable quest item.... so.. dunno. Probably some bugs to be addressed here.
----------------
HOW DO I ADD ONE TO MY WORLD?
In the items table, make a regular item, but in the CLASS column, use:
4.mode.num.link.dropin
Yep, another use of my dotted number trick (I can hear kazelrath(sp)'s teeth grinding already!
MOde is 0 (travel) or 1 (scene)
Num is map number (travel) or scene # (scene)
link is link number (travel only)
dropin is dropin flag (travel only)
so:
4.1.27
means "play scene 27 for me right this second without actually moving me anywhere"
You could use this for a "fairy in a bottle" recharge, or a dream sequence ("take the blue pill") or as some sort of "read page of diary" quest thing.
When you exit this sort of scene, you will be back on the map you were on before you used the item.
The more traditional use of tickets, of course, is to actually travel (Wing of the Wyvern was my original role model)
So:
4.0.3.12.1
means: travel immediately to map 3, link 12, and drop INTO the link (which might go to a scene or another map somewhere)
4.0.0.0.1
Means drop into link 0 of map 0, which is fancy talk for going into the gateway scene and seeing the soul brother for a recharge. This is what the evergreen "Ticket Home" does.
4.0.0.0.0 <-- no dropin flag
Means go back to the gateway, but just stand on top of it, don't drop in.
You can leave out trailing zeroes, so:
4
Means the same thing as 4.0.0.0.0
---------
A clever editor will notice that the Halibut quest item in Evergreen actually was erroneously marked class 4 and hence would have taken you to the gateway, if consumed.
=============
Some ideas:
* ticket to PK Arena
* ticket to Pet Arena Chicken Shop
* tickets to otherwise inaccesible places
* dream sequence
* page from diary
Actually, one perverse use (no warrantees implied) is a way to move a scene along via item use. For example, I am in scene, character says "wait here" and leaves to back room. I use "stethescope" and am treated to an identical scene only now I can hear what is being said in the back room (maybe an invisible actor in the scene provides the dialog)
Of course, I could erroneously use the same stethescope in a camp a million miles away and get the same scene, so that's probably not a great example.
===============
SIDE EFFECTS
* If you are the leader of a party, everyone should travel with you.
* If you are aparty follower, it should not work (though currently it still consumes the item.. probably buggy here)
* I really should block these while in PK Attack scenes. DarkSchneider suggests I block ALL item use while in PK Attack scenes. I still would like to make that more general (map-based rules as to what you can do in an attack scene)