Author Topic: Re: [Boss Battles] Pet shop mod (Bugfix update)  (Read 7136 times)

This one took a while to do, since it was part of Boss Battle's reward system. It's been converted from the Boss Coins currency to normal points, and includes settings to change or eliminate the need to spend points. I've also tuned up the mod as a whole a significant amount.



Important commands
  • /petshop - Displays pets available to buy
  • /buypet [petname] - Purchases a pet from the petshop
  • /pets - Lists pets you own
  • /herepet [petname] - Spawns a pet you own
  • /recolorpet [petname] [color] - Purchases a color override for your pet. See the reserved post below for a list of colors.
  • /renamepet [petname] [description] - Changes the pet's descriptive name.

Preferences
The following commands are set to each pref's default value. Copy and paste one into the server console with the value changed to update a preference.

$pref::server::pets::freePets = false;  Set to true to make pets not cost any points to buy from the shop.
$pref::server::pets::petSpawnCost = 2;  Change the number of points needed to spawn a pet. Set to zero to make it free.
$pref::server::pets::petRenamePrice = 5;  Change the number of points needed to rename a pet. Set to zero to make it free.
$pref::server::pets::enableDefaultPets = true;  Switch this to false to disable the built-in pets.
$pref::server::pets::disallowBadNames = true; Set this to false to disable filtering distasteful pet names.

Custom pets
This mod was designed to be relatively flexible such that you can add new pets fairly easily. Open the custompets.cs file in a text editor and you will find a guide to adding your own pets.


Download: https://leopard.hosting.pecon.us/download.php?f=iibvs&name=Server_Pets.zip

Credits: Pecon (Pet scripts), Aware (Chicken playertype), ArmyUnit (Swift dragon playertype), Reinforcements (Duck playertype), Phydeoux (Velociraptor playertype, Skeleton playertype), Badspot (Horse playertype, Player playertype, Blockland)
« Last Edit: May 26, 2019, 12:24:17 AM by Pecon »

Basic colors - Some of these colors are slightly off. By default, these cost 2 points.
  • Red
  • Orange
  • Green
  • Blue
  • Cyan
  • Yellow
  • Pink
  • grey / gray
  • white
  • black

Enhanced colors - Nicer versions of a few colors. By default, these cost 4 points.
  • purered
  • pureblue
  • gold
  • purple

Premium colors - More dark and/or pure colors. By default, these cost 8 points.
  • crimson
  • royalpurple
  • jade
  • midnightblue
  • purewhite
  • pureblack

Advanced colors - Colors with transparency. By default, these cost 12 to 16 points.
  • mystic
  • cosmic
  • eternal
  • divine
  • demonic
« Last Edit: March 17, 2017, 09:01:33 AM by Pecon »

Very nice, wanted this the most out of everything. Especially like the custom pets feature. Thanks!

dont tell me you have a PETISH to releasing your boss battles addons now
EDIT: lol "nigerian" is a bad pet name
« Last Edit: March 17, 2017, 10:44:05 AM by failbros2 »

can you buy your very own
pet blockhead
that's the question

ok so its not loading
due to a syntax error
sned hlep ples

ok so its not loading
due to a syntax error
sned hlep ples
Updated, thanks for reporting.

This takes Family RP to a whole new level!


This takes Family RP to a whole new level!
Except you "cnanot b doge."



why cant you just do normal color hex instead of doing a whole bunch of dividing stuff to get the correct number

why cant you just do normal color hex instead of doing a whole bunch of dividing stuff to get the correct number
?

Released an update that fixes a bug with recoloring pets, and also added a needed check to the beginning of the custompets.cs file.