API

The Pet Peddlers API is set via the desc. field of the fish. Below I will explain each variable with a brief description of it.

We will offer no support of the API info for the fish. For those who don’t know how to pull the data please refer to the Second Life Scripting Wiki for help.
You could however use a llSensor to pull the data with llGetObjectDetails. If you get the data via a string you must convert it to a list using the llCSV2List() command. Remember that all lists start at 0 and not 1.

0 = Version
1 = Second Identifier
2 = Sex
3 = Age
4 = Hunger
5 = Love
6 = Movement Status(1 = on, 0 = off)
7 = Radius X – Radius The Fish is Set To Swim from Home Point
8 = Height – Height The fish is Set to Swim from Home Point
9 = Genetic Code
10 = Text Status (1 = on, 0 = off)
11 = Food Type(0 = Normal, 1 = Advanced)
12 = Cooldown Timer
13 = Breed Setting (0 = Owner, 1 = Group, 2 = Anyone, 3 = Off)
14 = Sleep State (0 = Sleeping, 1 = Awake)
15 = Starved (0 = No, 1 = Yes)
16 = Breedings Left (0 = Pet)
17 = Starter Fish (0 = No, 1 = Yes)
18 = Feed Range if Set Via Chat Command
19 = Predator (0 = No, 1 = Yes)
20 = Specials
21 = Bubbles (0 = Off, 1 = On)
22 = Move Radius Y- Radius The Fish is Set To Swim from Home Point