diff --git a/src/modlunky2/levels/tile_codes.py b/src/modlunky2/levels/tile_codes.py index 8ad2a2647..8a4fc378a 100644 --- a/src/modlunky2/levels/tile_codes.py +++ b/src/modlunky2/levels/tile_codes.py @@ -403,6 +403,11 @@ "punishball_attach_top", "punishball_attach_left", "punishball_attach_right", + "arrow_wooden", + "arrow_metal", + "arrow_wooden_poison", + "arrow_metal_poison", + "venom", ] ) diff --git a/src/modlunky2/sprites/items.py b/src/modlunky2/sprites/items.py index e89fb1779..847738415 100644 --- a/src/modlunky2/sprites/items.py +++ b/src/modlunky2/sprites/items.py @@ -28,6 +28,7 @@ class ItemSheet(BaseSpriteLoader): "goldbars": (15, 0, 16, 1), "rock": (0, 1, 1, 2), "arrow_wood": (1, 1, 2, 2), + "arrow_wooden": (1, 1, 2, 2), "arrow_stub": (2, 1, 3, 2), "urn_tall": (3, 1, 4, 2), "urn_short": (4, 1, 5, 2), @@ -94,8 +95,11 @@ class ItemSheet(BaseSpriteLoader): "crossbow_empty_held": (2, 4, 3, 5), "crosbow_loaded_held": (3, 4, 4, 5), "metal_arrow": (4, 4, 5, 5), + "arrow_metal": (4, 4, 5, 5), "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), "telepack": (7, 4, 8, 5), "back_telepack": (7, 4, 8, 5), "telepack_on_rope": (8, 4, 9, 5), diff --git a/src/modlunky2/sprites/tilecode_extras.py b/src/modlunky2/sprites/tilecode_extras.py index 57dfe54c5..1e150d33b 100644 --- a/src/modlunky2/sprites/tilecode_extras.py +++ b/src/modlunky2/sprites/tilecode_extras.py @@ -127,9 +127,18 @@ class StickyTrapSheet(BaseSpriteLoader): } +class PoisonSheet(BaseSpriteLoader): + _sprite_sheet_path = Path("static/images/venom.png") + _chunk_size = 128 + _chunk_map = { + "venom": (0, 0, 1, 1), + } + + EXTRA_TILECODE_CLASSES = [ ChainAndBlocksCeilingSheet, SpikeballTrapSheet, StickyTrapSheet, TreasureVaultChestSheet, + PoisonSheet, ] diff --git a/src/modlunky2/static/images/venom.png b/src/modlunky2/static/images/venom.png new file mode 100644 index 000000000..82bf4fd15 Binary files /dev/null and b/src/modlunky2/static/images/venom.png differ