Changes

Jump to navigation Jump to search
→‎Date & time: update for 1.6.0 build 23353 (added location context argument to IS_FESTIVAL_DAY)
Line 65: Line 65:  
| Whether {{t|min}} to {{o|max}} (default unlimited) days have been played in the current save (including the current one). This always increments in sync with the date in the base game, but when mods change the in-game date, they may or may not update this value.
 
| Whether {{t|min}} to {{o|max}} (default unlimited) days have been played in the current save (including the current one). This always increments in sync with the date in the base game, but when mods change the in-game date, they may or may not update this value.
 
|-
 
|-
| <samp>IS_FESTIVAL_DAY {{o|day offset}}</samp>
+
| <samp>IS_FESTIVAL_DAY {{o|location context}} {{o|day offset}}</samp>
 
| Whether there's a festival today, with an optional {{o|day offset}} (e.g. 1 for tomorrow).
 
| Whether there's a festival today, with an optional {{o|day offset}} (e.g. 1 for tomorrow).
 +
 +
The {{o|location context}} (default <samp>Any</samp>) must be one of these values:
 +
{| class="wikitable"
 +
|-
 +
! value
 +
! effect
 +
|-
 +
| <samp>Any</samp>
 +
| Check for a festival anywhere.
 +
|-
 +
| <samp>Here</samp>
 +
| Check for a festival in the location context containing the player.
 +
|-
 +
| <samp>Target</samp>
 +
| Check for a festival in the location context containing [[#Target location|the target location]].
 +
|-
 +
| ''any other''
 +
| Check for a festival in the given location context ID.
 +
|}
 
|-
 
|-
 
| <samp>IS_PASSIVE_FESTIVAL_OPEN {{t|id}}</samp>
 
| <samp>IS_PASSIVE_FESTIVAL_OPEN {{t|id}}</samp>
translators
8,437

edits

Navigation menu