Darkside Moonshine Distillery (WIP)

Discussion and information relevant to creating special missions, new ships, skins etc.

Moderators: another_commander, winston

Jamesondwich
Average
Average
Posts: 12
Joined: Fri Aug 22, 2025 1:41 pm

Re: Darkside Moonshine Distillery (WIP)

Post by Jamesondwich »

OXPs:

cim.gsagostinho.systemfeatures.rings.oxz
oolite.oxp.Alnivel.RoutePlanner.oxz
oolite.oxp.BeeTLeBeTHLeHeM.Life-In-The-Frontier-Revival.oxz
oolite.oxp.BeeTLeBeTHLeHeM.LifeInTheFrontier.oxz
oolite.oxp.ByronArn.AutoRefuel.oxz
oolite.oxp.CaptMurphy.ExplorersClub.oxz
oolite.oxp.CaptMurphy.ShipStorageHelper.oxz
oolite.oxp.Cholmondely.Hints.oxz
oolite.oxp.Commander_McLane.Anarchies.oxz
oolite.oxp.Commander_McLane.Fireworks.oxz
oolite.oxp.Commander_McLane.Randomshipnames.oxz
oolite.oxp.Disembodied.FreeTradeZone.oxz
oolite.oxp.Diziet.hyperradioCATACLYSM.oxz
oolite.oxp.DrNil.Commies.oxz
oolite.oxp.DrNil.YAH-SetA.oxz
oolite.oxp.DrNil.YAH-SetB.oxz
oolite.oxp.DrNil.YAH-SetC.oxz
oolite.oxp.DrNil.YAH-SetD.oxz
oolite.oxp.DrNil.YAH-SetE.oxz
oolite.oxp.DrNil.YAH-SetF.oxz
oolite.oxp.DrNil.YAH-SetG.oxz
oolite.oxp.DrNil.YAH.oxz
oolite.oxp.EricWalch.PirateCove.oxz
oolite.oxp.EricWalch.TionislaReporter.oxz
oolite.oxp.Frame.FuelCollector.oxz
oolite.oxp.FritzG.Navigation_Flashers.oxz
oolite.oxp.Griff.Station_Bundle.oxz
oolite.oxp.JohnSmith.LoveCats.oxz
oolite.oxp.LittleBear.AsteroidStorm.oxz
oolite.oxp.LittleBear.GalacticAlmanac.oxz
oolite.oxp.Lone_Wolf.ETTHomingBeacon.oxz
oolite.oxp.Murgh.HoOpyCasino.oxz
oolite.oxp.Norby.Ambience_Collection.oxz
oolite.oxp.Norby.CombatMFD.oxz
oolite.oxp.Norby.FreighterConvoys.oxz
oolite.oxp.Norby.Gallery.oxz
oolite.oxp.Norby.HDBG-A.oxz
oolite.oxp.Norby.HDBG.oxz
oolite.oxp.Norby.HUDSelector.oxz
oolite.oxp.Norby.LogEvents.oxz
oolite.oxp.Norby.MinerCobra.oxz
oolite.oxp.Norby.ReverseControl.oxz
oolite.oxp.Norby.SafetyCatch.oxz
oolite.oxp.Norby.TheCollector.oxz
oolite.oxp.Norby.Trails.oxz
oolite.oxp.Pagroove.Superhub.oxz
oolite.oxp.Ramen.Mutabilis-Ships_Library.oxz
oolite.oxp.Ramen.Status_Quo-Ship's_Library.oxz
oolite.oxp.Rorschachhamster.Satellites.oxz
oolite.oxp.Rustem.DistantStar.oxz
oolite.oxp.Rxke.BlackBaron.oxz
oolite.oxp.Staer9.Icesteroids.oxz
oolite.oxp.Svengali.BGS.oxz
oolite.oxp.Svengali.CCL.oxz
oolite.oxp.Svengali.GNN.oxz
oolite.oxp.Svengali.Hyperradio.oxz
oolite.oxp.Svengali.HyperradioHH01.oxz
oolite.oxp.Svengali.HyperradioJFRG01.oxz
oolite.oxp.Svengali.HyperradioPSY01.oxz
oolite.oxp.Svengali.HyperradioST01.oxz
oolite.oxp.Svengali.HyperradioTN01.oxz
oolite.oxp.Svengali.Library.oxz
oolite.oxp.Svengali.OXPConfig.oxz
oolite.oxp.Svengali.Pagroove.BGSSoundset.oxz
oolite.oxp.Svengali.Snoopers.oxz
oolite.oxp.Switeck.Cargo-Contract-Mod.oxz
oolite.oxp.Thargoid.CommandersLog.oxz
oolite.oxp.Thargoid.FlightLog.oxz
oolite.oxp.Thargoid.FuelStation.oxz
oolite.oxp.Thargoid.IronHide.oxz
oolite.oxp.Thargoid.LaveAcademy.oxz
oolite.oxp.Thargoid.MilFuelInj.oxz
oolite.oxp.Thargoid.Neo-Docklights.oxz
oolite.oxp.Thargoid.PlanetaryCompass.oxz
oolite.oxp.Thargoid.PlanetaryCompassPackA.oxz
oolite.oxp.Thargoid.PlanetaryCompassPackB.oxz
oolite.oxp.Thargoid.PlanetaryCompassPackC.oxz
oolite.oxp.Thargoid.PlanetaryCompassPackD.oxz
oolite.oxp.Thargoid.TAP.oxz
oolite.oxp.Thargoid.TrackerCam.oxz
oolite.oxp.Thargoid.TrafficControl.oxz
oolite.oxp.Thargoid.WelcomeMat.oxz
oolite.oxp.Thargoid.YAH-Mobile.oxz
oolite.oxp.Tricky.Jaguar_Company.oxz
oolite.oxp.Wildeblood.Contracted_Goods_Reminder.oxz
oolite.oxp.Wildeblood.Display_Reputation.oxz
oolite.oxp.Wildeblood.distant_suns.oxz
oolite.oxp.Wildeblood.galaxy_names.oxz
oolite.oxp.ZygoUgo.Asteroids_resources.oxz
oolite.oxp.ZygoUgo.Buoy.oxz
oolite.oxp.ZygoUgo.ZygoCinematicSkyNebulas.oxz
oolite.oxp.ZygoUgo.noshaders_Asteroids.oxz
oolite.oxp.blackwolf.wanted_posters.oxz
oolite.oxp.cag.station_options.oxz
oolite.oxp.captsolo.solos-good-fortune.oxz
oolite.oxp.cim.camera-drones.oxz
oolite.oxp.cim.comms-pack-a.oxz
oolite.oxp.cim.extracts-tre-clan.oxz
oolite.oxp.cim.ships-library.oxz
oolite.oxp.cim.systemfeatures.sunspots.oxz
oolite.oxp.dertien.Z_GrOovY_SmallSystemStations.oxz
oolite.oxp.dybal.rockHermitBeacons.oxz
oolite.oxp.hoqllnq.missile-beep.oxz
oolite.oxp.jh145.ScannerAlertingEnhancement.oxz
oolite.oxp.littlebear.blackmonks.oxz
oolite.oxp.murgh.GlobeStation.oxz
oolite.oxp.phkb.BlackMarket.oxz
oolite.oxp.phkb.CommsLogMFD.oxz
oolite.oxp.phkb.EmailSystem.oxz
oolite.oxp.phkb.ExtraRockHermits.oxz
oolite.oxp.phkb.FuelStation_Facelift.oxz
oolite.oxp.phkb.GalacticRegistry.oxz
oolite.oxp.phkb.HyperradioLOFI01.oxz
oolite.oxp.phkb.HyperradioSYN01.oxz
oolite.oxp.phkb.MFDFastConfiguration.oxz
oolite.oxp.phkb.MaintenanceTuneUp.oxz
oolite.oxp.phkb.NavigationBeaconsMFD.oxz
oolite.oxp.phkb.PlanetForestsAndOceans.oxz
oolite.oxp.phkb.PlanetRotationCosmetics.oxz
oolite.oxp.phkb.RoughGuideToTheOoniverse.oxz
oolite.oxp.phkb.SolarFlares.oxz
oolite.oxp.redspear.additional_planets_sr_demux_alien_pack.oxz
oolite.oxp.redspear.additional_planets_sr_demux_earthlike_pack.oxz
oolite.oxp.redspear.additional_planets_sr_demux_ocean_pack.oxz
oolite.oxp.redspear.additional_planets_sr_demux_volcanic.oxz
oolite.oxp.redspear.additional_planets_sr_others_gas_giants.oxz
oolite.oxp.redspear.free_bitmaps_dusty.oxz
oolite.oxp.redspear.free_bitmaps_icy.oxz
oolite.oxp.redspear.free_bitmaps_rocky.oxz
oolite.oxp.redspear.power_to_engines.oxz
oolite.oxp.smivs.Delightful Docking.oxz
oolite.oxp.smivs.GiantSpacePizza.oxz
oolite.oxp.smivs.better Buoys.oxz
oolite.oxp.spara.additional_planets_sr_base.oxz
oolite.oxp.spara.additional_planets_sr_pack_redux.oxz
oolite.oxp.spara.manifest_mfd.oxz
oolite.oxp.spara.market_inquirer.oxz
oolite.oxp.spara.market_observer.oxz
oolite.oxp.spara.navigation_mfd.oxz
oolite.oxp.spara.random_player-ship_name.oxz
oolite.oxp.spara.start_advice.oxz
oolite.oxp.spara.station_ads.oxz
oolite.oxp.spara.trophy_collector.oxz
oolite.oxp.spara.yah_more.oxz
oolite.oxp.stormrider.Darkside_Moonshine_Distillery.oxz
oolite.oxp.superbatprime.Ship's_Cat.oxz
oolite.oxp.zzz.Montana05.KillerWolf.nuit_station.oxz
oolite.oxp.zzz.Montana05.SIRF.oxz
oolite.oxp.zzz.Montana05.resource_pack_01.oxz
tws_satnav.oxz
User avatar
Stormrider
Deadly
Deadly
Posts: 247
Joined: Sat Jan 25, 2014 2:35 am
Location: At work

