rabidwolf9's Profile
I know DinkC fairly well and I've been developing here for years.
Although I'm no longer creating content for Dink Smallwood, you can check me out on twitch, twitter, youtube, and steam to see what I'm up to these days.
Follow me on Twitch
Subscribe to my YouTube channel
Follow me on Twitter
Check me out on Steam
Although I'm no longer creating content for Dink Smallwood, you can check me out on twitch, twitter, youtube, and steam to see what I'm up to these days.
Follow me on Twitch
Subscribe to my YouTube channel
Follow me on Twitter
Check me out on Steam
While making a script for animal feed (works on only ducks thus far) I've come to a problem. When I have multiple feed piles active, the ducks won't go back to being ducks until all piles are eaten. Here's the script if anyone cares to look into it.
//Animal Feed seed
void main ()
{
//so it doesn't disappear
wait(200);
sp_brain(¤t_sprite,0);
sp_que(¤t_sprite,-10);
//big box for attracting animals
int &top = sp_y(¤t_sprite,-1);
&top -= 40;
int &bottom = sp_y(¤t_sprite,-1);
&bottom += 90;
int &left = sp_x(¤t_sprite,-1);
&left -= 50;
int &right = sp_x(¤t_sprite,-1);
&right += 90;
//smaller 'feeding' box
int &fleft = sp_x(¤t_sprite,-1);
&fleft -= 20;
int &ftop = sp_y(¤t_sprite,-1);
&ftop -= 20;
int &fright = sp_x(¤t_sprite,-1);
&fright += 20;
int &fbottom = sp_y(¤t_sprite,-1);
&fbottom += 20;
int &box;
int &duck;
int &dx;
int &dy;
int &count = 100;
//check for animals near feed to be attracted
duckcall:
wait(75);
&duck = get_rand_sprite_with_this_brain(3,0);
&dx = sp_x(&duck,-1);
&dy = sp_y(&duck,-1);
&box = inside_box(&dx,&dy,&left,&top,&right,&bottom);
if (&box)
{
if (sp_target(&duck,-1) == 0)
{
if sp_gold(&duck,-1) == 0)
{
//brain 9 needed for targeting
sp_brain(&duck,9);
sp_target(&duck,¤t_sprite);
}
}
}
//feed depletion
&duck = get_rand_sprite_with_this_brain(9,0);
&dx = sp_x(&duck,-1);
&dy = sp_y(&duck,-1);
if (sp_target(&duck,-1) == ¤t_sprite)
{
&box = inside_box(&dx,&dy,&fleft,&ftop,&fright,&fbottom);
if (&box)
{
//say("<Nom>",&duck);
&count -= 1;
}
}
//it shrinks!
sp_size(¤t_sprite,&count);
if (&count > 1)
goto duckcall;
//fixing brains and go back to business
&duck = 0;
reduck:
wait(25);
&duck = get_next_sprite_with_this_brain(9,0,&duck);
if (sp_target(&duck,-1) == ¤t_sprite)
{
//Target feed? It's a duck!
sp_brain(&duck,3);
//say("imaduck",&duck);
}
if (&duck > 0)
goto reduck;
//byebye feed
sp_active(¤t_sprite,0);
sp_kill(¤t_sprite,1);
}
//Animal Feed seed
void main ()
{
//so it doesn't disappear
wait(200);
sp_brain(¤t_sprite,0);
sp_que(¤t_sprite,-10);
//big box for attracting animals
int &top = sp_y(¤t_sprite,-1);
&top -= 40;
int &bottom = sp_y(¤t_sprite,-1);
&bottom += 90;
int &left = sp_x(¤t_sprite,-1);
&left -= 50;
int &right = sp_x(¤t_sprite,-1);
&right += 90;
//smaller 'feeding' box
int &fleft = sp_x(¤t_sprite,-1);
&fleft -= 20;
int &ftop = sp_y(¤t_sprite,-1);
&ftop -= 20;
int &fright = sp_x(¤t_sprite,-1);
&fright += 20;
int &fbottom = sp_y(¤t_sprite,-1);
&fbottom += 20;
int &box;
int &duck;
int &dx;
int &dy;
int &count = 100;
//check for animals near feed to be attracted
duckcall:
wait(75);
&duck = get_rand_sprite_with_this_brain(3,0);
&dx = sp_x(&duck,-1);
&dy = sp_y(&duck,-1);
&box = inside_box(&dx,&dy,&left,&top,&right,&bottom);
if (&box)
{
if (sp_target(&duck,-1) == 0)
{
if sp_gold(&duck,-1) == 0)
{
//brain 9 needed for targeting
sp_brain(&duck,9);
sp_target(&duck,¤t_sprite);
}
}
}
//feed depletion
&duck = get_rand_sprite_with_this_brain(9,0);
&dx = sp_x(&duck,-1);
&dy = sp_y(&duck,-1);
if (sp_target(&duck,-1) == ¤t_sprite)
{
&box = inside_box(&dx,&dy,&fleft,&ftop,&fright,&fbottom);
if (&box)
{
//say("<Nom>",&duck);
&count -= 1;
}
}
//it shrinks!
sp_size(¤t_sprite,&count);
if (&count > 1)
goto duckcall;
//fixing brains and go back to business
&duck = 0;
reduck:
wait(25);
&duck = get_next_sprite_with_this_brain(9,0,&duck);
if (sp_target(&duck,-1) == ¤t_sprite)
{
//Target feed? It's a duck!
sp_brain(&duck,3);
//say("imaduck",&duck);
}
if (&duck > 0)
goto reduck;
//byebye feed
sp_active(¤t_sprite,0);
sp_kill(¤t_sprite,1);
}
rabidwolf9 has released 35 files
rabidwolf9 has written 4 reviews
| Title | File | Type | Score | Date |
|---|---|---|---|---|
| there are better cheats out there | Ultima Cheat | Featured | 4.4 | March 11th, 2007 |
| I | I, Kara Gu | Featured | 9.8 | February 7th, 2007 |
| Wind Graphics V2 | Wind Scar | Featured | 7.7 | January 4th, 2007 |
| Ok W/E I'll Review My Own Graphics Pack | Dark Dink | Normal | 9.0 | April 25th, 2005 |
rabidwolf9 has taken 6 screenshots
| Screenshot | File | Date |
|---|---|---|
![]() |
Skorn's Dark Beach Graphic | January 3rd, 2010 |
![]() |
Dink Colors | February 18th, 2007 |
![]() |
Castle Fix | February 18th, 2007 |
![]() |
Castle Fix | February 18th, 2007 |
![]() |
Wasp Enemy | February 18th, 2007 |
![]() |
Dressup Dan | February 18th, 2007 |

7.3
9.0
6.5
4.4










