Skip to content

Commit

Permalink
Merge branch 'CleverRaven:master' into allhands
Browse files Browse the repository at this point in the history
  • Loading branch information
GalacticApple authored Jun 24, 2024
2 parents 83c7ecf + 45f9e31 commit 7071b3b
Show file tree
Hide file tree
Showing 39 changed files with 1,108 additions and 206 deletions.
7 changes: 5 additions & 2 deletions data/json/itemgroups/Weapons_Mods_Ammo/guns.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@
{ "item": "glock_40", "variant": "glock_40", "prob": 1 },
{ "item": "sw_610", "prob": 1 },
{ "item": "sw_619", "prob": 40 },
{ "item": "colt_python", "prob": 40 },
{ "item": "bfr", "prob": 10 },
{ "item": "raging_bull", "prob": 15 },
{ "item": "sw_500", "prob": 10 },
Expand Down Expand Up @@ -1667,7 +1668,8 @@
{ "item": "m9", "variant": "m9", "prob": 5, "charges": [ 0, 15 ] },
{ "item": "sig_40", "prob": 20, "charges": [ 0, 12 ] },
{ "item": "usp_45", "prob": 10, "charges": [ 0, 12 ] },
{ "item": "usp_9mm", "prob": 10, "charges": [ 0, 15 ] }
{ "item": "usp_9mm", "prob": 10, "charges": [ 0, 15 ] },
{ "item": "colt_python", "prob": 5, "charges": [ 0, 6 ] }
]
},
{
Expand Down Expand Up @@ -1752,7 +1754,8 @@
{ "item": "garand", "prob": 1, "charges": [ 0, 8 ] },
{ "item": "mk47", "prob": 1, "charges": [ 0, 30 ] },
{ "item": "ak556", "prob": 2, "charges": [ 0, 30 ] },
{ "item": "ak556", "variant": "zpapm90", "prob": 1 }
{ "item": "ak556", "variant": "zpapm90", "prob": 1 },
{ "item": "colt_python", "prob": 1, "charges": [ 0, 6 ] }
]
}
]
20 changes: 12 additions & 8 deletions data/json/itemgroups/Weapons_Mods_Ammo/guns_by_calibre.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
{
"type": "item_group",
"id": "guns_pistol_common_357mag",
"items": [ { "group": "nested_sw_619", "prob": 3 } ]
"items": [ { "group": "nested_sw_619", "prob": 3 }, { "group": "nested_colt_python", "prob": 3 } ]
},
{
"type": "item_group",
Expand Down Expand Up @@ -145,7 +145,7 @@
{
"type": "item_group",
"id": "guns_pistol_common_everyday_carry_357mag",
"items": [ { "item": "sw_619", "prob": 5, "charges": [ 0, -1 ] } ]
"items": [ { "item": "sw_619", "prob": 5, "charges": [ 0, -1 ] }, { "item": "colt_python", "prob": 5, "charges": [ 0, -1 ] } ]
},
{
"type": "item_group",
Expand Down Expand Up @@ -232,7 +232,7 @@
{
"type": "item_group",
"id": "guns_pistol_common_display_357mag",
"items": [ { "item": "sw_619", "prob": 1 } ]
"items": [ { "item": "sw_619", "prob": 1 }, { "item": "colt_python", "prob": 2 } ]
},
{
"type": "item_group",
Expand Down Expand Up @@ -462,7 +462,11 @@
{
"type": "item_group",
"id": "guns_rifle_common_worn_22",
"items": [ { "item": "marlin_9a", "prob": 8, "charges": [ 0, 19 ] }, { "item": "ruger_1022", "prob": 28, "charges": [ 0, 10 ] } ]
"items": [
{ "item": "marlin_9a", "prob": 8, "charges": [ 0, 19 ] },
{ "item": "ruger_1022", "prob": 28, "charges": [ 0, 10 ] },
{ "item": "rossi_gallery", "prob": 12, "charges": [ 0, 19 ] }
]
},
{
"type": "item_group",
Expand Down Expand Up @@ -537,7 +541,7 @@
{
"type": "item_group",
"id": "guns_rifle_common_display_22",
"items": [ { "item": "ruger_1022", "prob": 160 } ]
"items": [ { "item": "ruger_1022", "prob": 160 }, { "item": "rossi_gallery", "prob": 18 } ]
},
{
"type": "item_group",
Expand All @@ -547,10 +551,10 @@
{ "item": "ak556", "variant": "zpapm90", "prob": 10 },
{ "item": "bren2_556", "prob": 10 },
{ "item": "ak556", "variant": "zpapm90", "prob": 10 },
{ "item": "modular_ar15", "prob": 45 },
{ "group": "modular_ar15", "prob": 45 },
{ "item": "ruger_mini", "prob": 9 },
{ "item": "mdrx", "prob": 10 },
{ "item": "cz600", "prob": 10 },
{ "group": "mdrx", "prob": 10 },
{ "group": "cz600", "prob": 10 },
{ "group": "nested_ar15_with_kits", "prob": 15 },
{ "group": "nested_mdrx_with_kits", "prob": 10 },
{ "group": "nested_cz600_with_kits", "prob": 10 },
Expand Down
16 changes: 16 additions & 0 deletions data/json/itemgroups/Weapons_Mods_Ammo/nested_guns.json
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,14 @@
"ammo": 100,
"entries": [ { "item": "sw_619", "charges": [ 0, 7 ] }, { "group": "on_hand_38" } ]
},
{
"id": "nested_colt_python",
"type": "item_group",
"//": "this is a distribution for the gun, reasonable number of backup mags, and some ammo to repack",
"subtype": "collection",
"ammo": 100,
"entries": [ { "item": "colt_python", "charges": [ 0, 6 ] }, { "group": "on_hand_357" } ]
},
{
"id": "nested_model_10_revolver",
"type": "item_group",
Expand Down Expand Up @@ -1369,6 +1377,14 @@
"ammo": 100,
"entries": [ { "item": "marlin_9a", "charges": [ 0, 19 ] }, { "group": "on_hand_22" } ]
},
{
"id": "nested_rossi_gallery",
"type": "item_group",
"//": "this is a distribution for the gun, reasonable number of backup mags, and some ammo to repack",
"subtype": "collection",
"ammo": 100,
"entries": [ { "item": "rossi_gallery", "charges": [ 0, 15 ] }, { "group": "on_hand_22" } ]
},
{
"id": "nested_mosin44",
"type": "item_group",
Expand Down
22 changes: 22 additions & 0 deletions data/json/items/armor/jewelry.json
Original file line number Diff line number Diff line change
Expand Up @@ -4821,5 +4821,27 @@
"symbol": ".",
"color": "white",
"flags": [ "FANCY", "NO_WEAR_EFFECT" ]
},
{
"id": "necklace_teeth",
"type": "ARMOR",
"name": { "str": "teeth necklace" },
"description": "A simple teeth necklace, this is sure to add some bite to an outfit.",
"symbol": "u",
"color": "white",
"price": "10 USD",
"price_postapoc": "10 USD",
"weight": "42 g",
"volume": "30 ml",
"material": "bone",
"flags": [ "NO_WEAR_EFFECT", "BELTED" ],
"variants": [
{
"id": "necklace_teeth_monster",
"name": { "str": "monster teeth necklace" },
"description": "The teeth hanging from this one look alien, with a hypnotizing, iridescent shine.",
"append": true
}
]
}
]
18 changes: 17 additions & 1 deletion data/json/items/chemicals_and_resources.json
Original file line number Diff line number Diff line change
Expand Up @@ -1934,7 +1934,7 @@
"ammo_type": "components",
"category": "chems",
"name": { "str_sp": "red phosphorous" },
"description": "An allotrope of the element phosphorous. It's what you use to light matches, but can also be used in the synthesis of methamphetamine. You could use it to make bombs, and if you were truly desperate you might even be able to use it as a propellant for bullets.",
"description": "An allotrope of the element phosphorous. It's what you use to light matches, but can also be used in the synthesis of methamphetamine. You could use it to make bombs, and if you were truly desperate you might even be able to use it in small portions as a propellant for bullets.",
"weight": "10 g",
"volume": "5 ml",
"//": "Density around 2.2g/cm3, but since it's a powder, it's a bit lower, around 1.8-2.0 g/cm3",
Expand All @@ -1945,6 +1945,22 @@
"price_postapoc": "2 cent",
"stack_size": 25
},
{
"id": "red_phosphorous_small",
"type": "AMMO",
"ammo_type": "components",
"category": "chems",
"name": { "str_sp": "small portion of red phosphorous" },
"description": "An allotrope of the element phosphorous. It's what you use to light matches, but can also be used in the synthesis of methamphetamine. You could use it to make bombs, and if you were truly desperate you might even be able to use it as a propellant for bullets.",
"weight": "100 mg",
"volume": "1 ml",
"container": "bottle_plastic_small",
"symbol": "=",
"color": "red",
"price": "50 cent",
"price_postapoc": "2 cent",
"stack_size": 25
},
{
"id": "white_phosphorous",
"type": "AMMO",
Expand Down
18 changes: 9 additions & 9 deletions data/json/items/comestibles/mre.json
Original file line number Diff line number Diff line change
Expand Up @@ -337,23 +337,23 @@
"type": "COMESTIBLE",
"id": "mre_potato",
"copy-from": "mre_side",
"name": { "str": "potatoes, Au Gratin" },
"name": { "str_sp": "potatoes, Au Gratin" },
"description": "Golden-fried potatoes.",
"material": [ "veggy" ]
},
{
"type": "COMESTIBLE",
"id": "mre_fried_rice",
"copy-from": "mre_side",
"name": { "str_sp": "fried rice(small portion)" },
"name": { "str": "fried rice (small portion)", "str_pl": "fried rice (small portions)" },
"description": "Fried rice, a simple dish made by stir-frying rice with other ingredients.",
"material": [ "wheat" ]
"material": [ "veggy" ]
},
{
"type": "COMESTIBLE",
"id": "mre_zapplesauce",
"copy-from": "mre_side",
"name": { "str": "zapplesauce" },
"name": { "str_sp": "zapplesauce" },
"description": "Golden, jelly-like food with the flavor of apples.",
"material": [ "fruit" ],
"fun": 5
Expand All @@ -362,7 +362,7 @@
"type": "COMESTIBLE",
"id": "mre_blackbeans",
"copy-from": "mre_side",
"name": { "str": "black beans in sauce" },
"name": { "str_sp": "black beans in sauce" },
"description": "A savory and flavorful combination of black beans and sauce.",
"material": [ "bean" ],
"calories": 130
Expand All @@ -388,15 +388,15 @@
{
"type": "COMESTIBLE",
"id": "mre_carrot_cake",
"name": { "str_sp": "carrot pound cake" },
"name": { "str": "carrot pound cake" },
"copy-from": "mre_dessert",
"description": "Delicious cake with carrots blended seamlessly."
},
{
"type": "COMESTIBLE",
"id": "mre_poppyseed_cake",
"copy-from": "mre_carrot_cake",
"name": { "str_sp": "lemon poppy seed pound cake" },
"name": { "str": "lemon poppy seed pound cake" },
"calories": 290,
"description": "Cake filled with the goodness of lemon and poppy seeds."
},
Expand All @@ -413,15 +413,15 @@
"type": "COMESTIBLE",
"id": "mre_chocolate_cake",
"copy-from": "mre_dessert",
"name": { "str_sp": "chocolate chip toaster pastry" },
"name": { "str": "chocolate chip toaster pastry", "str_pl": "chocolate chip toaster pastries" },
"calories": 210,
"description": "Pastry with chocolate chips."
},
{
"type": "COMESTIBLE",
"id": "mre_strawberry_cake",
"copy-from": "mre_dessert",
"name": { "str_sp": "strawberry toaster pastry" },
"name": { "str": "strawberry toaster pastry", "str_pl": "strawberry toaster pastries" },
"calories": 210,
"description": "Strawberry-flavor pastry."
}
Expand Down
1 change: 1 addition & 0 deletions data/json/items/comestibles/raw_grain.json
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,7 @@
"id": "wild_rice",
"name": { "str_sp": "wild rice" },
"copy-from": "oats",
"material": [ "veggy" ],
"calories": 120,
"description": "Raw wild rice, still in its fibrous shell. It'll need to be milled before it's edible for humans.",
"milling": { "into": "dry_wild_rice", "recipe": "dry_wild_rice_mill_1_5" },
Expand Down
49 changes: 49 additions & 0 deletions data/json/items/gun/22.json
Original file line number Diff line number Diff line change
Expand Up @@ -444,5 +444,54 @@
],
"price_postapoc": "10 USD",
"modes": [ [ "DEFAULT", "semi-auto", 1 ], [ "AUTO", "auto", 4 ] ]
},
{
"id": "rossi_gallery",
"looks_like": "ar15",
"type": "GUN",
"reload_noise_volume": 10,
"name": { "str": "pump action varmint rifle" },
"description": "A lightweight, wood framed pump action rifle, holding 15 rounds of .22 with an 18 inch barrel. While pump actions tend to be largely shotguns, they can be made in calibers such as .22 LR.",
"variant_type": "gun",
"variants": [
{
"id": "rossi_gallery",
"name": { "str": "Rossi Gallery", "str_pl": "Rossi Galleries" },
"description": "A modern take on the Winchester 1890, the Rossi Gallery is a .22 LR rifle, notably using a pump action. Much like a pump action shotgun, the magazine tube is below it's 18 inch barrel and can hold 15 rounds. While pump actions are quite often associated with shotguns, the mechanism can be applied to rifles as well, though in practice it's limited to .22 LR."
}
],
"weight": "2344 g",
"volume": "2054 ml",
"longest_side": "913 mm",
"barrel_length": "457 mm",
"price": "394 USD",
"price_postapoc": "10 USD",
"to_hit": { "grip": "solid", "length": "hand", "surface": "any", "balance": "uneven" },
"material": [ "steel", "wood", "aluminum" ],
"symbol": "(",
"color": "brown",
"range": 7,
"ammo": [ "22" ],
"skill": "rifle",
"ranged_damage": { "damage_type": "bullet", "amount": 3 },
"dispersion": 140,
"durability": 8,
"blackpowder_tolerance": 56,
"clip_size": 15,
"valid_mod_locations": [
[ "brass catcher", 1 ],
[ "grip", 1 ],
[ "mechanism", 2 ],
[ "rail mount", 1 ],
[ "sights", 1 ],
[ "sling", 1 ],
[ "stock mount", 1 ],
[ "stock accessory", 2 ],
[ "underbarrel mount", 1 ]
],
"faults": [ "fault_gun_blackpowder", "fault_gun_dirt" ],
"flags": [ "RELOAD_ONE", "NO_TURRET" ],
"pocket_data": [ { "pocket_type": "MAGAZINE", "rigid": true, "ammo_restriction": { "22": 15 } } ],
"melee_damage": { "bash": 12 }
}
]
52 changes: 52 additions & 0 deletions data/json/items/gun/38.json
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,58 @@
],
"melee_damage": { "bash": 8 }
},
{
"id": "colt_python",
"copy-from": "pistol_revolver",
"looks_like": "sw_619",
"type": "GUN",
"name": { "str_sp": ".357 revolver" },
"//": "This is the Colt Python 2020 6-inch version.",
"description": "A six inch revolver chambered in .357 Magnum/.38 Special. Favorite of sheriffs and post-Cataclysm survivor group leaders.",
"//s": "omg twd reference :O",
"weight": "1300 g",
"volume": "703 ml",
"longest_side": "292 mm",
"barrel_length": "152 mm",
"symbol": "(",
"color": "light_gray",
"//2": "Price of one according to colt's own website. Goddamn.",
"price": "1 kUSD 599 USD",
"price_postapoc": "20 USD",
"to_hit": { "grip": "solid", "length": "short", "balance": "neutral", "surface": "point" },
"material": [ "steel", "wood" ],
"ammo": [ "357mag", "38" ],
"dispersion": 280,
"durability": 10,
"blackpowder_tolerance": 48,
"clip_size": 6,
"valid_mod_locations": [
[ "barrel", 1 ],
[ "grip", 1 ],
[ "mechanism", 2 ],
[ "rail mount", 1 ],
[ "sights", 1 ],
[ "stocks mount", 1 ],
[ "underbarrel mount", 1 ]
],
"pocket_data": [
{
"pocket_type": "MAGAZINE",
"rigid": true,
"ammo_restriction": { "357mag": 6, "38": 6 },
"allowed_speedloaders": [ "38_speedloader" ]
}
],
"variant_type": "gun",
"variants": [
{
"id": "colt_python",
"name": { "str_sp": "Colt Python" },
"description": "Made by Colt, this six inch six-shooter is one of the most lauded revolvers ever produced. Can fire .38 Special and .357 Magnum."
}
],
"melee_damage": { "bash": 9 }
},
{
"id": "sw_619",
"copy-from": "pistol_revolver",
Expand Down
Loading

0 comments on commit 7071b3b

Please sign in to comment.