The Dink Network

healing fountain

January 8th 2006, 11:40 AM
milder.gif
Happy new year to all of you.

Does anyone know where I can get a script for a fountain that heals you when you drink the water.
I searched but I could not find it.

January 8th 2006, 12:00 PM
maidenb.gif
Sharp
Peasant She/Her Finland
 
In the original dink source, there's a file s1-fount.c. Try that one, this is what it contains - it heals you completely:

void main( void )
{
}

void talk( void )
{
&life = &lifemax;
wait(400);
say("The water has refreshed me.", 1);
}

void hit( void )
{
say("WATER MUST DIE!", 1);
}
January 8th 2006, 12:02 PM
duckdie.gif
Happy new year dinkholland!

Here's the script you're looking for :

void main ( void )
{
}

void talk ( void )
{
say("Ah, refreshing", 1);
&life = &lifemax;

}

EDIT : Three posts at the same time. At least this proves that Dinkers are quick to help others.

EDIT 2 : Fixed post screw-up. Sorry about that, dinkholland.
January 8th 2006, 12:02 PM
milder.gif
Thank you very much. I will try both of them.
January 8th 2006, 03:35 PM
knightg.gif
cypry
Peasant He/Him Romania
Chop your own wood, and it will warm you twice. 
Don't forget the
external("mag-star","main");
January 9th 2006, 02:38 AM
duckdie.gif
You can also add this line :
&magic_level = 7500;
if you want to refill your main character's mana.