Ships

Ships

123k Downloads

Vessels not refreshing block dependencies from their group

ThatPerkel opened this issue ยท 2 comments

commented

A self-explaining title. When you make a new Ship, and then change the block requirements (type or value), the Ship's dependency won't update. Might be happening with other properties, too. I'm only sure about this one.

commented

Sorry for the delay. I'm not sure if I can even change it with command - if you mean by /ships shiptype flag modify, the only suggestion I get is vaultaddon:price.
So, I'm changing it directly via config.

I thought the best way would be to just inherit values from the ShipType config (and dont put them in the VesselData).
Or, there would be two scenarios:

  1. If there are set values in the vesseldata file, use them
  2. If there aren't, use the defaults defined in ShipType file.
commented

When you say dependency. How are you changing the values? Config or command?