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.
13 lines
489 B
Plaintext
13 lines
489 B
Plaintext
void main()
|
|
{
|
|
object oPC=GetLastUsedBy();
|
|
FloatingTextStringOnCreature("*drinks*",oPC);
|
|
SendMessageToPC(oPC,"This must be the only source of drinking water in the area. The water of this fountain is exceptionally pure and you feel fortified against the noxious gases in this filthy sewer.");
|
|
AssignCommand(oPC,PlayAnimation(ANIMATION_LOOPING_GET_LOW,1.0,2.0));
|
|
PlaySound("it_potion");
|
|
ApplyEffectToObject(DURATION_TYPE_TEMPORARY,EffectImmunity(IMMUNITY_TYPE_POISON),oPC,600.0);
|
|
|
|
|
|
|
|
}
|