Skip to content

Commit

Permalink
Add another path from walk to run
Browse files Browse the repository at this point in the history
  • Loading branch information
tonybaloney committed Jun 4, 2024
1 parent 3f11edc commit bab8101
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/panel/pets/horse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,12 @@ export class Horse extends BasePetType {
},
{
state: States.walkRight,
// Can switch directions, start running the same direction, or start eating (twice as likely)
// Can switch directions, start running the same direction, or start eating (more likely)
possibleNextStates: [
States.walkLeft,
States.runRight,
States.runLeft,
States.standRight,
States.standRight,
States.standRight,
],
Expand All @@ -99,10 +101,12 @@ export class Horse extends BasePetType {
},
{
state: States.walkLeft,
// Can switch directions, start running the same direciton, or start eating (twice as likely)
// Can switch directions, start running the same direciton, or start eating (more likely)
possibleNextStates: [
States.walkRight,
States.runLeft,
States.runRight,
States.standLeft,
States.standLeft,
States.standLeft,
],
Expand Down

0 comments on commit bab8101

Please sign in to comment.