OutroText

How to use and define various OutroText parameters.


Table of Contents


OutroText

The OutroText determines what the NPC says when the player has chosen the Exit option.


As shown in the example below, you can include multiple variations. The script will randomy choose one line from the array each time the player exits the Mart event.


To define the OutroText, use this structure:

Image 0 not found
OutroText Example 1
Image 1 not found
OutroText Example 2
Image 2 not found
OutroText Example 3

OutroText + Time

It's possible to define an OutroText based on the in-game Time of Day. Like with the default OutroText, you can provide multiple lines for variety, and the script will randomly select one each time.


Here are the available time-based keys:

  • OutroTextMorning— Used from 5:00 to 9:59 AM
  • OutroTextNoon — Used from 10:00 AM to 1:59 PM
  • OutroTextAfternoon — Used from 2:00 to 4:59 PM
  • OutroTextEvening — Used from 5:00 to 7:59 PM
  • OutroTextDay — Used from 5:00 AM to 7:59 PM (general fallback for daytime)
  • OutroTextNight — Used from 8:00 PM to 4:59 AM

Note: OutroTextDay overlaps with Morning, Noon, Afternoon, and Evening. It acts as a fallback if no specific period is defined.


Here's how you can defined OutroTextEvening:

This will be used by the script when the in-game time is between 5:00 and 7:59 PM:

Image not found
OutroTextEvening 1
Image not found
OutroTextEvening 2

Fallback Behavior

See IntroText + Time for the full explanation of the Fallback Behavior as well as a Simplified Breakdown.

OutroText + Day

It's possible to define an OutroText that changes depending on the current day in the game. Just like the default OutroText, you can include mutliple lines for variation, adn the script will randomly select one.


Supported keys include:


  • OutroTextMonday
  • OutroTextTuesday
  • OutroTextWednesday
  • OutroTextThursday
  • OutroTextFriday
  • OutroTextSaturday
  • OutroTextSunday

  • OutroTextWeek applies to Money through Friday.
  • OutroTextWeekend applies to Saturday and Sunday.

Defining OutroTextWeek looks like this:

Image not found
OutroTextWeek

Similarly, you can define speech for specific days. Here's an example for Friday:

This will be used by the script when the in-game day is Friday:

Image not found
OutroTextFriday

Fallback Behavior

See IntroText + Day for the full explanation of the Fallback Behavior as well as a Simplified Breakdown.

OutroText + Time + Day

We've already covered how to define OutroText by Time and by Day — but what if you want to combine both?


Yes, it might sound a little wild — and it kind of is — but this feature gives you complete control. You can make the NPC salut the player differently on a Wednesday Afternoon then on a Thursday Morning, or anything in between.


Just like with OutroText + Day, you can use broader categories like Week and Weekend, and just like the default OutroText, you can define multiple lines for variation.



Here's an example:

This text is used when the current Time is within Day (5:00 AM to 7:59 PM) and the Day is Saturday or Sunday.

Image not found
OutroTextDayWeekend

Another example:

This text is used when the current Time is within Day (5:00 AM to 7:59 PM) and the Day is Saturday.

Image not found
OutroTextDaySaturday

fallback Behavior

See IntroText + Time + Day for the full explanation of the Fallback Behavior.

Hint

You're not expected to define every possible combination. Just include what matter most to you — the script handles the fallbacks intelligently.