Skip to content

QuestIniPuzzle

Quantumrunner edited this page May 24, 2021 · 2 revisions

Puzzle<name>

A puzzle event displays a puzzle to be solved. The puzzle can be closed and puzzle state will be saved, calling the event again will reopen the puzzle. Once completed additional events can be triggered.

Functional

class

The type of puzzle. Options are "slide", "image", "code" and "tower".

image

Image to use for image class puzzles. If image is not in a loaded content pack will use as a relative path (can use PNG and jpeg).

For code class puzzles set to "symbol" to display symbols rather than numbers, or 'element' to display chemical symbols.

skill

The skill icon to display (see Special-Symbols).

puzzlelevel

Puzzle difficulty level (default 4):

  • slide: Minimum moves required to solve puzzle (if not available, the closest easier puzzle will be picked)
  • image: Number of horizontal puzzle pieces
  • code: Length of code
  • tower: Mimimum moves required to sovle puzzle

puzzlealtlevel

Secondary puzzle difficulty level (default 3):

  • image: Number of vertical puzzle pieces
  • code: Number of symbols

puzzlesolution

Pre-determined solution for a code puzzle (can only be used with code puzzles). The input is a set of space-separated integers that specify the solution. For example, the input "1 3 4 1" specifies the solution as [1,3,4,1] for a code puzzle of level 4 with puzzlealtlevel>=4

event1

A space separated list of events to call when the puzzle is completed. The first event which is not disabled due to flags will be triggered, the rest will be ignored (see randomevents for alternate opertaion).

add

See Event.

remove

See Event.

trigger

See Event.

audio

See Event.

music

See Event.

flags

See Event..

set

See Event.

clear

See Event.

threat

See Event.

delayedevents

See Event.

randomevents

See Event.

mincam

See Event.

maxcam

See Event.

Text

<sectionname>.button1

button text to for completing the puzzle.

Back to QuestIniDetails.

Clone this wiki locally