code
stringlengths
0
56.1M
repo_name
stringlengths
3
57
path
stringlengths
2
176
language
stringclasses
672 values
license
stringclasses
8 values
size
int64
0
56.8M
:: Retrieve <<if $returnTo is "Pit">> <<for $k to 0; $k < $fighterIDs.length; $k++>> <<if $activeSlave.ID == $fighterIDs[$k]>> <<set $dump to $fighterIDs.pluck([$k], [$k])>> <<set $k -= 1>> <</if>> <</for>> <<goto "Pit">> <<else>> <<if $returnTo is "Coursing Association">> <<set $Lurcher to 0>> <<goto "Cou...
r3d/fc
src/uncategorized/retrieve.tw
tw
bsd-3-clause
1,784
:: RIE Eligibility Check <<silently>> <<set $eventSlave = 0>> <<set $eligibleSlaves = []>> <<for $i to 0; $i < $slaves.length; $i++>> <<if $slaves[$i].assignmentVisible == 1>> <<if $slaves[$i].fuckdoll == 0>> <<set $eligibleSlaves.push($slaves[$i])>> <</if>> <</if>> <</for>> <<if $eligibleSlaves.length == 0>...
r3d/fc
src/uncategorized/rieEligibilityCheck.tw
tw
bsd-3-clause
503
:: Rules Autosurgery [nobr] <<set $surgeries = []>> <<for _r to $defaultRules.length-1; _r >= 0; _r-->> <<set _currentRule to $defaultRules[_r]>> <<if (def _currentRule) && (_currentRule.autoSurgery != 0)>> <<set $thisSurgery to _currentRule.surgery>> <<set _temp to lastLactationSurgeryRule($slaves[$i], $defau...
r3d/fc
src/uncategorized/rulesAutosurgery.tw
tw
bsd-3-clause
14,484
:: Rules Facility Remove <<nobr>> <<if _currentRule.facilityRemove>> <<switch _currentRule.assignFacility>> <<case "brothel">> <<if $activeSlave.assignment is "work in the brothel">> <<if ($Madam == 0) || ($Madam.ID != $activeSlave.ID)>> <<set $activeSlave.assignment to _currentRule.removalAssignment>> ...
r3d/fc
src/uncategorized/rulesFacilityRemove.tw
tw
bsd-3-clause
4,481
:: Rules Slave Deselect Workaround <<nobr>> <<set $nextButton to "Continue">> <<set $nextLink to "Rules Slave Select">> <<if ruleSlaveSelected($activeSlave, $currentRule)>> <<set $dump to $currentRule.selectedSlaves.pluck($activeSlave.ID)>> <</if>> <<goto "Rules Slave Select">> <</nobr>>
r3d/fc
src/uncategorized/rulesSlaveDeselectWorkaround.tw
tw
bsd-3-clause
296
:: Rules Slave Exclude <<nobr>> <<set $nextButton to "Continue">> <<set $nextLink to "Rules Assistant">> <<if ndef $currentRule.excludedSlaves>> <<set $currentRule.excludedSlaves to []>> <</if ndef>> <<if ($currentRule.selectedSlaves.length < 1) && ($currentRule.excludedSlaves.length < 1)>> No slaves excluded from ...
r3d/fc
src/uncategorized/rulesSlaveExclude.tw
tw
bsd-3-clause
722
:: Rules Slave Exclude Workaround <<nobr>> <<set $nextButton to "Continue">> <<set $nextLink to "Rules Slave Exclude">> <<if !ruleSlaveExcluded($activeSlave, $currentRule)>> <<set $currentRule.excludedSlaves.push($activeSlave.ID)>> <<if ruleSlaveSelected($activeSlave, $currentRule)>> <<set $dump to $currentRu...
r3d/fc
src/uncategorized/rulesSlaveExcludeWorkaround.tw
tw
bsd-3-clause
424
:: Rules Slave NoExclude Workaround <<nobr>> <<set $nextButton to "Continue">> <<set $nextLink to "Rules Slave Exclude">> <<if ruleSlaveExcluded($activeSlave, $currentRule)>> <<set $dump to $currentRule.excludedSlaves.pluck($activeSlave.ID)>> <</if>> <<goto "Rules Slave Exclude">> <</nobr>>
r3d/fc
src/uncategorized/rulesSlaveNoExcludeWorkaround.tw
tw
bsd-3-clause
299
:: Rules Slave Select <<nobr>> <<set $nextButton to "Continue">> <<set $nextLink to "Rules Assistant">> <<if ndef $currentRule.selectedSlaves>> <<set $currentRule.selectedSlaves to []>> <</if ndef>> <<if ((ndef $currentRule.selectedSlaves) || ($currentRule.selectedSlaves.length < 1)) && ((ndef $currentRule.exclude...
r3d/fc
src/uncategorized/rulesSlaveSelect.tw
tw
bsd-3-clause
1,054
:: Rules Slave Select Workaround <<nobr>> <<set $nextButton to "Continue">> <<set $nextLink to "Rules Slave Select">> <<if !ruleSlaveSelected($activeSlave, $currentRule)>> <<set $currentRule.selectedSlaves.push($activeSlave.ID)>> <<if ruleSlaveExcluded($activeSlave, $currentRule)>> <<set $dump to $currentRule...
r3d/fc
src/uncategorized/rulesSlaveSelectWorkaround.tw
tw
bsd-3-clause
421
:: SA be your Head Girl [nobr] <<set $HGTimeInGrade += 1>> <<if $arcologies[0].FSEgyptianRevivalistLaw == 0>> helps manage your other slaves. She helps them when they try and fail, and punishes them when they fail to try. <<else>> serves as your Consort. Though she is still your slave, her status is scarcely below...
r3d/fc
src/uncategorized/saBeYourHeadGirl.tw
tw
bsd-3-clause
8,402
:: SA chooses own clothes [nobr] <<set $bellyAccessory to $slaves[$i].bellyAccessory>> <<if ($slaves[$i].devotion <= 20)>> and uses the ability to select outfits to cover up with comfortable cut-offs and a t-shirt, <<set $slaves[$i].clothes to "cutoffs and a t-shirt">> <<if ($slaves[$i].amp != 1)>> <<if ($slaves[...
r3d/fc
src/uncategorized/saChoosesOwnClothes.tw
tw
bsd-3-clause
17,101
:: SA chooses own job [nobr] <<if ($slaves[$i].assignment is "choose her own job")>> is allowed to select her own job this week. She watches your other slaves to decide what to do, @@color:hotpink;happy@@ to be permitted a choice and a little more @@color:mediumaquamarine;confident@@ than if you had just given her o...
r3d/fc
src/uncategorized/saChoosesOwnJob.tw
tw
bsd-3-clause
17,700
:: SA devotion [nobr] &nbsp;&nbsp;&nbsp;&nbsp; <<if $slaves[$i].fetish is "mindbroken">> <<else>> <<if $slaves[$i].fuckdoll == 0>> <<set $energyPlus to 0>> <<if $slaves[$i].origin is "You were acquainted with her before you were an arcology owner; your rival tried to use her to manipulate you, but you rescued her."...
r3d/fc
src/uncategorized/saDevotion.tw
tw
bsd-3-clause
41,634
:: SA diet [nobr] <<if $slaves[$i].fuckdoll == 0>> <<if $feeder == 1>> <<if $slaves[$i].diet != "healthy">> The upgraded kitchen closely monitors her diet. <</if>> <</if>> <<if ($slaves[$i].diet is "restricted")>> /* Weight Loss */ <<set _weightLoss to 5>> <<set _assetLoss to 5>> <<if ($slaves[$i].behavioralFlaw...
r3d/fc
src/uncategorized/saDiet.tw
tw
bsd-3-clause
49,406
:: SA drugs [nobr] <<switch $slaves[$i].drugs>> <<case "hormone enhancers">> $possessiveCap drug regime prepares $possessive body to accept hormonal effects. <<include "SA hormone effects">> <<case "psychosuppressants">> The psychosuppressants @@color:hotpink;reduce $possessive ability to question $possessive rol...
r3d/fc
src/uncategorized/saDrugs.tw
tw
bsd-3-clause
38,071
:: SA get milked [nobr] <<if ndef $slaves[$i].lactationAdaptation>> <<set $slaves[$i].lactationAdaptation to 0>> <</if>> <<set $milk to 0>> <<set $cum to 0>> gets milked this week. <<if $dairy > 0>> <<if $dairyRestraintsSetting < 2>> <<if (($universalRulesFacilityWork == 1) && ($slaves[$i].assignment is "get milke...
r3d/fc
src/uncategorized/saGetMilked.tw
tw
bsd-3-clause
18,952
:: SA guard you [nobr] carries arms in your defense. <<Deadliness $slaves[$i]>> <<if $slaves[$i].combatSkill > 0>> Her combat skills greatly increase her deadliness. <</if>> <<if $bodyguardCareers.contains($Bodyguard.career)>> She has experience in personal defense from before she was a slave. <</if>> <<if ($sl...
r3d/fc
src/uncategorized/saGuardsYou.tw
tw
bsd-3-clause
10,136
:: SA hormone effects [nobr] <<set $hormones to $slaves[$i].hormones>> <<if ($hormones > -2)>> <<if ($slaves[$i].balls != 0)>> <<if ($hormones != 0) || ($hormoneUpgradePower < 2)>> <<set $hormones -= 1>> <</if>> <</if>> <</if>> <<if ($hormones < 2)>> <<if ($slaves[$i].ovaries != 0)>> <<if ($hormones != 0) || ($hormon...
r3d/fc
src/uncategorized/saHormoneEffects.tw
tw
bsd-3-clause
16,701
:: SA live with HG [nobr] <<for $j to 0; $j < $slaves.length; $j++>> <<if $HeadGirl.ID == $slaves[$j].ID>> <<set $HeadGirl to $slaves[$j]>> <<break>> <</if>> <</for>> ''$slaves[$i].slaveName'' <<if $slaves[$i].devotion > 20>> <<if $HGSlaveSuccess == 1>> looks after your Head Girl $HeadGirl.slaveName domestical...
r3d/fc
src/uncategorized/saLiveWithHG.tw
tw
bsd-3-clause
44,034
:: SA please you [nobr] serves you this week. <<set _trainingEfficiency = 5+Math.trunc($slaves[$i].devotion/30)+$slaves[$i].intelligence>> <<set $skillIncrease = _trainingEfficiency>> <<if ($slaves[$i].toyHole is "pussy")>> <<if ($slaves[$i].vagina == 0)>> <<set $slaves[$i].toyHole to "all her holes">> <</if>> <</i...
r3d/fc
src/uncategorized/saPleaseYou.tw
tw
bsd-3-clause
44,579
:: SA recruit girls [nobr] <<set $bellyAccessory to $slaves[$i].bellyAccessory>> /* Note on target sum: HG and Recruiter are the initial 2 counted (no facility req'd), while HGSuite counts the HG's girl, other facilities count associated leader */ <<if $recruiterIdleRule == "number">> <<set _idleTarget = $recruiterI...
r3d/fc
src/uncategorized/saRecruitGirls.tw
tw
bsd-3-clause
47,631
:: SA relationships [nobr] <<if $slaves[$i].fuckdoll == 0>> <<set _SL = $slaves.length, _SlaveI = $slaves[$i], _SlaveJ = null, _J = -1, _K = -1, _drop = 0>> <<if _SlaveI.relationship == 0>> <<if (_SlaveI.devotion + _SlaveI.trust > 175) && (random(1,3) == 1)>> _SlaveI.slaveName is quite devoted to you, and trust...
r3d/fc
src/uncategorized/saRelationships.tw
tw
bsd-3-clause
82,615
:: SA rest [nobr] takes the week off. <<if $slaves[$i].fuckdoll > 0>>It has nothing to do but <<if $slaves[$i].amp == 0>>lie<<else>>stand<</if>> in place.<</if>> <<if $slaves[$i].health > 90>> $possessiveCap health is so outstanding that rest does not improve it. <<elseif $slaves[$i].health > -100>> $possessiveCap ...
r3d/fc
src/uncategorized/saRest.tw
tw
bsd-3-clause
1,137
:: SA rivalries [nobr] <<if $slaves[$i].fuckdoll == 0>> <<set _SL = $slaves.length>> <<if $slaves[$i].rivalry == 0>> <<if $slaves[$i].fetish != "mindbroken">> <<if $slaves[$i].behavioralFlaw is "none">> <<set _seed to random(1,100)>> <<else>> <<set _seed to random(1,110)>> <</if>> <<if _seed > 90>> <<for _j ...
r3d/fc
src/uncategorized/saRivalries.tw
tw
bsd-3-clause
6,174
:: SA rules [nobr] <<if $slaves[$i].fuckdoll == 0>> She <<if $slaves[$i].fetish is "mindbroken">> is mentally broken so none of the rules have any impact. <<else>> <<SexualRelease $slaves[$i]>> <<if ($release == 1)>> <<if ($slaves[$i].devotion <= 20)>> gets off at work despite her reluctance, @@color:hotpink;habi...
r3d/fc
src/uncategorized/saRules.tw
tw
bsd-3-clause
34,136
:: SA servant [nobr] works as a servant. She performs the lowest jobs in your penthouse, cleaning up after your other slaves, bathing them, helping them dress, and giving them sexual relief. <<if $servantsQuarters > 0>> <<if (($universalRulesFacilityWork == 1) && ($slaves[$i].assignment is "be a servant") && ($serv...
r3d/fc
src/uncategorized/saServant.tw
tw
bsd-3-clause
3,870
:: SA serve the public [nobr] <<set $bellyAccessory to $slaves[$i].bellyAccessory>> <<if ($slaves[$i].assignment is "serve in the club") || ($slaves[$i].assignment is "serve the public")>> <<set $publicServants += 1>> <</if>> <<FResult $slaves[$i]>> <<if ($slaves[$i].releaseRules is "restrictive") && ($slaves[$i].s...
r3d/fc
src/uncategorized/saServeThePublic.tw
tw
bsd-3-clause
82,953
:: SA serve your other slaves [nobr] <<set $domSlave to 0>> <<for $j to 0; $j < $slaves.length; $j++>> <<if $slaves[$i].subTarget is $slaves[$j].ID>> <<set $domSlave to $slaves[$j]>> <<break>> <</if>> <</for>> <<if $domSlave == 0>> <<if $slaves[$i].devotion <= 20>> <<if $slaves[$i].trust >= -20>> is forced to ...
r3d/fc
src/uncategorized/saServeYourOtherSlaves.tw
tw
bsd-3-clause
36,152
:: SA stay confined [nobr] <<if ($slaves[$i].devotion < -50)>> is kept in solitary confinement whenever she is not being forced to do something else. She still hates her place in the world, but being forced to rely on slave life as her only human contact @@color:hotpink;grinds down her resistance.@@ <<set $slaves[$...
r3d/fc
src/uncategorized/saStayConfined.tw
tw
bsd-3-clause
1,753
:: SA take classes [nobr] <<set $learning to 1>> <<if ($slaves[$i].assignment is "learn in the schoolroom")>> <<if ($Schoolteacher != 0)>> <<set $seed to $Schoolteacher.intelligence+$Schoolteacher.intelligenceImplant>> <<if ($Schoolteacher.visualAge > 35)>> <<set $seed += 1>> <</if>> <<if $schoolteacherCa...
r3d/fc
src/uncategorized/saTakeClasses.tw
tw
bsd-3-clause
7,752
:: SA whore [nobr] <<FResult $slaves[$i]>> <<if ($slaves[$i].releaseRules is "restrictive") && ($slaves[$i].standardReward isnot "orgasm")>> <<set $FResult += 2>> <</if>> <<if $ACitizens > $ASlaves*2>> <<set $FResult = Math.trunc($FResult*1.1)>> <<elseif $ACitizens > $ASlaves>> <<set $FResult = Math.trunc($FResult...
r3d/fc
src/uncategorized/saWhore.tw
tw
bsd-3-clause
86,160
:: SA work a glory hole [nobr] <<if $arcologies[0].FSDegradationist != "unset">> <<set $beauty to random(80,100)+(20*(4-$slaves[$i].anus))+(10*(4-$slaves[$i].vagina))+Math.trunc($arcologies[0].FSDegradationist/2)>> <<else>> <<set $beauty to random(80,100)+(20*(4-$slaves[$i].anus))+(10*(4-$slaves[$i].vagina))>> <</if...
r3d/fc
src/uncategorized/saWorkAGloryHole.tw
tw
bsd-3-clause
11,475
:: Salon <<nobr>> <<set $nextButton to "Continue">> <<set $nextLink to "Slave Interact">> <<set $showEncyclopedia to 1>><<set $encyclopedia to "The Auto Salon">> <</nobr>>\ \ $activeSlave.slaveName is seated in the auto salon. $pronounCap is awaiting your artistic pleasure. <<nobr>> <<if $activeSlave.eyes > -1>>...
r3d/fc
src/uncategorized/salon.tw
tw
bsd-3-clause
16,865
:: Scheduled Event <<set $showEncyclopedia to 0>> <<if $expired == 1>> <<set $expiree to 0>> <<include "Remove activeSlave">> <<for $i to 0; $i < $slaves.length; $i++>> <<if $slaves[$i].indenture == 0>> <<set $expiree to $slaves[$i]>> <<break>> <</if>> <</for>> <</if>> <<set $expired to 0>> <<if $retired =...
r3d/fc
src/uncategorized/scheduledEvent.tw
tw
bsd-3-clause
6,811
:: Schoolroom <<nobr>> <<set $nextButton to "Back to Main", $nextLink to "Main", $returnTo to "Schoolroom">> <<if $schoolroomName != "the Schoolroom">> <<set $schoolroomNameCaps to $schoolroomName.replace("the ", "The ")>> <</if>> <<set $schoolroomSlaves to 0>> <<set $notSchoolroomSlaves to 0>> <<for _i to 0; _i <...
r3d/fc
src/uncategorized/schoolroom.tw
tw
bsd-3-clause
7,255
:: Schoolroom Report [nobr] <<set $schoolroomSlaves = 0, _idleBonus = 0, _schoolteacherFetish = 0, _SL = $slaves.length, _ST = -1>> <<if $Schoolteacher != 0>> <<for _ST = 0; _ST < _SL; _ST++>> <<if $slaves[_ST].ID == $Schoolteacher.ID>> <<break>> <</if>> <</for>> <</if>> <<if _ST != -1>> /* 000-250-006 */ /* <<if $...
r3d/fc
src/uncategorized/schoolroomReport.tw
tw
bsd-3-clause
7,983
:: Schoolteacher Select <<nobr>> <<set $nextButton to "Back">> <<set $nextLink to "Schoolroom">> <<set $showEncyclopedia to 0>> <<for _i to 0; _i < $slaves.length; _i++>> <<if $Schoolteacher.ID == $slaves[_i].ID>> ''__@@color:pink;$slaves[_i].slaveName@@__'' is serving as your Schoolteacher. <<set $slaves[_i].assi...
r3d/fc
src/uncategorized/schoolteacherSelect.tw
tw
bsd-3-clause
711
:: Schoolteacher Workaround <<for $i to 0; $i < $slaves.length; $i++>> <<if ($slaves[$i].assignment is "be the Schoolteacher") && ($slaves[$i].ID != $Schoolteacher.ID)>> <<set $slaves[$i].assignment to "rest">> <<set $slaves[$i].assignmentVisible to 1>> <<break>> <</if>> <</for>> <<for $i to 0; $i < $slav...
r3d/fc
src/uncategorized/schoolteacherWorkaround.tw
tw
bsd-3-clause
1,216
:: SE coursing <<nobr>> <<set $nextLink to "Scheduled Event">> <<set $returnTo to "Scheduled Event">> <<set $nextButton to "Continue">> <<set $coursed to 1>> <<set $seed to 0>> <<for $i to 0; $i < $slaves.length; $i++>> <<if $slaves[$i].ID is $Lurcher.ID>> <<set $Lurcher to $slaves[$i]>> <<break>> <</if>> <</for...
r3d/fc
src/uncategorized/seCoursing.tw
tw
bsd-3-clause
76,234
:: SE custom slave delivery <<nobr>> <<set $nextButton to "Continue">> <<set $nextLink to "Scheduled Event">> <<set $returnTo to "Scheduled Event">> <<set $showEncyclopedia to 1>><<set $encyclopedia to "Enslaving People">> <<set $customSlaveOrdered to 0>> <<set $activeSlave to $customSlave>> <<set $activeSlave.ID ...
r3d/fc
src/uncategorized/seCustomSlaveDelivery.tw
tw
bsd-3-clause
4,587
:: SE expiration <<nobr>> <<set $nextButton to "Continue">> <<set $nextLink to "Scheduled Event">> <<set $expired to 1>> <<for $i to 0; $i < $slaves.length; $i++>> <<if $slaves[$i].ID is $expiree.ID>> <<set $activeSlave to $slaves[$i]>> <<break>> <</if>> <</for>> $activeSlave.slaveName's indentured servitude is...
r3d/fc
src/uncategorized/seExpiration.tw
tw
bsd-3-clause
7,200
:: SE independence day <<nobr>> <<set $nextLink to "Scheduled Event">> <<set $nextButton to "Continue">> <<set $independenceDay to 0>> Independence Day is this week. <br><br> In the Free Cities, Independence Day falls on the day when the Free City achieved its de facto freedom from the laws of the old world. In most...
r3d/fc
src/uncategorized/seIndependenceDay.tw
tw
bsd-3-clause
24,977
:: SE lethal pit <<nobr>> <<set $nextButton to "Continue">> <<set $nextLink to "Scheduled Event">> <<set $returnTo to "Scheduled Event">> <<set $pitFought to 1>> <<set $fighterOne to 0>> <<set $fighterTwo to 0>> <<if $pitBG == 0>> <<set $fighterOne to $fighterIDs.random()>> <<for $i to 0; $i < $slaves.length; $i++...
r3d/fc
src/uncategorized/seLethalPit.tw
tw
bsd-3-clause
34,857
:: SE nicaea council [nobr] <<if $plot == 1>><<set $nextLink to "Nonrandom Event">><<else>><<set $nextLink to "Random Nonindividual Event">><</if>> <<set $nextButton to "Continue">> <<set $nicaeaHeld = 1, $arcologies[0].FSChattelReligionistCreed = 1>> <<if $nicaeaInvolvement == 0>> <<set $arcologies[0].FSChattelReli...
r3d/fc
src/uncategorized/seNicaeaCouncil.tw
tw
bsd-3-clause
8,714
:: SE nicaea preparation [nobr] <<if $plot == 1>><<set $nextLink to "Nonrandom Event">><<else>><<set $nextLink to "Random Nonindividual Event">><</if>> <<set $nextButton to "Continue">> <<set $nicaeaPreparation = 0>> <<if $nicaeaInvolvement == -1>> Your vigorous opposition to a religious council to establish an agre...
r3d/fc
src/uncategorized/seNicaeaPreperation.tw
tw
bsd-3-clause
6,447
:: SE nonlethal pit <<nobr>> <<set $nextButton to "Continue">> <<set $nextLink to "Scheduled Event">> <<set $returnTo to "Scheduled Event">> <<set $pitFought to 1>> <<set $fighterOne to 0>> <<set $fighterTwo to 0>> <<if $pitBG == 0>> <<set $fighterOne to $fighterIDs.random()>> <<for $i to 0; $i < $slaves.length; $...
r3d/fc
src/uncategorized/seNonlethalPit.tw
tw
bsd-3-clause
40,055
:: SE recruiter success <<nobr>> <<set $nextButton to "Continue">> <<set $nextLink to "Scheduled Event">> <<set $returnTo to "Scheduled Event">> <<set $showEncyclopedia to 1>><<set $encyclopedia to "Enslaving People">> <<set $recruiterProgress to 0>> <<set $applyLaw to 0>> <<if $recruiterTarget is "young migrants">...
r3d/fc
src/uncategorized/seRecruiterSuccess.tw
tw
bsd-3-clause
6,964
:: SE retirement [nobr] <<set $nextButton to "Continue">> <<set $nextLink to "Scheduled Event">> <<set $retired to 1>> <<for $i to 0; $i < $slaves.length; $i++>> <<if $slaves[$i].ID is $retiree.ID>> <<set $activeSlave to $slaves[$i]>> <<break>> <</if>> <</for>> $activeSlave.slaveName is retiring from sexual sl...
r3d/fc
src/uncategorized/seRetirement.tw
tw
bsd-3-clause
21,329
:: Security Force Proposal <<nobr>> <<set $nextLink to "Next Week">> <<set $nextButton to "Continue">> <</nobr>>\ \ The Free Cities were founded on the principles of unrestrained anarcho-capitalism. To those with such beliefs, the very idea of possessing an armed force, a key tool of government control, or weapons a...
r3d/fc
src/uncategorized/securityForceProposal.tw
tw
bsd-3-clause
3,416
:: Sell Slave <<set $nextButton to "Back">>\ <<set $nextLink to "Slave Interact">>\ <<nobr>> You prepare her for sale. Her response to being put up for purchase is <<if $activeSlave.devotion < -50>>muted; perhaps she hopes a new master will be less hateful than you. <<elseif $activeSlave.devotion < -20>>muted weeping...
r3d/fc
src/uncategorized/sellSlave.tw
tw
bsd-3-clause
65,040
:: Servants' Quarters <<nobr>> <<set $nextButton to "Back to Main", $nextLink to "Main", $returnTo to "Servants' Quarters">> <<if $servantsQuartersName != "the Servants' Quarters">> <<set $servantsQuartersNameCaps to $servantsQuartersName.replace("the ", "The ")>> <</if>> <<set $servantsQuartersSlaves to 0>> <<set...
r3d/fc
src/uncategorized/servantsQuarters.tw
tw
bsd-3-clause
8,043
:: Servants' Quarters Report [nobr] <<set $servantsQuartersSlaves = 0, $stewardessBonus = 0, _SQMilk = 0, _SQMilkSale = 0, _stewardessFetish = 0, _stewardessImpregnated = 0, _SL = $slaves.length, _SWD = -1>> <<if ($Stewardess != 0)>> <<for _SWD = 0; _SWD < _SL; _SWD++>> <<if $slaves[_SWD].ID == $Stewardess.ID>> <<br...
r3d/fc
src/uncategorized/servantsQuartersReport.tw
tw
bsd-3-clause
13,169
:: Siblings Workaround Your new pair of slaves look frightened and uncertain, but seem encouraged by each other's presence. <<AddSlave $activeSlave>> <<set _secondSlave to clone($activeSlave)>> <<unset $activeSlave>> <<NationalityToName _secondSlave>> <<NationalityToAccent _secondSlave>> <<set _secondSlave.ID to _s...
r3d/fc
src/uncategorized/siblingsWorkaround.tw
tw
bsd-3-clause
2,402
:: Slave Assignments Report [nobr] <<set $nextLink to "Economics", $nextButton to "Continue">> <<for _i to 0; _i < $slaves.length; _i++>> <<if ndef $slaves[_i].whoreSkill>> @@color:yellow;Reset bad whore skill for $slaves[_i].slaveName.@@ Report this as a bug if it reoccurs.<br> <<set $slaves[_i].whoreSkill to 0>>...
r3d/fc
src/uncategorized/slaveAssignmentsReport.tw
tw
bsd-3-clause
20,952
:: slave generation widgets [nobr widget] <<widget "NationalityToRace">> <<switch $args[0].nationality>> <<case "American">> <<set $args[0].race to either("black", "middle eastern", "white", "white", "white", "latina", "latina", "asian", "amerindian", "mixed race")>> <<case "Canadian">> <<set $args[0].race to eithe...
r3d/fc
src/uncategorized/slaveGenerationWidgets.tw
tw
bsd-3-clause
28,421
:: Slave Interact [nobr] <<if $cheatMode == 1>> <center> //[[Cheat Edit Slave|MOD_Edit Slave Cheat][$cheater to 1]]// </center> <</if>> <<set $nextButton to "Confirm changes">> <<set $nextLink to "AS Dump">> <<set $returnTo to "Main">> <<if ($activeSlave.assignmentVisible == 0)>> <<if ($activeSlave.assignment is "wo...
r3d/fc
src/uncategorized/slaveInteract.tw
tw
bsd-3-clause
74,518
:: Slave Markets <<nobr>> <<set $nextButton to "Back">> <<set $nextLink to "Buy Slaves">> <<set $returnTo to "Buy Slaves">> <<set $showEncyclopedia to 1>><<set $encyclopedia to "Kidnapped Slaves">> <<if $activeArcology != 0>> <<set $slaveMarket to "neighbor">> <<set $direction to $activeArcology.direction>> <<set...
r3d/fc
src/uncategorized/slaveMarkets.tw
tw
bsd-3-clause
51,733
:: Slave Shelter <<nobr>> <<set $nextButton to "Back">> <<set $nextLink to "Buy Slaves">> <<set $returnTo to "Buy Slaves">> <<set $showEncyclopedia to 1>> <<set $encyclopedia to "Kidnapped Slaves">> <</nobr>>\ \ You contact the Slave Shelter to review the profile of the slave the Shelter is offering to a good <<if ...
r3d/fc
src/uncategorized/slaveShelter.tw
tw
bsd-3-clause
11,565
:: Slave Sold [nobr] <<set $nextButton to "Back to Main", $nextLink to "Main", $returnTo to "Main", $showEncyclopedia to 1, $encyclopedia to "Personal Assistant">> <<set $display to 0>> <<if $familyTesting == 1>> <<for $j to 0; $j < $slaves.length; $j++>> <<if $activeSlave.mother == $slaves[$j].ID>> $slav...
r3d/fc
src/uncategorized/slaveSold.tw
tw
bsd-3-clause
41,619
:: Slave Summary [nobr] <<set _Pass to passage()>> <<for _i to 0;_i < $slaves.length;_i++>> <<set _Slave to $slaves[_i]>> <<switch _Pass>> <<case "Main">> <<if (_Slave.choosesOwnClothes == 1) && (_Slave.clothes is "choosing her own clothes")>> <<set $i to _i>> <<silently>><<include "SA chooses own clothes">><</si...
r3d/fc
src/uncategorized/slaveSummary.tw
tw
bsd-3-clause
104,273
:: Spa <<nobr>> <<set $nextButton to "Back to Main", $nextLink to "Main", $returnTo to "Spa">> <<if $spaName != "the Spa">> <<set $spaNameCaps to $spaName.replace("the ", "The ")>> <</if>> <<set $spaSlaves to 0>> <<set $notSpaSlaves to 0>> <<for _i to 0;_i < $slaves.length;_i++>> <<if $slaves[_i].assignment is "r...
r3d/fc
src/uncategorized/spa.tw
tw
bsd-3-clause
8,203
:: Spa Report [nobr] <<set $spaSlaves = 0, _attendantFetish = 0, _attendantUsedCure = 0, _flawSoftened = 0, _idleBonus = 0, _restedSlaves = 0, _SL = $slaves.length, _ATD = -1>> <<if $Attendant != 0>> <<for _ATD = 0; _ATD < _SL; _ATD++>> <<if $slaves[_ATD].ID == $Attendant.ID>> <<break>> <</if>> <</for>> <</if>> <<if...
r3d/fc
src/uncategorized/spaReport.tw
tw
bsd-3-clause
19,500
:: Special Slave <<set $nextButton to "Back">>\ <<set $nextLink to "Buy Slaves">>\ <<set $returnTo to "Buy Slaves">>\ <<set $showEncyclopedia to 1>><<set $encyclopedia to "Direct Sales">>\ \ You review a piece of merchandise via video call, making a few lewd demands to gauge her obedience. The background of the video...
r3d/fc
src/uncategorized/specialSlave.tw
tw
bsd-3-clause
1,331
:: Stewardess Select <<nobr>> <<set $nextButton to "Back">> <<set $nextLink to "Servants' Quarters">> <<set $showEncyclopedia to 1>><<set $encyclopedia to "Stewardesses">> <<for _i to 0; _i < $slaves.length; _i++>> <<if $Stewardess.ID == $slaves[_i].ID>> ''__@@color:pink;$slaves[_i].slaveName@@__'' is serving as yo...
r3d/fc
src/uncategorized/stewardessSelect.tw
tw
bsd-3-clause
738
:: Stewardess Workaround <<for $i to 0; $i < $slaves.length; $i++>> <<if ($slaves[$i].assignment is "be the Stewardess") && ($slaves[$i].ID != $Stewardess.ID)>> <<set $slaves[$i].assignment to "rest">> <<set $slaves[$i].assignmentVisible to 1>> <<break>> <</if>> <</for>> <<for $i to 0; $i < $slaves.length...
r3d/fc
src/uncategorized/stewardessWorkaround.tw
tw
bsd-3-clause
1,211
:: StoryCaption \ <<set _Pass to passage()>>\ <<if _Pass is "Encyclopedia">>\ <span id="nextButton"><strong><<link [[($nextButton)|($nextLink)]]>><</link>></strong></span> ''GLOSSARY'' [[Abusiveness|Encyclopedia][$encyclopedia to "Abusiveness"]] [[Adores men|Encyclopedia][$encyclopedia to "Adores men"]] [[Adores women...
r3d/fc
src/uncategorized/storyCaption.tw
tw
bsd-3-clause
23,298
:: Subordinate Targeting [nobr] <<set $nextButton to "Back">> <<set $nextLink to "Slave Interact">> <<set $displaySlave to $activeSlave>> <<if $activeSlave.subTarget == $activeSlave.ID>> <<set $activeSlave.subTarget to 0>> <</if>> <<for _i to 0;_i < $slaves.length;_i++>> <<if $activeSlave.subTarget == $slaves[_i]....
r3d/fc
src/uncategorized/subordinateTargeting.tw
tw
bsd-3-clause
909
:: Summary Options <<nobr>> <<set $nextButton to "Back to Main">> <<set $nextLink to "Main">> <</nobr>>\ \ //These options will affect the short slave summaries that appear on the main menu and the facility management screens.// <<nobr>> <<if $lineSeparations == 0>> Line separations are @@color:red;HIDDEN.@@ //...
r3d/fc
src/uncategorized/summaryOptions.tw
tw
bsd-3-clause
9,879
:: TFS Farm Upgrade [nobr] <<set $nextButton to "Continue", $nextLink to "Scheduled Event">> <<set $TFS.farmUpgradeAsked = $week>> You receive yet another a personal call from an older Futanari Sister, one of the Sisters who lives in your arcology; you've given up trying to tell them apart. Unusually, this one has ta...
r3d/fc
src/uncategorized/tfsFarmUpgrade.tw
tw
bsd-3-clause
4,183
:: The Slavegirl School <<set $nextButton to "Back">>\ <<set $nextLink to "Buy Slaves">>\ <<set $returnTo to "Buy Slaves">>\ <<set $showEncyclopedia to 1>><<set $encyclopedia to "Slave Schools">>\ \ //The Slavegirl School is the newest slave school operating in the Free Cities. Its business model is to offer simpler,...
r3d/fc
src/uncategorized/theSlavegirlSchool.tw
tw
bsd-3-clause
4,537
:: Toychest [nobr] //$slaves[$i].slaveName <<if $slaves[$i].fuckdoll > 0>> is waiting for use nearby. <<elseif $slaves[$i].fetish is "mindbroken">> is waiting dumbly nearby. <<elseif $slaves[$i].devotion > 50>> <<if $slaves[$i].toyHole is "mouth">> has positioned herself nearby with her mouth conveniently <<if ...
r3d/fc
src/uncategorized/toychest.tw
tw
bsd-3-clause
9,856
:: Twins Workaround Your new pair of slaves look frightened and uncertain, but seem encouraged by each other's presence. <<AddSlave $activeSlave>> <<set _secondSlave to clone($activeSlave)>> <<unset $activeSlave>> <<NationalityToName _secondSlave>> <<NationalityToAccent _secondSlave>> <<set _secondSlave.ID to _seco...
r3d/fc
src/uncategorized/twinsWorkaround.tw
tw
bsd-3-clause
503
:: Universal Rules [nobr] __Universal rules__ <<set $nextButton to "Back">> <<set $nextLink to "Manage Arcology">> <br><br> <<if $universalRulesRest == 0>> Slaves will ''remain on assignment'' when unhealthy. [[Allow automatic rest when unhealthy|Universal Rules][$universalRulesRest to 1]] <<else>> Slaves will '...
r3d/fc
src/uncategorized/universalRules.tw
tw
bsd-3-clause
5,882
:: Use Guard <<nobr>> // $slaves[$i].slaveName is standing behind your left shoulder, guarding your person. <<set $seed to random(1,100)>> <<if ($slaves[$i].clothes is "attractive lingerie")>> Her lacy lingerie contrasts with her deadly weaponry. <<elseif ($slaves[$i].clothes is "a succubus outfit")>> Her succubus...
r3d/fc
src/uncategorized/useGuard.tw
tw
bsd-3-clause
6,518
:: Walk Past [nobr] // <<set $target to "">> <<if $familyTesting == 1 && totalRelatives($activeSlave) > 0 && random(1,100) > 80>> <<set $relations to 0>> <<set $relations to []>> <<if $activeSlave.sisters > 0>> <<for $j to 0; $j < $slaves.length; $j++>> <<if areSisters($activeSlave, $slaves[$j]) > 0>> <<se...
r3d/fc
src/uncategorized/walkPast.tw
tw
bsd-3-clause
136,177
:: Wardeness Select <<nobr>> <<set $nextButton to "Back">> <<set $nextLink to "Cellblock">> <<set $showEncyclopedia to 0>> <<for _i to 0; _i < $slaves.length; _i++>> <<if $Wardeness.ID == $slaves[_i].ID>> ''__@@color:pink;$slaves[_i].slaveName@@__'' is serving as your Wardeness. <<set $slaves[_i].assignment to "be...
r3d/fc
src/uncategorized/wardenessSelect.tw
tw
bsd-3-clause
677
:: Wardeness Workaround <<for $i to 0; $i < $slaves.length; $i++>> <<if ($slaves[$i].assignment is "be the Wardeness") && ($slaves[$i].ID != $Wardeness.ID)>> <<set $slaves[$i].assignment to "rest">> <<set $slaves[$i].assignmentVisible to 1>> <<break>> <</if>> <</for>> <<for $i to 0; $i < $slaves.length; $...
r3d/fc
src/uncategorized/wardenessWorkaround.tw
tw
bsd-3-clause
1,196
:: Whore Workaround <<set $activeSlave.assignment to "whore">> <<set $activeSlave.choosesOwnAssignment to 0>> <<for $i to 0; $i < $slaves.length; $i++>> <<if $activeSlave.ID == $slaves[$i].ID>> <<set $slaves[$i] to $activeSlave>> <<break>> <</if>> <</for>> <<goto "Main">>
r3d/fc
src/uncategorized/whoreWorkaround.tw
tw
bsd-3-clause
280
:: art widgets [nobr widget] /% Call as <<AssistantArt>> Displays assistant images. Currently passage-based. $args[0]: Image size/center. 3: Large, right. Example: description. 2: Medium, right. Example: random events. %/ <<widget "AssistantArt">> <<if $imageChoice == 0>> /* RENDERED IMAGES BY SHOKUSHU */ <<switch...
r3d/fc
src/utility/artWidgets.tw
tw
bsd-3-clause
16,678
:: assay widgets [widget nobr] <<widget "Beauty">> <<modScore $args[0]>> <<if $modScore > 15 || ($piercingScore > 8 && $tatScore > 5)>> <<set $modded += 1>> <<elseif $args[0].corsetPiercing == 0 && $piercingScore < 3 && $tatScore < 2>> <<set $unmodded += 1>> <</if>> <<if $args[0].vagina is -1>> <<set $XY += 1>> <<...
r3d/fc
src/utility/assayWidgets.tw
tw
bsd-3-clause
52,115
:: description widgets [widget nobr] <<widget "MainLinks">> <center> <<if ($personalAttention is "business")>>You plan to focus on business this week. <<elseif ($personalAttention is "whoring")>>You plan to focus on earning extra money this week. <<elseif ($personalAttention is "upkeep")>>You plan to focus on cleaning...
r3d/fc
src/utility/descriptionWidgets.tw
tw
bsd-3-clause
562,962
:: misc widgets [nobr widget] /* TODO: Modularize. */ /% Call as <<AssayedSlaveAvailable>> Checks $assayedSlave for availability, e.g. not strapped to a machine or distant. %/ <<widget "AssayedSlaveAvailable">> <<if $assayedSlave.assignment is "be your agent">> <<set $assayedSlaveAvailable = 0>> <<elseif $assayedS...
r3d/fc
src/utility/miscWidgets.tw
tw
bsd-3-clause
57,390
:: PT widgets [widget nobr] <<widget "InduceFlawAbuseEffects">> <<if $slaves[$i].devotion > 20>> She's @@color:mediumorchid;desperately confused@@ by this treatment, since the effect would be ruined if you explained it to her, and her @@color:gold;trust in you is reduced.@@ <<elseif $slaves[$i].devotion >= -20>> Sh...
r3d/fc
src/utility/ptWidgets.tw
tw
bsd-3-clause
3,553
:: RA widgets [widget nobr] /% Call as <<RAChangeActivation>> %/ <<widget "RAChangeActivation">> <<replace #activation>> __($currentRule.activation):__ <br> <<if ($currentRule.activation != "none") && ($currentRule.activation != "always")>> <span id="lower"> <<if ($currentRule.thresholdLower is "none")>> (no lowe...
r3d/fc
src/utility/raWidgets.tw
tw
bsd-3-clause
71,443
:: slave creation widgets [widget nobr] /% Call as <<StartingGirlsWorkaround>> %/ <<widget "StartingGirlsWorkaround">> <<include "Generate New Slave">> <<set $startingGirlCopied to 0>> <<set $activeSlave.health = 0>> <<set $activeSlave.devotion = 0>> <<set $activeSlave.trust = 0>> <<set $activeSlave.sexualQuirk...
r3d/fc
src/utility/slaveCreationWidgets.tw
tw
bsd-3-clause
50,875
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> <svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg=...
r3d/fc
vector source.svg
svg
bsd-3-clause
145,770
Pull Requests and Issues are both welcome. # Responsiveness General priority order is: * Crashes * Security issues in stb_image * Bugs * Security concerns in other libs * Warnings * Enhancements (new features, performance improvement, etc) Pull requests get priority over Issues. Some pull requests I take as written...
orochi/stb
.github/CONTRIBUTING.md
Markdown
mit
1,387
--- name: Bug report about: if you're having trouble using a library, try the support forum instead title: '' labels: '' assignees: '' --- **Describe the bug** A clear and concise description of what the bug is. **To Reproduce** Steps to reproduce the behavior: 1. Go to '...' 2. Click on '....' 3. Scroll down to '.....
orochi/stb
.github/ISSUE_TEMPLATE/bug_report.md
Markdown
mit
502
contact_links: - name: support forum url: https://github.com/nothings/stb/discussions/categories/q-a about: having trouble using an stb library? don't create an issue, post in the forum
orochi/stb
.github/ISSUE_TEMPLATE/config.yml
YAML
mit
196
--- name: Feature request about: Suggest an idea for this project title: '' labels: 4 enhancement assignees: '' --- **Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] **Describe the solution you'd like** A cl...
orochi/stb
.github/ISSUE_TEMPLATE/feature_request.md
Markdown
mit
606
* Delete this list before clicking CREATE PULL REQUEST * Make sure you're using a special branch just for this pull request. (Sometimes people unknowingly use a default branch, then later update that branch, which updates the pull request with the other changes if it hasn't been merged yet.) * Do NOT update the version...
orochi/stb
.github/PULL_REQUEST_TEMPLATE.md
Markdown
mit
627
name: CIFuzz on: [pull_request] jobs: Fuzzing: runs-on: ubuntu-latest steps: - name: Build Fuzzers uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master with: oss-fuzz-project-name: 'stb' dry-run: false - name: Run Fuzzers uses: google/oss-fuzz/infra/cifuzz/...
orochi/stb
.github/workflows/ci-fuzz.yml
YAML
mit
595
*.o *.obj *.exe
orochi/stb
.gitignore
Git
mit
16
language: C arch: - AMD64 - ppc64le install: true script: - cd tests - make all
orochi/stb
.travis.yml
YAML
mit
88
<!--- THIS FILE IS AUTOMATICALLY GENERATED, DO NOT CHANGE IT BY HAND ---> stb === single-file public domain (or MIT licensed) libraries for C/C++ Noteworthy: * image loader: [stb_image.h](stb_image.h) * image writer: [stb_image_write.h](stb_image_write.h) * image resizer: [stb_image_resize.h](stb_image_resize.h...
orochi/stb
README.md
Markdown
mit
9,042
#ifndef RR_SPRINTF_H_INCLUDE #define RR_SPRINTF_H_INCLUDE /* Single file sprintf replacement. Originally written by Jeff Roberts at RAD Game Tools - 2015/10/20. Hereby placed in public domain. This is a full sprintf replacement that supports everything that the C runtime sprintfs support, including float/double, 64...
orochi/stb
deprecated/rrsprintf.h
C++
mit
36,050
/* stb.h - v2.37 - Sean's Tool Box -- public domain -- http://nothings.org/stb.h no warranty is offered or implied; use this code at your own risk This is a single header file with a bunch of useful utilities for getting stuff done in C/C++. Documentation: http://nothings.org/stb/stb_h.html Unit...
orochi/stb
deprecated/stb.h
C++
mit
417,564
/* stb_image - v1.35 - public domain JPEG/PNG reader - http://nothings.org/stb_image.c when you control the images you're loading no warranty implied; use at your own risk QUICK NOTES: Primarily of interest to game developers and other people who can avoid pro...
orochi/stb
deprecated/stb_image.c
C++
mit
148,975
// check that stb_truetype compiles with no stb_rect_pack.h #define STB_TRUETYPE_IMPLEMENTATION #include "stb_truetype.h" #define STB_DS_IMPLEMENTATION #include "stb_ds.h" #include <assert.h> int main(int arg, char **argv) { int i; int *arr = NULL; for (i=0; i < 1000000; ++i) arrput(arr, i); asser...
orochi/stb
deprecated/stretch_test.c
C++
mit
542