# Journal Entries are processed as pure "Safe" structures, no type annotations are required or desired. # Each entry corresponds to a piece of knowledge from the knowledge tree. # Where knowledge starts as theory rather than known, an entry must provide both texts. Both will end up # in the journal, on the relevant days. # Each individual YAML document describes one such knowledge item. There can be only one journal entry # per knowledge item. Subsequent entries for the same item will overwrite previous entries. # The early entries in the journal are documented in-line so if you wish to learn how to express something # in the journal, look here. ### # Item indicates which KnowledgeItem in the KnowledgeTree this journal entry belongs to. All of Noctis' internal # KnowledgeItem entries start `noctis.` The very first entry you get to learn is noctis.root and it is given to # all players on entry to the world. You start "knowing" it. item: noctis.root # Each entry in the journal states the expected start state (HIDDEN, THEORY, KNOWN) and this must match up with # the KnowledgeTree. An inconsistency here will abort loading of Minecraft. This double-check is so that # authors of JournalEntry text do not forget the states a KowledgeItem might pass through start: KNOWN # Next, for the states which the journal will render (THEORY, KNOWN) there will need to be different page stacks. pagestack: # Each pagestack states whether it is theory or knowledge. Note that items which do not start in THEORY will # also never pass through that state, presenting THEORY when the item will not go into that state will be # a load error, as will omitting THEORY when it should be present. The root item starts in KNOWN so there # is only the one stack here. # Each entry in the journal consists of one or more pages. If the entry has no pages then it will be ignored KNOWN: # The kind of a page tells the renderer what it's doing. Text pages form the majority of the content of the # journal and form the tale the player tells themselves as they progress through the mod content. - kind: text # Text pages are simply strings which use the pattern language for Noctis content. body: | Finally, the dreams I have been haunted with since childhood have come to fruition, by carefully combining a mundane book with some ink, a quill, and the items I long suspected would help me harness the power I feel around me at night, I have created this journal. A journal I suspect only I #{playerName} will be able to understand. I intend to document in this tome everything I learn about the powers of the night, of the moon and of the spaces between the stars. I have long suspected, thanks to my dreams, that the night holds powers that few dare to harness. I shall be the one to release those powers and to bring them to heel in my control. Simply so that I do not forget the results of all that experimentation, I shall record here how I created this tome, that I might be reminded always of the struggle I have been through. # Pages can contain recipes. The recipe itself will be rendered automatically by the journal and will always stand on a page alone. - kind: recipe # The goal of a recipe is the item name which will be created. All Noctis core items start `noctis:` goal: noctis:journal --- # Each entry in the journal is separated from the next by a line with three dashes on it. item: noctis.catalyst.light start: THEORY pagestack: # When a piece of knowledge is theorised about, the journal will gain the THEORY page stack. This marker is quite # clever because it alters how everything but text pages are rendered. Recipes will lose their output, shaped ones # in particular will be presented as a pattern and a number of types, rather than the real recipe, catalytic # recipes will also lose all of the extra markers such as time of night, sky-access etc. The flavour text for # the entry must provide the clues to the player as to what to achieve. THEORY: - kind: text body: | Now that I have a journal to record my thoughts, my dreams seem to be more infrequent but with greatly increased clarity. For days now I have been dreaming of the moon in particular. In every dream, as I walk through the night, I feel its watchful gaze upon me. I know, in my heart, that until I have learned to harness this power for myself I shall not feel satisfied and I shall continue to be plagued by these dreams and a longing to walk in the light of the moon. One dream in particular stands out to me as I think back, in it I am holding something which seems to vibrate with the very power I can feel sleeting down around me. It is thick, like a braided rope of pure moonlight, and forms a hoop whose centre seems to exert a pull on loose items around it. I must create this item somehow and see what I can do with it. So that I do not forget, I have sketched the item and ideas for how I might recreate it. - kind: recipe goal: noctis:catalyst.light KNOWN: - kind: text body: | Eureka! I have managed to create the very item I dreamed of. It took a little fiddling and then suddenly everything seemed to come together in a flash of inspiration. I have created what I believe is the first thing I will need to bring the moon's power to heel and to bridle it for my own purposes. As it seems to have served me well, I am recording the exact recipe here lest I lose this incredible device (or frankly unless I feel I need more). - kind: recipe goal: noctis:catalyst.light --- item: noctis.catalyst.light.bound start: THEORY pagestack: THEORY: - kind: text body: | Every since I succeeded in creating this marvel of the moon, I have been having flashes of insight, visions if you will, regarding its use. However before I can put any of them to use, I fear there is something wrong with my construct. In my visions it is glowing, thrumming almost, with the power of my knowledge. I, somehow, can tell that I know how to operate the device. In the waking world I simply do not have that conviction. With my limited skills I can tell that the device holds some small amount of power, perhaps derived from the materials which went into its construction, yet it feels lifeless, disconnected, not mine. I need to find some way to make it mine once and for all. KNOWN: - kind: text body: | It was so simple. I had a vision that showed me with a dull, lifeless ring and one which as I said before seemed alive, intrinsically linked to my knowledge and understanding. In this vision I had one item in each hand, I was holding the dull one loosely and the live one, the one I want, tightly. I looked from one to the other over and over, until eventually I squeezed hard on the live one. I squeezed until my hand ached and, for a split second, it felt like my hand was part of ring itself. In that instant it seemed to spring to life. --- item: noctis.potion.speed start: THEORY pagestack: THEORY: - kind: text body: | I understand now what it is that I have wrought. It is a catalyst for changing the nature of items around it. The pull it exerts seems to bring items together and transform them somehow into something else, something better. I had another vision. In it I seemed to be filling bottles with water and placing them on a table in the light of the moon. Also on the table was a small pile of that sweet substance one can derive from the reed-like plants which grow along the river banks. In my vision I placed my catalyst down in the middle of these items and stepped back, raising my eyes to bask in the power of the moon. Annoyingly, my vision seemed to end at this moment. I have no idea what I was meant to do next, if anything. - kind: catalyticrecipe # Since catalytic recipes can do all sorts of things, rather than naming the output item here, we name # the recipe itself. On a theory page, such a recipe will show the types of the items, but not the amounts # and it will show the catalyst needed but not the time of night, or whether or not the sky must be visible. # Everything else must be hinted at in text content. goal: noctis:potion.speed KNOWN: - kind: text body: | My visions have proven to be immensely useful, and surprisingly complete. I am very pleased. My attempt to replicate the events I perceived in reverie have borne fruit, incredible fruit. I carefully placed a glass phial, filled with clear water next to a small pile of what I now know is sugar. Then I reverentially placed down my catalyst and with the moonlight streaming down, uninterrupted upon this scene, I witnessed for the first time in the waking world, the true power of the moon. My catalyst seemed to pull the water bottle and the sugar into its center, at once destroying and also creating, it expelled the bottle once more, but this time there was a sheen to it. On closer examination I realised I had seen something like it before. In a village we once visited as a child there was an alchemist who sold elixirs. One elixir, which looked just like this, was said to imbue the drinker with the swiftness of a horse in flight. I have created a means to move quickly. This will surely help me evade the less savoury denizens of the night. - kind: catalysedrecipe goal: noctis:potion.speed --- item: noctis.potion.health start: HIDDEN pagestack: # A hidden-at-first knowledge item will become KNOWN on some trigger. Until then, nothing is rendered in the # journal. As such, only the KNOWN page stack is relevant to this kind of knowledge item, and it will be a # loading error if any other stack is defined. KNOWN: - kind: text body: | Hah! My genius knows no bounds. I may not have seen it in a vision, I may not entirely understand why it worked, but applying what I learned making the swiftness potion I have managed to create a brew which is a powerful restorative. This will be handy in recovering should I falter in my speed and be caught by a Zombie or two. - kind: catalysedrecipe goal: noctis:potion.health