LiminaliaLiminalia
Technical docs: Writing scenarios: An example of importing from TyranoScript

An example of importing from TyranoScript

Open in Claude (new tab)

The original .ks (the character is defined in another file as [chara_new name="Yuika" jname="Yui" …]):

[chara_show  name="Yuika"  face="smile"  ]
[tb_start_text mode=1 ]
# Yuika
"Morning. You're up early today."[p]
#
Outside the window, the rain was letting up.[p]
[_tb_end_text]

.lim:

@chara Yuika smile at=auto time=1s wait=true if-hidden=true
Yui "Morning. You're up early today."
Outside the window, the rain was letting up.
  • tb_start_text / _tb_end_text / [p] / lines that only switch the speaker disappear.
  • Parameters equal to the .lim defaults aren’t written. On the other hand, TyranoScript’s defaults (automatic placement for [chara_show], time=1000, wait=true, and doing nothing when already on screen) differ from the .lim defaults, so they’re written out.
  • The speaker becomes the text shown in the name box (jname of [chara_new]).
  • tatie’s [tatie name="Yuika" variant="smile" position="left" mode="show"] becomes @chara Yuika smile at=left time=500ms if-hidden=true.

How each tag is handled is in tyrano-import.md.