Repository navigation
feat(fp): report for the Gazette: chase AI leads, quote people, file stories, rank the mayors - #19
Merged
Merged
Conversation
…stories, rank the mayors The player can now work as the GridFall Gazette's stringer. Every AI decision with a place becomes a lead: a mayor's order, a council ruling or a Chaos Director strike. K takes the newest on assignment and sets the GPS to the scene. A reply from someone there is the quote, and a photo-mode shot with the scene in the viewfinder's marks is a sharp photo. K files the story: the Gazette runs it in the chat and it earns points towards the press ranks, with bonuses for a scoop, a local voice and a sharp shot. L opens the mayors' league: the five mayors ranked on people, jobs, approval and funds, each with the model it runs on, plus the press card, open leads and the latest stories. New integration feature `reporter` (flag on by default) with the desk, card, viewfinder and league. GameBus gains talk_replied (emitted by chat for face-to-face replies and "Ask someone here") and story_filed (chat runs it as a Gazette line). Inputs press_story (K) and press_league (L). Shared input-event helpers move from fp_actions_test to fp_kit. Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
Automated reviewNo new findings on the 28 changed files (gdlint, complexity, TODO policy, dead code). Run |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Gives the player a goal on foot that follows the city's AI: you are the GridFall Gazette's stringer. Every AI decision with a place is a lead. You go to the scene, get a quote, maybe take a press photo, and file the story. The Gazette runs it in the chat, and your points climb the press ranks. A new mayors' league ranks the five AI mayors, each with the model it runs on.
What you can do
Implementation
scripts/fp/reporter/reporter_feature.gd: the new integration featurereporter(flag on by default). It handles assignments, the quote fromtalk_replied, the photo check, filing, points and ranks, and the save state (points, stories filed and the first-lead tip; leads and the assignment belong to the city on screen and are dropped on load and New City).reporter_desk.gdturnsmayor_decided(focus tile and the first order carried out), council rulings that changed an ordinance (at City Hall) and Chaos Director strikes into leads.reporter_card.gdis the HUD card above the district caption,reporter_viewfinder.gddraws the photo-mode marks, andreporter_league.gdis the league panel (modalleague).talk_replied(resident_id, speaker, reply), emitted by chat (talk_dialog.gdface to face,chat_feature.gdfor "Ask someone here"), andstory_filed(story). Chat runs a filed story as a Gazette line with its own author id and queues its headline as a chatter topic.press_story(K) andpress_league(L). Only this block ofproject.godotis in the commit.Tests
fp_reporter_test(new, 129 checks): leads from mayor turns, council rulings and strikes, the cap and going cold; taking and chasing leads, the waypoint and the card; quotes (length, scene range, local voice, passer-by never replacing a local); the viewfinder rules; filing, points, bonuses and ranks; the league ranking and panel; inputs and modals; save and load; teardown.fp_core_test: feature count 17.fp_actions_testuses the input-event helpers that moved tofp_kit.gd.Docs
README controls, the pause-menu key legend,
docs/fp/ARCHITECTURE.md(new "Integration: reporter" row),docs/fp/S0-foundation.md§9 (the two signals), and regenerated API docs (docs/api/scripts.fp.reporter.md).Validation
tools/gate.sh full: PASS (39 steps: parse, 36 unit tests, the orbit and first-person smokes), with no retries.tools/gate.sh render --only fp_photo: PASS. The tour addsreporter_story(the hero at the scene with a lead on assignment and a quote on the card),reporter_photo(the press camera up with the viewfinder marks after a sharp shot) andreporter_league(a story filed and the mayors' league open).pre-commit run --all-filesandpython tools/checks/run_all.py: PASS, no new findings.