Initial upload
Initial upload. PRC8 has been added. Module compiles, PRC's default AI & treasure scripts have been integrated. Started work on top hak for SLA / Ability / Scripting modifications.
This commit is contained in:
14
_module/nss/jw_openmerch_mar.nss
Normal file
14
_module/nss/jw_openmerch_mar.nss
Normal file
@@ -0,0 +1,14 @@
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC=GetPCSpeaker();
|
||||
|
||||
/// Either open the store with that tag or let the user know that no store exists.
|
||||
object oStore = GetNearestObjectByTag("jw_margot_merch");
|
||||
if(GetObjectType(oStore) == OBJECT_TYPE_STORE)
|
||||
DelayCommand(2.5,OpenStore(oStore,oPC,-GetSkillRank(SKILL_PERSUADE,oPC),GetSkillRank(SKILL_PERSUADE,oPC)));
|
||||
|
||||
else
|
||||
ActionSpeakStringByStrRef(53090, TALKVOLUME_TALK);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user