Skip to content

Commit

Permalink
pt 2
Browse files Browse the repository at this point in the history
  • Loading branch information
cheryllium committed Jan 5, 2024
1 parent f4c1c38 commit 3d54162
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/routines.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,15 @@ export default class RoutineManager {
actionManager.fishRoutines.push({
fish, script: SCRIPTS.heart,
});
fish.updateMood(true, true);
} else {
actionManager.fishRoutines.push({
fish, script: SCRIPTS.happy,
});
if (Math.random() < 0.6) {
fish.updateMood(true, true);
}
}
fish.updateMood(true, true);
}
});
});
Expand Down

0 comments on commit 3d54162

Please sign in to comment.