LiminaliaLiminalia

@choice

Choices. List the choice lines and close with @end. A choice line (- text -> #target) can have a condition for showing it, a condition that disables it, images, a position and more

@choice- Look at the door -> #door if=(game.has_key)- Look out the window -> #window@end

Parameters of a choice line

locked
Condition expression
When true, show the choice disabled (shows a choice whose condition isn't met instead of hiding it)
if
Condition expression
Condition for showing it. When false, this choice isn't shown (if every choice is false, play stops without showing any)
call
true / false
Call the jump target (@call), and when it hits @return, come back and show these choices again (for toggle buttons and so on)
image
Asset (image)
Button image
hover
Asset (image)
Image on mouseover
x
Number
Horizontal position of the top-left corner (px)
y
Number
Vertical position of the top-left corner (px)
width
Number (0 or more)
Width (px). For an image, its size if omitted
height
Number (0 or more)
Height (px)
cursor
Asset (image)
Mouse cursor image on hover (such as a magnifying glass on an investigation spot; the hotspot is the image's center)
tip
Text
Short tooltip on hover (such as the name of an investigation spot)

Guides that use this command

From TyranoScript

When you import with lim import, these tags become this syntax:

  • [glink]
  • [link]
  • [button]
  • [clickable]

How each attribute converts, and what isn't converted, is in TyranoScript import.