diff --git a/src/brogue/Rogue.h b/src/brogue/Rogue.h index efd74ac5..891117b3 100644 --- a/src/brogue/Rogue.h +++ b/src/brogue/Rogue.h @@ -2665,7 +2665,6 @@ enum machineTypes { MT_REWARD_CONSUMABLES, MT_REWARD_PEDESTALS_PERMANENT, MT_REWARD_PEDESTALS_CONSUMABLE, - MT_REWARD_HEAVY_OR_RUNIC_WEAPON, MT_REWARD_COMMUTATION_ALTARS, MT_REWARD_RESURRECTION_ALTAR, MT_REWARD_ADOPTED_ITEM, @@ -2739,7 +2738,10 @@ enum machineTypes { MT_PARALYSIS_TRAP_HIDDEN_AREA, MT_TRICK_STATUE_AREA, MT_WORM_AREA, - MT_SENTINEL_AREA + MT_SENTINEL_AREA, + + // Variant-specific machines + MT_REWARD_HEAVY_OR_RUNIC_WEAPON }; typedef struct autoGenerator { diff --git a/src/variants/GlobalsBulletBrogue.c b/src/variants/GlobalsBulletBrogue.c index b83dd1d1..505a4896 100644 --- a/src/variants/GlobalsBulletBrogue.c +++ b/src/variants/GlobalsBulletBrogue.c @@ -219,13 +219,6 @@ const blueprint blueprintCatalog_BulletBrogue[] = { {0, PEDESTAL, DUNGEON, {1,1}, 1, (SCROLL), SCROLL_ENCHANTING, 0, 2, 0, (ITEM_KIND_AUTO_ID), (MF_GENERATE_ITEM | MF_ALTERNATIVE | MF_TREAT_AS_BLOCKING)}, {0, PEDESTAL, DUNGEON, {1,1}, 1, (POTION), POTION_LIFE,0, 2, 0, (ITEM_KIND_AUTO_ID), (MF_GENERATE_ITEM | MF_ALTERNATIVE | MF_TREAT_AS_BLOCKING)}, {0, 0, 0, {1,1}, 1, 0, 0, 0, 2, 0, 0, (MF_BUILD_AT_ORIGIN | MF_PERMIT_BLOCKING | MF_BUILD_VESTIBULE)}}}, - {"Guaranteed good runic or heavy weapon", - {1, DEEPEST_LEVEL-1}, {10, 30}, 5, 5, 0, (BP_ROOM | BP_PURGE_INTERIOR | BP_SURROUND_WITH_WALLS | BP_OPEN_INTERIOR | BP_IMPREGNABLE | BP_REWARD), { - {0, CARPET, DUNGEON, {0,0}, 0, 0, -1, 0, 0, 0, 0, (MF_EVERYWHERE)}, - {0, STATUE_INERT,DUNGEON, {2,3}, 0, 0, -1, 0, 2, 0, 0, (MF_TREAT_AS_BLOCKING | MF_BUILD_IN_WALLS | MF_IMPREGNABLE)}, - {0, PEDESTAL, DUNGEON, {1,1}, 1, (WEAPON), -1, 0, 2, 0, ITEM_IDENTIFIED,(MF_GENERATE_ITEM | MF_ALTERNATIVE | MF_REQUIRE_GOOD_RUNIC | MF_NO_THROWING_WEAPONS | MF_TREAT_AS_BLOCKING)}, - {0, PEDESTAL, DUNGEON, {1,1}, 1, (WEAPON), -1, 0, 2, 0, ITEM_IDENTIFIED,(MF_GENERATE_ITEM | MF_ALTERNATIVE | MF_REQUIRE_HEAVY_WEAPON | MF_NO_THROWING_WEAPONS | MF_TREAT_AS_BLOCKING)}, - {0, 0, 0, {1,1}, 1, 0, 0, 0, 2, 0, 0, (MF_BUILD_AT_ORIGIN | MF_PERMIT_BLOCKING | MF_BUILD_VESTIBULE)}}}, {"Commutation altars", {2, DEEPEST_LEVEL-1},{10, 30}, 50, 4, 0, (BP_ROOM | BP_PURGE_INTERIOR | BP_SURROUND_WITH_WALLS | BP_OPEN_INTERIOR | BP_IMPREGNABLE | BP_REWARD), { {0, CARPET, DUNGEON, {0,0}, 0, 0, -1, 0, 0, 0, 0, (MF_EVERYWHERE)}, @@ -626,6 +619,16 @@ const blueprint blueprintCatalog_BulletBrogue[] = { {1,DEEPEST_LEVEL-1}, {40, 40}, 0, 2, 0, (BP_NO_INTERIOR_FLAG), { {0, STATUE_INERT,DUNGEON, {3, 3}, 3, 0, -1, MK_SENTINEL, 2, 0, 0, (MF_NOT_IN_HALLWAY | MF_TREAT_AS_BLOCKING | MF_IN_VIEW_OF_ORIGIN)}, {DF_ASH, 0, 0, {2, 3}, 0, 0, -1, 0, 0, 0, 0, 0}}}, + + // -- VARIANT-SPECIFIC MACHINES -- + {"Guaranteed good runic or heavy weapon", + {1, DEEPEST_LEVEL-1}, {10, 30}, 5, 5, 0, (BP_ROOM | BP_PURGE_INTERIOR | BP_SURROUND_WITH_WALLS | BP_OPEN_INTERIOR | BP_IMPREGNABLE | BP_REWARD), { + {0, CARPET, DUNGEON, {0,0}, 0, 0, -1, 0, 0, 0, 0, (MF_EVERYWHERE)}, + {0, STATUE_INERT,DUNGEON, {2,3}, 0, 0, -1, 0, 2, 0, 0, (MF_TREAT_AS_BLOCKING | MF_BUILD_IN_WALLS | MF_IMPREGNABLE)}, + {0, PEDESTAL, DUNGEON, {1,1}, 1, (WEAPON), -1, 0, 2, 0, ITEM_IDENTIFIED,(MF_GENERATE_ITEM | MF_ALTERNATIVE | MF_REQUIRE_GOOD_RUNIC | MF_NO_THROWING_WEAPONS | MF_TREAT_AS_BLOCKING)}, + {0, PEDESTAL, DUNGEON, {1,1}, 1, (WEAPON), -1, 0, 2, 0, ITEM_IDENTIFIED,(MF_GENERATE_ITEM | MF_ALTERNATIVE | MF_REQUIRE_HEAVY_WEAPON | MF_NO_THROWING_WEAPONS | MF_TREAT_AS_BLOCKING)}, + {0, 0, 0, {1,1}, 1, 0, 0, 0, 2, 0, 0, (MF_BUILD_AT_ORIGIN | MF_PERMIT_BLOCKING | MF_BUILD_VESTIBULE)}}}, + }; const hordeType hordeCatalog_BulletBrogue[] = {