Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {{
- data = (
- ("type", "description", "tech area", "pic number"),
- ("Deuterium", "liquid deuterium", "", 185),
- ("Fission", "nuclear fission", "Nuclear Fission", 68),
- ("Fusion", "nuclear fusion", "Nuclear Fusion", 69),
- ("Quantum", "quantum reactions", "Quantum Mechanics", 176),
- ("Plasma", "plasma overloads", "Plasma Studies", 1324),
- ("Graviton", "gravitic distortions", "Gravitic Control", 209),
- ("Prospace", "prospace tapping", "Applied Prospace Theory", 208),
- )
- maxlevels = [len(data) - 1]
- @automatic
- def minerals(l): return 25 * ((2 * (l + 2)) // 3)
- @automatic
- def radioactives(l): return 25 * ((2 * l) // 3)
- @automatic
- def damage(r, l): return 25 * (l + 1) if r < 2 else 0
- }}
- Name := {data[l()][0]} Warhead
- Description := A warhead that uses {data[l()][1]} to create a massive explosion.
- Pic Num := {data[l()][3]}
- Tonnage Space Taken := 5
- Tonnage Structure := 5
- Cost Minerals := {minerals()}
- Cost Organics := 0
- Cost Radioactives := {radioactives()}
- Vehicle Type := All
- Supply Amount Used := 0
- Restrictions := None
- General Group := Weapons: Warheads
- Family := 5039
- Roman Numeral := 0
- Custom Group := 0
- Number of Tech Req := {2 if data[l()][2] else 1}
- Tech Area Req 1 := Warheads
- Tech Level Req 1 := 1
- {"Tech Area Req 2 := %s" % data[l()][2] if data[l()][2] else None}
- {"Tech Level Req 2 := 1" if data[l()][2] else None}
- Number of Abilities := 1
- Ability 1 Type := Self-Destruct
- Ability 1 Descr := Vehicle can self-destruct when needed.
- Ability 1 Val 1 := 0
- Ability 1 Val 2 := 0
- Weapon Type := Warhead
- Weapon Target := Ships\Planets\Ftr\Sat\Drone
- Weapon Damage At Rng := {damage()}
- Weapon Damage Type := Normal
- Weapon Reload Rate := 0
- Weapon Display Type := Torp
- Weapon Display := 0
- Weapon Modifier := 0
- Weapon Sound := Eclipse_Explode.wav
- Weapon Family := 11
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement