chore: Fixes Indentation (mostly in chapter scripts) #221
No reviewers
Labels
No Label
bug
Critical Priority
duplicate
enhancement
help wanted
High Priority
Low Priority
Medium Priority
Meta
needs more info
question
refactor
wontfix
bug
Critical Priority
duplicate
enhancement
help wanted
High Priority
invalid
Low Priority
Medium Priority
Meta
question
wontfix
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Cavemanon/SnootGame#221
Loading…
Reference in New Issue
No description provided.
Delete Branch "san7890/SnootGame:indentation-stuff"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When I started codediving, I just grabbed a random extension to help me understand the RenPy code (it helped very little). However, one (FUN) thing about it is that it lints for every single one of the indentation errors you could possibly make:
https://media.discordapp.net/attachments/701985793496842244/1104631399543222303/image.png?width=76&height=670 (not embedding this image because it's huge as hell, just screengrabbed because I thought it was funny)
Anyways, this PR just fixes all of that because I thought that would be a better way to spend the time than disabling the extension. While I was doing this though, there were two portions of the code that I did change beyond indentation, just to reduce copypasta:
These both had menu options that had copy-pasta lines between all of them and also had the indent fuckup, so I only touched those two while I was there. Let me know if I should undo that in case you really like atomic PRs and that stuff (they still work as expected per my testing).
Let me also know if you want something like a
.git-blame-ignore-revs
file (can only be made after this PR is preferably squash-merged) after the fact since this does murky up the code a bit and things like these always screw up the blames on other repositories I relish contributing to.Thanks for your time.
@MapAnon can you give this one a look over? I'm pretty rusty on my Ren'py skills these days. I don't know if this whitespace fix will drop lines by accident or not.
So long as there isn't an exception on launch, it should be fine. The menu changes are affected by the spanish translation since they translate all those redundant lines, but idk if that actually affects anything for the end user.
Won't be able to test it out for at least several days.
No crash exception on launch, storyline starts fine as expected.
Will fix the Spanish stuff in an upcoming commit.
chore: Fixes Indentation (mostly in chapter scripts)to wip: chore: Fixes Indentation (mostly in chapter scripts)wip: chore: Fixes Indentation (mostly in chapter scripts)to chore: Fixes Indentation (mostly in chapter scripts)Let me know if I extracted the translation files from Ren'Py the wrong way.
@ -2633,0 +2594,4 @@
translate es PostCableConundrum_afcbc2bb:
# A "I do NOT have a thing for Incontineisha."
A "Estoy pensando en hacer algo con música{cps=*.1}...{/cps} ¿quizás convertirme en ingeniero de sonido?"
"La incontinencia NO es mi fetiche."
Step 1:
From your project repository, check out a new branch and test the changes.Step 2:
Merge the changes and update on Gitea.