IntroText + Day

It is possible to define an IntroText depending on the current Day in the game and similar to the Default IntroText, you can include more than 1 speech if you want to.

These are the possibilities:

  • IntroTextMonday

  • IntroTextTuesday

  • IntroTextWednesday

  • IntroTextThursday

  • IntroTextFriday

  • IntroTextSaturday

  • IntroTextSunday

  • IntroTextWeek

  • IntroTextWeekend

Week can be used as a combination for Monday, Tuesday, Wednesday, Thursday and Friday.

Weekend can be used as a combination for Saturday and Sunday.

Defining IntroTextWeekend looks like this:

IntroTextWeekend: ["Hello, it's weekend so we'll be closing soon, what do you want?"]

For example you can make the NPC sound rude in the weekend.

This will be used by the script when it's either Saturday or Sunday in the game:

IntroTextWeekend

We can do the similar for Monday, defining IntroTextMonday looks like this:

IntroTextMonday: ["Happy Monday - no discounts though - what can I do for you?"]

This will be used by the script when it's Monday in the game:

IntroTextMonday

The script first checks what day it is in game.

But when you didn't provide an IntroText + Day (for example Monday), the fall-back will look like this:

Here's a break down of what I mentioned above:

  • Day of week - If not Day of week then week or weekend - If not Week or Weekend then Time of Day (same as with IntroText + Time) and so on.

Let's simplify this with an example, let's say it's Monday and Evening:

IntroTextMonday - IntroTextWeek - IntroTextEvening - IntroTextDay - IntroText

There are a few check between the first and second one but I'll come to this in IntroText + Time + Day.

Last updated