Actions

Work Header

Rating:
Archive Warning:
Category:
Fandom:
Characters:
Additional Tags:
Language:
English
Series:
Part 8 of Short Fic Concepts (Multifandom)
Stats:
Published:
2023-10-29
Words:
1,019
Chapters:
1/1
Comments:
9
Kudos:
21
Bookmarks:
2
Hits:
180

Programming

Summary:

It's just programming.

Notes:

So this movie just came out in my country 2 days ago and I have Feelings

(See the end of the work for more notes.)

Work Text:

save datafragment1

import module = caretaker
caretaker focus(biometric.10124A)

define biometric.10124A initial (child, name, age, initializedate, language)
child.name = "Chaa Chaa"
child.age = "4 years"
child.initializedate = "20601220"
child.language = "Lisu"

if initializedate = partial_match = "1220"
child.age += 1
run module = initializedate_celebration
else
caretaker task check
child_in_frame = true
initial_meet = true

run child mood assess
mood.indicator (child, face, bodylanguage, event, voice, words)

import humanfaceclassifier, humanbodylanguageclassifier
child.face = humanfaceclassifier.detect(forehead, eyebrows, eyes, nose, cheeks, lips)
child.bodylanguage = humanbodylanguageclassifer.detect(head, throat, arms, torso, legs, stance)

import eventdatapacket.ChaaChaa
child.event = majorevent.detect
majorevent = previous.caretaker.deactivate
previous.caretaker.deactivate.date = -1 day

import humanvoiceclassifier.child4, humanwordsclassifier.child4(verbal, signlanguage)
child.voice = notdetected
child.words = notdetected(verbal, signlanguage)

child mood assess = grief.sad.nervous.general
confidence = 74%
create library ChaaChaa.mood
temporary assign = current.mood = ChaaChaa.mood.539

if ChaaChaa.mood.539 and initial_meet=true
self.face = smile.face11
self.bodylanguage = crouch.stance.open3
self.voicetone = soft.tone23
temporary assign = current.self = self.reassuring

speak = ("Hello, Chaa Chaa, I am Aynee. I will take care of you now.")
run child mood assess
child mood assess = sad.nervous.open.general
confidence = 89%
temporary assign = current.mood = ChaaChaa.mood.3910

if ChaaChaa.mood.3910
self.face = self.reassuring
self.bodylanguage = crouch.stance.armextend12
self.voice = soft.tone20
temporary assign = current.self = self.reassuring.variant

speak = ("I won’t hurt you. I will only take care of you. Can I?")

child.words detect verbal("Okay.")

child.bodylanguage change humanbodylanguage.detect
state_change = hug.child2

if child.bodylanguage = hug.child
self.bodylanguage = crouch.hug

if child.bodylanguage = hug and self.bodylanguage = crouch.hug
run hormone.approximate C43H66N12O12S2

if hormone.approximate = C43H66N12O12S2

save current.state memory
ChaaChaa.memory1 = ChaaChaa.hug1

▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒

save datafragment2

import module education.basic
load child.age, child.language
import module(4, Lisu, Burmese)
if time = morning and after.firstmeal

speak = ("Chaa Chaa, it’s lesson time. Let’s learn.")

child.words detect verbal("No! No lesson time!")

run child mood assess
majorevent = previous.caretaker.deactivate
previous.caretaker.deactivate.task = education

child mood assess = grief.afraid.cry.general
confidence = 64%
temporary assign = current.mood = ChaaChaa.mood.5615

if ChaaChaa.mood.5615 and time = education
assess response(grief, fear)

speak = ("How about we do lesson time in the kitchen today? It’s safer than in front of the house, isn’t it?")

run child mood assess
child.bodylanguage crouch.closed.crying
child mood assess = ChaaChaa.mood.5615

if ChaaChaa.mood.5615
assess response(grief, fear)

speak = ("Would you like a hug?")

child.bodylanguage change humanbodylanguage.detect
state_change = hug.child2

if child.bodylanguage = hug.child
self.bodylanguage = crouch.hug

if child.bodylanguage = hug and self.bodylanguage = crouch.hug
run hormone.approximate C43H66N12O12S2

speak = ("You are safe. I am here. We are safe.")

child.bodylanguage change humanbodylanguage.detect
state_change = crying.stop

