Skip to content

fix(balance): kilnable heavy bones #5983

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

Merged
merged 1 commit into from
Jan 26, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/iexamine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2582,7 +2582,7 @@
return;
}

static const std::set<material_id> kilnable{ material_id( "wood" ), material_id( "bone" ) };
static const std::set<material_id> kilnable{ material_id( "wood" ), material_id( "bone" ), material_id( "bone_heavy" ) };
bool fuel_present = false;
auto items = here.i_at( examp );
for( const item * const &i : items ) {
Expand Down Expand Up @@ -4256,7 +4256,7 @@
int distance = INT_MAX;
gas_units = 0;

for( const tripoint &tmp : here.points_in_radius( center, SEEX * 2 ) ) {

Check warning on line 4259 in src/iexamine.cpp

View workflow job for this annotation

GitHub Actions / build

performing an implicit widening conversion to type 'size_t' (aka 'unsigned long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result]
if( here.ter( tmp ) != ter_str_id( "t_gas_tank" ) ) {
continue;
}
Expand Down
Loading