Skip to content

Commit f4f0992

Browse files
committed
convert: Remove typedefs from docstrings.
These have been replaced by type hints in the function signature.
1 parent 5939c0b commit f4f0992

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+5
-169
lines changed

openage/convert/processor/conversion/aoc/ability/active_transform_to.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@ def active_transform_to_ability(line: GenieGameEntityGroup) -> ForwardRef:
1616
Adds the ActiveTransformTo ability to a line.
1717
1818
:param line: Unit/Building line that gets the ability.
19-
:type line: ...dataformat.converter_object.ConverterObjectGroup
2019
:returns: The forward reference for the ability.
21-
:rtype: ...dataformat.forward_ref.ForwardRef
2220
"""
2321
# TODO: Implement
2422
return None

openage/convert/processor/conversion/aoc/ability/activity.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@ def activity_ability(line: GenieGameEntityGroup) -> ForwardRef:
2121
Adds the Activity ability to a line.
2222
2323
:param line: Unit/Building line that gets the ability.
24-
:type line: ...dataformat.converter_object.ConverterObjectGroup
2524
:returns: The forward reference for the ability.
26-
:rtype: ...dataformat.forward_ref.ForwardRef
2725
"""
2826
current_unit_id = line.get_head_unit_id()
2927

openage/convert/processor/conversion/aoc/ability/apply_continuous_effect.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,7 @@ def apply_continuous_effect_ability(
2727
Adds the ApplyContinuousEffect ability to a line.
2828
2929
:param line: Unit/Building line that gets the ability.
30-
:type line: ...dataformat.converter_object.ConverterObjectGroup
3130
:returns: The forward reference for the ability.
32-
:rtype: ...dataformat.forward_ref.ForwardRef
3331
"""
3432
if isinstance(line, GenieVillagerGroup):
3533
current_unit = line.get_units_with_command(command_id)[0]

openage/convert/processor/conversion/aoc/ability/apply_discrete_effect.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,7 @@ def apply_discrete_effect_ability(
2828
Adds the ApplyDiscreteEffect ability to a line.
2929
3030
:param line: Unit/Building line that gets the ability.
31-
:type line: ...dataformat.converter_object.ConverterObjectGroup
3231
:returns: The forward reference for the ability.
33-
:rtype: ...dataformat.forward_ref.ForwardRef
3432
"""
3533
if isinstance(line, GenieVillagerGroup):
3634
current_unit = line.get_units_with_command(command_id)[0]

openage/convert/processor/conversion/aoc/ability/attribute_change_tracker.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@ def attribute_change_tracker_ability(line: GenieGameEntityGroup) -> ForwardRef:
2121
Adds the AttributeChangeTracker ability to a line.
2222
2323
:param line: Unit/Building line that gets the ability.
24-
:type line: ...dataformat.converter_object.ConverterObjectGroup
2524
:returns: The forward reference for the ability.
26-
:rtype: ...dataformat.forward_ref.ForwardRef
2725
"""
2826
current_unit = line.get_head_unit()
2927
current_unit_id = line.get_head_unit_id()

openage/convert/processor/conversion/aoc/ability/collect_storage.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@ def collect_storage_ability(line: GenieGameEntityGroup) -> ForwardRef:
2020
Adds the CollectStorage ability to a line.
2121
2222
:param line: Unit/Building line that gets the ability.
23-
:type line: ...dataformat.converter_object.ConverterObjectGroup
2423
:returns: The forward reference for the ability.
25-
:rtype: ...dataformat.forward_ref.ForwardRef
2624
"""
2725
current_unit_id = line.get_head_unit_id()
2826
dataset = line.data

openage/convert/processor/conversion/aoc/ability/collision.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@ def collision_ability(line: GenieGameEntityGroup) -> ForwardRef:
2020
Adds the Collision ability to a line.
2121
2222
:param line: Unit/Building line that gets the ability.
23-
:type line: ...dataformat.converter_object.ConverterObjectGroup
2423
:returns: The forward reference for the ability.
25-
:rtype: ...dataformat.forward_ref.ForwardRef
2624
"""
2725
current_unit = line.get_head_unit()
2826
current_unit_id = line.get_head_unit_id()

openage/convert/processor/conversion/aoc/ability/constructable.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,7 @@ def constructable_ability(line: GenieGameEntityGroup) -> ForwardRef:
2222
Adds the Constructable ability to a line.
2323
2424
:param line: Unit/Building line that gets the ability.
25-
:type line: ...dataformat.converter_object.ConverterObjectGroup
2625
:returns: The forward reference for the ability.
27-
:rtype: ...dataformat.forward_ref.ForwardRef
2826
"""
2927
current_unit = line.get_head_unit()
3028
current_unit_id = line.get_head_unit_id()

openage/convert/processor/conversion/aoc/ability/create.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@ def create_ability(line: GenieGameEntityGroup) -> ForwardRef:
2020
Adds the Create ability to a line.
2121
2222
:param line: Unit/Building line that gets the ability.
23-
:type line: ...dataformat.converter_object.ConverterObjectGroup
2423
:returns: The forward reference for the ability.
25-
:rtype: ...dataformat.forward_ref.ForwardRef
2624
"""
2725
current_unit_id = line.get_head_unit_id()
2826
dataset = line.data

openage/convert/processor/conversion/aoc/ability/death.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,7 @@ def death_ability(line: GenieGameEntityGroup) -> ForwardRef:
2424
based on a condition.
2525
2626
:param line: Unit/Building line that gets the ability.
27-
:type line: ...dataformat.converter_object.ConverterObjectGroup
2827
:returns: The forward reference for the ability.
29-
:rtype: ...dataformat.forward_ref.ForwardRef
3028
"""
3129
current_unit = line.get_head_unit()
3230
current_unit_id = line.get_head_unit_id()

openage/convert/processor/conversion/aoc/ability/delete.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,11 @@
1717

1818
def delete_ability(line: GenieGameEntityGroup) -> ForwardRef:
1919
"""
20-
Adds a PassiveTransformTo ability to a line that is used to make entities deletable.
20+
Adds a PassiveTransformTo ability to a line that is used to make entities deletable,
21+
i.e. die on command.
2122
2223
:param line: Unit/Building line that gets the ability.
23-
:type line: ...dataformat.converter_object.ConverterObjectGroup
2424
:returns: The forward reference for the ability.
25-
:rtype: ...dataformat.forward_ref.ForwardRef
2625
"""
2726
current_unit = line.get_head_unit()
2827
current_unit_id = line.get_head_unit_id()

openage/convert/processor/conversion/aoc/ability/despawn.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@ def despawn_ability(line: GenieGameEntityGroup) -> ForwardRef:
2121
Adds the Despawn ability to a line.
2222
2323
:param line: Unit/Building line that gets the ability.
24-
:type line: ...dataformat.converter_object.ConverterObjectGroup
2524
:returns: The forward reference for the ability.
26-
:rtype: ...dataformat.forward_ref.ForwardRef
2725
"""
2826
current_unit = line.get_head_unit()
2927
current_unit_id = line.get_head_unit_id()

openage/convert/processor/conversion/aoc/ability/drop_resources.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,7 @@ def drop_resources_ability(line: GenieGameEntityGroup) -> ForwardRef:
2323
Adds the DropResources ability to a line.
2424
2525
:param line: Unit/Building line that gets the ability.
26-
:type line: ...dataformat.converter_object.ConverterObjectGroup
2726
:returns: The forward reference for the ability.
28-
:rtype: ...dataformat.forward_ref.ForwardRef
2927
"""
3028
if isinstance(line, GenieVillagerGroup):
3129
gatherers = line.variants[0].line

openage/convert/processor/conversion/aoc/ability/drop_site.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@ def drop_site_ability(line: GenieGameEntityGroup) -> ForwardRef:
2020
Adds the DropSite ability to a line.
2121
2222
:param line: Unit/Building line that gets the ability.
23-
:type line: ...dataformat.converter_object.ConverterObjectGroup
2423
:returns: The forward reference for the ability.
25-
:rtype: ...dataformat.forward_ref.ForwardRef
2624
"""
2725
current_unit_id = line.get_head_unit_id()
2826
dataset = line.data

openage/convert/processor/conversion/aoc/ability/enter_container.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@ def enter_container_ability(line: GenieGameEntityGroup) -> ForwardRef:
2121
Adds the EnterContainer ability to a line.
2222
2323
:param line: Unit/Building line that gets the ability.
24-
:type line: ...dataformat.converter_object.ConverterObjectGroup
2524
:returns: The forward reference for the ability. None if no valid containers were found.
26-
:rtype: ...dataformat.forward_ref.ForwardRef, None
2725
"""
2826
current_unit_id = line.get_head_unit_id()
2927
dataset = line.data

openage/convert/processor/conversion/aoc/ability/exchange_resources.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@ def exchange_resources_ability(line: GenieGameEntityGroup) -> ForwardRef:
2020
Adds the ExchangeResources ability to a line.
2121
2222
:param line: Unit/Building line that gets the ability.
23-
:type line: ...dataformat.converter_object.ConverterObjectGroup
2423
:returns: The forward reference for the ability.
25-
:rtype: ...dataformat.forward_ref.ForwardRef
2624
"""
2725
current_unit_id = line.get_head_unit_id()
2826
dataset = line.data

openage/convert/processor/conversion/aoc/ability/exit_container.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@ def exit_container_ability(line: GenieGameEntityGroup) -> ForwardRef:
2121
Adds the ExitContainer ability to a line.
2222
2323
:param line: Unit/Building line that gets the ability.
24-
:type line: ...dataformat.converter_object.ConverterObjectGroup
2524
:returns: The forward reference for the ability. None if no valid containers were found.
26-
:rtype: ...dataformat.forward_ref.ForwardRef, None
2725
"""
2826
current_unit_id = line.get_head_unit_id()
2927
dataset = line.data

openage/convert/processor/conversion/aoc/ability/formation.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@ def formation_ability(line: GenieGameEntityGroup) -> ForwardRef:
2020
Adds the Formation ability to a line.
2121
2222
:param line: Unit/Building line that gets the ability.
23-
:type line: ...dataformat.converter_object.ConverterObjectGroup
2423
:returns: The forward reference for the ability.
25-
:rtype: ...dataformat.forward_ref.ForwardRef
2624
"""
2725
current_unit_id = line.get_head_unit_id()
2826
dataset = line.data

openage/convert/processor/conversion/aoc/ability/foundation.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,8 @@ def foundation_ability(line: GenieGameEntityGroup, terrain_id: int = -1) -> Forw
2121
terrain ID.
2222
2323
:param line: Unit/Building line that gets the ability.
24-
:type line: ...dataformat.converter_object.ConverterObjectGroup
2524
:param terrain_id: Force this terrain ID as foundation
26-
:type terrain_id: int
2725
:returns: The forward references for the abilities.
28-
:rtype: ...dataformat.forward_ref.ForwardRef
2926
"""
3027
current_unit = line.get_head_unit()
3128
current_unit_id = line.get_head_unit_id()

openage/convert/processor/conversion/aoc/ability/game_entity_stance.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@ def game_entity_stance_ability(line: GenieGameEntityGroup) -> ForwardRef:
2020
Adds the GameEntityStance ability to a line.
2121
2222
:param line: Unit/Building line that gets the ability.
23-
:type line: ...dataformat.converter_object.ConverterObjectGroup
2423
:returns: The forward reference for the ability.
25-
:rtype: ...dataformat.forward_ref.ForwardRef
2624
"""
2725
current_unit = line.get_head_unit()
2826
current_unit_id = line.get_head_unit_id()

openage/convert/processor/conversion/aoc/ability/gather.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,13 @@
1919
from .....value_object.conversion.forward_ref import ForwardRef
2020

2121

22-
def gather_ability(line: GenieGameEntityGroup) -> ForwardRef:
22+
def gather_ability(line: GenieGameEntityGroup) -> list[ForwardRef]:
2323
"""
2424
Adds the Gather abilities to a line. Unlike the other methods, this
2525
creates multiple abilities.
2626
2727
:param line: Unit/Building line that gets the ability.
28-
:type line: ...dataformat.converter_object.ConverterObjectGroup
2928
:returns: The forward references for the abilities.
30-
:rtype: list
3129
"""
3230
if isinstance(line, GenieVillagerGroup):
3331
gatherers = line.variants[0].line

openage/convert/processor/conversion/aoc/ability/harvestable.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@ def harvestable_ability(line: GenieGameEntityGroup) -> ForwardRef:
2121
Adds the Harvestable ability to a line.
2222
2323
:param line: Unit/Building line that gets the ability.
24-
:type line: ...dataformat.converter_object.ConverterObjectGroup
2524
:returns: The forward reference for the ability.
26-
:rtype: ...dataformat.forward_ref.ForwardRef
2725
"""
2826
current_unit = line.get_head_unit()
2927
current_unit_id = line.get_head_unit_id()

openage/convert/processor/conversion/aoc/ability/herd.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@ def herd_ability(line: GenieGameEntityGroup) -> ForwardRef:
2020
Adds the Herd ability to a line.
2121
2222
:param line: Unit/Building line that gets the ability.
23-
:type line: ...dataformat.converter_object.ConverterObjectGroup
2423
:returns: The forward reference for the ability.
25-
:rtype: ...dataformat.forward_ref.ForwardRef
2624
"""
2725
current_unit_id = line.get_head_unit_id()
2826
dataset = line.data

openage/convert/processor/conversion/aoc/ability/herdable.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@ def herdable_ability(line: GenieGameEntityGroup) -> ForwardRef:
2020
Adds the Herdable ability to a line.
2121
2222
:param line: Unit/Building line that gets the ability.
23-
:type line: ...dataformat.converter_object.ConverterObjectGroup
2423
:returns: The forward reference for the ability.
25-
:rtype: ...dataformat.forward_ref.ForwardRef
2624
"""
2725
current_unit_id = line.get_head_unit_id()
2826
dataset = line.data

openage/convert/processor/conversion/aoc/ability/idle.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@ def idle_ability(line: GenieGameEntityGroup) -> ForwardRef:
2121
Adds the Idle ability to a line.
2222
2323
:param line: Unit/Building line that gets the ability.
24-
:type line: ...dataformat.converter_object.ConverterObjectGroup
2524
:returns: The forward reference for the ability.
26-
:rtype: ...dataformat.forward_ref.ForwardRef
2725
"""
2826
current_unit = line.get_head_unit()
2927
current_unit_id = line.get_head_unit_id()

openage/convert/processor/conversion/aoc/ability/line_of_sight.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@ def line_of_sight_ability(line: GenieGameEntityGroup) -> ForwardRef:
2020
Adds the LineOfSight ability to a line.
2121
2222
:param line: Unit/Building line that gets the ability.
23-
:type line: ...dataformat.converter_object.ConverterObjectGroup
2423
:returns: The forward reference for the ability.
25-
:rtype: ...dataformat.forward_ref.ForwardRef
2624
"""
2725
current_unit = line.get_head_unit()
2826
current_unit_id = line.get_head_unit_id()

openage/convert/processor/conversion/aoc/ability/live.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@ def live_ability(line: GenieGameEntityGroup) -> ForwardRef:
2121
Adds the Live ability to a line.
2222
2323
:param line: Unit/Building line that gets the ability.
24-
:type line: ...dataformat.converter_object.ConverterObjectGroup
2524
:returns: The forward reference for the ability.
26-
:rtype: ...dataformat.forward_ref.ForwardRef
2725
"""
2826
current_unit = line.get_head_unit()
2927
current_unit_id = line.get_head_unit_id()

openage/convert/processor/conversion/aoc/ability/move.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@ def move_ability(line: GenieGameEntityGroup) -> ForwardRef:
2121
Adds the Move ability to a line.
2222
2323
:param line: Unit/Building line that gets the ability.
24-
:type line: ...dataformat.converter_object.ConverterObjectGroup
2524
:returns: The forward reference for the ability.
26-
:rtype: ...dataformat.forward_ref.ForwardRef
2725
"""
2826
current_unit = line.get_head_unit()
2927
current_unit_id = line.get_head_unit_id()
@@ -220,9 +218,7 @@ def move_projectile_ability(line: GenieGameEntityGroup, position: int = -1) -> F
220218
Adds the Move ability to a projectile of the specified line.
221219
222220
:param line: Unit/Building line that gets the ability.
223-
:type line: ...dataformat.converter_object.ConverterObjectGroup
224221
:returns: The forward reference for the ability.
225-
:rtype: ...dataformat.forward_ref.ForwardRef
226222
"""
227223
dataset = line.data
228224
api_objects = dataset.nyan_api_objects

openage/convert/processor/conversion/aoc/ability/named.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@ def named_ability(line: GenieGameEntityGroup) -> ForwardRef:
2121
Adds the Named ability to a line.
2222
2323
:param line: Unit/Building line that gets the ability.
24-
:type line: ...dataformat.converter_object.ConverterObjectGroup
2524
:returns: The forward reference for the ability.
26-
:rtype: ...dataformat.forward_ref.ForwardRef
2725
"""
2826
current_unit = line.get_head_unit()
2927
current_unit_id = line.get_head_unit_id()

openage/convert/processor/conversion/aoc/ability/overlay_terrain.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@ def overlay_terrain_ability(line: GenieGameEntityGroup) -> ForwardRef:
2020
Adds the OverlayTerrain to a line.
2121
2222
:param line: Unit/Building line that gets the ability.
23-
:type line: ...dataformat.converter_object.ConverterObjectGroup
2423
:returns: The forward references for the abilities.
25-
:rtype: ...dataformat.forward_ref.ForwardRef
2624
"""
2725
current_unit = line.get_head_unit()
2826
current_unit_id = line.get_head_unit_id()

openage/convert/processor/conversion/aoc/ability/pathable.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@ def pathable_ability(line: GenieGameEntityGroup) -> ForwardRef:
2020
Adds the Pathable ability to a line.
2121
2222
:param line: Unit/Building line that gets the ability.
23-
:type line: ...dataformat.converter_object.ConverterObjectGroup
2423
:returns: The forward reference for the ability.
25-
:rtype: ...dataformat.forward_ref.ForwardRef
2624
"""
2725
current_unit_id = line.get_head_unit_id()
2826
dataset = line.data

openage/convert/processor/conversion/aoc/ability/production_queue.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@ def production_queue_ability(line: GenieGameEntityGroup) -> ForwardRef:
2020
Adds the ProductionQueue ability to a line.
2121
2222
:param line: Unit/Building line that gets the ability.
23-
:type line: ...dataformat.converter_object.ConverterObjectGroup
2423
:returns: The forward reference for the ability.
25-
:rtype: ...dataformat.forward_ref.ForwardRef
2624
"""
2725
current_unit_id = line.get_head_unit_id()
2826
dataset = line.data

openage/convert/processor/conversion/aoc/ability/projectile.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,8 @@ def projectile_ability(line: GenieGameEntityGroup, position: int = 0) -> Forward
2323
be added is determined by the 'position' argument.
2424
2525
:param line: Unit/Building line that gets the ability.
26-
:type line: ...dataformat.converter_object.ConverterObjectGroup
27-
:param position: When 0, gives the first projectile its ability. When 1, the second...
28-
:type position: int
26+
:param position: Index of the projectile to add (0 or 1 for AoC).
2927
:returns: The forward reference for the ability.
30-
:rtype: ...dataformat.forward_ref.ForwardRef
3128
"""
3229
current_unit = line.get_head_unit()
3330
current_unit_id = line.get_head_unit_id()

openage/convert/processor/conversion/aoc/ability/provide_contingent.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,13 @@
1515
from .....entity_object.conversion.aoc.genie_unit import GenieGameEntityGroup
1616
from .....value_object.conversion.forward_ref import ForwardRef
1717

18-
# ASDF: remove type hints in docstring
19-
2018

2119
def provide_contingent_ability(line: GenieGameEntityGroup) -> ForwardRef:
2220
"""
2321
Adds the ProvideContingent ability to a line.
2422
2523
:param line: Unit/Building line that gets the ability.
26-
:type line: ...dataformat.converter_object.ConverterObjectGroup
2724
:returns: The forward reference for the ability.
28-
:rtype: ...dataformat.forward_ref.ForwardRef
2925
"""
3026
current_unit = line.get_head_unit()
3127
if isinstance(line, GenieStackBuildingGroup):

openage/convert/processor/conversion/aoc/ability/rally_point.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@ def rally_point_ability(line: GenieGameEntityGroup) -> ForwardRef:
2020
Adds the RallyPoint ability to a line.
2121
2222
:param line: Unit/Building line that gets the ability.
23-
:type line: ...dataformat.converter_object.ConverterObjectGroup
2423
:returns: The forward reference for the ability.
25-
:rtype: ...dataformat.forward_ref.ForwardRef
2624
"""
2725
current_unit_id = line.get_head_unit_id()
2826
dataset = line.data

openage/convert/processor/conversion/aoc/ability/regenerate_attribute.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@ def regenerate_attribute_ability(line: GenieGameEntityGroup) -> ForwardRef:
2020
Adds the RegenerateAttribute ability to a line.
2121
2222
:param line: Unit/Building line that gets the ability.
23-
:type line: ...dataformat.converter_object.ConverterObjectGroup
2423
:returns: The forward references for the ability.
25-
:rtype: list
2624
"""
2725
current_unit_id = line.get_head_unit_id()
2826
dataset = line.data

0 commit comments

Comments
 (0)