@verb #9491:":description" this none this rxdo #7951
@program #9491:":description" this none this
{p} = args
o = {tostr("Commerce report for ", this.name, ": ", this.universe:ctime(), "")}
o = {@o, "", "-=-=- Docking Log -=-=-"}
if (this.docking_log[1] == "")
o = {@o, tostr("No current ship docking log on file.")}
o = {@o, tostr("For finding this unused port you receive 1 experience point(s).")}
else
if (time() - this.docking_log[2] < 60)
o = {@o, tostr("", this.docking_log[1], " just left.")}
else
o = {@o, tostr("", this.docking_log[1], " docked ", $su:english_time(time() - this.docking_log[2]), "")}
endif
endif
o = {@o, tostr("")}
o = {@o, tostr(" Items Status Trading % of max OnBoard")}
o = {@o, tostr(" ----- ------ ------- -------- -------")}
o = {@o, tostr("Fuel Ore ", this.ore < 0 ? "Buying " | "Selling", " ", $su:right(tostr(abs(this.ore)), 6), " ", $su:right(tostr(toint(tofloat(this.ore) / tofloat(this.max_ore) * 100.0)), 3), "% ", $su:right(tostr(p.current_ship.ore), 4), "")}
o = {@o, tostr("Organics ", this.organics < 0 ? "Buying " | "Selling", " ", $su:right(tostr(abs(this.organics)), 6), " ", $su:right(tostr(toint(tofloat(this.organics) / tofloat(this.max_organics) * 100.0)), 3), "% ", $su:right(tostr(p.current_ship.organics), 4), "")}
o = {@o, tostr("Equipment ", this.equipment < 0 ? "Buying " | "Selling", " ", $su:right(tostr(abs(this.equipment)), 6), " ", $su:right(tostr(toint(tofloat(this.equipment) / tofloat(this.max_equipment) * 100.0)), 3), "% ", $su:right(tostr(p.current_ship.equipment), 4), "")}
return o
.