Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
fc-pregmod
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
macaronideath
fc-pregmod
Commits
33946aae
Commit
33946aae
authored
6 years ago
by
Stuffed
Browse files
Options
Downloads
Patches
Plain Diff
Add sanity check for strange characters before >>
And fix the mistakes that it catches
parent
7bc534e9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
sanityCheck
+2
-0
2 additions, 0 deletions
sanityCheck
src/uncategorized/bodyModification.tw
+1
-1
1 addition, 1 deletion
src/uncategorized/bodyModification.tw
src/uncategorized/dairyReport.tw
+1
-1
1 addition, 1 deletion
src/uncategorized/dairyReport.tw
with
4 additions
and
2 deletions
sanityCheck
+
2
−
0
View file @
33946aae
...
...
@@ -99,6 +99,8 @@ $GREP -e "<<option " --and --not -e "<<option *\(-\?[0-9]\+\|[\'\"].*[\'\"]\|fa
# check for missing ; before statement
$GREP
'if $ '
--
'src/*'
| myprint
"missing ; before statement"
$GREP
'elseif $ '
--
'src/*'
| myprint
"missing ; before statement"
# Check for an unrecognized letter before >>
$GREP
"[^]a-zA-Z0-9
\"
)}'+-
\*\`
] *>>"
--
'src/*'
| myprint
"StrangeCharacterAtEndOfCommand"
# Check for a . inside a <<>>
$GREP
"<<[a-zA-Z]
\(
[^
\"
'>]
\|
[^
\"
'>]>[^
\"
'>]
\)
*[a-zA-Z][.][^a-zA-Z]"
| myprint
"StrangeCharacterAfterDot"
# Check for @@. instead of .@@
...
...
This diff is collapsed.
Click to expand it.
src/uncategorized/bodyModification.tw
+
1
−
1
View file @
33946aae
...
...
@@ -395,7 +395,7 @@ Choose piercing style:
<<if $activeSlave.lipsPiercing != 1>><<set $activeSlave.lipsPiercing = 1>> <<run cashX(forceNeg($modCost), "slaveMod", $activeSlave)>><</if>>
<<if $activeSlave.tonguePiercing != 1>><<set $activeSlave.tonguePiercing = 1>> <<run cashX(forceNeg($modCost), "slaveMod", $activeSlave)>><</if>>
<<if $activeSlave.nipples != "fuckable">>
<<if $activeSlave.nipplesPiercing != 1
&&
>><<set $activeSlave.nipplesPiercing = 1>><<run cashX(forceNeg($modCost), "slaveMod", $activeSlave)>><</if>>
<<if $activeSlave.nipplesPiercing != 1>><<set $activeSlave.nipplesPiercing = 1>><<run cashX(forceNeg($modCost), "slaveMod", $activeSlave)>><</if>>
<</if>>
<<if $activeSlave.areolaePiercing != 1>><<set $activeSlave.areolaePiercing = 1>> <<run cashX(forceNeg($modCost), "slaveMod", $activeSlave)>><</if>>
<<if $activeSlave.corsetPiercing != 1>><<set $activeSlave.corsetPiercing = 1>> <<run cashX(forceNeg($modCost), "slaveMod", $activeSlave)>><</if>>
...
...
This diff is collapsed.
Click to expand it.
src/uncategorized/dairyReport.tw
+
1
−
1
View file @
33946aae
...
...
@@ -458,7 +458,7 @@
<<run cashX(forceNeg($surgeryCost), "slaveSurgery", $slaves[$i])>>
<</if>>
<<if $slaves[$i].vasectomy == 1>>
<<set $slaves[$i].vasectomy = 0, $slaves[$i].health -= 10
,
>>
<<set $slaves[$i].vasectomy = 0, $slaves[$i].health -= 10>>
<<run cashX(forceNeg($surgeryCost), "slaveSurgery", $slaves[$i])>>
<</if>>
<<if ($dairySlimMaintain == 0)>>
...
...
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