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
Container registry
Model registry
Operate
Environments
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
pregmodfan
fc-pregmod
Commits
a3d89ad0
Commit
a3d89ad0
authored
7 years ago
by
pregmodfan
Browse files
Options
Downloads
Plain Diff
Merge branch 'pregmod-master' into 'pregmod-master'
Pregmod v1003-110 See merge request
!181
parents
220e6bd2
dc26428f
Branches
Branches containing commit
Tags
Tags containing commit
4 merge requests
!843
Delete Please.
,
!833
Pregmod master
,
!758
Pregmod master
,
!181
Pregmod v1003-110
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/uncategorized/randomNonindividualEvent.tw
+1
-1
1 addition, 1 deletion
src/uncategorized/randomNonindividualEvent.tw
src/utility/assignWidgets.tw
+9
-0
9 additions, 0 deletions
src/utility/assignWidgets.tw
with
10 additions
and
1 deletion
src/uncategorized/randomNonindividualEvent.tw
+
1
−
1
View file @
a3d89ad0
...
@@ -77,7 +77,7 @@
...
@@ -77,7 +77,7 @@
<<if ($slaves[$i].daughters > 0)>>
<<if ($slaves[$i].daughters > 0)>>
<<if ($slaves[$i].devotion > 50)>>
<<if ($slaves[$i].devotion > 50)>>
<<set $mother = $slaves[$i]>>
<<set $mother = $slaves[$i]>>
<<set $daughter =
R
andomDaughter($slaves[$i])>>
<<set $daughter =
r
andomDaughter($slaves[$i])>>
<<if ($daughter.devotion > 50)>>
<<if ($daughter.devotion > 50)>>
<<if canWalk($daughter)>>
<<if canWalk($daughter)>>
<<if canWalk($mother)>>
<<if canWalk($mother)>>
...
...
This diff is collapsed.
Click to expand it.
src/utility/assignWidgets.tw
+
9
−
0
View file @
a3d89ad0
...
@@ -92,6 +92,7 @@
...
@@ -92,6 +92,7 @@
/% use .toLowerCase() to get rid of a few dupe conditions. %/
/% use .toLowerCase() to get rid of a few dupe conditions. %/
<<switch $args[1].toLowerCase()>>
<<switch $args[1].toLowerCase()>>
<<case "clinic" "get treatment in the clinic">>
<<case "clinic" "get treatment in the clinic">>
<<if _wID == $Nurse.ID>><<set $Nurse = 0>><</if>>
<<set _Tcount = $CliniciIDs.length>>
<<set _Tcount = $CliniciIDs.length>>
<<for _wi = 0; _wi < _Tcount; _wi++>>
<<for _wi = 0; _wi < _Tcount; _wi++>>
<<if _wID == $CliniciIDs[_wi].ID>>
<<if _wID == $CliniciIDs[_wi].ID>>
...
@@ -100,6 +101,7 @@
...
@@ -100,6 +101,7 @@
<</if>>
<</if>>
<</for>>
<</for>>
<<case "schoolroom" "learn in the schoolroom">>
<<case "schoolroom" "learn in the schoolroom">>
<<if _wID == $Schoolteacher.ID>><<set $Schoolteacher = 0>><</if>>
<<set _Tcount = $SchlRiIDs.length>>
<<set _Tcount = $SchlRiIDs.length>>
<<for _wi = 0; _wi < _Tcount; _wi++>>
<<for _wi = 0; _wi < _Tcount; _wi++>>
<<if _wID == $SchlRiIDs[_wi].ID>>
<<if _wID == $SchlRiIDs[_wi].ID>>
...
@@ -108,6 +110,7 @@
...
@@ -108,6 +110,7 @@
<</if>>
<</if>>
<</for>>
<</for>>
<<case "spa" "rest in the spa">>
<<case "spa" "rest in the spa">>
<<if _wID == $Attendant.ID>><<set $Attendant = 0>><</if>>
<<set _Tcount = $SpaiIDs.length>>
<<set _Tcount = $SpaiIDs.length>>
<<for _wi = 0; _wi < _Tcount; _wi++>>
<<for _wi = 0; _wi < _Tcount; _wi++>>
<<if _wID == $SpaiIDs[_wi].ID>>
<<if _wID == $SpaiIDs[_wi].ID>>
...
@@ -116,6 +119,7 @@
...
@@ -116,6 +119,7 @@
<</if>>
<</if>>
<</for>>
<</for>>
<<case "cellblock" "be confined in the cellblock">>
<<case "cellblock" "be confined in the cellblock">>
<<if _wID == $Wardeness.ID>><<set $Wardeness = 0>><</if>>
<<set _Tcount = $CellBiIDs.length>>
<<set _Tcount = $CellBiIDs.length>>
<<for _wi = 0; _wi < _Tcount; _wi++>>
<<for _wi = 0; _wi < _Tcount; _wi++>>
<<if _wID == $CellBiIDs[_wi].ID>>
<<if _wID == $CellBiIDs[_wi].ID>>
...
@@ -132,6 +136,7 @@
...
@@ -132,6 +136,7 @@
<</if>>
<</if>>
<</for>>
<</for>>
<<case "brothel" "work in the brothel">>
<<case "brothel" "work in the brothel">>
<<if _wID == $Madam.ID>><<set $Madam = 0>><</if>>
<<set _Tcount = $BrothiIDs.length>>
<<set _Tcount = $BrothiIDs.length>>
<<for _wi = 0; _wi < _Tcount; _wi++>>
<<for _wi = 0; _wi < _Tcount; _wi++>>
<<if _wID == $BrothiIDs[_wi].ID>>
<<if _wID == $BrothiIDs[_wi].ID>>
...
@@ -140,6 +145,7 @@
...
@@ -140,6 +145,7 @@
<</if>>
<</if>>
<</for>>
<</for>>
<<case "club" "serve in the club">>
<<case "club" "serve in the club">>
<<if _wID == $DJ.ID>><<set $DJ = 0>><</if>>
<<set _Tcount = $ClubiIDs.length>>
<<set _Tcount = $ClubiIDs.length>>
<<for _wi = 0; _wi < _Tcount; _wi++>>
<<for _wi = 0; _wi < _Tcount; _wi++>>
<<if _wID == $ClubiIDs[_wi].ID>>
<<if _wID == $ClubiIDs[_wi].ID>>
...
@@ -148,6 +154,7 @@
...
@@ -148,6 +154,7 @@
<</if>>
<</if>>
<</for>>
<</for>>
<<case "dairy" "work in the dairy">>
<<case "dairy" "work in the dairy">>
<<if _wID == $Milkmaid.ID>><<set $Milkmaid = 0>><</if>>
<<set _Tcount = $DairyiIDs.length>>
<<set _Tcount = $DairyiIDs.length>>
<<for _wi = 0; _wi < _Tcount; _wi++>>
<<for _wi = 0; _wi < _Tcount; _wi++>>
<<if _wID == $DairyiIDs[_wi].ID>>
<<if _wID == $DairyiIDs[_wi].ID>>
...
@@ -164,6 +171,7 @@
...
@@ -164,6 +171,7 @@
<</if>>
<</if>>
<</for>>
<</for>>
<<case "servantsquarters" "servants' quarters" "work as a servant">>
<<case "servantsquarters" "servants' quarters" "work as a servant">>
<<if _wID == $Stewardess.ID>><<set $Stewardess = 0>><</if>>
<<set _Tcount = $ServQiIDs.length>>
<<set _Tcount = $ServQiIDs.length>>
<<for _wi = 0; _wi < _Tcount; _wi++>>
<<for _wi = 0; _wi < _Tcount; _wi++>>
<<if _wID == $ServQiIDs[_wi].ID>>
<<if _wID == $ServQiIDs[_wi].ID>>
...
@@ -172,6 +180,7 @@
...
@@ -172,6 +180,7 @@
<</if>>
<</if>>
<</for>>
<</for>>
<<case "mastersuite" "master suite" "serve in the master suite">>
<<case "mastersuite" "master suite" "serve in the master suite">>
<<if _wID == $Concubine.ID>><<set $Concubine = 0>><</if>>
<<set _Tcount = $MastSiIDs.length>>
<<set _Tcount = $MastSiIDs.length>>
<<for _wi = 0; _wi < _Tcount; _wi++>>
<<for _wi = 0; _wi < _Tcount; _wi++>>
<<if _wID == $MastSiIDs[_wi].ID>>
<<if _wID == $MastSiIDs[_wi].ID>>
...
...
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