Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {{
- maxlevels = [7, 5]
- type = ("Ramjet", "Terrene", "Fusial", "Quasar", "Plasmatic", "Momentum", "Stardrive")
- descr = ("liquid deuterium", "nuclear fission", "nuclear fusion", "quantum reactions", "plasma jets", "graviton manipulation", "prospace distortion")
- pic = (9, 10, 335, 26, 8, 25, 278)
- def minerals():
- if l(0) < 4: return 25 * (l(0) + 1)
- elif l(0) == 4: return 130
- else: return 60 * (l(0) - 2)
- def radioactives():
- if l(0) == 6: return 130
- else: return 10 * int(2.5 * (l(0) - 1))
- @automatic
- def supplies(t, l): return 100 - 10 * (t - 1) - 5 * (l - 1) + 10 * (t // 5) + (20 if t % 5 == 0 else 0)
- def movement():
- return 2 * l(0) + l(0) // 7
- def resize():
- if l(0) == 6: maxlevels[1] = 3
- if l(0) == 7: maxlevels[1] = 1
- }}
- {resize()}
- Name := {type[l(0)-1]} Engine{" %s"%r() if maxlevels[1] > 1 else ""}
- Description := An engine that uses {descr[l(0)-1]} for propulsion.
- Pic Num := {pic[l(0)-1]}
- Tonnage Space Taken := 20
- Tonnage Structure := {5 * (l(0) + 1 + 2 * (l(0) // 7))}
- Cost Minerals := {minerals()}
- Cost Organics := 0
- Cost Radioactives := {radioactives()}
- Vehicle Type := Ship\Base\Sat\WeapPlat\Drone
- Supply Amount Used := {supplies(l(0))}
- Restrictions := None
- General Group := Propulsion
- Family := 18
- Roman Numeral := {l() if maxlevels[1] > 1 else 0}
- Custom Group := 0
- Number of Tech Req := 1
- Tech Area Req 1 := {type[l(0)-1]} Engine
- Tech Level Req 1 := {l()}
- Number of Abilities := 2
- Ability 1 Type := Standard Ship Movement
- Ability 1 Descr := Generates {movement()} standard movement.
- Ability 1 Val 1 := {movement()}
- Ability 1 Val 2 := 0
- Ability 2 Type := Armor Regeneration
- Ability 2 Descr := Engines are repaired by engineering.
- Ability 2 Val 1 := 1
- Ability 2 Val 2 := 0
- Weapon Type := None
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement