-
Notifications
You must be signed in to change notification settings - Fork 27
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 arrow-poison tilecodes #1032
add arrow-poison tilecodes #1032
Conversation
I think you can do the arrows by:
For Sorry this took a while to review. I'm not very familiar with the level editor. |
thanks for the advice, and no problem, it also took me a while to read this 😅 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you're having trouble testing, you might want to rebase. I fixed a bug in 20a3403
@@ -127,9 +127,18 @@ class StickyTrapSheet(BaseSpriteLoader): | |||
} | |||
|
|||
|
|||
class PoisonSheet(BaseSpriteLoader): | |||
_sprite_sheet_path = Path("static/images/arrows_poison.png") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs to be updated to match the filename (venom.png
)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
"wood_arrow_poisoned": (5, 4, 6, 5), | ||
"metal_arrow_poisoned": (6, 4, 7, 5), | ||
"arrow_wooden_poison": (5, 4, 6, 5), | ||
"arrow_metal_poison": (6, 4, 7, 5), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all of these (and venom
) need to be added to VALID_TILE_CODES
in src\modlunky2\levels\tile_codes.py
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oops
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
Adds tilecodes from spelunky-fyi/overlunky#330 to the editor