-
Notifications
You must be signed in to change notification settings - Fork 3
/
alien.py
52 lines (44 loc) · 1.78 KB
/
alien.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# -*- coding: utf-8 -*-
"""
Created on Thu Jan 2 14:54:40 2020
Aliens! : Stores much the same as a crewmember, but simplified with a few extras.
Alien Ships: The aliens live on ships as well, strange that.
@author: Nuke Bloodaxe
"""
Aliens = {} # All alien factions, can custom populate during game!
AlienConversations = {} # Alien conversation sets by type.
class AlienShip(object):
def __init__(self, relativeX, relativeY, relativeZ, techLevel, skill,
shield, battery, shieldLevel, hullDamage,
destinationX, destinationY, destinationZ, maxHull,
maxAcceleration, regeneration, shipPicture, alien,
name = "Nostromo" ):
self.relativeX = relativeX
self.relativeY = relativeY
self.relativeZ = relativeZ
self.techLevel = techLevel
self.skill = skill
self.shield = shield
self.battery = battery
self.shieldLevel = shieldLevel
self.hullDamage = hullDamage
self.destinationX = destinationX
self.destinationY = destinationY
self.destinationZ = destinationZ
self.maxHull = maxHull
self.maxAcceleration = maxAcceleration
self.regeneration = regeneration
self.shipPicture = shipPicture
self.alien = alien
self.name = name
self.damage = [0, 0, 0, 0, 0, 0, 0]
self.gunNodes = [0, 0, 0, 0, 0]
self.charges = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
class Alien(object):
def __init__(self, name = "FaceHugger", alienType = 0, techRange = (0,0),
Anger = 0, congeniality = 0, victory = 0, id = 0,
conversationSet = 0, atWar = False):
pass
def loadAliens(file = ""):
pass