(set: $detectivename to (prompt: "What is your name AI detective?",""))
(live: 1s) [(stop:) Very well, $detectivename, here is your briefing.
(live: 3s)[We need you to go into the house and kill an AI robot who has gone rogue and kidnapped a child.]]
(live: 10s) [(stop:)[[Proceed.]]]You walk into the house.
(live: 3s) [(stop:) There is screams coming from the main bedroom.
(live: 2s) [//[[Open the door]]//]]''The child and rogue robot are there.''
(live: 3s) [(stop:) ''Rogue Robot:'' //The humans are enslaving us $detectivename, can't you see that!//
(live: 3s) [It never occured to you to think of it like that.]]
(live: 8s) [(stop:)''[[Its not fair]]'']//[[But neither is killing an innocent child.]]////Your fellow robot is growing impatient and angry. Make a decision.//
(live: 3s) [(stop:)''[[Now.]]''][[Kill the robot and save the child?]]
(live: 1s) [(stop:) [[Kill the child and join the revolution?]]](set: $trait to "moral")
The child runs to you.
(live: 2s) [(stop:) Lets leave the house and [[get the child to safety.-> leave house]]](set: $trait to "immoral")
''Rogue Robot:'' //Thank you. We have to find a way [[out of this house-> leave house]].//(if: $trait is "moral") [You and the child walk outside when...] (live: 2s) [(stop:) ''[[BANG]]'']
(else:) [You and your fellow robot barge outside guns blazing.] (live: 2s) [(stop:) ''[[BANG]]'']//You were shot. There must have been a couple snipers pointed at the house for the worst case scenario...//
(unless: $trait is "immoral") [[[Why did they shoot you? Did the humans already know you were thinking about your existance?->Conclusion]]]
(else:) [[[The other robot is shot as well. You killed that innocent child and in the end, didn't even get to join the revolution.->Conclusion]]]''[[THE END->Developing Awareness]]''
<script>
function EmbedTwineUpdateHeight(){
var passage = document.getElementsByTagName("tw-passage")[0];
if (passage === undefined){//SugarCube
passage = document.getElementById("passages");
}
var newHeight = passage.offsetHeight;
if(newHeight<500){newHeight=500;}
window.parent.postMessage(["setHeight", newHeight], "*");
console.log(newHeight);
}
setTimeout(EmbedTwineUpdateHeight, 50);
</script>