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
debf97cb
Commit
debf97cb
authored
6 years ago
by
Pregmodder
Browse files
Options
Downloads
Plain Diff
Merge branch 'fixes' into 'pregmod-master'
Fixes and condensing Closes
#379
See merge request
!3136
parents
e04d4849
e33c00f5
No related branches found
No related tags found
1 merge request
!3136
Fixes and condensing
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/SecExp/secBarracks.tw
+21
-96
21 additions, 96 deletions
src/SecExp/secBarracks.tw
src/utility/descriptionWidgets.tw
+2
-2
2 additions, 2 deletions
src/utility/descriptionWidgets.tw
with
23 additions
and
98 deletions
src/SecExp/secBarracks.tw
+
21
−
96
View file @
debf97cb
...
@@ -191,35 +191,12 @@ You are free to organize your menial slaves into fighting units. Currently you h
...
@@ -191,35 +191,12 @@ You are free to organize your menial slaves into fighting units. Currently you h
<<if $helots > 0 && $activeUnits < $maxUnits>>
<<if $helots > 0 && $activeUnits < $maxUnits>>
<br>
<br>
<<link "Form a new unit" "secBarracks">>
<<link "Form a new unit" "secBarracks">>
<<set _name = "<<= ordinalSuffix($createdSlavesUnits+1)>> slave platoon">>
<<set _newUnit = {
<<if $helots >= $maxTroops>>
<<set _newUnit = {
ID: 0,
platoonName: _name,
active: 1,
isDeployed: 0,
troops: $maxTroops,
maxTroops: $maxTroops,
equip: 0,
training: 0,
loyalty: random(40,60),
cyber: 0,
medics: 0,
SF: 0,
commissars: 0,
battlesFought: 0}>>
<<generateUnitID _newUnit>>
<<set $slaveUnits.push(_newUnit)>>
<<set $helots -= 30>>
<<set $slavesEmployedManpower += 30>>
<<set $createdSlavesUnits++>>
<<else>>
<<set _newUnit = {
ID: 0,
ID: 0,
platoonName:
_name
,
platoonName:
ordinalSuffix(++$createdSlavesUnits) + " slave platoon"
,
active: 1,
active: 1,
isDeployed: 0,
isDeployed: 0,
troops: $helots,
troops:
Math.min($maxTroops,
$helots
)
,
maxTroops: $maxTroops,
maxTroops: $maxTroops,
equip: 0,
equip: 0,
training: 0,
training: 0,
...
@@ -229,12 +206,10 @@ You are free to organize your menial slaves into fighting units. Currently you h
...
@@ -229,12 +206,10 @@ You are free to organize your menial slaves into fighting units. Currently you h
SF: 0,
SF: 0,
commissars: 0,
commissars: 0,
battlesFought: 0}>>
battlesFought: 0}>>
<<generateUnitID _newUnit>>
<<generateUnitID _newUnit>>
<<set $slaveUnits.push(_newUnit)>>
<<set $slaveUnits.push(_newUnit)>>
<<set $slavesEmployedManpower += _newUnit.troops>>
<<set $helots -= _newUnit.troops>>
<<set $helots = 0>>
<<set $slavesEmployedManpower += _newUnit.troops>>
<<set $createdSlavesUnits++>>
<</if>>
<<set $activeUnits++>>
<<set $activeUnits++>>
<</link>>
<</link>>
<</if>>
<</if>>
...
@@ -333,35 +308,12 @@ __Militia__
...
@@ -333,35 +308,12 @@ __Militia__
<<if $militiaFreeManpower > 0 && $activeUnits < $maxUnits>>
<<if $militiaFreeManpower > 0 && $activeUnits < $maxUnits>>
<br>
<br>
<<link "Form a new unit" "secBarracks">>
<<link "Form a new unit" "secBarracks">>
<<set _name = "<<= ordinalSuffix($createdMilitiaUnits+1)>> citizens' platoon">>
<<set _newUnit = {
<<if $militiaFreeManpower >= $maxTroops>>
<<set _newUnit = {
ID: 0,
platoonName: _name,
active: 1,
isDeployed: 0,
troops: $maxTroops,
maxTroops: $maxTroops,
equip: 0,
training: 0,
loyalty: random(40,60),
cyber: 0,
medics: 0,
SF: 0,
commissars: 0,
battlesFought: 0}>>
<<generateUnitID _newUnit>>
<<set $militiaUnits.push(_newUnit)>>
<<set $militiaFreeManpower -= 30>>
<<set $militiaEmployedManpower += 30>>
<<set $createdMilitiaUnits++>>
<<else>>
<<set _newUnit = {
ID: 0,
ID: 0,
platoonName:
_name
,
platoonName:
ordinalSuffix(++$createdMilitiaUnits) + " citizens' platoon"
,
active: 1,
active: 1,
isDeployed: 0,
isDeployed: 0,
troops: $militiaFreeManpower,
troops:
Math.min($maxTroops,
$militiaFreeManpower
)
,
maxTroops: $maxTroops,
maxTroops: $maxTroops,
equip: 0,
equip: 0,
training: 0,
training: 0,
...
@@ -371,12 +323,10 @@ __Militia__
...
@@ -371,12 +323,10 @@ __Militia__
SF: 0,
SF: 0,
commissars: 0,
commissars: 0,
battlesFought: 0}>>
battlesFought: 0}>>
<<generateUnitID _newUnit>>
<<generateUnitID _newUnit>>
<<set $militiaUnits.push(_newUnit)>>
<<set $militiaUnits.push(_newUnit)>>
<<set $militiaEmployedManpower += _newUnit.troops>>
<<set $militiaFreeManpower -= _newUnit.troops>>
<<set $militiaFreeManpower = 0>>
<<set $militiaEmployedManpower += _newUnit.troops>>
<<set $createdMilitiaUnits++>>
<</if>>
<<set $activeUnits++>>
<<set $activeUnits++>>
<</link>>
<</link>>
<</if>>
<</if>>
...
@@ -475,35 +425,12 @@ __Mercenaries__
...
@@ -475,35 +425,12 @@ __Mercenaries__
<<if $mercFreeManpower > 0 && $activeUnits < $maxUnits>>
<<if $mercFreeManpower > 0 && $activeUnits < $maxUnits>>
<br>
<br>
<<link "Form a new unit" "secBarracks">>
<<link "Form a new unit" "secBarracks">>
<<set _name = "<<= ordinalSuffix($createdMercUnits+1)>> mercenary platoon">>
<<set _newUnit = {
<<if $mercFreeManpower >= $maxTroops>>
<<set _newUnit = {
ID: 0,
platoonName: _name,
active: 1,
isDeployed: 0,
troops: $maxTroops,
maxTroops: $maxTroops,
equip: 0,
training: 0,
loyalty: random(40,60),
cyber: 0,
medics: 0,
SF: 0,
commissars: 0,
battlesFought: 0}>>
<<generateUnitID _newUnit>>
<<set $mercUnits.push(_newUnit)>>
<<set $mercFreeManpower -= 30>>
<<set $mercEmployedManpower += 30>>
<<set $createdMercUnits++>>
<<else>>
<<set _newUnit = {
ID: 0,
ID: 0,
platoonName:
_name
,
platoonName:
ordinalSuffix(++$createdMercUnits) + " mercenary platoon"
,
active: 1,
active: 1,
isDeployed: 0,
isDeployed: 0,
troops: $mercFreeManpower,
troops:
Math.min($maxTroops,
$mercFreeManpower
)
,
maxTroops: $maxTroops,
maxTroops: $maxTroops,
equip: 0,
equip: 0,
training: 0,
training: 0,
...
@@ -513,12 +440,10 @@ __Mercenaries__
...
@@ -513,12 +440,10 @@ __Mercenaries__
SF: 0,
SF: 0,
commissars: 0,
commissars: 0,
battlesFought: 0}>>
battlesFought: 0}>>
<<generateUnitID _newUnit>>
<<generateUnitID _newUnit>>
<<set $mercUnits.push(_newUnit)>>
<<set $mercUnits.push(_newUnit)>>
<<set $mercEmployedManpower += _newUnit.troops>>
<<set $mercFreeManpower -= _newUnit.troops>>
<<set $mercFreeManpower = 0>>
<<set $mercEmployedManpower += _newUnit.troops>>
<<set $createdMercUnits++>>
<</if>>
<<set $activeUnits++>>
<<set $activeUnits++>>
<</link>>
<</link>>
<</if>>
<</if>>
...
...
This diff is collapsed.
Click to expand it.
src/utility/descriptionWidgets.tw
+
2
−
2
View file @
debf97cb
...
@@ -370,7 +370,7 @@
...
@@ -370,7 +370,7 @@
<<print "You brought $him into the arcology mindbroken, little more than a walking collection of fuckable holes.">>
<<print "You brought $him into the arcology mindbroken, little more than a walking collection of fuckable holes.">>
<<case "You brought her into the arcology mindbroken, little more than a human onahole.">>
<<case "You brought her into the arcology mindbroken, little more than a human onahole.">>
<<print "You brought $him into the arcology mindbroken, little more than a human onahole.">>
<<print "You brought $him into the arcology mindbroken, little more than a human onahole.">>
/*dSlavesDatabase origins*/
/%
/*dSlavesDatabase origins*/
"She is a former maid with an unsettling obsessive streak."
"She is a former maid with an unsettling obsessive streak."
"She grew up sheltered and submissive, making her an easy target for enslavement."
"She grew up sheltered and submissive, making her an easy target for enslavement."
"She is a former mercenary that ended up on a losing side in the byzantine Free City power games."
"She is a former mercenary that ended up on a losing side in the byzantine Free City power games."
...
@@ -480,7 +480,7 @@
...
@@ -480,7 +480,7 @@
"She offered herself to you for enslavement because she had a disgustingly naive view of medieval Japanese culture."
"She offered herself to you for enslavement because she had a disgustingly naive view of medieval Japanese culture."
"She offered herself to you for enslavement because she thought your harem her best hope for good treatment."
"She offered herself to you for enslavement because she thought your harem her best hope for good treatment."
"She offered herself to you for enslavement because she thought she would have prospects of advancement among your slaves."
"She offered herself to you for enslavement because she thought she would have prospects of advancement among your slaves."
%/
<<default>>
<<default>>
<<print $args[0].origin>>
<<print $args[0].origin>>
<</switch>>
<</switch>>
...
...
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