<feed xmlns='http://www.w3.org/2005/Atom'>
<title>fparkan/crates/fparkan-script, branch trunk</title>
<subtitle>Utilities and tools for the game "Parkan: Iron Strategy".
</subtitle>
<id>https://git.popov.link/fparkan/atom?h=trunk</id>
<link rel='self' href='https://git.popov.link/fparkan/atom?h=trunk'/>
<link rel='alternate' type='text/html' href='https://git.popov.link/fparkan/'/>
<updated>2026-12-01T09:11:27+00:00</updated>
<entry>
<title>fix(ai): preserve clan job priorities through factory dispatch</title>
<updated>2026-12-01T09:11:27+00:00</updated>
<author>
<name>Valentin Popov</name>
<email>valentin@popov.link</email>
</author>
<published>2026-12-01T09:11:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.popov.link/fparkan/commit/?id=fac74ba2d2487cb500d24de4223a0ffec50fa580'/>
<id>urn:sha1:fac74ba2d2487cb500d24de4223a0ffec50fa580</id>
<content type='text'>
Match GOG ai.dll when refreshing the same request and starting equally weighted jobs. Resolve generated factory IDs when dispatching or awaiting production.

Verified from stock starts in Two Fortresses and Third Part. Two Fortresses uses a newly built factory for a combat robot. The small factory in Third Part still lacks a compatible prepared design. The armed stock replay reached late cleanup and left a transport to pursue.
</content>
</entry>
<entry>
<title>fix(ai): identify intruders during base defence</title>
<updated>2026-12-01T05:15:21+00:00</updated>
<author>
<name>Valentin Popov</name>
<email>valentin@popov.link</email>
</author>
<published>2026-12-01T05:15:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.popov.link/fparkan/commit/?id=8dcaf3d7e5be5ddb8bae3cd9ced3032875c861ae'/>
<id>urn:sha1:8dcaf3d7e5be5ddb8bae3cd9ced3032875c861ae</id>
<content type='text'>
Read the live target class and preserve the existing problem record when reweighting its priority. The stock replay now reaches group recruitment during base defence.
</content>
</entry>
<entry>
<title>feat(ai): execute scripted mine construction</title>
<updated>2026-11-25T12:14:57+00:00</updated>
<author>
<name>Valentin Popov</name>
<email>valentin@popov.link</email>
</author>
<published>2026-11-25T12:14:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.popov.link/fparkan/commit/?id=68b1043749b58e39d671e3937eef73430cbc0ab8'/>
<id>urn:sha1:68b1043749b58e39d671e3937eef73430cbc0ab8</id>
<content type='text'>
Mission 29 stopped before choosing a deposit. Implement Handler(40)'s vacant
deposit and weakest enemy mine policy, preserve its partial output writes and
reserve the chosen site. Follow the script's tail transfer into BUILD_MINE
with the original problem context and cells. Move event execution out of the
large script module and report stops at the actual destination event.

Use the existing prepared deposit slot for the builder's mine order. Completion
registers its controls, ore buffer and logical ID with the regular resource loop.
Track mine queries by clan, target and coordinates in --sim-report.

Validation: fmt, workspace check/tests; licensed stock-start tests construct a
working mine, collect ore and subsequently construct a working factory. Calls
to GOG ai.dll confirm mine choices/output writes and VM event transfer behavior.
The 900-second stock mission now stops only at the research transition 8.
Window validation reaches mine creation from the stock start; construction
animation was outside the player's view and has not been accepted visually.
Native ArealMap deposit binding, builder resupply and live BAS cuts remain open.
</content>
</entry>
<entry>
<title>feat(ai): carry ore from clan mines to storage</title>
<updated>2026-11-14T19:55:21+00:00</updated>
<author>
<name>Valentin Popov</name>
<email>valentin@popov.link</email>
</author>
<published>2026-11-14T19:55:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.popov.link/fparkan/commit/?id=64bb8b476b525706d08d00be7c6f6cc397606c06'/>
<id>urn:sha1:64bb8b476b525706d08d00be7c6f6cc397606c06</id>
<content type='text'>
Resolve the stock transport order against the newly produced unit. Move between owned endpoints and limit transfers by rate, source stock and destination space. The window logged the first departure and the stock simulation completed an unloading cycle. Native roster selection was called directly. Port approaches and rates remain approximations.
</content>
</entry>
<entry>
<title>feat(ai): dispatch scripted warbot groups</title>
<updated>2026-11-14T19:04:26+00:00</updated>
<author>
<name>Valentin Popov</name>
<email>valentin@popov.link</email>
</author>
<published>2026-11-14T19:04:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.popov.link/fparkan/commit/?id=e1f26ba007532eca4b6afe4d49aca58799c1ce05'/>
<id>urn:sha1:e1f26ba007532eca4b6afe4d49aca58799c1ce05</id>
<content type='text'>
Single.01 selects a free warbot for the capture problem and issues a patrol around the moving capturer from stock startup. Group recruitment uses the supported TAKE_BY_HITS branch. Priority preemption and group expression scheduling remain open.
</content>
</entry>
<entry>
<title>fix(ai): preserve raw script problem arguments</title>
<updated>2026-11-14T18:33:59+00:00</updated>
<author>
<name>Valentin Popov</name>
<email>valentin@popov.link</email>
</author>
<published>2026-11-14T18:33:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.popov.link/fparkan/commit/?id=e1bf8981fc92dd134da925254f10721f30941369'/>
<id>urn:sha1:e1bf8981fc92dd134da925254f10721f30941369</id>
<content type='text'>
Keep the target logical ID across Handler(2) and Handler(29). Verified slots 0, 1 and 2 with GOG ai.dll at RVA 0xc182. Single.01 now distinguishes nearby building IDs and leaves robot selection as the next blocker.
</content>
</entry>
<entry>
<title>feat(ai): select targets for scripted capture requests</title>
<updated>2026-11-14T18:21:17+00:00</updated>
<author>
<name>Valentin Popov</name>
<email>valentin@popov.link</email>
</author>
<published>2026-11-14T18:21:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.popov.link/fparkan/commit/?id=c75b08d39057a502598ba9d9959edadb36fcf595'/>
<id>urn:sha1:c75b08d39057a502598ba9d9959edadb36fcf595</id>
<content type='text'>
Confirm the target ranking, duplicate exclusion and strength output with GOG ai.dll at RVA 0xc847. Single.01 reaches PBM_BUILDING_CAPTURE from its stock start. The executor selection remains pending.
</content>
</entry>
<entry>
<title>fix(script): copy live DWORD values between script cells</title>
<updated>2026-11-14T17:54:12+00:00</updated>
<author>
<name>Valentin Popov</name>
<email>valentin@popov.link</email>
</author>
<published>2026-11-14T17:54:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.popov.link/fparkan/commit/?id=a7a4f62a0481542b91322952c652e66a42a14872'/>
<id>urn:sha1:a7a4f62a0481542b91322952c652e66a42a14872</id>
<content type='text'>
The native record-copy branch covers 73 DWORD-to-DWORD instructions in the shipped shared varset. Stock mission 11 now copies the protection request value and reaches group assignment at Handler(25).
</content>
</entry>
<entry>
<title>feat(ai): start the highest-priority clan script problem</title>
<updated>2026-11-14T17:36:18+00:00</updated>
<author>
<name>Valentin Popov</name>
<email>valentin@popov.link</email>
</author>
<published>2026-11-14T17:36:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.popov.link/fparkan/commit/?id=108dd67da99f9832d2e65e5e18f7d25cc2dfc9ed'/>
<id>urn:sha1:108dd67da99f9832d2e65e5e18f7d25cc2dfc9ed</id>
<content type='text'>
Open the matching Start section after Problems0, expose its arguments, and support completion and unreserved placed-unit selection. Two Fortresses enters its laboratory job and reaches Handler(6). Timing, ties and continuation remain explicit approximations.
</content>
</entry>
<entry>
<title>feat(script): query clan storage and follow forward jumps</title>
<updated>2026-11-14T17:28:08+00:00</updated>
<author>
<name>Valentin Popov</name>
<email>valentin@popov.link</email>
</author>
<published>2026-11-14T17:28:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.popov.link/fparkan/commit/?id=5a9bf002bc7e0da46f7f60cb3b248fe70176596a'/>
<id>urn:sha1:5a9bf002bc7e0da46f7f60cb3b248fe70176596a</id>
<content type='text'>
Use live storage capacity for Handler(16), expose the unbound research policy as a counted Handler(56) stub, and honor forward control-3 jumps. Checked storage arithmetic, flag truthiness and raw jump behavior by calling ai.dll. Stock Single.01 now reaches problem submission.
</content>
</entry>
</feed>
