Skip to content

Commit ec67bb0

Browse files
author
Ava
committed
tgui, moar documentation
1 parent 5977e61 commit ec67bb0

File tree

5 files changed

+41
-6
lines changed

5 files changed

+41
-6
lines changed

code/game/gamemodes/cult/runes/_rune.dm

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/// Runes are effectively "spell circles", and are the main source of abilities for cultists.
12
/obj/effect/rune
23
name = "rune"
34
desc = "A strange collection of symbols drawn in what looks to be blood."
@@ -25,7 +26,7 @@
2526
var/rune_shorthand
2627
/// As `rune_name`, but for a description of what the rune actually does.
2728
var/rune_desc
28-
/// If FALSE, this rune won't appear on the tome's rune list.
29+
/// If false, this rune won't appear on the tome's rune list.
2930
var/can_write = TRUE
3031

3132
/obj/effect/rune/Initialize()
@@ -59,8 +60,6 @@
5960
to_chat(user, SPAN_NOTICE("The scratchings lose coherence and dissolve into puddles of blood that quickly sizzle and disappear."))
6061
qdel(src)
6162
return
62-
else if (istype(I, /obj/item/soap) || istype(I, /obj/item/mop))
63-
to_chat(user, SPAN_WARNING("No matter how hard you try, the scratchings just won't seem to come out."))
6463
return
6564

6665
/obj/effect/rune/attack_hand(mob/living/user)
@@ -152,7 +151,7 @@
152151
return INITIALIZE_HINT_LATELOAD
153152

154153
/obj/effect/rune/mapgen/LateInitialize()
155-
var/list/words = cult.english_words
154+
var/list/words = cult.english_words.Copy()
156155
for (var/i in 1 to 3)
157156
var/word = pick(words)
158157
circle_words.Add(word)

code/game/gamemodes/cult/talismans/_talisman.dm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/// Effectively portable runes, created with the Imbue Talisman rune. Talismans are usually similar to the runes they're created from.
12
/obj/item/paper/talisman
23
icon_state = "paper_talisman"
34
info = "<center><img src='talisman.png'></center><br/><br/>"

code/game/gamemodes/cult/talismans/stun.dm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
talisman_name = "Stun"
33
talisman_desc = "Forces the concentrated energy of a stun rune into a struck target, immediately knocking them to the ground. Humans will be prevented from speaking for a time."
44
invocation = "Dream sign 'Evil Sealing Talisman'!" // I think this is a touhou reference
5+
whispered = FALSE
56

67
/obj/item/paper/talisman/stun/attack_self(mob/living/user)
78
if (iscultist(user))

code/game/gamemodes/cult/talismans/supply.dm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/// This is a unique talisman given to roundstart cultists, and is the only source of soul stones and construct shells for them until they make an artificer.
12
/obj/item/paper/talisman/supply
23
talisman_name = "Supply"
34
talisman_desc = "A densely-scrawled talisman with several functions, used to start a new cult."

tgui/packages/tgui/interfaces/ArcaneTome.js

Lines changed: 35 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Fragment } from 'inferno';
22
import { useBackend, useLocalState } from '../backend';
3-
import { Box, Button, Flex, Section, Tabs } from '../components';
3+
import { Box, Button, Collapsible, Flex, Icon, Section, Tabs } from '../components';
44
import { Window } from '../layouts';
55

66
export const ArcaneTome = (props, context) => {
@@ -30,7 +30,40 @@ export const ArcaneTome = (props, context) => {
3030
<Section>
3131
{
3232
tabIndex === 0
33-
&& ("Nya")
33+
&& (
34+
<Box>
35+
<i>You are a cultist of <b>Nar-Sie</b>, the One who Sees, the Geometer of Blood. It has revealed to you the fact of Its existence by necessity, and graciously inducted you into Its followers so that you may better serve Its will.</i><br /><br />
36+
<i>These archives serve as an <b>out-of-character</b> knowledge base for information about the cult, how your abilities work, and your ultimate goals. Refer back to it any time you're lost!</i><br/><br/>
37+
<Collapsible
38+
title="What is this?">
39+
You're holding an <b>arcane tome</b>, a book that contains the rites and scriptures of the Geometer. <b>Every cultist should have a tome unless they have a good reason not to.</b> In addition to this informational page, you can browse <b>Runes</b> within a dedicated section of the tome, allowing you to see their functions or scribe them onto the ground.
40+
<br /><br />
41+
If need be, your tome can serve as a weapon as well. Simply switch to Harm intent and attack your foes with it to deal burn damage. Naturally, it'll be abundantly obvious to the target that you're doing something otherworldly and very harmful.
42+
</Collapsible>
43+
<Collapsible
44+
title="What are runes?">
45+
<b>Runes</b> are eldritch scrawlings, etched with precise shapes and words to invoke the power of Nar-Sie. They are the primary source of your power as a cultist, and they allow you to perform anomalous feats alike to magic. Some runes can be made into <b>talismans</b> that offer something akin to their abilities in a more portable form.
46+
<br /><br />
47+
There are many different types of rune, each with their own functions and methods of use. In order to create a rune, you use your own blood, meaning that you'll take a small amount of damage each time you create one. To invoke a rune, simply click on it with an empty hand.
48+
<br /><br />
49+
Runes are naturally very conspicuous, and you should be careful to keep them well-hidden to avoid drawing unnecessary suspicion. You can erase a rune by clicking on it with your tome - leaving no trace of its existence - or just mop it up like any regular spill.
50+
<br /><br />
51+
Notably, AIs can't perceive runes. Instead, they just see them as a regular pool of blood. That's still conspicuous in its own right, mind you!
52+
</Collapsible>
53+
<Collapsible
54+
title="What are talismans?">
55+
Runes are essential for success, but they can be difficult to lay down quickly. <b>Talismans</b> can be of use there; by invoking the <i>Imbue Talisman</i> rune with a blank sheet of paper on top and a relevant rune nearby, that rune can be "inscribed" onto the paper, which can then be consumed at any time to mirror its effects.
56+
<br /><br />
57+
Talismans' effects are usually equivalent to that of their respective rune, but weaker. Some, however, can be vastly different; the Stun talisman, for instance, causes a heavy stun to a single target struck with the talisman, instead of disorienting everyone nearby. Cultists starting aboard the station are equipped with a special Supply talisman that allows them to make certain talismans for free or to create soul shards and construct shells.
58+
</Collapsible>
59+
<Collapsible
60+
title="What should I do?">
61+
Depends! Stealth and infiltration are a cult's best ally, so unless you've already been ousted, it's never a bad idea to simply go back to what you were doing as if nothing had transpired. You can keep in touch with other cultists across distances and z-levels by using a <i>Communicate</i> rune, and coordinating in this manner is very important.
62+
<br /><br />
63+
When you feel ready to introduce more people to the fold, you should go about it carefully. The <i>Convert</i> rune is opt-in - the convertee can simply keep refusing to join the cult and will take increasing damage instead - so above all else, remember to <b>roleplay</b> and make it an interesting experience. Don't just stun someone and drag them to the rune - lead up to it. Talk to them, manipulate them. Make their conversion <i>mean</i> something.
64+
</Collapsible>
65+
</Box>
66+
)
3467
|| tabIndex === 1
3568
&& (
3669
<Flex

0 commit comments

Comments
 (0)