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

Windshields aren't just glass #63479

Closed
wants to merge 4 commits into from
Closed
Changes from 1 commit
Commits
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
Next Next commit
added makeshift windshield vehicle parts
changed: previous windshield parts to now be tempered glass (wip)
  • Loading branch information
Golfavel committed Feb 7, 2023
commit 7c6a08baabc941235f61f5e49e3b6e64afce86c2
117 changes: 113 additions & 4 deletions data/json/vehicleparts/windshields.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@
"categories": [ "hull" ],
"color": "light_cyan",
"damage_modifier": 70,
"description": "A sheet of glass that lets you see outside the vehicle.",
"description": "A sheet of tempered glass that lets you see outside the vehicle.",
"durability": 50,
"flags": [ "OVER", "WINDSHIELD", "OBSTACLE", "WINDOW" ],
"item": "glass_sheet",
"item": "tempered_glass_sheet",
"location": "center",
"looks_like": "t_wall_glass",
"name": { "str": "windshield" },
Expand Down Expand Up @@ -84,10 +84,10 @@
"color": "light_blue",
"damage_modifier": 80,
"damage_reduction": { "all": 16 },
"description": "A sheet of glass that lets you see outside the vehicle. Reinforced with wire to make it harder to break than normal glass.",
"description": "A sheet of tempered glass that lets you see outside the vehicle. Reinforced with wire to make it harder to break than normal tempered glass.",
"durability": 250,
"flags": [ "WINDSHIELD", "OBSTACLE", "WINDOW" ],
"item": "reinforced_glass_sheet",
"item": "reinforced_tempered_glass_sheet",
"location": "center",
"looks_like": "windshield",
"name": { "str": "reinforced windshield" },
Expand All @@ -107,5 +107,114 @@
"looks_like": "reinforced_windshield",
"type": "vehicle_part",
"name": { "str": "reinforced full windshield" }
},
{
"abstract": "makeshift_windshield_abstract",
"type": "vehicle_part",
"breaks_into": [ { "count": [ 25, 50 ], "item": "glass_shard" } ],
"symbol": "\"",
"symbols": {
"cover_left": "h",
"cover_right": "h",
"nw": "y",
"ne": "u",
"sw": "b",
"se": "n",
"nw_edge": "y",
"ne_edge": "u",
"sw_edge": "b",
"se_edge": "n",
"vertical": "j",
"vertical_left": "j",
"vertical_right": "j",
"vertical_2_left": "j",
"vertical_2_right": "j",
"horizontal_front": "h",
"horizontal_front_edge": "^",
"horizontal_rear": "h",
"horizontal_rear_edge": "=",
"wheel_left": "y",
"wheel_right": "u"
},
"broken_color": "light_gray",
"broken_symbol": "0",
"categories": [ "hull" ],
"color": "light_cyan",
"damage_modifier": 70,
"description": "A sheet of glass that lets you see outside the vehicle. More fragile than standard tempered glass windshields, but still works in a pinch.",
"durability": 50,
"flags": [ "OVER", "WINDSHIELD", "OBSTACLE", "WINDOW" ],
"item": "glass_sheet",
"location": "center",
"looks_like": "t_wall_glass",
"name": { "str": "makeshift windshield" },
"requirements": {
"install": { "skills": [ [ "mechanics", 1 ] ], "time": "15 m", "using": [ [ "adhesive", 2 ] ] },
"removal": { "skills": [ [ "mechanics", 2 ] ], "time": "10 m", "using": [ [ "vehicle_nail_removal", 1 ] ] }
}
},
{
"copy-from": "makeshift_windshield_abstract",
"id": "makeshift_windshield",
"type": "vehicle_part"
},
{
"copy-from": "makeshift_windshield_abstract",
"id": "makeshift_windshield_full",
"looks_like": "makeshift_windshield",
"type": "vehicle_part",
"name": { "str": "makeshift full windshield" }
},
{
"abstract": "reinforced_makeshift_windshield_abstract",
"type": "vehicle_part",
"breaks_into": [ { "count": [ 25, 50 ], "item": "glass_shard" }, { "count": [ 4, 8 ], "item": "wire" } ],
"symbol": "\"",
"symbols": {
"nw": "y",
"ne": "u",
"sw": "b",
"se": "n",
"nw_edge": "y",
"ne_edge": "u",
"sw_edge": "b",
"se_edge": "n",
"vertical": "j",
"vertical_left": "j",
"vertical_right": "H",
"horizontal_front": "h",
"horizontal_front_edge": "^",
"horizontal_rear": "h",
"horizontal_rear_edge": "="
},
"broken_color": "light_gray",
"broken_symbol": "0",
"categories": [ "hull" ],
"color": "light_blue",
"damage_modifier": 80,
"damage_reduction": { "all": 16 },
"description": "A sheet of glass that lets you see outside the vehicle. Reinforced with wire to make it harder to break than normal glass, but still not as good as tempered glass.",
"durability": 250,
"flags": [ "WINDSHIELD", "OBSTACLE", "WINDOW" ],
"item": "reinforced_glass_sheet",
"location": "center",
"looks_like": "windshield",
"name": { "str": "reinforced makeshift windshield" },
"requirements": {
"install": { "skills": [ [ "mechanics", 4 ] ], "time": "30 m", "using": [ [ "vehicle_wrench_2", 1 ] ] },
"removal": { "skills": [ [ "mechanics", 2 ] ], "time": "15 m", "using": [ [ "vehicle_wrench_2", 1 ] ] }
}
},
{
"copy-from": "reinforced_makeshift_windshield_abstract",
"id": "reinforced_makeshift_windshield",
"type": "vehicle_part"
},
{
"copy-from": "reinforced_makeshift_windshield_abstract",
"id": "reinforced_makeshift_windshield_full",
"looks_like": "reinforced_windshield",
"type": "vehicle_part",
"name": { "str": "reinforced full windshield" }
}
]