Darkside Moonshine Distillery

From Elite Wiki
Revision as of 15:51, 8 June 2026 by Cholmondely (talk | contribs) (Added Phkb's fix)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Note: Phkb has created a DMD Facelift OXP - find it here

DM Distillery
DM Saloon

Overview

The Darkside Moonshine Distilleries are only found in a few systems in each galaxy, often clustered in poor agricultural regions such as the Tortuga Expanse in the far east of galaxy 1. They offer a highly desired commodity that is only available at DMD stations, Witchfire Whiskey. The price for Witchfire grows with the distance from production centers making cross galaxy runs very profitable.

Smaller Darkside Moonshine Saloons appear in random systems around the chart. Although Witchfire is unavailable for purchase in bulk from the Saloons, they offer an alternative docking facility for those who may wish to avoid the patrol.

This OXP does three things:

  • It adds two new dockable stations.
  • It adds a new commodity to Oolite. The value depends on distance.
  • It adds colour to a specific region.

Saloon Bar interface

Stormrider wanted to make much more of this OXP. An unfinished bar interface for the Saloons can be found in Stormrider's collection (2014-7) Here!. He mentions widely that he is happy for people to take over his ideas as long as they credit him for what he did.

Download

Levelindicator1.png
1-{{{2}}}

Fix

Phkb noted a small error in the dmd_trade.js file. (If you want to inspect an OXZ you've downloaded with the expansion pack manager, copy it out of the ManagedAddOns folder first, then open it with your unzipping program. OR The Expansions Manager can do this for you when you press the "x" key.)

The following are lines 59-54:

   var way = system.info.routeToSystem(sysInfo);
   if (way) {
       this.$priceMultiple = way.route.length * 0.025;
   } else {
       this.$priceMultiple = 99 * 0.025; // if the system is unreachable, then prices will be really high
   }
   if(this.$witchlogging) log(this.name,this.name+"  waylong = "+way.route.length);

The last line expects to have "way" populated, but there can be instances where it is null, which causes an error.

The easiest fix is probably to do this:

   var way = system.info.routeToSystem(sysInfo);
   if (way) {
       this.$priceMultiple = way.route.length * 0.025;
       if(this.$witchlogging) log(this.name,this.name+"  waylong = "+way.route.length);
   } else {
       this.$priceMultiple = 99 * 0.025; // if the system is unreachable, then prices will be really high
   }

By moving the line where "way" is referenced into the If clause where we know it's not null, the error is avoided. Phkb, 2025

Requirements

  • This OXP needs Oolite v1.79.

Recommendations

No other OXPs are required for this to run, however, the distilleries are clustered in areas that have been defined in a few other oxps, installing them may help provide ambience.

Links

  • Stormrider's other OXP's
Manifest Scanner
Stormbrewer (light transport)
Amber Moon Chronicles (unfinished, but brilliant! Archaeological ruins...)

Quick Facts

Version Released License Features Category Author(s) Feedback
0.5 2016-04-20 CC BY-NC-SA 4.0 DMD Stations Dockables OXPs‏‎ Stormrider BB-Link