Integrate view-map into ordoor
Now we can view scenario maps from the main game interface. We can't cancel out of a scenario yet, though.
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
package flow
|
||||
|
||||
func (f *Flow) linkBridge() {
|
||||
// FIXME: sometimes these doors are frozen, depending on game state
|
||||
// FIXME: sometimes these doors are frozen, depending on ship state, but we
|
||||
// don't implement that yet.
|
||||
|
||||
f.onClick(bridge, "2.1", f.setDriver(briefing)) // TODO: Mission briefing clickable
|
||||
f.onClick(bridge, "2.1", f.setDriver(briefing)) // Mission briefing clickable
|
||||
f.onClick(bridge, "2.2", f.setDriver(choices)) // Options door hotspot
|
||||
f.setFreeze(bridge, "2.4", false) // FIXME: Enter combat door hotspot (!!!)
|
||||
f.setFreeze(bridge, "2.6", false) // FIXME: Vehicle configure door hotspot
|
||||
f.onClick(bridge, "2.4", f.playNextScenario()) // Enter combat door hotspot
|
||||
f.setFreeze(bridge, "2.6", true) // TODO: Vehicle configure door hotspot
|
||||
f.onClick(bridge, "2.8", f.setDriver(arrange)) // Squads configure door hotspot
|
||||
|
||||
// link children
|
||||
|
Reference in New Issue
Block a user