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

Catchup for Artifact conversions #25

Merged
merged 151 commits into from
Aug 4, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
151 commits
Select commit Hold shift + click to select a range
785f329
replace and remove item_contents::contents_are_rigid
Jul 14, 2020
80d8c97
remove arbitrary else case
Jul 18, 2020
3a86dde
Remove legacy bodypart id from covers
Jul 28, 2020
95977b4
replace remaining entries
Jul 29, 2020
7574e49
Keep sided info
Jul 29, 2020
8d1333d
remove legacy code
Jul 29, 2020
016ae8e
Merge branch 'master' into layer
Fris0uman Jul 29, 2020
283b9d3
fix
Jul 29, 2020
d98d501
Fix disassembly time inconsistency in Butcher UI
LcsTen Jul 30, 2020
3bba569
lint 9mm.json
Jul 30, 2020
dc6ff4f
Eat menu: Indicate when container is sealed
RoyBerube Jul 30, 2020
4f93151
Audit RM120c shotgun for weight, and longest_side
feinorgh Jul 30, 2020
b02153e
Audit RM20 auto shotgun for weight, volume, and longest_side
feinorgh Jul 30, 2020
7375339
Audit RM228 PDW for longest_side
feinorgh Jul 30, 2020
a4c4cd1
Audit RM802 for volume, and longest_side
feinorgh Jul 30, 2020
c6b137b
Audit RM216 SPIW & RM232 IDW
feinorgh Jul 30, 2020
4b985cc
Add "longest_side" to RM103A automagnum
feinorgh Jul 30, 2020
b6ada55
Audit RM11B scout rifle for volume, and longest_side
feinorgh Jul 30, 2020
c0783e0
Apply clang-tidy advices
LcsTen Jul 30, 2020
e672a44
Audit RM2000 submachine gun
feinorgh Jul 30, 2020
5bd337f
Audit RM298 HMG for volume, and longest_side
feinorgh Jul 30, 2020
f8e8ea8
Audit RM51 assault rifle for volume, and longest_side
feinorgh Jul 30, 2020
cd4ce8a
Add longest_side to RM614 LMG
feinorgh Jul 30, 2020
5e8a9e9
Add longest_side to RM88 battle rifle
feinorgh Jul 30, 2020
fd6948f
Add longest_side to RM451 flamethrower
feinorgh Jul 30, 2020
22b2e41
Add longest_side to RM121 aux shotgun
feinorgh Jul 30, 2020
a975227
remove duplicate
Jul 30, 2020
9417675
doc update
Jul 30, 2020
01e7684
Parallel Bridge Fix
KamikazieBoater Jul 30, 2020
b0e395e
Code improvement suggestion
RoyBerube Jul 31, 2020
8b12cf8
Code improvement suggestion
RoyBerube Jul 31, 2020
7921b72
Pocket sealed status detection limited to containing pocket only
RoyBerube Jul 31, 2020
76a7f10
Applying some ~~of the~~ LanguageTool suggestions
int-ua Jul 31, 2020
cbc14c4
Reverting errors
int-ua Jul 31, 2020
01f1c08
Fix that was suggested by Qrox
int-ua Jul 31, 2020
edd285e
More reverting
int-ua Jul 31, 2020
bd8a8d1
reverting
int-ua Jul 31, 2020
1200b21
Change to use oter_get_rotation
KamikazieBoater Jul 31, 2020
1e86ee6
Apply reviewer suggestion
LcsTen Jul 31, 2020
f3febde
Remove count from get_recursive_disassemble_moves
LcsTen Jul 31, 2020
afc1510
vac_sealer longest_side fix
int-ua Jul 31, 2020
26e335d
Adjust longest_side of RM2000 to fit stock mod
feinorgh Jul 31, 2020
e00dc29
Adjust longest_side for RM51 assault rifle
feinorgh Jul 31, 2020
97dd662
Update RM88 with longest_side
feinorgh Jul 31, 2020
37733bf
Fix Languorous mutation giving movespeed bonus
LcsTen Jul 31, 2020
6ec3611
Apply reviewer suggestion
LcsTen Jul 31, 2020
cd08bf7
Consolidate tileset and soundpack searching code.
linewriter1024 Aug 1, 2020
390f8de
Prioritize user directories when searching for resources.
linewriter1024 Aug 1, 2020
d0ab521
Fix styling.
linewriter1024 Aug 1, 2020
1fa30a9
more reverting
int-ua Aug 1, 2020
444d728
typo
int-ua Aug 1, 2020
d16c56a
Reverted most of the "some of the" changes
int-ua Aug 1, 2020
3ec0b15
add sheath entry
Maleclypse Aug 1, 2020
8745fb8
Merge pull request #42572 from feinorgh/audit_rivtech_guns
Rivet-the-Zombie Aug 1, 2020
42713a3
vehicles: do not become crazily efficient in reverse
mlangsdorf Jul 29, 2020
6995949
mainline urbdev house 8
curstwist Aug 1, 2020
49e3c97
vehicle efficient: add reverse tests
mlangsdorf Aug 1, 2020
efa08c9
Update data/mods/Magiclysm/professions.json
Maleclypse Aug 1, 2020
10e6058
Remove body_part from effect (#42277)
Fris0uman Aug 1, 2020
96f3a03
Report failing starting location
ZhilkinSerg Jul 31, 2020
aab4299
Rename plastic bowl to tupperware (#42420)
HotCupOfJava Aug 1, 2020
b59c9c6
mild activity level adjustments (#42433)
KorGgenT Aug 2, 2020
b8231aa
Fix inconsistency of wielding cost (#42450)
LcsTen Aug 2, 2020
6e61fbf
Allow learning proficiencies from crafting
anothersimulacrum Jul 26, 2020
26b25eb
Add bladesmithing proficiency
anothersimulacrum Jul 27, 2020
68158ca
Let NPCs teach you proficiencies
anothersimulacrum Jul 27, 2020
3541a54
fix zero volume error (#42628)
FuelType-Memes Aug 2, 2020
ec271df
Update MISSIONS_JSON.md (#42615)
Maleclypse Aug 2, 2020
3e81d4d
Audit 40x46mm guns (#42606)
feinorgh Aug 2, 2020
e00b8cc
Update professions.json
Maleclypse Aug 2, 2020
39d822f
Books can hide recipes or display alternate recipe names (#42475)
mqrause Aug 2, 2020
0bc165c
Merge pull request #42610 from LcsTen/npc-languorous-speed-bonus
Rivet-the-Zombie Aug 2, 2020
78e8fdf
[Magiclysm] Component spell content update (#42587)
Aug 2, 2020
48a8219
Merge pull request #42476 from anothersimulacrum/learnme
kevingranade Aug 2, 2020
8fa6d13
Chemistry Recipe fixes (goodbye, concentrated acid!) (#42489)
Zukulini Aug 2, 2020
23c2087
Remove legacy bodypart id from covers (#42517)
kevingranade Aug 2, 2020
7b3bc93
Merge pull request #42569 from LcsTen/disassembly-consistency-ui
kevingranade Aug 2, 2020
9422936
Merge pull request #42571 from RoyBerube/sealed_food_show
kevingranade Aug 2, 2020
4d7659d
Merge pull request #42581 from KamikazieBoater/parallel_bridge_fix
kevingranade Aug 2, 2020
4c81ad9
Merge pull request #42585 from int-ua/languagetool
kevingranade Aug 2, 2020
8774f38
Fix containers not unsealed when consuming contained items
Qrox Aug 2, 2020
d62a949
Unseal containers when dropping/stashing on pet
Qrox Aug 2, 2020
e81d7af
Unseal container when unloading
Qrox Aug 2, 2020
4545b1f
Do not stack sealed containers with unsealed ones
Qrox Aug 2, 2020
85a2927
Avoid source container when spilling content
Qrox Aug 2, 2020
a99d871
Fix spilling a container duplicating its content
Qrox Aug 2, 2020
985096f
Do not show source container as candidate when unloading
Qrox Aug 2, 2020
54fe5e5
- use correct item name
Jul 31, 2020
0fb567e
Merge pull request #42611 from shacknetisp/dev-0-resource-options
kevingranade Aug 2, 2020
a7157d0
fix UPS power draw (#42613)
andrei8l Aug 2, 2020
05e958d
Merge pull request #42626 from mlangsdorf/vehicles_reverse_fix
kevingranade Aug 2, 2020
939a328
Fixes #42490. Objects inside a container should have their ownership …
placeybordeaux Aug 1, 2020
6913605
Convert Split Rail to Privacy Fence
ashGlaw Aug 1, 2020
a98b6a7
Centimeter (#42636)
tenmillimaster Aug 2, 2020
88bb184
vehicle: fix reloading fuel bunkers
andrei8l Aug 2, 2020
a6ed3bb
Add some safety
Aug 2, 2020
dc98345
primitice shovel recipe update
Tamiore Aug 2, 2020
77239ee
Merge pull request #42625 from curstwist/mainline-urbdev-house-8
ZhilkinSerg Aug 2, 2020
8ef50e6
[DinoMod] All About Ankylosaurus (#42633)
LyleSY Aug 2, 2020
613e702
Merge pull request #42646 from Fris0uman/legacyBP
ZhilkinSerg Aug 2, 2020
feb907f
Merge pull request #42641 from Qrox/unseal
ZhilkinSerg Aug 2, 2020
1b2be30
Merge pull request #42643 from andrei8l/fix-fuel-bunker
ZhilkinSerg Aug 2, 2020
e23d8ce
mainline 6 urbdev houses
curstwist Aug 2, 2020
fd1672f
Improve use of bones in recipes (#42634)
Rail-Runner Aug 3, 2020
824baec
Make the correct CBM item drop after a successful monster uninstallat…
dobbo151 Aug 3, 2020
9ffafff
Fix place npc iuse (#42647)
ZhilkinSerg Aug 3, 2020
f9e0525
Fiber mat recipe update. (#42648)
Tamiore Aug 3, 2020
847cf09
Fix mop iuse
ZhilkinSerg Aug 2, 2020
cb96406
fixing trait and male/female missing
Maleclypse Aug 3, 2020
e48c112
Merge pull request #42134 from mqrause/remove_arbitrary_method
kevingranade Aug 3, 2020
2e7af6e
linted
Maleclypse Aug 3, 2020
83b74f4
Merge pull request #42649 from Tamiore/wooden_shovel_update
Rivet-the-Zombie Aug 3, 2020
4fcdd27
Reword documentation on running unit tests a bit.
moxian Aug 2, 2020
57a8d3c
Update JSON_INFO.md
Jerimee Aug 2, 2020
dd1dfb0
Trim character includes (#42659)
kevingranade Aug 3, 2020
c1645ee
Merge pull request #42653 from curstwist/mainline-urbdev-houses
ZhilkinSerg Aug 3, 2020
cda7028
Viewer facet (#42562)
kevingranade Aug 3, 2020
aefa22a
Enable mouse input - rework (#41605)
martinrhan Aug 3, 2020
5c1a4c3
Fix formatting
ZhilkinSerg Aug 3, 2020
7e0b357
Fix formatting
ZhilkinSerg Aug 3, 2020
43cab6d
Build Split Rail and Privacy Fences from Existing Fence Posts (#42661)
ashGlaw Aug 3, 2020
376b8ff
Combining privacy fence constructions in construction menu (#42662)
ashGlaw Aug 3, 2020
3eb8e8e
Aftershock: Autodoc Tiers (#42555)
John-Candlebury Aug 3, 2020
c9ba171
Aftershock: Neurosoft Aeronautics CBM (#42612)
John-Candlebury Aug 3, 2020
5cc59e1
Python 3 everywhere, PEP8 (#42559)
int-ua Aug 3, 2020
6274e64
Mark some recipes as obsolete to suppress debug messages
Qrox Aug 3, 2020
c2cb8d9
Fix error on loading save
Qrox Aug 3, 2020
ac6942b
Remove leftover references to acid water
Qrox Aug 3, 2020
8192c05
Fix debug message about setting null ammo
Qrox Aug 3, 2020
2f50162
Merge pull request #42671 from Qrox/no-acid
ZhilkinSerg Aug 3, 2020
e851b61
Merge pull request #42672 from Qrox/press-no-ammo
ZhilkinSerg Aug 3, 2020
782fe12
Merge pull request #42670 from Qrox/fix-save-loading
ZhilkinSerg Aug 3, 2020
20b4523
Merge pull request #42668 from Qrox/obsolete
ZhilkinSerg Aug 3, 2020
da25633
Add max_charges to items that throw "cannot have charges" error (#42603)
GearheadLydia Aug 3, 2020
f7c3e45
Update event_bus.cpp
kevingranade Aug 3, 2020
f59bee0
Revert accidental commit.
kevingranade Aug 3, 2020
8eaa61f
Remove inventory.h from character.h
anothersimulacrum Aug 3, 2020
1201af7
Remove character_martial_arts.h from character
anothersimulacrum Aug 3, 2020
1bcbe3b
mainline urbdev house 18
curstwist Aug 3, 2020
d81029f
Update urban_18_victorian.json
curstwist Aug 3, 2020
929da56
WIP [ Magiclysm ] Necromancer Sheath Bugfix (#42614)
KorGgenT Aug 3, 2020
5e8dc90
Remove magic and enchantment includes in Character (#42680)
anothersimulacrum Aug 3, 2020
c928fb0
Split units utilities from cata_utility
anothersimulacrum Aug 3, 2020
144c0a1
forward declare action_id
kevingranade Aug 4, 2020
dbb3a0a
Update urban_18_victorian.json
curstwist Aug 4, 2020
5396506
Appease clang
anothersimulacrum Aug 3, 2020
90e0c8b
Remove item.h from character.h
anothersimulacrum Aug 4, 2020
e36109d
Merge pull request #42688 from curstwist/mainline-urb-house-18
Rivet-the-Zombie Aug 4, 2020
e1ebc7b
Add relic activation ability (#42391)
anothersimulacrum Aug 4, 2020
5648c40
fix double artifact effects
KorGgenT Aug 4, 2020
dc1d68e
Add forward declarations for units.h, remove it from creature.h (#42701)
anothersimulacrum Aug 4, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
7 changes: 4 additions & 3 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -233,9 +233,8 @@ You can also set the tracking information at the same time as creating the branc

There is a suite of tests built into the source tree at tests/
You should run the test suite after ANY change to the game source.
An ordinary invocation of ``make`` will build the test executable at tests/cata_test, and it can be invoked like any ordinary executable, or via `make check`.
With no arguments it will run the entire test suite.
With ``--help`` it will print a number of invocation options you can use to adjust its operation.
An ordinary invocation of `make` will build the test executable at tests/cata_test, and it can be invoked like any ordinary executable, or via `make check`.
Running `test/cata_test` with no arguments will run the entire test suite; running it with `--help` will print a number of invocation options you can use to adjust its operation.

$ make
... compilation details ...
Expand All @@ -248,6 +247,8 @@ With ``--help`` it will print a number of invocation options you can use to adju

I recommend habitually invoking make like ``make YOUR BUILD OPTIONS && make check``.

If you're working with Visual Studio (and don't have `make`), see [Visual Studio-specific advice](../doc/COMPILING/COMPILING-VS-VCPKG.md#running-unit-tests).

## In-game testing, test environment and the debug menu

Whether you are implementing a new feature or whether you are fixing a bug, it is always a good practice to test your changes in-game. It can be a hard task to create the exact conditions by playing a normal game to be able to test your changes, which is why there is a debug menu. There is no default key to bring up the menu so you will need to assign one first.
Expand Down
2 changes: 1 addition & 1 deletion build-data/osx/dmgsettings.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals


import biplist
import os.path
Expand Down
8 changes: 5 additions & 3 deletions build-scripts/get_all_mods.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,18 @@

mods_to_keep = []


def add_mods(mods):
for mod in mods:
if not mod in all_mod_dependencies:
if mod not in all_mod_dependencies:
# Either an invalid mod id, or blacklisted.
return False
for mod in mods:
if not mod in mods_to_keep:
if mod not in mods_to_keep:
mods_to_keep.append(mod)
return True


all_mod_dependencies = {}

for info in glob.glob('data/mods/*/modinfo.json'):
Expand All @@ -31,7 +33,7 @@ def add_mods(mods):
all_mod_dependencies[ident] = e.get("dependencies", [])

for mod in all_mod_dependencies:
if not mod in mods_to_keep:
if mod not in mods_to_keep:
if add_mods(all_mod_dependencies[mod]):
mods_to_keep.append(mod)

Expand Down
2 changes: 1 addition & 1 deletion build-scripts/lint-json.sh
Original file line number Diff line number Diff line change
@@ -1 +1 @@
find . -name "*json" -type f -exec python -m json.tool {} >/dev/null \;
find . -name "*json" -type f -exec python3 -m json.tool {} >/dev/null \;
16 changes: 8 additions & 8 deletions data/json/achievements.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"id": "achievement_marathon",
"type": "achievement",
"name": "Pheidippides was a hack",
"description": "Run a marathon… plus a little bit more.",
"description": "Run a marathon… plus a little more.",
"requirements": [ { "event_statistic": "num_moves_ran", "is": ">=", "target": 42196 } ]
},
{
Expand Down Expand Up @@ -298,15 +298,15 @@
"id": "achievement_lvl_10_barter",
"type": "achievement",
"name": "Cut-Me-Own-Throat Dibbler",
"description": "My Innuit friend, I'm selling you this ice for such a low price, that it's cutting me own throat.",
"description": "My Inuit friend, I'm selling you this ice for such a low price, that it's cutting me own throat.",
"requirements": [ { "event_statistic": "num_gains_barter_level_10", "is": ">=", "target": 1 } ],
"hidden_by": [ "achievement_lvl_7_barter" ]
},
{
"id": "achievement_lvl_7_speech",
"type": "achievement",
"name": "Eloquent",
"description": "We're frends, aren't we?",
"description": "We're friends, aren't we?",
"requirements": [ { "event_statistic": "num_gains_speech_level_7", "is": ">=", "target": 1 } ]
},
{
Expand Down Expand Up @@ -403,7 +403,7 @@
"id": "achievement_lvl_10_swimming",
"type": "achievement",
"name": "Michael Phelps",
"description": "Faster then Jaws.",
"description": "Faster than Jaws.",
"requirements": [ { "event_statistic": "num_gains_swimming_level_10", "is": ">=", "target": 1 } ],
"hidden_by": [ "achievement_lvl_7_swimming" ]
},
Expand All @@ -418,7 +418,7 @@
"id": "achievement_lvl_10_fabrication",
"type": "achievement",
"name": "Jack of All Trades",
"description": "With a right ammount of glue, there is nothing I can't do.",
"description": "With a right amount of glue, there is nothing I can't do.",
"requirements": [ { "event_statistic": "num_gains_fabrication_level_10", "is": ">=", "target": 1 } ],
"hidden_by": [ "achievement_lvl_7_fabrication" ]
},
Expand Down Expand Up @@ -448,7 +448,7 @@
"id": "achievement_lvl_10_tailor",
"type": "achievement",
"name": "Fashion Designer",
"description": "Male, feamale and mutant fashion alike.",
"description": "Male, female and mutant fashion alike.",
"requirements": [ { "event_statistic": "num_gains_tailor_level_10", "is": ">=", "target": 1 } ],
"hidden_by": [ "achievement_lvl_7_tailor" ]
},
Expand Down Expand Up @@ -486,7 +486,7 @@
"id": "achievement_lvl_7_archery",
"type": "achievement",
"name": "Bull's Eye",
"description": "Better then Legolas.",
"description": "Better than Legolas.",
"requirements": [ { "event_statistic": "num_gains_archery_level_7", "is": ">=", "target": 1 } ]
},
{
Expand Down Expand Up @@ -531,7 +531,7 @@
"id": "achievement_lvl_7_pistol",
"type": "achievement",
"name": "Small But Deadly",
"description": "Caliber doesn't count when you're on the recieving side of the barrel.",
"description": "Caliber doesn't count when you're on the receiving side of the barrel.",
"requirements": [ { "event_statistic": "num_gains_pistol_level_7", "is": ">=", "target": 1 } ]
},
{
Expand Down
39 changes: 36 additions & 3 deletions data/json/artifact/relic_procgen_data.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,17 @@
{
"type": "relic_procgen_data",
"id": "cult",
"charge_types": [
{
"weight": 100,
"charges": { "range": [ 0, 3 ], "power": 25 },
"charges_per_use": { "range": [ 1, 1 ], "power": 25 },
"max_charges": { "range": [ 1, 3 ], "power": 25 },
"recharge_type": "periodic",
"time": [ "3 h", "6 h" ]
}
],
"active_procgen_values": [ { "weight": 100, "spell_id": "AEA_PAIN", "base_power": 50 } ],
"passive_add_procgen_values": [
{ "weight": 100, "min_value": -1, "max_value": 1, "type": "STRENGTH", "increment": 1, "power_per_increment": 250 },
{
Expand Down Expand Up @@ -37,12 +48,23 @@
"power_per_increment": 200
}
],
"type_weights": [ { "weight": 100, "value": "passive_enchantment_add" } ],
"type_weights": [ { "weight": 100, "value": "passive_enchantment_add" }, { "weight": 100, "value": "active_enchantment" } ],
"items": [ { "weight": 100, "item": "spoon" } ]
},
{
"type": "relic_procgen_data",
"id": "netherum_tunnels",
"charge_types": [
{
"weight": 100,
"charges": { "range": [ 0, 3 ], "power": 25 },
"charges_per_use": { "range": [ 1, 1 ], "power": 25 },
"max_charges": { "range": [ 1, 3 ], "power": 25 },
"recharge_type": "periodic",
"time": [ "3 h", "6 h" ]
}
],
"active_procgen_values": [ { "weight": 100, "spell_id": "AEA_PAIN", "base_power": 50 } ],
"passive_add_procgen_values": [
{ "weight": 100, "min_value": -1, "max_value": 1, "type": "STRENGTH", "increment": 1, "power_per_increment": 250 },
{
Expand Down Expand Up @@ -78,12 +100,23 @@
"power_per_increment": 200
}
],
"type_weights": [ { "weight": 100, "value": "passive_enchantment_add" } ],
"type_weights": [ { "weight": 100, "value": "passive_enchantment_add" }, { "weight": 100, "value": "active_enchantment" } ],
"items": [ { "weight": 100, "item": "spoon" } ]
},
{
"type": "relic_procgen_data",
"id": "alien_reality",
"charge_types": [
{
"weight": 100,
"charges": { "range": [ 0, 3 ], "power": 25 },
"charges_per_use": { "range": [ 1, 1 ], "power": 25 },
"max_charges": { "range": [ 1, 3 ], "power": 25 },
"recharge_type": "periodic",
"time": [ "3 h", "6 h" ]
}
],
"active_procgen_values": [ { "weight": 100, "spell_id": "AEA_PAIN", "base_power": 50 } ],
"passive_add_procgen_values": [
{ "weight": 100, "min_value": -1, "max_value": 1, "type": "STRENGTH", "increment": 1, "power_per_increment": 250 },
{
Expand Down Expand Up @@ -119,7 +152,7 @@
"power_per_increment": 200
}
],
"type_weights": [ { "weight": 100, "value": "passive_enchantment_add" } ],
"type_weights": [ { "weight": 100, "value": "passive_enchantment_add" }, { "weight": 100, "value": "active_enchantment" } ],
"items": [ { "weight": 100, "item": "spoon" } ]
}
]
2 changes: 1 addition & 1 deletion data/json/bionics.json
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@
"id": "bio_cqb",
"type": "bionic",
"name": { "str": "Close Quarters Battle" },
"description": "Bionic processors and databanks, loaded with martial arts combat programs, are surgically integrated into your nervous system. Whilst active, the CQB module will improve your hand to hand combat skills, but prevents you from improving them through combat experience.",
"description": "Bionic processors and databanks, loaded with martial arts combat programs, are surgically integrated into your nervous system. Whilst active, the CQB module will improve your hand-to-hand combat skills, but prevents you from improving them through combat experience.",
"occupied_bodyparts": [ [ "head", 4 ] ],
"act_cost": "20 J",
"react_cost": "20 J",
Expand Down
41 changes: 41 additions & 0 deletions data/json/construction.json
Original file line number Diff line number Diff line change
Expand Up @@ -3435,6 +3435,7 @@
"type": "construction",
"id": "constr_splitrail_fence",
"description": "Build Split Rail Fence",
"//": "Step 1: Build split rail fence",
"category": "CONSTRUCT",
"required_skills": [ [ "fabrication", 2 ], [ "survival", 1 ] ],
"time": "30 m",
Expand All @@ -3443,10 +3444,24 @@
"pre_flags": "DIGGABLE",
"post_terrain": "t_splitrail_fence"
},
{
"type": "construction",
"id": "constr_splitrail_fence_from_posts",
"description": "Build Split Rail Fence",
"//": "Step 2: Build split rail fence from existing fence posts",
"category": "CONSTRUCT",
"required_skills": [ [ "fabrication", 2 ] ],
"time": "15 m",
"qualities": [ [ { "id": "HAMMER", "level": 2 } ] ],
"components": [ [ [ "2x4", 4 ] ], [ [ "nail", 20 ] ] ],
"pre_terrain": "t_fence_post",
"post_terrain": "t_splitrail_fence"
},
{
"type": "construction",
"id": "constr_privacy_fence",
"description": "Build Privacy Fence",
"//": "Step 1: Build privacy fence",
"category": "CONSTRUCT",
"required_skills": [ [ "fabrication", 2 ], [ "survival", 1 ] ],
"time": "30 m",
Expand All @@ -3455,6 +3470,32 @@
"pre_flags": "DIGGABLE",
"post_terrain": "t_privacy_fence"
},
{
"type": "construction",
"id": "constr_privacy_fence_from_posts",
"description": "Build Privacy Fence",
"//": "Step 2: Build privacy fence from existing fence posts",
"category": "CONSTRUCT",
"required_skills": [ [ "fabrication", 2 ] ],
"time": "15 m",
"qualities": [ [ { "id": "HAMMER", "level": 2 } ] ],
"components": [ [ [ "2x4", 8 ] ], [ [ "nail", 20 ] ] ],
"pre_terrain": "t_fence_post",
"post_terrain": "t_privacy_fence"
},
{
"type": "construction",
"id": "convert_splitrail_to_privacy_fence",
"description": "Build Privacy Fence",
"//": "Convert Split Rail Fence to Privacy Fence",
"category": "CONSTRUCT",
"required_skills": [ [ "fabrication", 2 ] ],
"time": "10 m",
"qualities": [ [ { "id": "HAMMER", "level": 2 } ] ],
"components": [ [ [ "2x4", 4 ] ], [ [ "nail", 10 ] ] ],
"pre_terrain": "t_splitrail_fence",
"post_terrain": "t_privacy_fence"
},
{
"type": "construction",
"id": "constr_adobe_brick_wall_halfway",
Expand Down
2 changes: 1 addition & 1 deletion data/json/furniture_and_terrain/terrain-doors.json
Original file line number Diff line number Diff line change
Expand Up @@ -1803,7 +1803,7 @@
"type": "terrain",
"id": "t_door_boarded_damaged",
"name": "boarded up damaged door",
"description": "A boarded up wooden door, except some of the planks are fractured or coming loose. Without repairs, it could be broken down easily.",
"description": "A boarded up wooden door, except that some of the planks are fractured or coming loose. Without repairs, it could be broken down easily.",
"symbol": "#",
"looks_like": "t_door_b",
"color": "brown",
Expand Down
16 changes: 16 additions & 0 deletions data/json/itemgroups/Weapons_Mods_Ammo/guns.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,13 @@
"items": [
{ "item": "glock_17", "prob": 35, "charges-min": 0, "charges-max": 15 },
{ "item": "glock_19", "prob": 50, "charges-min": 0, "charges-max": 15 },
{ "item": "glock_20", "prob": 4, "charges-min": 0, "charges-max": 15 },
{ "item": "glock_22", "prob": 35, "charges-min": 0, "charges-max": 15 },
{ "item": "glock_29", "prob": 2, "charges-min": 0, "charges-max": 10 },
{ "item": "glock_31", "prob": 15, "charges-min": 0, "charges-max": 15 },
{ "item": "glock_40", "prob": 2, "charges-min": 0, "charges-max": 15 },
{ "item": "m1911", "prob": 50, "charges-min": 0, "charges-max": 7 },
{ "item": "m1911_10", "prob": 15, "charges-min": 0, "charges-max": 7 },
{ "item": "m9", "prob": 30, "charges-min": 0, "charges-max": 15 },
{ "item": "px4", "prob": 24, "charges-min": 0, "charges-max": 15 },
{ "item": "px4_40", "prob": 20, "charges-min": 0, "charges-max": 14 },
Expand All @@ -19,6 +23,7 @@
{ "item": "sw_619", "prob": 25, "charges-min": 0, "charges-max": 7 },
{ "item": "model_10_revolver", "prob": 20, "charges-min": 0, "charges-max": 6 },
{ "item": "taurus_spectrum", "prob": 15, "charges-min": 0, "charges-max": 6 },
{ "item": "p220_10", "prob": 1, "charges-min": 0, "charges-max": 8 },
{ "item": "p226_357sig", "prob": 20, "charges-min": 0, "charges-max": 15 },
{ "item": "p320_357sig", "prob": 10, "charges-min": 0, "charges-max": 14 },
{ "item": "kp32", "prob": 10, "charges-min": 0, "charges-max": 7 },
Expand All @@ -35,7 +40,9 @@
{ "item": "hptcf380", "prob": 2, "charges-min": 0, "charges-max": 10 },
{ "item": "hptjcp", "prob": 1, "charges-min": 0, "charges-max": 10 },
{ "item": "hptjhp", "prob": 1, "charges-min": 0, "charges-max": 9 },
{ "item": "xd_10", "prob": 3, "charges-min": 0, "charges-max": 15 },
{ "item": "cz75", "prob": 18, "charges-min": 0, "charges-max": 26 },
{ "item": "witness_10", "prob": 1, "charges-min": 0, "charges-max": 14 },
{ "item": "walther_ccp", "prob": 8, "charges-min": 0, "charges-max": 8 },
{ "item": "walther_p22", "prob": 13, "charges-min": 0, "charges-max": 10 }
]
Expand All @@ -48,8 +55,11 @@
{ "item": "glock_17", "prob": 35, "charges-min": 0, "charges-max": 0 },
{ "item": "glock_19", "prob": 50, "charges-min": 0, "charges-max": 0 },
{ "item": "glock_22", "prob": 35, "charges-min": 0, "charges-max": 0 },
{ "item": "glock_20", "prob": 4, "charges-min": 0, "charges-max": 0 },
{ "item": "glock_40", "prob": 2, "charges-min": 0, "charges-max": 0 },
{ "item": "glock_31", "prob": 15, "charges-min": 0, "charges-max": 0 },
{ "item": "m1911", "prob": 50, "charges-min": 0, "charges-max": 0 },
{ "item": "m1911_10", "prob": 15, "charges-min": 0, "charges-max": 0 },
{ "item": "m9", "prob": 30, "charges-min": 0, "charges-max": 0 },
{ "item": "ruger_lcr_38", "prob": 10, "charges-min": 0, "charges-max": 0 },
{ "item": "sig_mosquito", "prob": 15, "charges-min": 0, "charges-max": 0 },
Expand All @@ -58,6 +68,7 @@
{ "item": "sw_619", "prob": 25, "charges-min": 0, "charges-max": 0 },
{ "item": "model_10_revolver", "prob": 20, "charges-min": 0, "charges-max": 0 },
{ "item": "taurus_spectrum", "prob": 15, "charges-min": 0, "charges-max": 0 },
{ "item": "p220_10", "prob": 1, "charges-min": 0, "charges-max": 0 },
{ "item": "p226_357sig", "prob": 20, "charges-min": 0, "charges-max": 0 },
{ "item": "p320_357sig", "prob": 10, "charges-min": 0, "charges-max": 0 },
{ "item": "kp32", "prob": 10, "charges-min": 0, "charges-max": 0 },
Expand All @@ -75,6 +86,8 @@
{ "item": "hptjcp", "prob": 1, "charges-min": 0, "charges-max": 0 },
{ "item": "hptjhp", "prob": 1, "charges-min": 0, "charges-max": 0 },
{ "item": "cz75", "prob": 18, "charges-min": 0, "charges-max": 0 },
{ "item": "xd_10", "prob": 3, "charges-min": 0, "charges-max": 0 },
{ "item": "witness_10", "prob": 1, "charges-min": 0, "charges-max": 0 },
{ "item": "walther_ccp", "prob": 8, "charges-min": 0, "charges-max": 0 },
{ "item": "walther_p22", "prob": 13, "charges-min": 0, "charges-max": 0 }
]
Expand All @@ -98,6 +111,7 @@
{ "item": "sw629", "prob": 40, "charges-min": 0, "charges-max": 6 },
{ "item": "usp_45", "prob": 70, "charges-min": 0, "charges-max": 12 },
{ "item": "usp_9mm", "prob": 120, "charges-min": 0, "charges-max": 15 },
{ "item": "TDI_10", "prob": 1, "charges-min": 0, "charges-max": 30 },
{ "item": "draco", "prob": 30, "charges-min": 0, "charges-max": 30 }
]
},
Expand All @@ -118,6 +132,7 @@
{ "item": "sw629", "prob": 40, "charges-min": 0, "charges-max": 0 },
{ "item": "usp_45", "prob": 70, "charges-min": 0, "charges-max": 0 },
{ "item": "usp_9mm", "prob": 120, "charges-min": 0, "charges-max": 0 },
{ "item": "TDI_10", "prob": 1, "charges-min": 0, "charges-max": 0 },
{ "item": "draco", "prob": 30, "charges-min": 0, "charges-max": 0 }
]
},
Expand Down Expand Up @@ -243,6 +258,7 @@
"//": "Imported or otherwise very obscure SMGs.",
"items": [
{ "item": "ppsh", "prob": 150, "charges-min": 0, "charges-max": 35 },
{ "item": "hk_mp5_10_semi", "prob": 1, "charges-min": 0, "charges-max": 30 },
{ "item": "skorpion_61", "prob": 100, "charges-min": 0, "charges-max": 20 },
{ "item": "skorpion_82", "prob": 100, "charges-min": 0, "charges-max": 20 }
]
Expand Down
Loading