Console PetsDescriptionWhen 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 ReportThis 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".
InstallationPlace Script_ConsolePets.zip in your Add-Ons folder, restart Blockland, it will auto-enable because its a client sided add-on.
DownloadYou may download my add-on by clicking this linkCreditsAdam 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