diff options
| author | david <[email protected]> | 2026-05-07 08:37:30 -0300 |
|---|---|---|
| committer | david <[email protected]> | 2026-05-07 08:37:30 -0300 |
| commit | 39ba70b2a232783264ee8b011eea732698d300a8 (patch) | |
| tree | 07746ba8e8cd989582582179e8e115827f31e3dd /petratc.c | |
| parent | 64486c158605a186bacf234ea241149f6603468a (diff) | |
| download | petratc-39ba70b2a232783264ee8b011eea732698d300a8.tar.gz petratc-39ba70b2a232783264ee8b011eea732698d300a8.zip | |
added a few messages
Diffstat (limited to 'petratc.c')
| -rw-r--r-- | petratc.c | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -54,11 +54,11 @@ void load(void) { FILE *f = fopen(path, "r"); if (!f) { - rat.hunger = 100.0f; - rat.love = 100.0f; - rat.fun = 100.0f; - rat.clean = 100.0f; - rat.health = 100.0f; + rat.hunger = 80.0f; + rat.love = 80.0f; + rat.fun = 80.0f; + rat.clean = 80.0f; + rat.health = 80.0f; rat.age = time(NULL); return; } @@ -117,8 +117,8 @@ int truing = 1; switch(choice){ case 1: gameguess(); break; - case 2: gamemaze(); break; - case 4: gamecatch(); break; + case 2: gamemaze(); printf("the maze is really dark squeak...\n\n"); break; + case 4: gamecatch(); printf("your rat feels cleaner!\n\n"); break; case 9: printrat(); break; case 0: truing = 0; break; } |
