From cf210c0381deba5b43d9af21a8ebd7c531c9e241 Mon Sep 17 00:00:00 2001 From: DCoded <dicoded@email.com> Date: Tue, 18 Oct 2022 08:53:50 -0400 Subject: [PATCH] Added some missing information --- devNotes/scene guide.md | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/devNotes/scene guide.md b/devNotes/scene guide.md index dcbd72ff05e..050d9739bd9 100644 --- a/devNotes/scene guide.md +++ b/devNotes/scene guide.md @@ -10,6 +10,18 @@ If you would like to view examples of scenes currently in the game, there are qu Writing a scene is similar to writing any other code for Free Cities; each scene should be a JavaScript function that returns either a `string`, `DocumentFragment`, or an `HTMLElement`. This main function can then be further broken down into subfunctions to increase readability. +To use a character's pronouns, you'll need to first call `getPronouns()` on that character. You can read more about that [here](Pronouns.md), but for now all you need to know is that `getPronouns()` can be used to get anyone's pronouns. + +```js +const { he, him } = getPronouns(slave); +``` + +You can then use the pronouns in your text like so: + +```js +`${He} looks down at ${his} feet.`; // "She looks down at her feet" for female slaves +``` + ### Considerations When writing a scene, make sure you properly cover different variations of the event. Here are some things to keep in mind: @@ -26,6 +38,8 @@ When writing a scene, make sure you properly cover different variations of the e - Does the slave like/hate and trust/fear you? - Does the slave have fetishes or personality/sexual quirks/flaws that would impact how they react? +It's important to handle every *relevant* variation of the above cases. Depending on what you're writing, other cases may also warrant consideration; e.g. a breast-play scene will probably need to account for breast size and lactation a lot more than a generic sex scene. If a scene only applies to a specific type of slave, you can restrict the cases you account for to the ones that are only possible for that type of slave. + ### Structure Generally speaking, interaction scenes are split into 5 main sections: "intro", "setup", "consummation", "aftermath", and "cleanup". Though not strictly required, more often than not, your scene will contain at least one of these. @@ -34,8 +48,6 @@ Generally speaking, interaction scenes are split into 5 main sections: "intro", This is, as you might expect, the introduction text to the scene. This can be as simple as a single line of text or as complex as you need it to be. -<b>Example</b> - ```js function intro() { const text = []; @@ -65,8 +77,6 @@ function intro() { This is where you can add "flavor" text to the intro, such as the slave's reaction, for example. -<b>Example</b> - ```js function setup() { const text = []; @@ -95,8 +105,6 @@ function setup() { This is where the "action" happens. -<b>Example</b> - ```js function consummation() { const text = []; @@ -141,8 +149,6 @@ function consummation() { Here, you can add some more flavor text, as well as any effects on the slave the interaction may have had. -<b>Example</b> - ```js function aftermath() { const text = []; @@ -179,8 +185,6 @@ function aftermath() { If the slave needs to clean themselves up before returning to work, put that here. -<b>Example</b> - ```js function cleanup() { const text = []; -- GitLab