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

Update #4

Merged
merged 147 commits into from
Aug 20, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
147 commits
Select commit Hold shift + click to select a range
59fa12d
Default r keybinding to Reload Item instead of a Reload Wielded Item
Night-Pryanik Jul 31, 2019
fbe9b1b
use get_int() for reading
KorGgenT Aug 16, 2019
fac93a7
Add the ability to strap mattresses to vehicles
jeremyshannon Aug 9, 2019
69198cb
Set a default container for dog and cat food
jeremyshannon Aug 16, 2019
2e85ef4
Removed luminance from all turret types
Night-Pryanik Aug 16, 2019
79758a7
Added a 3 tile night vision radius to most turret types
Night-Pryanik Aug 16, 2019
faac35e
Increased maximum fire ranges for most turrets
Night-Pryanik Aug 16, 2019
41875b2
Added a laser turret to a military bunker mapgen
Night-Pryanik Aug 16, 2019
8b29868
repeat_clang_tidy tweaks
jbytheway Aug 16, 2019
96fcfcf
Merge pull request #33280 from jeremyshannon/PetfoodCansFix2
ZhilkinSerg Aug 16, 2019
5fe602d
Merge pull request #33278 from KorGgenT/read-times-stk
ZhilkinSerg Aug 16, 2019
a611f45
Merge pull request #33283 from jbytheway/repeat_clang_tidy_tweaks
ZhilkinSerg Aug 16, 2019
f7e1d41
Show item-related move costs in moves, instead of time duration:
BevapDin Aug 16, 2019
6ba7585
fix: missing roofs (on lab entrances).
Aug 16, 2019
8beef19
Generalize name-matching for UsePointApis
jbytheway Aug 16, 2019
296c2e5
UsePointApis: Handle all-default arguments
jbytheway Aug 16, 2019
4a768d0
Add point overloads for map member functions
jbytheway Aug 15, 2019
12c6431
An automated refactoring pass
jbytheway Aug 15, 2019
8a9899e
Use coordinate transform in map spawn function
jbytheway Aug 16, 2019
386e8fb
Port map function implementations
jbytheway Aug 16, 2019
f05763d
Refactor calls to drawing_primitives
jbytheway Aug 16, 2019
02be1d5
Port drawing_primitives implementations
jbytheway Aug 16, 2019
86c8ad4
add roofs to 2story apartments
curstwist Aug 16, 2019
53c51b4
drawing_primitives functions now take point arguments
jbytheway Aug 17, 2019
7c47448
Add more map overloads
jbytheway Aug 17, 2019
e1166b4
Update help text on magazine compat
tenmillimaster Aug 17, 2019
f5c2618
Merge pull request #33290 from tenmillimaster/miscgun1
Rivet-the-Zombie Aug 17, 2019
d94f8b1
Merge pull request #33286 from free-coffee/fix
ZhilkinSerg Aug 17, 2019
f1a14e0
Merge pull request #33288 from curstwist/add-apartment-roofs
ZhilkinSerg Aug 17, 2019
a09aa8b
doc: Mapgen elements "density" and "roof" of "terrain". (#33284)
free-coffee Aug 17, 2019
674d8be
Show item-related move costs in moves, instead of time duration: (#33…
ZhilkinSerg Aug 17, 2019
2c91d3c
Merge pull request #33282 from Night-Pryanik/tweak-turrets-and-milita…
ZhilkinSerg Aug 17, 2019
7200131
Opiate addict profession, retired drug war snippet, smoke shop only h…
Aug 17, 2019
e23659d
Add additional, realistic RPG-7 ammunition types (#33098)
nshcat Aug 17, 2019
e90a9f9
Fixed "Mutation Bad Knees applies when walking diagonally. #33158"
ipcyborg Aug 17, 2019
9af72fe
Another refactoring pass
jbytheway Aug 17, 2019
77a1d75
Fix incorrect position of AIM filter text
Qrox Aug 17, 2019
d3bc710
Fix wrong value saved for npc::previous_attitude
Qrox Aug 17, 2019
b9263cb
Port some map members, overload more
jbytheway Aug 17, 2019
f5f0f62
Refactor calls to map functions
jbytheway Aug 17, 2019
e6d8d02
Port more map members
jbytheway Aug 17, 2019
fb6b9ac
Merge pull request #33299 from Qrox/fix-npc-saving
ZhilkinSerg Aug 17, 2019
5e84714
fix: added roof (utility light) (#33300)
free-coffee Aug 17, 2019
3ff470e
Merge pull request #33298 from Qrox/fix-aim-filter-display
ZhilkinSerg Aug 17, 2019
99feed5
Merge pull request #33296 from ipcyborg/fix-33158-bad-knees
ZhilkinSerg Aug 17, 2019
d201308
Fairy Bread and Sprinkles (#33183)
tenmillimaster Aug 17, 2019
e22665d
Check for completed 'reach refugee center' missions before assigning …
Petethegoat Aug 17, 2019
2748ffe
Fix iterating in Creature_tracker::kill_marked_for_death
BevapDin Aug 17, 2019
c09f8c8
Clear vehicle groups upon unloading game data
BevapDin Aug 17, 2019
95122e9
Clear vehicle placements upon unloading game data
BevapDin Aug 17, 2019
ad3eee8
Clear vehicle spawns upon unloading game data
BevapDin Aug 17, 2019
5a53d08
Old Guard Rep now gives more than a single bullet to his new Marshal.
Petethegoat Aug 17, 2019
209b159
Merge pull request #33311 from BevapDin/vyl
ZhilkinSerg Aug 17, 2019
7c261ab
Merge pull request #33312 from BevapDin/khd
ZhilkinSerg Aug 17, 2019
0f5f757
Merge pull request #33313 from Petethegoat/old-guard-more-bullets
ZhilkinSerg Aug 17, 2019
cb3e2db
Merge pull request #33308 from jbytheway/point_in_map
ZhilkinSerg Aug 17, 2019
28ef9e6
pet armor dropped from zombies are filthy
Aug 17, 2019
e4d3314
Merge pull request #33307 from Petethegoat/refugee-mission-fix
ZhilkinSerg Aug 17, 2019
eee31b1
Add descriptions to Old Guard Rep missions.
Petethegoat Aug 18, 2019
5828001
Update hub 01 missions with descriptions fix some minor mistakes
John-Candlebury Aug 18, 2019
9ddf9d3
Fix comparator for creature faction tracker
kevingranade Aug 18, 2019
4a89647
Merge pull request #33316 from Fris0uman/filthy_pet_armor
Rivet-the-Zombie Aug 18, 2019
2a45e46
Fix metagenic serum consuming bug
RedShakespeare Aug 18, 2019
b88de88
Adds new mon flag MECH_DEFENSIVE
RedShakespeare Aug 18, 2019
4e0e975
ignore weight of included bionic
Aug 18, 2019
3ff9360
add ingredient to tiny motor
Aug 18, 2019
7ec3517
Cleanup integer division changes (#33317)
jbytheway Aug 18, 2019
ad6f05f
Can't start empty autoclave/dishwasher/washing machine (#33332)
Fris0uman Aug 18, 2019
123245e
Merge pull request #33323 from Petethegoat/mission-descriptions
ZhilkinSerg Aug 18, 2019
83ff21c
Merge pull request #33324 from John-Candlebury/hub-mission-desc
ZhilkinSerg Aug 18, 2019
280d041
Merge pull request #33326 from CleverRaven/kevingranade-patch-fix-fac…
ZhilkinSerg Aug 18, 2019
14cc51c
Merge pull request #33328 from RedShakespeare/mutagen
ZhilkinSerg Aug 18, 2019
86512fb
Merge pull request #33330 from Fris0uman/bio_bug
ZhilkinSerg Aug 18, 2019
d99872d
Merge pull request #33331 from Fris0uman/tiny_motor
ZhilkinSerg Aug 18, 2019
e1c35de
Update src/mtype.h
RedShakespeare Aug 18, 2019
3e3bd92
Remove include of "auto_pick.h" from "npc.h".
BevapDin Aug 18, 2019
281c639
Default constructor of auto_pickup::cRules
BevapDin Aug 17, 2019
4bb7913
Distribute (de)serialization of auto_pickup rules into several types.
BevapDin Aug 17, 2019
9c0108d
Change mtype::baby_timer and monster::baby_time to optional time clas…
BevapDin Jul 31, 2019
679d039
Move (de)serialization of cata::optional into json.h
BevapDin Jul 31, 2019
b540238
Change mtype::biosig_timer to time_duration
BevapDin Jul 28, 2019
d8e47f0
Change vehicle::power_to_energy_bat to take time_duration
BevapDin Jul 31, 2019
4d1972b
Remove DAYS function
BevapDin Jul 28, 2019
5815343
Remove HOURS function
BevapDin Jul 28, 2019
6ed304c
Remove MINUTES function
BevapDin Jul 28, 2019
24f6c00
Remove TICKS_TO_SECONDS function
BevapDin Jul 31, 2019
ab9b9ec
Convert macro MOONLIGHT_PER_QUARTER into local constant.
BevapDin Aug 16, 2019
67e6a1c
Convert SUNRISE_* and SUNSET_* macros to constants
BevapDin Aug 16, 2019
95e81ad
Remove DAYLIGHT_LEVEL macro:
BevapDin Aug 16, 2019
752c548
Split auto_pickup::vRules into two separate members.
BevapDin Aug 17, 2019
826bca2
Inline code of auto_pickup::serialize
BevapDin Aug 17, 2019
9ca2a88
Inline code of auto_pickup::deserialize
BevapDin Aug 17, 2019
4f222c1
Remove auto_pickup::bChar hack
BevapDin Aug 17, 2019
8757614
Move classes inside of auto_pickup into global namespace
BevapDin Aug 17, 2019
1e47a17
Move functions into class auto_pickup_rule
BevapDin Aug 17, 2019
63d4c48
Add separate class for cached auto pickup entries.
BevapDin Aug 17, 2019
0e2d27c
Make a separate class for displaying auto pickup rules
BevapDin Aug 17, 2019
0218e36
auto pickup ui: completely ignore unavailable tabs
BevapDin Aug 18, 2019
1ead8fd
Split auto_pickup class into several classes:
BevapDin Aug 18, 2019
37c7934
Simplify the constructor of auto_pickup_rule
BevapDin Aug 18, 2019
8eb2e40
Move auto pickup classes into namespace
BevapDin Aug 18, 2019
58c1d7c
Replace formatting via stringstream with string_format
BevapDin Aug 18, 2019
e66b601
Move auto_pickup::rule::check_special_rule into anonymous namespace
BevapDin Aug 18, 2019
d66ba04
Fix xl survivor suit and heavy survivor suit's uncraft recipes
RedShakespeare Aug 18, 2019
8686806
Jsonify sewage plant
chaisawlajatang Jul 27, 2019
3bd80ba
Modified road connection
chaisawlajatang Jul 28, 2019
d3ec125
remove draw_sever calls
chaisawlajatang Jul 28, 2019
db7b1a8
Style
kevingranade Jul 28, 2019
577f2a8
move old plant to obsolete
chaisawlajatang Jul 28, 2019
7ba8198
minor layout tweaks
chaisawlajatang Jul 28, 2019
9f7963e
lint
chaisawlajatang Jul 28, 2019
ac79d23
savegame migration
chaisawlajatang Aug 3, 2019
6261ca8
Update sewage_treatment.json
chaisawlajatang Aug 17, 2019
9d8f857
Roof update
chaisawlajatang Aug 17, 2019
3d3d1f6
Let overmap special conversion convert unrelated adjacent tiles to en…
Petethegoat Aug 15, 2019
46b3728
Use new conversion to properly convert the sewage plant special!
Petethegoat Aug 15, 2019
7b33080
style
anothersimulacrum Aug 18, 2019
3846626
Remove unnecessary vector::insert call. Thanks jbytheway!
Petethegoat Aug 18, 2019
052cb62
Merge pull request #33340 from Petethegoat/refugee-mission-fix
ZhilkinSerg Aug 18, 2019
0ab857f
Merge pull request #33337 from RedShakespeare/kevlar
ZhilkinSerg Aug 18, 2019
37826d1
Merge pull request #33309 from BevapDin/yys
ZhilkinSerg Aug 18, 2019
be821bc
Add overloads to game, line, map functions
jbytheway Aug 18, 2019
63fcc09
Refactor callers
jbytheway Aug 18, 2019
4db80c7
Port function implementations
jbytheway Aug 18, 2019
9dc6451
Add overloads in line.h
jbytheway Aug 18, 2019
ee8d572
Refactor callers of line functions
jbytheway Aug 18, 2019
4296512
Add abs( tripoint ) overload
jbytheway Aug 19, 2019
e85578b
Port line function implementations
jbytheway Aug 19, 2019
5755b74
Fix picking up liquid water bug
RedShakespeare Aug 19, 2019
9b884d0
Merge pull request #33329 from RedShakespeare/mech-defensive
Rivet-the-Zombie Aug 19, 2019
c9e4519
Merge pull request #33351 from jbytheway/point_in_game_line_map
ZhilkinSerg Aug 19, 2019
ec26a7e
Adds the third Hub 01 mission (#33346)
John-Candlebury Aug 19, 2019
cf4ce7d
Fix picking up liquid water bug (#33357)
ZhilkinSerg Aug 19, 2019
43a602b
Add virtual destructors.
BevapDin Aug 19, 2019
367f3a8
not 2040 no mo
tenmillimaster Aug 19, 2019
8bb0938
Home Frontier Pack gives compatible battery
TheShadowFerret Aug 20, 2019
1f7cff4
remove rock pot from survivor mess kit recipe
kevingranade Aug 20, 2019
63c7d00
Install astyle in styling test (#33353)
kevingranade Aug 20, 2019
dffa505
clang-tidy modernize-use-equals-default and -delete (#33360)
jbytheway Aug 20, 2019
eb74cfd
Merge pull request #33378 from CleverRaven/kevingranade-nerf-stone-pot
ZhilkinSerg Aug 20, 2019
5f8d4a0
Merge pull request #33377 from LaVeyanFiend/FrontierFix
Rivet-the-Zombie Aug 20, 2019
35de66e
Allow mattresses as pillow fort material (#33370)
Fris0uman Aug 20, 2019
96a567e
Update Radio Tower Mapgen (#33355)
John-Candlebury Aug 20, 2019
4fc3866
Adds `gunmod_data` documentation (#33352)
Rod995 Aug 20, 2019
ed49da7
Merge pull request #33336 from BevapDin/bjm
ZhilkinSerg Aug 20, 2019
a2ed049
Merge pull request #33339 from anothersimulacrum/sewage
ZhilkinSerg Aug 20, 2019
9f59a93
Merge pull request #32798 from Night-Pryanik/reload-item-default-to-r
ZhilkinSerg Aug 20, 2019
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
2 changes: 0 additions & 2 deletions .clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ readability-*,\
-modernize-use-auto,\
-modernize-use-default-member-init,\
-modernize-use-emplace,\
-modernize-use-equals-default,\
-modernize-use-equals-delete,\
-modernize-use-transparent-functors,\
-performance-for-range-copy,\
-performance-inefficient-vector-operation,\
Expand Down
7 changes: 4 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
addons: &clang38
apt:
packages: ["clang-3.8", "g++-multilib", "libc6-dbg", "libc6-dbg:i386", "g++-6"]
sources: *apt_sources
sources: [*apt_sources]

# Then build different configurations and targets in parallel.
- stage: "Main Compilers"
Expand All @@ -75,11 +75,12 @@ jobs:
sources: [*apt_sources]

- env: COMPILER=g++-8 CXXFLAGS='-Wno-implicit-fallthrough' TILES=1 SOUND=1 SANITIZE=address
name: "GCC 8 Make build with Tiles, Sound and address sanitization"
name: "GCC 8 Make build with Tiles, Sound, astyle and address sanitization"
dist: bionic
compiler: gcc
addons: &gcc8
apt:
packages: ["g++-8", "g++-8-multilib", "libc6-dbg", "libc6-dbg:i386", "libsdl2-dev", "libsdl2-ttf-dev", "libsdl2-image-dev", "libsdl2-mixer-dev"]
packages: ["g++-8", "g++-8-multilib", "libc6-dbg", "libc6-dbg:i386", "libsdl2-dev", "libsdl2-ttf-dev", "libsdl2-image-dev", "libsdl2-mixer-dev", "astyle"]
sources: *apt_sources

- env: CLANG=clang++-8 SANITIZE=address EXTRA_TEST_OPTS="~[.] ~vehicle_efficiency ~vehicle_drag ~starting_items"
Expand Down
2 changes: 1 addition & 1 deletion data/help/texts.json
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@
"To attack a monster with a melee weapon, simply move into them. The time it takes to attack depends on the size and weight of your weapon. Small, light weapons are the fastest; unarmed attacks increase in speed with your Unarmed Combat skill, and will eventually be VERY fast. A successful hit with a bashing weapon may stun the monster temporarily. A miss may make you stumble and lose movement points. If a monster hits you, your clothing may absorb some damage, but you will absorb the excess.",
"Swarms of monsters may call for firearms. Most firearms in the game require compatible magazines to hold the ammunition. Compatible magazines are listed in a given firearm's description. Fortunately, a firearm often spawns with one such magazine in it.",
"You can eject a magazine from a firearm by pressing <press_unload> and load it with compatible ammunition separately, or if you have a firearm with a partially filled magazine in it, and some matching loose ammo in the inventory, you can simply order a reload by pressing <press_reload>, so you will automatically eject the magazine, fill it with as much ammo as possible, and then put the magazine back in. You don't have to worry about chambering a round though. Of course all this takes some time, so try not to do it if there are monsters nearby.",
"While magazines are often firearm-specific, on some occasions a magazine is compatible with several other firearms. The firearms in the game often reflect real-world prototypes in terms of caliber and compatibility. Below are some examples of interchangeable ammo:\n.308 = 7.62x51mm,\n.223 = 5.56 NATO,\n.270 = .30-06,\n.40 S&W = 10mm.",
"While magazines and clips are often firearm-specific, on some occasions a magazine/speedloader is compatible with several other firearms or calibers. Below are some examples of calibers that might share magazines or speedloaders:\n.380 ACP and 9mm Luger,\n .40 S&W and 10mm Auto 3\n.45 ACP and .460 Rowland,\n.45 Colt and .454 Casull.",
"Magazine descriptions also list the compatible ammo.",
"Note that while several ammo types exist for a given caliber and magazine type, you can't mix and match these types into a single magazine. You can't for example load 9x19mm JHP and 9x19mm FMJ ammo into the same magazine, since a magazine always requires identical rounds to be loaded in it.",
"Magazines can be stored inside several worn accessories for quicker access, such as chest rigs and ammo pouches. All these compatible storage items are listed in a given magazine's description. To store a magazine into a clothing item, activate (<press_apply>) appropriate clothing item, at which point you'll get to choose which magazine to store.",
Expand Down
5 changes: 4 additions & 1 deletion data/json/construction.json
Original file line number Diff line number Diff line change
Expand Up @@ -2721,7 +2721,10 @@
"required_skills": [ [ "fabrication", 0 ] ],
"time": "15 m",
"pre_special": "check_empty",
"components": [ [ [ "pillow", 19 ], [ "down_pillow", 19 ] ], [ [ "down_blanket", 3 ], [ "blanket", 3 ], [ "fur_blanket", 3 ] ] ],
"components": [
[ [ "pillow", 19 ], [ "down_pillow", 19 ], [ "mattress", 4 ] ],
[ [ "down_blanket", 3 ], [ "blanket", 3 ], [ "fur_blanket", 3 ] ]
],
"pre_terrain": "t_floor",
"post_terrain": "f_pillow_fort"
},
Expand Down
23 changes: 23 additions & 0 deletions data/json/furniture_and_terrain/terrain-floors-outdoors.json
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,29 @@
"items": [ { "item": "splinter", "count": [ 2, 8 ] }, { "item": "nail", "charges": [ 5, 10 ] } ]
}
},
{
"type": "terrain",
"id": "t_metal_floor_no_roof",
"name": "metal floor",
"looks_like": "t_metal_floor",
"description": "High-quality and tough checkered flooring to reduce risk of slips and falls.",
"symbol": ".",
"color": "light_cyan",
"move_cost": 2,
"flags": [ "TRANSPARENT", "FLAT", "ROAD" ],
"bash": {
"sound": "thump",
"ter_set": "t_null",
"str_min": 200,
"str_max": 500,
"str_min_supported": 200,
"items": [
{ "item": "steel_lump", "count": [ 1, 4 ] },
{ "item": "steel_chunk", "count": [ 3, 12 ] },
{ "item": "scrap", "count": [ 9, 36 ] }
]
}
},
{
"type": "terrain",
"id": "t_linoleum_white_no_roof",
Expand Down
3 changes: 3 additions & 0 deletions data/json/furniture_and_terrain/terrain-floors_indoor.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"symbol": ".",
"color": "cyan",
"move_cost": 2,
"roof": "t_flat_roof",
"flags": [ "TRANSPARENT", "SUPPORTS_ROOF", "COLLAPSES", "INDOORS", "FLAT", "ROAD" ],
"bash": {
"sound": "SMASH!",
Expand All @@ -30,6 +31,7 @@
"color": "yellow",
"looks_like": "t_wall_y",
"move_cost": 2,
"roof": "t_flat_roof",
"flags": [ "TRANSPARENT", "SUPPORTS_ROOF", "COLLAPSES", "INDOORS", "FLAT", "ROAD" ],
"bash": {
"sound": "SMASH!",
Expand Down Expand Up @@ -319,6 +321,7 @@
"symbol": ".",
"color": "white",
"move_cost": 2,
"roof": "t_flat_roof",
"light_emitted": 240,
"flags": [ "TRANSPARENT", "FLAMMABLE_HARD", "SUPPORTS_ROOF", "COLLAPSES", "INDOORS", "FLAT", "ROAD", "MINEABLE" ],
"bash": {
Expand Down
6 changes: 6 additions & 0 deletions data/json/item_groups.json
Original file line number Diff line number Diff line change
Expand Up @@ -3320,6 +3320,9 @@
[ "file", 5 ],
[ "RPG", 1 ],
[ "RPG-7_ammo", 1 ],
[ "RPG-7_og7v", 2 ],
[ "RPG-7_tbg7v", 1 ],
[ "RPG-7_pg7vr", 1 ],
[ "clown_suit", 2 ],
[ "clownshoes", 2 ],
[ "bondage_suit", 1 ],
Expand Down Expand Up @@ -7575,6 +7578,9 @@
[ "u_shotgun", 4 ],
[ "RPG", 1 ],
[ "RPG-7_ammo", 1 ],
[ "RPG-7_og7v", 2 ],
[ "RPG-7_tbg7v", 1 ],
[ "RPG-7_pg7vr", 1 ],
[ "flask_hip", 10 ],
[ "chemistry_set", 2 ],
[ "knife_trench", 7 ],
Expand Down
1 change: 1 addition & 0 deletions data/json/itemgroups/food.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
"items": [
[ "yeast", 50 ],
[ "sugar", 40 ],
[ "sprinkles", 5 ],
[ "salt", 40 ],
[ "pepper", 30 ],
[ "cinnamon", 15 ],
Expand Down
1 change: 1 addition & 0 deletions data/json/itemgroups/food_service.json
Original file line number Diff line number Diff line change
Expand Up @@ -653,6 +653,7 @@
[ "ketchup", 60 ],
[ "mustard", 60 ],
[ "horseradish", 10 ],
[ "sprinkles", 20 ],
[ "honey_bottled", 35 ],
[ "honey_glassed", 35 ],
[ "peanutbutter", 60 ],
Expand Down
8 changes: 7 additions & 1 deletion data/json/itemgroups/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@
[ "royal_jelly", 80 ],
[ "RPG", 10 ],
[ "RPG-7_ammo", 10 ],
[ "RPG-7_og7v", 25 ],
[ "RPG-7_tbg7v", 8 ],
[ "RPG-7_pg7vr", 8 ],
[ "atgm_heat", 1 ],
[ "rx11_stimpack", 50 ],
[ "rx12_injector", 50 ],
Expand Down Expand Up @@ -174,7 +177,10 @@
[ "m3_carlgustav", 10 ],
[ "m202_flash", 20 ],
[ "RPG", 40 ],
[ "RPG-7_ammo", 40 ],
[ "RPG-7_ammo", 35 ],
[ "RPG-7_og7v", 45 ],
[ "RPG-7_tbg7v", 15 ],
[ "RPG-7_pg7vr", 20 ],
[ "atgm_launcher", 3 ],
[ "atgm_heat", 6 ],
[ "flamethrower", 50 ],
Expand Down
5 changes: 0 additions & 5 deletions data/json/itemgroups/mall_item_groups.json
Original file line number Diff line number Diff line change
Expand Up @@ -249,11 +249,6 @@
[ "seed_tobacco", 5 ],
[ "rolling_paper", 45 ],
[ "pipe_glass", 20 ],
[ "coke", 5 ],
[ "meth", 2 ],
[ "heroin", 1 ],
[ "crack", 4 ],
[ "crackpipe", 7 ],
[ "cig", 60 ],
[ "chaw", 60 ]
]
Expand Down
57 changes: 57 additions & 0 deletions data/json/items/ammo.json
Original file line number Diff line number Diff line change
Expand Up @@ -659,6 +659,63 @@
"recoil": 450,
"effects": [ "COOKOFF", "EXPLOSIVE", "TRAIL", "NEVER_MISFIRES" ]
},
{
"type": "AMMO",
"id": "RPG-7_pg7vr",
"price": 10000,
"name": "PG-7VR 64mm/105mm rocket",
"symbol": "=",
"color": "dark_gray",
"description": "64mm/105mm high-explosive tandem ammunition for the RPG-7.",
"material": [ "steel", "powder" ],
"volume": 9,
"weight": 4500,
"ammo_type": "RPG-7",
"damage": 3250,
"pierce": 1450,
"range": 30,
"dispersion": 75,
"recoil": 450,
"effects": [ "COOKOFF", "EXPLOSIVE", "TRAIL", "NEVER_MISFIRES" ]
},
{
"type": "AMMO",
"id": "RPG-7_tbg7v",
"price": 10000,
"name": "TBG-7V 105mm rocket",
"symbol": "=",
"color": "dark_gray",
"description": "105mm thermobaric ammunition for the RPG-7.",
"material": [ "plastic", "powder" ],
"volume": 9,
"weight": 4500,
"ammo_type": "RPG-7",
"damage": 150,
"pierce": 10,
"range": 30,
"dispersion": 50,
"recoil": 450,
"effects": [ "COOKOFF", "TRAIL", "NEVER_MISFIRES", "NAPALM_BIG" ]
},
{
"type": "AMMO",
"id": "RPG-7_og7v",
"price": 8000,
"name": "OG-7V 40mm rocket",
"symbol": "=",
"color": "dark_gray",
"description": "40mm high-explosive fragmentation antipersonnel ammunition for the RPG-7.",
"material": [ "steel", "powder" ],
"volume": 4,
"weight": 2000,
"ammo_type": "RPG-7",
"damage": 80,
"pierce": 10,
"range": 45,
"dispersion": 50,
"recoil": 350,
"effects": [ "COOKOFF", "TRAIL", "NEVER_MISFIRES", "FRAG" ]
},
{
"type": "AMMO",
"id": "m235tpa",
Expand Down
2 changes: 1 addition & 1 deletion data/json/items/ammo/45.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"copy-from": "45_jhp",
"type": "AMMO",
"name": ".45 ACP FMJ",
"description": ".45 ACP ammunition with 230gr FMJ bullets. Noted for its stopping power, the .45 ACP round has been common for almost 150 years.",
"description": ".45 ACP ammunition with 230gr FMJ bullets. Noted for its stopping power, the .45 ACP round has been common for over a century.",
"relative": { "damage": -3, "pierce": 6 }
},
{
Expand Down
2 changes: 1 addition & 1 deletion data/json/items/ammo/9mm.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"copy-from": "9mm",
"type": "AMMO",
"name": "9x19mm FMJ",
"description": "9x19mm ammunition with a brass jacketed 115gr bullet. It is a popular round for military, law enforcement, and civilian use even after almost 150 years.",
"description": "9x19mm ammunition with a brass jacketed 115gr bullet. It has been a popular round for military, law enforcement, and civilian use for over a century.",
"relative": { "damage": -2, "pierce": 4 }
},
{
Expand Down
2 changes: 1 addition & 1 deletion data/json/items/ammo_types.json
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@
{
"type": "ammunition_type",
"id": "RPG-7",
"name": "93mm RPG-7",
"name": "RPG-7 rocket",
"default": "RPG-7_ammo"
},
{
Expand Down
2 changes: 1 addition & 1 deletion data/json/items/comestibles/mutagen.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"stim": -5,
"addiction_potential": 6,
"container": "test_tube",
"tools_needed": "syringe",
"tool": "syringe",
"flags": [ "NO_INGEST" ]
},
{
Expand Down
2 changes: 2 additions & 0 deletions data/json/items/comestibles/other.json
Original file line number Diff line number Diff line change
Expand Up @@ -586,6 +586,7 @@
"description": "This is food for dogs. It smells strange, but dogs seem to love it.",
"weight": 554,
"spoils_in": "1 day",
"container": "can_food",
"volume": 1,
"price": 300,
"to_hit": -5,
Expand All @@ -609,6 +610,7 @@
"description": "This is food for cats. It smells strange, but cats seem to love it.",
"weight": 223,
"spoils_in": "1 day",
"container": "can_food",
"volume": 1,
"price": 300,
"to_hit": -5,
Expand Down
19 changes: 19 additions & 0 deletions data/json/items/comestibles/sandwich.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,25 @@
"fun": 15,
"vitamins": [ [ "vitC", 6 ], [ "calcium", 7 ], [ "iron", 12 ] ]
},
{
"type": "COMESTIBLE",
"id": "sandwich_fairy",
"name": "fairy bread",
"name_plural": "fairy bread",
"weight": 114,
"color": "brown",
"spoils_in": "3 days",
"container": "wrapper",
"comestible_type": "FOOD",
"symbol": "%",
"calories": 640,
"description": "An 'open-faced sandwich' consisting of sliced white bread, a healthy crust-to-crust slathering of butter, and sprinkles. Supposedly a staple of birthday parties in Australia.",
"price": 85,
"material": [ "junk", "wheat" ],
"primary_material": "wheat",
"volume": "250 ml",
"fun": 10
},
{
"type": "COMESTIBLE",
"id": "sandwich_honey",
Expand Down
13 changes: 13 additions & 0 deletions data/json/items/comestibles/spice.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,19 @@
"//": "a tbps is 4.2g of sugar, meaning the volume needed to be adjusted.",
"charges": 71
},
{
"type": "COMESTIBLE",
"id": "sprinkles",
"name": "sprinkles",
"name_plural": "sprinkles",
"weight": 4,
"copy-from": "sugar",
"container": "bottle_plastic_small",
"description": "Known as nonpareils, sprinkles, jimmies, sugar strands or 'hundreds-and-thousands', these colorful balls, rods or flakes of sugar and starch are intended for use decorating soft surfaces of sweets. Like sugar, they are bad for your teeth and surprisingly not very tasty on their own.",
"price": 399,
"calories": 20,
"charges": 66
},
{
"type": "COMESTIBLE",
"id": "wild_herbs",
Expand Down
12 changes: 12 additions & 0 deletions data/json/items/generic.json
Original file line number Diff line number Diff line change
Expand Up @@ -1413,6 +1413,18 @@
"to_hit": -1,
"flags": [ "NANOFAB_TEMPLATE", "TRADER_AVOID" ]
},
{
"type": "GENERIC",
"id": "template_photonics",
"copy-from": "standard_template_construct",
"color": "yellow",
"name": "nanofabricator template (silicon photonics)",
"description": "A state-of-the-art optical storage system, containing the instruction set required for the fabrication of complex silicon photonic circuitry. The data within was once clearly worth millions, but now, you are not sure if it's anything more than a fancy, high-tech paperweight.",
"price": 200000000,
"//": "actually worth millions",
"price_postapoc": 350,
"flags": [ "TRADER_AVOID" ]
},
{
"type": "GENERIC",
"id": "antenna",
Expand Down
4 changes: 2 additions & 2 deletions data/json/mapgen/apartment_con.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
" Rssw..A.....F.|+-|......|-+|..........wssR ",
" Rss|.....FFFF^|.Y|......|Y.|^....FFF.o|ssR ",
" |------------||--|......|--||------------| ",
" |############|EEE=......=xEE|############| ",
" |############|EEx=......=EEE|############| ",
" |############|...=......=xEE|############| ",
" |############|<..=......=EEE|############| ",
" |------|-|-|-|---|......|---|-|-|-|------| ",
" |.dBBd.+r|u+..e32|......|23e..+u|r+.dBBd.| ",
" w..BB..|-|-|....u|......|u....|-|-|..BB..w ",
Expand Down
8 changes: 4 additions & 4 deletions data/json/mapgen/apartment_mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
" |--|-----+--|+|--| |--|+|--+-----|--| ",
" RsswFFFF...^|.STb| |bTS.|...FFFF.wssR ",
" Rssw........+...b|-WW-|b...+........wssR ",
" RssX........|--|-|EEEE|-|--|........XssR ",
" Rss|1.htth...oo|Y|EEEE|Y|..........1|ssR ",
" Rss|e.htth.....+.|xEEE|.+..........e|ssR ",
" |-----|2.........A|-|-==-|-|..hh......u|-----| ",
" RssX........|--|-|....|-|--|........XssR ",
" Rss|1.htth...oo|Y|<...|Y|..........1|ssR ",
" Rss|e.htth.....+.|....|.+..........e|ssR ",
" |-----|2.........A|-|-..-|-|..hh......u|-----| ",
" |..BBd|uO3........|........|..tt....3O2|dBB..| ",
" w..BB.|--|+|......D........D..tt..|+|--|.BB..w ",
" |d....+.r|u|^....t|........|..hh.^|u|r.+....d| ",
Expand Down
Loading