home *** CD-ROM | disk | FTP | other *** search
/ Micromanía 26 / CDMM26.iso / data / dark / build.txt < prev    next >
Encoding:
Text File  |  1996-11-27  |  23.7 KB  |  665 lines

  1. ;
  2. ;;Freedom Guard Specific Buildings
  3. ;
  4.  
  5.  
  6. DefineBuildingType(fa)
  7. {
  8.   SetBuildingImages(jfgagt0.spr jfgagt1.spr faiso.spr)
  9.   SetDescription(Advanced_Guard_Tower)
  10.   SetPrerequisite(0 19 18 0 0 0)              ;; Prerequisite building
  11.   SetSide(0)
  12.   SetCPULoad(10)
  13.   SetBay(1 1)
  14.   SetHitpoints(1650 800)
  15.   SetSeeingRange(12)         ;; Radius in tiles for a building to see
  16.   SetSeeingHeight(1)         ;; Height for a building to see from
  17.   SetEnergy(0 0 0 0 0)        ; Store, output, make, build, run
  18.   SetChemical(0 0 0 0 0)      ; Store, output, make, build, run
  19.   SetMineral(0 0 0 0 0)       ; Store, output, make, build, run
  20.   SetPower(0 0 0 0 0)        ; Store, output, make, build, run
  21.   SetWater(0 0 0 0 0)         ; Store, output, make, build, run
  22.   SetCost(500 10)
  23.   ActivePart(AdvancedGuardTower 48 4 none 0 0 none 0 0 none 0 0)
  24.   CanCommunicate()
  25. }
  26.  
  27. DefineBuildingType(fb)
  28. {
  29.   SetBuildingImages(mfgbo0.spr mfgbo1.spr fbiso.spr)
  30.   SetDescription(FG_Ops_Centre)
  31.   SetPrerequisite(0 11 6 1 0 0)              ;; Prerequisite building
  32.   SetSide(0)
  33.   SetCPULoad(10)
  34.   SetBay(2 2)
  35.   SetHitpoints(1650 800)
  36.   SetSeeingRange(12)         ;; Radius in tiles for a building to see
  37.   SetSeeingHeight(1)         ;; Height for a building to see from
  38.   SetEnergy(0 0 0 0 0)        ; Store, output, make, build, run
  39.   SetChemical(0 0 0 0 0)      ; Store, output, make, build, run
  40.   SetMineral(0 0 0 0 0)       ; Store, output, make, build, run
  41.   SetPower(0 0 0 0 0)        ; Store, output, make, build, run
  42.   SetWater(0 0 0 0 0)         ; Store, output, make, build, run
  43.   SetCost(500 10)
  44.   CanCommunicate()
  45.   CanMake()
  46. }
  47.  
  48. DefineBuildingType(fb_decoy)
  49. {
  50.   IsDecoyOf(fb)
  51.   SetDescription(Decoy_Ops_Centre)
  52.   SetPrerequisite(0 1011 6 1 0 0)
  53. }
  54.  
  55. DefineBuildingType(fc)
  56. {
  57.   SetBuildingImages(efgcon0.spr efgcon1.spr fciso.spr)
  58.   SetDescription(FG_Factory)
  59.   SetPrerequisite(0 7 0 0 0 0)              ;; Prerequisite building
  60.   SetSide(0)
  61.   SetCPULoad(10)
  62.   SetBay(2 2)
  63.   SetHitpoints(1650 800)
  64.   SetSeeingRange(12)         ;; Radius in tiles for a building to see
  65.   SetSeeingHeight(1)         ;; Height for a building to see from
  66.   SetEnergy(0 0 0 0 0)        ; Store, output, make, build, run
  67.   SetChemical(0 0 0 0 0)      ; Store, output, make, build, run
  68.   SetMineral(0 0 0 0 0)       ; Store, output, make, build, run
  69.   SetPower(0 0 0 0 0)        ; Store, output, make, build, run
  70.   SetWater(0 0 0 0 0)         ; Store, output, make, build, run
  71.   SetCost(500 10)
  72.   CanRepair()
  73.   CanMake()
  74. }
  75.  
  76. DefineBuildingType(fc_decoy)
  77. {
  78.   IsDecoyOf(fc)
  79.   SetDescription(Decoy_Factory)
  80.   SetPrerequisite(0 1007 0 0 0 0)
  81. }
  82.  
  83. DefineBuildingType(fg)
  84. {
  85.   SetBuildingImages(cfggt0.spr cfggt1.spr fgiso.spr)
  86.   SetDescription(Guard_Tower)
  87.   SetPrerequisite(0 18 0 0 0 0)              ;; Prerequisite building
  88.   SetSide(0)
  89.   SetCPULoad(10)
  90.   SetBay(1 1)
  91.   SetHitpoints(1650 800)
  92.   SetSeeingRange(12)         ;; Radius in tiles for a building to see
  93.   SetSeeingHeight(1)         ;; Height for a building to see from
  94.   SetEnergy(0 0 0 0 0)        ; Store, output, make, build, run
  95.   SetChemical(0 0 0 0 0)      ; Store, output, make, build, run
  96.   SetMineral(0 0 0 0 0)       ; Store, output, make, build, run
  97.   SetPower(0 0 0 0 0)        ; Store, output, make, build, run
  98.   SetWater(0 0 0 0 0)         ; Store, output, make, build, run
  99.   SetCost(500 10)
  100.   ActivePart(GuardTower 48 37 none 0 0 none 0 0 none 0 0)
  101.   CanCommunicate()
  102. }
  103.  
  104. DefineBuildingType(fh)
  105. {
  106.   SetBuildingImages(efghq0.spr efghq1.spr fhiso.spr)
  107.   SetDescription(FG_Headquarters)
  108.   SetPrerequisite(0 1 0 0 0 0)              ;; Prerequisite building
  109.   SetSide(0)
  110.   SetCPULoad(10)
  111.   SetCPUGainPercent(25)
  112.   SetBay(2 3)
  113.   SetHitpoints(1650 1000)
  114.   SetSeeingRange(12)         ;; Radius in tiles for a building to see
  115.   SetSeeingHeight(1)         ;; Height for a building to see from
  116.   SetEnergy(0 0 0 0 0)     ; Store, output, make, build, run
  117.   SetChemical(0 0 0 0 0)   ; Store, output, make, build, run
  118.   SetMineral(0 0 0 0 0)    ; Store, output, make, build, run
  119.   SetPower(0 0 0 0 0)     ; Store, output, make, build, run
  120.   SetWater(0 0 0 0 0)      ; Store, output, make, build, run
  121.   SetCost(500 10)
  122.   CanRepair()
  123.   CanCommand()
  124.   CanMake()
  125. }
  126.  
  127. DefineBuildingType(fl)
  128. {
  129.   SetBuildingImages(mfglp0.spr mfglp1.spr fliso.spr)
  130.   SetDescription(FG_Landing_Pad)
  131.   SetPrerequisite(0 14 13 1 0 0 )              ;; Prerequisite building
  132.   SetSide(0)
  133.   SetCPULoad(10)
  134.   SetBay(2 2)
  135.   SetHitpoints(1650 800)
  136.   SetSeeingRange(12)         ;; Radius in tiles for a building to see
  137.   SetSeeingHeight(1)         ;; Height for a building to see from
  138.   SetEnergy(0 0 0 0 0)        ; Store, output, make, build, run
  139.   SetChemical(0 0 0 0 0)      ; Store, output, make, build, run
  140.   SetMineral(0 0 0 0 0)       ; Store, output, make, build, run
  141.   SetPower(0 0 0 0 0)        ; Store, output, make, build, run
  142.   SetWater(0 0 0 0 0)         ; Store, output, make, build, run
  143.   SetCost(500 10)
  144.   CanRefuel()
  145.   CanRepair()
  146.   CanRearm()
  147.   CanLand()
  148.   CanMake()
  149. }
  150.  
  151. DefineBuildingType(fn)
  152. {
  153.   SetBuildingImages(mfgair0.spr mfgair1.spr fniso.spr)
  154.   SetDescription(FG_Air_Control)
  155.   SetPrerequisite(0 13 7 6 1 0)              ;; Prerequisite building
  156.   SetSide(0)
  157.   SetCPULoad(10)
  158.   SetBay(2 2)
  159.   SetHitpoints(1650 800)
  160.   SetSeeingRange(12)         ;; Radius in tiles for a building to see
  161.   SetSeeingHeight(1)         ;; Height for a building to see from
  162.   SetEnergy(0 0 0 0 0)        ; Store, output, make, build, run
  163.   SetChemical(0 0 0 0 0)      ; Store, output, make, build, run
  164.   SetMineral(0 0 0 0 0)       ; Store, output, make, build, run
  165.   SetPower(0 0 0 0 0)        ; Store, output, make, build, run
  166.   SetWater(0 0 0 0 0)         ; Store, output, make, build, run
  167.   SetCost(500 10)
  168.   CanCommunicate()
  169.   CanMake()
  170. }
  171.  
  172. DefineBuildingType(fn_decoy)
  173. {
  174.   IsDecoyOf(fn)
  175.   SetDescription(Decoy_Air_Control)
  176.   SetPrerequisite(0 1013 7 6 1 0)
  177. }
  178.  
  179. DefineBuildingType(fs)
  180. {
  181.   SetBuildingImages(cfgaa0.spr cfgaa1.spr fsiso.spr)
  182.   SetDescription(Anti_Aircraft_Site)
  183.   SetPrerequisite(0 15 18 1 0 0)              ;; Prerequisite building
  184.   SetSide(0)
  185.   SetCPULoad(10)
  186.   SetBay(1 1)
  187.   SetHitpoints(1650 800)
  188.   SetSeeingRange(12)         ;; Radius in tiles for a building to see
  189.   SetSeeingHeight(1)         ;; Height for a building to see from
  190.   SetEnergy(0 0 0 0 0)        ; Store, output, make, build, run
  191.   SetChemical(0 0 0 0 0)      ; Store, output, make, build, run
  192.   SetMineral(0 0 0 0 0)       ; Store, output, make, build, run
  193.   SetPower(0 0 0 0 0)        ; Store, output, make, build, run
  194.   SetWater(0 0 0 0 0)         ; Store, output, make, build, run
  195.   SetCost(500 10)
  196.   ActivePart(AntiAirSite 48 34 none 0 0 none 0 0 none 0 0)
  197.   CanCommunicate()
  198. }
  199.  
  200. DefineBuildingType(ft)
  201. {
  202.   SetBuildingImages(dfgtunn0.spr dfgtunn1.spr ftiso.spr)
  203.   SetDescription(FG_Tunnel)
  204.   SetPrerequisite(0 20 16 1 0 0)              ;; Prerequisite building
  205.   SetSide(0)
  206.   SetCPULoad(10)
  207.   SetHitpoints(1650 800)
  208.   SetSeeingRange(12)         ;; Radius in tiles for a building to see
  209.   SetSeeingHeight(1)         ;; Height for a building to see from
  210.   SetEnergy(0 0 0 0 0)        ; Store, output, make, build, run
  211.   SetChemical(0 0 0 0 0)      ; Store, output, make, build, run
  212.   SetMineral(0 0 0 0 0)       ; Store, output, make, build, run
  213.   SetPower(0 0 0 0 0)        ; Store, output, make, build, run
  214.   SetWater(0 0 0 0 0)         ; Store, output, make, build, run
  215.   SetCost(500 10)
  216.   IsShaft()
  217.   AssociatedUnit(Tunneler 2 2 1)
  218. }
  219.  
  220. DefineBuildingType(fu)
  221. {
  222.   SetBuildingImages(dfgunt0.spr dfgunt1.spr fuiso.spr)
  223.   SetDescription(FG_Unit_Training)
  224.   SetPrerequisite(0 6 0 0 0 0)              ;; Prerequisite building
  225.   SetSide(0)
  226.   SetCPULoad(10)
  227.   SetBay(2 1)
  228.   SetHitpoints(1650 800)
  229.   SetSeeingRange(12)         ;; Radius in tiles for a building to see
  230.   SetSeeingHeight(1)         ;; Height for a building to see from
  231.   SetEnergy(0 0 0 0 0)        ; Store, output, make, build, run
  232.   SetChemical(0 0 0 0 0)      ; Store, output, make, build, run
  233.   SetMineral(0 0 0 0 0)       ; Store, output, make, build, run
  234.   SetPower(0 0 0 0 0)        ; Store, output, make, build, run
  235.   SetWater(0 0 0 0 0)         ; Store, output, make, build, run
  236.   SetCost(500 10)
  237.   CanPark()
  238.   CanMake()
  239. }
  240.  
  241. DefineBuildingType(fv)
  242. {
  243.   SetBuildingImages(mfgadv0.spr mfgadv1.spr fviso.spr)
  244.   SetDescription(FG_Advanced_Tech_Centre)
  245.   SetPrerequisite(0 16 1 8 0 0)              ;; Prerequisite building
  246.   SetSide(0)
  247.   SetCPULoad(10)
  248.   SetBay(2 2)
  249.   SetHitpoints(1650 800)
  250.   SetSeeingRange(12)         ;; Radius in tiles for a building to see
  251.   SetSeeingHeight(1)         ;; Height for a building to see from
  252.   SetEnergy(0 0 0 0 0)        ; Store, output, make, build, run
  253.   SetChemical(0 0 0 0 0)      ; Store, output, make, build, run
  254.   SetMineral(0 0 0 0 0)       ; Store, output, make, build, run
  255.   SetPower(0 0 0 0 0)        ; Store, output, make, build, run
  256.   SetWater(0 0 0 0 0)         ; Store, output, make, build, run
  257.   SetCost(500 10)
  258. }
  259.  
  260. ;
  261. ;Imperium Specific Buildings
  262. ;
  263.  
  264. DefineBuildingType(ia)
  265. {
  266.   SetBuildingImages(cimpagt0.spr cimpagt1.spr iaiso.spr)
  267.   SetDescription(Advanced_Guard_Tower)
  268.   SetPrerequisite(0 19 18 0 0 0)              ;; Prerequisite building
  269.   SetSide(0)
  270.   SetCPULoad(10)
  271.   SetBay(1 2)
  272.   SetHitpoints(1650 800)
  273.   SetSeeingRange(12)         ;; Radius in tiles for a building to see
  274.   SetSeeingHeight(1)         ;; Height for a building to see from
  275.   SetEnergy(0 0 0 0 0)        ; Store, output, make, build, run
  276.   SetChemical(0 0 0 0 0)      ; Store, output, make, build, run
  277.   SetMineral(0 0 0 0 0)       ; Store, output, make, build, run
  278.   SetPower(0 0 0 0 0)        ; Store, output, make, build, run
  279.   SetWater(0 0 0 0 0)         ; Store, output, make, build, run
  280.   SetCost(500 10)
  281.   ActivePart(AdvancedGuardTower 48 34 none 0 0 none 0 0 none 0 0)
  282.   CanCommunicate()
  283. }
  284.  
  285. ;;imperium buildings
  286.  
  287. DefineBuildingType(ib)
  288. {
  289.   SetBuildingImages(mimpbo0.spr mimpbo1.spr ibiso.spr)
  290.   SetDescription(Imp_Operations_Centre)
  291.   SetPrerequisite(0 11 6 1 0 0)              ;; Prerequisite building
  292.   SetSide(1)
  293.   SetCPULoad(10)
  294.   SetBay(2 1)
  295.   SetHitpoints(1650 800)
  296.   SetSeeingRange(12)         ;; Radius in tiles for a building to see
  297.   SetSeeingHeight(1)         ;; Height for a building to see from
  298.   SetEnergy(0 0 0 0 0)        ; Store, output, make, build, run
  299.   SetChemical(0 0 0 0 0)      ; Store, output, make, build, run
  300.   SetMineral(0 0 0 0 0)       ; Store, output, make, build, run
  301.   SetPower(0 0 0 0 0)        ; Store, output, make, build, run
  302.   SetWater(0 0 0 0 0)         ; Store, output, make, build, run
  303.   SetCost(500 10)
  304.   CanCommunicate()
  305. }
  306.  
  307. DefineBuildingType(ic)
  308. {
  309.   SetBuildingImages(eimpcon0.spr eimpcon1.spr iciso.spr)
  310.   SetDescription(Imp_Factory)
  311.   SetPrerequisite(0 7 0 0 0 0)              ;; Prerequisite building
  312.   SetSide(1)
  313.   SetCPULoad(10)
  314.   SetBay(2 2)
  315.   SetHitpoints(1650 800)
  316.   SetSeeingRange(12)         ;; Radius in tiles for a building to see
  317.   SetSeeingHeight(1)         ;; Height for a building to see from
  318.   SetEnergy(0 0 0 0 0)        ; Store, output, make, build, run
  319.   SetChemical(0 0 0 0 0)      ; Store, output, make, build, run
  320.   SetMineral(0 0 0 0 0)       ; Store, output, make, build, run
  321.   SetPower(0 0 0 0 0)        ; Store, output, make, build, run
  322.   SetWater(0 0 0 0 0)         ; Store, output, make, build, run
  323.   SetCost(500 10)
  324.   CanRepair()
  325.   CanMake()
  326. }
  327.  
  328. DefineBuildingType(ig)
  329. {
  330.   SetBuildingImages(cimpgt0.spr cimpgt1.spr igiso.spr)
  331.   SetDescription(Guard_Tower)
  332.   SetPrerequisite(0 18 0 0 0 0)              ;; Prerequisite building
  333.   SetSide(1)
  334.   SetCPULoad(10)
  335.   SetBay(1 1)
  336.   SetHitpoints(1650 800)
  337.   SetSeeingRange(12)         ;; Radius in tiles for a building to see
  338.   SetSeeingHeight(1)         ;; Height for a building to see from
  339.   SetEnergy(0 0 0 0 0)        ; Store, output, make, build, run
  340.   SetChemical(0 0 0 0 0)      ; Store, output, make, build, run
  341.   SetMineral(0 0 0 0 0)       ; Store, output, make, build, run
  342.   SetPower(0 0 0 0 0)        ; Store, output, make, build, run
  343.   SetWater(0 0 0 0 0)         ; Store, output, make, build, run
  344.   SetCost(500 10)
  345.   ActivePart(GuardTower 42 48 none 0 0 none 0 0 none 0 0)
  346.   CanCommunicate()
  347. }
  348.  
  349. DefineBuildingType(ih)
  350. {
  351.   SetBuildingImages(simphq0.spr simphq1.spr ihiso.spr)
  352.   SetDescription(Imp_Headquarters)
  353.   SetPrerequisite(0 1 0 0 0 0)              ;; Prerequisite building
  354.   SetSide(1)
  355.   SetCPULoad(10)
  356.   SetCPUGainPercent(25)
  357.   SetBay(2 3)
  358.   SetHitpoints(1650 1000)
  359.   SetSeeingRange(12)         ;; Radius in tiles for a building to see
  360.   SetSeeingHeight(1)         ;; Height for a building to see from
  361.   SetEnergy(0 0 0 0 0)     ; Store, output, make, build, run
  362.   SetChemical(0 0 0 0 0)   ; Store, output, make, build, run
  363.   SetMineral(0 0 0 0 0)    ; Store, output, make, build, run
  364.   SetPower(0 0 0 0 0)     ; Store, output, make, build, run
  365.   SetWater(0 0 0 0 0)      ; Store, output, make, build, run
  366.   SetCost(500 10)
  367.   CanRepair()
  368.   CanCommand()
  369.   CanMake()
  370. }
  371.  
  372.  
  373. DefineBuildingType(il)
  374. {
  375.   SetBuildingImages(eimplp0.spr eimplp1.spr iliso.spr)
  376.   SetDescription(Imp_Landing_Pad)
  377.   SetPrerequisite(0 14 13 1 0 0)              ;; Prerequisite building
  378.   SetSide(1)
  379.   SetCPULoad(10)
  380.   SetBay(2 2)
  381.   SetHitpoints(1650 800)
  382.   SetSeeingRange(12)         ;; Radius in tiles for a building to see
  383.   SetSeeingHeight(1)         ;; Height for a building to see from
  384.   SetEnergy(0 0 0 0 0)        ; Store, output, make, build, run
  385.   SetChemical(0 0 0 0 0)      ; Store, output, make, build, run
  386.   SetMineral(0 0 0 0 0)       ; Store, output, make, build, run
  387.   SetPower(0 0 0 0 0)        ; Store, output, make, build, run
  388.   SetWater(0 0 0 0 0)         ; Store, output, make, build, run
  389.   SetCost(500 10)
  390.   CanRefuel()
  391.   CanRepair()
  392.   CanRearm()
  393.   CanLand()
  394.   CanMake()
  395. }
  396.  
  397. DefineBuildingType(in)
  398. {
  399.   SetBuildingImages(simpair0.spr simpair1.spr iniso.spr)
  400.   SetDescription(Imp_Air_Control)
  401.   SetPrerequisite(0 13 7 6 1 0)              ;; Prerequisite building
  402.   SetSide(1)
  403.   SetCPULoad(10)
  404.   SetBay(1 3)
  405.   SetHitpoints(1650 800)
  406.   SetSeeingRange(12)         ;; Radius in tiles for a building to see
  407.   SetSeeingHeight(1)         ;; Height for a building to see from
  408.   SetEnergy(0 0 0 0 0)        ; Store, output, make, build, run
  409.   SetChemical(0 0 0 0 0)      ; Store, output, make, build, run
  410.   SetMineral(0 0 0 0 0)       ; Store, output, make, build, run
  411.   SetPower(0 0 0 0 0)        ; Store, output, make, build, run
  412.   SetWater(0 0 0 0 0)         ; Store, output, make, build, run
  413.   SetCost(500 10)
  414.   CanCommunicate()
  415.   CanMake()
  416. }
  417.  
  418. DefineBuildingType(is)
  419. {
  420.   SetBuildingImages(cimpaa0.spr cimpaa1.spr isiso.spr)
  421.   SetDescription(Anti_Aircraft_Site)
  422.   SetPrerequisite(0 15 18 1 0 0)              ;; Prerequisite building
  423.   SetSide(1)
  424.   SetCPULoad(10)
  425.   SetBay(1 1)
  426.   SetHitpoints(1650 800)
  427.   SetSeeingRange(12)         ;; Radius in tiles for a building to see
  428.   SetSeeingHeight(1)         ;; Height for a building to see from
  429.   SetEnergy(0 0 0 0 0)        ; Store, output, make, build, run
  430.   SetChemical(0 0 0 0 0)      ; Store, output, make, build, run
  431.   SetMineral(0 0 0 0 0)       ; Store, output, make, build, run
  432.   SetPower(0 0 0 0 0)        ; Store, output, make, build, run
  433.   SetWater(0 0 0 0 0)         ; Store, output, make, build, run
  434.   SetCost(500 10)
  435.   ActivePart(AntiAirSite 48 40 none 0 0 none 0 0 none 0 0)
  436.   CanCommunicate()
  437. }
  438.  
  439. DefineBuildingType(it)
  440. {
  441.   SetBuildingImages(cimptg0.spr cimptg1.spr itiso.spr)
  442.   SetDescription(Imp_Temporal_Gate)
  443.   SetPrerequisite(0 20 16 1 0 0)              ;; Prerequisite building
  444.   SetSide(1)
  445.   SetCPULoad(10)
  446.   SetBay(1 1)
  447.   SetHitpoints(1650 800)
  448.   SetSeeingRange(12)         ;; Radius in tiles for a building to see
  449.   SetSeeingHeight(1)         ;; Height for a building to see from
  450.   SetEnergy(0 0 0 0 0)        ; Store, output, make, build, run
  451.   SetChemical(0 0 0 0 0)      ; Store, output, make, build, run
  452.   SetMineral(0 0 0 0 0)       ; Store, output, make, build, run
  453.   SetPower(0 0 0 0 0)        ; Store, output, make, build, run
  454.   SetWater(0 0 0 0 0)         ; Store, output, make, build, run
  455.   SetCost(500 10)
  456.   SetRooms(10 6)                ;; Number of rooms, max entry weight per room
  457.   IsTeleport(20)                ;; number of seconds for charge up
  458. }
  459.  
  460. DefineBuildingType(iu)
  461. {
  462.   SetBuildingImages(mimpunt0.spr mimpunt1.spr iuiso.spr)
  463.   SetDescription(Imp_Unit_Training)
  464.   SetPrerequisite(0 6 0 0 0 0)              ;; Prerequisite building
  465.   SetSide(1)
  466.   SetCPULoad(10)
  467.   SetBay(2 1)
  468.   SetHitpoints(1650 800)
  469.   SetSeeingRange(12)         ;; Radius in tiles for a building to see
  470.   SetSeeingHeight(1)         ;; Height for a building to see from
  471.   SetEnergy(0 0 0 0 0)        ; Store, output, make, build, run
  472.   SetChemical(0 0 0 0 0)      ; Store, output, make, build, run
  473.   SetMineral(0 0 0 0 0)       ; Store, output, make, build, run
  474.   SetPower(0 0 0 0 0)        ; Store, output, make, build, run
  475.   SetWater(0 0 0 0 0)         ; Store, output, make, build, run
  476.   SetCost(500 10)
  477.   CanPark()
  478.   CanMake()
  479. }
  480.  
  481. DefineBuildingType(iv)
  482. {
  483.   SetBuildingImages(dimpadv0.spr dimpadv1.spr iviso.spr)
  484.   SetDescription(Imp_Advanced_Tech_Centre)
  485.   SetPrerequisite(0 16 1 8 0 0)              ;; Prerequisite building
  486.   SetSide(1)
  487.   SetCPULoad(10)
  488.   SetBay(2 2)
  489.   SetHitpoints(1650 800)
  490.   SetSeeingRange(12)         ;; Radius in tiles for a building to see
  491.   SetSeeingHeight(1)         ;; Height for a building to see from
  492.   SetEnergy(0 0 0 0 0)        ; Store, output, make, build, run
  493.   SetChemical(0 0 0 0 0)      ; Store, output, make, build, run
  494.   SetMineral(0 0 0 0 0)       ; Store, output, make, build, run
  495.   SetPower(0 0 0 0 0)        ; Store, output, make, build, run
  496.   SetWater(0 0 0 0 0)         ; Store, output, make, build, run
  497.   SetCost(500 10)
  498. }
  499.  
  500. ;
  501. ; Buildings common to all sides.
  502. ;
  503.  
  504. DefineBuildingType(ar)
  505. {
  506.   SetBuildingImages(carmry0.spr carmry1.spr ariso.spr)
  507.   SetDescription(Armoury)
  508.   SetPrerequisite(0 8 7 0 0 0)              ;; Prerequisite building
  509.   SetSide(-1)
  510.   SetCPULoad(10)
  511.   SetBay(1 2)
  512.   SetHitpoints(1650 800)
  513.   SetSeeingRange(12)         ;; Radius in tiles for a building to see
  514.   SetSeeingHeight(1)         ;; Height for a building to see from
  515.   SetEnergy(0 0 0 0 0)        ; Store, output, make, build, run
  516.   SetChemical(0 0 0 0 0)      ; Store, output, make, build, run
  517.   SetMineral(0 0 0 0 0)       ; Store, output, make, build, run
  518.   SetPower(0 0 0 0 0)        ; Store, output, make, build, run
  519.   SetWater(0 0 0 0 0)         ; Store, output, make, build, run
  520.   SetCost(500 10)
  521.   CanRearm()
  522. }
  523.  
  524. DefineBuildingType(ca)
  525. {
  526.   SetBuildingImages(rcamera0.spr rcamera1.spr caiso.spr)
  527.   SetDescription(Camera)
  528.   SetPrerequisite(0 12 18 0 0 0)              ;; Prerequisite building
  529.   SetSide(-1)
  530.   SetCPULoad(10)
  531.   SetBay(-1 -1)
  532.   SetHitpoints(1650 800)
  533.   SetSeeingRange(12)         ;; Radius in tiles for a building to see
  534.   SetSeeingHeight(1)         ;; Height for a building to see from
  535.   SetEnergy(0 0 0 0 0)        ; Store, output, make, build, run
  536.   SetChemical(0 0 0 0 0)      ; Store, output, make, build, run
  537.   SetMineral(0 0 0 0 0)       ; Store, output, make, build, run
  538.   SetPower(0 0 0 0 0)        ; Store, output, make, build, run
  539.   SetWater(0 0 0 0 0)         ; Store, output, make, build, run
  540.   SetCost(500 10)
  541.   CanCommunicate()
  542. }
  543.  
  544. DefineBuildingType(ho)
  545. {
  546.   SetBuildingImages(chosp0.spr chosp1.spr hoiso.spr)
  547.   SetDescription(Hospital)
  548.   SetPrerequisite(0 9 6 0 0 0)              ;; Prerequisite building
  549.   SetSide(-1)
  550.   SetCPULoad(10)
  551.   SetBay(1 1)
  552.   SetHitpoints(1650 800)
  553.   SetSeeingRange(12)         ;; Radius in tiles for a building to see
  554.   SetSeeingHeight(1)         ;; Height for a building to see from
  555.   SetEnergy(0 0 0 0 0)        ; Store, output, make, build, run
  556.   SetChemical(0 0 0 0 0)      ; Store, output, make, build, run
  557.   SetMineral(0 0 0 0 0)       ; Store, output, make, build, run
  558.   SetPower(0 0 0 0 0)        ; Store, output, make, build, run
  559.   SetWater(0 0 0 0 0)         ; Store, output, make, build, run
  560.   SetCost(500 10)
  561.   CanPark()
  562.   CanRepair()
  563. }
  564.  
  565. DefineBuildingType(lp)
  566. {
  567.   SetBuildingImages(ewlunch0.spr ewlunch1.spr lpiso.spr)
  568.   SetDescription(Water_Launch_Pad)
  569.   SetPrerequisite(0 5 0 0 0 0)              ;; Prerequisite building
  570.   SetSide(-1)
  571.   SetCPULoad(10)
  572.   SetBay(3 1)
  573.   SetHitpoints(1650 800)
  574.   SetSeeingRange(12)         ;; Radius in tiles for a building to see
  575.   SetSeeingHeight(1)         ;; Height for a building to see from
  576.   SetEnergy(0 0 0 0 0)       ; Store, output, make, build, run
  577.   SetChemical(0 0 0 0 0)     ; Store, output, make, build, run
  578.   SetMineral(0 0 0 0 0)      ; Store, output, make, build, run
  579.   SetPower(0 0 0 0 0)       ; Store, output, make, build, run
  580.   SetWater(2000 0 0 0 0)     ; Store, output, make, build, run
  581.   SetCost(500 10)
  582.   CanLand()
  583. }
  584.  
  585. DefineBuildingType(mn)
  586. {
  587.   SetBuildingImages(dmine0.spr dmine1.spr mniso.spr)
  588.   SetDescription(Mine)
  589.   SetPrerequisite(0 2 4 0 0 0)              ;; Prerequisite building
  590.   SetSide(-1)
  591.   SetCPULoad(10)
  592.   SetBay(0 2)
  593.   SetHitpoints(1650 800)
  594.   SetSeeingRange(12)         ;; Radius in tiles for a building to see
  595.   SetSeeingHeight(1)         ;; Height for a building to see from
  596.   SetEnergy(0 0 0 0 0)       ; Store, output, make, build, run
  597.   SetChemical(0 0 0 0 0)     ; Store, output, make, build, run
  598.   SetMineral(2000 0 10 0 0)  ; Store, output, make, build, run
  599.   SetPower(0 0 0 0 0)       ; Store, output, make, build, run
  600.   SetWater(0 0 0 0 0)        ; Store, output, make, build, run
  601.   SetCost(500 10)
  602.   CanRearm()
  603.   CanRefuel()
  604. }
  605.  
  606. DefineBuildingType(pp)
  607. {
  608.   SetBuildingImages(mpowerp0.spr mpowerp1.spr ppiso.spr)
  609.   SetDescription(Power_Plant)
  610.   SetPrerequisite(0 4 0 0 0 0)              ;; Prerequisite building
  611.   SetSide(-1)
  612.   SetCPULoad(10)
  613.   SetBay(1 1)
  614.   SetHitpoints(1650 800)
  615.   SetSeeingRange(12)         ;; Radius in tiles for a building to see
  616.   SetSeeingHeight(1)         ;; Height for a building to see from
  617.   SetEnergy(0 0 0 0 0)              ; Store, output, make, build, run
  618.   SetChemical(0 0 0 0 0)            ; Store, output, make, build, run
  619.   SetMineral(2000 0 0 0 10)         ; Store, output, make, build, run
  620.   SetPower(2000 2000 10 0 0)        ; Store, output, make, build, run
  621.   SetWater(0 0 0 0 0)               ; Store, output, make, build, run
  622.   SetCost(500 10)
  623. }
  624.  
  625. DefineBuildingType(re)
  626. {
  627.   SetBuildingImages(prepair0.spr prepair1.spr reiso.spr)
  628.   SetDescription(Repair_Bay)
  629.   SetPrerequisite(0 10 7 0 0 0)              ;; Prerequisite building
  630.   SetSide(-1)
  631.   SetCPULoad(10)
  632.   SetBay(1 1)
  633.   SetHitpoints(1650 800)
  634.   SetSeeingRange(12)         ;; Radius in tiles for a building to see
  635.   SetSeeingHeight(1)         ;; Height for a building to see from
  636.   SetEnergy  (0 0 0 0 0)         ; Store, output, make, build, run
  637.   SetChemical(0 0 0 0 0)         ; Store, output, make, build, run
  638.   SetMineral (0 0 0 0 0)         ; Store, output, make, build, run
  639.   SetPower   (0 0 0 0 0)        ; Store, output, make, build, run
  640.   SetWater   (0 0 0 0 0)         ; Store, output, make, build, run
  641.   SetCost(500 10)
  642.   CanRepair()
  643.   CanRefuel()
  644.   CanRearm()
  645. }
  646.  
  647. DefineBuildingType(ww)
  648. {
  649.   SetBuildingImages(mwater0.spr mwater1.spr wwiso.spr)
  650.   SetDescription(Water_Well)
  651.   SetPrerequisite(0 3 5 0 0 0)              ;; Prerequisite building
  652.   SetSide(-1)
  653.   SetCPULoad(10)
  654.   SetBay(3 1)
  655.   SetHitpoints(1650 800)
  656.   SetSeeingRange(12)         ;; Radius in tiles for a building to see
  657.   SetSeeingHeight(1)         ;; Height for a building to see from
  658.   SetEnergy(0 0 0 0 0)             ; Store, output, make, build, run
  659.   SetChemical(0 0 0 0 0)           ; Store, output, make, build, run
  660.   SetMineral(0 0 0 0 0)            ; Store, output, make, build, run
  661.   SetPower(0 0 0 0 0)             ; Store, output, make, build, run
  662.   SetWater(2000 0 10 0 0)          ; Store, output, make, build, run
  663.   SetCost(500 10)
  664. }
  665.