Advertisement
MageKing17

Untitled

Apr 16th, 2015
296
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.94 KB | None | 0 0
  1. {{
  2. maxlevels = [7, 5]
  3. type = ("Ramjet", "Terrene", "Fusial", "Quasar", "Plasmatic", "Momentum", "Stardrive")
  4. descr = ("liquid deuterium", "nuclear fission", "nuclear fusion", "quantum reactions", "plasma jets", "graviton manipulation", "prospace distortion")
  5. pic = (9, 10, 335, 26, 8, 25, 278)
  6. def minerals():
  7. if l(0) < 4: return 25 * (l(0) + 1)
  8. elif l(0) == 4: return 130
  9. else: return 60 * (l(0) - 2)
  10. def radioactives():
  11. if l(0) == 6: return 130
  12. else: return 10 * int(2.5 * (l(0) - 1))
  13. @automatic
  14. def supplies(t, l): return 100 - 10 * (t - 1) - 5 * (l - 1) + 10 * (t // 5) + (20 if t % 5 == 0 else 0)
  15. def movement():
  16. return 2 * l(0) + l(0) // 7
  17.  
  18. def resize():
  19. if l(0) == 6: maxlevels[1] = 3
  20. if l(0) == 7: maxlevels[1] = 1
  21. }}
  22. {resize()}
  23. Name := {type[l(0)-1]} Engine{" %s"%r() if maxlevels[1] > 1 else ""}
  24. Description := An engine that uses {descr[l(0)-1]} for propulsion.
  25. Pic Num := {pic[l(0)-1]}
  26. Tonnage Space Taken := 20
  27. Tonnage Structure := {5 * (l(0) + 1 + 2 * (l(0) // 7))}
  28. Cost Minerals := {minerals()}
  29. Cost Organics := 0
  30. Cost Radioactives := {radioactives()}
  31. Vehicle Type := Ship\Base\Sat\WeapPlat\Drone
  32. Supply Amount Used := {supplies(l(0))}
  33. Restrictions := None
  34. General Group := Propulsion
  35. Family := 18
  36. Roman Numeral := {l() if maxlevels[1] > 1 else 0}
  37. Custom Group := 0
  38. Number of Tech Req := 1
  39. Tech Area Req 1 := {type[l(0)-1]} Engine
  40. Tech Level Req 1 := {l()}
  41. Number of Abilities := 2
  42. Ability 1 Type := Standard Ship Movement
  43. Ability 1 Descr := Generates {movement()} standard movement.
  44. Ability 1 Val 1 := {movement()}
  45. Ability 1 Val 2 := 0
  46. Ability 2 Type := Armor Regeneration
  47. Ability 2 Descr := Engines are repaired by engineering.
  48. Ability 2 Val 1 := 1
  49. Ability 2 Val 2 := 0
  50. Weapon Type := None
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement