Skip to content
10 changes: 10 additions & 0 deletions src/building/building.c
Original file line number Diff line number Diff line change
Expand Up @@ -850,6 +850,16 @@ int building_is_venus_temple(building_type type)
return (type == BUILDING_SMALL_TEMPLE_VENUS || type == BUILDING_LARGE_TEMPLE_VENUS);
}

int building_is_temple(building_type type)
{
return building_is_ceres_temple(type) || building_is_neptune_temple(type) ||
building_is_mercury_temple(type) || building_is_mars_temple(type) ||
building_is_venus_temple(type) ||
type == BUILDING_GRAND_TEMPLE_CERES || type == BUILDING_GRAND_TEMPLE_NEPTUNE ||
type == BUILDING_GRAND_TEMPLE_MERCURY || type == BUILDING_GRAND_TEMPLE_MARS ||
type == BUILDING_GRAND_TEMPLE_VENUS || type == BUILDING_GRAND_TEMPLE_VENUS_REWORKED;
}

// All buildings capable of collecting and storing goods as a market
int building_has_supplier_inventory(building_type type)
{
Expand Down
2 changes: 2 additions & 0 deletions src/building/building.h
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,8 @@ int building_is_mars_temple(building_type type);

int building_is_venus_temple(building_type type);

int building_is_temple(building_type type);

int building_has_supplier_inventory(building_type type);

int building_is_house_group(house_groups group, building_type type);
Expand Down
1 change: 1 addition & 0 deletions src/building/construction_building.c
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,7 @@ static void add_to_map(int type, building *b, int size, int orientation, int wat
case BUILDING_GRAND_TEMPLE_MERCURY:
case BUILDING_GRAND_TEMPLE_MARS:
case BUILDING_GRAND_TEMPLE_VENUS:
case BUILDING_GRAND_TEMPLE_VENUS_REWORKED:
case BUILDING_PANTHEON:
map_tiles_update_area_roads(b->x, b->y, 9);
building_monument_set_phase(b, MONUMENT_START);
Expand Down
2 changes: 1 addition & 1 deletion src/building/count.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ static const building_type building_set_large_temples[] = {

static const building_type building_set_grand_temples[] = {
BUILDING_GRAND_TEMPLE_CERES, BUILDING_GRAND_TEMPLE_NEPTUNE, BUILDING_GRAND_TEMPLE_MERCURY, BUILDING_GRAND_TEMPLE_MARS,
BUILDING_GRAND_TEMPLE_VENUS, BUILDING_PANTHEON
BUILDING_GRAND_TEMPLE_VENUS, BUILDING_GRAND_TEMPLE_VENUS_REWORKED, BUILDING_PANTHEON
};

#define BUILDING_SET_SIZE_GRAND_TEMPLES (sizeof(building_set_grand_temples) / sizeof(building_type))
Expand Down
1 change: 1 addition & 0 deletions src/building/figure.c
Original file line number Diff line number Diff line change
Expand Up @@ -2131,6 +2131,7 @@ void building_figure_generate(void)
case BUILDING_GRAND_TEMPLE_NEPTUNE:
case BUILDING_GRAND_TEMPLE_MERCURY:
case BUILDING_GRAND_TEMPLE_VENUS:
case BUILDING_GRAND_TEMPLE_VENUS_REWORKED:
case BUILDING_PANTHEON:
spawn_figure_temple(b);
break;
Expand Down
11 changes: 11 additions & 0 deletions src/building/house_service.c
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ void house_service_decay_houses_covered(void)
void house_service_calculate_culture_aggregates(void)
{
int venus_module2 = building_monument_gt_module_is_active(VENUS_MODULE_2_DESIRABILITY_ENTERTAINMENT);
int venus_module4 = building_monument_gt_module_is_active(VENUS_MODULE_4_THEATER_TAVERN);
int completed_colosseum = building_monument_working(BUILDING_COLOSSEUM);
int completed_hippodrome = building_monument_working(BUILDING_HIPPODROME);

Expand Down Expand Up @@ -138,6 +139,16 @@ void house_service_calculate_culture_aggregates(void)
b->data.house.entertainment += 10;
}

// Venus Module 4 Theater/Tavern Bonus
if (venus_module4) {
if (b->data.house.theater) {
b->data.house.entertainment += 5;
}
if (b->house_tavern_wine_access) {
b->data.house.entertainment += 5;
}
}

// Education
b->data.house.education = 0;
if (b->data.house.school || b->data.house.library) {
Expand Down
1 change: 1 addition & 0 deletions src/building/image.c
Original file line number Diff line number Diff line change
Expand Up @@ -668,6 +668,7 @@ int building_image_get(const building *b)
}
}
case BUILDING_GRAND_TEMPLE_VENUS:
case BUILDING_GRAND_TEMPLE_VENUS_REWORKED:
switch (b->monument.phase) {
case MONUMENT_START:
return assets_get_image_id("Monuments", "Venus Complex Const 01");
Expand Down
7 changes: 6 additions & 1 deletion src/building/menu.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#include "city/buildings.h"
#include "core/config.h"
#include "empire/city.h"
#include "game/cheats.h"
#include "game/tutorial.h"
#include "scenario/allowed_building.h"
#include "scenario/property.h"
Expand Down Expand Up @@ -51,7 +52,7 @@ static const building_type MENU_BUILDING_TYPE[BUILD_MENU_MAX][BUILD_MENU_ITEM_MA
{BUILDING_MENU_PATHS, BUILDING_GARDEN_PATH, BUILDING_PINE_PATH , BUILDING_FIR_PATH, BUILDING_OAK_PATH, BUILDING_ELM_PATH,
BUILDING_FIG_PATH, BUILDING_PLUM_PATH, BUILDING_PALM_PATH, BUILDING_DATE_PATH, 0},
{BUILDING_PANTHEON, BUILDING_GRAND_TEMPLE_CERES, BUILDING_GRAND_TEMPLE_NEPTUNE, BUILDING_GRAND_TEMPLE_MERCURY,
BUILDING_GRAND_TEMPLE_MARS, BUILDING_GRAND_TEMPLE_VENUS, 0},
BUILDING_GRAND_TEMPLE_MARS, BUILDING_GRAND_TEMPLE_VENUS, BUILDING_GRAND_TEMPLE_VENUS_REWORKED, 0},
{BUILDING_SMALL_STATUE, BUILDING_GODDESS_STATUE, BUILDING_SENATOR_STATUE, BUILDING_GLADIATOR_STATUE, BUILDING_DECORATIVE_COLUMN,
BUILDING_MEDIUM_STATUE, BUILDING_LEGION_STATUE, BUILDING_OBELISK, BUILDING_LARGE_STATUE, BUILDING_HORSE_STATUE, 0},
{BUILDING_GOVERNORS_HOUSE, BUILDING_GOVERNORS_VILLA, BUILDING_GOVERNORS_PALACE, 0},
Expand Down Expand Up @@ -136,6 +137,10 @@ static int can_get_required_resource(building_type type)

static int is_building_type_allowed(building_type type)
{
// BUILDING_GRAND_TEMPLE_VENUS requires the legacy venus cheat to be active
if (type == BUILDING_GRAND_TEMPLE_VENUS) {
return game_cheat_legacy_venus_enabled() && scenario_allowed_building(type) && can_get_required_resource(type);
}
return scenario_allowed_building(type) && can_get_required_resource(type);
}

Expand Down
9 changes: 9 additions & 0 deletions src/building/monument.c
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ static const monument_type *MONUMENT_TYPES[BUILDING_TYPE_MAX] = {
[BUILDING_GRAND_TEMPLE_MERCURY] = &grand_temple,
[BUILDING_GRAND_TEMPLE_MARS] = &grand_temple,
[BUILDING_GRAND_TEMPLE_VENUS] = &grand_temple,
[BUILDING_GRAND_TEMPLE_VENUS_REWORKED] = &grand_temple,
[BUILDING_PANTHEON] = &pantheon,
[BUILDING_ORACLE] = &oracle,
[BUILDING_LARGE_TEMPLE_CERES] = &large_temple,
Expand Down Expand Up @@ -283,6 +284,7 @@ int building_monument_is_limited(building_type type)
case BUILDING_GRAND_TEMPLE_MERCURY:
case BUILDING_GRAND_TEMPLE_MARS:
case BUILDING_GRAND_TEMPLE_VENUS:
case BUILDING_GRAND_TEMPLE_VENUS_REWORKED:
case BUILDING_PANTHEON:
case BUILDING_LIGHTHOUSE:
case BUILDING_CARAVANSERAI:
Expand Down Expand Up @@ -398,6 +400,7 @@ int building_monument_is_grand_temple(building_type type)
case BUILDING_GRAND_TEMPLE_MERCURY:
case BUILDING_GRAND_TEMPLE_MARS:
case BUILDING_GRAND_TEMPLE_VENUS:
case BUILDING_GRAND_TEMPLE_VENUS_REWORKED:
return 1;
default:
return 0;
Expand Down Expand Up @@ -722,6 +725,12 @@ int building_monument_gt_module_is_active(int module)
int module_num = module % MODULES_PER_TEMPLE + 1;
int temple_type = module / MODULES_PER_TEMPLE + BUILDING_GRAND_TEMPLE_CERES;

// Special handling for reworked Venus temple modules
if (module == VENUS_MODULE_3_WINE_TEMPLE || module == VENUS_MODULE_4_THEATER_TAVERN) {
temple_type = BUILDING_GRAND_TEMPLE_VENUS_REWORKED;
module_num = (module == VENUS_MODULE_3_WINE_TEMPLE) ? 1 : 2;
}

return building_monument_module_type(temple_type) == module_num;
}

Expand Down
2 changes: 2 additions & 0 deletions src/building/monument.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ typedef enum {
MARS_MODULE_2_ALL_GOODS,
VENUS_MODULE_1_DISTRIBUTE_WINE,
VENUS_MODULE_2_DESIRABILITY_ENTERTAINMENT,
VENUS_MODULE_3_WINE_TEMPLE,
VENUS_MODULE_4_THEATER_TAVERN,
PANTHEON_MODULE_1_DESTINATION_PRIESTS,
PANTHEON_MODULE_2_HOUSING_EVOLUTION
} module_type;
Expand Down
12 changes: 12 additions & 0 deletions src/building/properties.c
Original file line number Diff line number Diff line change
Expand Up @@ -1395,6 +1395,18 @@ static building_properties properties[BUILDING_TYPE_MAX] = {
.building_model_data = {.cost = 2500, .desirability_value = 20, .desirability_step = 2,
.desirability_step_size = -4, .desirability_range = 8, .laborers = 50}
},
[BUILDING_GRAND_TEMPLE_VENUS_REWORKED] = {
.venus_gt_bonus = 1,
.size = 7,
.fire_proof = 1,
.sound_id = SOUND_CITY_TEMPLE_VENUS,
.draw_desirability_range = 1,
.custom_asset.group = "Monuments",
.custom_asset.id = "Venus Complex Off",
.event_data.attr = "grand_temple_venus_reworked",
.building_model_data = {.cost = 2500, .desirability_value = 20, .desirability_step = 2,
.desirability_step_size = -4, .desirability_range = 8, .laborers = 50}
},
[BUILDING_MENU_GRAND_TEMPLES] = {
.event_data.attr = "grand_temples|all_grand_temples",
.event_data.key = TR_PARAMETER_VALUE_BUILDING_MENU_GRAND_TEMPLES
Expand Down
3 changes: 2 additions & 1 deletion src/building/type.h
Original file line number Diff line number Diff line change
Expand Up @@ -222,8 +222,9 @@ typedef enum {
BUILDING_NATIVE_MONUMENT = 208,
BUILDING_NATIVE_DECORATION = 209,
BUILDING_REPAIR_LAND = 210, // tool, not an actual building
BUILDING_GRAND_TEMPLE_VENUS_REWORKED = 211,
// helper constants
BUILDING_TYPE_MAX = 211
BUILDING_TYPE_MAX = 212
} building_type;

/**
Expand Down
4 changes: 3 additions & 1 deletion src/city/culture.c
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,10 @@ void city_culture_update_coverage(void)
SMALL_TEMPLE_COVERAGE * building_count_active(BUILDING_SMALL_TEMPLE_VENUS) +
LARGE_TEMPLE_COVERAGE * building_count_active(BUILDING_LARGE_TEMPLE_VENUS) +
PANTHEON_COVERAGE * building_count_active(BUILDING_PANTHEON) +
GRAND_TEMPLE_COVERAGE * building_count_active(BUILDING_GRAND_TEMPLE_VENUS),
GRAND_TEMPLE_COVERAGE * building_count_active(BUILDING_GRAND_TEMPLE_VENUS)+
GRAND_TEMPLE_COVERAGE * building_count_active(BUILDING_GRAND_TEMPLE_VENUS_REWORKED),
population));

coverage.oracle = top(calc_percentage(ORACLE_COVERAGE * oracles, population));

city_data.culture.religion_coverage =
Expand Down
1 change: 1 addition & 0 deletions src/city/finance.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ static building_levy_for_type building_levies[] = {
{BUILDING_GRAND_TEMPLE_MERCURY, GRAND_TEMPLE_LEVY_MONTHLY},
{BUILDING_GRAND_TEMPLE_MARS, GRAND_TEMPLE_LEVY_MONTHLY},
{BUILDING_GRAND_TEMPLE_VENUS, GRAND_TEMPLE_LEVY_MONTHLY},
{BUILDING_GRAND_TEMPLE_VENUS_REWORKED, GRAND_TEMPLE_LEVY_MONTHLY},
{BUILDING_PANTHEON, PANTHEON_LEVY_MONTHLY}, // 20
{BUILDING_COLOSSEUM, COLOSSEUM_LEVY_MONTHLY},
{BUILDING_HIPPODROME, HIPPODROME_LEVY_MONTHLY},
Expand Down
2 changes: 1 addition & 1 deletion src/city/gods.c
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ void city_gods_calculate_moods(int update_moods)
num_temples = building_count_active(BUILDING_SMALL_TEMPLE_MARS) + building_count_active(BUILDING_LARGE_TEMPLE_MARS) + building_count_active(BUILDING_GRAND_TEMPLE_MARS);
break;
case GOD_VENUS:
num_temples = building_count_active(BUILDING_SMALL_TEMPLE_VENUS) + building_count_active(BUILDING_LARGE_TEMPLE_VENUS) + building_count_active(BUILDING_GRAND_TEMPLE_VENUS);
num_temples = building_count_active(BUILDING_SMALL_TEMPLE_VENUS) + building_count_active(BUILDING_LARGE_TEMPLE_VENUS) + building_count_active(BUILDING_GRAND_TEMPLE_VENUS)+ building_count_active(BUILDING_GRAND_TEMPLE_VENUS_REWORKED);
break;
}
if (num_temples == max_temples) {
Expand Down
1 change: 1 addition & 0 deletions src/city/labor.c
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ static const int CATEGORY_FOR_BUILDING_TYPE[BUILDING_TYPE_MAX] = {
[BUILDING_GRAND_TEMPLE_MERCURY] = LABOR_CATEGORY_GOVERNANCE_RELIGION,
[BUILDING_GRAND_TEMPLE_MARS] = LABOR_CATEGORY_GOVERNANCE_RELIGION,
[BUILDING_GRAND_TEMPLE_VENUS] = LABOR_CATEGORY_GOVERNANCE_RELIGION,
[BUILDING_GRAND_TEMPLE_VENUS_REWORKED] = LABOR_CATEGORY_GOVERNANCE_RELIGION,
[BUILDING_PANTHEON] = LABOR_CATEGORY_GOVERNANCE_RELIGION,
[BUILDING_SENATE] = LABOR_CATEGORY_GOVERNANCE_RELIGION,
[BUILDING_FORUM] = LABOR_CATEGORY_GOVERNANCE_RELIGION,
Expand Down
1 change: 1 addition & 0 deletions src/city/ratings.c
Original file line number Diff line number Diff line change
Expand Up @@ -441,6 +441,7 @@ static void update_culture_rating(void)
city_data.ratings.culture += building_count_active(BUILDING_GRAND_TEMPLE_MERCURY) * MONUMENT_CULTURE_BONUS;
city_data.ratings.culture += building_count_active(BUILDING_GRAND_TEMPLE_MARS) * MONUMENT_CULTURE_BONUS;
city_data.ratings.culture += building_count_active(BUILDING_GRAND_TEMPLE_VENUS) * MONUMENT_CULTURE_BONUS;
city_data.ratings.culture += building_count_active(BUILDING_GRAND_TEMPLE_VENUS_REWORKED) * MONUMENT_CULTURE_BONUS;
city_data.ratings.culture += building_count_active(BUILDING_PANTHEON) * MONUMENT_CULTURE_BONUS;
city_data.ratings.culture += building_count_active(BUILDING_COLOSSEUM) * MONUMENT_CULTURE_BONUS;
city_data.ratings.culture += building_count_active(BUILDING_HIPPODROME) * MONUMENT_CULTURE_BONUS;
Expand Down
2 changes: 1 addition & 1 deletion src/city/trade.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ void city_trade_update(void)
city_data.trade.num_land_routes = 0;
// Wine types
city_data.resource.wine_types_available = building_count_total(resource_get_data(RESOURCE_WINE)->industry) > 0 ? 1 : 0;
if (building_monument_gt_module_is_active(VENUS_MODULE_1_DISTRIBUTE_WINE)) {
if (building_monument_gt_module_is_active(VENUS_MODULE_1_DISTRIBUTE_WINE) || building_monument_gt_module_is_active(VENUS_MODULE_3_WINE_TEMPLE)) {
city_data.resource.wine_types_available += 1;
}

Expand Down
2 changes: 2 additions & 0 deletions src/core/lang.c
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,8 @@ const uint8_t *lang_get_string(int group, int index)
case BUILDING_GRAND_TEMPLE_MARS:
return translation_for(TR_BUILDING_GRAND_TEMPLE_MARS);
case BUILDING_GRAND_TEMPLE_VENUS:
return translation_for(TR_BUILDING_GRAND_TEMPLE_VENUS_LEGACY);
case BUILDING_GRAND_TEMPLE_VENUS_REWORKED:
return translation_for(TR_BUILDING_GRAND_TEMPLE_VENUS);
case BUILDING_PANTHEON:
return translation_for(TR_BUILDING_PANTHEON);
Expand Down
1 change: 1 addition & 0 deletions src/figure/roamer_preview.c
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ static figure_type building_type_to_figure_type(building_type type)
case BUILDING_GRAND_TEMPLE_MERCURY:
case BUILDING_GRAND_TEMPLE_NEPTUNE:
case BUILDING_GRAND_TEMPLE_VENUS:
case BUILDING_GRAND_TEMPLE_VENUS_REWORKED:
case BUILDING_LARGE_TEMPLE_CERES:
case BUILDING_LARGE_TEMPLE_MARS:
case BUILDING_LARGE_TEMPLE_MERCURY:
Expand Down
1 change: 1 addition & 0 deletions src/figure/service.c
Original file line number Diff line number Diff line change
Expand Up @@ -613,6 +613,7 @@ int figure_service_provide_coverage(figure *f)
}
break;
case BUILDING_GRAND_TEMPLE_VENUS:
case BUILDING_GRAND_TEMPLE_VENUS_REWORKED:
houses_serviced = provide_culture(x, y, religion_coverage_venus);
break;
case BUILDING_PANTHEON:
Expand Down
20 changes: 18 additions & 2 deletions src/game/cheats.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ static void game_cheat_disable_legions_consumption(uint8_t *);
static void game_cheat_disable_invasions(uint8_t *);
static void game_cheat_change_weather(uint8_t *);
static void game_cheat_destroy_building(uint8_t *);
static void game_cheat_enable_legacy_venus(uint8_t *);

static void (*const execute_command[])(uint8_t *args) = {
game_cheat_add_money,
Expand All @@ -77,7 +78,8 @@ static void (*const execute_command[])(uint8_t *args) = {
game_cheat_disable_legions_consumption,
game_cheat_disable_invasions,
game_cheat_change_weather,
game_cheat_destroy_building
game_cheat_destroy_building,
game_cheat_enable_legacy_venus
};

static const char *commands[] = {
Expand All @@ -100,7 +102,8 @@ static const char *commands[] = {
"breadandfish",
"leavemealone",
"weather", // syntax: weather <weather_type> <intensity>
"destroy" // syntax: destroy <building_id> <destruction_type>
"destroy", // syntax: destroy <building_id> <destruction_type>
"genetrix"
};

#define NUMBER_OF_COMMANDS sizeof (commands) / sizeof (commands[0])
Expand All @@ -111,6 +114,7 @@ static struct {
int extra_legions_unlocked;
int disabled_legions_consumption;
int disabled_invasions;
int legacy_venus_temple_enabled;
} data;

static int parse_word(uint8_t *string, uint8_t *word)
Expand Down Expand Up @@ -415,3 +419,15 @@ int game_cheat_disabled_invasions(void)
{
return data.disabled_invasions;
}

static void game_cheat_enable_legacy_venus(uint8_t *args)
{
data.legacy_venus_temple_enabled = 1;
building_menu_update();
show_warning(TR_CHEAT_LEGACY_VENUS_ENABLED);
}

int game_cheat_legacy_venus_enabled(void)
{
return data.legacy_venus_temple_enabled;
}
2 changes: 2 additions & 0 deletions src/game/cheats.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ int game_cheat_disabled_legions_consumption(void);

int game_cheat_disabled_invasions(void);

int game_cheat_legacy_venus_enabled(void);

void game_cheat_show_custom_events(uint8_t *args);

void game_cheat_show_editor(uint8_t *args);
Expand Down
23 changes: 22 additions & 1 deletion src/map/desirability.c
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,9 @@ static void update_buildings(void)
int step_size;
int range;
int venus_module2 = building_monument_gt_module_is_active(VENUS_MODULE_2_DESIRABILITY_ENTERTAINMENT);
int venus_module3 = building_monument_gt_module_is_active(VENUS_MODULE_3_WINE_TEMPLE);
int venus_gt = building_monument_working(BUILDING_GRAND_TEMPLE_VENUS);
int venus_gt_reworked = building_monument_working(BUILDING_GRAND_TEMPLE_VENUS_REWORKED);
for (int i = 1; i < building_count(); i++) {
building *b = building_get(i);
if (b->state == BUILDING_STATE_IN_USE) {
Expand All @@ -87,6 +89,18 @@ static void update_buildings(void)
step_size = model->desirability_step_size;
range = model->desirability_range;

// Venus GT Reworked Base Bonus
if (building_is_house(b->type) && b->data.house.temple_venus && venus_gt_reworked) {
if (b->subtype.house_level >= HOUSE_SMALL_VILLA) {
value += 4;
range += 1;
} else if (b->subtype.house_level >= HOUSE_SMALL_CASA) {
value += 2;
}

}


// Venus Module 2 House Desirability Bonus
if (building_is_house(b->type) && b->data.house.temple_venus && venus_module2) {
if (b->subtype.house_level >= HOUSE_SMALL_VILLA) {
Expand All @@ -112,14 +126,21 @@ static void update_buildings(void)
range = 0;
}

// Venus GT Base Bonus
// Legacy Venus GT Base Bonus
if (building_is_statue_garden_temple(b->type) && venus_gt) {
value_bonus = ((value / 4) > 1) ? (value / 4) : 1;
value += value_bonus;
step += 1;
range += 1;
}

// Venus Module 3 Temple Bonus
if (building_is_temple(b->type) && venus_module3) {
value += value;
step += 1;
range += 2;
}

add_to_terrain(
b->x, b->y, b->size,
value,
Expand Down
2 changes: 1 addition & 1 deletion src/map/image_context.c
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ static void set_tiles_road(int grid_offset, int tiles[MAX_TILES])
int base = b_main->grid_offset;
tiles[i] = (offset == base) ? 1 : 0;
}
if ((b->type >= BUILDING_GRAND_TEMPLE_CERES && b->type <= BUILDING_GRAND_TEMPLE_VENUS) || (b->type == BUILDING_PANTHEON)) {
if ((b->type >= BUILDING_GRAND_TEMPLE_CERES && b->type <= BUILDING_GRAND_TEMPLE_VENUS) || (b->type == BUILDING_PANTHEON) || (b->type == BUILDING_GRAND_TEMPLE_VENUS_REWORKED)) {
tiles[i] = (offset == b->grid_offset + map_grid_delta(3, 0)) ? 1 : 0;
tiles[i] |= (offset == b->grid_offset + map_grid_delta(0, 3)) ? 1 : 0;
tiles[i] |= (offset == b->grid_offset + map_grid_delta(6, 3)) ? 1 : 0;
Expand Down
2 changes: 1 addition & 1 deletion src/scenario/allowed_building.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ static const building_type CONVERSION_FROM_ORIGINAL[MAX_ORIGINAL_ALLOWED_BUILDIN
{ BUILDING_LOW_BRIDGE, BUILDING_SHIP_BRIDGE },
{ BUILDING_BARRACKS, BUILDING_ARMOURY },
{ BUILDING_MILITARY_ACADEMY },
{ BUILDING_GRAND_TEMPLE_CERES, BUILDING_GRAND_TEMPLE_NEPTUNE, BUILDING_GRAND_TEMPLE_MERCURY, BUILDING_GRAND_TEMPLE_MARS, BUILDING_GRAND_TEMPLE_VENUS },
{ BUILDING_GRAND_TEMPLE_CERES, BUILDING_GRAND_TEMPLE_NEPTUNE, BUILDING_GRAND_TEMPLE_MERCURY, BUILDING_GRAND_TEMPLE_MARS, BUILDING_GRAND_TEMPLE_VENUS, BUILDING_GRAND_TEMPLE_VENUS_REWORKED },
};

static uint8_t allowed_buildings[BUILDING_TYPE_MAX];
Expand Down
Loading
Loading