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

Using TNT #9

Open
CodeMouse92 opened this issue May 16, 2021 · 0 comments
Open

Using TNT #9

CodeMouse92 opened this issue May 16, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@CodeMouse92
Copy link
Owner

This is along the lines as #7 or #8, but is the most complicated of the three tools.

Power level corresponds to blast radius. (The actual in-code rules for blast radius should be coded in a maintainable way, not hard-coded.)

The proposed corresponding blast radius and power level is as follows:

7655567
6543456
5421245
5310135
5421245
6543456
7655567

(You're welcome to suggest changes to the above.)

The hardest part is, once the player sets down the TNT, the character must automatically pathfind to the nearest safe space outside the blast area, and then move there at double or triple normal walking speed. After the explosion, the character must automatically move back to the spot where they had originally been when the player placed the TNT.

@CodeMouse92 CodeMouse92 added the enhancement New feature or request label May 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant