ScriptUO

Official ScriptUO EasyUO Scripts => Script Snippets => Topic started by: KilroyIsDead on April 30, 2009, 06:57:46 PM

Title: PG_Travel Work In Progress
Post by: KilroyIsDead on April 30, 2009, 06:57:46 PM
*** 7/2/2009 version 1.07
new sub that returns the version

Updated.  The gate travel now works.  It evaluates the journal to react, Thanks TM.

It's setup now to do a cheesy demo.


While I am still putting in error trapping and more validation this kinda works.  I want to laugh at the caller when they say try to gate but have magery of 0.  
I do check for rune and runebook
  I check in pack first but then will check ground for 2tiles (I lock down runes on my porch)

I'm using the NameSpace snippet from earlier

This is supposed to be an all-in-one traveller
Move by Walk, Recall, Scroll, Gate or Sacred Journey
Use a Rune by itself, Rune in a book, the default rune for a book (one and three are for the faster needs)
If gating you can chose to use or not use it
And even more geekly you can dispel it once you use it.

My snippet includes a small test
There are two variables at the top. One for a rune one for a runebook.

Try it out.  Kick the tire take it around the block.  Let me know how dumb or semi-clever it is.

Thanks
Title: Re: PG_Travel Work In Progress
Post by: TrailMyx on May 01, 2009, 08:55:34 PM
Was glancing quickly at your code and I was wondering if you meant this at line 32:

Code: [Select]
ChooseSkill Shiv

I'm assuming you meant "Chiv", no?  :)
Title: Re: PG_Travel Work In Progress
Post by: Khameleon on May 02, 2009, 01:19:24 AM
that's the new skill to make small home made knife like weapons....
Title: Re: PG_Travel Work In Progress
Post by: Endless Night on May 02, 2009, 05:25:29 AM
IS that part of the new UO going green Recycling program.. dont buy a new Weapon Recycle make yourself a Shiv.
Title: Re: PG_Travel Work In Progress
Post by: TrailMyx on May 02, 2009, 08:52:18 AM
I think that's the new skill they introduced when you land yourself into jail.  It's hand-to-hand fighting with a makeshift knife, or a blade made out of dried peanut butter.  "I'm gonna cutya with my shiv, Mang!"
Title: Re: PG_Travel Work In Progress
Post by: KilroyIsDead on May 02, 2009, 08:56:15 AM
Shut yo big heads up or I'll Shiv you.

Good catch luckily that's in the sample code not the subs.

Re-posting file --oo0-(.)(.)-0oo--
Title: Re: PG_Travel Work In Progress
Post by: KilroyIsDead on July 02, 2009, 04:10:19 AM
New file uploaded 7/2/2009

*** 7/2/2009
new sub that returns the version