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
8fdeb714
Commit
8fdeb714
authored
7 years ago
by
vas
Browse files
Options
Downloads
Patches
Plain Diff
more RAO work
parent
1d7df8e7
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/js/rulesAssistantOptions.tw
+84
-6
84 additions, 6 deletions
src/js/rulesAssistantOptions.tw
with
84 additions
and
6 deletions
src/js/rulesAssistantOptions.tw
+
84
−
6
View file @
8fdeb714
...
...
@@ -851,6 +851,7 @@ window.rulesAssistantOptions = (function() {
this.appendChild(new GeldingHormonesList())
this.appendChild(new OtherDrugsList())
this.appendChild(new DietList())
this.appendChild(new DietGrowthList())
this.appendChild(new DietBaseList())
this.appendChild(new MuscleList())
this.appendChild(new BraceList())
...
...
@@ -1468,20 +1469,97 @@ window.rulesAssistantOptions = (function() {
}
}
class DietList {
class DietList
extends List
{
constructor() {
super("Slave diets")
[
const diets =
[
["no default setting", "no default setting"],
["Fix fat and skinny slaves", "fix fat and skinny slaves", "attractive"],
["Curvy", "Curvy", 30],
["Average", "Average", 0],
["Thin", "Thin", -30]
].forEach(pair => this.appendChild(new ListItem(...pair)))
["Curvy", "curvy", 30],
["Average", "average", 0],
["Thin", "thin", -30]
]
if (V.feeder === 1) {
diets.push(
["Feminine", "feminine", "XX"],
["Masculine", "masculine", "XY"]
)
if (V.dietXXY === 1)
diets.push(["Futanari", "futanari", "XXY"])
}
if (V.dietCleanse === 1)
diets.push(["Cleansing", "promote health", "cleansing"])
if (V.dietFertility === 1)
diets.push(["Feritlity", "promote fertility", "fertility"])
if (V.cumProDiet === 1)
diets.push(["Cum production", "promote cum production", "cum production"])
diets.forEach(pair => this.appendChild(new ListItem(...pair)))
this.selectValue(V.currentRule.set.diet)
this.onchange = (label, value) => V.currentRule.set.diet = value
}
}
class DietGrowthList extends List {
constructor() {
super("Diet support for growth drugs")
[
["On", "On", 1],
["Off", "Off", 0]
].forEach(i => this.appendChild(new ListItem(...i)))
this.selectValue(V.currentRule.set.dietGrowthSupport)
this.onchange = (label, value) => V.currentRule.set.dietGrowthSupport = value
}
}
class DietBaseList extends List {
constructor() {
super("Diet base")
// TODO: better data structure?
[
["No default setting", "No default setting", {cum: "no default setting", milk: "no default setting"}],
["Normal Diet", "Normal Diet", {cum: 0, milk: 0}],
["Cum Added", "Cum Added", {cum: 1, milk: 0}],
["Milk Added", "Milk Added", {cum: 0, milk: 1}],
["Cum & Milk Added", "Cum & Milk Added", {cum: 1, milk: 1}],
["Cum-Based", "Cum-Based", {cum: 2, milk: 0}]
["Milk-Based", "Milk-Based", {cum: 0, milk: 2}]
].forEach(pair => this.appendChild(new ListItem(...pair)))
this.selectValue({cum: V.currentRule.set.dietCum, milk: V.currentRule.set.dietMilk})
this.onchange = (label, value) => {
V.currentRule.set.dietCum = value.cum
V.currentRule.set.dietMilk = value.milk
}
}
}
class MuscleList extends List {
constructor() {
super("Muscles", true)
[
["No default setting", "no default setting"],
["None", "None", 0],
["Toned", "Toned", 20],
["Ripped", "Ripped", 50],
["Massive", "Massive", 100],
["Weak", "Weak", -20]
].forEach(pair => this.appendChild(new ListItem(...pair)))
this.setValue(V.currentRule.set.muscles)
this.onchange = (label, value) => V.currentRule.set.muscles = value
}
}
class BraceList extends List {
constructor() {
super("Braces")
[
["No default setting", "no default setting"],
["None", "none"],
["Straighten", "straighten"],
["Universal", "universal"]
].forEach(pair => this.appendChild(new ListItem(...pair)))
this.onchange = (label, value) => V.currentRule.set.teeth = value
}
}
return rulesAssistantOptions
})()
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