1(game-module "battles" 2 (title "Star Fleet Battles") 3 (version "1.00") 4 (blurb "Just a test of item units.") 5 (variants 6 (sequential true) 7 (world-seen true) 8 (see-all false) 9 ) 10 11 ) 12 13(set terrain-seen true) 14(set indepside-has-ai false) 15(set protection-resists-capture false) 16(set self-required true) 17 18 19;; Each system produces 3/2/1/0 Ship Status points, giving the player some idea of how well the ship is functioning, as well as, maybe, providing the AI with a reason to flee. 20 21;; Skeleton-crewed ships (Captured and ST3) with reduced effectiveness of occupants as well as reduced ACP from eng 22;; Consumption-per-attack of marines? 23 24;; SHIPS 25 26(unit-type enterprise (name "Constitution Class") (image-name "kb-st-ship-enterprise") 27 (acp-per-turn 0) (hp-max 100) (vision-range 1) (acp-to-fire 5) (range 5) 28 (point-value 50) 29 (help "A Constitution class cruiser. Fast and durable, it is the workhorse of the Federation fleet.")) 30 31(unit-type reliant (name "Miranda Class") (image-name "kb-st-ship-reliant") 32 (acp-per-turn 0) (hp-max 70) (vision-range 1) (acp-to-fire 5) (range 5) 33 (point-value 40) 34 (help "A Miranda class light cruiser. Still a powerful combat vessel, but relying more on manueverability than firepower to overcome opponents.")) 35 36(unit-type excelsior (name "Excelsior Class") (image-name "kb-st-ship-excelsior") 37 (acp-per-turn 0) (hp-max 150) (vision-range 1) (acp-to-fire 5) (range 5) 38 (point-value 60) 39 (help "An Excelsior class battlecruiser. The most powerful Federation starship in regular service.")) 40 41(unit-type oberth (name "Oberth Class") (image-name "kb-st-ship-oberth") 42 (acp-per-turn 0) (hp-max 30) (vision-range 1) 43 (point-value 20) 44 (help "An Oberth class research vessel. Lightly shielded and poorly armed, but equipped with powerful sensors.")) 45 46(unit-type ktinga (name "K'Tinga Class") (image-name "kb-kling-ship-ktinga") 47 (acp-per-turn 0) (hp-max 85) (vision-range 1) (acp-to-fire 5) (range 5) 48 (point-value 50) 49 (help "A K'Tinga class heavy cruiser. This is a modern, heavy Klingon Warship. Not quite as resiliant or well-armed as an Enterprise-class starship but equipped with a cloaking device.")) 50 51(unit-type d7 (name "D7 Class") (image-name "kb-kling-ship-d7") 52 (acp-per-turn 0) (hp-max 60) (vision-range 1) (acp-to-fire 5) (range 5) 53 (point-value 30) 54 (help "A D7 class cruiser. An older ship, once considered a heavy cruiser, still maintained within the Klingon fleet for picket and homeguard duty.")) 55 56(unit-type bop (name "Bird of Prey Class") (image-name "kb-kling-ship-bop") 57 (acp-per-turn 0) (hp-max 30) (vision-range 1) (acp-to-fire 5) (range 5) 58 (point-value 20) 59 (help "A Bird of Prey class patrol ship. A small ship, lightly armed, that can be a potent combat vessel with liberal use of its cloaking device.")) 60 61(unit-type cloaked-ktinga (name "Cloaked K'Tinga Class") (image-name "kb-kling-cloak-ktinga") 62 (acp-per-turn 0) (hp-max 85) (vision-range 1) 63 (point-value 50) 64 (help "A cloaked K'Tinga class heavy cruiser. While cloaked this ship gains no protection from shields and cannot fire weaponry, but is very hard to spot.")) 65 66(unit-type cloaked-d7 (name "Cloaked D7 Class") (image-name "kb-kling-cloak-d7") 67 (acp-per-turn 0) (hp-max 60) (vision-range 1) 68 (point-value 30) 69 (help "A cloaked D7 class cruiser. While cloaked this ship gains no protection from shields and cannot fire weaponry, but is very hard to spot.")) 70 71(unit-type cloaked-bop (name "Cloaked Bird of Prey Class") (image-name "kb-kling-cloak-bop") 72 (acp-per-turn 0) (hp-max 30) (vision-range 1) (acp-to-fire 5) (range 3) 73 (point-value 20) 74 (help "A cloaked Bird of Prey class patrol ship. While cloaked this ship gains no protection from shields and cannot fire weaponry, but is very hard to spot.")) 75 76(unit-type transport (name "Transport") (image-name "kb-st-ship-transport") 77 (acp-per-turn 0) (hp-max 20) (vision-range 1) 78 (point-value 10) 79 (help "A transport vessel.")) 80 81;; STATIONS 82 83(unit-type fedstation1 (name "Outpost") (image-name "kb-st-station-ds9") 84 (acp-per-turn 0) (hp-max 200) (vision-range 1) 85 (point-value 80) 86 (help "A deep space station with full defensive capabilities and heavy shields. Should only be approached with a fleet intent on assault. Can only be captured by ships of heavy cruiser or higher class.")) 87 88(unit-type research (name "Research Station") (image-name "kb-st-station-research") 89 (acp-per-turn 0) (hp-max 100) (vision-range 1) 90 (point-value 40) 91 (help "A Federation research station.")) 92 93(unit-type pt (name "Photon Torpedo") (image-name "kb-explosion-orange") 94 (acp-per-turn 6) (hp-max 1) (vision-range 0) (cp 1) 95 (point-value 0) (detonate-on-death 100) (acp-to-detonate 1) (hp-per-detonation 1) 96 (help "Photon torpedoes. They can cause heavy damage to enemy ships but aren't as accurate as beam weapons.")) 97 98(unit-type fedmarker (name "Ship") (image-name "ba-sensor-contact") 99 (acp-independent true) (hp-max 1) 100 (point-value 50) 101 (help "A mass with emitting energy and having the characteristics of a ship seen at long range.")) 102 103(unit-type fedmarker-1 (name "Unidentified Mass") (image-name "ba-sensor-contact-1") 104 (acp-independent true) (hp-max 1) 105 (point-value 50) 106 (help "A mass with no energy readings seen at long range. Likely a hulk with an ejected core.")) 107 108(unit-type fedmarker-2 (name "Unstable Energy Readings") (image-name "ba-sensor-contact-2") 109 (acp-independent true) (hp-max 1) 110 (point-value 50) 111 (help "A mass with strange energy readings seen at long range. Likely a hulk with an reactor core at critical levels.") 112) 113 114(unit-type victorypoint (name "Victory Point") (image-name "ba-vp-blue") 115 (acp-independent true) (hp-max 7) 116 (point-value 1) (see-always true) 117 (help "Capture these to win in a Conquest game.")) 118 119 120;; Operational Systems Types 121 122(unit-type phaser (name "Phaser Bank") (image-name "ba-ray-green") 123 (acp-per-turn 2) (hp-max 10) (vision-range 0) (acp-to-fire 1) (range 8) 124 (point-value 3) (detonate-on-death 5) (hit-falloff-range 3) 125 (ai-tactical-range 8) 126 (help "A fully-operational phaser bank.")) 127 128(unit-type disruptor (name "Light Disruptor") (image-name "ba-3dash-green") 129 (acp-per-turn 3) (hp-max 10) (vision-range 0) (acp-to-fire 1) (range 5) 130 (point-value 3) (detonate-on-death 5) (hit-falloff-range 2) 131 (ai-tactical-range 5) 132 (help "A fully-operational phaser bank.")) 133 134(unit-type ptlauncher (name "Better Photon Torpedo Launcher") (image-name "ba-ray-green") 135 (acp-per-turn 1) (hp-max 10) (vision-range 0) (hit-falloff-range 3) 136 (point-value 3) 137 (help "A fully-operational photon torpedo launcher.")) 138 139(unit-type ptlauncher1 (name "Photon Torpedo Launcher") (image-name "ba-star-green") 140 (acp-per-turn 3) (acp-max 9) (hp-max 10) (vision-range 0) (acp-to-fire 6) (range 6) 141 (point-value 3) (detonate-on-death 3) 142 (ai-tactical-range 6) 143 (help "A fully-operational photon torpedo launcher.")) 144 145(unit-type sensors (name "Sensors") (image-name "ba-sensors-green") 146 (acp-independent true) (hp-max 10) (vision-range 12) 147 (point-value 3) 148 (help "Ship's tactical sensors, without which it is practically blind.")) 149 150(unit-type lrsensors (name "LR Sensors") (image-name "ba-sensors-green") 151 (acp-independent true) (hp-max 10) (vision-range 35) 152 (point-value 3) 153 (help "Ship's long-range sensors, giving general information about distant vessels.")) 154 155(unit-type damagecontrol (name "Medical and Damage Control") (image-name "ba-cross-green") 156 (acp-independent true) (hp-max 10) (vision-range 0) 157 (point-value 3) 158 (help "The repair systems of a ship, to keep it and its crew spaceworthy.")) 159 160(unit-type engineering (name "Engineering Section") (image-name "ba-wrench-green") 161 (acp-independent true) (hp-max 10) (vision-range 0) 162 (point-value 3) (detonate-on-death 5) 163 (help "The bowels of a ship, for its longterm health.")) 164 165(unit-type shield (name "Shields") (image-name "ba-oval-green") 166 (acp-independent true) (hp-max 50) (vision-range 0) 167 (point-value 3) 168 (help "Particle and ray shielding to protect a ship from enemy fire.")) 169 170(unit-type lshield (name "Shields") (image-name "ba-oval-green") 171 (acp-independent true) (hp-max 30) (vision-range 0) 172 (point-value 3) 173 (help "Particle and ray shielding to protect a ship from enemy fire.")) 174 175(unit-type hshield (name "Shields") (image-name "ba-oval-green") 176 (acp-independent true) (hp-max 75) (vision-range 0) 177 (point-value 5) 178 (help "Particle and ray shielding to protect a ship from enemy fire.")) 179 180(unit-type hphaser (name "Heavy Phaser Bank") (image-name "ba-ray-green") 181 (acp-per-turn 2) (hp-max 20) (vision-range 0) (acp-to-fire 1) (range 10) 182 (point-value 5) (detonate-on-death 5) (hit-falloff-range 4) 183 (ai-tactical-range 10) 184 (help "A fully-operational heavy phaser bank. Longer-ranged and deadlier.")) 185 186(unit-type hdisruptor (name "Heavy Disruptor") (image-name "ba-2dash-green") 187 (acp-per-turn 2) (hp-max 20) (vision-range 0) (acp-to-fire 1) (range 6) 188 (point-value 5) (detonate-on-death 5) (hit-falloff-range 4) 189 (ai-tactical-range 6) 190 (help "A fully-operational heavy disruptor. Longer-ranged and deadlier.")) 191 192(unit-type constructbay (name "Construction Bay") (image-name "ba-wrench-green") 193 (acp-per-turn 1) (hp-max 20) (vision-range 0) 194 (point-value 0) (colonizer true) 195 (help "For repairing destroyed systems and building new ships.")) 196 197 198;; Damaged Systems Types 199 200(unit-type damphaser (name "Damaged Phaser Bank") (image-name "ba-ray-yellow") 201 (acp-per-turn 1) (hp-max 10) (vision-range 0) (acp-to-fire 1) (range 8) 202 (point-value 2) (auto-upgrade-to phaser) (detonate-on-death 5) (hit-falloff-range 3) 203 (ai-tactical-range 8) 204 (help "A damaged phaser bank with reduced range, reduced power and able to get off only one shot a turn.")) 205 206(unit-type damdisruptor (name "Damaged Light Disruptor") (image-name "ba-3dash-yellow") 207 (acp-per-turn 2) (hp-max 10) (vision-range 0) (acp-to-fire 1) (range 5) 208 (point-value 2) (detonate-on-death 5) (hit-falloff-range 2) (auto-upgrade-to disruptor) 209 (ai-tactical-range 5) 210 (help "A damaged disruptor.")) 211 212(unit-type damptlauncher1 (name "Damaged Photon Torpedo Launcher") (image-name "ba-star-yellow") 213 (acp-per-turn 2) (acp-max 9) (hp-max 10) (vision-range 0) (acp-to-fire 6) (range 6) 214 (point-value 3) (detonate-on-death 3) (auto-upgrade-to ptlauncher1) (hit-falloff-range 3) 215 (ai-tactical-range 6) 216 (help "A damaged photon torpedo launcher.")) 217 218(unit-type damsensors (name "Damaged Sensors") (image-name "ba-sensors-yellow") 219 (acp-independent true) (hp-max 10) (vision-range 5) 220 (point-value 2) (auto-upgrade-to sensors) 221 (help "Damaged ship's sensors, with only half the range.")) 222 223(unit-type damlrsensors (name "Damaged LR Sensors") (image-name "ba-sensors-yellow") 224 (acp-independent true) (hp-max 10) (vision-range 18) 225 (point-value 2) (auto-upgrade-to lrsensors) 226 (help "Damaged long-range sensors, with only half the range.")) 227 228(unit-type damdamagecontrol (name "Damaged Medical and Damage Control") (image-name "ba-cross-yellow") 229 (acp-independent true) (hp-max 10) (vision-range 0) 230 (point-value 2) (auto-upgrade-to damagecontrol) 231 (help "Damaged repair systems of a ship, reduced to half capability.")) 232 233(unit-type damengineering (name "Damaged Engineering Section") (image-name "ba-wrench-yellow") 234 (acp-independent true) (hp-max 10) (vision-range 0) 235 (point-value 2) (auto-upgrade-to engineering) (detonate-on-death 5) 236 (help "Damaged reactors and overtaxed engineering crews, reduced to half capability.")) 237 238 239(unit-type damshield (name "Damaged Shields") (image-name "ba-oval-yellow") 240 (acp-independent true) (hp-max 25) (vision-range 0) 241 (point-value 2) (auto-upgrade-to shield) 242 (help "Damaged particle and ray shielding, only half strength.")) 243 244(unit-type damlshield (name "Damaged Shields") (image-name "ba-oval-yellow") 245 (acp-independent true) (hp-max 15) (vision-range 0) 246 (point-value 2) (auto-upgrade-to lshield) 247 (help "Damaged particle and ray shielding, only half strength.")) 248 249(unit-type damhshield (name "Damaged Shields") (image-name "ba-oval-yellow") 250 (acp-independent true) (hp-max 40) (vision-range 0) 251 (point-value 5) (auto-upgrade-to hshield) 252 (help "Particle and ray shielding to protect a ship from enemy fire.")) 253 254(unit-type damhphaser (name "Damaged Heavy Phaser Bank") (image-name "ba-ray-yellow") 255 (acp-per-turn 1) (hp-max 20) (vision-range 0) (acp-to-fire 1) (range 10) 256 (point-value 3) (detonate-on-death 5) (hit-falloff-range 4) 257 (ai-tactical-range 10) 258 (help "Damaged particle and ray shielding, only half strength.")) 259 260 261;; KO'd Systems Types 262 263(unit-type kophaser (name "Knocked Out Phaser Bank") (image-name "ba-ray-red") 264 (acp-independent true) (hp-max 5) (vision-range 0) 265 (point-value 1) (auto-upgrade-to damphaser) (detonate-on-death 5) 266 (help "A knocked-out phaser bank. Unable to fire but still reparable.")) 267 268(unit-type kodisruptor (name "Knocked Out Light Disruptor") (image-name "ba-3dash-red") 269 (acp-independent true) (hp-max 5) (vision-range 0) 270 (point-value 1) (detonate-on-death 5) (auto-upgrade-to damdisruptor) 271 (help "A knocked-out disruptor.")) 272 273(unit-type koptlauncher1 (name "Damaged Photon Torpedo Launcher") (image-name "ba-star-red") 274 (acp-independent true) (hp-max 5) (vision-range 0) 275 (point-value 1) (auto-upgrade-to ptlauncher1) 276 (help "A knocked-out photon torpedo launcher.")) 277 278(unit-type kosensors (name "Knocked Out Sensors") (image-name "ba-sensors-red") 279 (acp-independent true) (hp-max 5) (vision-range 3) 280 (point-value 1) (auto-upgrade-to damsensors) 281 (help "Knocked out ship's sensors. Barely operational, with spotty results but still reparable.")) 282 283(unit-type kolrsensors (name "Knocked Out LR Sensors") (image-name "ba-sensors-red") 284 (acp-independent true) (hp-max 5) (vision-range 0) 285 (point-value 1) (auto-upgrade-to damlrsensors) 286 (help "Knocked out long-range sensors. Not operational but reparable.")) 287 288(unit-type kodamagecontrol (name "Knocked Out Medical and Damage Control") (image-name "ba-cross-red") 289 (acp-independent true) (hp-max 5) (vision-range 0) 290 (point-value 1) (auto-upgrade-to damdamagecontrol) 291 (help "The repair systems of a ship, barely able to keep itself together, much less the rest of the ship.")) 292 293(unit-type koengineering (name "Knocked Out Engineering Section") (image-name "ba-wrench-red") 294 (acp-independent true) (hp-max 5) (vision-range 0) 295 (point-value 1) (auto-upgrade-to damengineering) (detonate-on-death 5) 296 (help "The foundations of a ship reduced to utter chaos.")) 297 298(unit-type koshield (name "Knocked Out Shields") (image-name "ba-oval-red") 299 (acp-independent true) (hp-max 5) (vision-range 0) 300 (point-value 1) (auto-upgrade-to damshield) 301 (help "Particle and ray shielding. Failing but still reparable.")) 302 303(unit-type kolshield (name "Knocked Out Shields") (image-name "ba-oval-red") 304 (acp-independent true) (hp-max 5) (vision-range 0) 305 (point-value 1) (auto-upgrade-to damlshield) 306 (help "Particle and ray shielding. Failing but still reparable.")) 307 308(unit-type kohshield (name "Knocked Out Shields") (image-name "ba-oval-red") 309 (acp-independent true) (hp-max 10) (vision-range 0) 310 (point-value 1) (auto-upgrade-to damhshield) 311 (help "Particle and ray shielding. Failing but still reparable.")) 312 313(unit-type kohphaser (name "Knocked Out Heavy Phaser Bank") (image-name "ba-ray-red") 314 (acp-independent true) (hp-max 10) (vision-range 0) 315 (point-value 2) (detonate-on-death 5) 316 (help "A knocked-out heavy phaser bank.")) 317 318 319;; Destroyed Systems Types 320 321(unit-type desphaser (name "Destroyed Phaser Bank") (image-name "ba-ray-black") 322 (acp-independent true) (hp-max 1) (vision-range 0) 323 (point-value 0) 324 (help "An utterly destroyed phaser bank. Irreparable.")) 325 326(unit-type desdisruptor (name "Destroyed Light Disruptor") (image-name "ba-3dash-black") 327 (acp-independent true) (hp-max 1) (vision-range 0) 328 (point-value 0) 329 (help "A destroyed disruptor.")) 330 331(unit-type desptlauncher1 (name "Destroyed Photon Torpedo Launcher") (image-name "ba-star-black") 332 (acp-independent true) (hp-max 1) (vision-range 0) 333 (point-value 3) 334 (help "A destroyed photon torpedo launcher.")) 335 336(unit-type dessensors (name "Destroyed Sensors") (image-name "ba-sensors-black") 337 (acp-independent true) (hp-max 1) (vision-range 0) 338 (point-value 0) 339 (help "Destroyed ship's sensors. Irreparable.")) 340 341(unit-type deslrsensors (name "Destroyed LR Sensors") (image-name "ba-sensors-black") 342 (acp-independent true) (hp-max 1) (vision-range 0) 343 (point-value 0) 344 (help "Destroyed long-range sensors. Irreparable.")) 345 346 347(unit-type desdamagecontrol (name "Destroyed Medical and Damage Control") (image-name "ba-cross-black") 348 (acp-independent true) (hp-max 1) (vision-range 0) 349 (point-value 0) 350 (help "The destroyed repair systems of a ship. Irreparable.")) 351 352(unit-type desengineering (name "Destroyed Engineering Section") (image-name "ba-wrench-black") 353 (acp-independent true) (hp-max 1) (vision-range 0) 354 (point-value 0) 355 (help "Only a starbase can repair this.")) 356 357(unit-type desshield (name "Destroyed Shields") (image-name "ba-oval-black") 358 (acp-independent true) (hp-max 1) (vision-range 0) 359 (point-value 0) 360 (help "Destroyed particle and ray shielding. Irreparable.")) 361 362(unit-type deslshield (name "Destroyed Shields") (image-name "ba-oval-black") 363 (acp-independent true) (hp-max 1) (vision-range 0) 364 (point-value 0) 365 (help "Destroyed particle and ray shielding. Irreparable.")) 366 367(unit-type deshshield (name "Destroyed Shields") (image-name "ba-oval-black") 368 (acp-independent true) (hp-max 1) (vision-range 0) 369 (point-value 0) 370 (help "Destroyed particle and ray shielding. Irreparable.")) 371 372(unit-type deshphaser (name "Destroyed Heavy Phaser Bank") (image-name "ba-ray-black") 373 (acp-independent true) (hp-max 1) (vision-range 0) 374 (point-value 0) 375 (help "A destroyed heavy phaser bank.")) 376 377 378;; Off-line Systems Types 379 380(unit-type offphaser (name "Offline Phaser Bank") (image-name "ba-ray-tan") 381 (acp-independent true) (hp-max 4) (vision-range 0) (char "a") 382 (point-value 3) (wrecked-type kophaser) 383 (help "A deactivated phaser bank. It'll take 1-3 turns to come back on-line. If hit, it stands a good chance of fusing and goes immediately to knocked out.")) 384 385(unit-type offdisruptor (name "Offline Light Disruptor") (image-name "ba-3dash-tan") 386 (acp-independent true) (hp-max 4) (vision-range 0) (char "b") 387 (point-value 3) (wrecked-type kodisruptor) 388 (help "An offline disruptor.")) 389 390(unit-type offptlauncher1 (name "Offline Photon Torpedo Launcher") (image-name "ba-star-tan") 391 (acp-independent true) (hp-max 4) (vision-range 0) (char "c") 392 (point-value 3) (wrecked-type koptlauncher1) 393 (help "A fully-operational photon torpedo launcher.")) 394 395(unit-type offsensors (name "Offline Sensors") (image-name "ba-sensors-tan") 396 (acp-independent true) (hp-max 4) (vision-range 0) (char "d") 397 (point-value 3) (wrecked-type kosensors) 398 (help "Ship's tactical sensors, without which it is practically blind.")) 399 400(unit-type offlrsensors (name "Offline LR Sensors") (image-name "ba-sensors-tan") 401 (acp-independent true) (hp-max 4) (vision-range 0) (char "e") 402 (point-value 3) (wrecked-type kolrsensors) 403 (help "Ship's long-range sensors, giving general information about distant vessels.")) 404 405(unit-type offdamagecontrol (name "Offline Medical and Damage Control") (image-name "ba-cross-tan") 406 (acp-independent true) (hp-max 4) (vision-range 0) (char "f") 407 (point-value 3) (wrecked-type kodamagecontrol) 408 (help "The repair systems of a ship, to keep it and its crew spaceworthy.")) 409 410(unit-type offengineering (name "Offline Engineering Section") (image-name "ba-wrench-tan") 411 (acp-independent true) (hp-max 4) (vision-range 0) (char "g") 412 (point-value 3) (wrecked-type koengineering) 413 (help "The bowels of a ship, for its longterm health.")) 414 415(unit-type offshield (name "Offline Shields") (image-name "ba-oval-tan") 416 (acp-independent true) (hp-max 4) (vision-range 0) (char "h") 417 (point-value 3) (wrecked-type koshield) 418 (help "Deactivated shielding. It'll take 1-5 turns to come back on-line. If hit, it stands a good chance of fusing and goes immediately to knocked out..")) 419 420(unit-type offlshield (name "Offline Shields") (image-name "ba-oval-tan") 421 (acp-independent true) (hp-max 4) (vision-range 0) (char "i") 422 (point-value 3) (wrecked-type kolshield) 423 (help "Deactivated shielding. It'll take 1-5 turns to come back on-line. If hit, it stands a good chance of fusing and goes immediately to knocked out..")) 424 425(unit-type offhshield (name "Offline Shields") (image-name "ba-oval-tan") 426 (acp-independent true) (hp-max 4) (vision-range 0) (char "j") 427 (point-value 3) (wrecked-type kohshield) 428 (help "Deactivated shielding. It'll take 1-5 turns to come back on-line. If hit, it stands a good chance of fusing and goes immediately to knocked out..")) 429 430(unit-type offhphaser (name "Offline Heavy Phaser Bank") (image-name "ba-ray-tan") 431 (acp-independent true) (hp-max 8) (vision-range 0) (char "k") 432 (point-value 0) 433 (help "An offline heavy phaser bank.")) 434 435;; Hulks 436 437(unit-type p-exhulk (name "Excelsior Class Hulk (H)")(image-name "kb-st-smold-excelsior") 438 (acp-independent true) (hp-max 1) (vision-range 0) 439 (point-value 0) 440 (help "A destroyed Excelsior class battlecruiser. Considered hot and may explode at any moment.")) 441 442(unit-type p-enthulk (name "Constitution Class Hulk (H)") (image-name "kb-st-smold-enterprise") 443 (acp-independent true) (hp-max 1) (vision-range 0) 444 (point-value 0) (hp-per-detonation 100) 445 (help "A destroyed Constitution class cruiser. Considered hot and may explode at any moment.")) 446 447(unit-type p-relhulk (name "Miranda Class Hulk (H)") (image-name "kb-st-smold-reliant") 448 (acp-independent true) (hp-max 1) (vision-range 0) 449 (point-value 0) (hp-per-detonation 100) 450 (help "A destroyed Miranda class light cruiser. Considered hot and may explode at any moment.")) 451 452(unit-type p-fshulk1 (name "Smashed Outpost (H)") (image-name "kb-st-smold-ds9") 453 (acp-independent true) (hp-max 1) (vision-range 0) 454 (point-value 0) (hp-per-detonation 100) 455 (help "A destroyed Federation outpost. Considered hot and may explode at any moment.")) 456 457(unit-type p-rshulk1 (name "Smashed Research Station (H)") (image-name "kb-st-smold-research") 458 (acp-independent true) (hp-max 1) (vision-range 0) 459 (point-value 0) (hp-per-detonation 100) 460 (help "A destroyed Federation research station. Considered hot and may explode at any moment.")) 461 462(unit-type p-obhulk (name "Oberth Class Hulk (H)") (image-name "kb-st-smold-oberth") 463 (acp-per-turn 0) (hp-max 1) (vision-range 0) 464 (point-value 0) (hp-per-detonation 100) 465 (help "An Oberth class research vessel. Lightly shielded and poorly armed, but equipped with powerful sensors.")) 466 467(unit-type p-kthulk (name "K'Tinga Class Hulk (H)") (image-name "kb-kling-smold-ktinga") 468 (acp-independent true) (hp-max 1) (vision-range 0) 469 (point-value 0) (hp-per-detonation 100) 470 (help "A destroyed K'Tinga class heavy cruiser. Considered hot and may explode at any moment.")) 471 472(unit-type p-d7hulk (name "D7 Class Hulk (H)") (image-name "kb-kling-smold-d7") 473 (acp-independent true) (hp-max 60) (vision-range 0) 474 (point-value 0) (hp-per-detonation 100) 475 (help "A destroyed D7 class cruiser. Considered hot and may explode at any moment.")) 476 477(unit-type p-bophulk (name "Bird of Prey Class Hulk (H)") (image-name "kb-kling-smold-bop") 478 (acp-independent true) (hp-max 1) (vision-range 0) 479 (point-value 0) (hp-per-detonation 100) 480 (help "A destroyed Bird of Prey class patrol ship. Cold, stable and salvagable.")) 481 482(unit-type exhulk (name "Excelsior Class Hulk (C)")(image-name "kb-st-wreck-excelsior") 483 (acp-independent true) (hp-max 1) (vision-range 0) 484 (point-value 0) 485 (help "A destroyed Excelsior class battlecruiser. Cold, stable and salvagable.")) 486 487(unit-type enthulk (name "Constitution Class Hulk (C)")(image-name ("kb-st-wreck-enterprise" 488 "kb-st-wreck-enterprise1" "kb-st-wreck-enterprise2")) 489 (acp-independent true) (hp-max 1) (vision-range 0) 490 (point-value 0) 491 (help "A destroyed Constitution class cruiser. Cold, stable and salvagable.")) 492 493(unit-type relhulk (name "Miranda Class Hulk (C)") (image-name ("kb-st-wreck-reliant" 494 "kb-st-wreck-reliant1" "kb-st-wreck-reliant2")) 495 (acp-independent true) (hp-max 1) (vision-range 0) 496 (point-value 0) 497 (help "A destroyed Miranda class light cruiser. Cold, stable and salvagable.")) 498 499(unit-type obhulk (name "Oberth Class Hulk (C)") (image-name "kb-st-wreck-oberth") 500 (acp-per-turn 0) (hp-max 1) (vision-range 0) 501 (point-value 0) 502 (help "An Oberth class research vessel. Lightly shielded and poorly armed, but equipped with powerful sensors.")) 503 504(unit-type fshulk1 (name "Smashed Outpost (C)") (image-name "kb-st-wreck-ds9") 505 (acp-independent true) (hp-max 1) (vision-range 0) 506 (point-value 0) 507 (help "A destroyed Federation outpost. Cold, stable and salvagable.")) 508 509(unit-type rshulk1 (name "Smashed Research Station (C)") (image-name "kb-st-wreck-research") 510 (acp-independent true) (hp-max 1) (vision-range 0) 511 (point-value 0) 512 (help "A destroyed Federation research station. Cold, stable and salvagable.")) 513 514(unit-type kthulk (name "K'Tinga Class Hulk (C)") (image-name "kb-kling-wreck-ktinga") 515 (acp-independent true) (hp-max 1) (vision-range 0) 516 (point-value 0) 517 (help "A destroyed K'Tinga class heavy cruiser. Cold, stable and salvagable.")) 518 519(unit-type d7hulk (name "D7 Class Hulk (C)") (image-name "kb-kling-wreck-d7") 520 (acp-independent true) (hp-max 1) (vision-range 0) 521 (point-value 0) 522 (help "A destroyed D7 class cruiser. Cold, stable and salvagable.")) 523 524(unit-type bophulk (name "Bird of Prey Class Hulk (C)") (image-name "kb-kling-wreck-bop") 525 (acp-independent true) (hp-max 1) (vision-range 0) 526 (point-value 0) 527 (help "A destroyed Bird of Prey class patrol ship. Cold, stable and salvagable.")) 528 529 530;; HULLS 531 532(unit-type exhull (name "Excelsior Class Hull")(image-name "kb-st-ship-excelsior") 533 (acp-per-turn 8) (hp-max 1) (vision-range 0) 534 (point-value 0) (auto-upgrade-to excelsior) 535 (help "A newly built Excelsior Class battlecruiser, about to bring its systems online.")) 536 537(unit-type enthull (name "Constitution Class Hull")(image-name "kb-st-ship-enterprise") 538 (acp-per-turn 8) (hp-max 1) (vision-range 0) 539 (point-value 0) (auto-upgrade-to enterprise) 540 (help "A newly built Constitution Class cruiser, about to bring its systems online.")) 541 542(unit-type relhull (name "Miranda Class Hull") (image-name "kb-st-ship-reliant") 543 (acp-per-turn 8) (hp-max 1) (vision-range 0) 544 (point-value 0) (auto-upgrade-to reliant) 545 (help "A newly built Miranda Class light cruiser, about to bring its systems online.")) 546 547(unit-type obhull (name "Oberth Class Hull") (image-name "kb-st-ship-oberth") 548 (acp-per-turn 8) (hp-max 1) (vision-range 0) 549 (point-value 0) (auto-upgrade-to oberth) 550 (help "A newly built Oberth class research vessel, about to bring its systems online.")) 551 552 553;; Strange Stuff 554 555(unit-type fedcpc (name "Fed Command Prefix Code") (image-name "ba-commands-tan") 556 (acp-per-turn 3) (acp-max 9) (hp-max 3) (vision-range 0) (acp-to-fire 4) (range 3) 557 (point-value 0) 558 (help "The code necessary to remotely command a Federation ship to take up to three systems off-line.")) 559 560(unit-type genesis (name "Genesis Device") (image-name "ba-commands-tan") 561 (acp-per-turn 1) (acp-max 1) (hp-max 1) (vision-range 0) (acp-to-detonate 1) 562 (point-value 0) (hp-per-detonation 100) 563 (help "Capable of producing a Genesis Wave, which uses unstable protomatter to create a habitable planet.")) 564 565(define ship-types (enterprise reliant d7 ktinga fedstation1 excelsior oberth research bop)) 566 567(add ship-types naval true) 568 569(define cloaked-ship-types (cloaked-d7 cloaked-ktinga cloaked-bop)) 570 571(define hulk-types (enthulk relhulk fshulk1 exhulk obhulk d7hulk kthulk bophulk)) 572 573(define hull-types (enthull relhull exhull obhull)) 574 575(define p-hulk-types (p-enthulk p-relhulk p-fshulk1 p-exhulk p-obhulk p-d7hulk p-kthulk p-bophulk)) 576 577(define operational-systems-types (phaser sensors damagecontrol engineering shield lrsensors 578 ptlauncher ptlauncher1 disruptor lshield hshield hphaser constructbay)) 579 580(define damaged-systems-types (damphaser damsensors damdamagecontrol damengineering damshield 581 damlrsensors damptlauncher1 damdisruptor damlshield damhshield damhphaser)) 582 583(define ko-systems-types (kophaser kosensors kodamagecontrol koengineering koshield 584 kolrsensors koptlauncher1 kodisruptor kolshield kohshield kohphaser)) 585 586(define destroyed-systems-types (desphaser dessensors desdamagecontrol desengineering desshield 587 deslrsensors desptlauncher1 desdisruptor deslshield deshshield deshphaser)) 588 589(define offline-systems-types (offphaser offsensors offdamagecontrol offengineering offshield 590 offlrsensors offptlauncher1 offdisruptor offlshield offhshield offhphaser)) 591 592 593(define all-systems-types (append operational-systems-types damaged-systems-types ko-systems-types destroyed-systems-types offline-systems-types)) 594 595(define ranged-weapon-types (phaser damphaser disruptor damdisruptor hphaser damhphaser)) 596 597(define shield-types (shield damshield lshield damlshield hshield damhshield)) 598 599;; MATERIAL 600 601(material-type repair (name "Repair Points") (image-name "ba-cross-green") 602 (help "Represents the ability to return a system to operability.")) 603 604(material-type torps (name "Photon Torpedoes") (image-name "ba-cross-red") 605 (help "Represents the torpedoes stored in a ship's magazine.")) 606 607(material-type si (name "Shield Integrity") (image-name "ba-cross-yellow") 608 (help "Represents a shield's current integrity.")) 609 610(material-type online (name "Online") (image-name "ba-cross-yellow") 611 (help "Represents an offline system's turns remaining before coming online.")) 612 613(material-type construction (name "Construction Points") (image-name "ba-cross-black") 614 (help "Represents a stations ability to rebuild destroyed systems or build a new hull.")) 615 616(material-type cloakable (name "Cloaking Device") (image-name "ba-cross-black") 617 (help "Represents a cloaking device's readiness.")) 618 619 620;; SYSTEM REPAIR 621 622(table unit-storage-x 623 (damaged-systems-types repair 10) 624 (ko-systems-types repair 10) 625 (damagecontrol repair 10) 626 627 (ptlauncher torps 1) 628 (pt torps 1) 629 (excelsior torps 80) 630 (enterprise torps 40) 631 (reliant torps 20) 632 (ktinga torps 20) 633 (d7 torps 20) 634 (cloaked-ktinga torps 20) 635 (cloaked-d7 torps 20) 636 637 ((d7 ktinga bop) cloakable 100) 638 639 (fedstation1 torps 500) 640 (constructbay construction 300) 641 642 (research torps 75) 643 644 (ptlauncher1 torps 3) 645 (damptlauncher1 torps 3) 646 647 (offline-systems-types online 1) 648 649;; (ship-types si 100) 650;; (shield si 6) 651;; (damshield si 6) 652 653 (fedcpc online 1) 654 655 (p-hulk-types online 1) 656 657 (oberth online 2) 658 659) 660 661(table supply-on-creation 662 (pt torps 1) 663 664 (excelsior torps 80) 665 (enterprise torps 40) 666 (reliant torps 20) 667 668 (offline-systems-types online 0) 669 670;; (ship-types si 100) 671 672;; (all-systems-types si 10) 673 674 (fedcpc online 0) 675 676 (fedstation1 torps 500) 677 (constructbay construction 50) 678 (research torps 75) 679 680 (oberth online 2) 681 682) 683 684(table unit-initial-supply 685 (pt torps 1) 686 687 (excelsior torps 80) 688 (enterprise torps 40) 689 (reliant torps 20) 690 691 (ktinga torps 20) 692 (d7 torps 20) 693 (cloaked-ktinga torps 20) 694 (cloaked-d7 torps 20) 695 696 (offline-systems-types online 0) 697 698;; (ship-types si 100) 699 700;; (all-systems-types si 10) 701 702 (fedcpc online 0) 703 704 (fedstation1 torps 500) 705 (constructbay construction 50) 706 (research torps 75) 707 708 (oberth online 2) 709 710) 711 712 713(table base-production 714 (damagecontrol repair 5) 715 (damdamagecontrol repair 3) 716 (kodamagecontrol repair 2) 717 718;; (ship-types si 5) 719 720 (fedcpc online 0) 721 722 (oberth online 2) 723 724 (constructbay construction 10) 725 726 ((ktinga d7) cloakable 34) 727 (bop cloakable 50) 728 729) 730 731(table base-consumption 732 733;; (shield si 6) 734;; (damshield si 6) 735 736 (offline-systems-types online 1) 737 738 (fedcpc online 1) 739 740 (p-hulk-types online 1) 741) 742 743(table hp-per-starve 744 745;; Generally takes 3 turns to bring systems online, sometimes less, sometimes more 746 747 (offline-systems-types online 150) 748 (fedcpc online 100) 749 750 (p-hulk-types online 25) 751) 752 753 754(table wrecked-type-if-starved 755 756 (offshield online shield) 757 (offphaser online phaser) 758 (offptlauncher1 online ptlauncher1) 759 (offsensors online sensors) 760 (offlrsensors online lrsensors) 761 (offengineering online engineering) 762 (offdamagecontrol online damagecontrol) 763 (offdisruptor online disruptor) 764 (offlshield online lshield) 765 (offhphaser online hphaser) 766 767 (p-relhulk online relhulk) 768 (p-enthulk online enthulk) 769 (p-exhulk online exhulk) 770 (p-fshulk1 online fshulk1) 771 (p-d7hulk online d7hulk) 772 (p-kthulk online kthulk) 773 (p-obhulk online obhulk) 774 (p-rshulk1 online rshulk1) 775 776 777) 778 779 780 781(table out-length 782 (u* repair -1) 783 (damagecontrol repair 0) 784 (damdamagecontrol repair 0) 785 786 (ship-types torps 0) 787;; (ship-types si 0) 788 789 (cloaked-ship-types torps 0) 790 791 (fedstation1 torps 1) 792 (research torps 1) 793 794) 795 796(table in-length 797 (ptlauncher torps 1) 798 (ptlauncher1 torps 1) 799 (damptlauncher1 torps 1) 800 801 (all-systems-types si 1) 802 803 (ship-types torps 0) 804 (cloaked-ship-types torps 0) 805 806) 807 808(table material-to-change-type 809 (damaged-systems-types repair 10) 810 (ko-systems-types repair 10) 811 ((d7 ktinga bop) cloakable 100) 812) 813 814(table occupants-to-change-type 815 (hull-types offengineering 1) 816 (hull-types offdamagecontrol 1) 817 (hull-types offsensors 1) 818 819 (enthull offphaser 2) 820 (enthull offptlauncher1 2) 821 (enthull offshield 2) 822 823 (relhull offphaser 1) 824 (relhull offptlauncher1 1) 825 (relhull offshield 1) 826 827 (exhull offptlauncher1 2) 828 (exhull offhphaser 2) 829 (exhull offhshield 1) 830 831 (obhull offphaser 1) 832 (obhull offlrsensors 1) 833 (obhull offlshield 1) 834 835 (ship-types engineering 1) 836) 837 838 839 840;; TERRAIN 841 842 843(terrain-type deepspace (image-name "ba-space") 844 (help "Deep space")) 845 846(terrain-type nebula (image-name "ba-neb") 847 (help "Static discharge causes shields to fail.")) 848 849(terrain-type corona (image-name "yellow") 850 (help "Heat and gravitic stress will damage a hull.")) 851 852(terrain-type star (image-name "orange") 853 (help "Nothing can survive the this terrain.")) 854 855(terrain-type inhospitable (image-name "gray") 856 (help "A planetoid or asteroid without the capability of sustaining life.")) 857 858(terrain-type hospitable (image-name "green") 859 (help "A planetoid or asteroid with the capability of sustaining life.")) 860 861 862(add deepspace liquid true) 863 864;;; Unit-unit capacities. 865 866 867(define non-combat-ship-types (oberth)) 868(define patrol-ship-types (bop)) 869(define light-cruiser-types (reliant d7 cloaked-d7)) 870(define heavy-cruiser-types (enterprise ktinga cloaked-ktinga)) 871(define battle-cruiser-types (excelsior)) 872(define station-types (fedstation1 research)) 873 874 875(add non-combat-ship-types capacity 13) 876(add patrol-ship-types capacity 13) 877(add light-cruiser-types capacity 15) 878(add heavy-cruiser-types capacity 17) 879(add battle-cruiser-types capacity 17) 880(add station-types capacity 17) 881 882(add hulk-types capacity 17) 883(add p-hulk-types capacity 17) 884 885(add hull-types capacity 17) 886 887(table unit-size-as-occupant 888 ;; Disable occupancy by default. 889 (u* u* 99) 890 (all-systems-types ship-types 2) 891 (all-systems-types cloaked-ship-types 2) 892 (all-systems-types station-types 2) 893 (all-systems-types hulk-types 2) 894 (all-systems-types p-hulk-types 2) 895 (all-systems-types hull-types 2) 896 (fedcpc ship-types 99) 897 (fedcpc oberth 1) 898 (genesis ship-types 1) 899 (genesis cloaked-ship-types 1) 900 901) 902 903(table occupant-max 904 905 (u* u* 0) 906 907 (hulk-types all-systems-types 99) 908 (p-hulk-types all-systems-types 99) 909 910 (u* damaged-systems-types 99) 911 (u* ko-systems-types 99) 912 (u* destroyed-systems-types 99) 913 (u* offline-systems-types 99) 914 915 (ship-types engineering 1) 916 (ship-types damagecontrol 1) 917 (ship-types sensors 1) 918 919 (hull-types offengineering 1) 920 (hull-types offdamagecontrol 1) 921 (hull-types offsensors 1) 922 923 (cloaked-ship-types engineering 1) 924 (cloaked-ship-types damagecontrol 1) 925 (cloaked-ship-types sensors 1) 926 927 (station-types engineering 0) 928 (station-types damagecontrol 1) 929 (station-types shield 1) 930 (station-types sensors 1) 931 (station-types lrsensors 1) 932 933 (fedstation1 hphaser 2) 934 (fedstation1 phaser 2) 935 (fedstation1 shield 0) 936 (fedstation1 hshield 1) 937 938 (research phaser 2) 939 (research constructbay 1) 940 941 (enterprise phaser 2) 942 (enterprise ptlauncher1 2) 943 (enterprise shield 1) 944 945 (enthull offphaser 2) 946 (enthull offptlauncher1 2) 947 (enthull offshield 2) 948 949 (reliant phaser 1) 950 (reliant ptlauncher1 1) 951 (reliant shield 1) 952 953 (relhull offphaser 1) 954 (relhull offptlauncher1 1) 955 (relhull offshield 1) 956 957 (excelsior ptlauncher1 2) 958 (excelsior hphaser 2) 959 (excelsior hshield 1) 960 961 (exhull offptlauncher1 2) 962 (exhull offhphaser 2) 963 (exhull offhshield 1) 964 965 (oberth phaser 1) 966 (oberth lrsensors 1) 967 (oberth lshield 1) 968 (oberth fedcpc 1) 969 970 (obhull offphaser 1) 971 (obhull offlrsensors 1) 972 (obhull offlshield 1) 973 974 (d7 disruptor 2) 975 (d7 ptlauncher1 1) 976 (d7 lshield 1) 977 978 (cloaked-d7 disruptor 2) 979 (cloaked-d7 ptlauncher1 1) 980 (cloaked-d7 lshield 1) 981 982 (bop disruptor 1) 983 (bop ptlauncher1 1) 984 (bop lshield 1) 985 986 (cloaked-bop disruptor 1) 987 (cloaked-bop ptlauncher1 1) 988 (cloaked-bop lshield 1) 989 990 (hulk-types damagecontrol 0) 991 (hulk-types damdamagecontrol 0) 992 (hulk-types kodamagecontrol 0) 993 994 (p-hulk-types damagecontrol 0) 995 (p-hulk-types damdamagecontrol 0) 996 (p-hulk-types kodamagecontrol 0) 997 998 (ship-types genesis 1) 999 (cloaked-ship-types genesis 1) 1000 1001) 1002 1003;;; Unit-terrain capacities. 1004 1005(table unit-size-in-terrain 1006 (u* t* 100) 1007) 1008 1009(add t* capacity 100) 1010 1011(add inhospitable capacity 1) 1012 1013;;; Movement. 1014 1015(table mp-to-enter-terrain 1016 (u* t* 2) 1017 (hull-types t* 99) 1018 (pt deepspace 1) 1019 (u* inhospitable 99) 1020 (u* hospitable 99) 1021) 1022 1023;; (add all-systems-types speed 0) 1024 1025 1026(table mp-to-leave-terrain 1027) 1028 1029(add ship-types hp-recovery 0) 1030(add hulk-types hp-recovery 0) 1031(add p-hulk-types hp-recovery 0) 1032(add cloaked-ship-types hp-recovery 0) 1033(add all-systems-types hp-recovery 125) 1034(add offline-systems-types hp-recovery 0) 1035(add shield hp-recovery 1000) 1036(add damshield hp-recovery 500) 1037(add lshield hp-recovery 600) 1038(add damlshield hp-recovery 300) 1039(add hshield hp-recovery 1500) 1040(add damhshield hp-recovery 750) 1041 1042(add victorypoint hp-recovery 100) 1043 1044 1045;; VISION 1046 1047(table see-chance 1048 (damsensors u* 75) 1049 (kosensors u* 50) 1050 1051 (u* cloaked-ship-types 5) 1052 (lrsensors cloaked-ship-types 35) 1053 (sensors cloaked-ship-types 10) 1054 1055) 1056 1057(table see-chance-adjacent 1058 (u* cloaked-ship-types 25) 1059 (lrsensors cloaked-ship-types 50) 1060 (sensors cloaked-ship-types 30) 1061 1062) 1063 1064 1065(table see-mistake-chance 1066 (lrsensors ship-types 10000) 1067 (damlrsensors ship-types 10000) 1068 1069 (lrsensors hulk-types 10000) 1070 (damlrsensors hulk-types 10000) 1071 1072 (lrsensors p-hulk-types 10000) 1073 (damlrsensors p-hulk-types 10000) 1074) 1075 1076(table looks-like 1077 (u* u* 0) 1078 (ship-types fedmarker 10000) 1079 1080 (hulk-types fedmarker-1 10000) 1081 1082 (p-hulk-types fedmarker-2 10000) 1083) 1084 1085(table visibility 1086 (sensors nebula 0) 1087 (damsensors nebula 0) 1088 (kosensors nebula 0) 1089 (lrsensors nebula 0) 1090 (damlrsensors nebula 0) 1091 (kolrsensors nebula 0) 1092 (ship-types nebula 30) 1093) 1094 1095 1096;; OFFLINE SYSTEM ACTIVATION 1097 1098(table accident-hit-chance 1099;; (offline-systems-types t* 2500) 1100 (shield nebula 10000) 1101 (damshield nebula 10000) 1102) 1103 1104(table wrecks-on 1105 (ship-types hospitable true) 1106 (cloaked-ship-types hospitable true) 1107) 1108 1109(table accident-damage 1110;; (offline-systems-types t* 10) 1111 (shield nebula 100) 1112 (damshield nebula 100) 1113) 1114 1115;; CLOAKING 1116 1117(table can-change-type-to 1118 (ktinga cloaked-ktinga true) 1119 (cloaked-ktinga ktinga true) 1120 (d7 cloaked-d7 true) 1121 (cloaked-d7 d7 true) 1122 (bop cloaked-bop true) 1123 (cloaked-bop bop true) 1124) 1125 1126(table acp-to-change-type 1127 (ktinga cloaked-ktinga 6) 1128 (cloaked-ktinga ktinga 1) 1129 (d7 cloaked-d7 6) 1130 (cloaked-d7 d7 1) 1131 (bop cloaked-bop 6) 1132 (cloaked-bop bop 1) 1133) 1134 1135 1136(set combat-model 0) 1137 1138 1139(table acp-to-attack 1140 (u* u* 99) 1141 1142;; Ships can perform boarding actions 1143 1144 (ship-types ship-types 6) 1145 (ship-types hulk-types 6) 1146 (ship-types victorypoint 5) 1147 1148 (pt ship-types 1) 1149) 1150 1151(table acp-to-defend 1152 (u* u* 99) 1153) 1154 1155 1156 1157(table fire-hit-chance 1158 (u* u* 0) 1159 1160 (phaser u* 90) 1161 (damphaser u* 90) 1162 1163 (hphaser u* 80) 1164 (damhphaser u* 80) 1165 1166 (disruptor u* 90) 1167 (damdisruptor u* 90) 1168 1169 (ptlauncher1 u* 90) 1170 (damptlauncher1 u* 90) 1171 1172 (ship-types ship-types 75) 1173 (u* victorypoint 0) 1174 (ship-types victorypoint 100) 1175 1176 (fedcpc u* 100) 1177 1178) 1179 1180 1181(table fire-damage 1182 (ship-types ship-types 1) 1183 1184 (ship-types victorypoint 2) 1185 (battle-cruiser-types victorypoint 4) 1186 (heavy-cruiser-types victorypoint 3) 1187 1188 (phaser ship-types 2d10) 1189 (phaser cloaked-ship-types 2d10) 1190 (phaser all-systems-types 2d6) 1191 (phaser shield-types 2d10) 1192 (phaser offline-systems-types 1d10) 1193 1194 (damphaser ship-types 2d10) 1195 (damphaser cloaked-ship-types 2d10) 1196 (damphaser all-systems-types 2d6) 1197 (damphaser shield-types 2d10) 1198 (damphaser offline-systems-types 1d10) 1199 1200 (hphaser ship-types 3d10) 1201 (hphaser cloaked-ship-types 3d10) 1202 (hphaser all-systems-types 3d6) 1203 (hphaser shield-types 3d10) 1204 (hphaser offline-systems-types 2d10) 1205 1206 (damhphaser ship-types 3d10) 1207 (damhphaser cloaked-ship-types 3d10) 1208 (damhphaser all-systems-types 3d6) 1209 (damhphaser shield-types 3d10) 1210 (damhphaser offline-systems-types 2d10) 1211 1212 (disruptor ship-types 2d6) 1213 (disruptor cloaked-ship-types 2d6) 1214 (disruptor all-systems-types 2d4) 1215 (disruptor shield-types 2d6) 1216 (disruptor offline-systems-types 1d8) 1217 1218 (damdisruptor ship-types 2d6) 1219 (damdisruptor cloaked-ship-types 2d6) 1220 (damdisruptor all-systems-types 2d4) 1221 (damdisruptor shield-types 2d6) 1222 (damdisruptor offline-systems-types 1d8) 1223 1224 (ptlauncher1 ship-types 3d8+15) 1225 (ptlauncher1 cloaked-ship-types 3d8+15) 1226 (ptlauncher1 all-systems-types 2d10+5) 1227 (ptlauncher1 shield-types 3d8+5) 1228 (ptlauncher1 offline-systems-types 1d8+2) 1229 1230 (damptlauncher1 ship-types 3d8+15) 1231 (damptlauncher1 cloaked-ship-types 3d8+15) 1232 (damptlauncher1 all-systems-types 2d10+5) 1233 (damptlauncher1 shield-types 3d8+5) 1234 (damptlauncher1 offline-systems-types 1d8+2) 1235 1236 (fedcpc ship-types 1) 1237 (fedcpc operational-systems-types 100) 1238 1239 (u* hulk-types 0) 1240 (u* p-hulk-types 0) 1241) 1242 1243(table hit-at-max-range-effect 1244 (phaser u* 75) 1245 (damphaser u* 75) 1246 1247 (hphaser u* 75) 1248 (damhphaser u* 75) 1249 1250 (disruptor u* 66) 1251 (damdisruptor u* 66) 1252 1253 (ptlauncher1 u* 55) 1254 (damptlauncher1 u* 55) 1255) 1256 1257 1258(table hit-chance 1259 (u* u* 0) 1260 (ship-types ship-types 50) 1261 (ship-types victorypoint 100) 1262 (ship-types hulk-types 100) 1263 (pt ship-types 50) 1264 (pt all-systems-types 50) 1265 1266) 1267 1268 1269 1270(table damage 1271 (u* u* 0) 1272 (ship-types ship-types 1d13) 1273 1274 (pt ship-types 3d8+8) 1275 (pt all-systems-types 2d10+1) 1276 1277 (ship-types victorypoint 2) 1278 (battle-cruiser-types victorypoint 4) 1279 (heavy-cruiser-types victorypoint 3) 1280) 1281 1282;; TORPEDOES 1283 1284(table can-create 1285 (constructbay hull-types 1) 1286 (hull-types offline-systems-types 1) 1287) 1288 1289(table acp-to-create 1290 (constructbay hull-types 1) 1291 (hull-types offline-systems-types 1) 1292) 1293 1294(table cp-on-creation 1295 (constructbay hull-types 1) 1296 (hull-types offline-systems-types 1) 1297) 1298 1299(table can-build 1300 (constructbay hull-types 1) 1301 (hull-types offline-systems-types 1) 1302) 1303 1304(table acp-to-build 1305 (constructbay hull-types 1) 1306 (hull-types offline-systems-types 1) 1307) 1308 1309(table cp-per-build 1310 (constructbay hull-types 1) 1311 (hull-types offline-systems-types 1) 1312) 1313 1314(table create-range 1315 (constructbay hull-types 1) 1316 (hull-types offline-systems-types 0) 1317) 1318 1319(table build-range 1320 (constructbay hull-types 1) 1321 (hull-types offline-systems-types 0) 1322) 1323 1324(table consumption-on-creation 1325 (relhull construction 50) 1326 (obhull construction 50) 1327 (enthull construction 100) 1328 (exhull construction 200) 1329 1330) 1331 1332(add u* cp 1) 1333 1334(table detonation-accident-chance 1335 (pt t* 10000) 1336 1337 (p-hulk-types t* 2500) 1338) 1339 1340(table detonate-on-approach-range 1341 (pt u* 1) 1342) 1343 1344 1345(table accident-damage 1346 (pt t* 1) 1347) 1348 1349(table material-to-move 1350 (pt torps 1) 1351) 1352 1353(table material-to-attack 1354 (pt torps 1) 1355) 1356 1357(table consumption-per-attack 1358 (pt torps 1) 1359) 1360 1361(table consumption-per-fire 1362 (ptlauncher1 torps 1) 1363 1364 (damptlauncher1 torps 1) 1365 1366) 1367 1368 1369(table hit-by 1370 (u* torps true) 1371) 1372 1373 1374 1375;; CAPTURE 1376 1377(table capture-chance 1378 (ship-types ship-types 20) 1379 1380 (non-combat-ship-types patrol-ship-types 0) 1381 (non-combat-ship-types light-cruiser-types 0) 1382 (non-combat-ship-types heavy-cruiser-types 0) 1383 (non-combat-ship-types battle-cruiser-types 0) 1384 (non-combat-ship-types station-types 0) 1385 1386 (patrol-ship-types light-cruiser-types 10) 1387 (patrol-ship-types heavy-cruiser-types 0) 1388 (patrol-ship-types battle-cruiser-types 0) 1389 (patrol-ship-types station-types 0) 1390 1391 (light-cruiser-types heavy-cruiser-types 0) 1392 (light-cruiser-types battle-cruiser-types 0) 1393 (light-cruiser-types fedstation1 0) 1394 (heavy-cruiser-types battle-cruiser-types 0) 1395 (heavy-cruiser-types fedstation1 5) 1396 (battle-cruiser-types fedstation1 10) 1397 1398 (ship-types hulk-types 100) 1399 (ship-types all-systems-types 100) 1400 (ship-types victorypoint 100) 1401 1402) 1403 1404 1405(table occupant-allows-capture-of 1406 (shield ship-types 0) 1407 (damshield ship-types 0) 1408 (lshield ship-types 0) 1409 (damlshield ship-types 0) 1410 1411) 1412 1413(table scuttle-chance 1414 (u* u* 0) 1415) 1416 1417 1418(table ferry-on-entry 1419 (u* u* 0) 1420;; (people-types item-types over-all) 1421) 1422 1423(table ferry-on-departure 1424 (u* u* 0) 1425;; (people-types item-types over-all) 1426) 1427 1428(table mp-to-leave-unit 1429 (all-systems-types ship-types 99) 1430 (all-systems-types station-types 99) 1431 (fedcpc ship-types 99) 1432 1433 (all-systems-types hulk-types 99) 1434 (all-systems-types p-hulk-types 99) 1435 (all-systems-types cloaked-ship-types 99) 1436 1437) 1438 1439(table hp-min 1440 ;; Destroyed systems take up space 1441 (u* destroyed-systems-types 1) 1442 1443 ) 1444 1445(table protection 1446 1447 (ship-types operational-systems-types 12) 1448 (ship-types damaged-systems-types 12) 1449 (ship-types offline-systems-types 15) 1450 (ship-types ko-systems-types 6) 1451 (ship-types destroyed-systems-types 0) 1452 (ship-types fedcpc 0) 1453 1454 (battle-cruiser-types operational-systems-types 10) 1455 (battle-cruiser-types damaged-systems-types 10) 1456 (battle-cruiser-types offline-systems-types 12) 1457 (battle-cruiser-types ko-systems-types 5) 1458 (battle-cruiser-types destroyed-systems-types 0) 1459 (battle-cruiser-types fedcpc 0) 1460 1461 (station-types operational-systems-types 10) 1462 (station-types damaged-systems-types 10) 1463 (station-types offline-systems-types 12) 1464 (station-types ko-systems-types 5) 1465 (station-types destroyed-systems-types 0) 1466 (station-types fedcpc 0) 1467 1468 (cloaked-ship-types operational-systems-types 12) 1469 (cloaked-ship-types damaged-systems-types 12) 1470 (cloaked-ship-types offline-systems-types 9) 1471 (cloaked-ship-types ko-systems-types 6) 1472 (cloaked-ship-types destroyed-systems-types 0) 1473 1474 (hulk-types all-systems-types 0) 1475 1476 (p-hulk-types all-systems-types 0) 1477 1478 (all-systems-types hulk-types 100) 1479 1480 (all-systems-types p-hulk-types 100) 1481 1482 (ship-types shield 80) 1483 (ship-types damshield 65) 1484 1485 (station-types shield 80) 1486 (station-types damshield 65) 1487 1488 (station-types hshield 90) 1489 (station-types damhshield 75) 1490 1491 (ship-types lshield 80) 1492 (ship-types damlshield 65) 1493 1494 (ship-types hshield 90) 1495 (ship-types damhshield 75) 1496 1497 (cloaked-ship-types shield 0) 1498 (cloaked-ship-types damshield 0) 1499 1500 (cloaked-ship-types lshield 0) 1501 (cloaked-ship-types damlshield 0) 1502 1503 (cloaked-ship-types hshield 0) 1504 (cloaked-ship-types damhshield 0) 1505 1506 (all-systems-types shield 80) 1507 (all-systems-types damshield 65) 1508 1509 (all-systems-types lshield 80) 1510 (all-systems-types damlshield 65) 1511 1512 (all-systems-types hshield 80) 1513 (all-systems-types damhshield 65) 1514 1515 (operational-systems-types ship-types 88) 1516 (damaged-systems-types ship-types 88) 1517 (ko-systems-types ship-types 94) 1518 (offline-systems-types ship-types 85) 1519 (destroyed-systems-types ship-types 100) 1520 1521 (operational-systems-types battle-cruiser-types 90) 1522 (damaged-systems-types ship-types 90) 1523 (ko-systems-types ship-types 95) 1524 (offline-systems-types ship-types 88) 1525 (destroyed-systems-types ship-types 100) 1526 1527 (operational-systems-types station-types 90) 1528 (damaged-systems-types station-types 90) 1529 (ko-systems-types station-types 95) 1530 (offline-systems-types station-types 88) 1531 (destroyed-systems-types station-types 100) 1532 1533 (shield ship-types 0) 1534 (damshield ship-types 0) 1535 1536 (lshield ship-types 0) 1537 (damlshield ship-types 0) 1538 1539 (hshield ship-types 0) 1540 (damhshield ship-types 0) 1541 1542 (shield station-types 0) 1543 (damshield station-types 0) 1544 1545 (hshield station-types 0) 1546 (damhshield station-types 0) 1547 1548 (shield all-systems-types 0) 1549 (damshield all-systems-types 0) 1550 1551;; (shield destroyed-systems-types 100) 1552;; (damshield destroyed-systems-types 100) 1553 1554 1555) 1556 1557 1558 1559(table occupant-combat 1560 (u* u* 0) 1561 (all-systems-types ship-types 100) 1562 (all-systems-types station-types 100) 1563 (fedcpc ship-types 100) 1564) 1565 1566(table occupant-vision 1567 (u* u* 0) 1568 (all-systems-types ship-types 100) 1569 (all-systems-types station-types 100) 1570 1571 (all-systems-types cloaked-ship-types 75) 1572 1573 (all-systems-types p-hulk-types 0) 1574 (all-systems-types hulk-types 0) 1575 1576) 1577 1578 1579(table occupant-escape-chance 1580 (u* u* 0) 1581) 1582 1583;; ENGINES 1584 1585 1586(table occupant-adds-acp 1587 (battle-cruiser-types engineering 6) 1588 (battle-cruiser-types damengineering 4) 1589 (battle-cruiser-types koengineering 2) 1590 1591 (heavy-cruiser-types engineering 8) 1592 (heavy-cruiser-types damengineering 6) 1593 (heavy-cruiser-types koengineering 2) 1594 1595 (non-combat-ship-types engineering 8) 1596 (non-combat-ship-types damengineering 6) 1597 (non-combat-ship-types koengineering 2) 1598 1599 (light-cruiser-types engineering 10) 1600 (light-cruiser-types damengineering 8) 1601 (light-cruiser-types koengineering 2) 1602 1603 (patrol-ship-types engineering 12) 1604 (patrol-ship-types damengineering 10) 1605 (patrol-ship-types koengineering 2) 1606 1607;; The D7 is outdated 1608 1609 (d7 engineering 8) 1610 (d7 damengineering 6) 1611 (d7 koengineering 2) 1612 1613;; Cloaking takes juice 1614 1615 (cloaked-d7 engineering 6) 1616 (cloaked-d7 damengineering 4) 1617 (cloaked-d7 koengineering 2) 1618 1619 (cloaked-ktinga engineering 6) 1620 (cloaked-ktinga damengineering 4) 1621 (cloaked-ktinga koengineering 2) 1622 1623 (cloaked-bop engineering 6) 1624 (cloaked-bop damengineering 4) 1625 (cloaked-bop koengineering 2) 1626 1627) 1628 1629 1630(table wrecked-type-if-killed 1631 (phaser fedcpc offphaser) 1632 (sensors fedcpc offsensors) 1633 (shield fedcpc offshield) 1634 (damagecontrol fedcpc offdamagecontrol) 1635 (engineering fedcpc offengineering) 1636 (lrsensors fedcpc offlrsensors) 1637 (ptlauncher1 fedcpc offptlauncher1) 1638 (hphaser fedcpc offhphaser) 1639 (lshield fedcpc offlshield) 1640 (hshield fedcpc offhshield) 1641 1642) 1643 1644(add phaser wrecked-type damphaser) 1645(add damphaser wrecked-type kophaser) 1646(add kophaser wrecked-type desphaser) 1647(add offphaser wrecked-type kophaser) 1648 1649(add disruptor wrecked-type damdisruptor) 1650(add damdisruptor wrecked-type kodisruptor) 1651(add kodisruptor wrecked-type desdisruptor) 1652(add offdisruptor wrecked-type kodisruptor) 1653 1654(add sensors wrecked-type damsensors) 1655(add damsensors wrecked-type kosensors) 1656(add kosensors wrecked-type dessensors) 1657(add offsensors wrecked-type kosensors) 1658 1659(add shield wrecked-type damshield) 1660(add damshield wrecked-type koshield) 1661(add koshield wrecked-type desshield) 1662(add offshield wrecked-type koshield) 1663 1664(add lshield wrecked-type damlshield) 1665(add damlshield wrecked-type kolshield) 1666(add kolshield wrecked-type deslshield) 1667(add offlshield wrecked-type kolshield) 1668 1669(add damagecontrol wrecked-type damdamagecontrol) 1670(add damdamagecontrol wrecked-type kodamagecontrol) 1671(add kodamagecontrol wrecked-type desdamagecontrol) 1672(add offdamagecontrol wrecked-type kodamagecontrol) 1673 1674(add engineering wrecked-type damengineering) 1675(add damengineering wrecked-type koengineering) 1676(add koengineering wrecked-type desengineering) 1677(add offengineering wrecked-type koengineering) 1678 1679(add lrsensors wrecked-type damlrsensors) 1680(add damlrsensors wrecked-type kolrsensors) 1681(add kolrsensors wrecked-type deslrsensors) 1682(add offlrsensors wrecked-type kolrsensors) 1683 1684(add ptlauncher1 wrecked-type damptlauncher1) 1685(add damptlauncher1 wrecked-type koptlauncher1) 1686(add koptlauncher1 wrecked-type desptlauncher1) 1687(add offptlauncher1 wrecked-type koptlauncher1) 1688 1689(add hphaser wrecked-type damhphaser) 1690(add damhphaser wrecked-type kohphaser) 1691(add kohphaser wrecked-type deshphaser) 1692(add offhphaser wrecked-type kohphaser) 1693 1694(add hshield wrecked-type damhshield) 1695(add damhshield wrecked-type kohshield) 1696(add kohshield wrecked-type deshshield) 1697(add offhshield wrecked-type kohshield) 1698 1699(add enterprise wrecked-type p-enthulk) 1700(add reliant wrecked-type p-relhulk) 1701(add excelsior wrecked-type p-exhulk) 1702(add fedstation1 wrecked-type p-fshulk1) 1703(add research wrecked-type p-rshulk1) 1704(add d7 wrecked-type p-d7hulk) 1705(add cloaked-d7 wrecked-type p-d7hulk) 1706(add bop wrecked-type p-bophulk) 1707(add cloaked-bop wrecked-type p-bophulk) 1708(add ktinga wrecked-type kthulk) 1709(add oberth wrecked-type p-obhulk) 1710 1711 1712;; END 1713 1714(table detonation-unit-range 1715 (u* u* 0) 1716 (p-hulk-types u* 3) 1717 (station-types u* 4) 1718 (cloaked-ship-types u* 3) 1719 (pt u* 1) 1720 1721) 1722 1723(table detonation-damage-at 1724 (u* u* 0) 1725 1726 (p-hulk-types ship-types 30) 1727 (p-hulk-types cloaked-ship-types 30) 1728 (p-hulk-types all-systems-types 8) 1729 1730 (engineering all-systems-types 10) 1731 (damengineering all-systems-types 10) 1732 1733 (engineering ship-types 10) 1734 (engineering light-cruiser-types 10) 1735 (engineering heavy-cruiser-types 15) 1736 (engineering battle-cruiser-types 20) 1737 1738 (damengineering ship-types 20) 1739 (damengineering light-cruiser-types 20) 1740 (damengineering heavy-cruiser-types 25) 1741 (damengineering battle-cruiser-types 35) 1742 1743 (koengineering ship-types 35) 1744 (koengineering light-cruiser-types 35) 1745 (koengineering heavy-cruiser-types 50) 1746 (koengineering battle-cruiser-types 75) 1747 1748 (phaser ship-types 4) 1749 (phaser light-cruiser-types 4) 1750 (phaser heavy-cruiser-types 5) 1751 (phaser battle-cruiser-types 6) 1752 1753 (damphaser ship-types 4) 1754 (damphaser light-cruiser-types 4) 1755 (damphaser heavy-cruiser-types 5) 1756 (damphaser battle-cruiser-types 6) 1757 1758 (kophaser ship-types 4) 1759 (kophaser light-cruiser-types 4) 1760 (kophaser heavy-cruiser-types 5) 1761 (kophaser battle-cruiser-types 6) 1762 1763 (disruptor ship-types 4) 1764 (disruptor light-cruiser-types 4) 1765 (disruptor heavy-cruiser-types 5) 1766 (disruptor battle-cruiser-types 6) 1767 1768 (damdisruptor ship-types 4) 1769 (damdisruptor light-cruiser-types 4) 1770 (damdisruptor heavy-cruiser-types 5) 1771 (damdisruptor battle-cruiser-types 6) 1772 1773 (kodisruptor ship-types 4) 1774 (kodisruptor light-cruiser-types 4) 1775 (kodisruptor heavy-cruiser-types 5) 1776 (kodisruptor battle-cruiser-types 6) 1777 1778 (ptlauncher1 ship-types 10) 1779 (ptlauncher1 light-cruiser-types 10) 1780 (ptlauncher1 heavy-cruiser-types 10) 1781 (ptlauncher1 battle-cruiser-types 10) 1782 1783 (damptlauncher1 ship-types 10) 1784 (damptlauncher1 light-cruiser-types 10) 1785 (damptlauncher1 heavy-cruiser-types 10) 1786 (damptlauncher1 battle-cruiser-types 10) 1787 1788 (hphaser ship-types 25) 1789 (hphaser station-types 25) 1790 (hphaser battle-cruiser-types 25) 1791 1792 (damhphaser ship-types 25) 1793 (damhphaser station-types 25) 1794 (damhphaser battle-cruiser-types 25) 1795 1796) 1797 1798(table detonation-damage-adjacent 1799 (u* u* 0) 1800 (p-hulk-types cloaked-ship-types 20) 1801 (p-hulk-types ship-types 20) 1802 (p-hulk-types all-systems-types 8) 1803 1804 (pt u* 4) 1805 1806) 1807 1808;; GENESIS 1809 1810(table detonation-terrain-range 1811 (genesis (nebula inhospitable) 3) 1812) 1813 1814 1815(table detonation-terrain-damage-chance 1816 (genesis (nebula inhospitable) 100) 1817) 1818 1819 1820(table terrain-damaged-type 1821 (nebula hospitable 100) 1822 (inhospitable hospitable 100) 1823) 1824 1825 1826 1827 1828(add u* lost-vanish-chance 0) 1829 1830;;; The world. 1831 1832 1833(add deepspace alt-percentile-min 0) 1834(add deepspace alt-percentile-max 100) 1835(add deepspace wet-percentile-min 0) 1836(add deepspace wet-percentile-max 100) 1837 1838 1839;;; Some defns for the fractal percentile generator. 1840 1841(set alt-blob-density 10000) 1842(set alt-blob-height 500) 1843(set alt-blob-size 100) 1844(set alt-smoothing 4) 1845(set wet-blob-density 2000) 1846(set wet-blob-size 100) 1847 1848(add excelsior start-with 1) 1849(add enterprise start-with 2) 1850(add reliant start-with 4) 1851(add oberth start-with 1) 1852(add fedstation1 start-with 1) 1853(add research start-with 1) 1854(add phaser start-with 13) 1855(add ptlauncher1 start-with 10) 1856(add sensors start-with 10) 1857(add lrsensors start-with 3) 1858(add engineering start-with 8) 1859(add damagecontrol start-with 10) 1860(add shield start-with 7) 1861(add lshield start-with 1) 1862(add hphaser start-with 4) 1863(add hshield start-with 2) 1864 1865(add u* match-transport-side true) 1866 1867(add ship-types can-be-self true) 1868(add ship-types self-resurrects true) 1869(add cloaked-ship-types can-be-self true) 1870(add cloaked-ship-types self-resurrects true) 1871 1872 1873(table favored-terrain 1874 (u* t* 0) 1875 (ship-types deepspace 100) 1876 (victorypoint deepspace 100) 1877 (victorypoint nebula 100) 1878 1879 ) 1880 1881 1882;; WORDING 1883 1884(set action-notices '( 1885 1886 ((hit phaser u*) (actor " damages " actee ".")) 1887 ((destroy phaser operational-systems-types) ("DIRECT HIT!! " actor " damages " actee "!")) 1888 ((destroy phaser damaged-systems-types) ("DIRECT HIT!! " actor " knocks out " actee "!")) 1889 ((destroy phaser ko-systems-types) ("DIRECT HIT!! " actor " destroys " actee "!")) 1890 1891 ((hit damphaser u*) (actor " damages " actee ".")) 1892 ((destroy damphaser operational-systems-types) ("DIRECT HIT!! " actor " damages " actee "!")) 1893 ((destroy damphaser damaged-systems-types) ("DIRECT HIT!! " actor " knocks out " actee "!")) 1894 ((destroy damphaser ko-systems-types) ("DIRECT HIT!! " actor " destroys " actee "!")) 1895 1896 ((hit ptlauncher1 u*) (actor " damages " actee ".")) 1897 ((destroy ptlauncher1 operational-systems-types) ("DIRECT HIT!! " actor " damages " actee "!")) 1898 ((destroy ptlauncher1 damaged-systems-types) ("DIRECT HIT!! " actor " knocks out " actee "!")) 1899 ((destroy ptlauncher1 ko-systems-types) ("DIRECT HIT!! " actor " destroys " actee "!")) 1900 1901 ((hit damptlauncher1 u*) (actor " damages " actee ".")) 1902 ((destroy damptlauncher1 operational-systems-types) ("DIRECT HIT!! " actor " damages " actee "!")) 1903 ((destroy damptlauncher1 damaged-systems-types) ("DIRECT HIT!! " actor " knocks out " actee "!")) 1904 ((destroy damptlauncher1 ko-systems-types) ("DIRECT HIT!! " actor " destroys " actee "!")) 1905 1906 ((destroy fedcpc phaser) ("Phaser bank powering down.")) 1907 ((destroy fedcpc ptlauncher1) ("Photon torpedo tube deactivating.")) 1908 ((destroy fedcpc sensors) ("Sensor input interrupted.")) 1909 ((destroy fedcpc lrsensors) ("Long-range sensor input interrupted.")) 1910 ((destroy fedcpc engineering) ("Engineering reports all systems powering down.")) 1911 ((destroy fedcpc damagecontrol) ("Damage control systems are off line.")) 1912 ((destroy fedcpc shield) ("Shields are dropping.")) 1913 1914 ((hit fedcpc ship-types) ("Inputting command prefix code.")) 1915 1916 ((destroy u* offline-systems-types) ("Damage from " actor " causes " actee " to fuse!")) 1917 1918 ((destroy u* operational-systems-types) (actor " damages " actee "!")) 1919 ((destroy u* damaged-systems-types) ("Hit! "actor " knocks out " actee "!")) 1920 ((destroy u* ko-systems-types) ("DIRECT HIT!!" actor " destroys " actee "!")) 1921 1922;; ((hit fighter-types u*) (actor " strikes " actee ".")) 1923;; ((hit carrier-fighter-types u*) (actor " strikes " actee ".")) 1924;; ((capture u* place-types) (actor " takes " actee ".")) 1925 1926;; ((disband mine-u* self done) (actor " is totally cleared.")) 1927;; ((liberate paratroops facility-u*) (actor " storms and liberates " actee "!")) 1928)) 1929 1930;; GENERAL CONDITIONS 1931 1932 1933(set country-radius-max 20) 1934(set country-separation-min 10) 1935(set edge-terrain inhospitable) 1936 1937 1938 1939(game-module (design-notes 1940 "Based on th old Star Fleet Battles boardgame" 1941 )) 1942(imf "spec-blank" ((8 8) (file "spec8.gif" std 0 0))) 1943(imf "kb-st-ship-enterprise" ((64 64) (file "kobayashi.gif" std 0 0))) 1944(imf "kb-st-ship-reliant" ((64 64) (file "kobayashi.gif" std 0 1))) 1945(imf "kb-st-ship-excelsior" ((64 64) (file "kobayashi.gif" std 0 3))) 1946(imf "kb-st-ship-oberth" ((64 64) (file "kobayashi.gif" std 0 2))) 1947(imf "kb-kling-ship-ktinga" ((64 64) (file "kobayashi.gif" std 3 0))) 1948(imf "kb-kling-ship-d7" ((64 64) (file "kobayashi.gif" std 2 0))) 1949(imf "kb-kling-ship-bop" ((64 64) (file "kobayashi.gif" std 2 1))) 1950(imf "kb-kling-cloak-d7" ((64 64) (file "kobayashi.gif" std 8 1))) 1951(imf "kb-kling-cloak-ktinga" ((64 64) (file "kobayashi.gif" std 4 4))) 1952(imf "kb-kling-cloak-bop" ((64 64) (file "kobayashi.gif" std 3 1))) 1953(imf "kb-st-station-research" ((64 64) (file "kobayashi.gif" std 1 5))) 1954(imf "kb-st-station-ds9" ((64 64) (file "kobayashi.gif" std 2 4))) 1955 1956(imf "kb-explosion-orange" ((64 64) (file "kobayashi.gif" std 1 8))) 1957 1958(imf "kb-st-wreck-enterprise" ((64 64) (file "kob-wreck.gif" std 0 0))) 1959(imf "kb-st-wreck-enterprise1" ((64 64) (file "kob-wreck.gif" std 1 0))) 1960(imf "kb-st-wreck-enterprise2" ((64 64) (file "kob-wreck.gif" std 2 0))) 1961(imf "kb-st-smold-enterprise" ((64 64) (file "kob-wreck.gif" std 3 0))) 1962 1963(imf "kb-st-wreck-reliant" ((64 64) (file "kob-wreck.gif" std 0 1))) 1964(imf "kb-st-wreck-reliant1" ((64 64) (file "kob-wreck.gif" std 1 1))) 1965(imf "kb-st-wreck-reliant2" ((64 64) (file "kob-wreck.gif" std 2 1))) 1966(imf "kb-st-smold-reliant" ((64 64) (file "kob-wreck.gif" std 3 1))) 1967 1968(imf "kb-st-wreck-excelsior" ((64 64) (file "kob-wreck.gif" std 0 4))) 1969(imf "kb-st-smold-excelsior" ((64 64) (file "kob-wreck.gif" std 3 4))) 1970 1971(imf "kb-st-wreck-research" ((64 64) (file "kob-wreck.gif" std 1 5))) 1972(imf "kb-st-smold-research" ((64 64) (file "kob-wreck.gif" std 3 5))) 1973 1974(imf "kb-st-wreck-oberth" ((64 64) (file "kob-wreck.gif" std 0 6))) 1975(imf "kb-st-smold-oberth" ((64 64) (file "kob-wreck.gif" std 3 6))) 1976 1977(imf "kb-st-wreck-ds9" ((64 64) (file "kob-wreck.gif" std 0 7))) 1978(imf "kb-st-smold-ds9" ((64 64) (file "kob-wreck.gif" std 3 7))) 1979 1980(imf "kb-kling-wreck-d7" ((64 64) (file "kob-wreck.gif" std 0 2))) 1981(imf "kb-kling-smold-d7" ((64 64) (file "kob-wreck.gif" std 3 2))) 1982 1983(imf "kb-kling-wreck-ktinga" ((64 64) (file "kob-wreck.gif" std 0 3))) 1984(imf "kb-kling-wreck-ktinga2" ((64 64) (file "kob-wreck.gif" std 1 3))) 1985(imf "kb-kling-smold-ktinga" ((64 64) (file "kob-wreck.gif" std 3 3))) 1986 1987(imf "kb-kling-wreck-bop" ((64 64) (file "kob-wreck.gif" std 0 8))) 1988(imf "kb-kling-smold-bop" ((64 64) (file "kob-wreck.gif" std 3 8))) 1989 1990(imf "kb-st-ship-transport" ((64 64) (file "kobayashi.gif" std 1 6))) 1991 1992 1993(imf "ba-sensors-green" ((32 32) (file "battles1.gif" std 0 0))) 1994(imf "ba-sensors-yellow" ((32 32) (file "battles1.gif" std 0 1))) 1995(imf "ba-sensors-red" ((32 32) (file "battles1.gif" std 0 2))) 1996(imf "ba-sensors-black" ((32 32) (file "battles1.gif" std 0 3))) 1997(imf "ba-sensors-tan" ((32 32) (file "battles1.gif" std 0 4))) 1998(imf "ba-ray-green" ((32 32) (file "battles1.gif" std 0 5))) 1999(imf "ba-ray-yellow" ((32 32) (file "battles1.gif" std 0 6))) 2000(imf "ba-ray-red" ((32 32) (file "battles1.gif" std 0 7))) 2001(imf "ba-ray-black" ((32 32) (file "battles1.gif" std 0 8))) 2002(imf "ba-ray-tan" ((32 32) (file "battles1.gif" std 0 9))) 2003 2004(imf "ba-wrench-green" ((32 32) (file "battles1.gif" std 1 0))) 2005(imf "ba-wrench-yellow" ((32 32) (file "battles1.gif" std 1 1))) 2006(imf "ba-wrench-red" ((32 32) (file "battles1.gif" std 1 2))) 2007(imf "ba-wrench-black" ((32 32) (file "battles1.gif" std 1 3))) 2008(imf "ba-wrench-tan" ((32 32) (file "battles1.gif" std 1 4))) 2009(imf "ba-oval-green" ((32 32) (file "battles1.gif" std 1 5))) 2010(imf "ba-oval-yellow" ((32 32) (file "battles1.gif" std 1 6))) 2011(imf "ba-oval-red" ((32 32) (file "battles1.gif" std 1 7))) 2012(imf "ba-oval-black" ((32 32) (file "battles1.gif" std 1 8))) 2013(imf "ba-oval-tan" ((32 32) (file "battles1.gif" std 1 9))) 2014 2015(imf "ba-cross-green" ((32 32) (file "battles1.gif" std 2 0))) 2016(imf "ba-cross-yellow" ((32 32) (file "battles1.gif" std 2 1))) 2017(imf "ba-cross-red" ((32 32) (file "battles1.gif" std 2 2))) 2018(imf "ba-cross-black" ((32 32) (file "battles1.gif" std 2 3))) 2019(imf "ba-cross-tan" ((32 32) (file "battles1.gif" std 2 4))) 2020(imf "ba-star-green" ((32 32) (file "battles1.gif" std 2 5))) 2021(imf "ba-star-yellow" ((32 32) (file "battles1.gif" std 2 6))) 2022(imf "ba-star-red" ((32 32) (file "battles1.gif" std 2 7))) 2023(imf "ba-star-black" ((32 32) (file "battles1.gif" std 2 8))) 2024(imf "ba-star-tan" ((32 32) (file "battles1.gif" std 2 9))) 2025 2026(imf "ba-3dash-green" ((32 32) (file "battles1.gif" std 3 0))) 2027(imf "ba-3dash-yellow" ((32 32) (file "battles1.gif" std 3 1))) 2028(imf "ba-3dash-red" ((32 32) (file "battles1.gif" std 3 2))) 2029(imf "ba-3dash-black" ((32 32) (file "battles1.gif" std 3 3))) 2030(imf "ba-3dash-tan" ((32 32) (file "battles1.gif" std 3 4))) 2031(imf "ba-2dash-green" ((32 32) (file "battles1.gif" std 3 5))) 2032(imf "ba-2dash-yellow" ((32 32) (file "battles1.gif" std 3 6))) 2033(imf "ba-2dash-red" ((32 32) (file "battles1.gif" std 3 7))) 2034(imf "ba-2dash-black" ((32 32) (file "battles1.gif" std 3 8))) 2035(imf "ba-2dash-tan" ((32 32) (file "battles1.gif" std 3 9))) 2036 2037(imf "ba-commands-tan" ((32 32) (file "battles1.gif" std 9 0))) 2038(imf "ba-misc-v" ((32 32) (file "battles1.gif" std 9 1))) 2039 2040(imf "ba-neb" ((1 1) 26214 13107 0)) 2041 2042(imf "ba-space" ((24 26 terrain) (x 8 26 0) (file "scifit24x26.gif" std 0 0))) 2043(imf "ba-neb" ((24 26 terrain) (x 8 26 0) (file "scifit24x26.gif" std 0 1))) 2044 2045(imf "ba-space" ((44 48 terrain) (x 8 46 0) (file "scifit44x48.gif" std 0 0))) 2046(imf "ba-neb" ((44 48 terrain) (x 8 46 0) (file "scifit44x48.gif" std 0 1))) 2047 2048(imf "ba-space" ((32 32 tile) (file "scifit32x32.gif" 0 0))) 2049(imf "ba-neb" ((32 32 tile) (file "scifit32x32.gif" 0 1))) 2050 2051(imf "ba-sensor-contact-1" ((32 32) (file "battles1.gif" std 8 0))) 2052(imf "ba-sensor-contact-2" ((32 32) (file "battles1.gif" std 8 1))) 2053(imf "ba-sensor-contact" ((32 32) (file "battles1.gif" std 8 5))) 2054 2055(imf "ba-vp-blue" ((32 32) (file "battles1.gif" std 9 2))) 2056