From c0e0e036cbee9d66c7b03024c9bf95d7d106ac7c Mon Sep 17 00:00:00 2001
From: DCoded <dicoded@email.com>
Date: Sat, 15 Oct 2022 12:32:37 -0400
Subject: [PATCH] Replaced hard tabs with spaces

---
 devNotes/scene guide.md | 140 ++++++++++++++++++++--------------------
 1 file changed, 70 insertions(+), 70 deletions(-)

diff --git a/devNotes/scene guide.md b/devNotes/scene guide.md
index ffe2d0f95e9..83cabe45b8c 100644
--- a/devNotes/scene guide.md	
+++ b/devNotes/scene guide.md	
@@ -1,4 +1,4 @@
-# Scene guide
+# Writing scenes
 
 Most writing is basically just plain text with branches for different cases.
 Important cases to remember:
@@ -34,20 +34,20 @@ All the variables for you and the slave are, generally, held in the variables $P
 
 Conditions are usually checked by
 
-```tw
+```sugarcube
 <<if CONDITION>>
- SHOW THIS TEXT
+    SHOW THIS TEXT
 <<elseif CONDITION2>>
- SHOW THIS TEXT INSTEAD
+    SHOW THIS TEXT INSTEAD
 <<else>>
- IF NEITHER CONDITION IS MET, SHOW THIS
+    IF NEITHER CONDITION IS MET, SHOW THIS
 <</if>>
 ```
 
-Conditions are usually comparative (i.e. $a < $b or $b == 5 or $c != $d.e) and can be chained together with && (and) or || (or) and grouped with parentheses () - for example:
+Conditions are usually comparative (i.e. `$a < $b or $b == 5 or $c != $d.e`) and can be chained together with `&&` (AND) or `||` (OR) and grouped with `()` - for example:
 `<<if($a > 1 || ($b == 2 && $c != $a))>>`
 lets you check that either variable A is greater than one, or both B equals two and C is not equal to A.
-There are also a few misc functions that let you check things like whether a slave can get pregnant or whether two slaves are mutually fertile
+There are also a few miscellaneous functions that let you check things like whether a slave can get pregnant or whether two slaves are mutually fertile
 
 Variable names are interpolated straight into the text, so if you have a slave named "Beth" then the text
 "You fuck $activeSlave.slaveName" becomes "You fuck Beth"
@@ -62,45 +62,45 @@ So a random (really stupid) example might be:
 
 ```sugarcube
 <<if $activeSlave.fetish == 'mindbroken'>>
- Special big block of mindbroken text here.
+    Special big block of mindbroken text here.
 <<elseif isAmputee($activeSlave)>>
- Special big block of amputee text here.
+    Special big block of amputee text here.
 <<if $PC.dick > 0>>
- <<set _wasVirgin = ''>>
- <<if $activeSlave.vagina > -1>>
-  <<set _orifice = 'vagina'>>
-  <<if $activeSlave.vagina == 0>>
-   <<set _wasVirgin = 'vaginal'>>
-  <</if>>
- <<else>>
-  <<set _orifice = 'ass'>>
-  <<if $activeSlave.anus == 0>>
-   <<set _wasVirgin = "anal">>
-  <</if>>
- <</if>>
- You fuck $activeSlave.slaveName's _orifice.
- <<if _wasVirgin != ''>>
-  <<if $activeSlave.devotion > 50>>
-   $He @@.hotpink;loves@@ losing $his <<print _wasVirgin>> virginity to you.
-   <<set $activeSlave.devotion += 5>>
-  <<else>>
-   $He @@.mediumorchid;@@dislikes losing $his <<print _wasVirgin>> virginity to you.
-   <<set $activeSlave.devotion -= 5>>
-  <</if>>
- <</if>>
+    <<set _wasVirgin = ''>>
+    <<if $activeSlave.vagina > -1>>
+        <<set _orifice = 'vagina'>>
+        <<if $activeSlave.vagina == 0>>
+            <<set _wasVirgin = 'vaginal'>>
+        <</if>>
+    <<else>>
+        <<set _orifice = 'ass'>>
+        <<if $activeSlave.anus == 0>>
+            <<set _wasVirgin = "anal">>
+        <</if>>
+    <</if>>
+    You fuck $activeSlave.slaveName's _orifice.
+    <<if _wasVirgin != ''>>
+        <<if $activeSlave.devotion > 50>>
+            $He @@.hotpink;loves@@ losing $his <<print _wasVirgin>> virginity to you.
+            <<set $activeSlave.devotion += 5>>
+        <<else>>
+            $He @@.mediumorchid;@@dislikes losing $his <<print _wasVirgin>> virginity to you.
+            <<set $activeSlave.devotion -= 5>>
+        <</if>>
+    <</if>>
 <<elseif $PC.vagina > 0 && $activeSlave.dick > 0>>
