Equinox- / SEProceduralWorld

14 stars 3 forks source link

`<ExcludeInvalid>true</ExcludeInvalid>` doesn't work #13

Open Akuukis opened 5 years ago

Akuukis commented 5 years ago

I expected to have less asteroids but strictly no prohibited ores.

Observed hard-to-judge amount of asteroids, but most of them had some of prohibited ores (scanned with midspace admin command /detail)

here's my session.xml.

  <AsteroidField>
    <Layers>
      <MyAsteroidLayer>
        <ExcludeInvalid>true</ExcludeInvalid>
        <AsteroidMinSize>150</AsteroidMinSize>
        <AsteroidMaxSize>300</AsteroidMaxSize>
        <AsteroidSpacing>2000</AsteroidSpacing>
        <AsteroidDensity>0.1</AsteroidDensity>
        <RequiresOreSerial />
        <ProhibitsOreSerial>
          <Ore>AlienIce_03</Ore>
          <Ore>AlienSnow</Ore>
          <Ore>Ice</Ore>
          <Ore>Ice_01</Ore>
          <Ore>Ice_02</Ore>
          <Ore>Ice_03</Ore>
          <Ore>Kupfer_01</Ore>
          <Ore>Mamor_01</Ore>
          <Ore>Titan_01</Ore>
          <Ore>Uraninite_01</Ore>
          <Ore>Zinc_01</Ore>
        </ProhibitsOreSerial>
      </MyAsteroidLayer>
    </Layers>
    <Seed>1</Seed>
    <ShapeSphere>
      <InnerRadius>1000</InnerRadius>
      <OuterRadius>50000</OuterRadius>
    </ShapeSphere>
    <Position x="0" y="0" z="0" />
    <Forward x="-0" y="-0" z="-1" />
    <Up x="0" y="1" z="0" />
  </AsteroidField>

Debug ProceduralWorld.log looks normal

...
[21:50:28] AsteroidFieldModule         Debug: Prohibited ores AlienIce_03, AlienSnow, Ice, Ice_01, Ice_02, Ice_03, Kupfer_01, Mamor_01, Titan_01, Uraninite_01, Zinc_01
...

Perhaps new Asteroid API has broken something?