Skip to content

Commit

Permalink
Merge branch 'feature/bullet_brogue_11' into tracking/bullet-brogue-v110
Browse files Browse the repository at this point in the history
  • Loading branch information
flend committed Aug 27, 2024
2 parents 9b1ca1c + 81af92d commit 37afc05
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 9 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
Bullet Brogue v1.1
==================

- Updated to CE v1.14 sources
- Tweaked level generation to produce fewer pit traps and add more diversity to vaults
- Replaced the guaranteed level 1 weapon with a vault containing either a runic or heavy weapon

1.14
====

Expand Down
6 changes: 4 additions & 2 deletions src/brogue/Rogue.h
Original file line number Diff line number Diff line change
Expand Up @@ -2670,7 +2670,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,
Expand Down Expand Up @@ -2744,7 +2743,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 {
Expand Down
17 changes: 10 additions & 7 deletions src/variants/GlobalsBulletBrogue.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)},
Expand Down Expand Up @@ -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[] = {
Expand Down

0 comments on commit 37afc05

Please sign in to comment.