rework + cool bomber

This commit is contained in:
2026-02-24 00:46:50 +01:00
parent 9eb426021e
commit 8a039adc05
46 changed files with 737 additions and 82 deletions

View File

@@ -13,7 +13,7 @@ function scene:popCode(button)
end
scene.menuConfirmSound:stop()
if scene.tickTimer.paused then
scene.droneParts = scene:loadDrone(1, #scene.code)
scene.droneParts = scene:loadDrone(CurrentMission.droneId, #scene.code)
scene.tickTimer:start()
scene.progressBar:setVisible(true)
end
@@ -146,16 +146,9 @@ function scene:enter()
scene.buttonTimeout = 100
Noble.Input.setHandler(scene.inputHandler)
local text =
[[The drone is assembled and operational. We are ready for the mission.
An enemy tank is confirmed in the field. It threatens our advance.
Your task: eliminate the target. Clear the path for our assault units.
This operation is crucial. Execute with precision. Command out.]]
self.dialogue = pdDialogueBox(text, 390, 46)
CurrentMission.targetIndex = math.random(1, #Targets)
local target = Targets[CurrentMission.targetIndex]
self.dialogue = pdDialogueBox(target.briefing, 390, 46)
-- self.dialogue:setPadding(4)
end