Skip to content
Snippets Groups Projects
Commit 677ee7dd authored by DCoded's avatar DCoded
Browse files

Added lipofilling option to surgery

parent f5271a4d
No related branches found
No related tags found
1 merge request!11106Tweaks
...@@ -61,3 +61,18 @@ App.Medicine.Surgery.Procedures.WaistReduction = class extends App.Medicine.Surg ...@@ -61,3 +61,18 @@ App.Medicine.Surgery.Procedures.WaistReduction = class extends App.Medicine.Surg
return this._assemble(new App.Medicine.Surgery.Reactions.Waist()); return this._assemble(new App.Medicine.Surgery.Reactions.Waist());
} }
}; };
App.Medicine.Surgery.Procedures.WaistExpansion = class extends App.Medicine.Surgery.Procedure {
get name() {
return "Lipofilling";
}
get healthCost() {
return 10;
}
apply(cheat) {
this._slave.waist += 20;
return this._assemble(new App.Medicine.Surgery.Reactions.Waist());
}
};
...@@ -378,9 +378,14 @@ App.UI.surgeryPassageUpper = function(slave, refresh, cheat = false) { ...@@ -378,9 +378,14 @@ App.UI.surgeryPassageUpper = function(slave, refresh, cheat = false) {
App.Events.addNode(el, r, "div"); App.Events.addNode(el, r, "div");
if (slave.waist >= -75) { if (slave.waist >= -75) {
if (slave.indentureRestrictions < 2) { if (slave.indentureRestrictions < 2) {
linkArray.push(App.Medicine.Surgery.makeLink( linkArray.push(
new App.Medicine.Surgery.Procedures.WaistReduction(slave), App.Medicine.Surgery.makeLink(
refresh, cheat)); new App.Medicine.Surgery.Procedures.WaistReduction(slave),
refresh, cheat),
App.Medicine.Surgery.makeLink(
new App.Medicine.Surgery.Procedures.WaistExpansion(slave),
refresh, cheat),
);
} }
} }
if (slave.waist >= -95 && slave.waist < -75 && V.seeExtreme === 1) { if (slave.waist >= -95 && slave.waist < -75 && V.seeExtreme === 1) {
......
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