Skip to content

Commit 7be49e2

Browse files
Add color variant for cockatiel #767 (#811)
* Add brown color variant for cockatiel * Fix formatting of colors array for cockatiel --------- Co-authored-by: Anthony Shaw <anthony.p.shaw@gmail.com>
1 parent 81a5dcb commit 7be49e2

File tree

9 files changed

+2
-2
lines changed

9 files changed

+2
-2
lines changed

media/cockatiel/brown_icon.png

336 Bytes
Loading
2.22 KB
Loading

media/cockatiel/brown_run_8fps.gif

2.25 KB
Loading
2.22 KB
Loading
2.25 KB
Loading
2.25 KB
Loading
1.19 KB
Loading

src/panel/pets/cockatiel.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { States } from '../states';
44

55
export class Cockatiel extends BasePetType {
66
label = 'cockatiel';
7-
static possibleColors = [PetColor.gray];
7+
static possibleColors = [PetColor.gray, PetColor.brown];
88
sequence = {
99
startingState: States.sitIdle,
1010
sequenceStates: [

src/test/gifs.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const pets: { [key: string]: { colors: string[]; states: string[] } } = {
4242
states: ['idle', 'run', 'swipe', 'walk', 'walk_fast', 'with_ball'],
4343
},
4444
cockatiel: {
45-
colors: ['gray'],
45+
colors: ['gray', 'brown'],
4646
states: ['idle', 'run', 'swipe', 'walk', 'walk_fast', 'with_ball'],
4747
},
4848
crab: {

0 commit comments

Comments
 (0)