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

Research fixes #3961

Merged
merged 4 commits into from
Jul 3, 2024
Merged

Research fixes #3961

merged 4 commits into from
Jul 3, 2024

Conversation

KJeff01
Copy link
Member

@KJeff01 KJeff01 commented Jul 2, 2024

  • Adds original propulsion stats file for Classic, seeing as I just changed the weight of Wheels (to be faster) and the price of legs so they don't match Wheels.
  • Adds a model to Cyborg legs propulsion so that someone that uses the "give all" cheat won't see getComponentRadius() spam from a non-existent model. Not sure if this has any bad effect or why a model was missing.
  • Prevent someone from crashing in Classic if they decided to research the 3.2 balance "Alpha&Beta undo" topic from the "give all" cheat. Thus causing a divide by zero crash in HP (although, HP should always be clipped to 1 anyway lol). So far the flag is named exludeFromCheats to prevent "give all" and "research all" from researching topics (that are naturally hidden).

No longer are these an exact match due to recent Remastered Wheels/Legged changes.
To prevent research topics from being researched by the "research all" cheat, and from appearing from the "give all" cheat.
To prevent getComponentRadius() spam with cheats that grant these research topics.
@KJeff01 KJeff01 added this to the 4.5.1 milestone Jul 2, 2024
@KJeff01 KJeff01 merged commit 84a9503 into Warzone2100:master Jul 3, 2024
37 checks passed
@KJeff01 KJeff01 deleted the researchFix branch July 3, 2024 18:38
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.

1 participant