feat(metal-farp): progressive animated construction scene (#19)#22
Merged
Conversation
#19) - Rewrites the 9-step scene into a 13-step animated sequence (~45 s total) - Trucks and tent appear first; Tower Crane spawns at t+5.5 s - FG_small_Helipad_Under_Construction animates construction from t+10.5 s to t+30.5 s - FG_small_Helipad revealed at t+30.5 s (critical); crane removed at t+35.5 s - Equipment and warehouse follow; warehouse stocked only once pad is live - Cross-step object references stored in scene._params (_craneObj, _underConstObj) - Registers Tower Crane and FG_small_Helipad_Under_Construction via registerIfAbsent - Adds FG_small_Helipad_Under_Construction to modTypes (same zip, no new modUrls) - Creates plugins/metal-farp/tests/metal_farp_spec.lua with 6 Busted assertions Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Reviewer's GuideReworks the Metal FARP scene from an instant 9-step deployment into a 13-step progressive construction animation, introducing under-construction helipad and tower crane assets, updating mod type registration, and adding tests that assert scene configuration and critical behavior. Flow diagram for progressive Metal FARP construction sequenceflowchart LR
t0["t0: Fuel_Truck + Repair_Truck"] --> t0_05["t0+0.5s: FARP_Tent"]
t0_05 --> t5_5["t0+5.5s: Tower_Crane (spawn, save _craneObj)"]
t5_5 --> t10_5["t0+10.5s: FG_small_Helipad_Under_Construction (spawn, save _underConstObj)"]
t10_5 --> t30_5_destroy_uc["t0+30.5s: destroy _underConstObj"]
t30_5_destroy_uc --> t30_5_pad["t0+30.5s: FG_small_Helipad (critical, save farpName)"]
t30_5_pad --> t35_5_destroy_crane["t0+35.5s: destroy _craneObj"]
t35_5_destroy_crane --> t35_5_ammo["t0+35.5s: ammo_cargo"]
t35_5_ammo --> t40_lights["t0+40s: NF-2_LightOn + Windsock + Carrier_Seaman"]
t40_lights --> t45_warehouse["t0+45s: warehouse stocking + completion"]
File-Level Changes
Assessment against linked issues
Possibly linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Hey - I've left some high level feedback:
- The step 2
registryKeyis set to"repare_Truck", which looks like a typo compared to the registered"Repair_Truck"key and will prevent that step from spawning correctly.
Prompt for AI Agents
Please address the comments from this code review:
## Overall Comments
- The step 2 `registryKey` is set to `"repare_Truck"`, which looks like a typo compared to the registered `"Repair_Truck"` key and will prevent that step from spawning correctly.Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
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
Closes #19
Test plan
Generated with Claude Code
Summary by Sourcery
Introduce a progressive, animated Metal FARP construction sequence with additional props and timing changes.
New Features:
Enhancements:
Tests: