Skip to content

Commit 7423831

Browse files
authored
Merge pull request #82939 from BalthazarArgall/FixSunkenHeli
2 parents 657b4d7 + ddd2881 commit 7423831

File tree

3 files changed

+37
-32
lines changed

3 files changed

+37
-32
lines changed
Lines changed: 32 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,62 +1,63 @@
11
[
22
{
3-
"type": "terrain",
43
"id": "t_sunkenhelicopter_floor",
4+
"copy-from": "t_scrap_floor",
5+
"type": "terrain",
6+
"extend": { "flags": [ "LIQUID", "SWIMMABLE", "DEEP_WATER", "WATER_CUBE" ] },
57
"name": "waterlogged aisle",
68
"description": "A waterlogged aisle. It has started to degrade after some time spent underwater. Absolutely unrecoverable.",
7-
"connect_groups": [ "INDOORFLOOR", "MULCHFLOOR" ],
8-
"copy-from": "t_scrap_floor"
9+
"connect_groups": [ "INDOORFLOOR", "MULCHFLOOR" ]
910
},
1011
{
11-
"type": "terrain",
1212
"id": "t_sunkenhelicopter_floor_rotator",
13-
"connect_groups": [ "INDOORFLOOR", "MULCHFLOOR" ],
14-
"copy-from": "t_sunkenhelicopter_floor"
13+
"copy-from": "t_sunkenhelicopter_floor",
14+
"type": "terrain",
15+
"connect_groups": [ "INDOORFLOOR", "MULCHFLOOR" ]
1516
},
1617
{
17-
"type": "terrain",
1818
"id": "t_sunkenhelicopter_wall_nw",
19-
"name": "waterlogged board",
2019
"copy-from": "t_scrap_wall",
20+
"type": "terrain",
21+
"name": "waterlogged board",
2122
"description": "A waterlogged metal wall. Keeps zombies outside the vehicle and prevents people from seeing through it. It has started to degrade after some time spent underwater. Absolutely unrecoverable."
2223
},
2324
{
24-
"type": "terrain",
2525
"id": "t_sunkenhelicopter_wall_ne",
26+
"type": "terrain",
2627
"copy-from": "t_sunkenhelicopter_wall_nw"
2728
},
2829
{
29-
"type": "terrain",
3030
"id": "t_sunkenhelicopter_wall_w",
31+
"type": "terrain",
3132
"copy-from": "t_sunkenhelicopter_wall_nw"
3233
},
3334
{
34-
"type": "terrain",
3535
"id": "t_sunkenhelicopter_wall_e",
36+
"type": "terrain",
3637
"copy-from": "t_sunkenhelicopter_wall_nw"
3738
},
3839
{
39-
"type": "terrain",
4040
"id": "t_sunkenhelicopter_wall_s",
41+
"type": "terrain",
4142
"copy-from": "t_sunkenhelicopter_wall_nw"
4243
},
4344
{
44-
"type": "terrain",
4545
"id": "t_sunkenhelicopter_wall_sw",
46+
"type": "terrain",
4647
"copy-from": "t_sunkenhelicopter_wall_nw"
4748
},
4849
{
49-
"type": "terrain",
5050
"id": "t_sunkenhelicopter_wall_se",
51+
"type": "terrain",
5152
"copy-from": "t_sunkenhelicopter_wall_nw"
5253
},
5354
{
54-
"type": "terrain",
5555
"id": "t_sunkenhelicopter_quarterpanel_n_middle",
56+
"copy-from": "t_drystone_wall_half",
57+
"type": "terrain",
5658
"name": "waterlogged quarterpanel",
5759
"description": "A waterlogged half-height metal wall. Keeps zombies outside the vehicle but allows people to see over it. It has started to degrade after some time spent underwater. Absolutely unrecoverable.",
58-
"copy-from": "t_drystone_wall_half",
59-
"flags": [ "TRANSPARENT", "NOITEM", "THIN_OBSTACLE" ],
60+
"flags": [ "TRANSPARENT", "NOITEM", "THIN_OBSTACLE", "LIQUID", "SWIMMABLE", "DEEP_WATER", "WATER_CUBE" ],
6061
"bash": {
6162
"str_min": 80,
6263
"str_max": 200,
@@ -67,31 +68,33 @@
6768
}
6869
},
6970
{
70-
"type": "terrain",
7171
"id": "t_sunkenhelicopter_quarterpanel_n_left",
72+
"type": "terrain",
7273
"copy-from": "t_sunkenhelicopter_quarterpanel_n_middle"
7374
},
7475
{
75-
"type": "terrain",
7676
"id": "t_sunkenhelicopter_quarterpanel_n_right",
77+
"type": "terrain",
7778
"copy-from": "t_sunkenhelicopter_quarterpanel_n_middle"
7879
},
7980
{
80-
"type": "terrain",
8181
"id": "t_sunkenhelicopter_windshield_n",
8282
"copy-from": "t_window",
83+
"type": "terrain",
8384
"name": "waterlogged windshield",
8485
"description": "A waterlogged sheet of glass that lets you see outside the vehicle. It has started to degrade after some time spent underwater. Absolutely unrecoverable.",
8586
"roof": "t_flat_roof",
8687
"flags": [ "TRANSPARENT", "NOITEM" ],
8788
"shoot": { "reduce_damage": [ 1, 4 ], "reduce_damage_laser": [ 0, 4 ], "destroy_damage": [ 1, 4 ], "no_laser_destroy": true }
8889
},
8990
{
90-
"type": "terrain",
9191
"id": "t_sunkenhelicopter_frame",
92+
"copy-from": "t_junk_floor",
93+
"extend": { "flags": [ "LIQUID", "SWIMMABLE", "DEEP_WATER", "WATER_CUBE" ] },
94+
"type": "terrain",
9295
"name": "waterlogged frame",
9396
"description": "A waterlogged metal framework. Other vehicle components can be mounted on it, and it can be attached to other frames to increase the vehicle's size. It has started to degrade after some time spent underwater. Absolutely unrecoverable.",
94-
"copy-from": "t_junk_floor"
97+
"flags": [ "TRANSPARENT", "NOITEM" ]
9598
},
9699
{
97100
"type": "furniture",
@@ -102,17 +105,18 @@
102105
"rotates_to": "MULCHFLOOR"
103106
},
104107
{
105-
"type": "terrain",
106108
"id": "t_sunkenhelicopter_roof",
109+
"copy-from": "t_sunkenhelicopter_floor",
110+
"extend": { "flags": [ "LIQUID", "SWIMMABLE", "DEEP_WATER", "WATER_CUBE" ] },
111+
"type": "terrain",
107112
"name": "waterlogged roof",
108-
"description": "A waterlogged metal roof. Absolutely unrecoverable.",
109-
"copy-from": "t_sunkenhelicopter_floor"
113+
"description": "A waterlogged metal roof. Absolutely unrecoverable."
110114
},
111115
{
112-
"type": "terrain",
113116
"id": "t_sunkenhelicopter_rotor",
117+
"copy-from": "t_sunkenhelicopter_floor",
118+
"type": "terrain",
114119
"name": "waterlogged heavy-duty military Blackhawk rotors",
115-
"description": "A set of four military-grade helicopter rotor blades, used to provide lift by rotation. It has started to degrade after some time spent underwater. Absolutely unrecoverable.",
116-
"copy-from": "t_sunkenhelicopter_floor"
120+
"description": "A set of four military-grade helicopter rotor blades, used to provide lift by rotation. It has started to degrade after some time spent underwater. Absolutely unrecoverable."
117121
}
118122
]