Re: Darkside Moonshine Distillery (WIP)

Post by Stormrider »

Ok, I've figured out what the problem is with Witchfire Whiskey not available in the market.
The Galactic Almanac changes the name of the stations but that is how I have coded the commodity to show up in the distilleries, like this.

Code: Select all

if (station && station.name === "Darkside Moonshine Distillery")
That is the only way I could limit the market to the distilleries so for now it is incompatible with the Galactic Almanac. I'll try to see if I can come up with another way to identify the distillery in my script to try to make it it more compatible with the Galactic Almanac.

Any ideas about how to do this are welcome.
Image
User avatar
phkb
Impressively Grand Sub-Admiral
Impressively Grand Sub-Admiral
Posts: 5615
Joined: Tue Jan 21, 2014 10:37 pm
Location: Writing more OXPs, because the world needs more OXPs.

Re: Darkside Moonshine Distillery (WIP)

Post by phkb »

I’d probably use station.dataKey = “station-key-name” to be very specific, or station.hasRole(“some-role”) to be slightly more generic.
User avatar
Stormrider
Deadly
Deadly
Posts: 247
Joined: Sat Jan 25, 2014 2:35 am
Location: At work

Re: Darkside Moonshine Distillery (WIP)

Post by Stormrider »

phkb wrote: Mon Sep 22, 2025 8:24 pm
I’d probably use station.dataKey = “station-key-name” to be very specific, or station.hasRole(“some-role”) to be slightly more generic.
Thanks phkb, I found the station.dataKey worked and from my testing now makes everything compatible with the Galactic Almanac.
I've uploaded a new version to box: Here
Jamesondwich wrote: Tue Aug 26, 2025 1:20 pm
OXPs:
Cholmondely wrote: Mon Aug 25, 2025 9:48 pm
The OXP cocktail recipe which applied to the above is this:
Thanks, please try the new version and tell me if you see any issues.
Last edited by Stormrider on Tue Sep 23, 2025 4:20 pm, edited 1 time in total.
Image
User avatar
phkb
Impressively Grand Sub-Admiral
Impressively Grand Sub-Admiral
Posts: 5615
Joined: Tue Jan 21, 2014 10:37 pm
Location: Writing more OXPs, because the world needs more OXPs.

