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.
Ability eligibility
Section titled βAbility eligibilityβ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.
Shared scene choices
Section titled βShared scene choicesβ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.
Request lifecycle
Section titled βRequest lifecycleβThe companion sends an in-world event to the backend and executes the returned actions. See System overview.
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 inputReproduction pipeline
Section titled βReproduction pipelineβThese helpers coordinate fluid transfer, ovulation, conception, pregnancy, and birth. See Reproduction and genetics.
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)Interaction states
Section titled βInteraction statesβThe state loop separates onboarding, idle activity, scenes, and delivery. See Interaction and role-play lifecycle.
InitialState βββΆ RunningState βββΆ CopulateState βββΆ RunningState (onboarding, (idle: watch (active scene) (back to idle) menu, admin) for partners & birth) ββββΆ BirthingState βββΆ RunningStateService linking
Section titled βService linkingβThe one-off portal connects a selected external service and returns to its caller. See Web portal for the player steps.
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 CallableReferencePurchases and rewards
Section titled βPurchases and rewardsβ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.
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-worldsome 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 setChat commands
Section titled βChat commandsβSubscribed handlers receive a command until one claims it. See Command line.
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, insubscription order, each on its own clone() of the event, until onereturns true (claims it) or all return false (unrecognised)Shared-folder layout
Section titled βShared-folder layoutβThis source layout shows the RLV folders used for character bodies, outfits, clothing, and attach/detach hooks. See RLV outfits for setup and controls.
.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