Author Topic: Console Pets V 4.7  (Read 9405 times)

Console Pets


Description
When you first start up Blockland, an Object named "Dog" is created and you must take care of it by feeding it so it does not starve, if it gets the to starving hunger level, it will echo a warning (I plan to make this more warning like)
if you do not feed it within the nest tick, it will die and all of its functions will not work. There is a hunger tick system (Thanks to Gamemode_CityRPG & Script_Hunger for showing me how to make them) that will lower your dogs hunger by 1 every 3 minutes (This can be changed in the script).


Test Report
This add-on has been tested on a default Blockland installation with default add-ons, and worked flawlessly without any errors.


Functions
  • Doggy(); - Makes the dog say something.
  • DoggyTrick(); - Makes the dog to a trick.
  • FeedDog(%food); - Feeds the dog whatever you put in place of "%food". Also increases the dogs hunger by 1.
  • SetDogName(%name); - Sets the dogs name to whatever you put in place of "%name".


Installation
Place Script_ConsolePets.zip in your Add-Ons folder, restart Blockland, it will auto-enable because its a client sided add-on.


Download
You may download my add-on by clicking this link

Credits
Adam Savage - For making most of this script
Pacnet2011 - Sytax error fixing
Clinr121 - Syntax error fixing
Iban - Basic tick code
Intertactical (<<I don't thank thats his name)  - Doggy(); function
« Last Edit: September 13, 2011, 08:55:28 AM by adam savage »

I don't think anything like this has been made before...


eh, its ok, but I probably won't get it.


Simple but interesting, Good job.


Sounds like this would be annoying.

But unique never the less.

Adam Savage?

Not sure if Steal or Legit.

http://forum.blockland.us/index.php?topic=167623.0
I've seen something like this addon before, but it was a long time ago.

while(true){feedDog("mcDonalds");}

Yes, now my dog is fitting in with the American society!

Sounds like this would be annoying.

But unique never the less.

Adam Savage?

Not sure if Steal or Legit.

http://forum.blockland.us/index.php?topic=167623.0
I DO NOT STEAL BUILDS!!!! Or add-ons for that matter!

I DO NOT STEAL BUILDS!!!! Or add-ons for that matter!

I BEG to differ. that is what you advertised your clan as

This add-on contains a few errors that I found easily by reading the script. This makes me believe that the add-on was barely tested, if at all.

The DogTick function contains typos in the dog variable name. If the dog is starving or dies of starvation, the message notifying you will have a blank space where the dog's name should be. Of course, the dog will never starve, as the DogTick function never runs.
It also contains an entirely pointless function, DogDoTickLoop, which is also never ran.
« Last Edit: August 31, 2011, 04:47:04 PM by Headcrab Zombie »

I BEG to differ. that is what you advertised your clan as
no. Please quote where it says, "The reason this clan has spies is to steal builds and add-ons and claim them as our own."
It never said that, I'm assuming that the "spies" are just for fun. and as long as you aren't posting, claiming, or using the builds, what's wrong with saving a build just to have fun, explore, and look at a build with some friends?