Initial upload
Initial upload.
This commit is contained in:
13
_module/nss/m1q4hemmelgive04.nss
Normal file
13
_module/nss/m1q4hemmelgive04.nss
Normal file
@@ -0,0 +1,13 @@
|
||||
#include "NW_I0_plot"
|
||||
void main()
|
||||
{
|
||||
RewardGP(GetLocalInt(OBJECT_SELF,"NW_L_GoldRewarded"),GetPCSpeaker());
|
||||
if(GetLocalInt(OBJECT_SELF,"NW_L_ItemRewarded"))
|
||||
{
|
||||
object oReward = CreateItemOnObject("nw_wswmls002");
|
||||
ActionPauseConversation();
|
||||
ActionGiveItem(oReward,GetPCSpeaker());
|
||||
ActionResumeConversation();
|
||||
}
|
||||
SetLocalInt(OBJECT_SELF,"NW_L_RewardGiven",TRUE);
|
||||
}
|
||||
Reference in New Issue
Block a user