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

Add pilus damage cooldown on ejecting something #5139

Open
hhyyrylainen opened this issue May 20, 2024 · 6 comments
Open

Add pilus damage cooldown on ejecting something #5139

hhyyrylainen opened this issue May 20, 2024 · 6 comments

Comments

@hhyyrylainen
Copy link
Member

to make sure ejected cell cannot kill you immediately

@hhyyrylainen hhyyrylainen added this to Backburner in Thrive Planning via automation May 20, 2024
@hhyyrylainen hhyyrylainen moved this from Backburner to Features to maybe include in the release after next in Thrive Planning May 20, 2024
@MalyshevArtem
Copy link

Can someone direct to the class/classes in which the cell ejection process is coded?

@CI09
Copy link
Contributor

CI09 commented Jun 25, 2024

We use Entity Component System, meaning there are entities with components, managed by systems. In this case, EngulfingSystem has method EjectEngulfable(). Note that components sometimes also have helper methods but it's mostly systems that manage stuff in bigger picture.

@CI09
Copy link
Contributor

CI09 commented Jun 27, 2024

Are you willing to help out with this issue @MalyshevArtem?

@MalyshevArtem
Copy link

Actually yes. But I don't know how much time it will take for me to do this. I want to spend some time after work when I'm free trying to solve it.

@MalyshevArtem
Copy link

@CI09 Is there a way to start the game at a specific point or maybe a way to set to my microbe specific parameters before the game starts, for example, add pili for damaging and ability to eject a cell so that I can test what I've coded, in other words, declare initial parameters for the game?

@CI09
Copy link
Contributor

CI09 commented Jun 30, 2024

Probably there is (I'm not expert at developing here) by changing how base species is made but that's kinda hacky, would make auto evo evolve things off of it and maybe some other side issues.
For starting the game, for example in microbe stage, you can open godot and press the 🎬 looking button in top right corner while having microbestage.tscn opened, but I personally just run the game normally since it doesn't take long to get to freebuild.

Edit: under f6 there is cheat menu which you can use to spawn enemy cells. You can also make normal game once, until you find conditions you need and then you can save the game and load it each time you want to test it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Thrive Planning
  
Features to maybe include in the rele...
Development

No branches or pull requests

3 participants