JavaScript must be enabled to play.
Browser lacks capabilities required to play.
Upgrade or switch to another browser.
Loading…
<<nobr>> <<include "UpdateAll">> <<set $canShowStatsBtn = false>> <<set $gameSettings.allowSaves = false>> <<set _q = $quickScene>> <<if !_q || $interactionNpc == undefined>> <<goto "AiNpcChat">> <<else>> <<if _q.actClip>><<Video _q.actClip>><</if>> <<ChatMessage _q.actText>> /* The NPC's line: the regular sex line, replaced by an AI one if it answers in time. */ <<set _qPose = (_q.act == "oral" ? "Oral" : (_q.act == "anal" ? "Anal" : "Vag"))>> <<set _qNpcLeads = (_q.playerLeads != true)>> <<set _qExtra = (_q.lick ? "Lick" : (_q.strapOn ? "Strap-on" : ""))>> <<set _qLine = getPersonalizedSexDialog($interactionNpc, _qNpcLeads, _qPose, "Like", _qExtra)>> <div class="ai-sex-line"><<Chat $interactionNpc _qLine>></div> <<if _q.playerCame>> <<if _q.finishClip>><<Video _q.finishClip>><</if>> <<ChatMessage _q.finishText>> <div class="ai-sex-line" hidden><<Chat $interactionNpc "...">></div> <<set _aiSexInput = {pose: _qPose, npcLeads: _qNpcLeads, extra: _qExtra, sexType: "quickScene", moment: "playerClimax"}>> <<else>> <<set _aiSexInput = {pose: _qPose, npcLeads: _qNpcLeads, feeling: "Like", extra: _qExtra, sexType: "quickScene", moment: "turn", stockLine: _qLine}>> <</if>> <<done>><<run typeof aiSexTalk === "function" && aiSexTalk(_aiSexInput)>><</done>> <div class="padding-top"> <div class="btn"><<button "Back to the chat" "AiNpcChat">><<unset $quickScene>><</button>></div> </div> <</if>> <</nobr>>
<<nobr>> <<set $canShowStatsBtn = false>> <<set $gameSettings.allowSaves = false>> <div class="ai-chat-shell"> <div id="ai-npc-chat-root" class="ai-chat"><div class="options-warning">The chat could not load. Try reloading the page.</div></div> </div> <div class="padding-top"> <div class="btn"><<button "Back" "enhanced_interaction_system">><<run typeof aiStopSpeaking === "function" && aiStopSpeaking()>><</button>></div> </div> <<done>><<run typeof mountAiNpcChat === "function" && mountAiNpcChat(document.getElementById("ai-npc-chat-root"))>><</done>> <</nobr>>
<<nobr>> <<set $canShowStatsBtn = false>> <<set $gameSettings.allowSaves = false>> <div class="ai-chat-shell"> <div id="ai-chat-root" class="ai-chat"><div class="options-warning">The chat could not load. Try reloading the page.</div></div> </div> <div class="padding-top"> <div class="btn"><<button "Back" "QuestCharInteraction">><<run typeof aiStopSpeaking === "function" && aiStopSpeaking()>><</button>></div> </div> <<done>><<run typeof mountAiQuestChat === "function" && mountAiQuestChat(document.getElementById("ai-chat-root"))>><</done>> <</nobr>>
<<nobr>> <<include "UpdateAll">> <<ShowNpcIcon $interactionNpc>> <div class="padding-top"></div> <<ChanceButton "Casual conversation" "Casual_Conversation_Talk" $player $interactionNpc '{Friend: 50, Love: 0, Fear: 0, Lust: 0, CheckResistance: false}' "Casual Conversation" '<<set $fromPhone = true>>'>> <div class="padding-top"> <div class="btn"><<button "Where are you?" "WhereAreYou">><</button>></div> </div> <div class="padding-top"> <<ChanceButton 'Come to me' 'ComeToMe_Phone' $player $interactionNpc '{Friend: 70, Love: 0, Fear: 0, Lust: 0, CheckResistance: false, CheckSexPref: false}' 'ComeToMe'>> </div> <div class="padding-top"> <div class="btn"><<button "Leave" "Phone">><<unset $interactionNpc $indexNPC>> <<set $gameSettings.allowSaves = true>><<set $canShowStatsBtn = true>><</button>></div> </div> <</nobr>>
<<nobr>> <<include "UpdateAll">> <<ShowNpcIcon $interactionNpc>> <<set _loc = $interactionNpc.info.currentLocation>> <<switch _loc>> <<case "CollegeHall">> <<set _msg = "I'm in the college hall">> <<case "Auditorium">> <<set _msg = "I'm in the auditorium">> <<case "WomensRestroom">> <<set _msg = "I'm in the college restroom">> <<case "MensRestroom">> <<set _msg = "I'm in the college restroom">> <<case "Campus">> <<set _msg = "I'm in the campus">> <<case "Mall">> <<set _msg = "I'm in the mall">> <<case "RedLightDistrict">> <<set _msg = "I'm in the red-light district">> <<case "GiftShop">> <<set _msg = "I'm in the gift shop">> <<case "Pharmacy">> <<set _msg = "I'm in the pharmacy">> <<case "Grocery">> <<set _msg = "I'm in the grocery">> <<case "FitnessClub">> <<set _msg = "I'm in the gym">> <<case "Park">> <<set _msg = "I'm in the park">> <<case "ParkRestrooms">> <<set _msg = "I'm in the park restroom.">> <<case "ClothingStore">> <<set _msg = "I'm in the park clothing store">> <<case "SexShop">> <<set _msg = "I'm in the park sex shop">> <<default>> <<set _msg = "I'm walking around the city.">> <</switch>> <<Chat $interactionNpc _msg>> <div class="padding-top"> <div class="btn"><<button "Back" "CallToCharacter">><</button>></div> </div> <</nobr>>
<<nobr>> <<include "UpdateAll">> <<CheckChance 'ComeToMe_Phone_Success' 'ComeToMe_Phone_Failed' 'ComeToMe_Phone_Failed_Twice' 'CallToCharacter' 'ComeToMe' '{createBackButton: true, createTwiceBackButton: true}'>> <</nobr>>
<<nobr>> <<set _lockRelocate = $player.info.currentLocation>> <<set _phoneInviteSource = setup.isLocationInPlayerHome && setup.isLocationInPlayerHome(_lockRelocate) ? "phoneInviteHome" : "phoneInviteLocation">> <<set _journeyResult = setup.requestNpcGuestJourney($interactionNpc, _lockRelocate, 2, _phoneInviteSource)>> <<if _journeyResult.ok>> <<set _phrase = [ "Alright, I’ll head over in a bit!", "Sure thing! I’ll be there soon.", "Sounds good. I’ll be on my way!", "Yeah, I can come by. See you soon!", "Alright, I’m coming! Just give me a few minutes.", ].random()>> <<else>> <<set _phrase = _journeyResult.reason>> <</if>> <<Chat $interactionNpc _phrase>> <div class="padding-top"> <div class="btn"><<button "Continue" $player.info.currentLocation>> <<unset $interactionNpc $indexNPC _journeyResult>> <<set $gameSettings.allowSaves = true>> <<set $canShowStatsBtn = true>> <</button>></div> </div> <</nobr>>
<<nobr>> <<set _phrase = [ "Sorry, I can’t make it right now.", "I don’t think I can come by today.", "Thanks for the invite, but I’m not able to.", "Nah, I’m just gonna stay in tonight.", "I’d love to, but I can’t right now.", ].random()>> <<Chat $interactionNpc _phrase>> <div class="padding-top"> <div class="btn"><<button "Back" "CallToCharacter">><</button>></div> </div> <</nobr>>
<<nobr>> <<set _phrase = [ "I already said I’m not coming, so drop it.", "Seriously, I can’t come over. Stop pushing.", "Look, I told you no. Let’s leave it there.", "How many times do I have to say I’m not coming?", "Enough already. I’m not coming over, end of story.", ].random()>> <<Chat $interactionNpc _phrase>> <div class="padding-top"> <div class="btn"><<button "Back" "CallToCharacter">><</button>></div> </div> <</nobr>>
<<nobr>> /* Compatibility redirect for saves whose current passage was the retired proposal screen. The live proposal system is part of the main interaction. */ <<goto "enhanced_interaction_system">> <</nobr>>
<<nobr>> <<include "UpdateAll">> <<ShowNpcIcon $interactionNpc>> <<set _datingAcceptMsg = "You agreed to start dating " + $interactionNpc.info.firstName + ".">> <<ChatMessage _datingAcceptMsg>> <<run setup.setPlayerNpcRelationshipStatus($player, $interactionNpc, "dating", {source: "legacy_proposal"})>> <<unset $pendingDatingRelation>> <div class="padding-top"> <div class="btn"><<button "Continue" "enhanced_interaction_system">><</button>></div> </div> <</nobr>>
<<nobr>> <<include "UpdateAll">> <<ShowNpcIcon $interactionNpc>> <<set _datingRejectMsg = "You refused to date " + $interactionNpc.info.firstName + ".">> <<ChatMessage _datingRejectMsg>> <<IncreaseLove $player $interactionNpc -5>> <<unset $pendingDatingRelation>> <div class="padding-top"> <div class="btn"><<button "Continue" "enhanced_interaction_system">><</button>></div> </div> <</nobr>>
<<nobr>> <<include "UpdateAll">> <<set _interaction = setup.getInteractionDefinition("insult")>> <<set $interactionResult = setup.performEnhancedInteraction($player, $interactionNpc, "insult")>> <<if $interactionResult.blocked>> <<include "enhanced_interaction_result_display">> <<else>> <<SpendTime _interaction.timeCost>> <<SpendEnergy $player _interaction.energyCost>> <<run setup.applyInteractionEffects($player, $interactionNpc, "insult", $interactionResult)>> <<ShowNpcIcon $interactionNpc>> <<if $interactionResult.criticalSuccess>> <<Chat $interactionNpc "I... I don't know what to say... That was too cruel... 😢">> <<ChatMessage "Your insult hit the most painful spot. NPC is devastated.">> <<elseif $interactionResult.criticalFailure>> <<Chat $interactionNpc "HA! Was that supposed to hurt me? Pathetic attempt!">> <<ChatMessage "NPC completely ignored your insult and laughed at you.">> <<elseif $interactionResult.success>> <<set _relation = $player.getRelationship($interactionNpc.info.id, false)?.relation ?? "acquaintance">> <<switch _relation>> <<case "friend" "bestFriend">> <<Chat $interactionNpc "How can you say that? I thought we were friends!">> <<case "dating" "soulmate">> <<Chat $interactionNpc "What?! After everything we've been through together?!">> <<case "enemy" "archenemy">> <<Chat $interactionNpc "You'll pay for that! I won't forget!">> <<case "rival">> <<Chat $interactionNpc "Ha! Think that bothers me? Well, almost...">> <<default>> <<Chat $interactionNpc "What rudeness?! You'll regret this!">> <</switch>> <<ChatMessage "Your insult hit home.">> <<else>> <<Chat $interactionNpc "Uh... what? Was that an insult? I didn't get it.">> <<ChatMessage "The insult missed its mark.">> <</if>> <<include "enhanced_interaction_result_display">> <</if>> <</nobr>>
<<nobr>> <<include "UpdateAll">> <<set _interaction = setup.getInteractionDefinition("threaten")>> <<set $interactionResult = setup.performEnhancedInteraction($player, $interactionNpc, "threaten")>> <<if $interactionResult.blocked>> <<include "enhanced_interaction_result_display">> <<else>> <<SpendTime _interaction.timeCost>> <<SpendEnergy $player _interaction.energyCost>> <<run setup.applyInteractionEffects($player, $interactionNpc, "threaten", $interactionResult)>> <<ShowNpcIcon $interactionNpc>> <<if $interactionResult.criticalSuccess>> <<Chat $interactionNpc "O-okay! Okay! I'll do anything you say! Just don't hurt me! 😰">> <<ChatMessage "NPC is completely intimidated and submissive!">> <<include "enhanced_interaction_result_display">> <<elseif $interactionResult.criticalFailure>> <<Chat $interactionNpc "You're threatening ME?! I'll destroy you!">> <<ChatMessage "Your threat angered NPC! Be careful!">> <div class="btn padding-top"> <<button "Prepare to fight">> <<set _battleSetControls = {attack: true, seduce: false, items: true, actions: true}>> <<StartFight $player $interactionNpc _battleSetControls undefined undefined>> <</button>> </div> <div class="btn padding-top"><<button "Back off" "enhanced_interaction_system">><</button>></div> <<elseif $interactionResult.success>> <<set _relation = $player.getRelationship($interactionNpc.info.id, false)?.relation ?? "acquaintance">> <<switch _relation>> <<case "acquaintance" "friend">> <<Chat $interactionNpc "W-what? Why are you doing this? I'm scared...">> <<case "enemy" "archenemy">> <<Chat $interactionNpc "Fine, fine... I get the message. For now.">> <<default>> <<Chat $interactionNpc "Alright... I don't want any trouble...">> <</switch>> <<ChatMessage "Threat worked. NPC is scared.">> <<include "enhanced_interaction_result_display">> <<else>> <<Chat $interactionNpc "Ha! Was that supposed to scare me? Funny.">> <<ChatMessage "The threat didn't impress them.">> <<include "enhanced_interaction_result_display">> <</if>> <</if>> <</nobr>>
<<nobr>> <<include "UpdateAll">> <<set _interaction = setup.getInteractionDefinition("intimidate")>> <<set $interactionResult = setup.performEnhancedInteraction($player, $interactionNpc, "intimidate")>> <<if $interactionResult.blocked>> <<include "enhanced_interaction_result_display">> <<else>> <<SpendTime _interaction.timeCost>> <<SpendEnergy $player _interaction.energyCost>> <<run setup.applyInteractionEffects($player, $interactionNpc, "intimidate", $interactionResult)>> <<ShowNpcIcon $interactionNpc>> <<if $interactionResult.criticalSuccess>> <<Chat $interactionNpc "P-please! I'll do anything! Just don't hit me! 😱">> <<ChatMessage "NPC is completely broken! Fear paralyzes them!">> <<include "enhanced_interaction_result_display">> <<elseif $interactionResult.criticalFailure>> <<Chat $interactionNpc "You think you're stronger than me?! Let's find out!">> <<ChatMessage "NPC wasn't scared and is ready to fight!">> <div class="btn padding-top"> <<button "Fight!">> <<set _battleSetControls = {attack: true, seduce: false, items: true, actions: true}>> <<StartFight $player $interactionNpc _battleSetControls undefined undefined>> <</button>> </div> <div class="btn padding-top"><<button "Run" $player.info.currentLocation>><<LeaveInteractionSettings>><</button>></div> <<elseif $interactionResult.success>> <<Chat $interactionNpc "A-alright... I understand. No need for violence...">> <<ChatMessage "Intimidation worked. NPC is impressed by your strength.">> <<include "enhanced_interaction_result_display">> <<else>> <<Chat $interactionNpc "You're not as scary as you think.">> <<ChatMessage "Intimidation attempt failed.">> <<include "enhanced_interaction_result_display">> <</if>> <</if>> <</nobr>>
<<nobr>> <<include "UpdateAll">> <<set _interaction = setup.getInteractionDefinition("challenge")>> <<set $interactionResult = setup.performEnhancedInteraction($player, $interactionNpc, "challenge")>> <<if $interactionResult.blocked>> <<include "enhanced_interaction_result_display">> <<else>> <<SpendTime _interaction.timeCost>> <<SpendEnergy $player _interaction.energyCost>> <<run setup.applyInteractionEffects($player, $interactionNpc, "challenge", $interactionResult)>> <<ShowNpcIcon $interactionNpc>> <<if $interactionResult.criticalSuccess>> <<Chat $interactionNpc "You're challenging me? Interesting! I accept! This will be fun! 😤💪">> <<ChatMessage "NPC enthusiastically accepted your challenge! This strengthened mutual respect!">> <<include "enhanced_interaction_result_display">> <<elseif $interactionResult.criticalFailure>> <<Chat $interactionNpc "A challenge? From you? Don't make me laugh. You're not worth my time.">> <<ChatMessage "NPC contemptuously rejected your challenge.">> <<include "enhanced_interaction_result_display">> <<elseif $interactionResult.success>> <<set _relation = $player.getRelationship($interactionNpc.info.id, false)?.relation ?? "acquaintance">> <<switch _relation>> <<case "rival">> <<Chat $interactionNpc "Ha! Finally, a worthy opponent! Let's see what you've got!">> <<case "enemy" "archenemy">> <<Chat $interactionNpc "You'll regret this! Challenge accepted!">> <<case "friend" "bestFriend">> <<Chat $interactionNpc "Oh, a friendly competition? Why not!">> <<default>> <<Chat $interactionNpc "Interesting... alright, I accept.">> <</switch>> <<ChatMessage "Challenge accepted!">> <div class="btn padding-top"> <<button "Fight!">> <<set _battleSetControls = {attack: true, seduce: false, items: true, actions: true}>> <<StartFight $player $interactionNpc _battleSetControls undefined undefined undefined true>> <</button>> </div> <div class="btn padding-top"><<button "Changed my mind" "enhanced_interaction_system">><</button>></div> <<else>> <<Chat $interactionNpc "Not now. I don't have time for this.">> <<ChatMessage "NPC declined your challenge.">> <<include "enhanced_interaction_result_display">> <</if>> <</if>> <</nobr>>
<<nobr>> <<include "UpdateAll">> <<include "enhanced_interaction_busy_check">> <<set _interaction = setup.getInteractionDefinition("smallTalk")>> <<if _isBusy>> <<include "enhanced_interaction_smallTalk_busy">> <<else>> <<set $interactionResult = setup.performEnhancedInteraction($player, $interactionNpc, "smallTalk")>> <<if $interactionResult.blocked>> <<include "enhanced_interaction_result_display">> <<else>> <<SpendTime _interaction.timeCost>> <<SpendEnergy $player _interaction.energyCost>> <<set _warmBefore = setup.npcChat.warmBefore($player, $interactionNpc)>> <<run setup.applyInteractionEffects($player, $interactionNpc, "smallTalk", $interactionResult)>> /* D-AIC13: light talk is plain talk, it fills the same daily closeness cap as the AI chat. */ <<run setup.npcChat.capMenuTalk($player, $interactionNpc, "smallTalk", $interactionResult, _warmBefore)>> <<if $interactionResult.criticalSuccess>> <<include "enhanced_interaction_smallTalk_crit_success">> <<elseif $interactionResult.criticalFailure>> <<include "enhanced_interaction_smallTalk_crit_failure">> <<elseif $interactionResult.success>> <<include "enhanced_interaction_smallTalk_success">> <<else>> <<include "enhanced_interaction_smallTalk_failure">> <</if>> <</if>> <</if>> <</nobr>>
<<nobr>> <<ShowNpcIcon $interactionNpc>> <<set _relation = $player.getRelationship($interactionNpc.info.id, false)?.relation ?? "acquaintance">> <<switch _relation>> <<case "acquaintance">> <<Chat $interactionNpc "Nice chatting with you. You're quite interesting to talk to.">> <<case "friend">> <<Chat $interactionNpc "Always love chatting with you! How have you been?">> <<case "bestFriend">> <<Chat $interactionNpc "I love our conversations! Tell me, what's new?">> <<case "crush">> <<Chat $interactionNpc "I enjoy talking with you... you're so interesting.">> <<case "dating">> <<Chat $interactionNpc "Babe, I love just chatting with you.">> <<case "soulmate">> <<Chat $interactionNpc "Every conversation with you is pure happiness, my love.">> <<case "rival">> <<Chat $interactionNpc "Hmm, that wasn't so bad. Maybe you're not that terrible.">> <<case "enemy">> <<Chat $interactionNpc "Fine... that wasn't as awful as I expected.">> <<default>> <<Chat $interactionNpc "Nice chat!">> <</switch>> <<include "enhanced_interaction_result_display">> <</nobr>>
<<nobr>> <<ShowNpcIcon $interactionNpc>> <<Chat $interactionNpc "Uh... what? I didn't quite get that.">> <<include "enhanced_interaction_result_display">> <</nobr>>
<<nobr>> <<ShowNpcIcon $interactionNpc>> <<Chat $interactionNpc "Wow! That was an amazing conversation! You're incredible to talk to! 🌟">> <<ChatMessage "You found common interests and really connected!">> <<include "enhanced_interaction_result_display">> <</nobr>>
<<nobr>> <<ShowNpcIcon $interactionNpc>> <<Chat $interactionNpc "What?! That was completely inappropriate! I'm leaving!">> <<ChatMessage "You accidentally touched a sensitive topic and made a bad impression.">> <<include "enhanced_interaction_result_display">> <</nobr>>
<<nobr>> <<ShowNpcIcon $interactionNpc>> <<Chat $interactionNpc "Sorry, I'm too tired for conversation right now. Maybe later?">> <div class="btn padding-top"><<button "Back" "enhanced_interaction_system">><</button>></div> <</nobr>>
<<nobr>> <<include "UpdateAll">> <<include "enhanced_interaction_busy_check">> <<set _interaction = setup.getInteractionDefinition("deepConversation")>> <<if _isBusy>> <<ShowNpcIcon $interactionNpc>> <<Chat $interactionNpc "Sorry, I'm not in the right headspace for deep talks right now...">> <div class="btn padding-top"><<button "Back" "enhanced_interaction_system">><</button>></div> <<else>> <<set $interactionResult = setup.performEnhancedInteraction($player, $interactionNpc, "deepConversation")>> <<if $interactionResult.blocked>> <<include "enhanced_interaction_result_display">> <<else>> <<SpendTime _interaction.timeCost>> <<SpendEnergy $player _interaction.energyCost>> <<run setup.applyInteractionEffects($player, $interactionNpc, "deepConversation", $interactionResult)>> <<ShowNpcIcon $interactionNpc>> <<if $interactionResult.criticalSuccess>> <<Chat $interactionNpc "That was... the most honest conversation I've ever had. I feel like we're truly connected. 💫">> <<ChatMessage "You opened up to each other. This bond will stay with you both.">> <<elseif $interactionResult.criticalFailure>> <<Chat $interactionNpc "How can you say that?! That was really hurtful!">> <<ChatMessage "You accidentally said something offensive.">> <<elseif $interactionResult.success>> <<Chat $interactionNpc "Thank you for listening. It really meant a lot to talk about this.">> <<ChatMessage "You had a meaningful conversation and understand each other better.">> <<else>> <<Chat $interactionNpc "I'm not sure I'm ready to discuss such personal things...">> <<ChatMessage "The conversation didn't go well. Maybe it wasn't the right time.">> <</if>> <<include "enhanced_interaction_result_display">> <</if>> <</if>> <</nobr>>
<<nobr>> <<include "UpdateAll">> <<include "enhanced_interaction_busy_check">> <<set _interaction = setup.getInteractionDefinition("shareSecret")>> <<if _isBusy>> <<ShowNpcIcon $interactionNpc>> <<Chat $interactionNpc "Wait, now's not a good time for secrets...">> <div class="btn padding-top"><<button "Back" "enhanced_interaction_system">><</button>></div> <<else>> <<set $interactionResult = setup.performEnhancedInteraction($player, $interactionNpc, "shareSecret")>> <<if $interactionResult.blocked>> <<include "enhanced_interaction_result_display">> <<else>> <<SpendTime _interaction.timeCost>> <<SpendEnergy $player _interaction.energyCost>> <<run setup.applyInteractionEffects($player, $interactionNpc, "shareSecret", $interactionResult)>> <<ShowNpcIcon $interactionNpc>> <<if $interactionResult.criticalSuccess>> <<Chat $interactionNpc "Wow... I'm touched you trust me with this. I want to share something too... 🤫">> <<ChatMessage "You exchanged secrets and created a special bond!">> <<elseif $interactionResult.criticalFailure>> <<Chat $interactionNpc "What?! I can't believe you told me that... I need to think.">> <<ChatMessage "The secret was too shocking. This damaged trust.">> <<elseif $interactionResult.success>> <<Chat $interactionNpc "Thank you for trusting me. Your secret is safe with me.">> <<ChatMessage "You strengthened your bond through trust.">> <<else>> <<Chat $interactionNpc "Um... not sure I wanted to know that...">> <<ChatMessage "Sharing the secret didn't work out.">> <</if>> <<include "enhanced_interaction_result_display">> <</if>> <</if>> <</nobr>>
<<nobr>> <<include "UpdateAll">> <<include "enhanced_interaction_busy_check">> <<set _interaction = setup.getInteractionDefinition("askForAdvice")>> <<if _isBusy>> <<ShowNpcIcon $interactionNpc>> <<Chat $interactionNpc "Sorry, my head's too full of my own problems right now...">> <div class="btn padding-top"><<button "Back" "enhanced_interaction_system">><</button>></div> <<else>> <<set $interactionResult = setup.performEnhancedInteraction($player, $interactionNpc, "askForAdvice")>> <<if $interactionResult.blocked>> <<include "enhanced_interaction_result_display">> <<else>> <<SpendTime _interaction.timeCost>> <<SpendEnergy $player _interaction.energyCost>> <<run setup.applyInteractionEffects($player, $interactionNpc, "askForAdvice", $interactionResult)>> <<ShowNpcIcon $interactionNpc>> <<if $interactionResult.criticalSuccess>> <<Chat $interactionNpc "Oh, I have a great idea! Try this... 💡">> <<ChatMessage "The advice was incredibly helpful! You feel grateful.">> <<elseif $interactionResult.success>> <<Chat $interactionNpc "Hmm, I think you should try... Hope it helps!">> <<ChatMessage "You got some useful advice.">> <<else>> <<Chat $interactionNpc "Honestly, I don't know what to tell you...">> <<ChatMessage "Couldn't get any advice.">> <</if>> <<include "enhanced_interaction_result_display">> <</if>> <</if>> <</nobr>>
<<nobr>> <<include "UpdateAll">> <<set _interaction = setup.getInteractionDefinition("giveGift")>> <<set $interactionResult = setup.performEnhancedInteraction($player, $interactionNpc, "giveGift")>> <<if $interactionResult.blocked>> <<include "enhanced_interaction_result_display">> <<else>> <<SpendTime _interaction.timeCost>> <<SpendEnergy $player _interaction.energyCost>> <<run setup.applyInteractionEffects($player, $interactionNpc, "giveGift", $interactionResult)>> <<ShowNpcIcon $interactionNpc>> <<if $interactionResult.criticalSuccess>> <<Chat $interactionNpc "This is... exactly what I've always wanted! How did you know?! 🎁✨">> <<ChatMessage "The gift was perfect! NPC is absolutely thrilled!">> <<elseif $interactionResult.criticalFailure>> <<Chat $interactionNpc "Uh... thanks, but this really isn't my thing... 😕">> <<ChatMessage "The gift completely missed the mark.">> <<elseif $interactionResult.success>> <<Chat $interactionNpc "Oh, how sweet! Thank you so much, I love it!">> <<ChatMessage "The gift was well received!">> <<else>> <<Chat $interactionNpc "Thanks... but why would I need this?">> <<ChatMessage "The gift didn't make an impression.">> <</if>> /* Grants, status, money and resentment: one source, shared with the AI chat. */ <<set _consequences = setup.applyInteractionConsequences($player, $interactionNpc, "giveGift", $interactionResult)>> <<include "enhanced_interaction_result_display">> <</if>> <</nobr>>
<<nobr>> <<include "UpdateAll">> <<set _interaction = setup.getInteractionDefinition("tellJoke")>> <<set $interactionResult = setup.performEnhancedInteraction($player, $interactionNpc, "tellJoke")>> <<if $interactionResult.blocked>> <<include "enhanced_interaction_result_display">> <<else>> <<SpendTime _interaction.timeCost>> <<SpendEnergy $player _interaction.energyCost>> <<set _warmBefore = setup.npcChat.warmBefore($player, $interactionNpc)>> <<run setup.applyInteractionEffects($player, $interactionNpc, "tellJoke", $interactionResult)>> /* D-AIC13: light talk is plain talk, it fills the same daily closeness cap as the AI chat. */ <<run setup.npcChat.capMenuTalk($player, $interactionNpc, "tellJoke", $interactionResult, _warmBefore)>> <<ShowNpcIcon $interactionNpc>> <<if $interactionResult.criticalSuccess>> <<Chat $interactionNpc "HAHAHA! That's the funniest joke I've ever heard! 🤣🤣">> <<ChatMessage "NPC is laughing until they cry! You made their day!">> <<elseif $interactionResult.criticalFailure>> <<Chat $interactionNpc "...That was offensive. Not funny at all.">> <<ChatMessage "The joke was inappropriate and hurt their feelings.">> <<elseif $interactionResult.success>> <<Chat $interactionNpc "Haha, not bad! You really know how to make me laugh!">> <<ChatMessage "The joke landed!">> <<else>> <<Chat $interactionNpc "Uh... I don't get it.">> <<ChatMessage "The joke fell flat.">> <</if>> <<include "enhanced_interaction_result_display">> <</if>> <</nobr>>
<<nobr>> <<include "UpdateAll">> <<include "enhanced_interaction_jealousy_check">> <<if _jealousIntervene>> <<include "jealous_partner_intervenes">> <<elseif _playerPartnerIntervene>> <<include "player_partner_confrontation">> <<else>> <<set _interaction = setup.getInteractionDefinition("kiss")>> <<set $interactionResult = setup.performEnhancedInteraction($player, $interactionNpc, "kiss")>> <<if $interactionResult.blocked>> <<include "enhanced_interaction_result_display">> <<else>> <<SpendTime _interaction.timeCost>> <<SpendEnergy $player _interaction.energyCost>> <<run setup.applyInteractionEffects($player, $interactionNpc, "kiss", $interactionResult)>> <<ShowNpcIcon $interactionNpc>> <<if $interactionResult.criticalSuccess>> <<Chat $interactionNpc "That was... the most magical kiss... I'm dizzy... 💋✨">> <<ChatMessage "An incredible kiss! You both feel electricity!">> <<set $interaction = "Kiss">> <<Interaction $player $interactionNpc>> <<elseif $interactionResult.criticalFailure>> <<Chat $interactionNpc "Ugh! What was that?! Don't do that again!">> <<ChatMessage "The most awkward kiss in history...">> <<elseif $interactionResult.success>> <<set _relation = $player.getRelationship($interactionNpc.info.id, false)?.relation ?? "acquaintance">> <<switch _relation>> <<case "crush">> <<Chat $interactionNpc "Mmm... that was... wow... 😳💕">> <<case "dating">> <<Chat $interactionNpc "Your kisses are the best thing in my life. 💋">> <<case "soulmate">> <<Chat $interactionNpc "Every kiss with you feels like the first time. 💞">> <<case "fuckbuddy">> <<Chat $interactionNpc "Mmm, not bad. I want more. 😏">> <<case "hatefuck">> <<Chat $interactionNpc "I hate that I like this...">> <<default>> <<Chat $interactionNpc "That was... nice.">> <</switch>> <<ChatMessage "Kiss was successful!">> <<set $interaction = "Kiss">> <<Interaction $player $interactionNpc>> <<else>> <<Chat $interactionNpc "Wait... not now.">> <<ChatMessage "NPC pulled away from the kiss.">> <</if>> <<if $interactionResult.success || $interactionResult.criticalSuccess>> <<run gainSexExp($player, "sexualKnowledge", 1)>> <<run gainSexExp($player, "disinhibition", 1)>> <</if>> <<include "enhanced_interaction_result_display">> <</if>> <</if>> <</nobr>>
<<nobr>> <<include "UpdateAll">> <<include "enhanced_interaction_jealousy_check">> <<if _jealousIntervene>> <<include "jealous_partner_intervenes">> <<elseif _playerPartnerIntervene>> <<include "player_partner_confrontation">> <<else>> <<set _interaction = setup.getInteractionDefinition("passionateKiss")>> <<set $interactionResult = setup.performEnhancedInteraction($player, $interactionNpc, "passionateKiss")>> <<if $interactionResult.blocked>> <<include "enhanced_interaction_result_display">> <<else>> <<SpendTime _interaction.timeCost>> <<SpendEnergy $player _interaction.energyCost>> <<run setup.applyInteractionEffects($player, $interactionNpc, "passionateKiss", $interactionResult)>> <<ShowNpcIcon $interactionNpc>> <<if $interactionResult.criticalSuccess>> <<Chat $interactionNpc "Oh god... I can't breathe... Don't stop... 🔥💋💕">> <<ChatMessage "The passion is overwhelming! NPC is completely caught up in the moment!">> <<set $interaction = "Kiss">> <<Interaction $player $interactionNpc>> <<elseif $interactionResult.criticalFailure>> <<Chat $interactionNpc "Stop! You're being too aggressive! That's not romantic!">> <<ChatMessage "The passionate kiss attempt was clumsy.">> <<elseif $interactionResult.success>> <<set _relation = $player.getRelationship($interactionNpc.info.id, false)?.relation ?? "acquaintance">> <<switch _relation>> <<case "dating" "soulmate">> <<Chat $interactionNpc "Mmm... I love it when you kiss me like that... 😍🔥">> <<case "fuckbuddy">> <<Chat $interactionNpc "Now that's what I'm talking about! Keep going... 😈">> <<case "hatefuck">> <<Chat $interactionNpc "I hate you... but keep going...">> <<default>> <<Chat $interactionNpc "Wow... that was... intense.">> <</switch>> <<ChatMessage "The passionate kiss ignited desire!">> <<set $interaction = "Kiss">> <<Interaction $player $interactionNpc>> <<else>> <<Chat $interactionNpc "This is... too fast. I need to stop.">> <<ChatMessage "NPC isn't ready for such passion right now.">> <</if>> <<if $interactionResult.success || $interactionResult.criticalSuccess>> <<run gainSexExp($player, "sexualKnowledge", 2)>> <<run gainSexExp($player, "disinhibition", 2)>> <</if>> <<include "enhanced_interaction_result_display">> <</if>> <</if>> <</nobr>>
<<nobr>> <<include "UpdateAll">> <<include "enhanced_interaction_jealousy_check">> <<if _jealousIntervene>> <<include "jealous_partner_intervenes">> <<elseif _playerPartnerIntervene>> <<include "player_partner_confrontation">> <<else>> <<set _interaction = setup.getInteractionDefinition("sensualTouch")>> <<set $interactionResult = setup.performEnhancedInteraction($player, $interactionNpc, "sensualTouch")>> <<if $interactionResult.blocked>> <<include "enhanced_interaction_result_display">> <<else>> <<SpendTime _interaction.timeCost>> <<SpendEnergy $player _interaction.energyCost>> <<run setup.applyInteractionEffects($player, $interactionNpc, "sensualTouch", $interactionResult)>> <<ShowNpcIcon $interactionNpc>> <<if $interactionResult.criticalSuccess>> <<Chat $interactionNpc "Ah... Your hands... you know how to turn me on... 🔥😩">> <<ChatMessage "Your touches are electrifying! NPC is completely under your spell!">> <<set $interaction = BeachPicnic.getTouchInteractionKey($interactionNpc.gender())>> <<Interaction $player $interactionNpc>> <<elseif $interactionResult.criticalFailure>> <<Chat $interactionNpc "Hey! Don't touch me there! That's not okay!">> <<ChatMessage "Your touch was too bold and inappropriate.">> <<elseif $interactionResult.success>> <<set _relation = $player.getRelationship($interactionNpc.info.id, false)?.relation ?? "acquaintance">> <<switch _relation>> <<case "dating" "soulmate">> <<Chat $interactionNpc "Mmm... don't stop... 😍">> <<case "fuckbuddy">> <<Chat $interactionNpc "Oh yes... you know what you're doing... 😏">> <<case "crush">> <<Chat $interactionNpc "O-oh... that feels nice... 😳">> <<default>> <<Chat $interactionNpc "That's... good...">> <</switch>> <<ChatMessage "Your touch aroused interest.">> <<set $interaction = BeachPicnic.getTouchInteractionKey($interactionNpc.gender())>> <<Interaction $player $interactionNpc>> <<else>> <<Chat $interactionNpc "Wait... I'm not ready for this.">> <<ChatMessage "NPC gently removed your hand.">> <</if>> <<if $interactionResult.success || $interactionResult.criticalSuccess>> <<run gainSexExp($player, "handSkill", Random(1,2))>> <<run gainSexExp($player, "disinhibition", Random(1,2))>> <</if>> <<include "enhanced_interaction_result_display">> <</if>> <</if>> <</nobr>>
<<nobr>> <<include "UpdateAll">> <<include "enhanced_interaction_busy_check">> <<if _isBusy>> <<ShowNpcIcon $interactionNpc>> <<Chat $interactionNpc "Sounds tempting, but I'm not in the mood right now...">> <div class="btn padding-top"><<button "Back" "enhanced_interaction_system">><</button>></div> <<else>> <<set _interaction = setup.getInteractionDefinition("massage")>> <<set $interactionResult = setup.performEnhancedInteraction($player, $interactionNpc, "massage")>> <<if $interactionResult.blocked>> <<include "enhanced_interaction_result_display">> <<else>> <<SpendTime _interaction.timeCost>> <<SpendEnergy $player _interaction.energyCost>> <<run setup.applyInteractionEffects($player, $interactionNpc, "massage", $interactionResult)>> <<ShowNpcIcon $interactionNpc>> <<if $interactionResult.criticalSuccess>> <<Chat $interactionNpc "Oh god... You have magic hands... I'm melting... 💆♀️✨">> <<ChatMessage "Best massage ever! Complete relaxation achieved!">> <<elseif $interactionResult.criticalFailure>> <<Chat $interactionNpc "Ouch! That hurts! Are you trying to injure me?!">> <<ChatMessage "The massage turned into torture. NPC is not happy.">> <<elseif $interactionResult.success>> <<set _relation = $player.getRelationship($interactionNpc.info.id, false)?.relation ?? "acquaintance">> <<switch _relation>> <<case "dating" "soulmate">> <<Chat $interactionNpc "Mmm... so good... Thank you, sweetheart... 💕">> <<case "fuckbuddy">> <<Chat $interactionNpc "Nice hands... maybe we continue somewhere else? 😏">> <<case "friend" "bestFriend">> <<Chat $interactionNpc "Oooh, that's so relaxing! You're talented!">> <<case "crush">> <<Chat $interactionNpc "Ah... your hands are so gentle... 😊">> <<default>> <<Chat $interactionNpc "Thanks, that was really nice.">> <</switch>> <<ChatMessage "Massage was successful! NPC is relaxed and happy.">> <<else>> <<Chat $interactionNpc "Hmm, thanks, but massage isn't really my thing...">> <<ChatMessage "The massage didn't have the desired effect.">> <</if>> <<if $interactionResult.success || $interactionResult.criticalSuccess>> <<run gainSexExp($player, "handSkill", Random(1,2))>> <<run gainSexExp($player, "sexualKnowledge", 1)>> <</if>> <<include "enhanced_interaction_result_display">> <</if>> <</if>> <</nobr>>
<<nobr>> <<include "UpdateAll">> <<include "enhanced_interaction_jealousy_check">> <<if _jealousIntervene>> <<include "jealous_partner_intervenes">> <<elseif _playerPartnerIntervene>> <<include "player_partner_confrontation">> <<else>> <<set _interaction = setup.getInteractionDefinition("askForSex")>> <<set $interactionResult = setup.performEnhancedInteraction($player, $interactionNpc, "askForSex")>> <<if $interactionResult.blocked>> <<include "enhanced_interaction_result_display">> <<else>> <<SpendTime _interaction.timeCost>> <<SpendEnergy $player _interaction.energyCost>> <<run setup.applyInteractionEffects($player, $interactionNpc, "askForSex", $interactionResult)>> <<ShowNpcIcon $interactionNpc>> <<if $interactionResult.criticalSuccess>> <<Chat $interactionNpc "Yes! Finally! I've been wanting this so bad! Let's go! 🔥😈💕">> <<ChatMessage "NPC enthusiastically accepted your proposal!">> <div class="btn padding-top"><<button "Continue" "ChooseSexType">><</button>></div> <<elseif $interactionResult.criticalFailure>> <<Chat $interactionNpc "What?! How can you even ask that?! That's disgusting!">> <<ChatMessage "Your proposal was harshly rejected and left a bad taste.">> <<include "enhanced_interaction_result_display">> <<elseif $interactionResult.success>> <<set _relation = $player.getRelationship($interactionNpc.info.id, false)?.relation ?? "acquaintance">> <<switch _relation>> <<case "dating" "soulmate">> <<Chat $interactionNpc "Of course, honey... I always want you... 💕">> <<case "fuckbuddy">> <<Chat $interactionNpc "That's what I'm here for. Let's go. 😏">> <<case "hatefuck">> <<Chat $interactionNpc "I hate myself for this, but... fine.">> <<case "crush">> <<Chat $interactionNpc "I... I'm ready. With you - yes. 😳💗">> <<default>> <<Chat $interactionNpc "Hmm... alright, why not.">> <</switch>> <<ChatMessage "NPC agreed!">> <div class="btn padding-top"><<button "Continue" "ChooseSexType">><</button>></div> <<else>> <<Chat $interactionNpc "Sorry, but I'm not in the mood for that right now...">> <<ChatMessage "NPC declined, but without offense.">> <<include "enhanced_interaction_result_display">> <</if>> <</if>> <</if>> <</nobr>>
<<nobr>> <<include "UpdateAll">> <<include "enhanced_interaction_busy_check">> <<include "enhanced_interaction_jealousy_check">> <<if _jealousIntervene>> <<include "jealous_partner_intervenes">> <<elseif _playerPartnerIntervene>> <<include "player_partner_confrontation">> <<else>> <<SpendTime 5>> <<SpendEnergy $player 5>> <<if _isBusy == true>> <<include "enhanced_interaction_offerRide_tired">> <<elseif setup.offerRideWilling($player, $interactionNpc)>> <<include "enhanced_interaction_offerRide_success">> <<else>> <<include "enhanced_interaction_offerRide_unsuccessful">> <</if>> <</if>> <<if $player.dailyEvents.isEventRegistered($interactionNpc.info.id, "offerRide") == false>> <<run $player.dailyEvents.registerEvent($interactionNpc.info.id, "offerRide", 1)>> <</if>> <</nobr>>
<<nobr>> <<ChatMessage 'Successful'>> <<if !$playercars || $playercars.length == 0>> <<ChatMessage "You don't own a car to offer.">> <<else>> <<set _ownedRide = setup.getOwnedCarRide($playercars)>> <<set _carName = _ownedRide.name>> <<set _friendship = _ownedRide.friendship>> <<set _msg = `Need a ride? My _carName is right outside.`>> <<Chat $player _msg>> <<Chat $interactionNpc "Thanks! I'd appreciate it.">> <<set _relations = {friendship: _friendship}>> <<set $interactionNpc.setRelationship($player.info.id, _relations)>> <<set $player.setRelationship($interactionNpc.info.id, _relations)>> <<set _msg = `Friendship increased by _friendship`>> <<ChatMessage _msg>> <<if $player.genitalia() == "Vagina">> <<set _oralText = "Eat me out">> <<else>> <<set _oralText = "Suck me off">> <</if>> <<if setup.canCarBlowjob($player, $interactionNpc)>> <div class="btn"><<button _oralText "enhanced_interaction_car_blowjob">><</button>></div> <<else>> <div class="btn non-interacting" id="carbj-btn"><<button _oralText>><</button>></div> <<done>> <<run addHoverTooltip('carbj-btn', 'Required: Love ≥ 30, sex ≥ 45; relationship ≥ Crush or fuckbuddy or hatefuck. Always available if dating, soulmate, fuckbuddy or hatefuck')>> <</done>> <</if>> <</if>> <div class="btn padding-top"><<button "Back" "enhanced_interaction_system">><</button>></div> <</nobr>>
<<nobr>> <<ChatMessage 'Unsuccessful'>> <<Chat $player "Need a ride?">> <<Chat $interactionNpc "No thanks.">> <div class="btn padding-top"><<button "Back" "enhanced_interaction_system">><</button>></div> <</nobr>>
<<nobr>> <<ChatMessage 'Tired'>> <<Chat $interactionNpc "I'm too busy for that right now.">> <div class="btn padding-top"><<button "Back" "enhanced_interaction_system">><</button>></div> <</nobr>>
<<nobr>> <<include "UpdateAll">> <<include "enhanced_interaction_busy_check">> <<include "enhanced_interaction_jealousy_check">> <<if _jealousIntervene>> <<include "jealous_partner_intervenes">> <<elseif _playerPartnerIntervene>> <<include "player_partner_confrontation">> <<else>> <<if _isBusy == true>> <<include "enhanced_interaction_car_blowjob_tired">> <<else>> <<set $carIntimacyResult = setup.performPlayerNpcCarOral($player, $interactionNpc)>> <<goto "enhanced_interaction_car_blowjob_result">> <</if>> <</if>> <</nobr>>
<<nobr>> <<if $carIntimacyResult>> <<set _carResultTitle = $carIntimacyResult.ok ? "Head in the parked car" : "Not this time">> <<ChatMessage _carResultTitle>> <<Chat $interactionNpc $carIntimacyResult.reason>> <<if $carIntimacyResult.ok && $carIntimacyResult.mediaPath && CheckContentFilter($interactionNpc)>><<Video $carIntimacyResult.mediaPath>><</if>> <<else>> <<ChatMessage "The hookup in the car could not be resolved.">> <</if>> <<unset $carIntimacyResult>> <div class="btn padding-top"><<button "Continue" $player.info.currentLocation>><<LeaveInteractionSettings>><</button>></div> <</nobr>>
<<nobr>> <<ChatMessage 'Tired'>> <<switch $player.getRelationship($interactionNpc.info.id, false)?.relation ?? "acquaintance">> <<case "acquaintance">><<Chat $interactionNpc 'I\'m way too exhausted for that.'>> <<case "friend">><<Chat $interactionNpc 'Too tired for that, sorry.'>> <<case "bestFriend">><<Chat $interactionNpc 'I\'m way too tired for that.'>> <<case "fuckbuddy">><<Chat $interactionNpc 'I\'m exhausted, rain check?'>> <<case "rival">><<Chat $interactionNpc 'No, and I\'m tired.'>> <<case "enemy">><<Chat $interactionNpc 'I\'m way too exhausted.'>> <<case "archenemy">><<Chat $interactionNpc 'I\'m too worn out.'>> <<case "hatefuck">><<Chat $interactionNpc 'I\'m too drained.'>> <<case "crush">><<Chat $interactionNpc 'I\'m too tired for that right now.'>> <<case "dating">><<Chat $interactionNpc 'Can we make love another time? I\'m exhausted.'>> <<case "soulmate">><<Chat $interactionNpc 'I\'m too tired, but I love you.'>> <</switch>> <div class="btn padding-top"><<button "Back" "enhanced_interaction_system">><</button>></div> <</nobr>>
<<nobr>> <<include "UpdateAll">> <<ShowNpcIcon $interactionNpc>> <<set _currentGender = $interactionNpc.gender()>> <div class="interaction-result-panel"> <div class="result-banner"> <span class="result-icon">🎭</span> <span class="result-text">Choose Target Gender</span> </div> <div class="result-description"> <<print $interactionNpc.info.firstName>> is currently <<print _currentGender>>. What gender do you want to convince them to become? </div> </div> <div class="btn-container padding-top interaction-choice-buttons"> <<if _currentGender == "Female">> <div class="btn"><button type="button" disabled>Become Female 👩 - Already Female</button></div> <<else>> <div class="btn"><<button "Become Female 👩" "enhanced_interaction_convinceGenderChange_execute">><<set $targetGenderChange = "Female">><</button>></div> <</if>> <<if _currentGender == "Male">> <div class="btn"><button type="button" disabled>Become Male 👨 - Already Male</button></div> <<else>> <div class="btn"><<button "Become Male 👨" "enhanced_interaction_convinceGenderChange_execute">><<set $targetGenderChange = "Male">><</button>></div> <</if>> <<if _currentGender == "Shemale">> <div class="btn"><button type="button" disabled>Become Trans 🏳️⚧️ - Already Trans</button></div> <<else>> <div class="btn"><<button "Become Trans 🏳️⚧️" "enhanced_interaction_convinceGenderChange_execute">><<set $targetGenderChange = "Trans">><</button>></div> <</if>> <div class="btn"><<button "Cancel" "enhanced_interaction_system">><</button>></div> </div> <</nobr>>
<<nobr>> <<include "UpdateAll">> <<set _interaction = setup.getInteractionDefinition("convinceGenderChange")>> <<ShowNpcIcon $interactionNpc>> <<set $interactionResult = setup.performEnhancedInteraction($player, $interactionNpc, "convinceGenderChange")>> <<if $interactionResult.blocked>> <<include "enhanced_interaction_result_display">> <<else>> <<SpendTime _interaction.timeCost>> <<SpendEnergy $player _interaction.energyCost>> <<run setup.applyInteractionEffects($player, $interactionNpc, "convinceGenderChange", $interactionResult)>> <<ShowNpcIcon $interactionNpc>> <<set _currentGender = $interactionNpc.gender()>> <<set _targetGender = $targetGenderChange>> <<if $interactionResult.criticalSuccess>> <<if _targetGender == "Female">> <<Chat $interactionNpc "You know what? You're absolutely right. I've been thinking about this for a while, and... I want to become a woman. I'll start the process right away! 💕">> <<ChatMessage "They're fully convinced! They'll become female!">> <<run $interactionNpc.body.vaginaSize.value = 3>> <<run $interactionNpc.body.penisSize.value = 0>> <<run $interactionNpc.body.breastSize.increase(3)>> <<run $interactionNpc.body.face.increase(5)>> <<run $interactionNpc.body.buttSize.increase(2)>> <<run $interactionNpc.info.clothesPreference = 'women'>> <<elseif _targetGender == "Trans">> <<Chat $interactionNpc "You're right... I've always felt like I was meant to be both. A beautiful woman's body with something extra~ 🏳️⚧️💕">> <<ChatMessage "They're fully convinced! They'll become a trans woman!">> <<run $interactionNpc.body.vaginaSize.value = 0>> <<run $interactionNpc.body.penisSize.value = 3>> <<run $interactionNpc.body.breastSize.increase(3)>> <<run $interactionNpc.body.face.increase(5.5)>> <<run $interactionNpc.body.buttSize.increase(2.5)>> <<run $interactionNpc.info.clothesPreference = 'women'>> <<else>> <<Chat $interactionNpc "You're right! I've always felt more masculine inside. I'm going to transition! 💪">> <<ChatMessage "They're fully convinced! They'll become male!">> <<run $interactionNpc.body.vaginaSize.value = 0>> <<run $interactionNpc.body.penisSize.value = 3>> <<run $interactionNpc.body.breastSize.decrease(5)>> <<run $interactionNpc.body.face.decrease(2)>> <<run $interactionNpc.info.clothesPreference = 'men'>> <</if>> <<elseif $interactionResult.criticalFailure>> <<Chat $interactionNpc "What?! Are you insane?! Why would you even suggest something like that?! I'm perfectly happy with who I am!">> <<ChatMessage "They're deeply offended by your suggestion!">> <<elseif $interactionResult.success>> <<if _targetGender == "Female">> <<Chat $interactionNpc "I... I've actually thought about becoming a woman before. Maybe you're right... I'll consider it seriously.">> <<ChatMessage "They're open to feminization. Their body will gradually change.">> <<run $interactionNpc.saveData.set("consideringGenderChange", "Female")>> <<run $interactionNpc.body.breastSize.increase(1)>> <<run $interactionNpc.body.face.increase(1.5)>> <<run $interactionNpc.body.buttSize.increase(0.5)>> <<elseif _targetGender == "Trans">> <<Chat $interactionNpc "Hmm... having the best of both worlds? That's... actually kind of appealing. I'll think about it seriously.">> <<ChatMessage "They're open to becoming trans. Their body will gradually feminize while keeping their genitals.">> <<run $interactionNpc.saveData.set("consideringGenderChange", "Trans")>> <<run $interactionNpc.body.breastSize.increase(1)>> <<run $interactionNpc.body.face.increase(2)>> <<run $interactionNpc.body.buttSize.increase(1)>> <<else>> <<Chat $interactionNpc "You know... maybe you have a point about being more masculine. I'll think about it.">> <<ChatMessage "They're open to masculinization. Their body will gradually change.">> <<run $interactionNpc.saveData.set("consideringGenderChange", "Male")>> <<run $interactionNpc.body.face.decrease(0.3)>> <<run $interactionNpc.body.breastSize.decrease(0.5)>> <</if>> <<else>> <<Chat $interactionNpc "I... no, I don't think that's for me. I'm comfortable the way I am.">> <<ChatMessage "They politely declined. Maybe try again later with a better relationship.">> <</if>> <<unset $targetGenderChange>> <<include "enhanced_interaction_result_display">> <</if>> <</nobr>>
<<nobr>> <<include "UpdateAll">> <<set _interaction = setup.getInteractionDefinition("convinceHRT")>> <<set $interactionResult = setup.performEnhancedInteraction($player, $interactionNpc, "convinceHRT")>> <<if $interactionResult.blocked>> <<include "enhanced_interaction_result_display">> <<else>> <<SpendTime _interaction.timeCost>> <<SpendEnergy $player _interaction.energyCost>> <<run setup.applyInteractionEffects($player, $interactionNpc, "convinceHRT", $interactionResult)>> <<ShowNpcIcon $interactionNpc>> <<set _npcGender = $interactionNpc.gender()>> <<if _npcGender != "Male">> <<Chat $interactionNpc "Um... I'm already not exactly masculine, you know?">> <<ChatMessage "This suggestion doesn't quite fit for them.">> <<elseif $interactionResult.criticalSuccess>> <<Chat $interactionNpc "You're right! I've been feeling like I should embrace my feminine side more. I'll start hormone therapy right away! This is going to be amazing! 💕">> <<ChatMessage "They enthusiastically agree! They'll start feminizing each day - faster than usual!">> <<run $interactionNpc.saveData.set("onHRT", true)>> <<run $interactionNpc.saveData.set("hrtStartDay", State.variables.day)>> <<run $interactionNpc.saveData.set("hrtBoost", true)>> /* Critical success gives a small head start and faster daily feminization */ <<run $interactionNpc.body.face.increase(0.2)>> <<elseif $interactionResult.criticalFailure>> <<Chat $interactionNpc "What the hell?! Are you trying to turn me into a woman?! That's messed up! I'm a man and I'm staying that way!">> <<ChatMessage "They're furious at your suggestion!">> <<elseif $interactionResult.success>> <<Chat $interactionNpc "You know... I've actually been curious about what it would be like. You promise to be there for me through the changes?">> <<ChatMessage "They agree to start hormone therapy! Their body will gradually feminize each day.">> <<run $interactionNpc.saveData.set("onHRT", true)>> <<run $interactionNpc.saveData.set("hrtStartDay", State.variables.day)>> <<else>> <<Chat $interactionNpc "I... no, that's not for me. I like being a man. Thanks, but no thanks.">> <<ChatMessage "They declined. Their masculine identity is important to them.">> <</if>> <<include "enhanced_interaction_result_display">> <</if>> <</nobr>>
<<nobr>> <<include "UpdateAll">> <<ShowNpcIcon $interactionNpc>> <<set _currentPref = $interactionNpc.info.sexualPreference>> <div class="interaction-result-panel"> <div class="result-banner"> <span class="result-icon">💕</span> <span class="result-text">Choose Target Orientation</span> </div> <div class="result-description"> <<print $interactionNpc.info.firstName>> is currently attracted to: <strong><<print _currentPref>></strong><br> What orientation do you want to convince them to adopt? </div> </div> <div class="btn-container padding-top interaction-choice-buttons"> <<if _currentPref == "Manly">> <div class="btn"><button type="button" disabled>Attracted to Men (Manly) 👨 - Already attracted to Men</button></div> <<else>> <div class="btn"><<button "Attracted to Men (Manly) 👨" "enhanced_interaction_convinceOrientation_execute">><<set $targetOrientation = "Manly">><</button>></div> <</if>> <<if _currentPref == "Feminine">> <div class="btn"><button type="button" disabled>Attracted to Women (Feminine) 👩 - Already attracted to Women</button></div> <<else>> <div class="btn"><<button "Attracted to Women (Feminine) 👩" "enhanced_interaction_convinceOrientation_execute">><<set $targetOrientation = "Feminine">><</button>></div> <</if>> <<if _currentPref == "Bi">> <div class="btn"><button type="button" disabled>Attracted to Both (Bi) 💜 - Already Bisexual</button></div> <<else>> <div class="btn"><<button "Attracted to Both (Bi) 💜" "enhanced_interaction_convinceOrientation_execute">><<set $targetOrientation = "Bi">><</button>></div> <</if>> <div class="btn"><<button "Cancel" "enhanced_interaction_system">><</button>></div> </div> <</nobr>>
<<nobr>> <<include "UpdateAll">> <<set _interaction = setup.getInteractionDefinition("convinceOrientationChange")>> <<set $interactionResult = setup.performEnhancedInteraction($player, $interactionNpc, "convinceOrientationChange")>> <<if $interactionResult.blocked>> <<include "enhanced_interaction_result_display">> <<else>> <<SpendTime _interaction.timeCost>> <<SpendEnergy $player _interaction.energyCost>> <<run setup.applyInteractionEffects($player, $interactionNpc, "convinceOrientationChange", $interactionResult)>> <<ShowNpcIcon $interactionNpc>> <<set _currentPref = $interactionNpc.info.sexualPreference>> <<set _targetPref = $targetOrientation>> <<if _currentPref == _targetPref>> <<set _alreadyPrefMsg = "I already prefer " + _targetPref + " people! Did you not know that?">> <<Chat $interactionNpc _alreadyPrefMsg>> <<ChatMessage "They already have this orientation!">> <<elseif $interactionResult.criticalSuccess>> <<switch _targetPref>> <<case "Manly">> <<Chat $interactionNpc "You know what? You're absolutely right. I've been in denial about my attraction to men. I feel so free now! 💕">> <<ChatMessage "They're now attracted to men!">> <<case "Feminine">> <<Chat $interactionNpc "You've opened my eyes! Women are so beautiful... I don't know why I didn't see it before! 💖">> <<ChatMessage "They're now attracted to women!">> <<case "Bi">> <<Chat $interactionNpc "Why limit myself, right? You're so right! Everyone is attractive in their own way! 💜">> <<ChatMessage "They're now bisexual!">> <</switch>> <<run $interactionNpc.info.sexualPreference = _targetPref>> <<elseif $interactionResult.criticalFailure>> <<Chat $interactionNpc "Are you trying to change who I am?! That's really manipulative and I don't appreciate it!">> <<ChatMessage "They're deeply offended!">> <<elseif $interactionResult.success>> <<switch _targetPref>> <<case "Manly">> <<Chat $interactionNpc "Hmm... I guess men can be attractive. Maybe I should be more open-minded...">> <<if _currentPref == "Feminine">> <<run $interactionNpc.info.sexualPreference = "Bi">> <<ChatMessage "They've become bisexual, now open to men too!">> <<else>> <<run $interactionNpc.info.sexualPreference = "Manly">> <<ChatMessage "They're now attracted to men!">> <</if>> <<case "Feminine">> <<Chat $interactionNpc "Women are pretty amazing, aren't they? Maybe I should explore that side of myself...">> <<if _currentPref == "Manly">> <<run $interactionNpc.info.sexualPreference = "Bi">> <<ChatMessage "They've become bisexual, now open to women too!">> <<else>> <<run $interactionNpc.info.sexualPreference = "Feminine">> <<ChatMessage "They're now attracted to women!">> <</if>> <<case "Bi">> <<Chat $interactionNpc "You make a good point... why should I limit myself? Everyone has something attractive about them.">> <<run $interactionNpc.info.sexualPreference = "Bi">> <<ChatMessage "They've become bisexual!">> <</switch>> <<else>> <<Chat $interactionNpc "I know what I like, and I'm comfortable with it. Sorry, that's just not going to happen.">> <<ChatMessage "They're firm in their current orientation.">> <</if>> <<unset $targetOrientation>> <<include "enhanced_interaction_result_display">> <</if>> <</nobr>>
<<nobr>> <<include "UpdateAll">> <<set _interaction = setup.getInteractionDefinition("discussFeminization")>> <<set $interactionResult = setup.performEnhancedInteraction($player, $interactionNpc, "discussFeminization")>> <<if $interactionResult.blocked>> <<include "enhanced_interaction_result_display">> <<else>> <<SpendTime _interaction.timeCost>> <<SpendEnergy $player _interaction.energyCost>> <<run setup.applyInteractionEffects($player, $interactionNpc, "discussFeminization", $interactionResult)>> <<ShowNpcIcon $interactionNpc>> /* Calculate feminization stage based on actual physical changes */ <<set _faceValue = $interactionNpc.body.face.value>> <<set _breastValue = $interactionNpc.body.breastSize.value>> <<set _buttValue = $interactionNpc.body.buttSize.value>> /* Determine stage based on physical feminization (face is main indicator) */ /* Stage 0: Just started (face < 2) */ /* Stage 1: Early changes (face 2-3.5) */ /* Stage 2: Noticeable changes (face 3.5-5) */ /* Stage 3: Significant feminization (face 5-6.5) */ /* Stage 4: Nearly complete (face 6.5-8) */ /* Stage 5: Complete feminization (face >= 8) */ <<if _faceValue < 2>> <<set _feminizationStage = 0>> <<elseif _faceValue < 3.5>> <<set _feminizationStage = 1>> <<elseif _faceValue < 5>> <<set _feminizationStage = 2>> <<elseif _faceValue < 6.5>> <<set _feminizationStage = 3>> <<elseif _faceValue < 8>> <<set _feminizationStage = 4>> <<else>> <<set _feminizationStage = 5>> <</if>> /* Also save the stage for reference */ <<run $interactionNpc.saveData.set("feminizationStage", _feminizationStage)>> <<if $interactionResult.criticalSuccess>> <<switch _feminizationStage>> <<case 0>> <<Chat $interactionNpc "I just started, but I'm so excited! I can already feel the hormones working... my skin feels different somehow. This is the beginning of something amazing! 💕">> <<ChatMessage "They just started HRT - the journey begins!">> <<case 1>> <<Chat $interactionNpc "It's been a little while now, and I'm noticing small changes! My skin is softer, and I'm more emotional... in a good way! Thank you for supporting me! 💕">> <<ChatMessage "Early hormone changes are starting!">> <<case 2>> <<Chat $interactionNpc "Look at this! *gestures to chest* It's actually happening! I can feel buds forming! And my face... it's getting softer! I love it! 💖">> <<ChatMessage "They're thrilled with their developing body!">> <<case 3>> <<Chat $interactionNpc "People are starting to notice my changes! My breasts are really growing now, and my face looks so different! Someone called me 'she' today! Thank you for encouraging me! 💕">> <<ChatMessage "They're ecstatic about their visible transformation!">> <<case 4>> <<Chat $interactionNpc "I barely recognize myself in the mirror anymore, and I love it! My curves are so feminine now... I feel like I'm finally becoming who I was meant to be! 🌸">> <<ChatMessage "They're deeply grateful - nearly a complete woman!">> <<default>> <<Chat $interactionNpc "I'm a woman now, thanks to you! Look at me! *twirls* My face, my body... I never thought I could be this beautiful. You changed my life! 💖💖💖">> <<ChatMessage "Their feminization is complete - they're overjoyed!">> <</switch>> <<elseif $interactionResult.criticalFailure>> <<switch _feminizationStage>> <<case 0 1>> <<Chat $interactionNpc "I... I'm having second thoughts. Is this really the right choice? I've barely started...">> <<ChatMessage "They're doubting their decision early on...">> <<default>> <<Chat $interactionNpc "Sometimes I look in the mirror and I don't know who I am anymore... Was this the right choice?">> <<ChatMessage "They're experiencing doubts about their transition...">> <</switch>> <<elseif $interactionResult.success>> <<switch _feminizationStage>> <<case 0>> <<Chat $interactionNpc "I just started taking the hormones. I don't see any changes yet, but I'm a little nervous... and excited. Will you check on me again soon?">> <<ChatMessage "They've just begun - no visible changes yet.">> <<case 1>> <<Chat $interactionNpc "It's strange... I feel different. More sensitive, I think? My nipples are a bit sore, and my skin seems softer. Is this really happening?">> <<ChatMessage "Early hormone effects - subtle changes beginning.">> <<case 2>> <<Chat $interactionNpc "Okay, so... *blushes* ...I'm definitely growing breasts. They're small, but they're there! And my face... do I look different to you?">> <<ChatMessage "Breast buds forming, face softening!">> <<case 3>> <<Chat $interactionNpc "My body is really changing now. Look at my chest! *cups breasts* They're actually breasts now! And my hips are wider, my skin is so soft... I need new clothes. 😊">> <<ChatMessage "Significant feminization - clearly changing!">> <<case 4>> <<Chat $interactionNpc "I got called 'miss' at the store today without even trying! *happy smile* My face is so different now, and my body... I really look like a woman, don't I?">> <<ChatMessage "Passing as female - almost complete!">> <<default>> <<Chat $interactionNpc "Look at me... *shows off body* ...I'm a woman now. I can't believe how much I've changed. My face, my curves... this is who I was meant to be. Thank you for helping me see that.">> <<ChatMessage "Feminization complete - full transformation!">> <</switch>> <<else>> <<switch _feminizationStage>> <<case 0 1>> <<Chat $interactionNpc "I don't really want to talk about it... it's too early to say if anything is happening.">> <<default>> <<Chat $interactionNpc "Can we... not talk about this right now? I'm still processing all these changes.">> <</switch>> <<ChatMessage "They seem reluctant to discuss their changes.">> <</if>> <<include "enhanced_interaction_result_display">> <</if>> <</nobr>>
<<nobr>> <<include "UpdateAll">> <<set _interaction = setup.getInteractionDefinition("compliment")>> <<set $interactionResult = setup.performEnhancedInteraction($player, $interactionNpc, "compliment")>> <<if $interactionResult.blocked>> <<include "enhanced_interaction_result_display">> <<else>> <<SpendTime _interaction.timeCost>> <<SpendEnergy $player _interaction.energyCost>> <<run setup.applyInteractionEffects($player, $interactionNpc, "compliment", $interactionResult)>> <<ShowNpcIcon $interactionNpc>> <<if $interactionResult.criticalSuccess>> <<Chat $interactionNpc "Oh my... that's the most beautiful compliment I've ever received! I'm blushing! 😳💕">> <<ChatMessage "Your compliment went straight to their heart!">> <<elseif $interactionResult.criticalFailure>> <<Chat $interactionNpc "Was that... supposed to be a compliment? Sounds more like an insult.">> <<ChatMessage "The compliment came out awkward and was taken negatively.">> <<elseif $interactionResult.success>> <<set _relation = $player.getRelationship($interactionNpc.info.id, false)?.relation ?? "acquaintance">> <<switch _relation>> <<case "crush">> <<Chat $interactionNpc "T-thank you... you're pretty... nice too... 😊">> <<case "dating" "soulmate">> <<Chat $interactionNpc "You're so sweet! I love it when you talk like that!">> <<case "friend" "bestFriend">> <<Chat $interactionNpc "Aww, thanks! You're not so bad yourself! 😄">> <<case "fuckbuddy">> <<Chat $interactionNpc "Heh, thanks. You're not bad either 😏">> <<default>> <<Chat $interactionNpc "Oh, thank you! That's really sweet of you.">> <</switch>> <<ChatMessage "The compliment was appreciated!">> <<else>> <<Chat $interactionNpc "Uh... thanks, I guess?">> <<ChatMessage "The compliment didn't land.">> <</if>> <<include "enhanced_interaction_result_display">> <</if>> <</nobr>>
<<nobr>> <<include "UpdateAll">> <<include "enhanced_interaction_jealousy_check">> <<if _jealousIntervene>> <<include "jealous_partner_intervenes">> <<elseif _playerPartnerIntervene>> <<include "player_partner_confrontation">> <<else>> <<set _interaction = setup.getInteractionDefinition("flirt")>> <<set $interactionResult = setup.performEnhancedInteraction($player, $interactionNpc, "flirt")>> <<if $interactionResult.blocked>> <<include "enhanced_interaction_result_display">> <<else>> <<SpendTime _interaction.timeCost>> <<SpendEnergy $player _interaction.energyCost>> <<run setup.applyInteractionEffects($player, $interactionNpc, "flirt", $interactionResult)>> <<ShowNpcIcon $interactionNpc>> <<if $interactionResult.criticalSuccess>> <<Chat $interactionNpc "Oh my... you know how to charm with words... I'm getting hot! 🔥">> <<ChatMessage "Your flirting was irresistible! NPC is clearly interested!">> <<elseif $interactionResult.criticalFailure>> <<Chat $interactionNpc "That was... really weird and inappropriate. Please don't.">> <<ChatMessage "Your flirt attempt was extremely awkward.">> <<elseif $interactionResult.success>> <<set _relation = $player.getRelationship($interactionNpc.info.id, false)?.relation ?? "acquaintance">> <<switch _relation>> <<case "crush">> <<Chat $interactionNpc "Are you flirting with me? I like it... 💗">> <<case "dating" "soulmate">> <<Chat $interactionNpc "Mmm, keep going like that, honey... 😘">> <<case "fuckbuddy">> <<Chat $interactionNpc "Oh, someone's in the mood today? I like it.">> <<case "friend">> <<Chat $interactionNpc "Haha, you're so playful today!">> <<default>> <<Chat $interactionNpc "Ooh, someone's bold! I like it.">> <</switch>> <<ChatMessage "Flirting was successful!">> <<else>> <<Chat $interactionNpc "Let's just... pretend that didn't happen.">> <<ChatMessage "Flirting failed.">> <</if>> <<include "enhanced_interaction_result_display">> <</if>> <</if>> <</nobr>>
<<nobr>> <<include "UpdateAll">> <<include "enhanced_interaction_jealousy_check">> <<if _jealousIntervene>> <<include "jealous_partner_intervenes">> <<elseif _playerPartnerIntervene>> <<include "player_partner_confrontation">> <<else>> <<set _interaction = setup.getInteractionDefinition("holdHands")>> <<set $interactionResult = setup.performEnhancedInteraction($player, $interactionNpc, "holdHands")>> <<if $interactionResult.blocked>> <<include "enhanced_interaction_result_display">> <<else>> <<SpendTime _interaction.timeCost>> <<SpendEnergy $player _interaction.energyCost>> <<run setup.applyInteractionEffects($player, $interactionNpc, "holdHands", $interactionResult)>> <<ShowNpcIcon $interactionNpc>> <<if $interactionResult.criticalSuccess>> <<Chat $interactionNpc "Your hand is so warm... I don't want to let go... 🥰">> <<ChatMessage "This moment was special. You feel close!">> <<elseif $interactionResult.criticalFailure>> <<Chat $interactionNpc "What are you doing?! Let go of my hand!">> <<ChatMessage "NPC pulled their hand away sharply!">> <<elseif $interactionResult.success>> <<set _relation = $player.getRelationship($interactionNpc.info.id, false)?.relation ?? "acquaintance">> <<switch _relation>> <<case "crush">> <<Chat $interactionNpc "Oh... okay... I like this... 😳">> <<case "dating" "soulmate">> <<Chat $interactionNpc "I love holding hands with you. 💑">> <<default>> <<Chat $interactionNpc "This is... nice.">> <</switch>> <<ChatMessage "You're holding hands.">> <<else>> <<Chat $interactionNpc "Sorry... I'm not ready for that...">> <<ChatMessage "NPC gently pulled their hand away.">> <</if>> <<include "enhanced_interaction_result_display">> <</if>> <</if>> <</nobr>>
<<nobr>> <<include "UpdateAll">> <<include "enhanced_interaction_jealousy_check">> <<if _jealousIntervene>> <<include "jealous_partner_intervenes">> <<elseif _playerPartnerIntervene>> <<include "player_partner_confrontation">> <<else>> <<set _interaction = setup.getInteractionDefinition("hug")>> <<set $interactionResult = setup.performEnhancedInteraction($player, $interactionNpc, "hug")>> <<if $interactionResult.blocked>> <<include "enhanced_interaction_result_display">> <<else>> <<SpendTime _interaction.timeCost>> <<SpendEnergy $player _interaction.energyCost>> <<run setup.applyInteractionEffects($player, $interactionNpc, "hug", $interactionResult)>> <<ShowNpcIcon $interactionNpc>> <<if $interactionResult.criticalSuccess>> <<Chat $interactionNpc "I feel so good in your arms... Don't let go... 🤗💕">> <<ChatMessage "The warmest hug ever! NPC feels safe!">> <<elseif $interactionResult.criticalFailure>> <<Chat $interactionNpc "Hey! What are you doing?! Back off!">> <<ChatMessage "NPC pushed you away!">> <<elseif $interactionResult.success>> <<set _relation = $player.getRelationship($interactionNpc.info.id, false)?.relation ?? "acquaintance">> <<switch _relation>> <<case "bestFriend">> <<Chat $interactionNpc "Love your hugs! Gimme more!">> <<case "crush">> <<Chat $interactionNpc "Oh... this feels so nice... 😊">> <<case "dating" "soulmate">> <<Chat $interactionNpc "I could hug you forever... 💏">> <<case "friend">> <<Chat $interactionNpc "Warm hugs! Thanks!">> <<default>> <<Chat $interactionNpc "That was... nice.">> <</switch>> <<ChatMessage "You hugged.">> <<else>> <<Chat $interactionNpc "Sorry, I'm not in the mood for hugs right now...">> <<ChatMessage "NPC avoided the hug.">> <</if>> <<include "enhanced_interaction_result_display">> <</if>> <</if>> <</nobr>>
<<nobr>> <<include "UpdateAll">> <<include "enhanced_interaction_jealousy_check">> <<if _jealousIntervene>> <<include "jealous_partner_intervenes">> <<elseif _playerPartnerIntervene>> <<include "player_partner_confrontation">> <<else>> <<set _interaction = setup.getInteractionDefinition("confessLove")>> <<set $interactionResult = setup.performEnhancedInteraction($player, $interactionNpc, "confessLove")>> <<if $interactionResult.blocked>> <<include "enhanced_interaction_result_display">> <<else>> <<SpendTime _interaction.timeCost>> <<SpendEnergy $player _interaction.energyCost>> <<run setup.applyInteractionEffects($player, $interactionNpc, "confessLove", $interactionResult)>> <<ShowNpcIcon $interactionNpc>> <<if $interactionResult.criticalSuccess>> <<Chat $interactionNpc "I... I love you too! I've been waiting so long to hear that! 💖😭">> <<ChatMessage "MUTUAL FEELINGS! Your hearts beat as one!">> <<elseif $interactionResult.criticalFailure>> <<Chat $interactionNpc "I... I'm really sorry, but I don't feel the same. And the way you said it was... awkward.">> <<ChatMessage "Your confession was harshly rejected. It hurts.">> <<elseif $interactionResult.success>> <<set _relation = $player.getRelationship($interactionNpc.info.id, false)?.relation ?? "acquaintance">> <<switch _relation>> <<case "crush">> <<Chat $interactionNpc "Really? I... I feel something for you too... 💗">> <<case "friend" "bestFriend">> <<Chat $interactionNpc "Wow... I wasn't expecting that. I need to think, but... I'm flattered.">> <<case "dating">> <<Chat $interactionNpc "I know, honey. I love you too! 💕">> <<case "soulmate">> <<Chat $interactionNpc "My love for you knows no bounds. You're my everything. 💞">> <<default>> <<Chat $interactionNpc "That's... unexpected. But I'm glad to hear it...">> <</switch>> <<ChatMessage "Your confession was accepted!">> <<else>> <<Chat $interactionNpc "Sorry... but I don't think I feel the same way.">> <<ChatMessage "Your confession was gently declined.">> <</if>> /* Grants, status, money and resentment: one source, shared with the AI chat. */ <<set _consequences = setup.applyInteractionConsequences($player, $interactionNpc, "confessLove", $interactionResult)>> <<include "enhanced_interaction_result_display">> <</if>> <</if>> <</nobr>>
<<nobr>> <<include "UpdateAll">> <<include "enhanced_interaction_jealousy_check">> <<if _jealousIntervene>> <<include "jealous_partner_intervenes">> <<elseif _playerPartnerIntervene>> <<include "player_partner_confrontation">> <<else>> <<set _interaction = setup.getInteractionDefinition("proposeDate")>> <<set $interactionResult = setup.performEnhancedInteraction($player, $interactionNpc, "proposeDate")>> <<if $interactionResult.blocked>> <<include "enhanced_interaction_result_display">> <<else>> <<SpendTime _interaction.timeCost>> <<SpendEnergy $player _interaction.energyCost>> <<run setup.applyInteractionEffects($player, $interactionNpc, "proposeDate", $interactionResult)>> <<ShowNpcIcon $interactionNpc>> <<if $interactionResult.criticalSuccess>> <<Chat $interactionNpc "YES! I've been waiting for you to ask! It's going to be the best date ever! 💐🎉">> <<ChatMessage "NPC is absolutely thrilled by your invitation!">> <<elseif $interactionResult.criticalFailure>> <<Chat $interactionNpc "A date? With you? No thanks. Please don't ask again.">> <<ChatMessage "Your invitation was harshly rejected.">> <<elseif $interactionResult.success>> <<set _relation = $player.getRelationship($interactionNpc.info.id, false)?.relation ?? "acquaintance">> <<switch _relation>> <<case "crush">> <<Chat $interactionNpc "A d-date? With you? Yes! Of course yes! 😍">> <<case "friend" "bestFriend">> <<Chat $interactionNpc "Like a date-date? Hmm... why not! Let's try it!">> <<case "dating" "soulmate">> <<Chat $interactionNpc "Of course, honey! I always love spending time with you! 💑">> <<default>> <<Chat $interactionNpc "A date? Hmm... alright, let's try it!">> <</switch>> <<ChatMessage "Date invitation accepted!">> <<else>> <<Chat $interactionNpc "Sorry, but I don't think that's a good idea...">> <<ChatMessage "Invitation was declined.">> <</if>> <<include "enhanced_interaction_result_display">> <</if>> <</if>> <</nobr>>
<<nobr>> <<include "UpdateAll">> <<set _interaction = setup.getInteractionDefinition("playfulTease")>> <<set $interactionResult = setup.performEnhancedInteraction($player, $interactionNpc, "playfulTease")>> <<if $interactionResult.blocked>> <<include "enhanced_interaction_result_display">> <<else>> <<SpendTime _interaction.timeCost>> <<SpendEnergy $player _interaction.energyCost>> <<run setup.applyInteractionEffects($player, $interactionNpc, "playfulTease", $interactionResult)>> <<ShowNpcIcon $interactionNpc>> <<if $interactionResult.criticalSuccess>> <<Chat $interactionNpc "Haha! You're so playful! I love it! 😏💕">> <<ChatMessage "Your teasing was incredibly charming!">> <<elseif $interactionResult.criticalFailure>> <<Chat $interactionNpc "That was hurtful! You crossed the line!">> <<ChatMessage "The joke went too far and upset NPC.">> <<elseif $interactionResult.success>> <<Chat $interactionNpc "Hey! Haha, is that so? Just you wait, I'll get you back! 😄">> <<ChatMessage "Playful teasing was successful!">> <<else>> <<Chat $interactionNpc "That's not funny...">> <<ChatMessage "The teasing wasn't appreciated.">> <</if>> <<include "enhanced_interaction_result_display">> <</if>> <</nobr>>
<<nobr>> <<include "UpdateAll">> <<set _interaction = setup.getInteractionDefinition("playGame")>> <<set $interactionResult = setup.performEnhancedInteraction($player, $interactionNpc, "playGame")>> <<if $interactionResult.blocked>> <<include "enhanced_interaction_result_display">> <<else>> <<SpendTime _interaction.timeCost>> <<SpendEnergy $player _interaction.energyCost>> <<run setup.applyInteractionEffects($player, $interactionNpc, "playGame", $interactionResult)>> <<ShowNpcIcon $interactionNpc>> <<if $interactionResult.criticalSuccess>> <<Chat $interactionNpc "That was INCREDIBLE! Let's play more! I haven't had this much fun in ages! 🎮🎉">> <<ChatMessage "You had an amazing time together!">> <<elseif $interactionResult.criticalFailure>> <<Chat $interactionNpc "You're cheating! I'm not playing with you anymore!">> <<ChatMessage "The game ended in an argument.">> <<elseif $interactionResult.success>> <<Chat $interactionNpc "Good game! That was fun!">> <<ChatMessage "You had a great time playing together.">> <<else>> <<Chat $interactionNpc "Hmm, not really into this game...">> <<ChatMessage "The game didn't interest them.">> <</if>> <<include "enhanced_interaction_result_display">> <</if>> <</nobr>>
<<nobr>> <<include "UpdateAll">> <<include "enhanced_interaction_busy_check">> <<set _interaction = setup.getInteractionDefinition("comfort")>> <<if _isBusy>> <<ShowNpcIcon $interactionNpc>> <<Chat $interactionNpc "Thanks for caring, but I need some time alone...">> <div class="btn padding-top"><<button "Back" "enhanced_interaction_system">><</button>></div> <<else>> <<set $interactionResult = setup.performEnhancedInteraction($player, $interactionNpc, "comfort")>> <<if $interactionResult.blocked>> <<include "enhanced_interaction_result_display">> <<else>> <<SpendTime _interaction.timeCost>> <<SpendEnergy $player _interaction.energyCost>> <<run setup.applyInteractionEffects($player, $interactionNpc, "comfort", $interactionResult)>> <<ShowNpcIcon $interactionNpc>> <<if $interactionResult.criticalSuccess>> <<Chat $interactionNpc "I... I don't know what to say. No one has ever cared for me like this... 😢💕">> <<ChatMessage "Your words touched their heart. NPC feels truly supported.">> <<elseif $interactionResult.criticalFailure>> <<Chat $interactionNpc "Please don't... you're only making it worse!">> <<ChatMessage "Your attempt to comfort had the opposite effect.">> <<elseif $interactionResult.success>> <<set _relation = $player.getRelationship($interactionNpc.info.id, false)?.relation ?? "acquaintance">> <<switch _relation>> <<case "friend" "bestFriend">> <<Chat $interactionNpc "Thanks for being here. It really helps...">> <<case "dating" "soulmate">> <<Chat $interactionNpc "Thank you, sweetheart. I always feel better with you...">> <<case "crush">> <<Chat $interactionNpc "You're so kind... Thank you.">> <<default>> <<Chat $interactionNpc "Thanks for the support. It means a lot.">> <</switch>> <<ChatMessage "You successfully comforted them.">> <<else>> <<Chat $interactionNpc "Thanks, but it's not helping...">> <<ChatMessage "The comfort didn't reach them.">> <</if>> <<include "enhanced_interaction_result_display">> <</if>> <</if>> <</nobr>>
<<nobr>> <<include "UpdateAll">> <<set _interaction = setup.getInteractionDefinition("encourage")>> <<set $interactionResult = setup.performEnhancedInteraction($player, $interactionNpc, "encourage")>> <<if $interactionResult.blocked>> <<include "enhanced_interaction_result_display">> <<else>> <<SpendTime _interaction.timeCost>> <<SpendEnergy $player _interaction.energyCost>> <<run setup.applyInteractionEffects($player, $interactionNpc, "encourage", $interactionResult)>> <<ShowNpcIcon $interactionNpc>> <<if $interactionResult.criticalSuccess>> <<Chat $interactionNpc "You're right! I can do this! Thanks for believing in me! 💪✨">> <<ChatMessage "Your words inspired greatness! NPC is full of enthusiasm!">> <<elseif $interactionResult.criticalFailure>> <<Chat $interactionNpc "Easy for you to say... you don't understand.">> <<ChatMessage "Your encouragement seemed insincere.">> <<elseif $interactionResult.success>> <<Chat $interactionNpc "Thanks! Your words give me strength.">> <<ChatMessage "You successfully encouraged them!">> <<else>> <<Chat $interactionNpc "Yeah, I guess... thanks.">> <<ChatMessage "The encouragement didn't have much effect.">> <</if>> <<include "enhanced_interaction_result_display">> <</if>> <</nobr>>
<<nobr>> <<include "UpdateAll">> <<set _interaction = setup.getInteractionDefinition("offerHelp")>> <<set $interactionResult = setup.performEnhancedInteraction($player, $interactionNpc, "offerHelp")>> <<if $interactionResult.blocked>> <<include "enhanced_interaction_result_display">> <<else>> <<SpendTime _interaction.timeCost>> <<SpendEnergy $player _interaction.energyCost>> <<run setup.applyInteractionEffects($player, $interactionNpc, "offerHelp", $interactionResult)>> <<ShowNpcIcon $interactionNpc>> <<if $interactionResult.criticalSuccess>> <<Chat $interactionNpc "You really want to help? That's... incredibly kind of you! 🙏">> <<ChatMessage "Your offer deeply touched NPC!">> <<elseif $interactionResult.criticalFailure>> <<Chat $interactionNpc "No thanks, I can manage myself. I don't need help!">> <<ChatMessage "NPC proudly refused. Seems like it hurt their pride.">> <<elseif $interactionResult.success>> <<Chat $interactionNpc "Really? That would be great! Thanks!">> <<ChatMessage "NPC gratefully accepted your help.">> <<else>> <<Chat $interactionNpc "Thanks for offering, but I'll manage on my own.">> <<ChatMessage "Help wasn't needed.">> <</if>> <<include "enhanced_interaction_result_display">> <</if>> <</nobr>>
<<nobr>> <<include "UpdateAll">> <<set _interaction = setup.getInteractionDefinition("apologize")>> <<set $interactionResult = setup.performEnhancedInteraction($player, $interactionNpc, "apologize")>> <<if $interactionResult.blocked>> <<include "enhanced_interaction_result_display">> <<else>> <<SpendTime _interaction.timeCost>> <<SpendEnergy $player _interaction.energyCost>> <<run setup.applyInteractionEffects($player, $interactionNpc, "apologize", $interactionResult)>> <<ShowNpcIcon $interactionNpc>> <<if $interactionResult.criticalSuccess>> <<Chat $interactionNpc "I can see you're truly sorry. I forgive you... let's start fresh. 🕊️">> <<ChatMessage "Your apology was fully accepted! All grudges forgotten.">> <<elseif $interactionResult.criticalFailure>> <<Chat $interactionNpc "Apologize?! After everything you did?! Don't even try!">> <<ChatMessage "Your apology was rejected with outrage!">> <<elseif $interactionResult.success>> <<set _relation = $player.getRelationship($interactionNpc.info.id, false)?.relation ?? "acquaintance">> <<switch _relation>> <<case "friend" "bestFriend">> <<Chat $interactionNpc "Alright, everyone makes mistakes. I forgive you.">> <<case "dating" "soulmate">> <<Chat $interactionNpc "Okay... I love you, no matter what.">> <<case "enemy" "archenemy">> <<Chat $interactionNpc "Hmm... we'll see how sincere you are.">> <<case "rival">> <<Chat $interactionNpc "Unexpected. Fine, apology accepted.">> <<default>> <<Chat $interactionNpc "Thanks for apologizing. I appreciate it.">> <</switch>> <<ChatMessage "Apology accepted.">> <<else>> <<Chat $interactionNpc "Words are just words. I'm not sure I can forgive.">> <<ChatMessage "Apology was not accepted. Things got a bit worse.">> <</if>> /* Resentment changes: setup.applyInteractionConsequences (one source, shared with the AI chat). */ <<set _consequences = setup.applyInteractionConsequences($player, $interactionNpc, "apologize", $interactionResult)>> <<include "enhanced_interaction_result_display">> <</if>> <</nobr>>
<<nobr>> <<include "UpdateAll">> /* Check if NPC has a family */ <<set _familyInfo = setup.getNpcFamilyInfo($interactionNpc.info.id)>> <<if _familyInfo == null>> <<include "enhanced_interaction_askAboutFamily_no_family">> <<else>> <<include "enhanced_interaction_busy_check">> <<set _interaction = setup.getInteractionDefinition("askAboutFamily")>> <<if _isBusy>> <<ShowNpcIcon $interactionNpc>> <<Chat $interactionNpc "Sorry, I don't have time to chat about that right now...">> <div class="btn padding-top"><<button "Back" "enhanced_interaction_system">><</button>></div> <<else>> <<set $interactionResult = setup.performEnhancedInteraction($player, $interactionNpc, "askAboutFamily")>> <<if $interactionResult.blocked>> <<include "enhanced_interaction_result_display">> <<else>> <<SpendTime _interaction.timeCost>> <<SpendEnergy $player _interaction.energyCost>> <<run setup.applyInteractionEffects($player, $interactionNpc, "askAboutFamily", $interactionResult)>> <<if $interactionResult.criticalSuccess>> <<include "enhanced_interaction_askAboutFamily_crit_success">> <<elseif $interactionResult.criticalFailure>> <<include "enhanced_interaction_askAboutFamily_crit_failure">> <<elseif $interactionResult.success>> <<include "enhanced_interaction_askAboutFamily_success">> <<else>> <<include "enhanced_interaction_askAboutFamily_failure">> <</if>> <</if>> <</if>> <</if>> <</nobr>>
<<nobr>> <<ShowNpcIcon $interactionNpc>> <<set _roll = random(1, 3)>> <<switch _roll>> <<case 1>> <<Chat $interactionNpc "I'd rather not talk about that... I don't really have a family.">> <<case 2>> <<Chat $interactionNpc "Family? That's... a complicated topic for me. I'm on my own.">> <<case 3>> <<Chat $interactionNpc "I don't have anyone I'd call family. Can we talk about something else?">> <</switch>> <div class="btn padding-top"><<button "Back" "enhanced_interaction_system">><</button>></div> <</nobr>>
<<nobr>> <<ShowNpcIcon $interactionNpc>> <<set _familyInfo = setup.getNpcFamilyInfo($interactionNpc.info.id)>> <<if _familyInfo.isParent>> <<if _familyInfo.childrenCount > 0>> <<set _childList = _familyInfo.childrenNames.join(", ")>> <<set _childWord = _familyInfo.childrenCount == 1 ? "child" : "children">> <<set _msg = "I live with my partner " + _familyInfo.parent1Name + " - well, actually we're the " + _familyInfo.surname + " family. We have " + _familyInfo.childrenCount + " " + _childWord + ": " + _childList + ". They keep us busy!">> <<Chat $interactionNpc _msg>> <<else>> <<set _msg = "It's just me and my partner in the " + _familyInfo.surname + " household. We like our quiet life.">> <<Chat $interactionNpc _msg>> <</if>> <<else>> <<set _msg = "I'm part of the " + _familyInfo.surname + " family. My parents are " + _familyInfo.parent1Name + " and " + _familyInfo.parent2Name + ".">> <<Chat $interactionNpc _msg>> <<if _familyInfo.siblingCount > 0>> <<set _sibList = _familyInfo.siblingNames.join(", ")>> <<set _sibWord = _familyInfo.siblingCount == 1 ? "sibling" : "siblings">> <<set _msg = "I also have " + _familyInfo.siblingCount + " " + _sibWord + ": " + _sibList + ".">> <<Chat $interactionNpc _msg>> <<else>> <<Chat $interactionNpc "I'm an only child, so it was always just the three of us.">> <</if>> <</if>> <<run $player.characterEvents.registerEvent($interactionNpc.info.id, "discovered_family", 1)>> <<include "enhanced_interaction_result_display">> <</nobr>>
<<nobr>> <<ShowNpcIcon $interactionNpc>> <<set _roll = random(1, 3)>> <<switch _roll>> <<case 1>> <<Chat $interactionNpc "I don't really feel like talking about my family right now...">> <<case 2>> <<Chat $interactionNpc "That's kind of personal. Maybe ask me another time?">> <<case 3>> <<Chat $interactionNpc "Hmm... I'd rather not get into that. It's complicated.">> <</switch>> <<include "enhanced_interaction_result_display">> <</nobr>>
<<nobr>> <<ShowNpcIcon $interactionNpc>> <<set _familyInfo = setup.getNpcFamilyInfo($interactionNpc.info.id)>> <<if _familyInfo.isParent>> <<if _familyInfo.childrenCount > 0>> <<set _childList = _familyInfo.childrenNames.join(", ")>> <<set _kidPart = _familyInfo.childrenCount == 1 ? "kid " + _childList + " is" : "kids - " + _childList + " - are">> <<set _msg = "You know, I'm so glad you asked! The " + _familyInfo.surname + " family is my whole world. My " + _kidPart + " everything to me. I feel like I can really open up to you about this.">> <<Chat $interactionNpc _msg>> <<else>> <<set _msg = "Thank you for asking! My partner and I - the " + _familyInfo.surname + "s - we have such a special bond. It means a lot that you care enough to ask.">> <<Chat $interactionNpc _msg>> <</if>> <<else>> <<set _sibList = _familyInfo.siblingNames.join(", ")>> <<set _msg = "Wow, no one usually asks about my family! I'm a " + _familyInfo.surname + ". My parents are " + _familyInfo.parent1Name + " and " + _familyInfo.parent2Name + " - they're amazing.">> <<Chat $interactionNpc _msg>> <<if _familyInfo.siblingCount > 0>> <<set _sibPart = _familyInfo.siblingCount == 1 ? "sibling " + _sibList : "siblings - " + _sibList>> <<set _msg = "And my " + _sibPart + "? We're super close. I feel like I can tell you anything!">> <<Chat $interactionNpc _msg>> <<else>> <<Chat $interactionNpc "Being an only child has its perks, but sometimes I wish I had siblings. Thanks for listening - it really means a lot!">> <</if>> <</if>> <<ChatMessage "You showed genuine interest in their family and they really opened up to you!">> <<run $player.characterEvents.registerEvent($interactionNpc.info.id, "discovered_family", 1)>> <<include "enhanced_interaction_result_display">> <</nobr>>
<<nobr>> <<ShowNpcIcon $interactionNpc>> <<set _roll = random(1, 2)>> <<switch _roll>> <<case 1>> <<Chat $interactionNpc "Why do you want to know about my family?! That's none of your business!">> <<ChatMessage "Your question came across as nosy and intrusive.">> <<case 2>> <<Chat $interactionNpc "You're asking about my family? After the way you've been acting? No way.">> <<ChatMessage "The timing of your question was terrible and they took it the wrong way.">> <</switch>> <<include "enhanced_interaction_result_display">> <</nobr>>
<<nobr>> <<include "UpdateAll">> /* Check if NPC has a family */ <<set _familyInfo = setup.getNpcFamilyInfo($interactionNpc.info.id)>> <<if _familyInfo == null>> <<include "enhanced_interaction_talkAboutParents_no_family">> <<else>> <<include "enhanced_interaction_busy_check">> <<set _interaction = setup.getInteractionDefinition("talkAboutParents")>> <<if _isBusy>> <<ShowNpcIcon $interactionNpc>> <<Chat $interactionNpc "I'm not in the mood for a heart-to-heart right now...">> <div class="btn padding-top"><<button "Back" "enhanced_interaction_system">><</button>></div> <<else>> <<set $interactionResult = setup.performEnhancedInteraction($player, $interactionNpc, "talkAboutParents")>> <<if $interactionResult.blocked>> <<include "enhanced_interaction_result_display">> <<else>> <<SpendTime _interaction.timeCost>> <<SpendEnergy $player _interaction.energyCost>> <<run setup.applyInteractionEffects($player, $interactionNpc, "talkAboutParents", $interactionResult)>> <<if $interactionResult.criticalSuccess>> <<include "enhanced_interaction_talkAboutParents_crit_success">> <<elseif $interactionResult.criticalFailure>> <<include "enhanced_interaction_talkAboutParents_crit_failure">> <<elseif $interactionResult.success>> <<include "enhanced_interaction_talkAboutParents_success">> <<else>> <<include "enhanced_interaction_talkAboutParents_failure">> <</if>> <</if>> <</if>> <</if>> <</nobr>>
<<nobr>> <<ShowNpcIcon $interactionNpc>> <<set _roll = random(1, 3)>> <<switch _roll>> <<case 1>> <<Chat $interactionNpc "Parents? I... I never really had that. Let's change the subject.">> <<case 2>> <<Chat $interactionNpc "I don't want to talk about parents. That's a sore spot for me.">> <<case 3>> <<Chat $interactionNpc "I grew up without parents, so... yeah. Not much to say there.">> <</switch>> <div class="btn padding-top"><<button "Back" "enhanced_interaction_system">><</button>></div> <</nobr>>
<<nobr>> <<ShowNpcIcon $interactionNpc>> <<set _familyInfo = setup.getNpcFamilyInfo($interactionNpc.info.id)>> <<if _familyInfo.isParent>> /* This NPC IS a parent - talk about being one */ <<set _roll = random(1, 3)>> <<switch _roll>> <<case 1>> <<set _msg = "Being a parent is hard work, but I wouldn't trade it for anything. The " + _familyInfo.surname + " household is always full of life.">> <<Chat $interactionNpc _msg>> <<case 2>> <<Chat $interactionNpc "My partner and I try our best. Raising a family in this town isn't easy, but we manage.">> <<case 3>> <<Chat $interactionNpc "Parenthood changed everything for me. I see the world differently now - it's all about providing for the family.">> <</switch>> <<else>> /* This NPC is a child - talk about their parents */ <<set _roll = random(1, 3)>> <<switch _roll>> <<case 1>> <<set _msg = _familyInfo.parent1Name + " and " + _familyInfo.parent2Name + " are great parents. They've always been there for me.">> <<Chat $interactionNpc _msg>> <<case 2>> <<set _msg = "My parents - " + _familyInfo.parent1Name + " and " + _familyInfo.parent2Name + " - they work hard to keep us together as a family.">> <<Chat $interactionNpc _msg>> <<case 3>> <<set _msg = "I get along well with my parents. " + _familyInfo.parent1Name + " is strict but fair, and " + _familyInfo.parent2Name + " always knows how to cheer me up.">> <<Chat $interactionNpc _msg>> <</switch>> <</if>> <<run $player.characterEvents.registerEvent($interactionNpc.info.id, "discovered_family", 1)>> <<include "enhanced_interaction_result_display">> <</nobr>>
<<nobr>> <<ShowNpcIcon $interactionNpc>> <<set _roll = random(1, 3)>> <<switch _roll>> <<case 1>> <<Chat $interactionNpc "I'm not comfortable talking about my parents with you. Not yet.">> <<case 2>> <<Chat $interactionNpc "That's... a pretty deep topic. I don't think we're there yet.">> <<case 3>> <<Chat $interactionNpc "My parents are a sensitive subject. Let's talk about something else.">> <</switch>> <<include "enhanced_interaction_result_display">> <</nobr>>
<<nobr>> <<ShowNpcIcon $interactionNpc>> <<set _familyInfo = setup.getNpcFamilyInfo($interactionNpc.info.id)>> <<if _familyInfo.isParent>> <<set _kidsPart = _familyInfo.childrenCount > 0 ? _familyInfo.childrenNames.join(" and ") : "my family">> <<set _msg = "You know... being a parent to " + _kidsPart + " has taught me so much about myself. I've never told anyone this, but sometimes I worry I'm not good enough for them.">> <<Chat $interactionNpc _msg>> <<ChatMessage "They shared a deeply personal moment about parenthood with you. Your bond grew significantly.">> <<else>> <<set _msg = "I'll tell you something I don't share with many people. " + _familyInfo.parent1Name + " and " + _familyInfo.parent2Name + " aren't perfect, but they sacrificed so much for me. I owe them everything.">> <<Chat $interactionNpc _msg>> <<ChatMessage "They opened up about their deepest feelings for their parents. You feel closer than ever.">> <</if>> <<run $player.characterEvents.registerEvent($interactionNpc.info.id, "discovered_family", 1)>> <<include "enhanced_interaction_result_display">> <</nobr>>
<<nobr>> <<ShowNpcIcon $interactionNpc>> <<set _roll = random(1, 2)>> <<switch _roll>> <<case 1>> <<Chat $interactionNpc "Don't you DARE talk about my parents like that! You have no idea what they mean to me!">> <<ChatMessage "You accidentally said something insensitive about their parents.">> <<case 2>> <<Chat $interactionNpc "You're crossing a line! My family is none of your concern!">> <<ChatMessage "Your prying questions struck a nerve.">> <</switch>> <<include "enhanced_interaction_result_display">> <</nobr>>
<<nobr>> <<include "UpdateAll">> /* Check if NPC has a family */ <<set _familyInfo = setup.getNpcFamilyInfo($interactionNpc.info.id)>> <<if _familyInfo == null>> <<include "enhanced_interaction_talkAboutSiblings_no_family">> <<else>> <<include "enhanced_interaction_busy_check">> <<set _interaction = setup.getInteractionDefinition("talkAboutSiblings")>> <<if _isBusy>> <<ShowNpcIcon $interactionNpc>> <<Chat $interactionNpc "Maybe some other time, I'm a bit busy...">> <div class="btn padding-top"><<button "Back" "enhanced_interaction_system">><</button>></div> <<else>> <<set $interactionResult = setup.performEnhancedInteraction($player, $interactionNpc, "talkAboutSiblings")>> <<if $interactionResult.blocked>> <<include "enhanced_interaction_result_display">> <<else>> <<SpendTime _interaction.timeCost>> <<SpendEnergy $player _interaction.energyCost>> <<run setup.applyInteractionEffects($player, $interactionNpc, "talkAboutSiblings", $interactionResult)>> <<if $interactionResult.criticalSuccess>> <<include "enhanced_interaction_talkAboutSiblings_crit_success">> <<elseif $interactionResult.criticalFailure>> <<include "enhanced_interaction_talkAboutSiblings_crit_failure">> <<elseif $interactionResult.success>> <<include "enhanced_interaction_talkAboutSiblings_success">> <<else>> <<include "enhanced_interaction_talkAboutSiblings_failure">> <</if>> <</if>> <</if>> <</if>> <</nobr>>
<<nobr>> <<ShowNpcIcon $interactionNpc>> <<set _roll = random(1, 3)>> <<switch _roll>> <<case 1>> <<Chat $interactionNpc "Siblings? I don't have any. Never had that kind of bond.">> <<case 2>> <<Chat $interactionNpc "I grew up alone. No brothers, no sisters. Just me.">> <<case 3>> <<Chat $interactionNpc "I wish I had siblings to talk about, but I don't. Maybe that's why I value my friends so much.">> <</switch>> <div class="btn padding-top"><<button "Back" "enhanced_interaction_system">><</button>></div> <</nobr>>
<<nobr>> <<ShowNpcIcon $interactionNpc>> <<set _familyInfo = setup.getNpcFamilyInfo($interactionNpc.info.id)>> <<if _familyInfo.isParent>> /* NPC is a parent - talk about their children's relationships */ <<if _familyInfo.childrenCount > 1>> <<set _childList = _familyInfo.childrenNames.join(" and ")>> <<set _msg = "My kids - " + _childList + " - they have their sibling squabbles, but deep down they look out for each other. It's sweet to watch.">> <<Chat $interactionNpc _msg>> <<elseif _familyInfo.childrenCount == 1>> <<set _msg = _familyInfo.childrenNames[0] + " is our only child. Sometimes I think they could use a sibling, but they seem happy.">> <<Chat $interactionNpc _msg>> <<else>> <<Chat $interactionNpc "We don't have kids, so no sibling stories from me! But I hear plenty of them from the neighbors.">> <</if>> <<else>> /* NPC is a child - talk about their actual siblings */ <<if _familyInfo.siblingCount > 0>> <<set _sibList = _familyInfo.siblingNames.join(" and ")>> <<set _roll = random(1, 3)>> <<switch _roll>> <<case 1>> <<set _sibWord = _familyInfo.siblingCount == 1 ? "sibling" : "siblings">> <<set _themWord = _familyInfo.siblingCount == 1 ? "them" : "any of them">> <<set _msg = "My " + _sibWord + "? " + _sibList + "! We fight sometimes, but I couldn't imagine life without " + _themWord + ".">> <<Chat $interactionNpc _msg>> <<case 2>> <<set _msg = _sibList + " and I grew up together in the " + _familyInfo.surname + " house. We have so many memories together.">> <<Chat $interactionNpc _msg>> <<case 3>> <<set _theyWord = _familyInfo.siblingCount == 1 ? "They're" : "They're all">> <<set _msg = "Growing up with " + _sibList + " was an adventure. " + _theyWord + " really important to me.">> <<Chat $interactionNpc _msg>> <</switch>> <<else>> <<Chat $interactionNpc "I'm an only child, actually. No siblings. It gets lonely sometimes, but I learned to be independent.">> <</if>> <</if>> <<run $player.characterEvents.registerEvent($interactionNpc.info.id, "discovered_family", 1)>> <<include "enhanced_interaction_result_display">> <</nobr>>
<<nobr>> <<ShowNpcIcon $interactionNpc>> <<set _roll = random(1, 3)>> <<switch _roll>> <<case 1>> <<Chat $interactionNpc "I don't really want to get into the sibling stuff right now.">> <<case 2>> <<Chat $interactionNpc "We have our issues... I'd rather not talk about it.">> <<case 3>> <<Chat $interactionNpc "Siblings can be complicated. Let's just leave it at that.">> <</switch>> <<include "enhanced_interaction_result_display">> <</nobr>>
<<nobr>> <<ShowNpcIcon $interactionNpc>> <<set _familyInfo = setup.getNpcFamilyInfo($interactionNpc.info.id)>> <<if _familyInfo.isParent>> <<if _familyInfo.childrenCount > 1>> <<set _childList = _familyInfo.childrenNames.join(" and ")>> <<set _msg = "You know what makes me happiest? Watching " + _childList + " grow up together. They drive each other crazy sometimes, but the love between them is real. I'm so proud of our little " + _familyInfo.surname + " family.">> <<Chat $interactionNpc _msg>> <<else>> <<Chat $interactionNpc "I wish we had more kids sometimes. But our family is perfect as it is. Thanks for caring enough to ask!">> <</if>> <<ChatMessage "They shared heartfelt parental pride with you. Your bond deepened significantly.">> <<else>> <<if _familyInfo.siblingCount > 0>> <<set _sibList = _familyInfo.siblingNames.join(" and ")>> <<set _msg = "I'll be honest... " + _sibList + " and I have been through a lot together. There were hard times, but we always had each other's backs. The " + _familyInfo.surname + " siblings stick together no matter what.">> <<Chat $interactionNpc _msg>> <<ChatMessage "They revealed deep emotional bonds with their siblings. You feel truly trusted!">> <<else>> <<set _msg = "Being an only child... sometimes I used to cry about it when I was little. But " + _familyInfo.parent1Name + " and " + _familyInfo.parent2Name + " always made me feel loved enough for a whole house full of kids. I've never told anyone that before.">> <<Chat $interactionNpc _msg>> <<ChatMessage "They shared a deeply personal childhood memory with you.">> <</if>> <</if>> <<run $player.characterEvents.registerEvent($interactionNpc.info.id, "discovered_family", 1)>> <<include "enhanced_interaction_result_display">> <</nobr>>
<<nobr>> <<ShowNpcIcon $interactionNpc>> <<set _roll = random(1, 2)>> <<switch _roll>> <<case 1>> <<Chat $interactionNpc "Why are you so interested in my siblings?! That's creepy!">> <<ChatMessage "Your questioning came across as obsessive and made them uncomfortable.">> <<case 2>> <<Chat $interactionNpc "Stop prying into my family life! You don't get to know everything about me!">> <<ChatMessage "They felt you were overstepping serious boundaries.">> <</switch>> <<include "enhanced_interaction_result_display">> <</nobr>>
<<nobr>> <<include "UpdateAll">> <<include "enhanced_interaction_busy_check">> <<set _interaction = setup.getInteractionDefinition("askOrientation")>> <<if _isBusy>> <<ShowNpcIcon $interactionNpc>> <<Chat $interactionNpc "I'm not in the mood to talk about personal stuff right now...">> <div class="btn padding-top"><<button "Back" "enhanced_interaction_system">><</button>></div> <<else>> <<set $interactionResult = setup.performEnhancedInteraction($player, $interactionNpc, "askOrientation")>> <<if $interactionResult.blocked>> <<include "enhanced_interaction_result_display">> <<else>> <<SpendTime _interaction.timeCost>> <<SpendEnergy $player _interaction.energyCost>> <<run setup.applyInteractionEffects($player, $interactionNpc, "askOrientation", $interactionResult)>> <<if $interactionResult.criticalSuccess>> <<include "enhanced_interaction_askOrientation_crit_success">> <<elseif $interactionResult.criticalFailure>> <<include "enhanced_interaction_askOrientation_crit_failure">> <<elseif $interactionResult.success>> <<include "enhanced_interaction_askOrientation_success">> <<else>> <<include "enhanced_interaction_askOrientation_failure">> <</if>> <</if>> <</if>> <</nobr>>
<<nobr>> <<ShowNpcIcon $interactionNpc>> <<set _pref = $interactionNpc.info.sexualPreference>> <<switch _pref>> <<case "Manly">> <<Chat $interactionNpc "If you really want to know... I prefer manly partners. There's just something about masculine energy that attracts me.">> <<case "Feminine">> <<Chat $interactionNpc "Well, since you asked... I'm drawn to feminine partners. That's just what I find attractive.">> <<case "Bi">> <<Chat $interactionNpc "Honestly? I don't really have a strong preference when it comes to gender. I'm attracted to the person, not the label.">> <</switch>> <<run $player.characterEvents.registerEvent($interactionNpc.info.id, "discovered_prefGender", 1)>> <<include "enhanced_interaction_result_display">> <</nobr>>
<<nobr>> <<ShowNpcIcon $interactionNpc>> <<set _roll = random(1, 3)>> <<switch _roll>> <<case 1>> <<Chat $interactionNpc "That's a pretty personal question... I'd rather not say.">> <<case 2>> <<Chat $interactionNpc "Why do you want to know that? I'm not comfortable sharing that right now.">> <<case 3>> <<Chat $interactionNpc "Hmm, I don't think we're close enough for me to answer that. Maybe another time.">> <</switch>> <<include "enhanced_interaction_result_display">> <</nobr>>
<<nobr>> <<ShowNpcIcon $interactionNpc>> <<set _pref = $interactionNpc.info.sexualPreference>> <<switch _pref>> <<case "Manly">> <<Chat $interactionNpc "You know, I'm really glad you asked! I've always been attracted to manly partners. There's no shame in knowing what you want, right? I feel like I can be completely honest with you about this.">> <<case "Feminine">> <<Chat $interactionNpc "I appreciate you asking openly! I'm definitely into feminine partners. It's nice to talk about this with someone who doesn't judge. I feel really comfortable around you.">> <<case "Bi">> <<Chat $interactionNpc "That's such a great question! Honestly, gender doesn't really matter to me. I fall for people, not labels. Not everyone gets that, but I feel like you do.">> <</switch>> <<ChatMessage "They opened up about their orientation with complete trust!">> <<run $player.characterEvents.registerEvent($interactionNpc.info.id, "discovered_prefGender", 1)>> <<include "enhanced_interaction_result_display">> <</nobr>>
<<nobr>> <<ShowNpcIcon $interactionNpc>> <<set _roll = random(1, 2)>> <<switch _roll>> <<case 1>> <<Chat $interactionNpc "Excuse me?! That's incredibly personal and none of your business!">> <<ChatMessage "Your question came across as invasive and inappropriate.">> <<case 2>> <<Chat $interactionNpc "What kind of question is that?! I don't owe you an explanation about my preferences!">> <<ChatMessage "They were deeply offended by your prying.">> <</switch>> <<include "enhanced_interaction_result_display">> <</nobr>>
<<nobr>> <<include "UpdateAll">> <<include "enhanced_interaction_busy_check">> <<set _interaction = setup.getInteractionDefinition("askSexRole")>> <<if _isBusy>> <<ShowNpcIcon $interactionNpc>> <<Chat $interactionNpc "Not now... that's a bit too personal for the moment.">> <div class="btn padding-top"><<button "Back" "enhanced_interaction_system">><</button>></div> <<else>> <<set $interactionResult = setup.performEnhancedInteraction($player, $interactionNpc, "askSexRole")>> <<if $interactionResult.blocked>> <<include "enhanced_interaction_result_display">> <<else>> <<SpendTime _interaction.timeCost>> <<SpendEnergy $player _interaction.energyCost>> <<run setup.applyInteractionEffects($player, $interactionNpc, "askSexRole", $interactionResult)>> <<if $interactionResult.criticalSuccess>> <<include "enhanced_interaction_askSexRole_crit_success">> <<elseif $interactionResult.criticalFailure>> <<include "enhanced_interaction_askSexRole_crit_failure">> <<elseif $interactionResult.success>> <<include "enhanced_interaction_askSexRole_success">> <<else>> <<include "enhanced_interaction_askSexRole_failure">> <</if>> <</if>> <</if>> <</nobr>>
<<nobr>> <<ShowNpcIcon $interactionNpc>> <<set _role = $interactionNpc.info.SexRole>> <<switch _role>> <<case "Active">> <<Chat $interactionNpc "Well... I prefer to take the lead, if you know what I mean. I like being the active one.">> <<case "Passive">> <<Chat $interactionNpc "I'll be honest with you... I prefer to be on the receiving end. I like being passive.">> <<case "Versatile">> <<Chat $interactionNpc "I'm pretty flexible about that, actually. I don't have a strong preference either way - versatile, I guess you'd say.">> <</switch>> <<run $player.characterEvents.registerEvent($interactionNpc.info.id, "discovered_sexRole", 1)>> <<include "enhanced_interaction_result_display">> <</nobr>>
<<nobr>> <<ShowNpcIcon $interactionNpc>> <<set _roll = random(1, 3)>> <<switch _roll>> <<case 1>> <<Chat $interactionNpc "Whoa, that's getting a bit intimate for a casual conversation, don't you think?">> <<case 2>> <<Chat $interactionNpc "I'm not ready to talk about that kind of stuff with you yet.">> <<case 3>> <<Chat $interactionNpc "That's... really personal. Maybe when we know each other better.">> <</switch>> <<include "enhanced_interaction_result_display">> <</nobr>>
<<nobr>> <<ShowNpcIcon $interactionNpc>> <<set _role = $interactionNpc.info.SexRole>> <<switch _role>> <<case "Active">> <<Chat $interactionNpc "Since you asked so nicely... I've always been the dominant type in bed. I like taking charge and being active. It's just who I am, and I'm not ashamed of it!">> <<case "Passive">> <<Chat $interactionNpc "You're someone I can trust with this... I really enjoy being passive. There's something freeing about letting someone else take control. I've never told anyone that so directly!">> <<case "Versatile">> <<Chat $interactionNpc "I love that you're so open about asking! Truth is, I enjoy both sides. Being versatile keeps things exciting - sometimes I lead, sometimes I follow. Variety is the spice of life, right?">> <</switch>> <<ChatMessage "They shared intimate details about their preferences with complete trust!">> <<run $player.characterEvents.registerEvent($interactionNpc.info.id, "discovered_sexRole", 1)>> <<include "enhanced_interaction_result_display">> <</nobr>>
<<nobr>> <<ShowNpcIcon $interactionNpc>> <<set _roll = random(1, 2)>> <<switch _roll>> <<case 1>> <<Chat $interactionNpc "Are you seriously asking me about my bedroom preferences?! That's so inappropriate!">> <<ChatMessage "Your blunt question about their sex life was way too forward.">> <<case 2>> <<Chat $interactionNpc "What the hell?! I barely know you and you're asking THAT? Back off!">> <<ChatMessage "They were shocked and angered by your inappropriate question.">> <</switch>> <<include "enhanced_interaction_result_display">> <</nobr>>
<<nobr>> <<include "UpdateAll">> <<include "enhanced_interaction_busy_check">> <<set _interaction = setup.getInteractionDefinition("askClothingPref")>> <<if _isBusy>> <<ShowNpcIcon $interactionNpc>> <<Chat $interactionNpc "Can we talk about fashion another time? I'm busy.">> <div class="btn padding-top"><<button "Back" "enhanced_interaction_system">><</button>></div> <<else>> <<set $interactionResult = setup.performEnhancedInteraction($player, $interactionNpc, "askClothingPref")>> <<if $interactionResult.blocked>> <<include "enhanced_interaction_result_display">> <<else>> <<SpendTime _interaction.timeCost>> <<SpendEnergy $player _interaction.energyCost>> <<run setup.applyInteractionEffects($player, $interactionNpc, "askClothingPref", $interactionResult)>> <<if $interactionResult.criticalSuccess>> <<include "enhanced_interaction_askClothingPref_crit_success">> <<elseif $interactionResult.criticalFailure>> <<include "enhanced_interaction_askClothingPref_crit_failure">> <<elseif $interactionResult.success>> <<include "enhanced_interaction_askClothingPref_success">> <<else>> <<include "enhanced_interaction_askClothingPref_failure">> <</if>> <</if>> <</if>> <</nobr>>
<<nobr>> <<ShowNpcIcon $interactionNpc>> <<set _pref = $interactionNpc.info.clothesPreference>> <<if _pref == "men">> <<Chat $interactionNpc "I tend to go for men's clothing. It's more my style - practical and comfortable.">> <<else>> <<Chat $interactionNpc "I prefer women's clothing, honestly. It suits me better and I feel more like myself in it.">> <</if>> <<run $player.characterEvents.registerEvent($interactionNpc.info.id, "discovered_clothesPref", 1)>> <<include "enhanced_interaction_result_display">> <</nobr>>
<<nobr>> <<ShowNpcIcon $interactionNpc>> <<set _roll = random(1, 3)>> <<switch _roll>> <<case 1>> <<Chat $interactionNpc "Why do you care about what I wear? That's a weird question.">> <<case 2>> <<Chat $interactionNpc "I don't really feel like discussing my wardrobe choices right now.">> <<case 3>> <<Chat $interactionNpc "My fashion sense is my own business, thanks.">> <</switch>> <<include "enhanced_interaction_result_display">> <</nobr>>
<<nobr>> <<ShowNpcIcon $interactionNpc>> <<set _pref = $interactionNpc.info.clothesPreference>> <<if _pref == "men">> <<Chat $interactionNpc "Oh, you noticed! Yeah, I've always gravitated toward men's fashion. There's something about a clean-cut masculine look that just feels right for me. I love that you pay attention to these things!">> <<else>> <<Chat $interactionNpc "I'm so glad you asked! I absolutely love women's fashion - the variety, the textures, the way it makes me feel. It's a big part of who I am, and it means a lot that you're interested!">> <</if>> <<ChatMessage "They enthusiastically shared their fashion preferences with you!">> <<run $player.characterEvents.registerEvent($interactionNpc.info.id, "discovered_clothesPref", 1)>> <<include "enhanced_interaction_result_display">> <</nobr>>
<<nobr>> <<ShowNpcIcon $interactionNpc>> <<set _roll = random(1, 2)>> <<switch _roll>> <<case 1>> <<Chat $interactionNpc "Are you judging my clothes?! What's wrong with how I dress?!">> <<ChatMessage "Your question came across as critical of their appearance.">> <<case 2>> <<Chat $interactionNpc "What's that supposed to mean? You don't like how I look?!">> <<ChatMessage "They took your question as an insult to their style.">> <</switch>> <<include "enhanced_interaction_result_display">> <</nobr>>
<<widget "InitEnhancedInteractionSystem">> <<nobr>> /* Initialize enhanced interaction system */ <<run SetEnhancedInteractionMethods()>> <<set $enhancedInteractionSystemLoaded = true>> <</nobr>> <</widget>>
<<nobr>> <<include "UpdateAll">> <<set $relationshipDateReturnPassage = "enhanced_interaction_system">> <<run $player.getRelationship($interactionNpc.info.id)>> <<run $interactionNpc.getRelationship($player.info.id)>> /* Random NPC-initiated event (~6% chance) */ <<include "NPC_Interact_Event">> <<include "enhanced_interaction_btn_text">> /* Check for NPC relationship proposal */ <<set _npcProposal = setup.checkNPCRelationshipProposal($player, $interactionNpc)>> <<if _npcProposal && _npcProposal.type>> <<set $pendingNpcProposal = _npcProposal>> <<set $pendingNpcProposal.npcId = $interactionNpc.info.id>> <<goto "enhanced_npc_relationship_proposal">> <</if>> <<set _npcMetrics = $player.getRelationship($interactionNpc.info.id, false)?.metrics>> <<set _npcRelation = $player.getRelationship($interactionNpc.info.id, false)?.relation ?? "acquaintance">> <<set _npcEnergy = $interactionNpc.status.energy.value>> <<set _npcHealth = $interactionNpc.status.health.value>> <<set _npcMood = $interactionNpc.attributes.happiness ? $interactionNpc.attributes.happiness.value : 50>> <<ResolveMadDogDebtTaskName>> <<set _isMadDogDebtor = ($interactionNpc.saveData instanceof Map) ? $interactionNpc.saveData.get("madDogDebtor") === true : false>> <<set _madDogTaskMatchesNpc = _madDogDebtTaskName == ("Get the debt from " + $interactionNpc.info.firstName + " " + $interactionNpc.info.secondName + ".")>> <<set _showMadDogDebtorButton = getQuestState("mad_dog_quest1") == "active" && _madDogDebtTaskState != "completed" && ($debtorID == $interactionNpc.info.id || _isMadDogDebtor || _madDogTaskMatchesNpc)>> <div class="enhanced-interaction-panel main-interaction-panel"> <!-- ═════ NPC INFO HEADER ═════ --> <div class="npc-info-header"> <div class="npc-photo-container"> <<set _characterIcon = $interactionNpc.getPhotoImage()>> <img class="npc-portrait" @src="_characterIcon" alt="NPC Portrait"> <<set _npcGender = $interactionNpc.gender()>> <<if _npcGender === "Male">> <div class="npc-gender-badge male">♂️</div> <<elseif _npcGender === "Shemale">> <div class="npc-gender-badge trans">⚧️</div> <<else>> <div class="npc-gender-badge female">♀️</div> <</if>> </div> <div class="npc-stats-container"> <div class="npc-name-section"> <div class="npc-name"><<print $interactionNpc.info.firstName>> <<print $interactionNpc.info.secondName>></div> <div class="npc-relation-badge"><<print Relations[_npcRelation]?.label ?? _npcRelation>></div> <<set _npcJob = $interactionNpc.info.characterWork>> <<set _invalidJobs = ["None", "none", "NONE", "", "null", "undefined", "N/A"]>> <<if _npcJob && !_invalidJobs.includes(_npcJob)>> <div class="npc-job-badge"><<print _npcJob>></div> <<else>> <div class="npc-job-badge">Citizen</div> <</if>> <div class="npc-age-badge">Age: <<print $interactionNpc.info.age.value>></div> <div class="npc-rename-btn"><<button "Rename">> <<run Dialog.create("Rename NPC")>> <<run Dialog.wiki('<<include "enhanced_interaction_rename_dialog">>')>> <<run Dialog.open()>> <</button>></div> </div> <<set _friendshipClamped = Math.max(-100, Math.min(100, _npcMetrics.friendship))>> <<if _friendshipClamped >= 0>> <<set _negFillWidth = "width: 0%">> <<set _posFillWidth = "width: " + Math.abs(_friendshipClamped) + "%">> <<else>> <<set _negFillWidth = "width: " + Math.abs(_friendshipClamped) + "%">> <<set _posFillWidth = "width: 0%">> <</if>> <<set _loveWidth = "width: " + Math.min(100, _npcMetrics.love) + "%">> <<set _lustWidth = "width: " + Math.min(100, _npcMetrics.sex) + "%">> <<set _fearWidth = "width: " + Math.min(100, _npcMetrics.fear) + "%">> <<set _angerWidth = "width: " + Math.min(100, _npcMetrics.anger) + "%">> <<set _energyWidth = "width: " + _npcEnergy + "%">> <div class="npc-stats-grid"> <div class="stat-item friendship"> <span class="stat-icon">❤️</span> <span class="stat-label">Friendship</span> <div class="stat-bar friendship-bar"><div class="friendship-half neg-half"><div class="friendship-fill neg-fill" @style="_negFillWidth"></div></div><div class="friendship-half pos-half"><div class="friendship-fill pos-fill" @style="_posFillWidth"></div></div></div> <span class="stat-value"><<print Math.floor(_npcMetrics.friendship)>></span> </div> <div class="stat-item love"> <span class="stat-icon">💕</span> <span class="stat-label">Love</span> <div class="stat-bar"><div class="stat-fill" @style="_loveWidth"></div></div> <span class="stat-value"><<print Math.floor(_npcMetrics.love)>></span> </div> <div class="stat-item lust"> <span class="stat-icon">🔥</span> <span class="stat-label">Sex</span> <div class="stat-bar"><div class="stat-fill" @style="_lustWidth"></div></div> <span class="stat-value"><<print Math.floor(_npcMetrics.sex)>></span> </div> <div class="stat-item fear"> <span class="stat-icon">😨</span> <span class="stat-label">Fear</span> <div class="stat-bar"><div class="stat-fill" @style="_fearWidth"></div></div> <span class="stat-value"><<print Math.floor(_npcMetrics.fear)>></span> </div> <div class="stat-item anger"> <span class="stat-icon">😠</span> <span class="stat-label">Anger</span> <div class="stat-bar"><div class="stat-fill" @style="_angerWidth"></div></div> <span class="stat-value"><<print Math.floor(_npcMetrics.anger)>></span> </div> <div class="stat-item energy"> <span class="stat-icon">⚡</span> <span class="stat-label">Energy</span> <div class="stat-bar"><div class="stat-fill" @style="_energyWidth"></div></div> <span class="stat-value"><<print Math.floor(_npcEnergy)>></span> </div> </div> </div> </div> <<NpcMemoryAside $interactionNpc>> /* Meetings (playerNpcMeetings.ts): an apology they owe you, and a meeting that is on. Talking to someone you met makes even a short meeting count. */ <<run setup.playerNpcMeetings.noteTalk($interactionNpc)>> <<set _meetApology = setup.playerNpcMeetings.takeApology($interactionNpc)>> <<if _meetApology>><<Chat $interactionNpc _meetApology>><</if>> <<set _meetNow = setup.playerNpcMeetings.forNpc($interactionNpc)>> <<if _meetNow>> <div class="meet-note">📅 <<= _meetNow.statusLabel>>: <<= _meetNow.placeAt>>, <<= _meetNow.when>></div> <</if>> <<run setup.observePlayerPartnerNight($interactionNpc)>> <<set _coupleView = setup.getPlayerNpcRelationshipView($interactionNpc)>> <<if setup.getPlayerNpcAfterBreakupView($interactionNpc)>> <div class="btn padding-top"><<button "After our breakup" "enhanced_relationship_after_breakup">><<unset $afterBreakupResult>><</button>></div> <</if>> <<if _coupleView.history.milestones.length || _coupleView.history.dateSummaries.length>> <div class="btn padding-top"><<button "Our history" "enhanced_relationship_history">> <<unset $relationshipHistoryResult>> <</button>></div> <</if>> <<if _coupleView.active>> <<set _partnerRumor = GetPlayerPartnerRumorConcern($interactionNpc)>> <<if _partnerRumor>> <<Chat $interactionNpc _partnerRumor.line>> <div class="btn"><<button "Talk about what you heard" "DiscussPartnerRumor">><<unset $partnerRumorResult>><</button>></div> <</if>> <div class="btn padding-top"><<button "Our occasions" "enhanced_relationship_occasions">><<unset $relationshipOccasionResult>><</button>></div> <div class="interaction-result-panel relationship-partner-panel"> <div class="result-banner success"> <span class="result-icon">💕</span> <span class="result-text"><<print _coupleView.partnerLabel>> · <<print _coupleView.daysTogether>> days together</span> </div> <div class="result-description"> <<print _coupleView.needLine>> · <<print _coupleView.boundaryLabel>> </div> <div class="result-description"> Attention <<print Math.round(_coupleView.satisfaction.attention)>> · Affection <<print Math.round(_coupleView.satisfaction.affection)>> · Intimacy <<print Math.round(_coupleView.satisfaction.intimacy)>> · Trust <<print Math.round(_coupleView.satisfaction.trust)>> </div> <div class="result-description">🏠 <<print _coupleView.cohabitationLabel>><<if _coupleView.homeLabel>> · <<print _coupleView.homeLabel>><</if>></div> <<if _coupleView.householdHint>><div class="result-description">🌆 <<print _coupleView.householdHint>></div><</if>> <<set _nightStatus = setup.getPlayerNpcNightStatus($interactionNpc)>> <<set _lateNotice = setup.consumePlayerPartnerLateNotification($interactionNpc)>> <<if _lateNotice>><div class="result-description">⚠ <<print _lateNotice>></div><</if>> <<if _nightStatus>> <div class="result-description">🌙 Tonight: <<print (_nightStatus.declaredActivity ?? _nightStatus.actualActivity).replaceAll("_", " ")>><<if _nightStatus.outcome>> · <<print _nightStatus.outcome.replaceAll("_", " ")>><</if>></div> <</if>> <<set _nightConcern = setup.getPlayerPartnerNightConcern($interactionNpc)>> <<if _nightConcern>> <div class="result-description">⚠ <<print _nightConcern.knowledge == "known" ? "You know their account of a recent night was incomplete." : "You have doubts about a recent absence, but no proof yet.">><<if _nightConcern.targetName>> They met <<print _nightConcern.targetName>>.<</if>></div> <<if ["forgiven", "agreement_changed", "affair_ended", "separated", "relationship_ended"].includes(_nightConcern.discussionOutcome)>> <div class="result-description">You already had it out over this.</div> <<elseif !_nightConcern.discussed or _nightConcern.knowledge == "known">> <div class="btn padding-top"><<button "Discuss the recent absence" "enhanced_relationship_night_concern">><</button>></div> <</if>> <</if>> <<if _coupleView.cohabitation.separationMinute != undefined>> <div class="btn padding-top"><<button "Discuss reconciliation" "enhanced_relationship_reconcile">><</button>></div> <<elseif _coupleView.cohabitation.status == "separate" or _coupleView.cohabitation.status == "sleepovers" or _coupleView.cohabitation.status == "former_cohabitant">> <<if !_coupleView.cohabitation.accessGranted and setup.ownsPlayerResidence("residential_apartment")>> <div class="btn padding-top"><<button "Give apartment key" "enhanced_relationship_key">><</button>></div> <</if>> <<set _moveAvailability = setup.canNpcMoveInWithPlayer($player, $interactionNpc, "residential_apartment")>> <<if _moveAvailability.ok>> <div class="btn padding-top"><<button "Ask to live together" "enhanced_relationship_move_in">><</button>></div> <<elseif setup.ownsPlayerResidence("residential_apartment")>> <div class="result-description">Move-in: <<print _moveAvailability.reason>></div> <</if>> <<elseif _coupleView.cohabitation.status == "cohabiting">> <div class="btn padding-top"><<button "Discuss your household" "enhanced_relationship_household">><</button>></div> <</if>> <<if _coupleView.pendingInitiative>> <div class="result-description">💬 <<print _coupleView.pendingInitiative.line>></div> <<if _coupleView.pendingInitiative.kind == "date">> <div class="btn padding-top"><<button "Answer the date request" "enhanced_relationship_date_planner">><</button>></div> <<else>> <div class="btn padding-top"><<button "Respond to your partner" "enhanced_relationship_initiative">><</button>></div> <</if>> <</if>> <<if _coupleView.legacyExclusiveConflict>> <div class="result-description">⚠ Your old save left you with more than one official partner. You can't ask anyone new until you sort that out.</div> <</if>> <<if _coupleView.plannedMeeting && (_coupleView.plannedMeeting.status == "planned" || _coupleView.plannedMeeting.status == "traveling")>> <div class="result-description">📍 Planned date: <<print _coupleView.plannedMeeting.venueLabel>>. <<if _coupleView.plannedMeeting.calendarScheduled>> Meet on <<print setup.playerNpcDateTimeLabel(_coupleView.plannedMeeting.scheduledMinute)>>. <<if _coupleView.plannedMeeting.departedMinute>>Your partner has set off.<<else>>Your partner will leave when it is time to travel.<</if>> <<else>><<print $interactionNpc.info.firstName>> is following the route there.<</if>> </div> <div class="btn padding-top"><<button "Cancel this outing" "enhanced_relationship_date_cancellation">><</button>></div> <<if $player.info.currentLocation == _coupleView.plannedMeeting.venue && $interactionNpc.info.currentLocation == _coupleView.plannedMeeting.venue && setup.canStartPlayerNpcCalendarDate(_coupleView.plannedMeeting)>> <div class="btn padding-top"><<button "Spend the date" "enhanced_relationship_date_resolve">><</button>></div> <</if>> <<elseif _coupleView.plannedMeeting && _coupleView.plannedMeeting.status == "active">> <div class="btn padding-top"><<button "Continue your date" "enhanced_relationship_date_session">><</button>></div> <<else>> <div class="btn padding-top"><<button "Plan a date" "enhanced_relationship_date_time">><<set $relationshipDateFormat = "standard">><</button>></div> <div class="btn padding-top"><<button "Arrange a 20-minute catch-up" "enhanced_relationship_date_time">><<set $relationshipDateFormat = "brief">><</button>></div> <</if>> <<if setup.getPlayerNpcDateCancellation($interactionNpc)>> <div class="btn padding-top"><<button "Discuss the cancelled outing" "enhanced_relationship_date_cancellation">><</button>></div> <</if>> <div class="btn padding-top"><<button "Talk about what's allowed" "enhanced_relationship_boundaries">><</button>></div> </div> <</if>> <<set _homeVisit = setup.getPlayerNpcVisit($interactionNpc)>> <<if _homeVisit && !["completed", "cancelled"].includes(_homeVisit.stage)>> <div class="btn padding-top"><<button "Continue your home visit" "enhanced_relationship_home_visit">><</button>></div> <<elseif _npcMetrics.friendship >= 20 && $player.info.currentLocation == $interactionNpc.info.currentLocation>> <div class="btn padding-top"><<button "Invite home for a visit" "enhanced_relationship_home_visit">> <<set $homeVisitActionResult = setup.requestPlayerNpcHomeVisit($interactionNpc)>> <<if $homeVisitActionResult.minutes > 0>><<SpendTime $homeVisitActionResult.minutes>><</if>> <</button>></div> <</if>> <<set _postFemInvite = setup.getPlayerPostFeminizationInvitation($interactionNpc)>> <<if _postFemInvite and (not _coupleView.active or _postFemInvite.phase == "travelling")>> <div class="interaction-result-panel relationship-partner-panel"> <div class="result-banner success"> <span class="result-icon">💭</span> <span class="result-text">Private post-feminization plan</span> </div> <div class="result-description"><<print _postFemInvite.line>></div> <<if _postFemInvite.phase == "travelling">> <<if _postFemInvite.guestName and _postFemInvite.playerRole == "partner">> <div class="result-description">Selected guest: <<print _postFemInvite.guestName>>.</div> <</if>> <div class="result-description">📍 Meeting place: <<print _postFemInvite.plannedLocationLabel>>. The NPC participants are following their routes there.</div> <<if _postFemInvite.readyToResolve>> <div class="btn padding-top"><<button "Begin the arranged meeting" "enhanced_post_feminization_meeting">><</button>></div> <</if>> <<else>> <div class="btn padding-top"><<button "Answer the invitation" "enhanced_post_feminization_invitation">><</button>></div> <</if>> </div> <</if>> <div class="interaction-menu-toolbar" role="search" aria-label="Find an interaction"> <label class="interaction-search-label">Search actions <input type="search" data-menu-search placeholder="Search by action or category" autocomplete="off" aria-controls="interaction-menu-grid"> </label> <label>Category <select data-menu-category aria-controls="interaction-menu-grid"><option value="">All categories</option></select> </label> <label class="interaction-available-label"><input type="checkbox" data-menu-available aria-controls="interaction-menu-grid"> Available only</label> <button type="button" data-menu-reset>Reset filters</button> <div class="interaction-quick-leave"><<button "Leave" "NudeCheck">><<set $canShowStatsBtn = true>><<set $gameSettings.allowSaves = true>><</button>></div> <p class="interaction-menu-status" data-menu-status role="status" aria-live="polite" aria-atomic="true"></p> <p class="interaction-menu-hint">Percentages show success chances. Hover over or focus a button to see costs, advice and requirements.</p> </div> <div class="interaction-menu-empty" data-menu-empty hidden>No matching actions. Try another search or reset the filters.</div> <div class="interaction-menu-grid" id="interaction-menu-grid"> <!-- ═════ ROW 1: FRIENDLY, AGGRESSIVE, SUPPORT ═════ --> <div class="categories-row"> <!-- FRIENDLY --> <div class="interaction-category"> <div class="category-header"> <span class="category-icon">💬</span> <span class="category-title">Friendly</span> </div> <div class="category-buttons"> <<if setup.canEnhancedInteract($player, $interactionNpc, "smallTalk")>> <div class="interaction-btn has-tips" data-category="friendly" data-interaction="smallTalk"> <<button _smallTalkBtnText "enhanced_interaction_smallTalk">><</button>> </div> <<else>> <div class="interaction-btn disabled" data-interaction="smallTalk"><<button "Small Talk">><</button>></div> <</if>> <<if setup.canEnhancedInteract($player, $interactionNpc, "deepConversation")>> <div class="interaction-btn has-tips" data-category="friendly" data-interaction="deepConversation"> <<button _deepConversationBtnText "enhanced_interaction_deepConversation">><</button>> </div> <<else>> <div class="interaction-btn disabled" data-interaction="deepConversation"><<button "Deep Talk">><</button>></div> <</if>> <<if setup.canEnhancedInteract($player, $interactionNpc, "shareSecret")>> <div class="interaction-btn has-tips" data-category="friendly" data-interaction="shareSecret"> <<button _shareSecretBtnText "enhanced_interaction_shareSecret">><</button>> </div> <<else>> <div class="interaction-btn disabled" data-interaction="shareSecret"><<button "Share Secret">><</button>></div> <</if>> <<if setup.canEnhancedInteract($player, $interactionNpc, "giveGift")>> <<if $player.money >= 50>> <div class="interaction-btn has-tips" data-category="friendly" data-interaction="giveGift"> <<button _giveGiftBtnText "enhanced_interaction_giveGift">><</button>> </div> <<else>> <div class="interaction-btn disabled" title="Not enough money ($50)"><<button "Give Gift $50">><</button>></div> <</if>> <<else>> <div class="interaction-btn disabled" data-interaction="giveGift"><<button "Give Gift $50">><</button>></div> <</if>> <<if setup.canEnhancedInteract($player, $interactionNpc, "inviteToBar")>> <<if $player.money >= 150>> <div class="interaction-btn has-tips" data-category="friendly" data-interaction="inviteToBar"> <<button _inviteToBarBtnText "enhanced_interaction_inviteToBar">><</button>> </div> <<else>> <div class="interaction-btn disabled" title="Not enough money ($150)"><<button "Bar $150">><</button>></div> <</if>> <<else>> <div class="interaction-btn disabled" data-interaction="inviteToBar"><<button "Bar $150">><</button>></div> <</if>> </div> </div> <!-- AGGRESSIVE --> <div class="interaction-category"> <div class="category-header"> <span class="category-icon">⚔️</span> <span class="category-title">Aggressive</span> </div> <div class="category-buttons"> <<if setup.canEnhancedInteract($player, $interactionNpc, "insult")>> <div class="interaction-btn aggressive has-tips" data-category="aggressive" data-interaction="insult"> <<button _insultBtnText "enhanced_interaction_insult">><</button>> </div> <<else>> <div class="interaction-btn disabled" data-interaction="insult"><<button "Insult">><</button>></div> <</if>> <<if setup.canEnhancedInteract($player, $interactionNpc, "threaten")>> <div class="interaction-btn aggressive has-tips" data-category="aggressive" data-interaction="threaten"> <<button _threatenBtnText "enhanced_interaction_threaten">><</button>> </div> <<else>> <div class="interaction-btn disabled" data-interaction="threaten"><<button "Threaten">><</button>></div> <</if>> <<if setup.canEnhancedInteract($player, $interactionNpc, "intimidate")>> <div class="interaction-btn aggressive has-tips" data-category="aggressive" data-interaction="intimidate"> <<button _intimidateBtnText "enhanced_interaction_intimidate">><</button>> </div> <<else>> <div class="interaction-btn disabled" data-interaction="intimidate"><<button "Intimidate">><</button>></div> <</if>> <<if setup.canEnhancedInteract($player, $interactionNpc, "challenge")>> <div class="interaction-btn aggressive has-tips" data-category="aggressive" data-interaction="challenge"> <<button _challengeBtnText "enhanced_interaction_challenge">><</button>> </div> <<else>> <div class="interaction-btn disabled" data-interaction="challenge"><<button "Challenge">><</button>></div> <</if>> <<if _showMadDogDebtorButton>> <div class="interaction-btn aggressive" data-category="aggressive"> <<button "Deal with the debtor" "NPC_DebtorDeal">><</button>> </div> <</if>> /* Fight - always available */ <div class="interaction-btn aggressive" data-category="aggressive"> <<button "⚔️ Fight" "enhanced_interaction_fight">><</button>> </div> </div> </div> <!-- SUPPORT --> <div class="interaction-category"> <div class="category-header"> <span class="category-icon">🤝</span> <span class="category-title">Support</span> </div> <div class="category-buttons"> <<if setup.canEnhancedInteract($player, $interactionNpc, "comfort")>> <div class="interaction-btn has-tips" data-category="supportive" data-interaction="comfort"> <<button _comfortBtnText "enhanced_interaction_comfort">><</button>> </div> <<else>> <div class="interaction-btn disabled" data-interaction="comfort"><<button "Comfort">><</button>></div> <</if>> <<if setup.canEnhancedInteract($player, $interactionNpc, "encourage")>> <div class="interaction-btn has-tips" data-category="supportive" data-interaction="encourage"> <<button _encourageBtnText "enhanced_interaction_encourage">><</button>> </div> <<else>> <div class="interaction-btn disabled" data-interaction="encourage"><<button "Encourage">><</button>></div> <</if>> <<if setup.canEnhancedInteract($player, $interactionNpc, "offerHelp")>> <div class="interaction-btn has-tips" data-category="supportive" data-interaction="offerHelp"> <<button _offerHelpBtnText "enhanced_interaction_offerHelp">><</button>> </div> <<else>> <div class="interaction-btn disabled" data-interaction="offerHelp"><<button "Offer Help">><</button>></div> <</if>> <<set _apologizeBlockReason = setup.getInteractionBlockReason($player, $interactionNpc, "apologize")>> <<set _hasApologyGrievance = !_apologizeBlockReason.includes("Nothing to apologise")>> <<if _hasApologyGrievance>> <<if setup.canEnhancedInteract($player, $interactionNpc, "apologize")>> <div class="interaction-btn has-tips" data-category="supportive" data-interaction="apologize"> <<button _apologizeBtnText "enhanced_interaction_apologize">><</button>> </div> <<else>> <div class="interaction-btn disabled" @title="_apologizeBlockReason"><<button "Apologize">><</button>></div> <</if>> <</if>> <<if setup.canEnhancedInteract($player, $interactionNpc, "askForAdvice")>> <div class="interaction-btn has-tips" data-category="supportive" data-interaction="askForAdvice"> <<button _askForAdviceBtnText "enhanced_interaction_askForAdvice">><</button>> </div> <<else>> <div class="interaction-btn disabled" data-interaction="askForAdvice"><<button "Ask Advice">><</button>></div> <</if>> </div> </div> </div> <!-- ═════ ROW 2: PLAYFUL, FAMILY, ROMANCE ═════ --> <div class="categories-row"> <!-- PLAYFUL --> <div class="interaction-category"> <div class="category-header"> <span class="category-icon">🎮</span> <span class="category-title">Playful</span> </div> <div class="category-buttons"> <<if setup.canEnhancedInteract($player, $interactionNpc, "tellJoke")>> <div class="interaction-btn has-tips" data-category="playful" data-interaction="tellJoke"> <<button _tellJokeBtnText "enhanced_interaction_tellJoke">><</button>> </div> <<else>> <div class="interaction-btn disabled" data-interaction="tellJoke"><<button "Tell Joke">><</button>></div> <</if>> <<if setup.canEnhancedInteract($player, $interactionNpc, "playfulTease")>> <div class="interaction-btn has-tips" data-category="playful" data-interaction="playfulTease"> <<button _playfulTeaseBtnText "enhanced_interaction_playfulTease">><</button>> </div> <<else>> <div class="interaction-btn disabled" data-interaction="playfulTease"><<button "Tease">><</button>></div> <</if>> <<if setup.canEnhancedInteract($player, $interactionNpc, "playGame")>> <div class="interaction-btn has-tips" data-category="playful" data-interaction="playGame"> <<button _playGameBtnText "enhanced_interaction_playGame">><</button>> </div> <<else>> <div class="interaction-btn disabled" data-interaction="playGame"><<button "Play Game">><</button>></div> <</if>> </div> </div> <!-- PERSONAL --> <div class="interaction-category"> <div class="category-header"> <span class="category-icon">🔍</span> <span class="category-title">Personal</span> </div> <div class="category-buttons"> <<set _knowBetterKinkState = window.getKnowNpcBetterState($player, $interactionNpc)>> <<if _knowBetterKinkState.canAttempt>> <<set _knowBetterKinkLabel = "Get to know better (" + _knowBetterKinkState.chance + "%)">> <div class="interaction-btn has-tips" data-category="friendly" data-interaction="getToKnowBetter" title="Learn one still-unknown preference"> <<button _knowBetterKinkLabel "AskNpcKinkPreference">><</button>> </div> <<elseif _knowBetterKinkState.code === "all-known">> <div class="interaction-btn disabled" data-interaction="getToKnowBetter" title="Bring up a specific topic to hear how they feel now"><<button "Try a specific topic instead">><</button>></div> <<else>> <div class="interaction-btn disabled" data-interaction="getToKnowBetter" @title="_knowBetterKinkState.reason"><<button "Get to know better (not now)">><</button>></div> <</if>> <<if setup.getNpcPreferenceConversationTopics($player, $interactionNpc).length > 0>> <div class="interaction-btn has-tips" data-category="friendly" data-interaction="discussPreferences" title="Ask about a specific interest, including topics you have not discussed before"> <<button "Talk about interests and boundaries" "NpcPreferenceConversation">><</button>> </div> <</if>> <<set _knownKinkDiscussionOptions = window.getNpcKinkDiscussionOptions($player, $interactionNpc)>> <<if _knownKinkDiscussionOptions.length > 0>> <div class="interaction-btn has-tips" data-category="friendly" data-interaction="discussKnownKinks" title="Use preferences and boundaries you have already learned"> <<button "Discuss known preferences" "DiscussNpcKinks">><</button>> </div> <</if>> <div class="interaction-btn has-tips" data-category="friendly" data-interaction="askDestination" title="Ask where they are ultimately headed"> <<button "Where are you going?" "AskNpcTravelDestination">><</button>> </div> <div class="interaction-btn has-tips" data-category="friendly" data-interaction="askCurrentDesire" title="Ask about their immediate plans without revealing hidden simulation values"> <<button "What do you want right now?" "AskNpcCurrentDesire">><</button>> </div> <div class="interaction-btn has-tips" data-category="friendly" data-interaction="askPersonalLife" title="They may choose to reveal a personal ambition"> <<button "Ask about their personal life" "AskNpcPersonalLife">><</button>> </div> <<if typeof window.CanAskNpcPartnerFeminization === "function" && window.CanAskNpcPartnerFeminization($player, $interactionNpc)>> <div class="interaction-btn has-tips" data-category="friendly" data-interaction="askPartnerChanges" title="Ask about subtle changes around their relationship"> <<button "Ask about recent changes" "AskNpcPartnerChanges">><</button>> </div> <</if>> <div class="interaction-btn has-tips" data-category="friendly" data-interaction="askKnownRumor" title="Ask for a rumor they know. Valuable secrets require more trust."> <<button "Have you heard any rumors?" "AskNpcKnownRumor">><</button>> </div> <<if GetPlayerRumorDiscussionOptions($interactionNpc).length>> <div class="interaction-btn" data-category="friendly" data-interaction="discussKnownRumor"> <<button "Discuss a story I heard" "DiscussKnownRumor">><<unset $rumorDiscussionResult>><</button>> </div> <</if>> <div class="interaction-btn has-tips" data-category="friendly" data-interaction="privacyConversation" title="Discuss personal matters and who may hear them"> <<button "Talk about a confidence" "NpcConfidenceConversation">><</button>> </div> <<set _witnessGossip = (typeof window.getWitnessesAboutNpc === "function") ? window.getWitnessesAboutNpc($interactionNpc.info.id, $interactionNpc.info.id) : []>> <<if _witnessGossip && _witnessGossip.length > 0>> <div class="interaction-btn has-tips" data-category="friendly" data-interaction="gossipAboutPair" title="Bring up a recent interaction you personally witnessed"> <<button "Bring up something I saw" "GossipAboutPair">><</button>> </div> <</if>> <<if setup.canEnhancedInteract($player, $interactionNpc, "askAboutFamily")>> <div class="interaction-btn has-tips" data-category="friendly" data-interaction="askAboutFamily"> <<button _askAboutFamilyBtnText "enhanced_interaction_askAboutFamily">><</button>> </div> <<else>> <div class="interaction-btn disabled" data-interaction="askAboutFamily"><<button "Ask About Family">><</button>></div> <</if>> <<if setup.canEnhancedInteract($player, $interactionNpc, "talkAboutParents")>> <div class="interaction-btn has-tips" data-category="friendly" data-interaction="talkAboutParents"> <<button _talkAboutParentsBtnText "enhanced_interaction_talkAboutParents">><</button>> </div> <<else>> <div class="interaction-btn disabled" data-interaction="talkAboutParents"><<button "About Parents">><</button>></div> <</if>> <<if setup.canEnhancedInteract($player, $interactionNpc, "talkAboutSiblings")>> <div class="interaction-btn has-tips" data-category="friendly" data-interaction="talkAboutSiblings"> <<button _talkAboutSiblingsBtnText "enhanced_interaction_talkAboutSiblings">><</button>> </div> <<else>> <div class="interaction-btn disabled" data-interaction="talkAboutSiblings"><<button "About Siblings">><</button>></div> <</if>> <<if setup.canEnhancedInteract($player, $interactionNpc, "askOrientation")>> <div class="interaction-btn has-tips" data-category="friendly" data-interaction="askOrientation"> <<button _askOrientationBtnText "enhanced_interaction_askOrientation">><</button>> </div> <<else>> <div class="interaction-btn disabled" data-interaction="askOrientation"><<button "Ask Orientation">><</button>></div> <</if>> <<if setup.canEnhancedInteract($player, $interactionNpc, "askSexRole")>> <div class="interaction-btn has-tips" data-category="friendly" data-interaction="askSexRole"> <<button _askSexRoleBtnText "enhanced_interaction_askSexRole">><</button>> </div> <<else>> <div class="interaction-btn disabled" data-interaction="askSexRole"><<button "Ask Sex Role">><</button>></div> <</if>> <<if setup.canEnhancedInteract($player, $interactionNpc, "askClothingPref")>> <div class="interaction-btn has-tips" data-category="friendly" data-interaction="askClothingPref"> <<button _askClothingPrefBtnText "enhanced_interaction_askClothingPref">><</button>> </div> <<else>> <div class="interaction-btn disabled" data-interaction="askClothingPref"><<button "Ask Clothing Pref">><</button>></div> <</if>> </div> </div> <!-- ROMANCE --> <div class="interaction-category"> <div class="category-header"> <span class="category-icon">💕</span> <span class="category-title">Romance</span> </div> <div class="category-buttons"> <<if setup.canEnhancedInteract($player, $interactionNpc, "compliment")>> <div class="interaction-btn has-tips" data-category="romantic" data-interaction="compliment"> <<button _complimentBtnText "enhanced_interaction_compliment">><</button>> </div> <<else>> <div class="interaction-btn disabled" data-interaction="compliment"><<button "Compliment">><</button>></div> <</if>> <<if setup.canEnhancedInteract($player, $interactionNpc, "flirt")>> <div class="interaction-btn has-tips" data-category="romantic" data-interaction="flirt"> <<button _flirtBtnText "enhanced_interaction_flirt">><</button>> </div> <<else>> <div class="interaction-btn disabled" data-interaction="flirt"><<button "Flirt">><</button>></div> <</if>> <<if setup.canEnhancedInteract($player, $interactionNpc, "holdHands")>> <div class="interaction-btn has-tips" data-category="romantic" data-interaction="holdHands"> <<button _holdHandsBtnText "enhanced_interaction_holdHands">><</button>> </div> <<else>> <div class="interaction-btn disabled" data-interaction="holdHands"><<button "Hold Hands">><</button>></div> <</if>> <<if setup.canEnhancedInteract($player, $interactionNpc, "hug")>> <div class="interaction-btn has-tips" data-category="romantic" data-interaction="hug"> <<button _hugBtnText "enhanced_interaction_hug">><</button>> </div> <<else>> <div class="interaction-btn disabled" data-interaction="hug"><<button "Hug">><</button>></div> <</if>> <<if setup.canEnhancedInteract($player, $interactionNpc, "confessLove")>> <div class="interaction-btn has-tips" data-category="romantic" data-interaction="confessLove"> <<button _confessLoveBtnText "enhanced_interaction_confessLove">><</button>> </div> <<else>> <div class="interaction-btn disabled" data-interaction="confessLove"><<button "Confess Love">><</button>></div> <</if>> <<if setup.canEnhancedInteract($player, $interactionNpc, "proposeDate")>> <div class="interaction-btn has-tips" data-category="romantic" data-interaction="proposeDate"> <<button _proposeDateBtnText "enhanced_interaction_proposeDate">><</button>> </div> <<else>> <div class="interaction-btn disabled" data-interaction="proposeDate"><<button "Ask Date">><</button>></div> <</if>> /* Asking to go steady only makes sense while you are not already a couple. */ <<if !_coupleView || !_coupleView.active>> <<if setup.canEnhancedInteract($player, $interactionNpc, "askToDate")>> <div class="interaction-btn has-tips" data-category="romantic" data-interaction="askToDate"> <<button _askToDateBtnText "enhanced_interaction_askToDate">><</button>> </div> <<else>> <div class="interaction-btn disabled" data-interaction="askToDate"><<button "Ask to Date">><</button>></div> <</if>> <</if>> </div> </div> </div> <!-- ═════ ROW 3: INTIMATE, ACTIONS, PERSUASION ═════ --> <div class="categories-row special-row"> <!-- INTIMATE --> <div class="interaction-category"> <div class="category-header"> <span class="category-icon">🔥</span> <span class="category-title">Intimate</span> </div> <div class="category-buttons"> <<if setup.canEnhancedInteract($player, $interactionNpc, "kiss")>> <div class="interaction-btn has-tips" data-category="intimate" data-interaction="kiss"> <<button _kissBtnText "enhanced_interaction_kiss">><</button>> </div> <<else>> <div class="interaction-btn disabled" data-interaction="kiss"><<button "Kiss">><</button>></div> <</if>> <<if setup.canEnhancedInteract($player, $interactionNpc, "passionateKiss")>> <div class="interaction-btn has-tips" data-category="intimate" data-interaction="passionateKiss"> <<button _passionateKissBtnText "enhanced_interaction_passionateKiss">><</button>> </div> <<else>> <div class="interaction-btn disabled" data-interaction="passionateKiss"><<button "Deep Kiss">><</button>></div> <</if>> <<if setup.canEnhancedInteract($player, $interactionNpc, "sensualTouch")>> <div class="interaction-btn has-tips" data-category="intimate" data-interaction="sensualTouch"> <<button _sensualTouchBtnText "enhanced_interaction_sensualTouch">><</button>> </div> <<else>> <div class="interaction-btn disabled" data-interaction="sensualTouch"><<button "Touch">><</button>></div> <</if>> <<if setup.canEnhancedInteract($player, $interactionNpc, "massage")>> <div class="interaction-btn has-tips" data-category="intimate" data-interaction="massage"> <<button _massageBtnText "enhanced_interaction_massage">><</button>> </div> <<else>> <div class="interaction-btn disabled" data-interaction="massage"><<button "Massage">><</button>></div> <</if>> <<if setup.canEnhancedInteract($player, $interactionNpc, "askForSex")>> <div class="interaction-btn has-tips" data-category="intimate" data-interaction="askForSex"> <<button _askForSexBtnText "enhanced_interaction_askForSex">><</button>> </div> <<else>> <div class="interaction-btn disabled" data-interaction="askForSex"><<button "Ask Sex">><</button>></div> <</if>> </div> </div> <!-- FOLLOW/INVITE --> <div class="interaction-category"> <div class="category-header"> <span class="category-icon">🚶</span> <span class="category-title">Actions</span> </div> <div class="category-buttons"> /* Sarah Quest 2 - Ask a female NPC to help */ <<if $interactionNpc.gender() == "Female" && getTaskState("sarah_quest_2", "Find a girl who's willing to help") == 'incomplete'>> <<if setup.canEnhancedInteract($player, $interactionNpc, "askSarahQuestHelp")>> <div class="interaction-btn has-tips" data-category="supportive" data-interaction="askSarahQuestHelp"> <<button _askSarahQuestHelpBtnText "SarahQuest2_Male_AskForHelp_Chance">><</button>> </div> <<else>> <div class="interaction-btn disabled" data-interaction="askSarahQuestHelp"><<button _askSarahQuestHelpBtnText>><</button>></div> <</if>> <</if>> <<if setup.playerFollowerHas ? setup.playerFollowerHas($interactionNpc.info.id) : $playerFollowers.includes($interactionNpc.info.id)>> <!-- NPC is already following - show Stop Following button --> <div class="interaction-btn" data-category="friendly"> <<button "Stop Following" "enhanced_interaction_stopFollowing">><</button>> </div> <<elseif setup.canEnhancedInteract($player, $interactionNpc, "followMe")>> <div class="interaction-btn has-tips" data-category="friendly" data-interaction="followMe"> <<button _followMeBtnText "enhanced_interaction_followMe">><</button>> </div> <<else>> <div class="interaction-btn disabled" data-interaction="followMe"><<button "Follow Me">><</button>></div> <</if>> /* Check if NPC is already at player's home */ <<set _isNpcAtPlayerHome = setup.isNpcAtPlayerHome ? setup.isNpcAtPlayerHome($interactionNpc) : false>> <<if _isNpcAtPlayerHome>> <div class="interaction-btn disabled" title="Already at your home"><<button "🏠 Already Home">><</button>></div> <<elseif setup.canEnhancedInteract($player, $interactionNpc, "inviteHome")>> <div class="interaction-btn has-tips" data-category="romantic" data-interaction="inviteHome"> <<button _inviteHomeBtnText "enhanced_interaction_inviteHome">><</button>> </div> <<else>> <div class="interaction-btn disabled" data-interaction="inviteHome"><<button "Invite Home">><</button>></div> <</if>> /* Ask Phone Number - only show if player doesn't have their number yet */ <<if $player.characterEvents.isEventRegistered($interactionNpc.info.id, "Have a phone number") != true>> <<if setup.canEnhancedInteract($player, $interactionNpc, "askPhoneNumber")>> <div class="interaction-btn has-tips" data-category="friendly" data-interaction="askPhoneNumber"> <<button _askPhoneNumberBtnText "enhanced_interaction_askPhoneNumber">><</button>> </div> <<else>> <div class="interaction-btn disabled" data-interaction="askPhoneNumber"><<button "📱 Ask Number">><</button>></div> <</if>> <<else>> <div class="interaction-btn" data-category="friendly"> <div class="relation-status-btn" title="You already have their phone number">📱 Has Number</div> </div> <</if>> /* Ask for House Keys - only show if NPC has a home and player doesn't have keys yet */ <<if npcHasHome($interactionNpc.info.id)>> <<if $player.characterEvents.isEventRegistered($interactionNpc.info.id, "Have house keys") != true>> <<if setup.canEnhancedInteract($player, $interactionNpc, "askForHouseKeys")>> <div class="interaction-btn has-tips" data-category="friendly" data-interaction="askForHouseKeys"> <<button _askKeysBtnText "enhanced_interaction_askForHouseKeys">><</button>> </div> <<else>> <div class="interaction-btn disabled" data-interaction="askForHouseKeys"><<button "🔑 Ask Keys">><</button>></div> <</if>> <<else>> <div class="interaction-btn" data-category="friendly"> <div class="relation-status-btn" title="You have the keys to their home">🔑 Has Keys</div> </div> <</if>> <</if>> /* Give Item - available for most NPCs */ <<set _tempCharWork = $interactionNpc.info.characterWork>> <<if _tempCharWork != "Pimp" && _tempCharWork != "Photographer" && _tempCharWork != "Porn director">> <div class="interaction-btn" data-category="friendly"> <<button "Give Item" "GiveItems">><<set $filterType = "All">><<unset $source>><</button>> </div> /* Money: give, borrow, lend, pay back (npcMoneyLedger.ts). */ <div class="interaction-btn" data-category="friendly"> <<button "💵 Money" "enhanced_interaction_money">><<unset $moneyResult>><</button>> </div> <</if>> /* Meet up: agree on a time and place; they really come (playerNpcMeetings.ts). */ <<if setup.playerNpcMeetings.canOffer($interactionNpc)>> <div class="interaction-btn" data-category="friendly"> <<button "📅 Meet up" "enhanced_interaction_meet">><<unset $meetResult>><</button>> </div> <</if>> /* Break Up - the player-initiated exit from a romance. Without it the only way out of a healthy relationship was to make the NPC leave. */ <<set _mainRelation = $player.getRelationship($interactionNpc.info.id, false)?.relation ?? "acquaintance">> <<if _mainRelation == "dating" || _mainRelation == "soulmate">> <div class="interaction-btn" data-category="romantic"> <<button "💔 Break Up" "enhanced_interaction_breakUp">><</button>> </div> <</if>> /* Recruit into whoring - the payoff for the pimp's recruiting perk ("bring girls to me, I'll pay for each one"), which previously had no consumer anywhere in the game. */ <<if $interactionNpc.gender() != "Male" && (IsStudent($interactionNpc) || IsOrdinaryCitizen($interactionNpc)) && ($player.characterEvents.isEventRegistered($player.info.id, "CanRecruit Hookers") || $player.characterEvents.isEventRegistered($player.info.id, "Became A Pimp"))>> <div class="interaction-btn" data-category="persuasion"> <<button "Recruit into whoring" "PersuadeToBecomeWhore">><<set $persuadeType = "Persuade">><</button>> </div> <</if>> /* Sarah Quest 2 - legacy button block kept disabled */ <<if false>> <div class="interaction-btn" data-category="friendly"> <<button "🔍 Ask for help" "SarahQuest2_Male_AskForHelp">><</button>> </div> <</if>> /* Offer Ride - requires car */ <<if $playercars && $playercars.length > 0>> <<if setup.canOfferRide && setup.canOfferRide($player, $interactionNpc)>> <<set _offerRideChance = setup.offerRideChance ? setup.offerRideChance($player, $interactionNpc) : 50>> <<set _offerRideBtnText = "🚗 Offer Ride (" + _offerRideChance + "%)">> <div class="interaction-btn" data-category="friendly"> <<button _offerRideBtnText "enhanced_interaction_offerRide">><</button>> </div> <<else>> <div class="interaction-btn disabled" title="Already offered a ride today"><<button "🚗 Offer Ride">><</button>></div> <</if>> <</if>> /* Invite to Beach - requires AmandaPicnicQuestCompleted and car */ <<set _questInfo = $interactionNpc.info.questInfo>> <<set _isRestrictedQuestChar = _questInfo && _questInfo.isQuestCharacter == true>> <<set _canInviteToBeach = !_questInfo || !_isRestrictedQuestChar>> <<if _canInviteToBeach && $playercars && $playercars.length > 0 && $player.characterEvents.isEventRegistered($player.info.id, 'AmandaPicnicQuestCompleted') == true>> <<if $player.dailyEvents.isEventRegistered($player.info.id, "BeachInvite") == false>> <<if setup.canInviteToBeachPicnic && setup.canInviteToBeachPicnic($player, $interactionNpc)>> <<set _invitePicnicChance = setup.inviteToBeachPicnicChance ? setup.inviteToBeachPicnicChance($player, $interactionNpc) : 50>> <<set _inviteBeachBtnText = "🏖️ Invite to Beach (" + _invitePicnicChance + "%)">> <<capture _invitePicnicChance>> <div class="interaction-btn" data-category="friendly"> <<button _inviteBeachBtnText "InviteToPicnic">><<set $chance = _invitePicnicChance>><</button>> </div> <</capture>> <<else>> <div class="interaction-btn disabled" title="Requires: Friendship ≥ 40, Love ≥ 35"><<button "🏖️ Invite to Beach">><</button>></div> <</if>> <<else>> <div class="interaction-btn disabled" title="Already invited someone today"><<button "🏖️ Invite to Beach">><</button>></div> <</if>> <</if>> /* BDSM Session - requires Alice quest completion */ <<set _canTrainNpc = $player.characterEvents.isEventRegistered($player.info.id, "CanTrainNPC")>> <<if _canTrainNpc == true>> <<set _bdsmRelData = $player.getRelationship($interactionNpc.info.id, false)>> <<set _bdsmMetrics = _bdsmRelData.metrics>> <<set _bdsmRelation = _bdsmRelData.relation ?? "acquaintance">> /* Access metrics directly like other code does */ <<set _bdsmLove = Math.floor(_bdsmMetrics.love) || 0>> <<set _bdsmSex = Math.floor(_bdsmMetrics.sex) || 0>> <<set _isRomantic = _bdsmRelation == "dating" || _bdsmRelation == "fuckbuddy" || _bdsmRelation == "soulmate">> <<set _hasEnoughRelation = _bdsmLove >= 30 || _bdsmSex >= 40 || _isRomantic>> <<set _hasEnoughMoney = $player.money >= 200>> <<set _isBdsmQuestNpc = $interactionNpc.info.questInfo && $interactionNpc.info.questInfo.isQuestCharacter == true>> <<set _bdsmChance = Math.min(95, Math.floor(30 + _bdsmLove * 0.5 + _bdsmSex * 0.8))>> /* Pre-calculate tooltip text */ <<set _playerMoney = $player.money || 0>> <<set _bdsmMoneyTooltip = "Requires: $200 (You: $" + _playerMoney + ")">> <<set _bdsmRelTooltip = "Requires: Love ≥ 30 (" + _bdsmLove + "), Sex ≥ 40 (" + _bdsmSex + "), or romance">> <<set _bdsmBtnText = "⛓️ BDSM (" + _bdsmChance + "%, $200)">> <<if _isBdsmQuestNpc>> <div class="interaction-btn disabled" title="Cannot train quest characters"><<button "⛓️ BDSM">><</button>></div> <<elseif !_hasEnoughMoney>> <div class="interaction-btn disabled" @title="_bdsmMoneyTooltip"><<button "⛓️ BDSM ($200)">><</button>></div> <<elseif !_hasEnoughRelation>> <div class="interaction-btn disabled" @title="_bdsmRelTooltip"><<button "⛓️ BDSM ($200)">><</button>></div> <<else>> <div class="interaction-btn bdsm-btn" data-category="intimate"> <<button _bdsmBtnText "enhanced_interaction_inviteBDSM">><</button>> </div> <</if>> <</if>> </div> </div> <!-- JOB INTERACTIONS - Show only for specific NPCs based on their job --> <<set _npcJob = $interactionNpc.info.characterWork>> <<set _hasJobInteractions = _npcJob == "Photographer" || _npcJob == "Porn director" || _npcJob == "Plastic Surgeon" || _npcJob == "Hooker" || _npcJob == "Pimp">> <<if _hasJobInteractions>> <div class="interaction-category"> <div class="category-header"> <span class="category-icon">💼</span> <span class="category-title">Job Services</span> </div> <div class="category-buttons"> /* Check work hours for sellers (8:00 - 20:00) */ <<set _workHour = ($dateTime.hours >= 8 && $dateTime.hours <= 20)>> /* Check content filter for sexual interactions */ <<run _contentAllow = CheckContentFilter($interactionNpc)>> /* PHOTOGRAPHER */ <<if _npcJob == "Photographer">> <<if $player.characterEvents.isEventRegistered($player.info.id, "Buy a photo studio") == false>> <<if _workHour>> <div class="interaction-btn" data-category="job"> <<button "📸 Photo Shoot" "Photographer">><</button>> </div> <<else>> <div class="interaction-btn disabled" title="Not during work hours"><<button "📸 Photo Shoot">><</button>></div> <</if>> <<else>> <div class="interaction-btn disabled" title="You own a photo studio"><<button "📸 Photo Shoot">><</button>></div> <</if>> <</if>> /* PORN DIRECTOR */ <<if _npcJob == "Porn director">> <div class="interaction-btn" data-category="job"> <<button "🎬 Porn Shoot" "PornShooting">><</button>> </div> <</if>> /* PLASTIC SURGEON */ <<if _npcJob == "Plastic Surgeon">> <<if _workHour>> <div class="interaction-btn" data-category="job"> <<button "💉 Plastic Surgery">><<ShowSurgery $player>><</button>> </div> <div class="interaction-btn" data-category="job"> <<button "🧪 Drug Testing" "DrugTesting">><<set $isPlayer = true>><</button>> </div> <<else>> <div class="interaction-btn disabled" title="Not during work hours"><<button "💉 Plastic Surgery">><</button>></div> <div class="interaction-btn disabled" title="Not during work hours"><<button "🧪 Drug Testing">><</button>></div> <</if>> <</if>> /* HOOKER */ <<if _npcJob == "Hooker">> <<run _contentAllow = CheckContentFilter($interactionNpc)>> <<if $player.characterEvents.isEventRegistered($player.info.id, "Became A Pimp") == true>> <div class="interaction-btn" data-category="job"> <<button "👠 Hooker Management" "HookerTalk">><</button>> </div> <<else>> <<if _contentAllow != false>> <div class="interaction-btn" data-category="job"> <<button "💋 Sexual Services ($500)" "AskSexServices">><</button>> </div> <<else>> <div class="interaction-btn disabled" title="Disabled by content filter"><<button "💋 Sexual Services ($500)">><</button>></div> <</if>> <</if>> <</if>> /* PIMP */ <<if _npcJob == "Pimp">> <<if $player.characterEvents.isEventRegistered($player.info.id, "Became A Pimp") == false>> <div class="interaction-btn" data-category="job"> <<button "❓ Ask Questions" "AskQuestions_Pimp">><</button>> </div> <</if>> <</if>> </div> </div> <</if>> <!-- PERSUASION --> <div class="interaction-category"> <div class="category-header"> <span class="category-icon">🎭</span> <span class="category-title">Persuasion</span> </div> <div class="category-buttons"> /* Check if NPC is on HRT and show discuss feminization button */ <<set _isOnHRT = $interactionNpc.saveData && $interactionNpc.saveData.get && $interactionNpc.saveData.get("onHRT") == true>> <<set _npcGender = $interactionNpc.gender()>> <<if _isOnHRT>> /* NPC is on HRT - show discuss feminization instead of convince HRT */ <<if setup.canEnhancedInteract($player, $interactionNpc, "discussFeminization")>> <div class="interaction-btn has-tips" data-category="persuasion" data-interaction="discussFeminization"> <<button _discussFeminizationBtnText "enhanced_interaction_discussFeminization">><</button>> </div> <<else>> <div class="interaction-btn disabled" data-interaction="discussFeminization"><<button "Discuss Changes">><</button>></div> <</if>> <<elseif _npcGender == "Male">> /* Male NPC - can convince to start HRT */ <<if setup.canEnhancedInteract($player, $interactionNpc, "convinceHRT")>> <div class="interaction-btn has-tips" data-category="persuasion" data-interaction="convinceHRT"> <<button _convinceHRTBtnText "enhanced_interaction_convinceHRT">><</button>> </div> <<else>> <div class="interaction-btn disabled" data-interaction="convinceHRT"><<button "Suggest HRT">><</button>></div> <</if>> <</if>> /* Gender change - available for all */ <<if setup.canEnhancedInteract($player, $interactionNpc, "convinceGenderChange")>> <div class="interaction-btn has-tips" data-category="persuasion" data-interaction="convinceGenderChange"> <<button _convinceGenderChangeBtnText "enhanced_interaction_convinceGenderChange">><</button>> </div> <<else>> <div class="interaction-btn disabled" data-interaction="convinceGenderChange"><<button "Change Gender">><</button>></div> <</if>> /* Sexual orientation change */ <<if setup.canEnhancedInteract($player, $interactionNpc, "convinceOrientationChange")>> <div class="interaction-btn has-tips" data-category="persuasion" data-interaction="convinceOrientationChange"> <<button _convinceOrientationBtnText "enhanced_interaction_convinceOrientation">><</button>> </div> <<else>> <div class="interaction-btn disabled" data-interaction="convinceOrientationChange"><<button "Change Orientation">><</button>></div> <</if>> </div> </div> </div> </div> <!-- FOOTER: STATS, CHEATS, LEAVE --> <div class="interaction-footer"> <div class="footer-buttons"> <div class="btn"><<button "Stats">> <<run Dialog.create("Info")>> <<run Dialog.wiki('<<CharacterStatsView $interactionNpc true>>')>> <<run Dialog.open();>> <</button>></div> /* Quest characters keep their scripted outfits - stripping a uniform mid-quest breaks appearance checks and prose (same exclusion the fight-victory stripping already applies). */ <<if !$interactionNpc.info.questInfo || $interactionNpc.info.questInfo.isQuestCharacter != true>> <<set _npcOutfitChance = getNpcClothingAcceptanceChance($player, $interactionNpc)>> <<set _npcOutfitButton = "Change outfit (" + _npcOutfitChance + "%)">> <div class="btn"><<button _npcOutfitButton>><<OpenNpcClothingManager "interaction">><</button>></div> <</if>> <<if $interactionNpc.info.characterWork != "Pimp" && $interactionNpc.info.characterWork != "Photographer" && $interactionNpc.info.characterWork != "Porn director" && (!$interactionNpc.info.questInfo || $interactionNpc.info.questInfo.isQuestCharacter != true)>> <div class="btn"><<button "Cheats">><<ShowCheats $interactionNpc>><</button>></div> <</if>> <div class="btn"><<button "Leave" "NudeCheck">><<set $canShowStatsBtn = true>><<set $gameSettings.allowSaves = true>><</button>></div> </div> </div> /* AI chat: its own row under Stats, Cheats and Leave. Always shown for ordinary NPCs; grey with the reason on hover when it cannot open (npcChatLive.ts aiNpcChatButton). */ <<if typeof aiNpcChatButton === "function">> <<set _aiChatButton = aiNpcChatButton($interactionNpc)>> <<else>> <<set _aiChatButton = {show: true, ok: false, reason: "AI features are not available in this version of the game."}>> <</if>> <<if _aiChatButton.show>> <<set _aiChatLabel = "💬 Chat with " + $interactionNpc.info.firstName>> <div class="interaction-ai-chat-row"> <<if _aiChatButton.ok>> <div class="ai-chat-entry"><<button _aiChatLabel "AiNpcChat">><</button>></div> <<else>> <div class="ai-chat-entry is-off" tabindex="0" role="note" @data-tip="_aiChatButton.reason" @aria-label="_aiChatLabel + '. ' + _aiChatButton.reason"><button type="button" aria-disabled="true" tabindex="-1"><<print _aiChatLabel>></button></div> <</if>> </div> <</if>> </div> <<InitInteractionTips>> <</nobr>>
<<nobr>> /* Friendly */ <<set _smallTalkBtnText = "Small Talk (" + setup.enhancedSuccessChance($player, $interactionNpc, "smallTalk") + "%)">> <<set _smallTalkTips = setup.getImprovementTips($player, $interactionNpc, "smallTalk")>> <<set _deepConversationBtnText = "Deep Talk (" + setup.enhancedSuccessChance($player, $interactionNpc, "deepConversation") + "%)">> <<set _deepConversationTips = setup.getImprovementTips($player, $interactionNpc, "deepConversation")>> <<set _shareSecretBtnText = "Share Secret (" + setup.enhancedSuccessChance($player, $interactionNpc, "shareSecret") + "%)">> <<set _shareSecretTips = setup.getImprovementTips($player, $interactionNpc, "shareSecret")>> <<set _askForAdviceBtnText = "Ask Advice (" + setup.enhancedSuccessChance($player, $interactionNpc, "askForAdvice") + "%)">> <<set _askForAdviceTips = setup.getImprovementTips($player, $interactionNpc, "askForAdvice")>> <<set _giveGiftBtnText = "Give Gift $50 (" + setup.enhancedSuccessChance($player, $interactionNpc, "giveGift") + "%)">> <<set _giveGiftTips = setup.getImprovementTips($player, $interactionNpc, "giveGift")>> <<set _inviteToBarBtnText = "Bar $150 (" + setup.enhancedSuccessChance($player, $interactionNpc, "inviteToBar") + "%)">> <<set _inviteToBarTips = setup.getImprovementTips($player, $interactionNpc, "inviteToBar")>> /* Family */ <<set _askAboutFamilyBtnText = "Ask About Family (" + setup.enhancedSuccessChance($player, $interactionNpc, "askAboutFamily") + "%)">> <<set _askAboutFamilyTips = setup.getImprovementTips($player, $interactionNpc, "askAboutFamily")>> <<set _talkAboutParentsBtnText = "About Parents (" + setup.enhancedSuccessChance($player, $interactionNpc, "talkAboutParents") + "%)">> <<set _talkAboutParentsTips = setup.getImprovementTips($player, $interactionNpc, "talkAboutParents")>> <<set _talkAboutSiblingsBtnText = "About Siblings (" + setup.enhancedSuccessChance($player, $interactionNpc, "talkAboutSiblings") + "%)">> <<set _talkAboutSiblingsTips = setup.getImprovementTips($player, $interactionNpc, "talkAboutSiblings")>> /* Personal */ <<set _askOrientationBtnText = "Ask Orientation (" + setup.enhancedSuccessChance($player, $interactionNpc, "askOrientation") + "%)">> <<set _askOrientationTips = setup.getImprovementTips($player, $interactionNpc, "askOrientation")>> <<set _askSexRoleBtnText = "Ask Sex Role (" + setup.enhancedSuccessChance($player, $interactionNpc, "askSexRole") + "%)">> <<set _askSexRoleTips = setup.getImprovementTips($player, $interactionNpc, "askSexRole")>> <<set _askClothingPrefBtnText = "Ask Clothing Pref (" + setup.enhancedSuccessChance($player, $interactionNpc, "askClothingPref") + "%)">> <<set _askClothingPrefTips = setup.getImprovementTips($player, $interactionNpc, "askClothingPref")>> /* Supportive */ <<set _comfortBtnText = "Comfort (" + setup.enhancedSuccessChance($player, $interactionNpc, "comfort") + "%)">> <<set _comfortTips = setup.getImprovementTips($player, $interactionNpc, "comfort")>> <<set _encourageBtnText = "Encourage (" + setup.enhancedSuccessChance($player, $interactionNpc, "encourage") + "%)">> <<set _encourageTips = setup.getImprovementTips($player, $interactionNpc, "encourage")>> <<set _offerHelpBtnText = "Offer Help (" + setup.enhancedSuccessChance($player, $interactionNpc, "offerHelp") + "%)">> <<set _offerHelpTips = setup.getImprovementTips($player, $interactionNpc, "offerHelp")>> <<set _apologizeBtnText = "Apologize (" + setup.enhancedSuccessChance($player, $interactionNpc, "apologize") + "%)">> <<set _apologizeTips = setup.getImprovementTips($player, $interactionNpc, "apologize")>> /* Playful */ <<set _tellJokeBtnText = "Tell Joke (" + setup.enhancedSuccessChance($player, $interactionNpc, "tellJoke") + "%)">> <<set _tellJokeTips = setup.getImprovementTips($player, $interactionNpc, "tellJoke")>> <<set _playfulTeaseBtnText = "Tease (" + setup.enhancedSuccessChance($player, $interactionNpc, "playfulTease") + "%)">> <<set _playfulTeaseTips = setup.getImprovementTips($player, $interactionNpc, "playfulTease")>> <<set _playGameBtnText = "Play Game (" + setup.enhancedSuccessChance($player, $interactionNpc, "playGame") + "%)">> <<set _playGameTips = setup.getImprovementTips($player, $interactionNpc, "playGame")>> /* Romantic */ <<set _complimentBtnText = "Compliment (" + setup.enhancedSuccessChance($player, $interactionNpc, "compliment") + "%)">> <<set _complimentTips = setup.getImprovementTips($player, $interactionNpc, "compliment")>> <<set _flirtBtnText = "Flirt (" + setup.enhancedSuccessChance($player, $interactionNpc, "flirt") + "%)">> <<set _flirtTips = setup.getImprovementTips($player, $interactionNpc, "flirt")>> <<set _holdHandsBtnText = "Hold Hands (" + setup.enhancedSuccessChance($player, $interactionNpc, "holdHands") + "%)">> <<set _holdHandsTips = setup.getImprovementTips($player, $interactionNpc, "holdHands")>> <<set _hugBtnText = "Hug (" + setup.enhancedSuccessChance($player, $interactionNpc, "hug") + "%)">> <<set _hugTips = setup.getImprovementTips($player, $interactionNpc, "hug")>> <<set _confessLoveBtnText = "Confess (" + setup.enhancedSuccessChance($player, $interactionNpc, "confessLove") + "%)">> <<set _confessLoveTips = setup.getImprovementTips($player, $interactionNpc, "confessLove")>> <<set _proposeDateBtnText = "Ask Date (" + setup.enhancedSuccessChance($player, $interactionNpc, "proposeDate") + "%)">> <<set _proposeDateTips = setup.getImprovementTips($player, $interactionNpc, "proposeDate")>> /* Intimate */ <<set _kissBtnText = "Kiss (" + setup.enhancedSuccessChance($player, $interactionNpc, "kiss") + "%)">> <<set _kissTips = setup.getImprovementTips($player, $interactionNpc, "kiss")>> <<set _passionateKissBtnText = "Deep Kiss (" + setup.enhancedSuccessChance($player, $interactionNpc, "passionateKiss") + "%)">> <<set _passionateKissTips = setup.getImprovementTips($player, $interactionNpc, "passionateKiss")>> <<set _sensualTouchBtnText = "Touch (" + setup.enhancedSuccessChance($player, $interactionNpc, "sensualTouch") + "%)">> <<set _sensualTouchTips = setup.getImprovementTips($player, $interactionNpc, "sensualTouch")>> <<set _massageBtnText = "Massage (" + setup.enhancedSuccessChance($player, $interactionNpc, "massage") + "%)">> <<set _massageTips = setup.getImprovementTips($player, $interactionNpc, "massage")>> <<set _askForSexBtnText = "Ask Sex (" + setup.enhancedSuccessChance($player, $interactionNpc, "askForSex") + "%)">> <<set _askForSexTips = setup.getImprovementTips($player, $interactionNpc, "askForSex")>> /* Aggressive */ <<set _insultBtnText = "Insult (" + setup.enhancedSuccessChance($player, $interactionNpc, "insult") + "%)">> <<set _insultTips = setup.getImprovementTips($player, $interactionNpc, "insult")>> <<set _threatenBtnText = "Threaten (" + setup.enhancedSuccessChance($player, $interactionNpc, "threaten") + "%)">> <<set _threatenTips = setup.getImprovementTips($player, $interactionNpc, "threaten")>> <<set _intimidateBtnText = "Intimidate (" + setup.enhancedSuccessChance($player, $interactionNpc, "intimidate") + "%)">> <<set _intimidateTips = setup.getImprovementTips($player, $interactionNpc, "intimidate")>> <<set _challengeBtnText = "Challenge (" + setup.enhancedSuccessChance($player, $interactionNpc, "challenge") + "%)">> <<set _challengeTips = setup.getImprovementTips($player, $interactionNpc, "challenge")>> /* Persuasion */ <<set _convinceGenderChangeBtnText = "Gender (" + setup.enhancedSuccessChance($player, $interactionNpc, "convinceGenderChange") + "%)">> <<set _convinceHRTBtnText = "HRT (" + setup.enhancedSuccessChance($player, $interactionNpc, "convinceHRT") + "%)">> <<set _convinceOrientationBtnText = "Orient. (" + setup.enhancedSuccessChance($player, $interactionNpc, "convinceOrientationChange") + "%)">> <<set _discussFeminizationBtnText = "Changes (" + setup.enhancedSuccessChance($player, $interactionNpc, "discussFeminization") + "%)">> /* Special Actions */ <<set _followMeBtnText = "Follow Me (" + setup.enhancedSuccessChance($player, $interactionNpc, "followMe") + "%)">> <<set _followMeTips = setup.getImprovementTips($player, $interactionNpc, "followMe")>> <<set _inviteHomeBtnText = "Invite Home (" + setup.enhancedSuccessChance($player, $interactionNpc, "inviteHome") + "%)">> <<set _inviteHomeTips = setup.getImprovementTips($player, $interactionNpc, "inviteHome")>> <<set _askToDateBtnText = "Ask to Date (" + setup.enhancedSuccessChance($player, $interactionNpc, "askToDate") + "%)">> <<set _askToDateTips = setup.getImprovementTips($player, $interactionNpc, "askToDate")>> <<set _askPhoneNumberBtnText = "📱 Number (" + setup.enhancedSuccessChance($player, $interactionNpc, "askPhoneNumber") + "%)">> <<set _askPhoneNumberTips = setup.getImprovementTips($player, $interactionNpc, "askPhoneNumber")>> <<set _askKeysBtnText = "🔑 Ask Keys (" + setup.enhancedSuccessChance($player, $interactionNpc, "askForHouseKeys") + "%)">> <<set _askKeysTips = setup.getImprovementTips($player, $interactionNpc, "askForHouseKeys")>> <<set _askSarahQuestHelpBtnText = "Ask for help (" + setup.enhancedSuccessChance($player, $interactionNpc, "askSarahQuestHelp") + "%)">> <</nobr>>
<<nobr>> <<include "UpdateAll">> <<set $interactionResult = setup.performEnhancedInteraction($player, $interactionNpc, "inviteToBar")>> <<if $interactionResult.blocked>> <<include "enhanced_interaction_result_display">> <<else>> <<SpendTime 120>> <<SpendEnergy $player 15>> <<run setup.applyInteractionEffects($player, $interactionNpc, "inviteToBar", $interactionResult)>> <<ShowNpcIcon $interactionNpc>> <<if $interactionResult.criticalSuccess>> <<Chat $interactionNpc "This was the BEST evening ever! I had so much fun with you! Let's do it again soon! 🍻✨">> <<ChatMessage "You had an amazing time together at the bar! Your bond has strengthened significantly!">> <<elseif $interactionResult.criticalFailure>> <<Chat $interactionNpc "This was... awkward. I think I'll head home early.">> <<ChatMessage "The evening at the bar didn't go well. It was uncomfortable for both of you.">> <<elseif $interactionResult.success>> <<set _relation = $player.getRelationship($interactionNpc.info.id, false)?.relation ?? "acquaintance">> <<switch _relation>> <<case "friend" "bestFriend">> <<Chat $interactionNpc "That was so fun! I love hanging out with you at the bar!">> <<case "crush">> <<Chat $interactionNpc "I really enjoyed spending time with you... 😊">> <<case "dating" "soulmate">> <<Chat $interactionNpc "Such a romantic evening! You're the best, honey! 💕">> <<default>> <<Chat $interactionNpc "Thanks for the drinks! That was nice.">> <</switch>> <<ChatMessage "You had a great time at the bar together!">> <<else>> <<Chat $interactionNpc "It was okay, I guess. The drinks were nice at least.">> <<ChatMessage "The evening was average. Nothing special happened.">> <</if>> /* Grants, status, money and resentment: one source, shared with the AI chat. */ <<set _consequences = setup.applyInteractionConsequences($player, $interactionNpc, "inviteToBar", $interactionResult)>> <<include "enhanced_interaction_result_display">> <</if>> <</nobr>>
<<nobr>> /* Rule lives in setup.checkNpcBusy (interactionOutcomes.ts), shared with the AI chat. */ <<set _isBusy = setup.checkNpcBusy($interactionNpc, $player)>> <</nobr>>
<<nobr>> /* Rule lives in setup.checkInteractionJealousy (interactionOutcomes.ts), shared with the AI chat. It also sets $romanticPartnerObject, $playerPartner(Index) and the confrontation variables. */ <<set _jealousyCheck = setup.checkInteractionJealousy($player, $interactionNpc)>> <<set _jealousIntervene = _jealousyCheck.npcPartnerPresent>> <<set _playerPartnerIntervene = _jealousyCheck.playerPartnerPresent>> <</nobr>>
<<nobr>> <<include "UpdateAll">> <div class="interaction-result-panel"> <<if $interactionResult.blocked>> <div class="result-banner blocked"> <span class="result-text">Action unavailable</span> </div> <div class="result-description"><<print $interactionResult.message>></div> <<elseif $interactionResult.criticalSuccess>> <div class="result-banner critical-success"> <span class="result-icon">🌟</span> <span class="result-text">CRITICAL SUCCESS!</span> </div> <div class="result-description">Your action made an incredible impression!</div> <<elseif $interactionResult.criticalFailure>> <div class="result-banner critical-failure"> <span class="result-icon">💔</span> <span class="result-text">CRITICAL FAILURE!</span> </div> <div class="result-description">Things went terribly wrong...</div> <<elseif $interactionResult.success>> <div class="result-banner success"> <span class="result-icon">✓</span> <span class="result-text">Success!</span> </div> <<else>> <div class="result-banner failure"> <span class="result-icon">✗</span> <span class="result-text">Failed...</span> </div> <</if>> /* Show metric changes */ <<if !$interactionResult.blocked && $interactionResult.metricChanges>> <div class="metric-changes"> <<set _changes = $interactionResult.metricChanges>> <<if _changes.friendship>> <div class="metric-change <<if _changes.friendship > 0>>positive<<else>>negative<</if>>"> <span class="metric-icon">🤝</span> <span class="metric-name">Friendship:</span> <span class="metric-value"><<if _changes.friendship > 0>>+<</if>><<print _changes.friendship>></span> </div> <</if>> <<if _changes.love>> <div class="metric-change <<if _changes.love > 0>>positive<<else>>negative<</if>>"> <span class="metric-icon">❤️</span> <span class="metric-name">Love:</span> <span class="metric-value"><<if _changes.love > 0>>+<</if>><<print _changes.love>></span> </div> <</if>> <<if _changes.sex>> <div class="metric-change <<if _changes.sex > 0>>positive<<else>>negative<</if>>"> <span class="metric-icon">🔥</span> <span class="metric-name">Attraction:</span> <span class="metric-value"><<if _changes.sex > 0>>+<</if>><<print _changes.sex>></span> </div> <</if>> <<if _changes.fear>> <div class="metric-change <<if _changes.fear > 0>>negative<<else>>positive<</if>>"> <span class="metric-icon">😨</span> <span class="metric-name">Fear:</span> <span class="metric-value"><<if _changes.fear > 0>>+<</if>><<print _changes.fear>></span> </div> <</if>> <<if _changes.anger>> <div class="metric-change <<if _changes.anger > 0>>negative<<else>>positive<</if>>"> <span class="metric-icon">😠</span> <span class="metric-name">Anger:</span> <span class="metric-value"><<if _changes.anger > 0>>+<</if>><<print _changes.anger>></span> </div> <</if>> </div> <</if>> <<if !$interactionResult.blocked>> <div class="chance-breakdown"> <div class="chance-header"> Success Chance: <span class="chance-value"><<print $interactionResult.finalChance>>%</span> (Rolled: <<print $interactionResult.chanceRolled>>) </div> <div class="modifiers-list"> <<for _mod range ($interactionResult.modifiers ?? [])>> <div class="modifier-item <<if _mod.value >= 0>>positive<<else>>negative<</if>>"> <span class="modifier-name"><<print _mod.name>>:</span> <span class="modifier-value"><<if _mod.value >= 0>>+<</if>><<print _mod.value>>%</span> </div> <</for>> </div> </div> <</if>> </div> <div class="btn padding-top"> <<button "Continue" "enhanced_interaction_system">> <<unset $interactionResult>> <<unset $currentInteraction>> <</button>> </div> <</nobr>>
<<nobr>> <<include "UpdateAll">> <<set _interaction = setup.getInteractionDefinition("followMe")>> <<set $interactionResult = setup.performEnhancedInteraction($player, $interactionNpc, "followMe")>> <<if $interactionResult.blocked>> <<include "enhanced_interaction_result_display">> <<else>> <<SpendTime _interaction.timeCost>> <<SpendEnergy $player _interaction.energyCost>> <<run setup.applyInteractionEffects($player, $interactionNpc, "followMe", $interactionResult)>> <<ShowNpcIcon $interactionNpc>> <<if $interactionResult.criticalSuccess>> <<Chat $interactionNpc "Absolutely! I'd follow you anywhere! Lead the way! 🚶✨">> <<ChatMessage "They eagerly agree to follow you!">> <<elseif $interactionResult.criticalFailure>> <<Chat $interactionNpc "What? No way! I'm not going anywhere with you!">> <<ChatMessage "They firmly refused and seem annoyed by the request.">> <<elseif $interactionResult.success>> <<set _phrase = [ "Alright, lead the way!", "Sure, I'll tag along with you.", "Yeah, I'm in. Let's go.", "Alright, you've convinced me. Let's see where this goes.", "Fine, I'll come with you." ].random()>> <<Chat $interactionNpc _phrase>> <<ChatMessage "They agreed to follow you.">> <<else>> <<set _phrase = [ "Nah, I'm good. You go ahead.", "Thanks, but I'd rather stay here.", "Nope, not really feeling it. Maybe another time.", "I'm not coming. I've got other plans.", "I'll pass. Maybe later." ].random()>> <<Chat $interactionNpc _phrase>> <<ChatMessage "They declined your invitation.">> <</if>> /* Grants, status, money and resentment: one source, shared with the AI chat. */ <<set _consequences = setup.applyInteractionConsequences($player, $interactionNpc, "followMe", $interactionResult)>> <<include "enhanced_interaction_result_display">> <</if>> <</nobr>>
<<nobr>> <<include "UpdateAll">> <<ShowNpcIcon $interactionNpc>> <<if setup.removePlayerFollower>> <<run setup.removePlayerFollower($interactionNpc.info.id)>> <<else>> <<set _npcIndex = $playerFollowers.indexOf($interactionNpc.info.id)>> <<if _npcIndex > -1>> <<run $playerFollowers.splice(_npcIndex, 1)>> <</if>> <</if>> <<set _phrase = [ "Alright, I'll go my own way then. See you later!", "Okay, I'll head off. Catch you around!", "Sure thing. I'll find something to do. Take care!", "No problem. I'm going to go check out some places.", "Got it. I'll be around. See you soon!" ].random()>> <<Chat $interactionNpc _phrase>> <<set _stopFollowMsg = $interactionNpc.info.firstName + " stopped following you and started heading toward their next destination.">> <<ChatMessage _stopFollowMsg>> /* Resume the ordinary schedule through the same stepwise route used by guests. */ <<run CompleteNpcHomeVisit($Characters.indexOf($interactionNpc))>> <div class="btn padding-top"> <<button "Continue">> <<unset $interactionNpc $indexNPC>> <<set $gameSettings.allowSaves = true>> <<set $canShowStatsBtn = true>> <<goto setup.prepareInteractionReturnPassage()>> <</button>> </div> <</nobr>>
<<nobr>> <<include "UpdateAll">> <<include "enhanced_interaction_jealousy_check">> <<if _jealousIntervene>> <<include "jealous_partner_intervenes">> <<elseif _playerPartnerIntervene>> <<include "player_partner_confrontation">> <<else>> <<set _interaction = setup.getInteractionDefinition("inviteHome")>> <<set $interactionResult = setup.performEnhancedInteraction($player, $interactionNpc, "inviteHome")>> <<if $interactionResult.blocked>> <<include "enhanced_interaction_result_display">> <<else>> <<SpendTime _interaction.timeCost>> <<SpendEnergy $player _interaction.energyCost>> <<run setup.applyInteractionEffects($player, $interactionNpc, "inviteHome", $interactionResult)>> <<set _consequences = setup.applyInteractionConsequences($player, $interactionNpc, "inviteHome", $interactionResult)>> <<set _playerHomeBedroom = setup.getPlayerResidenceBedroom()>> <<ShowNpcIcon $interactionNpc>> <<if $interactionResult.criticalSuccess>> <<set _journeyResult = _consequences.journey>> <<if _journeyResult.ok>> <<Chat $interactionNpc "Yes, finally. I was starting to think you'd never ask. 🏠💕">> <<ChatMessage _journeyResult.reason>> <<else>> <<Chat $interactionNpc _journeyResult.reason>> <</if>> <<set $gameSettings.allowSaves = true>> <<set $canShowStatsBtn = true>> <div class="btn padding-top"><<button "Continue">><<unset $interactionNpc $indexNPC $interaction $interactType $FromInteraction $currentInteraction $interactionResult>><<goto setup.prepareInteractionReturnPassage()>><</button>></div> <<elseif $interactionResult.criticalFailure>> <<Chat $interactionNpc "To your place? That's... really forward. I don't think so.">> <<ChatMessage "That came off way too pushy.">> <<include "enhanced_interaction_result_display">> <<elseif $interactionResult.success>> <<set _journeyResult = _consequences.journey>> <<set _relation = $player.getRelationship($interactionNpc.info.id, false)?.relation ?? "acquaintance">> <<if _journeyResult.ok>> <<switch _relation>> <<case "dating" "soulmate">> <<Chat $interactionNpc "Of course, honey! I'll head over. 💕">> <<case "crush">> <<Chat $interactionNpc "To your place? O-okay... I'll meet you there. 😊">> <<case "fuckbuddy">> <<Chat $interactionNpc "I know what you want. I'll head over. 😏">> <<default>> <<Chat $interactionNpc "Sure, why not? I'll meet you there.">> <</switch>> <<else>> <<Chat $interactionNpc _journeyResult.reason>> <</if>> <<ChatMessage _journeyResult.reason>> <<set $gameSettings.allowSaves = true>> <<set $canShowStatsBtn = true>> <div class="btn padding-top"