From 01df38492bfec32ec655917bc0434efba57dce20 Mon Sep 17 00:00:00 2001 From: lowercasedonkey <lowercasedonkey@gmail.com> Date: Wed, 4 Mar 2020 21:03:53 -0500 Subject: [PATCH] constructs --- src/interaction/budgets/recordTemplates.js | 165 ++++++++++++++++++++ src/uncategorized/costsWidgets.tw | 173 --------------------- 2 files changed, 165 insertions(+), 173 deletions(-) create mode 100644 src/interaction/budgets/recordTemplates.js diff --git a/src/interaction/budgets/recordTemplates.js b/src/interaction/budgets/recordTemplates.js new file mode 100644 index 00000000000..764571c1ae0 --- /dev/null +++ b/src/interaction/budgets/recordTemplates.js @@ -0,0 +1,165 @@ +App.Data.Records = {}; + +App.Data.Records.LastWeeksCash = function() { + this.whore = 0, + this.whoreBrothel = 0, + this.rest = 0, + this.houseServant = 0, + this.confined = 0, + this.publicServant = 0, + this.classes = 0, + this.milked = 0, + this.milkedDairy = 0, + this.extraMilk = 0, // milk from slaves doing other things + this.gloryhole = 0, + this.gloryholeArcade = 0, + this.porn = 0, + this.recruiter = 0, + // Slaves in general + this.fuckdolls = 0, + this.menialTrades = 0, + this.menialBioreactors = 0, + + this.slaveTransfer = 0, + this.fuckdollsTransfer = 0, + this.menialTransfer = 0, + this.menialBioreactorsTransfer = 0, + this.babyTransfer = 0, + this.menialRetirement = 0, + + this.slaveMod = 0, + this.slaveSurgery = 0, + this.slaveUpkeep = 0, + this.birth = 0, + + // Buildings + this.lab = 0, + this.brothel = 0, + this.brothelAds = 0, + this.club = 0, + this.clubAds = 0, + this.arcade = 0, + this.dairy = 0, + this.servantsQuarters = 0, + this.masterSuite = 0, + this.school = 0, + this.spa = 0, + this.clinic = 0, + this.cellblock = 0, + this.incubator = 0, + this.nursery = 0, + this.farmyard = 0, + this.pit = 0, + + this.environment = 0, + this.weather = 0, + + this.mercenaries = 0, + this.peacekeepers = 0, + this.specialForces = 0, + this.securityExpansion = 0, + + this.citizenOrphanage = 0, + this.privateOrphanage = 0, + + this.capEx = 0, + this.futureSocieties = 0, + this.schoolBacking = 0, + this.policies = 0, + this.edicts = 0, + + // Personal Finance + this.personalBusiness = 0, + this.personalLivingExpenses = 0, + this.PCtraining = 0, + this.PCmedical = 0, + this.PCskills = 0, + this.stocksTraded = 0, // trading + this.stocks = 0, // share growth + this.fines = 0, + this.event = 0, // poker night etc. Try to file things elsewhere if you can. + this.war = 0, + + this.rents = 0, + + this.cheating = 0, + this.total = 0; +}; + +App.Data.Records.setupLastWeeksCash = function() { + V.lastWeeksCashIncome = new App.Data.Records.LastWeeksCash(); + V.lastWeeksCashExpenses = new App.Data.Records.LastWeeksCash(); + V.lastWeeksCashProfits = new App.Data.Records.LastWeeksCash(); +}; + + +App.Data.Records.LastWeeksRep = function() { + // Slave Jobs + this.fucktoy = 0, + this.publicServant = 0, + this.gloryholeArcade = 0, + this.gloryhole = 0, + + this.concubine = 0, + this.headGirl = 0, + this.bodyguard = 0, + this.recruiter = 0, + + // Slaves in general + this.fuckdolls = 0, + this.slaveTransfer = 0, + this.babyTransfer = 0, + this.birth = 0, + this.retirement = 0, + this.slavesViewOfPC = 0, + this.prestigiousSlave = 0, + this.vignette = 0, + this.porn = 0, + + // Buildings + this.arcade = 0, + this.brothel = 0, + this.club = 0, + this.publicServantClub = 0, + this.clubAds = 0, + this.pit = 0, + this.servantsQuarters = 0, + this.spa = 0, + + this.architecture = 0, + + // Policies + this.capEx = 0, + this.futureSocieties = 0, + this.policies = 0, + this.edicts = 0, + this.war = 0, + this.food = 0, + + // Forces + this.peacekeepers = 0, + this.specialForces = 0, + this.securityExpansion = 0, + + // Personal Finance + this.personalBusiness = 0, + this.PCappearance = 0, + this.PCactions = 0, // actions involving your body = becoming pregnant, etc. + this.PCRelationships = 0, + this.SlaveRelationships = 0, + this.event = 0, // poker night etc. Try to file things elsewhere if you can. + this.war = 0, + + // special + this.multiplier = 0, + this.overflow = 0, + this.cheating = 0, + + this.total = 0; +}; + +App.Data.Records.setupLastWeeksRep = function() { + V.lastWeeksRepIncome = new App.Data.Records.LastWeeksRep(); + V.lastWeeksRepExpenses = new App.Data.Records.LastWeeksRep(); + V.lastWeeksRepProfits = new App.Data.Records.LastWeeksRep(); +}; diff --git a/src/uncategorized/costsWidgets.tw b/src/uncategorized/costsWidgets.tw index 5aeede15d96..5b69bd2fa6c 100644 --- a/src/uncategorized/costsWidgets.tw +++ b/src/uncategorized/costsWidgets.tw @@ -143,176 +143,3 @@ </div> <</if>> <</widget>> - -<<widget "setupLastWeeksCash">> -/* Feel free to add categories. Just make sure to display them in costsBudget.tw as well! */ -<<set $lastWeeksCashIncome = { -/* Slave Jobs */ -whore: 0, -whoreBrothel: 0, -rest: 0, -houseServant: 0, -confined: 0, -publicServant: 0, -classes: 0, -milked: 0, -milkedDairy: 0, -extraMilk: 0, /*milk from slaves doing other things*/ -gloryhole: 0, -gloryholeArcade: 0, -porn: 0, - -recruiter: 0, - - -/* Slaves in general */ -fuckdolls: 0, -menialTrades: 0, -menialBioreactors: 0, - -slaveTransfer: 0, -fuckdollsTransfer: 0, -menialTransfer: 0, -menialBioreactorsTransfer: 0, -babyTransfer: 0, -menialRetirement: 0, - -slaveMod: 0, -slaveSurgery: 0, -slaveUpkeep: 0, -birth: 0, - -/*Buildings*/ -lab: 0, -brothel: 0, -brothelAds: 0, -club: 0, -clubAds: 0, -arcade: 0, -dairy: 0, -servantsQuarters: 0, -masterSuite: 0, -school: 0, -spa: 0, -clinic: 0, -cellblock: 0, -incubator: 0, -nursery: 0, -farmyard: 0, -pit: 0, - -environment: 0, -weather: 0, - -mercenaries: 0, -peacekeepers: 0, -specialForces: 0, -securityExpansion: 0, - - -citizenOrphanage: 0, -privateOrphanage: 0, - -capEx: 0, -futureSocieties: 0, -schoolBacking: 0, -policies: 0, -edicts: 0, - -/*Personal Finance*/ -personalBusiness: 0, -personalLivingExpenses: 0, -PCtraining: 0, -PCmedical: 0, -PCskills: 0, -stocksTraded: 0, /*trading*/ -stocks: 0, /*share growth*/ -fines: 0, -event: 0, /* poker night etc. Try to file things elsewhere if you can. */ -war: 0, - -rents: 0, - -cheating: 0, -total: 0 - -}>> - -<<set $lastWeeksCashExpenses = clone($lastWeeksCashIncome)>> -<<set $lastWeeksCashProfits = clone($lastWeeksCashIncome)>> - -<</widget>> - - -<<widget "setupLastWeeksRep">> -/* Feel free to add categories. Just make sure to display them in costsBudget.tw as well! */ -<<set $lastWeeksRepIncome = { -/*Slave Jobs*/ -fucktoy: 0, -publicServant: 0, -gloryholeArcade: 0, -gloryhole: 0, - -concubine: 0, -headGirl: 0, -bodyguard: 0, -recruiter: 0, - -/*Slaves in general*/ -fuckdolls: 0, -slaveTransfer: 0, -babyTransfer: 0, -birth: 0, -retirement: 0, -slavesViewOfPC: 0, -prestigiousSlave: 0, -vignette: 0, -porn: 0, - -/*Buildings*/ -arcade: 0, -brothel: 0, -club: 0, -publicServantClub: 0, -clubAds: 0, -pit: 0, -servantsQuarters: 0, -spa: 0, - -architecture: 0, - -/*Policies*/ -capEx: 0, -futureSocieties: 0, -policies: 0, -edicts: 0, -war: 0, -food: 0, - -/*Forces */ -peacekeepers: 0, -specialForces: 0, -securityExpansion: 0, - -/*Personal Finance*/ -personalBusiness: 0, -PCappearance: 0, -PCactions: 0, /* actions involving your body: becoming pregnant, etc. */ -PCRelationships: 0, -SlaveRelationships: 0, -event: 0, /*poker night etc. Try to file things elsewhere if you can.*/ -war: 0, - -/*special*/ -multiplier: 0, -overflow: 0, -cheating: 0, - -total: 0 - -}>> - -<<set $lastWeeksRepExpenses = clone($lastWeeksRepIncome)>> -<<set $lastWeeksRepProfits = clone($lastWeeksRepIncome)>> - -<</widget>> -- GitLab