Work Life (Visual Novel / Game)
Loading...
Searching...
No Matches
instant_message Namespace Reference

MC can sometimes message at the end of the day. More...

Enumerations

enum  online_state { OFFLINE = 0 , ONLINE = 1 , BUSY = 2 }
 state to represent if we can message them More...
 

Functions

online_state status (character::CHAR_ENUM c)
 indicates the state of the character. depends on relationship_state
 
void send_message (character::CHAR_ENUM c)
 initiate a conversation with a character
 
void thank_you (character::CHAR_ENUM c)
 trigger a "thank you" scene from character c
 
void playtest ()
 playtest various prompts
 
void ino_busy_thank_you ()
 ino busy thank you
 
void ino_generic_thank_you ()
 when no more thanks are left, send this
 
void ino_thank_you_0 ()
 ino thank you 0
 
void ino_thank_you_1 ()
 ino thank you 1
 
void ino_thank_you_2 ()
 ino thank you 2
 
void ino_thank_you_3 ()
 ino thank you 3
 
void ino_thank_you_4 ()
 ino thank you 4
 
void ino_0 ()
 Ino talks about the other teams (required first day)
 
void ino_1 ()
 Ino talks about her past work experience.
 
void ino_2 ()
 Ino talks about her movie preferences.
 
void ino_3 ()
 Ino wants to head to the bar.
 
void kanade_busy_thank_you ()
 kanade busy thank you
 
void kanade_generic_thank_you ()
 when no more thanks are left, send this
 
void kanade_thank_you_0 ()
 kanade thank you 0
 
void kanade_thank_you_1 ()
 kanade thank you 1
 
void kanade_thank_you_2 ()
 kanade thank you 2 (she is worried)
 
void kanade_thank_you_3 ()
 kanade thank you 3 (silly joke)
 
void kanade_thank_you_4 ()
 kanade thank you 4 (sincere thanks)
 
void kanade_0 ()
 Kanade asks if we are feeling better.
 
void kanade_1 ()
 we talk to Kanade about her hobbies (baseball)
 
void kanade_2 ()
 more small talk (baseball news or would-you-rather)
 
void kanade_3 ()
 Kanade is hungry, head to the diner to get some food.
 
void rika_busy_thank_you ()
 rika busy thank you
 
void rika_generic_thank_you ()
 when no more thanks are left, send this
 
void rika_thank_you_0 ()
 rika thank you 0
 
void rika_thank_you_1 ()
 rika thank you 1
 
void rika_thank_you_2 ()
 rika thank you 2
 
void rika_thank_you_3 ()
 rika thank you 3
 
void rika_thank_you_4 ()
 rika thank you 4
 
void rika_0 ()
 admits she is a slow typist, meet to get some coffee
 
void rika_1 ()
 go for a short walk with Rika
 
void rika_2 ()
 Rika is hungry, head to the pizza place.
 
void rika_3 ()
 Rika wants to head to the bar to play darts.
 
void rin_0 ()
 Python GIL.
 
void rin_1 ()
 Rin max unsigned int value.
 
void rin_2 ()
 Rin RSB.
 
void rin_3 ()
 Rin doesn't have a question.
 
online_state online_or_busy (character::CHAR_ENUM c)
 a character is online only when their IM progress is past a threshold.
 
void busy_thank_you (character::CHAR_ENUM c)
 thank you sent when a character is BUSY
 
void relationship_thank_you (character::CHAR_ENUM c)
 thank you sent when rel state is high enough
 
void generic_thank_you (character::CHAR_ENUM c)
 thank you sent when online but rel isn't high enough
 
void playtest_thank_you (character::CHAR_ENUM ch, int num)
 playtest post-task thanks
 
void playtest_im (character::CHAR_ENUM ch, int num)
 playtest afternoon im
 

Variables

constexpr bn::fixed IM_STATE_REL_MULTILIER = 7
 relationship state increment needed to get a new instant message
 
constexpr bn::fixed THANK_YOU_REL_MULTILIER = 4
 relationship state increment needed to get a new thank you
 
constexpr unsigned int MAX_IM_COUNT = 4
 there are four im conversations
 
constexpr unsigned int MAX_THANKS_COUNT = 5
 there are five thank you conversations
 
bool ino_3_global_skip
 internal
 
bool kanade_3_global_skip
 internal
 
bool rin_answer_result_correct
 Rin question gate (mainly for format option dialog)
 
