Skip to content
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

Merge pull request CleverRaven#39645 from Brian-Otten/melee-weapon-ba… #149

Merged
merged 73 commits into from
Apr 22, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
73 commits
Select commit Hold shift + click to select a range
af2a758
Unarmed weapon balance
Brian-Otten Apr 17, 2020
d692989
Flail balance
Brian-Otten Apr 17, 2020
49b1a78
remove tohit = 0
Brian-Otten Apr 17, 2020
fa2cd6b
Correctly namespace more math functions.
kevingranade Apr 18, 2020
71bd695
Update data/json/items/melee/fake.json
Brian-Otten Apr 19, 2020
9983c77
Fist balance pass 2
Brian-Otten Apr 19, 2020
ecae7f8
Merge branch 'Melee-weapon-balance-fists' of https://github.com/Brian…
Brian-Otten Apr 19, 2020
3db9283
Make score descriptions optional
jbytheway Apr 16, 2020
dddbcc9
Track game start time
jbytheway Apr 16, 2020
e6e6d9e
Add achievement_comparison::less_equal
jbytheway Apr 16, 2020
dfbae57
Add achievement time constraints
jbytheway Apr 17, 2020
28a970f
Update docs for new achievements features
jbytheway Apr 18, 2020
98303c2
Fix off-by-one error in time printing
jbytheway Apr 18, 2020
9dfdf4f
Override time format option
jbytheway Apr 19, 2020
62c6ed4
Replace name_plural with str_pl
Qrox Apr 19, 2020
2133ef5
Use `str_sp` for identical `str` and `str_pl`
Qrox Apr 19, 2020
8b26fa9
Remove unnecessary `str_pl`
Qrox Apr 19, 2020
6af9a2d
Remove name_plural from cpp source
Qrox Apr 19, 2020
0cf3e83
Remove name_plural from extract_json_strings.py
Qrox Apr 19, 2020
eef6437
Remove `plural` from parameter list of writestr and rename `new_pl_fm…
Qrox Apr 19, 2020
f7dc343
Change "faulty" to burnt out in PrepNet mission dialogues
Apr 20, 2020
ef89bb3
Make medieval peasant scenario more consistant
Demoragon Apr 20, 2020
2999f7a
fix disappearing NPCs
Apr 20, 2020
1a51cad
Merge pull request #39751 from Fris0uman/burnt_out
ZhilkinSerg Apr 20, 2020
c17188b
Merge pull request #39750 from Qrox/remove-name-plural
ZhilkinSerg Apr 20, 2020
8ffc095
Merge pull request #39753 from davidpwbrown/lost_npc_fix
ZhilkinSerg Apr 20, 2020
0a849e2
Merge pull request #39666 from kevingranade/math-fun
ZhilkinSerg Apr 20, 2020
28e603d
Adds new arsonist quest and unlocks her as a merchant after completio…
Brian-Otten Apr 20, 2020
9baeaa6
re-incorporate shelving unit for vehicles
Soup-de-Loop Apr 20, 2020
5a18013
Migrate panel manager to ui_adaptor
Qrox Apr 20, 2020
a3e2e7f
fixed bux where a vehicle's air drag coefficient was not updating to
thorondir Apr 20, 2020
cbb803f
Use reference in loop, not copy
anothersimulacrum Apr 20, 2020
739080a
Merge pull request #39763 from anothersimulacrum/Wrange-loop-construct
ZhilkinSerg Apr 20, 2020
6a58402
Merge pull request #39758 from Qrox/migrate-ui-8
ZhilkinSerg Apr 20, 2020
f3d2298
Merge pull request #39757 from Soup-de-Loop/soupdeloop-blazemod-PR18
ZhilkinSerg Apr 20, 2020
dbad6d8
Misc plural fixes (#39752)
Qrox Apr 20, 2020
db44c38
Merge pull request #39754 from Demoragon/change-medieval-peasant-scen…
ZhilkinSerg Apr 20, 2020
474d434
More loop fixes
anothersimulacrum Apr 20, 2020
0e020ee
Blackjack and sap tohit +1
Brian-Otten Apr 20, 2020
b8163fd
Fix grammar in Ninjutsu description
wapcaplet Apr 20, 2020
26fd3d7
In gfx_tools, don't always add 'gfx/' to pathname
anothersimulacrum Apr 20, 2020
1aa81c8
Make mark 19 automatic
Brian-Otten Apr 20, 2020
c28536b
further refactor blaze vehicle parts
Soup-de-Loop Apr 20, 2020
f3575ae
Remove unused overload
jbytheway Apr 21, 2020
f7647c1
Replace rect_range members with a point
jbytheway Apr 21, 2020
bd363e4
Add point overloads for functions
jbytheway Apr 21, 2020
f6399cf
Add test for health effect on healing rate
wapcaplet Apr 20, 2020
1da3109
Add test for kcal_speed_penalty
wapcaplet Apr 20, 2020
a232805
Kibosh plans to reduce speed for being overweight
wapcaplet Apr 20, 2020
b0461b2
Add a couple more edge cases
wapcaplet Apr 20, 2020
9e0ce17
Merge pull request #39644 from Brian-Otten/Melee-weapon-balance-fists
Rivet-the-Zombie Apr 21, 2020
8f50e88
Merge pull request #39756 from Soup-de-Loop/soupdeloop-blazemod-PR17
ZhilkinSerg Apr 21, 2020
2d89311
Merge pull request #39761 from Thorondir/car_door_drag_fix
ZhilkinSerg Apr 21, 2020
449b326
Add new starting scenario The Last Delivery (#39703)
Fris0uman Apr 21, 2020
5e936ea
Merge pull request #39686 from jbytheway/achievement_time_constraints
ZhilkinSerg Apr 21, 2020
b6654b1
Premium survival kit (#38513)
Maleclypse Apr 21, 2020
43d8b78
Migrate code (#39768)
Ramza13 Apr 21, 2020
179a6fe
Port function callers
jbytheway Apr 21, 2020
32f6c67
Port function implementations
jbytheway Apr 21, 2020
a27c935
Merge pull request #39742 from wapcaplet/health-and-healing
kevingranade Apr 21, 2020
a848ae0
Rename CMake intermediate targets
jbytheway Apr 17, 2020
8e199b1
Add CMake option to disable ccache
jbytheway Apr 17, 2020
0135827
Update Catch2 to v2.12.0 (from 2.9.1)
jbytheway Apr 21, 2020
3525bed
Fix some sign-comparison warnings in tests
jbytheway Apr 21, 2020
dd8da9f
More loop & test fixes
anothersimulacrum Apr 21, 2020
b3d7d7d
Ensure we don't call function on nullptr
jbytheway Apr 21, 2020
f66605f
Randomize gender before name in new character menu
anothersimulacrum Apr 21, 2020
b22ebb0
Fix some possibly undefined members
RipleyTom Apr 21, 2020
2e38bc5
Merge pull request #39776 from jbytheway/point_apis_20200420
kevingranade Apr 21, 2020
43af505
Merge pull request #39769 from wapcaplet/body-weight-effects
kevingranade Apr 21, 2020
7bdd0c7
Merge pull request #39787 from jbytheway/cmake_object_library
kevingranade Apr 22, 2020
b7e4ed1
Merge pull request #39797 from jbytheway/catch2_update_2.12
kevingranade Apr 22, 2020
0de3d1c
Merge pull request #39645 from Brian-Otten/melee-weapon-balance-flails
Rivet-the-Zombie Apr 22, 2020
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
5 changes: 3 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ option(LOCALIZE "Support for language localizations. Also enable UTF support
option(LANGUAGES "Compile localization files for specified languages." "")
option(DYNAMIC_LINKING "Use dynamic linking. Or use static to remove MinGW dependency instead." "ON")
option(JSON_FORMAT "Build JSON formatter" "OFF")
option(CATA_CCACHE "Try to find and build with ccache" "ON")
option(CATA_CLANG_TIDY_PLUGIN "Build Cata's custom clang-tidy plugin" "OFF")
set(CATA_CLANG_TIDY_INCLUDE_DIR "" CACHE STRING "Path to internal clang-tidy headers required for plugin (e.g. ClangTidy.h)")
set(CATA_CHECK_CLANG_TIDY "" CACHE STRING "Path to check_clang_tidy.py for plugin tests")
Expand Down Expand Up @@ -392,9 +393,9 @@ ADD_CUSTOM_TARGET(uninstall
)

find_program(CCACHE_FOUND ccache)
if(CCACHE_FOUND)
if(CCACHE_FOUND AND CATA_CCACHE)
set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE ccache)
set_property(GLOBAL PROPERTY RULE_LAUNCH_LINK ccache)
endif(CCACHE_FOUND)
endif()

# vim:noet
3 changes: 1 addition & 2 deletions data/core/basic.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
"type": "COMESTIBLE",
"comestible_type": "DRINK",
"category": "food",
"name": "water",
"name_plural": "water",
"name": { "str_sp": "water" },
"description": "Water, the stuff of life, the best thirst-quencher available. It would be safer to drink once purified.",
"weight": 250,
"volume": 1,
Expand Down
15 changes: 15 additions & 0 deletions data/json/achievements.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[
{
"id": "achievement_kill_zombie",
"type": "achievement",
"description": "One down, billions to go\u2026",
"requirements": [ { "event_statistic": "num_avatar_zombie_kills", "is": ">=", "target": 1 } ]
},
{
"id": "achievement_kill_in_first_minute",
"type": "achievement",
"description": "Rude awakening",
"time_constraint": { "since": "game_start", "is": "<=", "target": "1 minute" },
"requirements": [ { "event_statistic": "num_avatar_kills", "is": ">=", "target": 1 } ]
}
]
2 changes: 2 additions & 0 deletions data/json/itemgroups/Food/food.json
Original file line number Diff line number Diff line change
Expand Up @@ -498,6 +498,7 @@
{ "item": "yoghurt", "prob": 40 },
{ "item": "pudding", "prob": 50 },
{ "item": "V8", "prob": 15 },
{ "item": "foodplace_food", "prob": 8 },
{ "item": "sandwich_t", "prob": 30 },
{ "item": "sandwich_pb", "prob": 30 },
{ "item": "sandwich_pbj", "prob": 30 },
Expand Down Expand Up @@ -760,6 +761,7 @@
{ "item": "cheeseburger", "prob": 35 },
{ "item": "hotdogs_frozen", "prob": 12 },
{ "item": "hotdogs_cooked", "prob": 35 },
{ "item": "foodplace_food", "prob": 8 },
{ "item": "chili", "prob": 20 },
{ "item": "chilidogs", "prob": 20 },
{ "item": "fries", "prob": 80 },
Expand Down
17 changes: 17 additions & 0 deletions data/json/itemgroups/Locations_MapExtras/Arsonist_stock.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
[
{
"type": "item_group",
"id": "NC_ARSONIST_STOCK",
"subtype": "collection",
"items": [
{ "item": "molotov", "count": 50 },
{ "item": "pipebomb", "count": 50 },
{ "item": "fuse", "count": 20 },
{ "item": "FMCNote", "count": 3 },
{ "item": "nail", "count": 5 },
{ "item": "rebar_rail", "count": 5 },
{ "item": "textbook_anarch", "count": 1 },
{ "item": "fertilizer_commercial", "count": 1 }
]
}
]
1 change: 1 addition & 0 deletions data/json/itemgroups/Locations_MapExtras/locations.json
Original file line number Diff line number Diff line change
Expand Up @@ -2152,6 +2152,7 @@
[ "cotton_ball", 50 ],
[ "1st_aid", 35 ],
[ "survival_kit", 35 ],
[ "premium_survival_kit", 8 ],
[ "saline", 10 ],
[ "vitamins", 75 ],
[ "gummy_vitamins", 25 ],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -666,6 +666,7 @@
[ "flashlight", 40 ],
[ "heavy_flashlight", 30 ],
[ "survival_kit", 35 ],
[ "premium_survival_kit", 8 ],
[ "mess_kit", 9 ],
[ "popcan_stove", 2 ],
[ "denat_alcohol", 2 ],
Expand Down
3 changes: 2 additions & 1 deletion data/json/itemgroups/activities_hobbies.json
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,8 @@
[ "esbit_stove", 10 ],
[ "bottle_folding", 10 ],
[ "mess_tin", 10 ],
[ "survival_kit", 30 ]
[ "survival_kit", 30 ],
[ "premium_survival_kit", 3 ]
]
}
]
3 changes: 3 additions & 0 deletions data/json/itemgroups/food_service.json
Original file line number Diff line number Diff line change
Expand Up @@ -760,6 +760,7 @@
[ "currywurst", 5 ],
[ "macaroni_cooked", 5 ],
[ "lasagne", 5 ],
[ "foodplace_food", 2 ],
[ "spaghetti_pesto", 5 ],
[ "glazed_tenderloin", 5 ]
]
Expand All @@ -781,6 +782,7 @@
[ "tomato", 20 ],
[ "lettuce", 15 ],
[ "zucchini", 15 ],
[ "foodplace_food", 20 ],
[ "onion", 15 ],
[ "chili_pepper", 15 ],
[ "carrot", 15 ],
Expand Down Expand Up @@ -842,6 +844,7 @@
[ "spaghetti_raw", 20 ],
[ "lasagne_raw", 20 ],
[ "macaroni_raw", 20 ],
[ "foodplace_food", 5 ],
[ "knife_butcher", 10 ]
]
},
Expand Down
18 changes: 18 additions & 0 deletions data/json/itemgroups/misc.json
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,24 @@
{ "item": "water_clean", "count": 2, "charges": 2, "container-item": "bottle_plastic" }
]
},
{
"id": "premium_contents",
"type": "item_group",
"subtype": "collection",
"//": "Items generated from a premium survival kit",
"items": [
{ "item": "knife_folding" },
{ "item": "flint_steel" },
{ "item": "whistle_multitool" },
{ "item": "bottle_folding" },
{ "item": "light_plus_battery_cell", "charges": 150, "container-item": "flashlight" },
{ "item": "picklocks" },
{ "item": "lifestraw" },
{ "item": "pocket_survival" },
{ "item": "solarpack" },
{ "item": "handflare", "count": 4 }
]
},
{
"id": "horse_gear",
"type": "item_group",
Expand Down
2 changes: 1 addition & 1 deletion data/json/items/ammo.json
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@
"category": "spare_parts",
"price": 250,
"price_postapoc": 0,
"name": { "str": "plutonium slurry" },
"name": { "str_sp": "plutonium slurry" },
"symbol": "=",
"color": "green",
"description": "Highly radioactive slurry. It is probably best to get far away from this.",
Expand Down
2 changes: 1 addition & 1 deletion data/json/items/ammo/20x66mm.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
"id": "20x66_inc",
"copy-from": "20x66_shot",
"type": "AMMO",
"name": { "str": "20x66mm incendiary" },
"name": { "str": "20x66mm incendiary", "str_pl": "20x66mm incendiaries" },
"description": "20x66mm caseless shotgun rounds, incendiary type. Proprietary ammunition for Rivtech shotguns. Being caseless rounds, these cannot be disassembled or reloaded.",
"price": 10500,
"price_postapoc": 5000,
Expand Down
2 changes: 1 addition & 1 deletion data/json/items/ammo/50.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"id": "50match",
"copy-from": "50bmg",
"type": "AMMO",
"name": { "str": ".50 BMG Match" },
"name": { "str": ".50 BMG Match", "str_pl": ".50 BMG Matches" },
"description": ".50 BMG FMJ lead core ammunition manufactured with tighter tolerances for long-range competition shooting or other precision rifle use.",
"count": 10,
"relative": { "damage": { "damage_type": "stab", "amount": 2, "armor_penetration": -4 } },
Expand Down
2 changes: 1 addition & 1 deletion data/json/items/ammo/8x40mm.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
{
"id": "8mm_caseless",
"type": "AMMO",
"name": { "str": "8x40mm caseless" },
"name": { "str_sp": "8x40mm caseless" },
"//": "Cased ammo tends to be roughly $1/shot, more or less. Rivtech ammo, being New and Proprietary and Expensive, $2-2.50 or so.",
"description": "8x40mm caseless rounds. Proprietary ammunition for Rivtech firearms. Being caseless rounds, these cannot be disassembled or reloaded.",
"weight": "12 g",
Expand Down
Loading