Advertisement
MageKing17

Untitled

Apr 16th, 2015
252
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.18 KB | None | 0 0
  1. {{
  2. data = (
  3. ("type", "description", "tech area", "pic number"),
  4. ("Deuterium", "liquid deuterium", "", 185),
  5. ("Fission", "nuclear fission", "Nuclear Fission", 68),
  6. ("Fusion", "nuclear fusion", "Nuclear Fusion", 69),
  7. ("Quantum", "quantum reactions", "Quantum Mechanics", 176),
  8. ("Plasma", "plasma overloads", "Plasma Studies", 1324),
  9. ("Graviton", "gravitic distortions", "Gravitic Control", 209),
  10. ("Prospace", "prospace tapping", "Applied Prospace Theory", 208),
  11. )
  12. maxlevels = [len(data) - 1]
  13. @automatic
  14. def minerals(l): return 25 * ((2 * (l + 2)) // 3)
  15. @automatic
  16. def radioactives(l): return 25 * ((2 * l) // 3)
  17. @automatic
  18. def damage(r, l): return 25 * (l + 1) if r < 2 else 0
  19. }}
  20. Name := {data[l()][0]} Warhead
  21. Description := A warhead that uses {data[l()][1]} to create a massive explosion.
  22. Pic Num := {data[l()][3]}
  23. Tonnage Space Taken := 5
  24. Tonnage Structure := 5
  25. Cost Minerals := {minerals()}
  26. Cost Organics := 0
  27. Cost Radioactives := {radioactives()}
  28. Vehicle Type := All
  29. Supply Amount Used := 0
  30. Restrictions := None
  31. General Group := Weapons: Warheads
  32. Family := 5039
  33. Roman Numeral := 0
  34. Custom Group := 0
  35. Number of Tech Req := {2 if data[l()][2] else 1}
  36. Tech Area Req 1 := Warheads
  37. Tech Level Req 1 := 1
  38. {"Tech Area Req 2 := %s" % data[l()][2] if data[l()][2] else None}
  39. {"Tech Level Req 2 := 1" if data[l()][2] else None}
  40. Number of Abilities := 1
  41. Ability 1 Type := Self-Destruct
  42. Ability 1 Descr := Vehicle can self-destruct when needed.
  43. Ability 1 Val 1 := 0
  44. Ability 1 Val 2 := 0
  45. Weapon Type := Warhead
  46. Weapon Target := Ships\Planets\Ftr\Sat\Drone
  47. Weapon Damage At Rng := {damage()}
  48. Weapon Damage Type := Normal
  49. Weapon Reload Rate := 0
  50. Weapon Display Type := Torp
  51. Weapon Display := 0
  52. Weapon Modifier := 0
  53. Weapon Sound := Eclipse_Explode.wav
  54. Weapon Family := 11
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement