Skip to content

Commit

Permalink
feat: 🐋 new aqua pet
Browse files Browse the repository at this point in the history
  • Loading branch information
blairjordan committed Oct 7, 2023
1 parent d596d16 commit ea9079c
Show file tree
Hide file tree
Showing 6 changed files with 152 additions and 2 deletions.
Binary file added media/m6d1.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/m6d2.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/m6d3.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
90 changes: 89 additions & 1 deletion media/main-bundle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"url": "https://github.com/blairjordan/codachi"
},
"publisher": "pegleg",
"version": "1.2.2",
"version": "1.3.0",
"engines": {
"vscode": "^1.64.0"
},
Expand Down
62 changes: 62 additions & 0 deletions src/panel/pets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ export const gifs: Gifs = {
monster5phase1: 'm5d1.gif',
monster5phase2: 'm5d2.gif',
monster5phase3: 'm5d3.gif',
monster6phase1: 'm6d1.gif',
monster6phase2: 'm6d2.gif',
monster6phase3: 'm6d3.gif',
}

export const petNames = [
Expand Down Expand Up @@ -371,6 +374,65 @@ export const petTypes = new Map<string, Pet>([
]),
},
],
[
'monster6',
{
levels: new Map([
[0, egg],
[
1,
{
xp: 35,
defaultState: 'walking',
animations: {
transition,
walking: {
...animationDefaults,
gif: 'monster6phase1',
width: 64,
height: 64,
speed: 2,
},
},
},
],
[
2,
{
xp: 150000,
defaultState: 'walking',
animations: {
transition,
walking: {
...animationDefaults,
gif: 'monster6phase2',
speed: 3,
height: 64,
width: 64,
},
},
},
],
[
3,
{
xp: 240000,
defaultState: 'walking',
animations: {
transition,
walking: {
...animationDefaults,
gif: 'monster6phase3',
speed: 2,
height: 64,
width: 64,
},
},
},
],
]),
},
],
])

export const randomPetType = (): PetType =>
Expand Down

0 comments on commit ea9079c

Please sign in to comment.