Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Degrees of Lewdity Plus
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Averall
Degrees of Lewdity Plus
Commits
d5cbd4ba
Commit
d5cbd4ba
authored
6 years ago
by
Pregmodder
Browse files
Options
Downloads
Patches
Plain Diff
False positive silencing.
parent
fec83987
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
game/dummy.twee
+3
-0
3 additions, 0 deletions
game/dummy.twee
sanityCheck
+2
-3
2 additions, 3 deletions
sanityCheck
with
5 additions
and
3 deletions
game/dummy.twee
0 → 100644
+
3
−
0
View file @
d5cbd4ba
This is a repository of variables that the sanityCheck believes are only used once. This tricks it.
$dancestudioanger
\ No newline at end of file
This diff is collapsed.
Click to expand it.
sanityCheck
+
2
−
3
View file @
d5cbd4ba
...
...
@@ -27,9 +27,9 @@ $GREP "<<[ ]*if[^>=]*[^><\!=]=[^=][^>]*>>" -- 'game/*' | myprint "AccidentalAssi
# Check for accidental assignment. e.g.: <<elseif $foo = "hello">>
$GREP
"<<[ ]*elseif[^>=]*[^><
\!
=]=[^=][^>]*>>"
--
'game/*'
| myprint
"AccidentalAssignmentInElseIf"
# Check for missing ". e.g.: <<if $foo == "hello>>
$GREP
"<<[^
\"
<>]*
\"
[^
\"
<>]*>>"
--
'game/*'
| myprint
"MissingSpeechMark"
#
$GREP
-e
"<<[^\"<>]*\"[^\"<>]*>>" -- 'game/*' | myprint "MissingSpeechMark"
# Check for missing ". e.g.: <<if $foo = "hello)
$GREP
-e
"<<[^
\"
<>]*
\(
[^
\"
<>]*
\"
[^><
\"
]*
\"\|
[<>]
\)
*
\"\(
[^
\"
<>]*
\"
[^><
\"
]*
\"\|
[<>]
\)
*
\(
[^
\"
<>]
\|
[<>]
\)
*>>"
--and
--not
-e
"*[^']*"
--
'game/*'
| myprint
"MissingSpeechMark2"
#
$GREP -e "<<[^\"<>]*\([^\"<>]*\"[^><\"]*\"\| [<>] \)*\"\([^\"<>]*\"[^><\"]*\"\| [<>] \)*\([^\"<>]\| [<>] \)*>>" --and --not -e "*[^']*" -- 'game/*' | myprint "MissingSpeechMark2"
# Check for colors like: @@color:red - should be @@.red
$GREP
-e
"@@color:"
--and
--not
-e
"@@color:rgb([0-9 ]
\+
,[0-9 ]
\+
,[0-9 ]
\+
)"
--
"game/*"
| myprint
"UseCssColors"
# Check for missing $ in activeSlave or PC
...
...
@@ -50,7 +50,6 @@ $GREP "<<[^<>]*[<>]\?[^<>]*>>>" -- "game/*.twee" | myprint "TooManyAngleBrackets
# Check for too many <<<. e.g.: <<</if>>
$GREP
"<<<[^<>]*[<>]
\?
[^<>]*>>"
--
"game/*.twee"
| myprint
"TooManyAngleBrackets"
# Check for wrong capitalization on 'activeslave' and other common typos
$GREP
-e
"
\$
act"
--and
--not
-e
"
\$\(
activeSlave
\|
activeArcology
\|
activeStandard
\|
activeOrgan
\|
activeLimbs
\|
activeUnits
\|
activeCanine
\|
activeHooved
\|
activeFeline
\)
"
--
"game/*"
| myprint
"WrongCapitilization"
$GREP
"
\(
csae
\|
[a-z] She
\|
attepmts
\|
youreslf
\|
advnaces
\|
canAcheive
\|
setBellySize
\|
SetbellySize
\|
setbellySize
\|
bellypreg
\|
pregBelly
\|
bellyimplant
\|
bellyfluid
\|
pronounCaps
\|
carress
\)
"
--
'game/*'
| myprint
"SpellCheck"
$GREP
"
\(
recieve
\|
recieves
\)
"
--
'game/*'
| myprint
"PregmodderCannotSpellReceive"
$GREP
"
\$
slave
\[
"
--
'game/*'
| myprint
"ShouldBeSlaves"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment