Skip to content

Commit

Permalink
Merge pull request CleverRaven#4 from CleverRaven/master
Browse files Browse the repository at this point in the history
merge
  • Loading branch information
faefux authored Jul 15, 2019
2 parents 4ce8939 + 7344388 commit 68406bf
Show file tree
Hide file tree
Showing 715 changed files with 1,487,418 additions and 903,623 deletions.
10 changes: 3 additions & 7 deletions .clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ misc-*,\
modernize-*,\
performance-*,\
readability-*,\
-bugprone-inaccurate-erase,\
-bugprone-incorrect-roundings,\
-bugprone-integer-division,\
-bugprone-macro-parentheses,\
Expand All @@ -27,8 +26,6 @@ readability-*,\
-bugprone-undefined-memory-manipulation,\
-bugprone-unused-return-value,\
-bugprone-use-after-move,\
-cert-dcl03-c,\
-cert-dcl16-c,\
-cert-dcl21-cpp,\
-cert-dcl50-cpp,\
-cert-dcl58-cpp,\
Expand All @@ -43,11 +40,9 @@ readability-*,\
-misc-definitions-in-headers,\
-misc-non-private-member-variables-in-classes,\
-misc-redundant-expression,\
-misc-static-assert,\
-misc-unconventional-assign-operator,\
-modernize-avoid-c-arrays,\
-modernize-deprecated-headers,\
-modernize-loop-convert,\
-modernize-make-unique,\
-modernize-pass-by-value,\
-modernize-raw-string-literal,\
Expand Down Expand Up @@ -89,11 +84,12 @@ readability-*,\
-readability-redundant-string-init,\
-readability-simplify-boolean-expr,\
-readability-static-accessed-through-instance,\
-readability-string-compare,\
-readability-uppercase-literal-suffix,\
"
WarningsAsErrors: '*'
HeaderFilterRegex: '(src|test).*'
FormatStyle: none
CheckOptions:
- key: readability-uppercase-literal-suffix.NewSuffixes
value: 'L;UL;LL;ULL'

# vim:tw=0
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ IRC:
`irc.freenode.net` ; `#CataclysmDDA`
http://webchat.freenode.net/?channels=#CataclysmDDA

Official Discord:
https://discord.gg/jFEc7Yp

## Frequently Asked Questions

#### Is there a tutorial?
Expand Down
94 changes: 42 additions & 52 deletions data/json/bionics.json

Large diffs are not rendered by default.

34 changes: 21 additions & 13 deletions data/json/construction.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"time": "20 m",
"qualities": [ [ { "id": "HAMMER", "level": 2 } ], [ { "id": "SCREW", "level": 1 } ] ],
"pre_special": "check_deconstruct",
"post_flags": [ "keep_items" ],
"post_special": "done_deconstruct"
},
{
Expand All @@ -18,6 +19,7 @@
"pre_note": "Certain terrain and furniture can be deconstructed without any tools.",
"pre_flags": "EASY_DECONSTRUCT",
"pre_special": "check_deconstruct",
"post_flags": [ "keep_items" ],
"post_special": "done_deconstruct"
},
{
Expand All @@ -28,6 +30,7 @@
"time": "0 m",
"pre_note": "Mark a spot for crafting. Crafting tasks next to this tile will automatically use this location instead of attempting to craft in your hands, with the usual crafting speed penalty for working on the ground. Does not prevent using a proper workbench, if available. Deconstruct or smash to remove.",
"pre_special": "check_empty",
"post_flags": [ "keep_items" ],
"post_terrain": "f_ground_crafting_spot"
},
{
Expand Down Expand Up @@ -192,7 +195,7 @@
"description": "Board Up Wood Door",
"//": "regular door",
"category": "REINFORCE",
"required_skills": [ [ "fabrication", 1 ] ],
"required_skills": [ [ "fabrication", 0 ] ],
"time": "20 m",
"qualities": [ [ { "id": "HAMMER", "level": 2 } ] ],
"components": [ [ [ "2x4", 4 ], [ "wood_panel", 1 ] ], [ [ "nail", 8 ] ] ],
Expand All @@ -204,7 +207,7 @@
"description": "Board Up Wood Door",
"//": "peephole door",
"category": "REINFORCE",
"required_skills": [ [ "fabrication", 1 ] ],
"required_skills": [ [ "fabrication", 0 ] ],
"time": "20 m",
"qualities": [ [ { "id": "HAMMER", "level": 2 } ] ],
"components": [ [ [ "2x4", 4 ], [ "wood_panel", 1 ] ], [ [ "nail", 8 ] ] ],
Expand All @@ -216,7 +219,7 @@
"description": "Board Up Wood Door",
"//": "boarded damaged door",
"category": "REINFORCE",
"required_skills": [ [ "fabrication", 1 ] ],
"required_skills": [ [ "fabrication", 0 ] ],
"time": "20 m",
"qualities": [ [ { "id": "HAMMER", "level": 2 } ] ],
"components": [ [ [ "2x4", 4 ], [ "wood_panel", 1 ] ], [ [ "nail", 8 ] ] ],
Expand All @@ -228,7 +231,7 @@
"description": "Board Up Wood Door",
"//": "boarded damaged peephole door",
"category": "REINFORCE",
"required_skills": [ [ "fabrication", 1 ] ],
"required_skills": [ [ "fabrication", 0 ] ],
"time": "20 m",
"qualities": [ [ { "id": "HAMMER", "level": 2 } ] ],
"components": [ [ [ "2x4", 4 ], [ "wood_panel", 1 ] ], [ [ "nail", 8 ] ] ],
Expand All @@ -240,7 +243,7 @@
"description": "Board Up Wood Door",
"//": "the reinforced doors",
"category": "REINFORCE",
"required_skills": [ [ "fabrication", 1 ] ],
"required_skills": [ [ "fabrication", 0 ] ],
"time": "20 m",
"qualities": [ [ { "id": "HAMMER", "level": 2 } ] ],
"components": [ [ [ "2x4", 4 ], [ "wood_panel", 1 ] ], [ [ "nail", 8 ] ] ],
Expand All @@ -252,7 +255,7 @@
"description": "Board Up Wood Door",
"//": "damaged reinforced doors",
"category": "REINFORCE",
"required_skills": [ [ "fabrication", 1 ] ],
"required_skills": [ [ "fabrication", 0 ] ],
"time": "20 m",
"qualities": [ [ { "id": "HAMMER", "level": 2 } ] ],
"components": [ [ [ "2x4", 4 ], [ "wood_panel", 1 ] ], [ [ "nail", 8 ] ] ],
Expand Down Expand Up @@ -447,7 +450,7 @@
"description": "Board Up Window",
"//": "Board up normal window",
"category": "REINFORCE",
"required_skills": [ [ "fabrication", 1 ] ],
"required_skills": [ [ "fabrication", 0 ] ],
"time": "20 m",
"qualities": [ [ { "id": "HAMMER", "level": 2 } ] ],
"components": [ [ [ "2x4", 4 ] ], [ [ "nail", 8 ] ] ],
Expand All @@ -459,7 +462,7 @@
"description": "Board Up Window",
"//": "Board up window with curtains",
"category": "REINFORCE",
"required_skills": [ [ "fabrication", 1 ] ],
"required_skills": [ [ "fabrication", 0 ] ],
"time": "20 m",
"qualities": [ [ { "id": "HAMMER", "level": 2 } ] ],
"components": [ [ [ "2x4", 4 ] ], [ [ "nail", 8 ] ] ],
Expand All @@ -472,7 +475,7 @@
"description": "Board Up Window",
"//": "Board up empty window",
"category": "REINFORCE",
"required_skills": [ [ "fabrication", 1 ] ],
"required_skills": [ [ "fabrication", 0 ] ],
"time": "20 m",
"qualities": [ [ { "id": "HAMMER", "level": 2 } ] ],
"components": [ [ [ "2x4", 4 ] ], [ [ "nail", 8 ] ] ],
Expand All @@ -484,7 +487,7 @@
"description": "Board Up Window",
"//": "Board up window frame only",
"category": "REINFORCE",
"required_skills": [ [ "fabrication", 1 ] ],
"required_skills": [ [ "fabrication", 0 ] ],
"time": "20 m",
"qualities": [ [ { "id": "HAMMER", "level": 2 } ] ],
"components": [ [ [ "2x4", 4 ] ], [ [ "nail", 8 ] ] ],
Expand Down Expand Up @@ -1299,6 +1302,7 @@
"components": [ [ [ "nail", 6 ] ] ],
"qualities": [ [ { "id": "HAMMER", "level": 1 } ] ],
"pre_terrain": "f_crate_o",
"post_flags": [ "keep_items" ],
"post_terrain": "f_crate_c"
},
{
Expand Down Expand Up @@ -1337,7 +1341,8 @@
"components": [ [ [ "nail", 6 ] ] ],
"qualities": [ [ { "id": "HAMMER", "level": 1 } ] ],
"pre_terrain": "f_coffin_o",
"post_terrain": "f_coffin_c"
"post_terrain": "f_coffin_c",
"post_flags": [ "keep_items" ]
},
{
"type": "construction",
Expand All @@ -1349,6 +1354,7 @@
"components": [ [ [ "rock", 20 ], [ "2x4", 2 ] ] ],
"pre_flags": "DIGGABLE",
"pre_terrain": "f_coffin_c",
"post_flags": [ "keep_items" ],
"post_terrain": "t_grave_new",
"post_special": "done_grave"
},
Expand Down Expand Up @@ -2581,7 +2587,8 @@
"time": "0 m",
"pre_note": "Firewood or other flammable materials on a nearby tile marked in this way may be used to automatically refuel fires. This will be done to maintain light during long-running tasks that require it such as crafting or reading, but not (for example) if you are simply waiting nearby.",
"pre_special": "check_no_trap",
"post_special": "done_mark_firewood"
"post_special": "done_mark_firewood",
"post_flags": [ "keep_items" ]
},
{
"type": "construction",
Expand All @@ -2591,7 +2598,8 @@
"time": "0 m",
"pre_note": "Mark a spot for target practice. Firing will automatically target the first practice target location found in gun range, if no enemies are around.",
"pre_special": "check_no_trap",
"post_special": "done_mark_practice_target"
"post_special": "done_mark_practice_target",
"post_flags": [ "keep_items" ]
},
{
"type": "construction",
Expand Down
Loading

0 comments on commit 68406bf

Please sign in to comment.