From 50570aa6774e0c0ed6ce1ab60dd28e4394789ae4 Mon Sep 17 00:00:00 2001 From: pregmodfan <pregmodfan@cock.li> Date: Mon, 29 Oct 2018 14:03:26 +0200 Subject: [PATCH] black market PG hack --- src/init/storyInit.tw | 3 ++- src/pregmod/theBlackMarket.tw | 28 +++++++++++++++++++++ src/uncategorized/BackwardsCompatibility.tw | 4 +++ 3 files changed, 34 insertions(+), 1 deletion(-) diff --git a/src/init/storyInit.tw b/src/init/storyInit.tw index 82fd355cbc7..f16808347da 100644 --- a/src/init/storyInit.tw +++ b/src/init/storyInit.tw @@ -1434,9 +1434,10 @@ erectileImplant: 0 } >> <<set $merchantFSWares = ["GenderRadicalistResearch", "TransformationFetishistResearch", "AssetExpansionistResearch", "SlimnessEnthusiastResearch", "YouthPreferentialistResearch", "HedonisticDecadenceResearch"]>> -<<set $merchantIllegalWares = ["childhoodFertilityInducedNCS", "UterineRestraintMesh", "RapidCellGrowthFormula"]>> +<<set $merchantIllegalWares = ["childhoodFertilityInducedNCS", "UterineRestraintMesh", "RapidCellGrowthFormula", "PGHack"]>> <<set $RapidCellGrowthFormula = 0>> <<set $UterineRestraintMesh = 0>> +<<set $PGHack = 0>> <<if ndef $PC.hacking>> <<set $PC.hacking = 0>> diff --git a/src/pregmod/theBlackMarket.tw b/src/pregmod/theBlackMarket.tw index 99d507d4fb8..adcc50e5e13 100644 --- a/src/pregmod/theBlackMarket.tw +++ b/src/pregmod/theBlackMarket.tw @@ -211,6 +211,34 @@ Of all the wonders present, the thing that catches your eye the most is a shady <<set _dump = $merchantIllegalWares.delete("UterineRestraintMesh")>> <</if>> <</if>> + <<if $thisWeeksIllegalWares[_bim] == "PGHack">> + <br> + <<if $PGHack == 0>> + <<if $seePreg == 1>> + <<if $ImplantProductionUpgrade == 1>> + <<if $surgeryUpgrade == 1>> + <<if $cash >= 20000>> + [[Purchase material about broodmother's implant firmware|The Black Market][$cash -= 20000, $PGHack = 1, _dump = $merchantIllegalWares.delete("PGHack")]] //@@.yellowgreen;<<print cashFormat(20000)>>.@@// + <<else>> + You cannot afford the asking price of @@.red;<<print cashFormat(20000)>>@@ for a broodmoter's implant firmware data. + <</if>> + "I might have something for you, if intersted. Some time ago one illegal hacker manage to crack firmware of broodmother implant and found how to manipulate it through monitoring radio chanal. In first place his work is about to make revenge of one arcology owner who loved concubine have this implant, but this plan failed as it can't be make hidden - to send something in implant you need to be very close to it. Literary you need special actuator inserted in the vagina up to the cervix. And you need remote surgery in case of instant problem to stop and revert immediate birth process. But anyway, hack is exist, and if applied as required it can interfere with original logic of implant, forcing it to release more then one ova every week. Originally hacker make it about dozen, but after we tweaked his initial code, now it will be just two or three ova. You will get all needed data and schematic for autosurgery upgrade." + <<else>> + The autosurgery lacks the needed actuators, so you can't install hack complex before it will been upgraded. + <</if>> + <<else>> + You lack the facilities needed to produce something this complex, so production of broodmother implant hack complex is out of your reach. + <</if>> + <<else>> + You have no interest in research to support pregnancy. + <<set _dump = $merchantIllegalWares.delete("PGHack")>> + <</if>> + <<else>> + You already possess broodmother's implant hack. + <<set _dump = $merchantIllegalWares.delete("PGHack")>> + <</if>> + <</if>> + <<if $thisWeeksIllegalWares[_bim] == "RapidCellGrowthFormula">> <br> <<if $geneticMappingUpgrade == 0>> diff --git a/src/uncategorized/BackwardsCompatibility.tw b/src/uncategorized/BackwardsCompatibility.tw index 0331da78154..707b8d8fb28 100644 --- a/src/uncategorized/BackwardsCompatibility.tw +++ b/src/uncategorized/BackwardsCompatibility.tw @@ -977,6 +977,7 @@ <<set $merchantIllegalWares.push("childhoodFertilityInducedNCS")>> <<set $merchantIllegalWares.push("UterineRestraintMesh")>> <<set $merchantIllegalWares.push("RapidCellGrowthFormula")>> + <<set $merchantIllegalWares.push("PGHack")>> <</if>> <<if ndef $arcologies[0].childhoodFertilityInducedNCSResearch>> <<set $arcologies[0].childhoodFertilityInducedNCSResearch = 0>> @@ -990,6 +991,9 @@ <<if ndef $RapidCellGrowthFormula>> <<set $RapidCellGrowthFormula = 0>> <</if>> +<<if ndef $PGHack>> + <<set $PGHack = 0>> +<</if>> <<if ndef $showInches>> <<set $showInches = 0>> <</if>> -- GitLab