bool rin_2_mediocre_joke
 internal
 
const vnlib::story_fx IMS_INO [MAX_IM_COUNT] = {ino_0, ino_1, ino_2, ino_3}
 ino's im conversations
 
const vnlib::story_fx IMS_KANADE [MAX_IM_COUNT] = {kanade_0, kanade_1, kanade_2, kanade_3}
 kanade's im conversations
 
const vnlib::story_fx IMS_RIKA [MAX_IM_COUNT] = {rika_0, rika_1, rika_2, rika_3}
 rika's im conversations
 
const vnlib::story_fx IMS_RIN [MAX_IM_COUNT] = {rin_0, rin_1, rin_2, rin_3}
 rin's im conversations
 
const vnlib::story_fx THANKS_INO [MAX_THANKS_COUNT] = {ino_thank_you_0, ino_thank_you_1, ino_thank_you_2, ino_thank_you_3, ino_thank_you_4}
 ino's thank you conversations
 
const vnlib::story_fx THANKS_KANADE [MAX_THANKS_COUNT] = {kanade_thank_you_0, kanade_thank_you_1, kanade_thank_you_2, kanade_thank_you_3, kanade_thank_you_4}
 kanades's thank you conversations
 
const vnlib::story_fx THANKS_RIKA [MAX_THANKS_COUNT] = {rika_thank_you_0, rika_thank_you_1, rika_thank_you_2, rika_thank_you_3, rika_thank_you_4}
 rika's thank you conversations
 
const vnlib::story_fx THANKS_RIN [MAX_THANKS_COUNT] = {}
 rin's thank you conversations (she doesn't do this)
 

Detailed Description

MC can sometimes message at the end of the day.

depending on who is online, the MC can message a character and learn more about them. they also increase relationship based on having these conversations.

Enumeration Type Documentation

◆ online_state

state to represent if we can message them

Enumerator
OFFLINE 

character is not online at all; no task thanks, no im story

ONLINE 

character is online; task thanks, im story

BUSY 

character is partially online; task thanks, no im story

Function Documentation

◆ ino_1()

void instant_message::ino_1 ( )

Ino talks about her past work experience.

we learn that Ino
was previously a software engineer
we learn that Ino
believes in her leadership
depending on choice, we learn that Ino
would become a musician
depending on choice, we learn that Ino
wants to work with nice people

◆ ino_2()

void instant_message::ino_2 ( )

Ino talks about her movie preferences.

we learn that Ino
like action movies (and Fast and Glroious)
depending on choice, we learn that Ino
likes old dramas (Markface movie)
depending on choice, we learn that Ino
loves the Fast and Glorious franchise

◆ ino_3()

void instant_message::ino_3 ( )

Ino wants to head to the bar.

depending on choice, we learn that Ino
doesn't like busy places
we learn that Ino
is a regular at the bar

◆ kanade_0()

void instant_message::kanade_0 ( )

Kanade asks if we are feeling better.

we learn that Kanade
likes eggs

◆ kanade_1()

void instant_message::kanade_1 ( )

we talk to Kanade about her hobbies (baseball)

we learn that Kanade
likes baseball and reads books

◆ kanade_2()

void instant_message::kanade_2 ( )

more small talk (baseball news or would-you-rather)

depending on choice, we learn that Kanade
wishes she had more money
depending on choice, we learn that Ino
likes the beach
depending on choice, we learn that Kanade
like spending time with her family

◆ kanade_3()

void instant_message::kanade_3 ( )

Kanade is hungry, head to the diner to get some food.

we learn that Kanade
wants to change careers

◆ online_or_busy()

online_state instant_message::online_or_busy ( character::CHAR_ENUM c)

a character is online only when their IM progress is past a threshold.

this threshold is based on IM_STATE_REL_MULTILIER

◆ rika_0()

void instant_message::rika_0 ( )

admits she is a slow typist, meet to get some coffee

we learn that Rika
is a slow typist
we learn that Rika
likes talking to people

◆ rika_1()

void instant_message::rika_1 ( )

go for a short walk with Rika

depending on choice, we learn that Rika
doesn't try many new things
depending on choice, we learn that Rika
always trys her best at work to make things right

◆ rin_1()

void instant_message::rin_1 ( )

Rin max unsigned int value.

depending on choice, we learn that Rin
has been at WidgetCorp for six years
depending on choice, we learn that Rin
is a very fast typist