Skip to content

Commit 6294f56

Browse files
Ship kitchenette can heat things
1 parent 310fa55 commit 6294f56

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

data/mods/aftershock_exoplanet/maps/furniture_and_terrain/furniture_spaceship.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"move_cost_mod": -1,
1111
"coverage": 55,
1212
"required_str": -1,
13-
"flags": [ "FLAMMABLE_ASH", "CONTAINER", "PLACE_ITEM", "ORGANIC", "MOUNTABLE", "FLAT_SURF", "NO_SELF_CONNECT" ],
13+
"flags": [ "FLAMMABLE_ASH", "USABLE_FIRE", "CONTAINER", "PLACE_ITEM", "ORGANIC", "MOUNTABLE", "FLAT_SURF", "NO_SELF_CONNECT" ],
1414
"connect_groups": "COUNTER",
1515
"connects_to": "COUNTER",
1616
"deconstruct": {
@@ -19,8 +19,7 @@
1919
{ "item": "rigid_plastic_sheet", "count": 1 },
2020
{ "item": "polycarbonate_sheet", "count": [ 2, 8 ] }
2121
]
22-
},
23-
"crafting_pseudo_item": "fire"
22+
}
2423
},
2524
{
2625
"type": "furniture",

src/map.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3581,7 +3581,7 @@ bool map::has_nearby_fire( const tripoint_bub_ms &p, int radius ) const
35813581
if( has_field_at( pt, fd_fire ) ) {
35823582
return true;
35833583
}
3584-
if( has_flag_ter_or_furn( ter_furn_flag::TFLAG_USABLE_FIRE, p ) ) {
3584+
if( has_flag_ter_or_furn( ter_furn_flag::TFLAG_USABLE_FIRE, pt ) ) {
35853585
return true;
35863586
}
35873587
}

0 commit comments

Comments
 (0)