TR_m1_q_TO_ACK_molagsaber
TR_Mainland.esm
Variables
3
Local Variables
doOnce
spear
sword
Source
1begin TR_m1_q_TO_ACK_molagsaber
2
3;this is the local script which handles the both weapons of A Coldharbour Keelhaul quest
4;so basically this script determines whether the Soul Anchor is a trident or a saber based on the player's skill level
5
6; This script was formerly called TR_m1_q_TO_ACK-molagsaber. I have renamed it due to the problems
7; that dashes can cause in script names (at least in OpenMW). -- arvisrend, 29 May 2013
8
9short doOnce
10short spear
11short sword
12
13if ( doOnce )
14 Return
15endif
16
17set spear to ( player->GetSpear )
18set sword to ( player->GetLongBlade )
19if ( spear < sword )
20 PlaceItemCell "T_Dae_UNI_SoulAnchorSaber" "Baelkashpitu, Shrine" 3749.129 7094.896 12692.197 0 ;TR_m1_MARK_SoulAnchor
21else
22 PlaceItemCell "T_Dae_UNI_SoulAnchorTrident" "Baelkashpitu, Shrine" 3760.698 7131.946 12692.996 0 ;TR_m1_MARK_SoulAnchor
23endif
24disable
25set doOnce to 1
26
27end