The Dink Network

Size Trouble

May 7th 2004, 02:43 AM
spike.gif
I don't know, I might've asked about this before.. not that it matters...

Anyway, I have the following lines in my script:

int &flow = get_sprite_with_this_brain(6, &current_sprite);
int &fiz = &use1;
&fiz * 10;
sp_size(&flow, &fiz);

A water spring over a fountain is supposed to shrink every time Dink trinks from it, until it disappears and the fountain is drained. Now the spring shrinks and disappears and is killed and all, but the spring is HUGE, much bigger than it should be. So, err.. what's wrong?
May 7th 2004, 05:23 AM
custom_simon.gif
SimonK
Peasant He/Him Australia
 
Fountains are made from bubbles and not fiz?

Ummm... post the whole script and let me see if my fizzable brain can help...

Oh.. .yes... I've had a few...
May 7th 2004, 05:34 AM
spike.gif
//It heals you
void main(void )
{
int &flow = get_sprite_with_this_brain(6, &current_sprite);
int &fiz = &use2;
&fiz * 10;
sp_size(&flow, &fiz);
}
void talk( void )
{
&use2 -= 1;
if (&use2 < 0)
{
say_stop("There's no more water", 1);
return;
}
if (&use2 == 0)
{
sp_kill(&flow, 100);
int &hold = sp_editor_num(&flow);
if (&hold != 0)
editor_type(&hold, 1);
}
int &fiz = &use2;
&fiz * 10;
sp_size(&flow, &fiz);
&life = &lifemax;
playsound(22, 22050, 0, 0, 0);
spawn("mag-star");
}
May 7th 2004, 06:27 AM
custom_simon.gif
SimonK
Peasant He/Him Australia
 
hmmm...

Assumming &use2 is a global variable set to 10... I found this kinda worked

//It heals you

void main( void )
{
int &flow = get_sprite_with_this_brain(6, &current_sprite);
int &fiz = &use2;
&fiz * 10;
sp_size(&flow, &fiz);
}

void talk( void )
{
&use2 -= 1;
if (&use2 < 0)
{
say_stop("There's no more water", 1);
return;
}
if (&use2 == 0)
{
sp_size(&flow, 1);
sp_nodraw(&flow, 0);
int &hold = sp_editor_num(&flow);
if (&hold != 0)
editor_type(&hold, 1);
sp_active(&flow, 0);
}
int &fiz = &use2;
&fiz * 10;
sp_size(&flow, &fiz);
&life = &lifemax;
playsound(22, 22050, 0, 0, 0);
spawn("mag-star");
}
May 7th 2004, 06:53 AM
duck.gif
Tal
Noble He/Him United States
Super Sexy Tal Pal 
When I have size trouble, I go to my inbox for assistance.

/surprised a similar joke wasn't already cracked, especially with Simon in the thread
May 7th 2004, 02:56 PM
wizardb.gif
merlin
Peasant He/Him
 
When?

Let me guess. You've spent thousands of dollars in enlargement pills but it still isn't any bigger?
May 7th 2004, 10:38 PM
custom_simon.gif
SimonK
Peasant He/Him Australia
 
If you're already getting in that box, then your size must be adequate for the task at hand.

As it were...
May 8th 2004, 09:28 AM
old.gif
Kat
Peasant She/Her Canada
We can out-drink most Americans! 
Quanity over Quality always works best for me.


>^..^<
May 8th 2004, 10:42 AM
farmer.gif
i think you would think differently after seeing my nipples...
May 8th 2004, 12:42 PM
wizardb.gif
merlin
Peasant He/Him
 
But you can't divide 1 by 0!
May 8th 2004, 01:52 PM
farmer.gif
that was the joke, my wizard friend
May 8th 2004, 01:56 PM
wizardb.gif
merlin
Peasant He/Him
 
Thanks for ruining the thread.
May 9th 2004, 02:44 AM
knight.gif
legolas
Peasant He/Him
 
you're welcome
May 9th 2004, 03:47 AM
bonca.gif
Christiaan
Bard They/Them Netherlands
Lazy bum 
He wasn't talking to you now was he?
May 9th 2004, 03:59 AM
knight.gif
legolas
Peasant He/Him
 
not to me, I'm just acting very nice?
May 9th 2004, 11:54 AM
farmer.gif
nice guys finish last. thanks for ruining an already ruined thread.