New REM client: REM-Client aad7edf, 64-bit (commodity trader: where the picked good sells - known bases, price, profit, system and jumps)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-07 07:15:31 +01:00
co-authored by Claude Opus 5.5
parent 424c64aab6
commit a102db8a98
2 changed files with 29 additions and 1 deletions
Binary file not shown.
+29 -1
View File
@@ -28,6 +28,23 @@
.deal .btn { margin: 0; }
.why { color: #ef6a5b; margin-right: 14dp; }
.search { margin-bottom: 8dp; }
/* where the picked good sells: the known bases that buy it, best price first, the profit per unit against
this base, the system and the jumps over known gates and holes */
.colm.dest { flex: 1.15; }
.col-h h3 { white-space: nowrap; overflow: hidden; }
.dst { padding: 7dp 10dp; border-bottom: 1dp #ffffff08; border-left: 2dp #00000000; }
.dst.best { background-color: #5fd08a14; border-left-color: #5fd08a; }
.dst .dt { display: flex; flex-direction: row; align-items: center; }
.dst .dn { flex: 1; min-width: 0; font-size: 15dp; white-space: nowrap; overflow: hidden; }
.dst .dp { font-family: "IBM Plex Mono"; color: #f2b13c; margin-left: 10dp; }
.dst .df { font-family: "IBM Plex Mono"; width: 70dp; text-align: right; color: #5fd08a; }
.dst .df.loss { color: #ef6a5b; }
.dst .ds { display: flex; flex-direction: row; align-items: center; margin-top: 2dp; font-size: 12dp; color: #8197ad; }
.dst .sy { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; }
.dst .jp { font-family: "Saira SemiCondensed"; font-weight: 600; font-size: 11dp; letter-spacing: 1dp; padding: 0 5dp; border: 1dp #3d6d96; border-radius: 2dp; color: #8fb3d0; }
.dst .jp.here { border-color: #5fd08a; color: #5fd08a; }
/* a base that does not list the good: it buys at the good's base price */
.dst .bp { margin-right: 8dp; font-style: italic; color: #5c7a94; }
</style>
</head>
<body class="window" data-model="trader">
@@ -55,7 +72,7 @@
</div>
</div>
</div>
<div class="colm">
<div class="colm gap">
<div class="col-h"><h3>Your cargo</h3><span class="hint">hold {{ hold }}</span></div>
<div class="list">
<div class="empty hint" style="padding: 10dp;" data-if="cargo.size == 0">Your hold carries no goods.</div>
@@ -64,6 +81,17 @@
</div>
</div>
</div>
<div class="colm dest">
<div class="col-h"><h3>{{ has_pick ? 'Sell ' + dest_good + ' at' : 'Where it sells' }}</h3><span class="hint">known bases</span></div>
<div class="list">
<div class="empty hint" style="padding: 10dp;" data-if="!has_pick">Pick a good to see where it sells and for how much.</div>
<div class="empty hint" style="padding: 10dp;" data-if="has_pick &amp;&amp; dests.size == 0">No base you know buys it.</div>
<div class="dst" data-for="d : dests" data-class-best="d.best">
<div class="dt"><span class="dn">{{ d.name }}</span><span class="dp">{{ d.price }}</span><span class="df" data-if="d.profit != ''" data-class-loss="d.loss">{{ d.profit }}</span></div>
<div class="ds"><span class="sy">{{ d.system }}</span><span class="bp" data-if="d.baseprice">base price</span><span class="jp" data-class-here="d.here">{{ d.jumps }}</span></div>
</div>
</div>
</div>
</div>
<div class="deal">
<img data-if="has_pick &amp;&amp; pick.icon != ''" data-attr-src="pick.icon"/>