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

Breakable boxes which can contain other items #84

Closed
Tracked by #27
zicklag opened this issue Jul 14, 2022 · 5 comments
Closed
Tracked by #27

Breakable boxes which can contain other items #84

zicklag opened this issue Jul 14, 2022 · 5 comments
Assignees
Labels
scope:medium Intermediate size task

Comments

@zicklag
Copy link
Member

zicklag commented Jul 14, 2022

No description provided.

@zicklag zicklag mentioned this issue Jul 14, 2022
4 tasks
@zicklag zicklag added kind:enhancement scope:small A small and well-defined task scope:medium Intermediate size task and removed scope:small A small and well-defined task labels Jul 14, 2022
@zicklag zicklag added this to the v0.0.3 milestone Jul 14, 2022
@zicklag zicklag removed this from the v0.0.3 milestone Jul 17, 2022
@Zac8668
Copy link
Collaborator

Zac8668 commented Aug 11, 2022

I'll claim this, I have some idea of how to do it, gonna follow how the bottle and health were made.

@Zac8668
Copy link
Collaborator

Zac8668 commented Aug 16, 2022

I'm not sure how the boxes would function in-game, here's some options that I thought:

Throwable boxes that break on the ground, (maybe enemies or players) that drop the item where it broke.
Simple item that just drops the item on the ground when used, like the health.
Box that breaks when a enemy and/or player hits it, and drops the item where it was.

Which route should I take?

@odecay
Copy link
Collaborator

odecay commented Aug 16, 2022

The final design for these items would be something like this.
A crate, entity spawned with Damageable and Health components.
It should be able to contain another item.
It should be able to be broken by attacks after a certain amount of damage is taken.
It should be able to be picked up and carried above the head of the player, preventing them from performing other attacks while held.
It should be able to be thrown, when it hits something it should deal damage and knockback, and it should then break, exposing its contained item.

I think to start with, this issue should just tackle the first bits of that. A crate which can contain an item and be damaged by attacks, when its health is depleted it should break and allow the player to access the item inside.

@Zac8668 Zac8668 mentioned this issue Aug 24, 2022
bors bot added a commit that referenced this issue Sep 12, 2022
240: Breakable Box r=odecay a=Zac8668

Breakable box that contain other items.
#84 

Co-authored-by: Isaac <78173025+Zac8668@users.noreply.github.com>
@Zac8668
Copy link
Collaborator

Zac8668 commented Sep 27, 2022

@odecay I think this can be closed

@zicklag
Copy link
Member Author

zicklag commented Sep 27, 2022

I agree, we can open specific issues for future improvements. 👍

@zicklag zicklag closed this as completed Sep 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope:medium Intermediate size task
Projects
None yet
Development

No branches or pull requests

3 participants