Repository navigation
Add experimental occupied mining-node ship inspection - #382
jynottheguy wants to merge 5 commits into
Conversation
|
I feel like this is missing something. There is |
|
There should not be a need for the new methods, I'll investigate later whether this can be adjusted to meet the 1.2.x style of coding. |
|
Thanks for taking a look at this. The working version had already been completed; I just hadn't reposted the finished implementation here yet. The PR's source branch is now updated with the complete cycle: Mining-node information → occupying ship loot → ship strength → original mining-node information. The return-to-node step now works by saving the original node's POI ID and navigation address before selecting the occupying ship, then restoring that original node on the third ActionView press. The original extract was incomplete. The missing navigation bindings and checked invocation support are now included. The earlier GetId64() wrapper is no longer needed and has been removed. Regarding show_info_pending: it existed in the original main baseline, commit 8b7013e, in mods/src/patches/parts/hotkeys.cc at line 76. In the newer dev implementation, the corresponding cargo-display state is show_cargo_frames. The completed occupied-node handler no longer depends on that old counter. The complete cycle is working locally, and the Windows build and regression checks passed. I appreciate the feedback about avoiding unnecessary methods and following the 1.2.x coding style. This update supplies the working implementation against the PR's existing main base; adjustments to fit the 1.2.x conventions are still welcome during review. |
No description provided.