Skip to content

Commit

Permalink
style(autofix.ci): automated formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored May 15, 2024
1 parent 47e05c1 commit ff3c4f8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion data/json/requirements/toolsets.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@
"id": "shot_forming",
"type": "requirement",
"//": "Forming of shot from raw materials, allows use of makeshift press, flag ensures reversing the recipe will replace pulling quality with cutting",
"tools": [ [ [ "press", -1, "UNCRAFT_CONVERT_TO_CUTTING" ], [ "press_dowel", -1 ] ], [ [ "fire", -1 ], [ "hotplate", 2 ], [ "toolset", 2 ] ] ]
"tools": [
[ [ "press", -1, "UNCRAFT_CONVERT_TO_CUTTING" ], [ "press_dowel", -1 ] ],
[ [ "fire", -1 ], [ "hotplate", 2 ], [ "toolset", 2 ] ]
]
},
{
"id": "earthenware_firing",
Expand Down
2 changes: 1 addition & 1 deletion src/requirements.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1050,7 +1050,7 @@ requirement_data requirement_data::disassembly_requirements() const
// Shotshells, can be pried open with just a knife
if( type->has_flag( STATIC( flag_id( "UNCRAFT_CONVERT_TO_CUTTING" ) ) ) ) {
new_qualities.emplace_back( quality_id( "CUT" ), 1, 1 );
// Proper rifle rounds, use a puller
// Proper rifle rounds, use a puller
} else if( type->has_flag( STATIC( flag_id( "UNCRAFT_CONVERT_TO_PULLING_2" ) ) ) ) {
new_qualities.emplace_back( quality_id( "PULL" ), 1, 2 );
} else {
Expand Down

0 comments on commit ff3c4f8

Please sign in to comment.