Skip to content

Commit cd3a433

Browse files
committed
moth now knows about inline definitions and warns you about the actors that dont process definitions
1 parent f4741ad commit cd3a433

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

src/startup.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,21 @@ definitions
347347
like this:<br/><br/><code>definitions:the thing you're reading right now</code>
348348
and then whenever i say "<span definition="the thing you're reading right now">definitions</span>", you can now hover over it to see that text.
349349
these go in the definitions section of the advanced tab, you may have to scroll your editor down to see it.
350+
a couple actors don't do definitions, notably moth (me), self, sys, and unknown
351+
you can get around this if you use a custom actor or inline definitions instead but we wont get into that here
350352
353+
RESPONSES::self
354+
inline definitions<+>inlinedefs
355+
ok<+>advanced
356+
FAKEEND::(back)
357+
358+
inlinedefs
359+
moth
360+
there is a special way you can make definitions directly in the dialogue without having to put them in the definitions box
361+
if you only want to use a definition once or twice, or want to define the same word with different definitions in the same dialogue, this is the way to go
362+
if youve ever used HTML, these are basically just <span> tags:<br/><br/><code>&lt;span definition="testing"&gt;example&lt;/span&gt;</code>
363+
becomes: <span definition="testing">example</span>
364+
351365
RESPONSES::self
352366
ok<+>advanced
353367
FAKEEND::(back)

0 commit comments

Comments
 (0)