Skip to content

Technical flow diagrams

Follow how AnE resolves abilities, handles scene choices, and processes requests, reproduction, purchases, and rewards.

For inheritance and compatibility diagrams, see Ancestry and taxonomy.

The resolver evaluates your base profile and worn form, then checks the prerequisites and anatomy route for Oviposit. See Abilities and Oviposit rules for player guidance.

Resolve abilities for base and shifted forms

The HUD and browser show the same pending choice for a selected partner. A valid reply consumes that choice before advancing the story. See Answering scene choices.

One scene choice across the HUD and browser

The companion sends an in-world event to the backend and executes the returned actions. See System overview.

From an in-world request to returned actions
in-world object ──HTTP──▢ public entry script ──▢ Application::handle()
β–² β”‚
β”‚ β–Ό
actions (chat, resolve headers β†’
dialogs, RLV, account β†’ session β†’
control) executed active profile
in-world β”‚
β”‚ β–Ό
└──────────── batch of actions ◀──── current State handles input

These helpers coordinate fluid transfer, ovulation, conception, pregnancy, and birth. See Reproduction and genetics.

From fluid emission to birth
climax β†’ fluid emission ─▢ transfer between profiles ─▢ resolve incubator
(StoryClimax) (OpenTransferService) (FluidsHelper)
β”‚ β”‚
β–Ό β–Ό
genetics recorded ◀── ovulation / ovum ──▢ conception check ─▢ pregnancy
(GeneticsHelper) (OvumHelper, (PregnancyHelper) (ProfilePregnancy)
PregnancyHelper) β”‚
β–Ό
birth
(BirthHelper, BirthingState)

The state loop separates onboarding, idle activity, scenes, and delivery. See Interaction and role-play lifecycle.

The interaction state loop
InitialState ──▢ RunningState ──▢ CopulateState ──▢ RunningState
(onboarding, (idle: watch (active scene) (back to idle)
menu, admin) for partners
& birth) └──▢ BirthingState ──▢ RunningState

The one-off portal connects a selected external service and returns to its caller. See Web portal for the player steps.

Open, complete, and close a service-linking portal
in-world dialog ──▢ PortalHandle::newInstance($caller, 'portal_access')
->setPortalType(...)->setSubscriber($caller)
->showPortal($previousDialog)
β”‚
β–Ό
PortalService opens ui/portal.php in the in-world
media browser, passing branding + a one-time handle
β”‚
user interacts with the page
β”‚
β–Ό
ui/portal.php POSTs back to the portal-service API action
(username/password AES-encrypted client-side, or a bare handle
confirmation for the image/QR flow)
β”‚
β–Ό
PortalService::on_api() matches the handle, decrypts credentials,
calls PortalHandle::process($subscriber->on_authorize($this))
β”‚
β–Ό
on success: closes the media browser and returns to the caller
via the original CallableReference

Purchases check the balance and record a debit before delivering an item. Credit rewards can be paid immediately, while product rewards can remain available to claim later. See AnE Store.

Purchase confirmation and delivery
ShopDialog (browse category tree via ProductHelper)
β”‚ select product
β–Ό
ShopDialog shows price/detail ──Buy──▢ TransactionHelper::createDebitAction(...)
β”‚
β–Ό
TransactionDialog (confirm)
β”‚ confirm
β–Ό
TransactionHelper::attemptTransactionTo(-price, label)
β”‚ canApplyTransaction() checks balance
insufficient β”‚ sufficient
─────────────►│◄───────────────────────
InsufficientFundsException doTransactionTo() persists debit row
β”‚
β–Ό
VendorHelper::vendProduct($product->getInventory())
delivers the item in-world
Grant and claim a reward
some subsystem ──▢ AccountRewardsHelper::tryReward('event.name', ...)
β”‚
β–Ό
look up RewardModelImpl rows by name (+ filter/evaluate)
β”‚
β–Ό
handleReward(rewardModel, handleNow)
β”‚
handleNow=true (Credit rewards) handleNow=false (Product rewards)
β”‚ β”‚
β–Ό β–Ό
processReward() pays out AccountRewardModelImpl saved,
immediately, claimedOn set claimedOn left null
β”‚
β–Ό
player claims later via ManageRewardsDialog
β†’ processReward() β†’ claimedOn set

Subscribed handlers receive a command until one claims it. See Command line.

Dispatch a chat command
player types: /ane <command> [args...]
β”‚
β–Ό
in-world object sends chat to the backend ──▢ CommandLineService fan-out
β”‚
β–Ό
each subscribed handler's on_command(CommandEvent) is invoked, in
subscription order, each on its own clone() of the event, until one
returns true (claims it) or all return false (unrecognised)

This source layout shows the RLV folders used for character bodies, outfits, clothing, and attach/detach hooks. See RLV outfits for setup and controls.

RLV shared-folder layout
.AnE
.AnE/{Character}
.AnE/{Character}/base
.AnE/{Character}/base/.genitalia
.AnE/{Character}/base/.abdomen/{size} (per abdomen-size step)
.AnE/{Character}/outfits
.AnE/{Character}/outfits/.underwear
.AnE/{Character}/outfits/{Outfit}
.AnE/{Character}/outfits/{Outfit}/.base
.AnE/{Character}/outfits/{Outfit}/.on_attach
.AnE/{Character}/outfits/{Outfit}/.on_detach
.AnE/{Character}/outfits/{Outfit}/{Clothing}
.AnE/{Character}/outfits/{Outfit}/{Clothing}/.on_attach
.AnE/{Character}/outfits/{Outfit}/{Clothing}/.on_detach