Re: Darkside Moonshine Distillery (WIP)

Post by phkb »

Stormrider wrote: Tue Sep 23, 2025 2:50 am
I've uploaded a new version to box: Here
Something's not quite right with that link. When I click on it, Box says the page does not exist.
User avatar
Wildeblood
---- E L I T E ----
---- E L I T E ----
Posts: 2921
Joined: Sat Jun 11, 2011 6:07 am
Location: Nova Hollandia
Contact:

Re: Darkside Moonshine Distillery (WIP)

Post by Wildeblood »

phkb wrote: Tue Sep 23, 2025 6:52 am
Something's not quite right with that link. When I click on it, Box says the page does not exist.
HERE:-

https://app.box.com/s/dt22xgd5ndr03yohzxnmi3zvhubazpe1
R.I.P. John Lodge, 1943-2025.
User avatar
phkb
Impressively Grand Sub-Admiral
Impressively Grand Sub-Admiral
Posts: 5615
Joined: Tue Jan 21, 2014 10:37 pm
Location: Writing more OXPs, because the world needs more OXPs.

Re: Darkside Moonshine Distillery (WIP)

Post by phkb »

Thanks!
Jamesondwich
Average
Average
Posts: 12
Joined: Fri Aug 22, 2025 1:41 pm

Re: Darkside Moonshine Distillery (WIP)

Post by Jamesondwich »

Awesome, I will try it and report back tomorrow :)
Jamesondwich
Average
Average
Posts: 12
Joined: Fri Aug 22, 2025 1:41 pm

Re: Darkside Moonshine Distillery (WIP)

Post by Jamesondwich »

Tried it, it works!!!

I bought some witchfire.

Gonna have a glass of it to celebrate. Thanks :twisted:
User avatar
phkb
Impressively Grand Sub-Admiral
Impressively Grand Sub-Admiral
Posts: 5615
Joined: Tue Jan 21, 2014 10:37 pm
Location: Writing more OXPs, because the world needs more OXPs.

Re: Darkside Moonshine Distillery (WIP)

Post by phkb »

Noted a small error in the dmd_trade.js file.
The following are lines 59-54:

Code: Select all

    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:

Code: Select all

    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.
Post Reply