mirror of
https://git.squeakyrat.moe/petratc/
synced 2026-11-05 02:45:43 +01:00
added a few messages
This commit is contained in:
1 parent
64486c1586
commit
39ba70b2a2
1 file changed
+7
-7
@@ -54,11 +54,11 @@ void load(void) {
|
|||||||
|
|
||||||
FILE *f = fopen(path, "r");
|
FILE *f = fopen(path, "r");
|
||||||
if (!f) {
|
if (!f) {
|
||||||
rat.hunger = 100.0f;
|
rat.hunger = 80.0f;
|
||||||
rat.love = 100.0f;
|
rat.love = 80.0f;
|
||||||
rat.fun = 100.0f;
|
rat.fun = 80.0f;
|
||||||
rat.clean = 100.0f;
|
rat.clean = 80.0f;
|
||||||
rat.health = 100.0f;
|
rat.health = 80.0f;
|
||||||
rat.age = time(NULL);
|
rat.age = time(NULL);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@@ -117,8 +117,8 @@ int truing = 1;
|
|||||||
switch(choice){
|
switch(choice){
|
||||||
|
|
||||||
case 1: gameguess(); break;
|
case 1: gameguess(); break;
|
||||||
case 2: gamemaze(); break;
|
case 2: gamemaze(); printf("the maze is really dark squeak...\n\n"); break;
|
||||||
case 4: gamecatch(); break;
|
case 4: gamecatch(); printf("your rat feels cleaner!\n\n"); break;
|
||||||
case 9: printrat(); break;
|
case 9: printrat(); break;
|
||||||
case 0: truing = 0; break;
|
case 0: truing = 0; break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user