Battledale_PRC8/_module/nss/jw_kob_fount_use.nss
Jaysyn904 7b9e44ebbb 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.
2024-03-11 23:44:08 -04:00

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);
}