Dev:SDK/Core - Variables - Slave

From Slavemaker Wiki
< Dev:SDK
Revision as of 23:02, 20 March 2012 by WikiSysop (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

SlaveMaker 3 SDK Core/root Variables Slave Variables


All these are present in the _root stage variables, use as _root.SlaveName etc Mostly I will leave off the _root from now on.

Slave Specific

SlaveName - the girls name Note you can change this ie "Cumslut Kasumi", but it is NOT saved so always set in the slavegirl's Initialise() or UpdateSlave() functions Note this variable is copied for your Slave Girl so you can use it without _root. eg _root.AddText(SlaveName + " says...."); SlaveName1 - for Twins the name of the first twin, defaults to SlaveName SlaveName2 - for Twins the name of the second twin, defaults to SlaveName SlavePronoun - default "I", otherwise commonly set to SlaveName, say for Shampoo, NOT saved so always set in the slave's Initialse() or UpdateSlave() functions SlaveGender - slaves gender, default 2, her actual, permanent gender 1 = male 2 = female 3 = dickgirl 4 = male twins 5 = female twins 6 = dickgirl twins SlaveGenderBorn - slaves gender at birth, as above VarGold - how much gold she has earned and is unspent

ClitCockSize - the size of her clit, measured in mm. When you slave has a cock (or is male) this is shown as ClitCockSize * 33 rounded to the nearest mm. So to increase the size it is best to to relative changes like _root.SetClitCockSize(_root.ClitCockSize * 1.1);

VirginVaginal VirginAnal VirginOral - Is she a virgin of that type of sex. Default false. Updated when an appropriate act is done

vitalsWaist - measurement of her waist in cm vitalsHips - measurement of her hips in cm vitalsAge - her age in years vitalsBloodType - Bloodtype A, B, O, AB, but you can use anything vitalsDescription - her short description "angry girl' etc vitalsWeight - her weight in kilograms vitalsHeight - her height in cm vitalsBust - her bust size in cm vitalsBustStart - her bust size at the start of training

LesbianTrainable, default true true = she can be lesbian trained false = she will refuse lesbian training Note you can change this dynamically. It is NOT saved so you must set it in Initialise() or UpdateSlave() functions and when it changes DEPRECIATED DO NOT USE ANYMORE, BUT STILL WORKS

Lesbian - the state of lesbian training, READ ONLY true = lesbian training under way false = not in lesbian training Note this variable is copied for your Slave Girl so you can use it without _root. eg if (Lesbian) { .... }

LesbianInterest - The level of interest your slave has in lesbian training. This is the skill level of sLesbianTrainer needed to start training. It is NOT saved so you must set it in Initialise() or UpdateSlave() functions and when it changes 0 = always will train if sLesbianTrainer is 1 or more 1 = will train is sLesbianTrainer is 1 or more 2 = will train is sLesbianTrainer is 2 or more 3 = will train is sLesbianTrainer is 3 or more Special case 4 = will never train. Preferably do not use this value, generally set to 3 to indicate high resistance. Only for special cases like Angel Belldandy say

PonygirlInterest - The level of interest your slave has in being a ponygirl. This is the skill level of sPonyTrainer needed to start training. It is NOT saved so you must set it in Initialise() or UpdateSlave() functions and when it changes 0 = always will train if sPonyTrainer is 1 or more 1 = will train is sPonyTrainer is 1 or more 2 = will train is sPonyTrainer is 2 or more 3 = will train is sPonyTrainer is 3 or more Special case 4 = will never train. Preferably do not use this value, generally set to 3 to indicate high resistance. Only for special cases

CatgirlInterest - The level of interest your slave has in being a cat girl. This is the skill level of sCatTrainer needed to start training. It is NOT saved so you must set it in Initialise() or UpdateSlave() functions and when it changes 0 = always will train if sCatTrainer is 1 or more 1 = will train is sCatTrainer is 1 or more 2 = will train is sCatTrainer is 2 or more Special case 3 = will never train. Preferably do not use this value, generally set to 2 to indicate high resistance.

SuccubusInterest - The level of interest your slave has in being a succubus. This is the skill level of sSuccubusTrainer needed to start training. It is NOT saved so you must set it in Initialise() or UpdateSlave() functions and when it changes 0 = always will train if sSuccubusTrainer is 1 or more 1 = will train is sSuccubusTrainer is 1 or more 2 = will train is sSuccubusTrainer is 2 or more Special case 3 = will never train. Preferably do not use this value, generally set to 2 to indicate high resistance.

OwnerTesting, default true, NOT saved, so always set in the slavegirl's Initialise() or UpdateSlave() functions (if not true) true = her owner will visit every 7 days and test her. false = no testing For instance if you buy her set it to false OwnerTestingUrgent, default false, NOT saved, so always set in the slavegirl's Initialise() or UpdateSlave() functions (if not false) true = owner tests will always happen first before any other event (eg before contests) false = owner test will hapen in default order (eg after contests)

HasCock - does he/she have a cock (true/false) SlaveFemale - is your slave a woman or a dickgirl SlaveWoman - is you slave a woman but not a dickgirl

TrainingStart - date she started training - READ ONLY TrainingTime - days to train her - should be read only, but you can change it if you want Milkable, default false, NOT saved, so always set in the slavegirl's Initialse() or UpdateSlave() functions true = she can be milked false = milking events will not happen at all MilkInfluence 0 = has not taken the milk drug > 0 under influence of milk drug, and days remaining until she realises she is under the influence, increases each time she is milked -1 = cured MaxTentacleHarem - how many more times she can be tentacle abducted, default 1, 2 for Hard difficulty TentaclePregnancy 0 = not pregnant with a tentacle monster > 0 she is pregnant and the number of days to birth -1 = will not become pregnant Slutiness - how much of a slut she is 6+ she is a slut, Nymphomania always 50+ Loyalty - her loyalty, the lower the more loyal 0 = completely loyal NobleLoveType - the noble who can fall in love with her, NOT saved, so always set in the slavegirl's Initialse() or UpdateSlave() functions, default 0 0 = no one other values see person values in Core - People.rtf eg 8 = lord 16 = Astrid etc NobleLove - flag for progression of love by Lord, Count, Knight, basically a count of her meetings with the noble special values -1 = refused to sell -2 = sold, also SoldSlave set to the person number MaxAstrid - maximum percent chance of meeting Astrid in the forest, default 50, NOT saved, so always set in the slavegirl's Initialse() or UpdateSlave() functions IntroPages - number of pages for her introduction, default 1, NOT saved Naked - is she weaing nothing, READ ONLY true = Naked today false = she is wearing clothes

DressWorn - the dress she is wearing ( 0 = plain, -1 naked, otherwise see shortcut in tailor screen) DickgirlXF 0 = normal girl 1 = permanent dickgirl 2 = permanent and refused to be cured -1 = will never be a dickgirl note if cured then resets to 0 Note: generally use _root.IsDickgirl() LoveAccepted 0 = has not confessed yet 1 = accepted her confession of love 2 = refused, SoldSlave 0 = has not been sold otherwise see the person numbers in Core - People.rtf DoneMaster 1 = she calls you master/mistress 0 = she has not yet called you master/mistress DonePonygirl 1 = she is a ponygirl 0 = not yet agreed Note generally use IsPonygirl() to test if your slave is a ponygirl DoneCourtesan true = she has completed courtesan training false = has not DonePlug true = she has been asked to insert an anal plug today false = has not PlugInserted - wearing an anal plug 0 = not wearing one > 0 if wearing one BadGirl, NOT saved 1 = she has been bad 0 = she has not Note you can set this in events if she breaks a rule say. If set spanking is more effective Behaving > 0 she is obedient, raised by spanking, decreases each day AntidoteDays - days remaining to Astrid's antidote is available - should be READ ONLY, but you can change if you really want DickgirlRate - %chance she will spontaneously grow a cock SlaveAttitude - her attitude in encounters (currently only used a little), default 0, NOT saved

	0 = normal

1 = sexy 2 = angry 3 = heroine PotionsUsed, Array that counts the number of times a potion has been drunk, these elements are 0 - Priapus Draft 1 - Uninhibitor potion 2 - Aphrodisiac 3 - Soothing Potion 4 - Energy Drink 5 - Dorei 6 - Zodai 7 - Gaman 8 - Biyaku 9 - Ishinai 10 - Lust Draft 11 - Odd Pill 12 - Nymph's Tears 13 - Rinno's Orgasm Potion eg PotionsUsed[4] = number of times the Energy Drink has been used

FairyXF - stage of her transformation into a fairy -1 = will never transform 0 = nor started 1-99 = partial 2000 = fully transformed

RulesTalk 1 = on 0 = off RulesFuck 1 = on 0 = off RulesGoOut 1 = on 0 = off RulesTouchHerself 1 = on 0 = off RulesWriteLetters 1 = on 0 = off RulesPocketMoney 1 = on 0 = off RulesPray 1 = on 0 = off


People variables 0 = not found, 0.01 = introductions shown, other values depend on person VarIdol PuppyGirlFlag See Core - People.rtf for general information on met people


Dating EventBoyfriend 1 - dating (well fucking...) 0 - not dating -1 - will not date OldLover 1 has male older lover 3 has female older lover 0 does not have older lover -1 will not take older lover

Item variables - xxxOK 1 = item owned, 0 = not owned, 2 = not present in the game at all - xxxxWorn 1 = item worn, 0 = not worn RopesOK SilkenRopesOK LingerieOK BunnySuitOK HarnessOK 0 - no harness 1 = basic harness 2 = superior harness NymphsTiaraOK SpikedBraceletOK HaloOK HandcuffBraceletOK AngelsTearOK DemonicBraOK VibratorPantiesOK FaeriesRingOK DragonRingOK DemonicPendantOK ApronOK StrapOnOK BitGagOK PonyTailOK NippleChainOK NippleRingsOK VanityCaseOK PonyCartOK PonyBootsOK DildoOK ImprovedDildoOK PlugOK TrophyOK SmallTrophyOK LeashOK CatEarsOK CatTailOK SpikedBraceletWorn NymphsTiaraWorn DemonicBraWorn AngelsTearWorn VibratorPantiesWorn FaeriesRingWorn DragonRingWorn DemonicPendantWorn LeashWorn ApronWorn StrapOnWorn BitGagWorn HarnessWorn PonyTailWorn HandcuffBraceletWorn HaloWorn NippleChainWorn NippleRingsWorn CatEarsWorn CatTailWorn PiercingsType 0 = unpierced 1 = nipple/clit 2 = the works

Dresses NumDresses - count of dresses bought (excludes bunny suit, lingerie) Robe1OK - dress 1 owned 1 = owned 0 = not owned Robe2OK - dress 2 owned Robe3OK - dress 3 owned Robe4OK - dress 4 owned Robe5OK - dress 5 owned Robe6OK - dress 6 owned RobePlainOK - Basic dress owned (default 1) NakedChoice - particular naked image shown today, generally the frame in her movieclip, but can be used as desired DressFrame - particular dress image shown when there are multiple choices

The following dress variables are NOT saved, set in Initialise() if you want a non-default value

SellBunnySuit - bunny suit available for sale at the tailors 1 = available (default) 0 = not available SellLingerie - lingerie available for sale at the tailors 1 = available (default) 0 = not available SellSwimsuit - swimsuit available for sale at the tailors 1 = available (default) 0 = not available SellMaidUniform - maid uniform available for sale at the tailors 1 = available (default) 0 = not available

The following dress variables are NOT saved, and are set by calling SetDressDetails, you can change these but you should just use SetDressDetails

SellDress1 - dress 1 available at the tailors 1 = available (default) 0 = not available SellDress2 - dress 2 available at the tailors SellDress3 - dress 3 available at the tailors SellDress4 - dress 4 available at the tailors SellDress5 - dress 5 available at the tailors SellDress6 - dress 6 available at the tailors

Totals - count of times an action/event is done, initially 0 TotalBlowjob TotalFuck TotalAnal TotalBondage TotalMasturbate TotalLesbian TotalNaked TotalGangBang TotalTouch TotalLick TotalTitsFuck TotalDildo TotalPlug TotalLendHer TotalSpank TotalThreesome Total69 TotalGroup TotalCumBath TotalKiss TotalStripTease TotalBondage TotalSex1 TotalSex2 TotalXXX TotalSleazyBar TotalExpose TotalBrothel TotalPony TotalAcolyte TotalRestaurant TotalBar TotalExercise TotalCooking TotalCleaning TotalBreak TotalDance TotalSciences TotalRefinement TotalTheology TotalNaked TotalDiscuss TotalMakeUp TotalWalkForest TotalWalkFarm TotalWalkPalace TotalWalkSlums TotalWalkLake TotalWalkTownCenter TotalWalkDocks TotalWalkRuins TotalWalkBeach TotalWalkHouse TotalWalkCustom TotalVisitAstrid WinXXX - total times the contest has been won WinHousework WinCourt WinBeauty WinPonygirl WinDance WinCustom WinGeneralKnowledge WinContest TotalContestCustom TotalContestXXX TotalContestHousework TotalContestHouseworkAdvanced TotalContestCourt TotalContestBeauty TotalContestPonygirl TotalContestDance TotalContestGeneralKnowledge TotalTentacle - number to tentacle assaults, abduction event counts for 2 TotalMilked TotalTeddyBear TotalGames TotalJewelry TotalDoll TotalProstituteParty TotalHighClassParty TotalVisitAstrid TotalMakeupCare TotalHairCare TotalSkinCare TotalBooks - how many books owned TotalPoetry - how many poetry books owned TotalBooksRead - how many books have been read, increases 1 each time a book is read, so double TotalBooks TotalPoetryRead TotalScrolls - note purely for slave girl use TotalScrollsRead - note purely for slave girl use TotalScripture TotalScriptureRead TotalKamasutra TotalKamasutraRead TotalSlaveJob1 TotalSlaveJob2 TotalSlaveJob3 TotalSlaveSchool1 TotalSlaveSchool2 TotalSlaveSchool3 TotalSlaveChore1 TotalSlaveChore2 TotalSlaveChore3

Statistics (value 0 - 300 (a few 0-100) can be fractional - xxxxxxRounded - stat modified by dress and items, rounded up, an integer value, READ ONLY - xxxxxxx - base stat - note a real/fractional number - Maxyyyyyyy - maximum value of stat - Minyyyyyyy - Minimum value of the stat - yyyyyyyyyMod - modifier from dresses, items etc

VarFatigueRounded VarConversationRounded VarCharismaRounded VarObedienceRounded VarReputationRounded VarSensibilityRounded VarRefinementRounded VarIntelligenceRounded VarMoralityRounded VarConstitutionRounded VarCleaningRounded VarCookingRounded VarBlowJobRounded VarFuckRounded VarTemperamentRounded VarNymphomaniaRounded VarJoyRounded VarLibidoRounded VarSpecialRounded

MaxFuck = 75 MaxBlowJob = 75 MinLibido = 100 MaxCharisma = 75 MaxRefinement = 80 MaxIntelligence = 80 MaxMorality = 80 MaxCooking = 75 MaxCleaning = 75 MaxConversation = 80 MaxTemperament = 100 MaxNymphomania = 100 MaxObediance = 100 MaxJoy = 100 MaxSensibility = 100 MaxConstitution = 100

VarCharismaMod VarSensibilityMod VarRefinementMod VarIntelligenceMod VarMoralityMod VarConstitutionMod VarCookingMod VarCleaningMod VarConversationMod VarBlowJobMod VarFuckMod VarTemperamentMod VarNymphomaniaMod VarObedienceMod VarLibidoMod VarReputationMod VarJoyMod FatigueBonus - a value that increases the threshold where she gets tired, normally threshold is 60, this is a flat number that adds to this

Special, optional stat MaxSpecial = 100 VarSpecial VarSpecialMod

eg _root.VarSpecial = 20; _root.ShowSpecialStat("Femininity :");

Sex act levels, 0-5 LevelMasturbate LevelLesbian LevelTouch LevelLick LevelThreesome Level69 LevelStripTease LevelMasturbateDG masturbate as a dickgirl LevelLesbianDG LevelTouchDG LevelLickDG LevelThreesomeDG Level69DG LevelStripTeaseDG LevelFuck LevelAnal LevelGangBang LevelDildo LevelGroup LevelLendHer LevelTitsFuck LevelNaked LevelNothing LevelPlug LevelBlowjob LevelSpank LevelCumBath LevelKiss LevelBondage LevelPony LevelSex1 LevelSex2 Trust how much she trusts you Obedience + LovePoints, READ ONLY

Difficulty for various acts, set to the required obedience to do the act, all except 1 default to 0 DifficultyXXX - XXX School DifficultyXXXContest - XXX Contest, defaults to 35 DifficultyExhib - Expose Herself DifficultySleazyBar DifficultyBrothel DifficultyTouch DifficultyLick DifficultyFuck DifficultyBlowjob DifficultyTitsFuck DifficultyAnal DifficultyMasturbate DifficultyDildo DifficultyPlug DifficultyLesbian DifficultyBondage DifficultyNaked DifficultyMaster DifficultyGangBang DifficultyLendHer DifficultyPonygirl DifficultySpank DifficultyThreesome

Factor multiplied by any stat change, used for cases like Shampoo where she has a lower rate of increase for conversation. For Shampoo Her ConversationFactor = 0.5. Default value for all is _root.dmod set these in the ApplyDifficulty slave girl function

dmod - base factor for all stat increases, based on difficulty settings and skills BlowjobFactor FuckFactor NymphomaniaFactor LibidoFactor CharismaFactor MoralityFactor CookingFactor CleaningFactor ConversationFactor FatigueFactor SensibilityFactor RefinementFactor IntelligenceFactor ConstitutionFactor TemperamentFactor ObedienceFactor SpecialFactor

eg function ApplyDifficulty(Charisma:Number, Sensibility:Number, Refinement:Number, Intelligence:Number, Morality:Number, Constitution:Number, Cooking:Number, Cleaning:Number, Conversation:number, BlowJob:Number, Fuck:Number, Temperament:Number, Nymphomania:Number, Obedience:Number, Lust:Number, Fatigue:Number, Joy:Number) { _root.ConversationFactor = _root.dmod / 2; }

Generic variables for girl use (all saved in save file) CustomFlag CustomFlag1 CustomFlag2 CustomFlag3 CustomFlag4 CustomFlag5 CustomFlag6 CustomFlag7 CustomFlag8 CustomFlag9 CustomString - a String variable Path1 - custom flag for girls with multiple paths Path2 Path3 CurrentPath 1 if Path1 > Path2 and Path3 2 if Path2 > Path1 and Path2 3 if Path3 > Path1 and Path2 Only updated when you call UpdatePath. Initially set by the game Note this variable is copied for your Slave Girl so you can use it without _root. eg if (CurrentPath == 1) { .... } MaxPath - not SAVED, the maximum of Path1, Path2, Path3. as above. Continually updated Note this variable is copied for your Slave Girl so you can use it without _root. eg if (MaxPath == 1) { .... }

Slave Skills All these skills are fractional, 1.1 etc to reflect training. The levels are when >=1 and < 2 for level 1

slDancing - her skill at dancing, 0-4 0 = Can't Dance 1 = Two left feet 2 = Adequate Dancer 3 = Sensual Dancer 4 = Superb Dancer

slSinging - her skill at singing, 0-4 0 = Can't Sing 1 = Poor Singer 2 = Good simple Singer 3 = Enjoyable Singer 4 = Enchanting Singer

slSwimming - her skill at swimming, 0-4 0 = Swims like a hammer 1 = Can float and dog paddle 2 = Swims well 3 = Expert, fast swimmer 4 = Athletic swimmer

slPonygirlTraining - her progression as a ponygirl (0-100)

slCatTraining- her progression as a catgirl (0-100)

slCombat - her skill in combat (0-100)

slCourtesan - her training as a courtesan (0-100)