Further file organization
Further file organization
This commit is contained in:
26
nwn/nwnprc/trunk/scripts/mh_at_003.nss
Normal file
26
nwn/nwnprc/trunk/scripts/mh_at_003.nss
Normal file
@@ -0,0 +1,26 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName mh_at_003
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 11/02/2004 15:33:49
|
||||
//:://////////////////////////////////////////////
|
||||
|
||||
#include "prc_inc_clsfunc"
|
||||
|
||||
void main()
|
||||
{
|
||||
// Donner les objets <20> la personne qui parle
|
||||
object oSpeaker = GetPCSpeaker();
|
||||
object oItem = CreateItemOnObject("mh_it_flute", oSpeaker, 1);
|
||||
SetIdentified(oItem,TRUE);
|
||||
SetLocalObject(oItem, "mh_createur", oSpeaker);
|
||||
SetLocalInt(oItem,"cout_instrument",5000);
|
||||
//ExecuteScript("mh_ins_sp_script", oSpeaker);
|
||||
TakeGoldFromCreature(2500, GetPCSpeaker(), TRUE);
|
||||
SetXP(GetPCSpeaker(), GetXP(GetPCSpeaker()) - 200);
|
||||
if(!GetLocalInt(oSpeaker,"use_CIMM"))
|
||||
{
|
||||
ActiveModeCIMM(oSpeaker);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user