Skip to content
Snippets Groups Projects
Commit 143f996b authored by pregmodfan's avatar pregmodfan
Browse files

debug functions for JS console info and alert() pop-up use, and some RA interface tweaks

parent 470bc013
No related branches found
No related tags found
2 merge requests!843Delete Please.,!783RA assigment and facility check fixes with minor UI improvment.
...@@ -994,4 +994,14 @@ window.nippleColor = function(slave) { ...@@ -994,4 +994,14 @@ window.nippleColor = function(slave) {
return 'brown'; return 'brown';
} }
} }
} }
\ No newline at end of file
window.jsAlert = function(obj)
{
alert(obj);
}
window.jsConsoleInfo = function(obj)
{
console.info(obj);
}
...@@ -1185,12 +1185,12 @@ Contraceptives for fertile slaves: ...@@ -1185,12 +1185,12 @@ Contraceptives for fertile slaves:
<br> <br>
<<if $pregSpeedControl > 0 >> <<if $pregSpeedControl > 0 >>
Pregnancy control agents for pregnant slaves: <span id = "pregSpeedControl"></span> Pregnancy control agents for pregnant slaves: <span id = "pregSpeedControl"></span>
No changes <<rbutton "$currentRule.pregSpeed" "nds">> | <<rbutton "$currentRule.pregSpeed" "nds">> No changes |
None <<rbutton "$currentRule.pregSpeed" "none">> | <<rbutton "$currentRule.pregSpeed" "none">> None |
Fast gestation <<rbutton "$currentRule.pregSpeed" "fast">> | <<rbutton "$currentRule.pregSpeed" "fast">> Fast gestation |
Slow gestation <<rbutton "$currentRule.pregSpeed" "slow">> | <<rbutton "$currentRule.pregSpeed" "slow">> Slow gestation |
Birth supressors <<rbutton "$currentRule.pregSpeed" "supress">> | <<rbutton "$currentRule.pregSpeed" "supress">> Birth supressors |
Birth stimulators <<rbutton "$currentRule.pregSpeed" "stimulate">> <<rbutton "$currentRule.pregSpeed" "stimulate">> Birth stimulators
<br> <br>
<</if>> <</if>>
......
...@@ -610,6 +610,20 @@ ...@@ -610,6 +610,20 @@
<<RANormalizeAssignments "excludeAssignment">> <<RANormalizeAssignments "excludeAssignment">>
<</link>> <</link>>
<</if>> <</if>>
|
<<link "Exclude all">>
<<set $currentRule.excludeAssignment.push("work a glory hole")>>
<<set $currentRule.excludeAssignment.push("get milked")>>
<<set $currentRule.excludeAssignment.push("take classes")>>
<<set $currentRule.excludeAssignment.push("serve the public")>>
<<set $currentRule.excludeAssignment.push("whore")>>
<<set $currentRule.excludeAssignment.push("stay confined")>>
<<set $currentRule.excludeAssignment.push("be a servant")>>
<<set $currentRule.excludeAssignment.push("be a subordinate slave")>>
<<set $currentRule.excludeAssignment.push("please you")>>
<<set $currentRule.excludeAssignment.push("rest")>>
<<RANormalizeAssignments "excludeAssignment">>
<</link>>
<</replace>> <</replace>>
<</widget>> <</widget>>
...@@ -987,6 +1001,21 @@ ...@@ -987,6 +1001,21 @@
<</link>> <</link>>
<</if>> <</if>>
<</if>> <</if>>
|
<<link "Exclude all">>
<<set $currentRule.excludeFacility.push("be confined in the cellblock")>>
<<set $currentRule.excludeFacility.push("get treatment in the clinic")>>
<<set $currentRule.excludeFacility.push("rest in the spa")>>
<<set $currentRule.excludeFacility.push("learn in the schoolroom")>>
<<set $currentRule.excludeFacility.push("serve in the master suite")>>
<<set $currentRule.excludeFacility.push("work as a servant")>>
<<set $currentRule.excludeFacility.push("work in the dairy")>>
<<set $currentRule.excludeFacility.push("be confined in the arcade")>>
<<set $currentRule.excludeFacility.push("serve in the club")>>
<<set $currentRule.excludeFacility.push("work in the brothel")>>
<<set $currentRule.excludeFacility.push("live with your Head Girl")>>
<<RANormalizeAssignments "excludeFacility">>
<</link>>
<</if>> <</if>>
<</replace>> <</replace>>
<</widget>> <</widget>>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment