olc::CodeJam 2022 Entry #olcCodeJam2022
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

116 lines
2.9 KiB

#include <string>
std::string STORY_TEXT1=R"(ERROR CODE -1: Transmission Failed. Lost Receiving Target Location.
GPSNAV-17 - UNABLE TO LOCATE
GPSNAV-18 - UNABLE TO LOCATE
GPSNAV-22 - UNABLE TO LOCATE
GPSNAV-26 - UNABLE TO LOCATE
GPSNAV-31 - UNABLE TO LOCATE
GPSNAV-33 - UNABLE TO LOCATE
GPSNAV-35 - UNABLE TO LOCATE
Press any key to continue.)";
std::string STORY_TEXT2=R"( SEASONS
-of-
LONELINESS)";
std::string STORY_TEXT3=R"(ERROR CODE -4: Transmission Failed. Unable to Retrieve Launch Data.
GPSNAV-17 - FAILED.
GPSNAV-18 - UNABLE TO LOCATE
GPSNAV-22 - UNABLE TO LOCATE
GPSNAV-26 - UNABLE TO LOCATE
GPSNAV-31 - UNABLE TO LOCATE
GPSNAV-33 - UNABLE TO LOCATE
GPSNAV-35 - UNABLE TO LOCATE
Press any key to continue.)";
std::string STORY_DIALOG[]={R"(
???
RAIN CYCLE COMMENCING)", //0
R"(
$PLAYER
Oh thank goodness, and just in time too!)", //1
R"(
CompU-16770
RAIN CYCLE ENDING. NEXT RAIN CYCLE DUE IN 17 TERRA REVOLUTIONS.)", //2
R"(
$PLAYER
Time to collect these crops!)", //3
R"(
$PLAYER
Looks like a good time to go out too! Oxygen levels are at a good reading. Just going to do a quick system log...)",//4
R"(
CompU-16770
<ENTER USERNAME>)",//5
R"(
$PLAYER
The winds must have kicked in early this morning. Better go outside and work on R.O.V.E.R..)",//6
R"(
$PLAYER
I almost have the receiving unit repaired, I just need another good vein of silicon and we can finish this.)",//7
R"(
$PLAYER
Hmmm...)",//8
R"(
$PLAYER
So those dust columns only form around large hole deposits. This is usually where volcanic activity subsides, and usually dense rich in minerals!)",//9
R"(
$PLAYER
We'll head there. I recall seeing some volcanic rock North-East of here.)",//10
R"(
$PLAYER
What a great harvest!)",//11
R"(
CompU-16770
Authenticated. Record successfully logged.)",//12
R"(
R.O.V.E.R. 2001
< No response... >)",//13
R"(
Silicon resources acquired!!)",//14
R"(
$PLAYER
Now I can finally repair the Receiver! Better head back to the site.)",//15
R"(
$PLAYER
Please let this work...)",//16
R"(
$PLAYER
Perfect! Now to see if it will detect anything.)",//17
R"(
$PLAYER
Huh, it still doesn't work. At least the signaling is fixed. Maybe it'll work tomorrow...)",//18
R"(
$PLAYER
I'll go inside and get some rest in the meantime.)",//19
R"(
$PLAYER
Ugh..Why now?)",//20
R"(
$PLAYER
Of course now would be a GREAT time for an invasion.)",//21
R"(
$PLAYER
What's with that weird sigil on its body..?)",//22
R"(
$PLAYER
Urgh...Not good, seems dangerous. Time to use Petal Storm. It allows me to regenerate health while setting up seeds!)",//23
R"(
$PLAYER
Then I'll be able to use Hurricane powers in order to grow them, nourishing me while dealing additional damage!)",//24
};
olc::Pixel TILE_COLORS[]={
olc::Pixel(112, 88, 64), //0 DIRT
olc::Pixel(60, 97, 49), //1 GRASS
olc::Pixel(30, 84, 87), //2 WATER
olc::Pixel(180, 191, 209), //3 MARBLE
olc::Pixel(112, 88, 64), //4 WALL (DIRT)
olc::Pixel(33, 12, 28), //5 Volcanic Ground
};