Skip to content

Commit 76f31b0

Browse files
Merge branch 'master' into personal_mission
2 parents 23c8623 + 9e46143 commit 76f31b0

File tree

78 files changed

+865
-339
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+865
-339
lines changed

data/json/artifact/artifact_item_types.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,9 @@
234234
"subtypes": [ "ARMOR" ],
235235
"copy-from": "coat_fur",
236236
"name": { "str": "ornate fur coat" },
237-
"description": "A heavy, finely crafted coat made of the fur of an unidentifiable creature. It is the only one of its kind.\nIt may have unknown powers; try activating them."
237+
"description": "A heavy, finely crafted coat made of the fur of an unidentifiable creature. It is the only one of its kind.\nIt may have unknown powers; try activating them.",
238+
"//": "remove fur coat variants",
239+
"variants": [ ]
238240
},
239241
{
240242
"id": "art_mask",

data/json/construction/appliances.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -875,5 +875,17 @@
875875
"pre_special": "check_empty",
876876
"post_special": "done_appliance",
877877
"activity_level": "MODERATE_EXERCISE"
878+
},
879+
{
880+
"type": "construction",
881+
"id": "app_lathe",
882+
"group": "place_lathe",
883+
"category": "APPLIANCE",
884+
"required_skills": [ [ "fabrication", 0 ] ],
885+
"time": "5 m",
886+
"components": [ [ [ "lathe", 1 ] ] ],
887+
"pre_special": "check_empty",
888+
"post_special": "done_appliance",
889+
"activity_level": "LIGHT_EXERCISE"
878890
}
879891
]

data/json/construction_group.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2114,5 +2114,10 @@
21142114
"type": "construction_group",
21152115
"id": "build_beanbag",
21162116
"name": "Place a bean bag"
2117+
},
2118+
{
2119+
"type": "construction_group",
2120+
"id": "place_lathe",
2121+
"name": "Place a lathe"
21172122
}
21182123
]

data/json/furniture_and_terrain/appliances.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1095,5 +1095,27 @@
10951095
{ "item": "rock", "count": [ 6, 12 ] }
10961096
],
10971097
"variants": [ { "symbols": "o", "symbols_broken": "x" } ]
1098+
},
1099+
{
1100+
"id": "ap_lathe",
1101+
"type": "vehicle_part",
1102+
"categories": [ "utility" ],
1103+
"name": { "str": "lathe" },
1104+
"description": "An industrial-grade lathe, for turning chunks of metal and other hard things into round chunks of metal and other hard things.",
1105+
"looks_like": "f_heavy_lathe",
1106+
"variants": [ { "symbols": "4", "symbols_broken": "#" } ],
1107+
"color": "cyan_red",
1108+
"flags": [ "OBSTACLE", "APPLIANCE" ],
1109+
"pseudo_tools": [ { "id": "fake_lathe" } ],
1110+
"item": "lathe",
1111+
"damage_modifier": 10,
1112+
"damage_reduction": { "all": 30 },
1113+
"durability": 80,
1114+
"breaks_into": [
1115+
{ "item": "cable", "charges": [ 0, 4 ] },
1116+
{ "item": "scrap", "count": [ 12, 20 ] },
1117+
{ "item": "chunk_cast_iron", "count": [ 2, 4 ] },
1118+
{ "item": "lump_cast_iron", "count": [ 1, 2 ] }
1119+
]
10981120
}
10991121
]

data/json/furniture_and_terrain/furniture-tools.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -992,29 +992,30 @@
992992
"id": "f_heavy_lathe",
993993
"name": "power lathe",
994994
"looks_like": "f_machinery_light",
995-
"description": "An industrial-grade lathe, for turning chunks of metal and other hard things into round chunks of metal and other hard things.",
995+
"description": "An industrial-grade lathe, for turning chunks of metal and other hard things into round chunks of metal and other hard things. It's really heavy but you could take this down and use it for your own purposes if you wanted.",
996996
"symbol": "4",
997997
"color": "cyan_red",
998998
"move_cost_mod": -1,
999999
"coverage": 40,
10001000
"required_str": 16,
10011001
"flags": [ "BLOCKSDOOR" ],
1002+
"examine_action": { "type": "appliance_convert", "furn_set": "f_null", "item": "lathe" },
10021003
"bash": {
10031004
"str_min": 40,
10041005
"str_max": 150,
10051006
"sound_fail": "clang!",
10061007
"items": [
10071008
{ "item": "cable", "charges": [ 0, 4 ] },
10081009
{ "item": "scrap", "count": [ 12, 20 ] },
1009-
{ "item": "ch_steel_chunk", "count": [ 2, 4 ] },
1010-
{ "item": "ch_steel_lump", "count": [ 1, 2 ] }
1010+
{ "item": "chunk_cast_iron", "count": [ 2, 4 ] },
1011+
{ "item": "lump_cast_iron", "count": [ 1, 2 ] }
10111012
]
10121013
},
10131014
"deconstruct": {
10141015
"items": [
10151016
{ "item": "cable", "charges": [ 4, 8 ] },
1016-
{ "item": "ch_steel_chunk", "count": [ 4, 6 ] },
1017-
{ "item": "ch_steel_lump", "count": [ 2, 4 ] },
1017+
{ "item": "chunk_cast_iron", "count": [ 4, 6 ] },
1018+
{ "item": "lump_cast_iron", "count": [ 2, 4 ] },
10181019
{ "item": "scrap", "count": [ 12, 16 ] },
10191020
{ "item": "pipe", "count": [ 0, 4 ] },
10201021
{ "item": "motor_small", "count": 1 }

data/json/itemgroups/Locations_MapExtras/locations_commercial.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -670,7 +670,8 @@
670670
[ "molle_pack", 40 ],
671671
[ "molle_medium_rucksack", 40 ],
672672
[ "molle_large_rucksack", 25 ],
673-
[ "duffelbag", 10 ],
673+
[ "duffelbag", 5 ],
674+
[ "seabag", 5 ],
674675
{ "group": "large_duffelbags", "prob": 10 },
675676
[ "backpack_tactical_large", 10 ],
676677
[ "binoculars", 20 ],

data/json/itemgroups/military.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -619,7 +619,8 @@
619619
{ "group": "molle_backpacks_and_accessories", "prob": 15 },
620620
{ "item": "heatpack", "prob": 30 },
621621
{ "item": "sleeping_bag_roll", "prob": 20 },
622-
{ "item": "duffelbag", "prob": 25 },
622+
{ "item": "duffelbag", "prob": 15 },
623+
{ "item": "seabag", "prob": 10 },
623624
{ "item": "mess_kit", "prob": 50 },
624625
{ "item": "flashlight", "prob": 50, "charges": [ 0, 300 ] },
625626
{ "item": "heavy_flashlight", "prob": 10, "charges": [ 0, 300 ] },

data/json/items/ammo/22.json

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,27 @@
4848
"ammo_type": "22",
4949
"casing": "22_casing",
5050
"range": 13,
51-
"damage": { "damage_type": "bullet", "amount": 12 },
51+
"damage": {
52+
"damage_type": "bullet",
53+
"amount": 12,
54+
"barrels": [
55+
{ "barrel_length": "5 mm", "amount": 3 },
56+
{ "barrel_length": "6 mm", "amount": 4 },
57+
{ "barrel_length": "9 mm", "amount": 5 },
58+
{ "barrel_length": "13 mm", "amount": 6 },
59+
{ "barrel_length": "19 mm", "amount": 7 },
60+
{ "barrel_length": "29 mm", "amount": 8 },
61+
{ "barrel_length": "42 mm", "amount": 9 },
62+
{ "barrel_length": "63 mm", "amount": 10 },
63+
{ "barrel_length": "93 mm", "amount": 11 },
64+
{ "barrel_length": "138 mm", "amount": 12 },
65+
{ "barrel_length": "205 mm", "amount": 13 },
66+
{ "barrel_length": "304 mm", "amount": 14 },
67+
{ "barrel_length": "452 mm", "amount": 15 },
68+
{ "barrel_length": "672 mm", "amount": 16 },
69+
{ "barrel_length": "998 mm", "amount": 17 }
70+
]
71+
},
5272
"dispersion": 60,
5373
"recoil": 150,
5474
"effects": [ "COOKOFF" ]

data/json/items/ammo/9mm.json

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,37 @@
2020
"ammo_type": "9mm",
2121
"casing": "9mm_casing",
2222
"range": 14,
23-
"damage": { "damage_type": "bullet", "amount": 26 },
23+
"damage": {
24+
"damage_type": "bullet",
25+
"amount": 23,
26+
"barrels": [
27+
{ "barrel_length": "6 mm", "amount": 9 },
28+
{ "barrel_length": "8 mm", "amount": 10 },
29+
{ "barrel_length": "10 mm", "amount": 11 },
30+
{ "barrel_length": "12 mm", "amount": 12 },
31+
{ "barrel_length": "15 mm", "amount": 13 },
32+
{ "barrel_length": "18 mm", "amount": 14 },
33+
{ "barrel_length": "23 mm", "amount": 15 },
34+
{ "barrel_length": "28 mm", "amount": 16 },
35+
{ "barrel_length": "36 mm", "amount": 17 },
36+
{ "barrel_length": "44 mm", "amount": 18 },
37+
{ "barrel_length": "55 mm", "amount": 19 },
38+
{ "barrel_length": "69 mm", "amount": 20 },
39+
{ "barrel_length": "87 mm", "amount": 21 },
40+
{ "barrel_length": "109 mm", "amount": 22 },
41+
{ "barrel_length": "136 mm", "amount": 23 },
42+
{ "barrel_length": "171 mm", "amount": 24 },
43+
{ "barrel_length": "214 mm", "amount": 25 },
44+
{ "barrel_length": "268 mm", "amount": 26 },
45+
{ "barrel_length": "335 mm", "amount": 27 },
46+
{ "barrel_length": "420 mm", "amount": 28 },
47+
{ "barrel_length": "526 mm", "amount": 29 },
48+
{ "barrel_length": "660 mm", "amount": 30 },
49+
{ "barrel_length": "827 mm", "amount": 31 },
50+
{ "barrel_length": "1036 mm", "amount": 32 },
51+
{ "barrel_length": "1298 mm", "amount": 33 }
52+
]
53+
},
2454
"dispersion": 60,
2555
"recoil": 500,
2656
"effects": [ "COOKOFF" ]

data/json/items/appliances.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -389,5 +389,19 @@
389389
"price_postapoc": "25 USD",
390390
"symbol": "o",
391391
"color": "brown"
392+
},
393+
{
394+
"type": "ITEM",
395+
"id": "lathe",
396+
"//": "Based off https://www.grizzly.com/products/grizzly-8-x-16-variable-speed-benchtop-metal-lathe/g0768 because its longest side is roughly 1 m long (hence it'd fit in a tile) and it seemed standard enough.",
397+
"name": { "str": "disconnected lathe" },
398+
"description": "An industrial-grade lathe, for turning chunks of metal and other hard things into round chunks of metal and other hard things. Needs to be placed and plugged into a power source.",
399+
"looks_like": "f_heavy_lathe",
400+
"symbol": "4",
401+
"color": "cyan_red",
402+
"material": [ "iron" ],
403+
"longest_side": "115 cm",
404+
"volume": "275 L",
405+
"weight": "150 kg"
392406
}
393407
]

0 commit comments

Comments
 (0)