Entry 216
Infection whole again on generated tables
Filescrates/piney-gen/src/manifest.rscrates/piney-data/src/tables/world.rscrates/piney-world/src/navi.rscrates/piney-world/src/town_party.rscrates/piney-world/src/event.rscrates/piney-world/src/map/field.rscrates/piney-game/src/story.rs
The rebuild that began in 0207 left piney-game with 97 failing tests:
- The World, the fields and the streams could not load.
- Every read of main's data found nothing, because the run-time image has no executable.
That rebuild has now reached every system the Infection boot touches. The suite passes again.
The last pieces
The new world group holds these:
markers.markerEvTblis the town's event markers by script number. The event instructionmarkerread it from main and silently found nothing.map_labels.mapmsggives the field map's "Overall Map" and "Default Map".book.bookItemAddMsgand the others give the story's announcement of a desktop item. Outbreak and Quarantine lead it with#W.- The navigation.
navi_marks,navi_landmarks,navi_linesandnavi_pointshold each town's landmarks and main lines, and the points the party walks to.- Each landmark list goes one past its town's last, as
ccNaviGetLandmarkPosreads it. - The main lines are
unsigned charruns, and they are main's (mainLine26and the others). Dun Loireag's and the shrine's tests stopped there.
- Each landmark list goes one past its town's last, as
The story's announcements take the server letters and item lines from
fieldui (server_str, get_item_str). Execute's three literals
(#Y, #B, a space) are the reader's own constants. World keeps its
volume, and NaviMap, TownPcs and the battle's TownMap read by it.
Where Infection stands
- piney-game: 123 passed, 0 failed, 59 ignored. The ignored ones are the long logs, shots and surveys.
story_surveyruns every main event with a start (3, 4, 10-31) under the autopilot for 4000 frames:- no panic;
- no host call left at its default;
- event 31 plays into the ending stream.
- The field UI's, the battle's, the effects' and the streams' harnesses pass against the game.
What Infection still reads from GCMN.PRG uses Infection's addresses, and reading a PRG at run time is allowed. These are:
npcTblrows, with their constructors, throughNpcRow;- the walking PCs'
rtpc*tables, the Grunty's and the breeder's cameras; - the field map's icons, the town maps' icon positions, the dungeon map's floor names;
- the gimmick rows' files through
SpawnTables.img; - the enemies' weapon and dust blocks (
races.rs's 156 addresses); charTblthrough DEMO.PRG.
Infection is right on them, but no later disc is.
Mutation's boot past the desktop. The GCMN readers above are the known part of it. The rest is Mutation's own story (its events and areas) and the functions the audit (voldiff) lists as changed. The five older Python generators (statics.py, area_tables.py, dungeon_tables.py, field_tables.py, sound_tables.py) still write their per-volume Rust.