На сайте онлайн (человек): 65
Установить любую Станцию Игроку (себе)Arguments: StationType, Sector and SectorPos 001 infinite loop detection enabled=[TRUE]003 $Race = [PLAYERSHIP] -> get true owner005 $x = $SectorPos[0]006 $y = $SectorPos[1]007 $z = $SectorPos[2]009 $NewStation = create station: type=$StationType owner=$Race addto=$Sector x=$x y=$y z=$z010 $NewStation ->add default wares to station/dock011 $NewStation ->add money: 1500000012 $tmp ->factory production task: on=[TRUE]013 $StationRace = $NewStation -> get maker race016 $Wares = $NewStation -> get tradeable ware array from station017 $WareCount = size of array $Wares018 while $WareCount >= 0019 dec $WareCount = 021 $Ware = $Wares[$WareCount]022 if $NewStation -> uses ware $Ware as product023 remove element from array $Wares at index $WareCount024 else026 $WareSt = $NewStation -> get max. store amount of ware $Ware027 $WareST = $WareSt / 3028 = $NewStation -> add $WareSt units of $Ware031 end034 end035 return $NewStation
дерево темы → Учимся простейшим скриптам Учимся простейшим скриптам » Список игр