diff --git a/src/atlantis.py b/src/atlantis.py index 2a8490e..9b37d88 100644 --- a/src/atlantis.py +++ b/src/atlantis.py @@ -7,7 +7,7 @@ # date: 02/05/2015 # -VERSION = (0, 0, 6) #release, major revision, minor (git) revision +VERSION = (0, 0, 7) #release, major revision, minor (git) revision import sys import os diff --git a/src/atlantis.py b/src/atlantis.py index 2a8490e..9b37d88 100644 --- a/src/atlantis.py +++ b/src/atlantis.py @@ -7,7 +7,7 @@ # date: 02/05/2015 # -VERSION = (0, 0, 6) #release, major revision, minor (git) revision +VERSION = (0, 0, 7) #release, major revision, minor (git) revision import sys import os diff --git a/src/banner.txt b/src/banner.txt index f845fc6..68d8ee8 100644 --- a/src/banner.txt +++ b/src/banner.txt @@ -1,7 +1,7 @@ ==================================================== -|| / || -|| O - MM _ MM ATLANTIS || -|| | \ ||_/.\_|| || +|| \ / || +|| - O -MM _ MM ATLANTIS || +|| / \ ||_/.\_|| || || |*| |*| Lost worlds await || || ~~~~~| | A | |~~~~ || || ~~~~###########~~~ || diff --git a/src/atlantis.py b/src/atlantis.py index 2a8490e..9b37d88 100644 --- a/src/atlantis.py +++ b/src/atlantis.py @@ -7,7 +7,7 @@ # date: 02/05/2015 # -VERSION = (0, 0, 6) #release, major revision, minor (git) revision +VERSION = (0, 0, 7) #release, major revision, minor (git) revision import sys import os diff --git a/src/banner.txt b/src/banner.txt index f845fc6..68d8ee8 100644 --- a/src/banner.txt +++ b/src/banner.txt @@ -1,7 +1,7 @@ ==================================================== -|| / || -|| O - MM _ MM ATLANTIS || -|| | \ ||_/.\_|| || +|| \ / || +|| - O -MM _ MM ATLANTIS || +|| / \ ||_/.\_|| || || |*| |*| Lost worlds await || || ~~~~~| | A | |~~~~ || || ~~~~###########~~~ || diff --git a/src/player.py b/src/player.py index 4416ec8..972923b 100644 --- a/src/player.py +++ b/src/player.py @@ -33,3 +33,26 @@ self.weapons = [] self.items = [] + def change_location(self, new_place): + self.location = new_place + + def change_health(self, difference): + self.health = self.health+difference + + def increase_attribute(self, attribute, difference): + self.attributes[attribute] = self.attributes[attribute] + difference + + def add_item(self, item): + self.items.append(item) + + # Warning: might cause bugs! + def remove_item(self, item): + self.items.remove(item) + + def add_weapon(self, weapon): + self.items.append(weapon) + + # Warning: might cause bugs! + def remove_weapon(self, weapon): + self.items.remove(weapon) +