Skip to content

Commit

Permalink
CMON
Browse files Browse the repository at this point in the history
  • Loading branch information
enjarai committed Jun 23, 2024
1 parent d6e7998 commit 5ed40d1
Show file tree
Hide file tree
Showing 8 changed files with 115 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,10 @@
"icon": "trickster:top_hat",
"ordinal": 0
}
```
```

Spell-scribing can be a daunting task to start with,
but the entries in this category should provide an introductory baseline to any newcomer.


Some will also delve into specific tools in the magicians toolkit and their uses.
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,7 @@
"icon": "minecraft:sugar",
"ordinal": 2
}
```
```

This category will go into event handling spell circles and ways to use them.
These spell circles provide many options to make spells more persistent and interactive.
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,7 @@
"icon": "trickster:wand",
"ordinal": 1
}
```
```

Tricks are the primary form of logic within spells,
providing ways to gather input, process data, and affect the outside world.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@
}
```

TODO
This entry lists available event patterns relating to entities.


These can easily trap an unaware magician in their own
net so to speak, **use with caution**.

;;;;;

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
```json
{
"title": "Events and You",
"icon": "minecraft:gunpowder",
"category": "trickster:events"
}
```

Spell circles can be placed directly in the world when given an event pattern to react to.
This will let them be independently cast when the given event occurs within their range,
and return a value to dictate how to respond to it.


Many events can be directly cancelled by this method,
but side effects and exceptions are very much supported.

;;;;;

<|glyph@trickster:templates|trick-id=trickster:create_spell_circle,title=Perceptive Ploy|>

vector, spell, spell ->

---

Places the latter spell at the given vector position and sets it
to listen for the event referenced by the former spell.

;;;;;

A spell fragment references an event when its root node contains a
pattern glyph corresponding to a defined event type, as listed in other entries in this category.


Different events may provide different arguments to an event listening spell,
these can be retrieved using the standard method as defined in [Spell Fragments](^trickster:functions).

;;;;;

Since it is very much possible an event listening circle makes its caster unable to move and/or break blocks,
there exists a utility pattern to easily destroy a spell circle given a specific block position.


See the next page.

;;;;;

<|glyph@trickster:templates|trick-id=trickster:delete_spell_circle,title=Cancellation Ploy|>

vector -> boolean

---

Destroys any spell circle placed at the given vector position.
Returns true if a spell circle was destroyed, or false if not.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
```json
{
"title": "Tome of Tomfoolery"
}
```

![](trickster:textures/gui/img/intro.png,fit)
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
```json
{
"title": "Mirror of Evaluation",
"icon": "trickster:mirror_of_evaluation",
"category": "trickster:basics"
}
```

A Mirror of Evaluation is a tool very similar to the ever-useful [Scroll and Quill](^trickster:scroll_and_quill).
The main difference is that it greedily casts any part of the spell it can while it is being written.


Say for example you write a subcircle with two more subcircles, each containing a [Foundational Delusion](^trickster:basic_tricks).

;;;;;

When drawn, the glyphs of these subcircles will become literals for the number 2.


Then, you can draw say, an [Annexation Stratagem](^trickster:arithmetic) in the parent circle of the two twos.
This will immediately consume the two subcircles and evaluate to a literal 4 as a glyph in the parent circle.

;;;;;

The best way to understand these workings is absolutely to try them out for yourself:

<recipe;trickster:mirror_of_evaluation>

It's worth noting that, while it casts any part of the spell it can, the mirror still stores the spell its holding
inside itself as an inscribed spell.

;;;;;

Thus making it accessible to all conventional spell reading and writing methods.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 5ed40d1

Please sign in to comment.