Skip to content

Adult titles

The games this site covers are adult titles. Their data, pictures and text include sexual content.

Continue only if you are an adult where you live.

Soukoku no Arterial events

The events Soukoku no Arterial’s base mod arterial-base declares: 7. Each is raised at patch points of the game’s scripts, with fields a Lua handler reads by name, so a mod needs no address or offset.

EventRaised atWhat it is
arterial.area.loadedarterial.area.after_loadersThe loaders of the area in play have run (MPINIT, ROINIT and UNINIT, the base's and each append's): its points, routes and units are written, and the player's unit has its pictures. A handler that rewrites them changes the map that is set up next. The game runs the loaders, and raises this, each time it sets the area up: when the party enters it, after a battle whose next scene is played on a map, and when a save made on a map is loaded (during the boot, after arterial.data.layered and before arterial.data.ready). The loaders write their tables afresh each time, so a handler makes the same change each time. The data files of arterial.tables write their parts for the area here.
arterial.area.readyarterial.area.after_ready_handlersEvery layer's READY handler has run (READY and each append's $n$READY), which set story cells from the progress. The map walks the READY chain when it sets an area up and again after some of its actions, so this is raised more than once in an area: a handler makes the same change each time.
arterial.battle.startarterial.battle.before_phasesA battle is about to be played: its rule, its skills and the decks are set up and its music plays. Raised at each try, so again when the player fights a lost battle again.
arterial.battle.closearterial.battle.after_phasesA battle is decided, before any of its outcome is applied: on a win the rewards and the experience come next (arterial.experience.award), on a loss the offer to fight again. Raised at each try.
arterial.data.layeredarterial.boot.data_layeredAt boot, once every layer has written its data tables (the base layer's, then each append's) and before the boot uses them. An edit made here lands where an append's edit lands, and the boot's own work then runs over it as it runs over the appends'. A handler that edits a table (a card, a character, an item, a battle) changes it until the tables are built again. The tables are not saved: a load builds them again and raises this again while it restores (maid.session.restoring is true), so the handler makes its edit again. The data files of arterial.tables are applied here, among this event's handlers in the mods' load order, so a handler here takes its place among them.
arterial.data.readyarterial.boot.data_readyAt boot, once every data table is built and the boot's own work on them is done: INIT2 has filled the unset text colours, indexed the faces, walked the saved decks, counted the party's skills, and set the area up again for a save made on a map. An edit made here comes after that work, which does not see it: arterial.data.layered comes before it. A handler here runs after every data file of arterial.tables, whatever the load order, because this event comes later in the boot; one that should take its place among them by load order subscribes to arterial.data.layered instead. The tables are not saved: a load builds them again and raises this again while it restores (maid.session.restoring is true), so the handler makes its edit again.
arterial.experience.awardarterial.experience.after_calculationOne party character's experience from a won battle, after the leader's and the skills' bonuses and before it is applied.