ich habe da ein kleines Problem, und zwar habe ich für mein NPP projekt diverse NPC stationen per script hinzugefügt, aber irgendwie vermehren die sich in den ausgewählten sektoren, anbei das script
Code: Select all
001 $x = = random value from -50000 to 50001 - 1
002 $y = = random value from -20000 to 20001 - 1
003 $z = = random value from -50000 to 50001 - 1
004 $station = create station: type=Boronen Aufbereitungsanlage für Radioaktive Abfälle owner=Boronen addto=Königstal x=$x y=$y z=$z
005 = $station -> install 15 units of 2 GJ Schild
006 $mcd = $station -> get maximum shield strength
007 $station -> set current shield strength to $mcd
008 $station -> add product to factory or dock: Wasser
009 $station -> add primary resource to factory: Radioaktiver Abfall
010 $station -> add primary resource to factory: Energiezellen
011 $station -> add primary resource to factory: BoGas
012 $station -> station trade and production tasks: on=[TRUE]
013
014 $station = create station: type=Paraniden Fertigungsstätte für Angereichertes Uran owner=Paraniden addto=Paranid Prime x=$x y=$y z=$z
015 = $station -> install 15 units of 2 GJ Schild
016 $mcd = $station -> get maximum shield strength
017 $station -> set current shield strength to $mcd
018 $station -> add product to factory or dock: Angereichertes Uran
019 $station -> add primary resource to factory: Radioaktiver Abfall
020 $station -> add primary resource to factory: Energiezellen
021 $station -> add primary resource to factory: Teladianium
022 $station -> add primary resource to factory: BoGas
023 $station -> station trade and production tasks: on=[TRUE]
024
025 $station = create station: type=Paraniden Atomare Raketenfertigung owner=Paraniden addto=Dreieinigkeit x=$x y=$y z=$z
026 = $station -> install 15 units of 2 GJ Schild
027 $mcd = $station -> get maximum shield strength
028 $station -> set current shield strength to $mcd
029 $station -> add product to factory or dock: Streithammer-Torpedo
030 $station -> add primary resource to factory: Angereichertes Uran
031 $station -> add primary resource to factory: Energiezellen
032 $station -> add primary resource to factory: Erz
033 $station -> add primary resource to factory: Siliziumscheiben
034 $station -> add primary resource to factory: Cahoona Fleischblöcke
035 $station -> station trade and production tasks: on=[TRUE]
036
037
038
039 return null
danke und gruß