|
|
@ -59,18 +59,14 @@ Function PrepareTeleport() |
|
|
|
|
|
|
|
|
|
|
|
; if the player only has one mount, summon it immediately |
|
|
|
; if the player only has one mount, summon it immediately |
|
|
|
; if the player has multiple mounts, show as prompt on which one to summon |
|
|
|
; if the player has multiple mounts, show as prompt on which one to summon |
|
|
|
; this also contains a failsafe regarding the name of the mounts, otherwise the names do not persist in consecutive saves |
|
|
|
|
|
|
|
If _00E_MountGlobal.GetValueInt() == 1 |
|
|
|
If _00E_MountGlobal.GetValueInt() == 1 |
|
|
|
|
|
|
|
|
|
|
|
If _00E_MuleOwned.GetValueInt() == 1 |
|
|
|
If _00E_MuleOwned.GetValueInt() == 1 |
|
|
|
TeleportMount(PlayerEsel) |
|
|
|
TeleportMount(PlayerEsel) |
|
|
|
PlayerEsel.SetName(NQ06_Freda.sMuleName) |
|
|
|
|
|
|
|
ElseIf _00E_HorseOwned.GetValueInt() == 1 |
|
|
|
ElseIf _00E_HorseOwned.GetValueInt() == 1 |
|
|
|
TeleportMount(PlayerHorse) |
|
|
|
TeleportMount(PlayerHorse) |
|
|
|
PlayerHorse.SetName(NQ06_Freda.sHorseName) |
|
|
|
|
|
|
|
ElseIf _00E_FathersShadowOwned.GetValueInt() == 1 |
|
|
|
ElseIf _00E_FathersShadowOwned.GetValueInt() == 1 |
|
|
|
TeleportMount(FS_NQR05_FatherShadowREF) |
|
|
|
TeleportMount(FS_NQR05_FatherShadowREF) |
|
|
|
FS_NQR05_FatherShadowREF.SetName(NQ06_Freda.sFathersShadowName) |
|
|
|
|
|
|
|
EndIf |
|
|
|
EndIf |
|
|
|
|
|
|
|
|
|
|
|
ElseIf _00E_MountGlobal.GetValueInt() > 1 |
|
|
|
ElseIf _00E_MountGlobal.GetValueInt() > 1 |
|
|
@ -78,13 +74,10 @@ Function PrepareTeleport() |
|
|
|
iButton = SelectionMenu.show() |
|
|
|
iButton = SelectionMenu.show() |
|
|
|
If iButton == 0 |
|
|
|
If iButton == 0 |
|
|
|
TeleportMount(PlayerEsel) |
|
|
|
TeleportMount(PlayerEsel) |
|
|
|
PlayerEsel.SetName(NQ06_Freda.sMuleName) |
|
|
|
|
|
|
|
ElseIf iButton == 1 |
|
|
|
ElseIf iButton == 1 |
|
|
|
TeleportMount(PlayerHorse) |
|
|
|
TeleportMount(PlayerHorse) |
|
|
|
PlayerHorse.SetName(NQ06_Freda.sHorseName) |
|
|
|
|
|
|
|
ElseIf iButton == 2 |
|
|
|
ElseIf iButton == 2 |
|
|
|
TeleportMount(FS_NQR05_FatherShadowREF) |
|
|
|
TeleportMount(FS_NQR05_FatherShadowREF) |
|
|
|
FS_NQR05_FatherShadowREF.SetName(NQ06_Freda.sFathersShadowName) |
|
|
|
|
|
|
|
ElseIf iButton == 3 |
|
|
|
ElseIf iButton == 3 |
|
|
|
NQ06_Freda.RenameMount(true) |
|
|
|
NQ06_Freda.RenameMount(true) |
|
|
|
EndIf |
|
|
|
EndIf |
|
|
|