92 lines
6.3 KiB
Plaintext
92 lines
6.3 KiB
Plaintext
<rml>
|
|
<head>
|
|
<title>Waypoint Bot</title>
|
|
<link type="text/rcss" href="rem.rcss"/>
|
|
<style>
|
|
body.window.small { top: 6%; height: 720dp; width: 620dp; }
|
|
.lead { line-height: 1.5; font-size: 14dp; padding: 10dp 12dp; margin-bottom: 10dp; background-color: #5cc8f008; }
|
|
.label { margin: 12dp 0 4dp 0; font-family: "Saira SemiCondensed"; letter-spacing: 1.1dp; text-transform: uppercase; color: #8197ad; }
|
|
.line { display: flex; flex-direction: row; align-items: center; margin-top: 6dp; }
|
|
.line .k { width: 170dp; color: #8197ad; }
|
|
.line input.text { width: 60dp; margin-right: 8dp; }
|
|
.state { padding: 4dp 12dp; margin-right: 10dp; border: 1dp #24405c; color: #8197ad; }
|
|
.state.on { color: #6fd08c; border-color: #6fd08c; }
|
|
.state.paused { color: #f2b13c; border-color: #f2b13c; }
|
|
.facts { display: flex; flex-direction: row; margin-top: 10dp; padding: 8dp 12dp; background-color: #5cc8f008; }
|
|
.facts div { flex: 1; }
|
|
.facts .v { font-family: "Saira SemiCondensed"; font-size: 20dp; color: #dbe6f0; }
|
|
.facts .n { font-size: 12dp; color: #8197ad; text-transform: uppercase; letter-spacing: 1dp; }
|
|
.event { margin-top: 8dp; color: #b9cbe0; font-size: 14dp; min-height: 18dp; }
|
|
.btn.small { padding: 2dp 8dp; margin-left: 3dp; }
|
|
.hint { margin-top: 8dp; color: #8197ad; font-size: 13dp; line-height: 1.4; }
|
|
</style>
|
|
</head>
|
|
<body class="window small" data-model="wpbot">
|
|
<div class="win-head">
|
|
<span class="title">WAYPOINT BOT</span><span class="sl">\\\</span>
|
|
</div>
|
|
<div class="win-main">
|
|
<div class="content">
|
|
<div class="lead">Flies your waypoints one after the other - tradelanes, gates and jump holes on the way - and docks at the end if you like.</div>
|
|
<div class="line">
|
|
<span class="state" data-class-on="active && !paused" data-class-paused="paused">{{ state }}</span>
|
|
<div class="btn primary" data-action="toggle">{{ active ? 'Stop' : 'Start' }}</div>
|
|
<div class="btn small" data-if="active" data-action="pause">{{ paused ? 'Go on' : 'Pause' }}</div>
|
|
<div class="btn small" data-action="skip">Skip waypoint</div>
|
|
</div>
|
|
<div class="facts">
|
|
<div><div class="v">{{ left }}</div><div class="n">waypoints left</div></div>
|
|
<div><div class="v">{{ reached }}</div><div class="n">reached</div></div>
|
|
<div><div class="v">{{ dist }}</div><div class="n">to the next</div></div>
|
|
<div><div class="v">{{ speed }}</div><div class="n">speed</div></div>
|
|
</div>
|
|
<div class="event">{{ event }}</div>
|
|
|
|
<div class="label">Route</div>
|
|
<div class="line">
|
|
<span class="k">Fly through waypoints</span>
|
|
<div class="btn small" data-class-primary="flythrough" data-action="flythrough">{{ flythrough ? 'On' : 'Off' }}<span class="tip">On: free-space waypoints are passed without braking, the next one is taken at once.</span></div>
|
|
</div>
|
|
<div class="line">
|
|
<span class="k">At the destination</span>
|
|
<div class="btn small" data-class-primary="arrival == 0" data-action="arrival" data-arg="0">Stop</div>
|
|
<div class="btn small" data-class-primary="arrival == 1" data-action="arrival" data-arg="1">Dock<span class="tip">A waypoint on a base docks there; a waypoint in free space docks at the nearest base within the range.</span></div>
|
|
<span class="hint" style="margin: 0 0 0 12dp;">within</span><input class="text" type="text" data-value="dock_km" maxlength="2" style="margin-left: 6dp;"/><span class="hint" style="margin: 0;">km</span>
|
|
</div>
|
|
|
|
<div class="label">Tradelane disrupted</div>
|
|
<div class="line">
|
|
<div class="btn small" data-class-primary="lane == 0" data-action="lane" data-arg="0">Try again<span class="tip">Waits, then flies on - three times, then it pauses.</span></div>
|
|
<div class="btn small" data-class-primary="lane == 1" data-action="lane" data-arg="1">Pause</div>
|
|
<div class="btn small" data-class-primary="lane == 2" data-action="lane" data-arg="2">Stop</div>
|
|
<span class="hint" style="margin: 0 0 0 12dp;">wait</span><input class="text" type="text" data-value="lane_wait" maxlength="2" style="margin-left: 6dp;"/><span class="hint" style="margin: 0;">s</span>
|
|
</div>
|
|
|
|
<div class="label">Under fire</div>
|
|
<div class="line">
|
|
<div class="btn small" data-class-primary="fire == 0" data-action="fire" data-arg="0">Fly on<span class="tip">Keeps flying, with a note.</span></div>
|
|
<div class="btn small" data-class-primary="fire == 1" data-action="fire" data-arg="1">Pause<span class="tip">The autopilot stops and the ship is yours; it flies on after the quiet time without a hit (0: only by hand).</span></div>
|
|
<div class="btn small" data-class-primary="fire == 2" data-action="fire" data-arg="2">Stop</div>
|
|
<span class="hint" style="margin: 0 0 0 12dp;">quiet</span><input class="text" type="text" data-value="fire_resume" maxlength="3" style="margin-left: 6dp;"/><span class="hint" style="margin: 0;">s</span>
|
|
</div>
|
|
|
|
<div class="label">Notes</div>
|
|
<div class="line">
|
|
<span class="k">Every waypoint reached</span>
|
|
<div class="btn small" data-class-primary="note_wp" data-action="note_wp">{{ note_wp ? 'On' : 'Off' }}</div>
|
|
</div>
|
|
<div class="line">
|
|
<span class="k">Also in the chat</span>
|
|
<div class="btn small" data-class-primary="note_chat" data-action="note_chat">{{ note_chat ? 'On' : 'Off' }}</div>
|
|
</div>
|
|
<div class="hint">Keys (Options, Controls, REMNANT): Waypoint bot, pause, skip waypoint, this window. F2 on a route starts it too.</div>
|
|
<div class="hint" data-if="msg != ''" style="color: #f2b13c;">{{ msg }}</div>
|
|
</div>
|
|
</div>
|
|
<div class="win-foot">
|
|
<div class="btn" data-action="close">Close</div>
|
|
<div class="btn primary" data-action="save">Save times</div>
|
|
</div>
|
|
</body>
|
|
</rml>
|