Changes

Jump to navigation Jump to search
1,584 bytes added ,  04:11, 7 October 2018
→‎Basic format: Added remaining 'end' parameters
Line 306: Line 306:  
|-
 
|-
 
| <tt>end</tt>
 
| <tt>end</tt>
| Ends the current event by fading out, then resumes the game world and places the player on the square where they entered the zone.
+
| Ends the current event by fading out, then resumes the game world and places the player on the square where they entered the zone. All <tt>end</tt> parameters do this by default ''unless otherwise stated''.
 +
|-
 +
| <tt>end bed</tt>
 +
| Same as <tt>end</tt>, but warps the player to the x/y coordinate of their most recent bed. This does not warp them to the farmhouse, only to the x/y coordinate of the bed regardless of map.
 +
|-
 +
| <tt>end beginGame</tt>
 +
| ''Used only during the introduction sequence in the bus stop event.'' It sets the game mode to <tt>playingGameMode</tt>, warps the player to the farmhouse (9, 9), ends the current event, and starts a new day.
 +
|-
 +
| <tt>end credits</tt>
 +
| ''Not used in any normal events.'' Clears debris weather, changes the music to wedding music, sets game mode to <tt>creditsMode</tt> and ends the current event.
 +
|-
 +
| <tt>end dialogue {{t|NPC}} {{t|"Text for next chat"}}</tt>
 +
| Same as <tt>end</tt>, and additionally clears the existing NPC dialogue for the day and replaces it with the line(s) specified at the end of the command. Example usage: ''end dialogue Abigail "It was fun talking to you today.$h"''
 +
|-
 +
| <tt>end dialogueWarpOut {{t|NPC}} {{t|"Text for next chat"}}</tt>
 +
| See <tt>end dialogue</tt> and <tt>end warpOut</tt>.
 +
|-
 +
| <tt>end invisible {{t|NPC}}</tt>
 +
| Same as <tt>end</tt>, and additionally turns the specified NPC invisible (cannot be interacted with until the next day).
 +
|-
 +
| <tt>end invisibleWarpOut {{t|NPC}}</tt>
 +
| See <tt>end invisible</tt> and <tt>end warpOut</tt>.
 +
|-
 +
| <tt>end newDay</tt>
 +
| Ends both the event and the day (warping player to their bed, saving the game, selling everything in the shipping box, etc).
 
|-
 
|-
 
| <tt>end position {{t|x}} {{t|y}}</tt>
 
| <tt>end position {{t|x}} {{t|y}}</tt>
| Ends the current event by fading out, then resumes the game world and places the player on the coordinates specified in ''x y''.
+
| Same as <tt>end</tt>, and additionally warps the player to the map coordinates specified in ''x y''.
 
|-
 
|-
| <tt>end newDay</tt>
+
| <tt>end warpOut</tt>
| Ends the current event by fading out, then ends the day (saving the game, selling everything in the sell box, etc).
+
| Same as <tt>end</tt>, and additionally finds the first warp out of the current location (second warp if male and in the bathhouse), and warps the player to its endpoint.
 
|-
 
|-
| <tt>end dialogue {{t|NPC}} {{t|\"Text for next chat\"}}</tt>
+
| <tt>end wedding</tt>
| Ends the current event by fading out, then resumes the game world and places the player on the square where they entered the zone. Additionally, the NPC will say the line(s) specified at the end of the command. Example usage: ''end dialogue Abigail \"It was fun talking to you today.$h\"''
+
| ''Used only in the hardcoded wedding event.'' Changes the character's clothes back to normal, sets Lewis' post-event chat to ''"That was a beautiful ceremony. Congratulations!$h"'', and warps the player to their farm.
 
|-
 
|-
 
| <tt>extendSourceRect {{t|actor}} reset</tt>
 
| <tt>extendSourceRect {{t|actor}} reset</tt>
Line 548: Line 572:  
| <tt>grabObject {{t|object ID}}</tt>
 
| <tt>grabObject {{t|object ID}}</tt>
 
| '''Broken.''' Triggers a generic animation. The item ID is ignored and the item isn't added.
 
| '''Broken.''' Triggers a generic animation. The item ID is ignored and the item isn't added.
 +
|-
 +
| <tt>end busIntro</tt>
 +
| Supposed to start the bus intro scene, presumably the one that was cut before release.
 
|}
 
|}
  
28

edits

Navigation menu