Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove reference to illegal units #61

Merged
merged 2 commits into from
Oct 4, 2023
Merged

Conversation

andreas-volz
Copy link
Collaborator

No description provided.

@andreas-volz andreas-volz merged commit 98f45fa into Wargus:master Oct 4, 2023
0 of 3 checks passed
@@ -21,7 +21,7 @@ Load("scripts/terran/unit-terran-marine.lua")
Load("scripts/terran/unit-terran-science-vessel.lua")
Load("scripts/terran/unit-terran-scv.lua")
Load("scripts/terran/unit-terran-siege-tank.lua")
Load("scripts/terran/unit-terran-vulture.lua")
--Load("scripts/terran/unit-terran-vulture.lua")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In fact, there was already requirement that units begin with "unit-" at some other places (upgrade/dependencies IIRC).

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I also didn't see a reason in the references lua file why it didn't work. But to get it "fixed" with low effort I just commented it out.
As long as stargus moving is fundamental broken one unit more helps nobody. 😢

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As long as stargus moving is fundamental broken one unit more helps nobody. 😢

well, vulture actually had the handwritten example code that we want to generate, with acceleration etc. and without larva, we cannot produce zerg units :D

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point to remember me which unit was the good one. So yes, worth a fix ... in a future PR :-P

@@ -17,7 +17,7 @@ Load("scripts/zerg/unit-zerg-spore-colony.lua")
Load("scripts/zerg/unit-zerg-sunken-colony.lua")
Load("scripts/zerg/unit-zerg-ultralisk-cavern.lua")

Load("scripts/zerg/unit-zerg-larva.lua")
--Load("scripts/zerg/unit-zerg-larva.lua")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For this one the only interesting thing i see is that it defines the unit types already. But calling DefineUnitType on the same unit ident should be fine, they should just compose, so not sure what the problem might be.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants