jelster / space-truckers

A game of getting stuff from Point A to Point B... IN SPAAAACCE!

Home Page:https://space-truckers.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Route-Planning - encounter images needed

jelster opened this issue · comments

Encounters Needing Images:

  • Solar Flare
  • Coronal Mass Ejection
  • Magnetic Reconnection
  • Rock Monster
  • Momentum Tether
  • Space-Road Construction
  • Space-Detour
  • Nav Flagger
  • Wandering Space-Herd
  • Primordial Black Hole
  • Space-Porta Potty

Example:
Image needed that will display in the route planning when the solar flare encounter occurs. See ./assets/textures/ for example.

Once the image is added to the correct folder, add an import statement in gameData.js to tell webpack to bring in the image, then set the image property of the encounter to the appropriate value, e.g.

{ name: 'Solar Flare', id: 'solar_flare', probability: 0.99, image: *imageUrlAliasHere* }

With #79, I think this takes a lower priority since the images aren't going to be immediately needed or used