REM-Client 2dcd748a: crew ships - the pilot gives the gunner weapons (crew window), free view for the gunner, no disconnect on docking (rem-server 47f957f)
This commit is contained in:
+10
-3
@@ -3,7 +3,7 @@
|
||||
<title>Crew</title>
|
||||
<link type="text/rcss" href="rem.rcss"/>
|
||||
<style>
|
||||
body.window.small { top: 22%; height: 470dp; }
|
||||
body.window.small { top: 16%; height: 560dp; }
|
||||
.lead { line-height: 1.5; font-size: 15dp; padding: 12dp; margin-bottom: 14dp; background-color: #5cc8f008; }
|
||||
.lead .who { color: #f2b13c; }
|
||||
.label { margin: 14dp 0 6dp 0; font-family: "Saira SemiCondensed"; letter-spacing: 1.1dp; text-transform: uppercase; color: #8197ad; }
|
||||
@@ -41,7 +41,7 @@
|
||||
<div class="lead">Gunner of <span class="who">{{ pilot }}</span>.
|
||||
<span data-if="phase == 'waiting'">You board when the pilot launches.</span>
|
||||
<span data-if="phase == 'boarding'">Boarding ...</span>
|
||||
<span data-if="phase == 'aboard'">The mouse turns the view, the guns aim at the cursor: {{ weapons }} weapon(s) of the seat.</span>
|
||||
<span data-if="phase == 'aboard'">{{ weapons }} weapon(s) are yours - the pilot decides which. Turret view (mouse turns the view) or the pilot's view: your choice.</span>
|
||||
<span data-if="phase == 'docked'">Docked with the pilot; you launch with them.</span>
|
||||
</div>
|
||||
<div class="hint">Your own character and ship stay at your base. If the pilot dies or goes offline you are back there.</div>
|
||||
@@ -51,11 +51,18 @@
|
||||
<div data-if="enabled && role != 'gunner' && (crewship || role == 'pilot')">
|
||||
<div class="label">Gunner seat</div>
|
||||
<div class="seat" data-class-on="gunner != ''">
|
||||
<span class="nm" data-if="gunner != ''">{{ gunner }}<span data-if="phase == 'aboard'"> · aboard ({{ weapons }} weapon(s) of the seat are theirs)</span><span data-if="phase == 'waiting'"> · boards at your launch</span><span data-if="phase == 'docked'"> · docked with you</span></span>
|
||||
<span class="nm" data-if="gunner != ''">{{ gunner }}<span data-if="phase == 'aboard'"> · aboard</span><span data-if="phase == 'waiting'"> · boards at your launch</span><span data-if="phase == 'docked'"> · docked with you</span></span>
|
||||
<span class="nm empty" data-if="gunner == '' && invited != ''">invited: {{ invited }} ...</span>
|
||||
<span class="nm empty" data-if="gunner == '' && invited == ''">empty - you fly and fire everything yourself</span>
|
||||
<div class="btn small" data-if="gunner != '' || invited != ''" data-action="kick">{{ gunner != '' ? 'Kick' : 'Withdraw' }}</div>
|
||||
</div>
|
||||
<div data-if="gunner != '' && seat_weapons.size > 0">
|
||||
<div class="label">Gunner weapons - on: the gunner fires it, off: you do</div>
|
||||
<div class="row" data-for="w : seat_weapons" data-action="give" data-attr-data-arg="w.id">
|
||||
<span class="nm">{{ w.name }}</span><span class="st" data-class-ok="w.given">{{ w.given ? 'GUNNER' : 'pilot' }}</span><span class="btn small">{{ w.given ? 'Take back' : 'Give' }}</span>
|
||||
</div>
|
||||
<div class="hint">Which weapons can go to the gunner is set by the server for this ship.</div>
|
||||
</div>
|
||||
<div data-if="gunner == ''">
|
||||
<div class="label">Invite from your group</div>
|
||||
<div class="row" data-for="m : members" data-action="invite" data-attr-data-arg="m.name">
|
||||
|
||||
Reference in New Issue
Block a user