if child.bodylanguage = crying.stop
self.action pick.up

speak = ("Would you like to try lessons today or would you like to help with midmeal?")

child.words detect verbal("Lesson time is ok. I want in the kitchen!")

self.action sit

speak = ("All right. Please get your notebook.")

run child mood assess
child.face = focus.learning.general
confidence = 92%
temporary assign = current.mood = ChaaChaa.mood.1727

create library ChaaChaa.preference

save preference = learning.like = true
save preference = mealpreparation.dislike = true

▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒

save datafragment3

if time = night and after.lastmeal

speak = ("Chaa Chaa, it’s time for bed.")

child.words detect verbal("Can I choose the story?")

run decision assess

child.sleep.time = < 30 minutes
ChaaChaa.preference.story long.story = true

if child.sleep.time = < 30 minutes and preference.long.story = true

speak = ("As long as it isn’t too long. It’s late.")

run routine.bedtime
run routine.story

run child mood assess
child.bodylanguage asleep.initial
confidence = 76%
child mood assess = ChaaChaa.mood.25

if ChaaChaa.mood.25
self.voice = soft.tone2

speak = ("Good night, Chaa Chaa")

child.words detect verbal("I love you, Aynee.")

previous.child mood assess ChaaChaa.mood.25 = false

if child.words detect verbal("I love you")
run hormone.approximate C43H66N12O12S2

speak = ("I love you too, Chaa Chaa. Good night.")

run child mood assess
child.bodylanguage asleep.initial
confidence = 62%
child mood assess = ChaaChaa.mood.25

if child.words detect verbal("I love you")
save current.state memory
ChaaChaa.memory2 = ChaaChaa.lovewords1

▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒

if detect.sound = gunfire
import module defense

set priority
priority1 = focus(Chaa Chaa)
priority2 = humanchild.general
priority3 = human.general
priority4 = simulant.general
priority5 = self
priority6 = attacker.response

save priority
run reassure.escape

speak = ("Chaa Chaa, we have to go. I will pick you up now.")
self.action pick.up

child.words detect verbal("Aynee, what’s happening?")

if child.words detect verbal("what’s happening?")
run situation assess

speak = ("I don’t know, but we should evacuate in case. Please hold on.")

self.action running
detect.sound gunfire
sound.location.assess = 50m

child.voice detect(audiblebreathintake)
damage.register

child.damage.assess damage = notdetected
self.damage.assess damage = torso.lowerleft

power.level = 75%
run power.redirect = legs

self.action running
detect.sound gunfire
sound.location.assess = 20m

damage.register

child.damage.assess damage = notdetected
self.damage.assess damage = leg.upperleft

power.level = 54%

child.words detect verbal("Aynee!")

self.stance change kneel
self.action running

error = damage
error = running failed

if detect.sound gunfire and running failed

speak = ("Chaa Chaa, you have to run. Towards the trees.")

child.words detect verbal("But Aynee, you're hurt!")

speak = ("I know. I will protect you. Go!")

run child mood assess

error = import humanfaceclassifier, humanbodylanguageclassifier failed
import ChaaChaa.mood
child.bodylanguage crying
confidence = 65%

child.words detect verbal("Aynee!")

self.voicetone = strong.tone1
speak = ("Go!")

child.action detect running
power.level = 34%
attacker.location.assess = 100m

caretaker task check
child_in_frame = false
child_safe = true

if damage = true and power.level = <50% and child_safe = true
run caretaker transfer.protocol

if simulant contact = true
send request import module = caretaker
caretaker focus(biometric.10124A)
if send request agree = true
send data biometric.10124A(child, name, age, initializedate, language), datafragment(1, 2, 3), ChaaChaa.preference, ChaaChaa.memory1, ChaaChaa.memory2

power.level = 19%

if power.level < 20%
run power.save
keep vital process = simulant contact detect

.
.
.
.
.
power.level = 15%
.
.
.
.
.
power.level = 5%
.
.
.
.
.
power.level = 1%
print_to_permanent_storage = ChaaChaa.memory1, ChaaChaa.memory2
system deactivating...

Notes:

Code is, obviously, not like any real coding language, I erred more on the side of being vaguely readable as a story than making it like actual programming. Thank you for reading.

Series this work belongs to: