blkno1
Joined: 03 Dec 2007 Posts: 107
|
Posted: Tue Nov 10, 2009 10:09 am Post subject: Navigator Script |
|
|
Various #actions and alias for helping to move around. I use it on Medievia.
Works in 1.99.8
| Code: | #nop Medievia Navigator Script for tintin++
#nop Last updated 7/17/08
#nop By Kjeldar
#class {mednav} {kill}
#class {mednav} {open}
#alias navhelp
{
#showme <139>***************** Navigator Help ***********************;
#showme <179>Various actions to assist in movement in game.
#showme <129>ud<179> Unlock door.;
#showme <129>pd<179> Pick door.;
#showme <139>***************************************************************;
}
#nop Macros
#macro {\eOD} {w\n;#var lastdir west;#var curroom $wroom}
#macro {\eOC} {e\n;#var lastdir east;#var curroom $eroom}
#macro {\eOA} {n\n;#var lastdir north;#var curroom $nroom}
#macro {\eOB} {s\n;#var lastdir south;#var curroom $sroom}
#nop Actions
#action {^The %0 seems to be closed.} {open %0 $lastdir;#var doorname %0}
#action {^The %0 seem to be closed.} {open %0 $lastdir;#var doorname %0}
#nop action {^It seems to be locked.} {pick $doorname $lastdir}
#action {^It seems to be locked.} {}
#action {^Alas, you cannot go that way...} {ex}
#action {^You have to stand up before you can do that.} {--;stand}
#action {^Your mount turns and heads towards %0.} {#var dragdest %0}
#var nroom {}
#var eroom {}
#var sroom {}
#var wroom {}
#var uroom {}
#var droom {}
#var curroom {}
#act {^North - %0} {#var nroom %0}
#act {^East - %0} {#var eroom %0}
#act {^South - %0} {#var sroom %0}
#act {^West - %0} {#var wroom %0}
#act {^Up - %0} {#var uroom %0}
#act {^Down - %0} {#var droom %0}
#nop aliases
#alias ud {unlock $doorname;open $doorname $lastdir}
#alias pd {pick $doorname;open $doorname $lastdir}
#alias u {up;#var lastdir u;#var curroom $uroom}
#alias d {down;#var lastdir d;#var curroom $droom}
#var {lastdir} {north}
#var {doorname} {door}
#nop Portal Navigation
#alias {enter} {#var portnumber %0;#send enter %0}
#action {^You stagger out of the portal, then collapse.} {stand;mount horse;mount dragon;#send enter $portnumber}
#action {^You step into the portal and the world fades into the mist.} {#showme <efa>--=== Portal Successful ===--}
#action {^You step into the portal, and the world spins madly...} {#showme <faa>-------------== SPUN ==-------------}
#alias croom {#var {curroom}}
#class {mednav} {close} |
|
|