Skip to content

Commit 3fe918c

Browse files
authored
Tune and expand furniture bash fields (#81628)
* adjust spread of debris and rename fields * add mechanical fluid to debris of a lot of machinery * make some things drop water also moves the Mechanical Fluids field into debris, and adds looks_like to fd_dust * add moppable to mechanical fluid and water * Update field_type.json * syntax fix I missed
1 parent 712b21a commit 3fe918c

File tree

6 files changed

+131
-68
lines changed

6 files changed

+131
-68
lines changed

data/json/field_type.json

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1882,21 +1882,6 @@
18821882
"display_field": true,
18831883
"looks_like": "fd_smoke"
18841884
},
1885-
{
1886-
"id": "fd_mechanical_fluid",
1887-
"type": "field_type",
1888-
"intensity_levels": [
1889-
{ "name": "mechanical fluid splatter", "color": "light_gray" },
1890-
{ "name": "mechanical fluid stain" },
1891-
{ "name": "puddle of mechanical fluid", "color": "dark_gray" }
1892-
],
1893-
"description_affix": "covered_in",
1894-
"is_splattering": true,
1895-
"half_life": "10 days",
1896-
"phase": "liquid",
1897-
"display_field": true,
1898-
"looks_like": "fd_sludge"
1899-
},
19001885
{
19011886
"id": "fd_electricity_unlit",
19021887
"type": "field_type",

data/json/fields/debris.json

Lines changed: 40 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"intensity_levels": [
66
{ "name": "dust", "sym": "%", "color": "brown", "transparent": true, "dangerous": false, "concentration": 1 },
77
{
8-
"name": "fountain of dust",
8+
"name": "dust and grime",
99
"sym": "%",
1010
"color": "brown",
1111
"transparent": true,
@@ -20,13 +20,14 @@
2020
"description_affix": "covered_in",
2121
"mopsafe": true,
2222
"moppable": true,
23-
"percent_spread": 33,
24-
"phase": "gas"
23+
"percent_spread": 20,
24+
"phase": "gas",
25+
"looks_like": "t_open_air"
2526
},
2627
{
2728
"type": "field_type",
2829
"id": "fd_splinters",
29-
"intensity_levels": [ { "name": "splinters", "sym": "%", "color": "brown", "transparent": true, "dangerous": false, "concentration": 1 } ],
30+
"intensity_levels": [ { "name": "wood debris", "sym": "%", "color": "brown", "transparent": true, "dangerous": false, "concentration": 1 } ],
3031
"priority": 2,
3132
"dirty_transparency_cache": false,
3233
"display_items": true,
@@ -35,6 +36,40 @@
3536
"mopsafe": true,
3637
"moppable": true,
3738
"percent_spread": 8,
38-
"phase": "gas"
39+
"phase": "gas",
40+
"looks_like": "fd_dust"
41+
},
42+
{
43+
"id": "fd_mechanical_fluid",
44+
"type": "field_type",
45+
"intensity_levels": [
46+
{ "name": "mechanical fluid splatter", "color": "light_gray" },
47+
{ "name": "mechanical fluid stain" },
48+
{ "name": "puddle of mechanical fluid", "color": "dark_gray" }
49+
],
50+
"description_affix": "covered_in",
51+
"is_splattering": true,
52+
"mopsafe": true,
53+
"moppable": true,
54+
"half_life": "10 days",
55+
"phase": "liquid",
56+
"display_field": true,
57+
"looks_like": "fd_sludge"
58+
},
59+
{
60+
"id": "fd_dirty_water",
61+
"type": "field_type",
62+
"intensity_levels": [
63+
{ "name": "dirty water splatter", "color": "light_gray" },
64+
{ "name": "dirty water stain" },
65+
{ "name": "puddle of dirty water", "color": "dark_gray" }
66+
],
67+
"description_affix": "covered_in",
68+
"mopsafe": true,
69+
"moppable": true,
70+
"half_life": "2 hours",
71+
"phase": "liquid",
72+
"display_field": true,
73+
"looks_like": "water"
3974
}
4075
]

data/json/furniture_and_terrain/furniture-industrial.json

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
{ "item": "metal_tank_little", "count": [ 0, 2 ] },
2222
{ "item": "jerrycan", "count": [ 0, 2 ] },
2323
{ "item": "metal_tank", "count": [ 0, 2 ] }
24-
]
24+
],
25+
"destroyed_field": [ "fd_mechanical_fluid", 2 ]
2526
},
2627
"deconstruct": {
2728
"items": [
@@ -57,7 +58,8 @@
5758
{ "item": "lc_steel_chunk", "count": [ 1, 4 ] },
5859
{ "item": "scrap", "count": [ 3, 7 ] },
5960
{ "item": "pipe", "count": [ 0, 1 ] }
60-
]
61+
],
62+
"destroyed_field": [ "fd_mechanical_fluid", 1 ]
6163
},
6264
"deconstruct": {
6365
"items": [
@@ -165,7 +167,8 @@
165167
{ "item": "bearing", "charges": [ 2, 8 ] },
166168
{ "item": "frame", "prob": 20 },
167169
{ "item": "motor_small", "prob": 10 }
168-
]
170+
],
171+
"destroyed_field": [ "fd_mechanical_fluid", 1 ]
169172
}
170173
},
171174
{
@@ -222,7 +225,8 @@
222225
{ "item": "motor", "prob": 10 },
223226
{ "item": "metal_tank", "prob": 20 },
224227
{ "item": "motor_large", "prob": 5 }
225-
]
228+
],
229+
"destroyed_field": [ "fd_mechanical_fluid", 2 ]
226230
}
227231
},
228232
{
@@ -278,8 +282,8 @@
278282
{ "item": "2x4", "count": 2 },
279283
{ "item": "nail", "charges": [ 2, 5 ] }
280284
],
281-
"hit_field": [ "fd_dust", 2 ],
282-
"destroyed_field": [ "fd_splinters", 1 ]
285+
"hit_field": [ "fd_dust", 3 ],
286+
"destroyed_field": [ "fd_mechanical_fluid", 1 ]
283287
}
284288
},
285289
{
@@ -516,7 +520,8 @@
516520
{ "item": "amplifier", "prob": 40 },
517521
{ "item": "plastic_chunk", "count": [ 2, 8 ] },
518522
{ "item": "scrap", "count": [ 3, 8 ] }
519-
]
523+
],
524+
"destroyed_field": [ "fd_mechanical_fluid", 1 ]
520525
}
521526
},
522527
{

data/json/furniture_and_terrain/furniture-medical.json

Lines changed: 39 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@
4343
{ "item": "amplifier", "prob": 25 },
4444
{ "item": "plastic_chunk", "count": [ 4, 10 ], "prob": 50 },
4545
{ "item": "scrap", "count": [ 2, 6 ], "prob": 50 }
46-
]
46+
],
47+
"destroyed_field": [ "fd_mechanical_fluid", 1 ]
4748
}
4849
},
4950
{
@@ -81,8 +82,7 @@
8182
{ "item": "sheet_cotton", "count": [ 3, 4 ] },
8283
{ "item": "cotton_patchwork", "count": [ 3, 4 ] }
8384
],
84-
"hit_field": [ "fd_dust", 2 ],
85-
"destroyed_field": [ "fd_splinters", 1 ]
85+
"destroyed_field": [ "fd_mechanical_fluid", 1 ]
8686
}
8787
},
8888
{
@@ -113,7 +113,8 @@
113113
{ "item": "hose", "count": [ 0, 2 ] },
114114
{ "item": "cu_pipe", "count": [ 1, 4 ] },
115115
{ "item": "scrap_copper", "count": [ 0, 2 ] }
116-
]
116+
],
117+
"destroyed_field": [ "fd_mechanical_fluid", 1 ]
117118
}
118119
},
119120
{
@@ -156,7 +157,8 @@
156157
{ "item": "hose", "count": [ 0, 2 ] },
157158
{ "item": "cu_pipe", "count": [ 1, 4 ] },
158159
{ "item": "scrap_copper", "count": [ 0, 2 ] }
159-
]
160+
],
161+
"destroyed_field": [ "fd_mechanical_fluid", 1 ]
160162
}
161163
},
162164
{
@@ -201,7 +203,8 @@
201203
{ "item": "cu_pipe", "count": [ 2, 4 ] },
202204
{ "item": "scrap_copper", "count": [ 1, 2 ] },
203205
{ "item": "motor_tiny", "prob": 25 }
204-
]
206+
],
207+
"destroyed_field": [ "fd_mechanical_fluid", 1 ]
205208
}
206209
},
207210
{
@@ -288,7 +291,8 @@
288291
{ "item": "pipe", "count": 1 },
289292
{ "item": "glass_shard", "count": [ 25, 100 ] },
290293
{ "item": "cable", "charges": [ 1, 2 ] }
291-
]
294+
],
295+
"destroyed_field": [ "fd_mechanical_fluid", 1 ]
292296
}
293297
},
294298
{
@@ -327,7 +331,8 @@
327331
{ "item": "sheet_metal", "count": [ 1, 4 ] },
328332
{ "item": "element", "count": [ 1, 3 ] },
329333
{ "item": "cable", "charges": [ 1, 15 ] }
330-
]
334+
],
335+
"destroyed_field": [ "fd_mechanical_fluid", 1 ]
331336
}
332337
},
333338
{
@@ -429,7 +434,8 @@
429434
{ "item": "hose", "count": [ 0, 1 ] },
430435
{ "item": "e_scrap", "count": [ 5, 10 ] },
431436
{ "item": "plastic_chunk", "count": [ 0, 2 ] }
432-
]
437+
],
438+
"destroyed_field": [ "fd_mechanical_fluid", 2 ]
433439
}
434440
},
435441
{
@@ -473,7 +479,8 @@
473479
{ "item": "hose", "count": [ 0, 1 ] },
474480
{ "item": "e_scrap", "count": [ 5, 10 ] },
475481
{ "item": "plastic_chunk", "count": [ 0, 2 ] }
476-
]
482+
],
483+
"destroyed_field": [ "fd_mechanical_fluid", 2 ]
477484
}
478485
},
479486
{
@@ -513,7 +520,8 @@
513520
{ "item": "cable", "charges": [ 1, 15 ] },
514521
{ "item": "e_scrap", "count": [ 5, 10 ] },
515522
{ "item": "plastic_chunk", "count": [ 0, 2 ] }
516-
]
523+
],
524+
"destroyed_field": [ "fd_mechanical_fluid", 2 ]
517525
}
518526
},
519527
{
@@ -552,7 +560,8 @@
552560
{ "item": "cable", "charges": [ 1, 15 ] },
553561
{ "item": "e_scrap", "count": [ 5, 10 ] },
554562
{ "item": "plastic_chunk", "count": [ 0, 2 ] }
555-
]
563+
],
564+
"destroyed_field": [ "fd_mechanical_fluid", 2 ]
556565
}
557566
},
558567
{
@@ -590,7 +599,8 @@
590599
{ "item": "cable", "charges": [ 1, 15 ] },
591600
{ "item": "e_scrap", "count": [ 5, 10 ] },
592601
{ "item": "plastic_chunk", "count": [ 0, 2 ] }
593-
]
602+
],
603+
"destroyed_field": [ "fd_mechanical_fluid", 1 ]
594604
}
595605
},
596606
{
@@ -630,7 +640,8 @@
630640
{ "item": "cable", "charges": [ 1, 15 ] },
631641
{ "item": "e_scrap", "count": [ 5, 10 ] },
632642
{ "item": "plastic_chunk", "count": [ 0, 2 ] }
633-
]
643+
],
644+
"destroyed_field": [ "fd_mechanical_fluid", 2 ]
634645
}
635646
},
636647
{
@@ -670,7 +681,8 @@
670681
{ "item": "cable", "charges": [ 1, 15 ] },
671682
{ "item": "e_scrap", "count": [ 5, 10 ] },
672683
{ "item": "plastic_chunk", "count": [ 0, 2 ] }
673-
]
684+
],
685+
"destroyed_field": [ "fd_mechanical_fluid", 2 ]
674686
}
675687
},
676688
{
@@ -750,7 +762,8 @@
750762
{ "item": "hose", "count": [ 0, 1 ] },
751763
{ "item": "e_scrap", "count": [ 5, 10 ] },
752764
{ "item": "plastic_chunk", "count": [ 0, 2 ] }
753-
]
765+
],
766+
"destroyed_field": [ "fd_mechanical_fluid", 1 ]
754767
}
755768
},
756769
{
@@ -793,7 +806,8 @@
793806
{ "item": "hose", "count": [ 0, 1 ] },
794807
{ "item": "e_scrap", "count": [ 5, 10 ] },
795808
{ "item": "plastic_chunk", "count": [ 0, 2 ] }
796-
]
809+
],
810+
"destroyed_field": [ "fd_mechanical_fluid", 3 ]
797811
}
798812
},
799813
{
@@ -836,7 +850,8 @@
836850
{ "item": "hose", "count": [ 0, 1 ] },
837851
{ "item": "e_scrap", "count": [ 5, 10 ] },
838852
{ "item": "plastic_chunk", "count": [ 0, 2 ] }
839-
]
853+
],
854+
"destroyed_field": [ "fd_mechanical_fluid", 1 ]
840855
}
841856
},
842857
{
@@ -939,7 +954,8 @@
939954
{ "item": "mc_steel_chunk", "count": [ 0, 3 ] },
940955
{ "item": "sheet_metal", "count": [ 1, 3 ] },
941956
{ "item": "cable", "charges": [ 1, 15 ] }
942-
]
957+
],
958+
"destroyed_field": [ "fd_mechanical_fluid", 1 ]
943959
}
944960
},
945961
{
@@ -979,7 +995,8 @@
979995
{ "item": "cable", "charges": [ 1, 15 ] },
980996
{ "item": "e_scrap", "count": [ 5, 10 ] },
981997
{ "item": "plastic_chunk", "count": [ 0, 2 ] }
982-
]
998+
],
999+
"destroyed_field": [ "fd_mechanical_fluid", 1 ]
9831000
}
9841001
},
9851002
{
@@ -1019,7 +1036,8 @@
10191036
{ "item": "cable", "charges": [ 1, 15 ] },
10201037
{ "item": "e_scrap", "count": [ 2, 4 ] },
10211038
{ "item": "plastic_chunk", "count": [ 0, 2 ] }
1022-
]
1039+
],
1040+
"destroyed_field": [ "fd_mechanical_fluid", 1 ]
10231041
}
10241042
},
10251043
{

0 commit comments

Comments
 (0)