data/json/mapgen/sunken_helicopter_mapgen.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
"w": "t_sunkenhelicopter_quarterpanel_n_middle",
4444
"e": "t_sunkenhelicopter_quarterpanel_n_right",
4545
".": "t_sunkenhelicopter_floor",
46+
"h": "t_sunkenhelicopter_floor",
4647
",": "t_sunkenhelicopter_floor_rotator",
4748
"x": "t_sunkenhelicopter_frame"
4849
},

data/json/monsters/nether.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2254,16 +2254,16 @@
22542254
"id": "mon_nether_cucumber",
22552255
"type": "MONSTER",
22562256
"name": { "str": "waterbed skulker" },
2257-
"description": "Pink and translucent, with all of its otherworldly organs visible through its skin, this meter-high conical creature creeps along the seabed with its stubby, furry legs. It contracts some kind of retracted barbed filaments into an orifice at its rear as it aims it at potential prey.",
2257+
"description": "Pink and translucent, with all of its otherworldly organs visible through its skin, this meter-high conical creature creeps along the seabed with its stubby, furry legs. It retracts some sort of barbed filaments into an orifice at its rear as it aims at potential prey.",
22582258
"species": "NETHER",
2259-
"hp": 100,
2259+
"hp": 50,
22602260
"diff": 15,
22612261
"weight": "75 kg",
22622262
"volume": "70 L",
22632263
"symbol": "s",
22642264
"color": "pink",
22652265
"default_faction": "nether",
2266-
"speed": 100,
2266+
"speed": 80,
22672267
"move_skills": { "swim": 2 },
22682268
"melee_damage": [ { "damage_type": "bash", "amount": 0 } ],
22692269
"special_attacks": [
@@ -2279,7 +2279,7 @@
22792279
"bodytype": "snake",
22802280
"harvest": "mutant_mollusk",
22812281
"zombify_into": "mon_meat_cocoon_tiny",
2282-
"flags": [ "AQUATIC", "SMELLS", "SEES", "HEARS", "GRABS" ],
2282+
"flags": [ "AQUATIC", "SEES", "HEARS", "GRABS" ],
22832283
"weakpoints": [
22842284
{
22852285
"name": "filaments",

0 commit comments

Comments
 (0)