Commit a080cf54 authored by nschroeder1771's avatar nschroeder1771
Browse files

Added more implementation to the super harvester and the ninja thrower.

parent 9f9bc397
......@@ -116,6 +116,7 @@ class UnitType(Enum):
SUPER_HARVESTER = 'SUPER HARVESTER'
NINJA_THROWER = 'NINJA THROWER'
class Insect(object):
"""
An Insect, the base class of Ant and Bee, has health and damage and also a Place.
......@@ -297,7 +298,9 @@ class SuperHarvester(Harvester):
"""
A Super Harvest produces more food than a Harvest for the colony.
"""
super().act(self, game_state)
super().act(game_state)
# def death(self):
class Thrower(Ant):
......@@ -573,7 +576,7 @@ STANDARD_ANT_ARCHETYPES = (
Harvester(UnitType.HARVESTER, food_cost=3, health=1, production=1),
Thrower(UnitType.THROWER, food_cost=7, health=1, damage=1, ammo=4, minimum_range=0, maximum_range=2),
SuperHarvester(UnitType.SUPER_HARVESTER, food_cost=5, health=1, production=2),
NinjaThrower(UnitType.NINJA_THROWER, food_cost=10, health=1, damage=2, ammo=4, minimum_range=0, maximum_range=2)
NinjaThrower(UnitType.NINJA_THROWER, food_cost=10, health=1, damage=4, ammo=4, minimum_range=0, maximum_range=2)
)
......
......@@ -103,7 +103,7 @@ ScreenManager:
text: 'A super harvester ant costs 5 food units to deploy, but produces 2 units of food per turn.'
CaptionedSprite:
source: 'assets/ant_ninja.gif'
text: 'A ninja thrower ant costs 10 food units to deploy and dies after throwing four leaves. It will only throw leaves outward, away from the queen. However, each leaf does twice the damage of a leaf thrower.'
text: 'A ninja thrower ant costs 10 food units to deploy and dies after throwing four leaves. It will only throw leaves outward, away from the queen. However, each leaf does four times the damage of a leaf thrower.'
Paragraph:
text: 'To sacrifice an ant, which can be useful if you need space for new deployments, select the sacrifice tool and tap on the ant you want to sacrifice.'
Paragraph:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment