Johnson336 / LotJPlugins

LotJ MUSHclient Plugins
3 stars 7 forks source link

LotJCargo - tried to run cargo from a planet not present on cargo planets list #9

Closed mnemosynium closed 9 months ago

mnemosynium commented 9 months ago

Description

Following cargo ship and route setup, running cargoStart from the landing pad at Nal Hutta yields Error: tried to run cargo from a planet not present on cargo planets list!.

Steps to Reproduce

Ship: YT-1300 Light Freighter Location: Gate 92 -- Glorious Bilbousa Spaceport

  1. cargoScan
  2. cargoShipProfileSetup
  3. cargoShipProfilePush
  4. cargoShipAdd MyShip
  5. cargoPlanets nal hutta,food,no,ryloth,spice,no
  6. cargoStart

Observed Result

(IC details omitted)

Retrieving current planet...
showplanet

You use the datapad to lookup the information.
--Planet Data: -----------------------------------------
Planet: Nal Hutta
Starsystem: Y'Toub System
Coordinates: 13000 5250 -300
Governed By: ---
--Planet Description: ------------------------

[...]

--General Details: ---------------------------
Leader of planet:  
Planet Size:       ---
Population:        ------
Public Opinion:    --
Military Presence: -- (+--/hour)
Crime Rate:        --  (+--/hour)
--Planet Economy: ----------------------------
GDP:               ------/hr
Tax Rate:          --%
  Tax Revenue:    +-----
  Mil. Spending:  ------ (Funding level: --)
  Admin Overhead: ------ (--/pop from - planets)
  Embezzlement:    ----- (From crime rate)
Total Income:       ----

Use 'SHOWPLANET <planet> RESOURCES' for current resources.
Error: tried to run cargo from a planet not present on cargo planets list!
Use 'SHOWPLANET <planet> AI' for current population status.
Use 'SHOWPLANET <planet> NEWS' for current events.
Johnson336 commented 9 months ago

There was a bug in the planet matching triggers due to an in-game UI update. Pushed a fix that should fix this issue. Thanks @mnemosynium !