- $activeSlave.slaveName
- <<if $activeSlave.devotion > 50>>
-  @@.hotpink;lovingly penetrates@@
-  <<set $activeSlave.devotion += 5>>
- <<else>>
-  indifferently hammers
- <</if>>
- your pussy.
+    $activeSlave.slaveName
+    <<if $activeSlave.devotion > 50>>
+        @@.hotpink;lovingly penetrates@@
+        <<set $activeSlave.devotion += 5>>
+    <<else>>
+        indifferently hammers
+    <</if>>
+    your pussy.
 <<elseif $activeSlave.vagina > -1>>
- Lesbian sex here.
+    Lesbian sex here.
 <<else>>
- ERROR - PC doesn't have dick or vagina?
+    ERROR - PC doesn't have dick or vagina?
 <</if>>
 ```
 
@@ -108,57 +108,57 @@ If you need to set a temp variable, prefix it with _ instead of $. This way, you
 
 You can "hot-test" stuff by text editing your HTML copy of FC, but it's a little more tedious because you have to "escape" double quotes, <, >, and & with &quot; &lt; &gt; and &amp; respectively.
 
-Some hints:
+Some tips:
 
-1. Write your logic first, so you don't forget to close tags. In other words, it's better to do
+- Write your logic first, so you don't forget to close tags. In other words, it's better to do
 
 ```sugarcube
 <<if $cond>
- TODO
+    TODO
 <<else>>
- TODO
+    TODO
 <</if>>
 ```
 
 And then fill it in later than it is to end up with a situation where you have a dozen unclosed tags and you can't remember where they are or what they do.
 
-2. For very simple stuff, it's fine to "inline" your stuff. For example, when penetrating a slave, doing `"you fuck $his <<if $activeSlave.vagina > -1>>pussy<<else>>ass<</if>>"` to show "pussy" or "ass" as necessary. However, if you need to do the same comparison a bunch of times, do something like
+- For very simple stuff, it's fine to "inline" your stuff. For example, when penetrating a slave, doing `"you fuck $his <<if $activeSlave.vagina > -1>>pussy<<else>>ass<</if>>"` to show "pussy" or "ass" as necessary. However, if you need to do the same comparison a bunch of times, do something like
 
 ```sugarcube
 <<if $activeSlave.vagina > -1>>
- <<set _targetOrifice = "vagina">>
+    <<set _targetOrifice = "vagina">>
 <<else>>
- <<set _targetOrifice = "asshole">>
+    <<set _targetOrifice = "asshole">>
 <</if>>
 ```
 
 And then, when you need it, do `"you fuck $his _targetOrifice"` in sixteen different places without having the pain in the ass of copy/pasting the same if/else clause every time.
 
-3. INDENT YOUR LOGIC. USE TABS. I'm serious. Don't question me. It will make EVERYONE hate you, when they have to deal with your code, if it's not indented properly.
+- INDENT YOUR LOGIC. USE TABS. I'm serious. Don't question me. It will make EVERYONE hate you, when they have to deal with your code, if it's not indented properly.
 This is much easier to read:
 
 ```sugarcube
 <<if $cond1>>
- <<if $cond2>>
-  whatever
- <<elseif $cond3>>
-  whatever
- <<elseif $cond4>>
-  <<if $cond5>>
-   whatever
-  <<else>>
-   <<if $cond6>>
-    whatever
-   <</if>>
-  <</if>>
- <<else>>
-  whatever
-  <<if $cond7>>
-   <<if $cond8>>
-    whatever
-   <</if>>
-  <</if>>
- <</if>>
+    <<if $cond2>>
+        whatever
+    <<elseif $cond3>>
+        whatever
+    <<elseif $cond4>>
+        <<if $cond5>>
+            whatever
+        <<else>>
+            <<if $cond6>>
+                whatever
+            <</if>>
+        <</if>>
+    <<else>>
+        whatever
+        <<if $cond7>>
+            <<if $cond8>>
+                whatever
+            <</if>>
+        <</if>>
+    <</if>>
 <</if>>
 ```
 
@@ -189,4 +189,4 @@ whatever
 <</if>>
 ```
 
-4. Proof-read your shit before posting it. Spell-check wouldn't hurt.
+- Proof-read your shit before posting it. Spell-check wouldn't hurt.
-- 
GitLab