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.

Himegari Dungeon Meister events

The events Himegari Dungeon Meister’s base mod himegari-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
himegari.data.layeredhimegari.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 unit's stats, an item, a skill) 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 himegari.tables are applied here, among this event's handlers in the mods' load order, so a handler here takes its place among them.
himegari.data.readyhimegari.boot.data_readyAt boot, once every data table is built and the boot's own work on them is done: TUNE has corrected the saved tuning levels and inventory counts against the item data. An edit made here comes after that work, which does not see it: himegari.data.layered comes before it. A handler here runs after every data file of himegari.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 himegari.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.
himegari.experience.awardhimegari.experience.after_calculationOne experience award, after the multipliers and before it is applied.
himegari.stage.loadedhimegari.stage.after_loaderThe stage's loaders have run (the base's and each append's). At the stage's start nothing is placed yet, and a handler that rewrites the stage's enemy or object slots changes what the stage places. FIELD runs the loaders, and raises this, again each time it is entered again during the stage (back from the camp screens, or a load of a save made in the field): the loaders write their tables afresh and nothing new is placed, so a handler makes the same change each time.
himegari.stage.readyhimegari.stage.after_ready_handlersOnce per stage, at its start: the enemies are placed and every layer's ready handler has run.
himegari.stage.roundhimegari.stage.after_round_handlersThe start of each player turn after the first, after every layer's round handler.
himegari.stage.closehimegari.stage.after_close_handlers_won, himegari.stage.after_close_handlers_lostThe stage ends, after every layer's close handler.