Skip to content

Commit

Permalink
Merge pull request CleverRaven#73452 from BarndoBoi/Surgical-Cart
Browse files Browse the repository at this point in the history
Add Surgical Cart Vehicle
  • Loading branch information
I-am-Erk authored May 8, 2024
2 parents 386a00c + 7f15ed2 commit 6a8d75a
Show file tree
Hide file tree
Showing 10 changed files with 89 additions and 36 deletions.
29 changes: 15 additions & 14 deletions data/json/mapgen/hospital.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,44 +96,44 @@
"#...............#.........x.c.c.c.c.x..............b#``#....l#...#l....#",
"#...............+........./.........x..............b#``#BB...+...+...BB#",
"#+#+#+#+#+#.....+........./.........x..............b#``#BB...+...+...BB#",
"#.#.#.#.#.#.....#.........x.........x..............b#``#...cT#...#Tc...#",
"#.#.#.#.#.#.....#.........x...a.....x..............b#``#...cT#...#Tc...#",
"#&#&#&#&#&#sssss#.D.....F.#rr###+####.DF.TbbbbTbbbbT#``#######///#######",
"####################//########r....d#################``#l.rrr#...#rrr.l#",
"####################//########r..a.d#################``#l.rrr#...#rrr.l#",
"#...ll...x...ll...x....#SSSTf#r...cd#s.&#&.s#s.&#&.s#``#l....!...!....l#",
"#.TB..BT.x.TB..BT.x....#.....+.....L#...#...#...#...#``#l.rrr#...#rrr.l#",
"#.TB..BT.x.TB..BT.x....#.....+.....L#...#...#...#...#``#larrr#...#rrral#",
"#r.B..B.rxr.B..B.rx....#########!#####+###+###+###+##;;#######...#######",
"#r......rxr......rx....................................................#",
"#r....a.rxr....a.rx....................................................#",
"#xxx//xxxxxxx//xxxx....................................................;",
"#......................................................................#",
"#......................####################...#######;;#######...#######",
"#......................x...........l#8....#...#rrr.l#``#l.rrr#...#rrr.l#",
"#....................../.....A..BT.l#8....!...!....l#``#l....!...!....l#",
"#....................../.....?..B..r#88888#...#rrr.l#``#l.rrr#...#rrr.l#",
"#5.....................x...........r#######///#######``#######///#######",
"#....................../.....?..B..r#88888#...#rrral#``#larrr#...#rrral#",
"#5.....................x..........ar#######///#######``#######///#######",
"##X#################///##############...cT#...#Tc...#``#...cT#...#Tc...#",
"#H.......H#.......l#...x...........l#BB...+...+...BB#``#BB...+...+...BB#",
"#H.......H#r.TBBT..#.../.....TBBT...#BB...+...+...BB#``#BB...+...+...BB#",
"#H.......H#a......l#...x...........l#BB...+...+...BB#``#BB...+...+...BB#",
"#H.......H#r.TBBT..#.../.....TBBT..a#BB...+...+...BB#``#BB...+...+...BB#",
"#H.......H#r..BB...#.../......BB...r#....l#...#l....#``#....l#...#l....#",
"#H.......H#........#...x...........r#######...#######``#######...#######",
"###########xxx//xxx#...##############....l#...#l....#``#....l#...#l....#",
"#l........x............x...........R#BB...+...+...BB#``#BB...+...+...BB#",
"#l........x............x........a..R#BB...+...+...BB#``#BB...+...+...BB#",
"#R.TB..A../............/.....6.....R#BB...+...+...BB#``#BB...+...+...BB#",
"#R..B..?../............/.....*.....R#...cT#...#Tc...#``#...cT#...#Tc...#",
"#.........x............x.......22..R#######...#######``#######...#######",
"#a........x............x.......22..R#######...#######``#######...#######",
"###########xxx//xxx#...##############...cT#...#Tc...#``#...cT#...#Tc...#",
"#..KKKKK..#........#...x...........r#BB...+...+...BB#``#BB...+...+...BB#",
"#N........#r..BB...#.../......BB...r#BB...+...+...BB#``#BB...+...+...BB#",
"#Y.......8#r.TBBT..#.../.....TBBT...#....l#...#l....#``#....l#...#l....#",
"#...TT...8#.......l#...x...........l#######...#######``#######...#######",
"#Y.......8#r.TBBT..#.../.....TBBT..a#....l#...#l....#``#....l#...#l....#",
"#...TT...8#a......l#...x...........l#######...#######``#######...#######",
"#######!#############///#############....l#...#l....#``#....l#...#l....#",
";``````````````````;....bbb.bbb.bbb.#BB...+...+...BB#``#BB...+...+...BB#",
";``````````````````;...............b#BB...+...+...BB#``#BB...+...+...BB#",
"######;;############...............b#...cT#...#Tc...#``#...cT#...#Tc...#",
"#&..#....LLLLLLLLLL#...............b#######...#######``#######...#######",
"#...+..............!................#...cT#...#Tc...#``#...cT#...#Tc...#",
"#..s#.....bbb.rrrr.#...............b#BB...+...+...BB#``#BB...+...+...BB#",
"#..s#.....bbb.rrrra#...............b#BB...+...+...BB#``#BB...+...+...BB#",
"#####....###########...............b#BB...#...+...BB#``#BB...#...+...BB#",
"#kddd...C#d..ddd..d#...............b#....l#...#l....#``#....l#...#l....#",
"#kddd...C#d..ddd.ad#...............b#....l#...#l....#``#....l#...#l....#",
"w..c....C#dc..c..cd#................#######///#######;;#######///#######",
"#.......C#d.......d#.............................................#88888#",
"w........+.........!.............................................!....8#",
Expand Down Expand Up @@ -186,6 +186,7 @@
"2": { "item": "hospital_samples", "chance": 50 },
"k": { "item": "doctors_books", "chance": 60 },
"K": { "item": "hospital_oxygen", "chance": 85 },
"a": { "item": "gear_medical", "chance": 65, "repeat": [ 2, 3 ] },
"H": [
{ "item": "harddrugs", "chance": 60 },
{ "item": "gear_medical", "chance": 60, "repeat": [ 1, 3 ] },
Expand Down
18 changes: 10 additions & 8 deletions data/json/mapgen/nursing_home.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@
"|&6Wk.W..WWWW..WWWWWWWWW//WGGGGGGGGGGGGGGGGGGW//WWW..W+.n~=~=|spppppppppppppppppppppppppppppssgg",
"|.kW6&W..WflW..WT3.3TGЯgss####################ssgЯW..WWWWWW|||sPPPPpppppppppppppppppppppppppssgg",
"|DWWWWW..aooa..D.....G*gss!BBB!gggggg*ggg*BBB!ssg*W.......i|||ЯssssssssssssIppppppppppppppppIsgg",
"G.5TT5W..a..-..W5TT5.G*gssssssssssssssssssssssssg*Wi.......|||||||||||||**ssppppppppppppppppssgg",
"G.5TT5W..aV.-..W5TT5.G*gssssssssssssssssssssssssg*Wi.......|||||||||||||**ssppppppppppppppppssgg",
"G.....D..aAaa..WWWWWDW*gssssssssssssssssssssssssg*WWWWWWW........L.....Xsssspppppppyypppppppssgg",
"GT8.8TW.......iW&6Wk.W*gss!BBBgggggsssggggBBB!ssg*W&6WWWW..WWWW..WWWWWW|*gsspppppppyypppppppssgg",
"|WWWWWW..CCCC..W.kW6&W*gssgggggggggBBBgg*gggggssg*W.kWWWW.wWflW..WT3.3TG#gsspppppppyypppppppssgg",
"X.....L..CCCC..WDWWWWW*gss*gggg%%%%%%%%%%%ggggssg*WDWWWWW..aooa..D.....G#gssppppppppppppppppssgg",
"|WWWWWW..HttC..W.5TT5G*gssggggg%g*gJJJ#*g%ggggssg*G.5TT5W..-..a..W5TT5.G#gsspppppppyypppppppssgg",
"|WWWWWW..HttC..W.5TT5G*gssggggg%g*gJJJ#*g%ggggssg*G.5TT5W..-.Va..W5TT5.G#gsspppppppyypppppppssgg",
"GT3.3TW..CttH..D.....G*gssggggB%#JJJJJJJ#%Bgggssg*G.....D..aAaa..WWWWWD|#gsspppppppyypppppppssgg",
"G.....D..CCCC..WT8.8TG*gssg!ggB%JJJ*!*JJJ%Bgggssg*GT8.8TWi.......W&6Wk.|#gsspppppppyypppppppssgg",
"G5TT5.W..CKKC..WWWWWWW*gssggggB%gJJJJJJJ*%Bgg*ssg*WWWWWWW..CCCC..W.kW6&|#gssppppppppppppppppssgg",
Expand All @@ -39,9 +39,9 @@
"G.....D.......iW.kW6&W*gssssssssssssssssssssssssg*W.kW6&W..CCCC..WT3.3TG#gsspppppppyypppppppssgg",
"GT8.8TW..WWWW..WDWWWWW*gssssssssssssssssssssssssg*WDWWWWW..CCCC..D.....G#gsspppppppyypppppppssgg",
"|WWWWWW..WflW..W.5TT5G*gss!gggggggggggggggggg!ssg*G.5TT5W..COCt..W5TT5.G#gssppppppppppppppppssgg",
"GT3.3TW..ao.a..D.....G*gss#################qqqssg*G.....D..COCt..WWWWWD|#gsspppppppyypppppppssgg",
"GT3.3TW..aoVa..D.....G*gss#################qqqssg*G.....D..COCt..WWWWWD|#gsspppppppyypppppppssgg",
"G.....D..a.o-..WT8.8TG*gss*gЯWWGGGGGGGGGGWWq^QssgЯGT8.8TW..COCt..W&6Wk.|#gsspppppppyypppppppssgg",
"G5TT5.W..aAaa..WWWWWWWWW//WWWWf....i.....lWWWW//WWWWWWWWW..CCCC..W.kW6&|#gsspppppppyypppppppIsgg",
"G5TT5.W..aAaa..WWWWWWWWW//WWWWf....i....VlWWWW//WWWWWWWWW..CCCC..W.kW6&|#gsspppppppyypppppppIsgg",
"|WWWWDW........bbbi.ibbb.....A...o....o...A.....bbbi.ibbb..CttC..WDWWWW|#gssppppppppppppppppssgg",
"|&6Wk.W..CttH................aa-aaaaaaaaaaa................CCHC..W.5TT5G#gsspppppppyypppppppssgg",
"|.kW6&W..CHCC...............................................w....D.....G#gsspppppppyypppppppssgg",
Expand Down Expand Up @@ -128,6 +128,7 @@
"F": { "item": "SUS_office_filing_cabinet", "chance": 90, "repeat": [ 1, 2 ] },
"k": { "item": "SUS_toilet", "chance": 100, "repeat": [ 0, 1 ] },
"d": { "item": "SUS_office_desk", "chance": 25 },
"V": { "item": "gear_medical", "chance": 40, "repeat": [ 1, 2 ] },
"K": [
{ "item": "novels", "chance": 70, "repeat": [ 0, 1 ] },
{ "item": "literature", "chance": 70, "repeat": [ 1, 2 ] },
Expand Down Expand Up @@ -232,12 +233,12 @@
"|&6Wk.W..WWWW..WWWWWWWWW//WGGGGGGGGGGGGGGGGGGW//WWW..WWZZZZZv|spppppppppppppppppppppppppppppssgg",
"|.kW6&W..WflW..WT3.3TGЯgss####################ssgЯW..WWWWWW|||sPPPPpppppppppppppppppppppppppssgg",
"|DWWWWW..aooa..D.....G*gss!BBB!gggggg*ggg*BBB!ssg*W.......i|||ЯssssssssssssIppppppppppppppppIsgg",
"G.5TT5W..a..-..W5TT5.G*gssssssssssssssssssssssssg*Wi.......|||||||||||||**ssppppppppppppppppssgg",
"G.5TT5W..aV.-..W5TT5.G*gssssssssssssssssssssssssg*Wi.......|||||||||||||**ssppppppppppppppppssgg",
"G.....D..aAaa..WWWWWDW*gssssssssssssssssssssssssg*WWWWWWW........L.....Xsssspppppppyypppppppssgg",
"GT8.8TW.......iW&6Wk.W*gss!BBBgggggsssggggBBB!ssg*W&6WWWW..WWWW..WWWWWW|*gsspppppppyypppppppssgg",
"|WWWWWW..CCCC..W.kW6&W*gssgggggggggBBBgg*gggggssg*W.kWWWW.wWflW..WT3.3TG#gsspppppppyypppppppssgg",
"X.....L..CCCC..WDWWWWW*gss*gggg%%%%%%%%%%%ggggssg*WDWWWWW..aooa..D.....G#gssppppppppppppppppssgg",
"|WWWWWW..HttC..W.5TT5G*gssggggg%g*gJJJ#*g%ggggssg*G.5TT5W..-..a..W5TT5.G#gsspppppppyypppppppssgg",
"|WWWWWW..HttC..W.5TT5G*gssggggg%g*gJJJ#*g%ggggssg*G.5TT5W..-.Va..W5TT5.G#gsspppppppyypppppppssgg",
"GT3.3TW..CttH..D.....G*gssggggB%#JJJJJJJ#%Bgggssg*G.....D..aAaa..WWWWWD|#gsspppppppyypppppppssgg",
"G.....D..CCCC..WT8.8TG*gssg!ggB%JJJ*!*JJJ%Bgggssg*GT8.8TWi.......W&6Wk.|#gsspppppppyypppppppssgg",
"G5TT5.W..CKKC..WWWWWWW*gssggggB%gJJJJJJJ*%Bgg*ssg*WWWWWWW..CCCC..W.kW6&|#gssppppppppppppppppssgg",
Expand All @@ -249,9 +250,9 @@
"G.....D.......iW.kW6&W*gssssssssssssssssssssssssg*W.kW6&W..CCCC..WT3.3TG#gsspppppppyypppppppssgg",
"GT8.8TW..WWWW..WDWWWWW*gssssssssssssssssssssssssg*WDWWWWW..CCCC..D.....G#gsspppppppyypppppppssgg",
"|WWWWWW..WflW..W.5TT5G*gss!gggggggggggggggggg!ssg*G.5TT5W..COCt..W5TT5.G#gssppppppppppppppppssgg",
"GT3.3TW..ao.a..D.....G*gss#################qqqssg*G.....D..COCt..WWWWWD|#gsspppppppyypppppppssgg",
"GT3.3TW..aoVa..D.....G*gss#################qqqssg*G.....D..COCt..WWWWWD|#gsspppppppyypppppppssgg",
"G.....D..a.o-..WT8.8TG*gss*gЯWWGGGGGGGGGGWWq^QssgЯGT8.8TW..COCt..W&6Wk.|#gsspppppppyypppppppssgg",
"G5TT5.W..aAaa..WWWWWWWWW//WWWWf....i.....lWWWW//WWWWWWWWW..CCCC..W.kW6&|#gsspppppppyypppppppIsgg",
"G5TT5.W..aAaa..WWWWWWWWW//WWWWf....i....VlWWWW//WWWWWWWWW..CCCC..W.kW6&|#gsspppppppyypppppppIsgg",
"|WWWWDW........bbbi.ibbb.....A...o....o...A.....bbbi.ibbb..CttC..WDWWWW|#gssppppppppppppppppssgg",
"|&6Wk.W..CttH................aa-aaaaaaaaaaa................CCHC..W.5TT5G#gsspppppppyypppppppssgg",
"|.kW6&W..CHCC...............................................w....D.....G#gsspppppppyypppppppssgg",
Expand Down Expand Up @@ -344,6 +345,7 @@
"F": { "item": "SUS_office_filing_cabinet", "chance": 90, "repeat": [ 1, 2 ] },
"k": { "item": "SUS_toilet", "chance": 100, "repeat": [ 0, 1 ] },
"d": { "item": "SUS_office_desk", "chance": 25 },
"V": { "item": "gear_medical", "chance": 40, "repeat": [ 1, 2 ] },
"K": [
{ "item": "novels", "chance": 70, "repeat": [ 0, 1 ] },
{ "item": "literature", "chance": 70, "repeat": [ 1, 2 ] },
Expand Down
19 changes: 11 additions & 8 deletions data/json/mapgen/office_doctor.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
" w....bbbb....bbbb.w ",
" #................y# ",
" ##+##cc%##++####### ",
" #s.#d.h.y#..#Scc.y# ",
" #s.#d.h.y#..#Scc^y# ",
" #&.#d.......!....I# ",
" ##########..#.tt.I# ",
" #f.f#I.th#..#....I# ",
" #f.f#I^th#..#....I# ",
" #f.f#I...+..####### ",
" #f.f#IccS#..#HHllO# ",
" ##+#######..#H...O# ",
Expand All @@ -42,7 +42,8 @@
"c": { "item": "gear_medical", "chance": 60, "repeat": [ 2, 4 ] },
"e": { "item": "SUS_fridge_breakroom", "chance": 80 },
"t": { "item": "gear_medical", "chance": 60, "repeat": [ 2, 4 ] },
"f": { "item": "office_paper", "chance": 70, "repeat": [ 1, 3 ] }
"f": { "item": "office_paper", "chance": 70, "repeat": [ 1, 3 ] },
"^": { "item": "gear_medical", "chance": 60, "repeat": [ 1, 2 ] }
},
"place_items": [ { "item": "record_patient", "x": 7, "y": 6, "chance": 50 } ],
"place_loot": [ { "item": "anesthetic_kit", "x": 16, "y": [ 14, 17 ], "chance": 75, "ammo": 100 } ],
Expand Down Expand Up @@ -136,10 +137,10 @@
" #.y#..+........ht# ",
" #B.#..#9999#..#### ",
" #s.#..#%c%c#..#By# ",
" #..+..#....#..#.c# ",
" #^.+..#....#..#.c# ",
" #cc#..#h...#..+.c# ",
" ####..###+##..#### ",
" #$$#..co..h%..#By# ",
" #$$#..co^.h%..#By# ",
" #..!......hc..#.c# ",
" #$$#..%h...c..+.c# ",
" ####..ccc.cc..#### ",
Expand All @@ -153,6 +154,7 @@
" "
],
"palettes": [ "office_doctor" ],
"items": { "^": { "item": "gear_medical", "chance": 60, "repeat": [ 1, 2 ] } },
"place_loot": [
{ "group": "waitingroom", "x": 14, "y": 3, "chance": 70, "repeat": [ 1, 3 ] },
{ "group": "waitingroom", "x": 19, "y": 3, "chance": 70, "repeat": [ 1, 3 ] },
Expand Down Expand Up @@ -248,14 +250,14 @@
" #&...+............+.I# ",
" #r..S#............#.I# ",
" #######!########!##### ",
" #S.ol#...#lo.S#.....f# ",
" #S^ol#...#lo^S#.....f# ",
" #....!...!....#.hh..f# ",
" 0...t#...#t...#.ddd..0 ",
" #.W.B#...#B.W.#yrA..o# ",
" #######!############## ",
" #u!...........X....H# ",
" ####+###+####5#....H# ",
" #c..#....c###OOO.H# ",
" #c..#...^c###OOO.H# ",
" #S..'.?/..c######## ",
" #S..#.....c#4 ",
" ############ ",
Expand Down Expand Up @@ -296,7 +298,8 @@
{ "item": "drugs_rare", "chance": 60 },
{ "item": "surgery", "chance": 60 }
],
"?": { "item": "autodoc_supplies", "chance": 100 }
"?": { "item": "autodoc_supplies", "chance": 100 },
"^": { "item": "gear_medical", "chance": 60, "repeat": [ 1, 2 ] }
},
"place_loot": [
{ "group": "waitingroom", "x": 12, "y": 3, "chance": 70, "repeat": [ 1, 3 ] },
Expand Down
9 changes: 7 additions & 2 deletions data/json/mapgen/veterinarian.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"--|TccccccTy..#%.c|?R|--",
"--|...........#c.d|s.|--",
"--|.ccccccT...||+|||+|--",
"--|..........N|E.#...|--",
"--|..........N|E.#C..|--",
"--||+|||+|||..|E...T.|--",
"--|..|y....|..+....T.|--",
"--|s.|.ddd.|++|||i||||--",
Expand All @@ -40,6 +40,7 @@
",": "t_pavement_y",
"|": "t_wall_p",
".": "t_linoleum_gray",
"C": "t_linoleum_gray",
"l": "t_thconc_floor",
":": "t_door_glass_c",
";": "t_door_locked",
Expand Down Expand Up @@ -68,8 +69,12 @@
"s": "f_sink",
"y": "f_indoor_plant"
},
"vehicles": { "C": { "vehicle": "medical_cart", "chance": 100 } },
"toilets": { "t": { } },
"items": { "N": { "item": "missing_poster_animal", "chance": 50, "repeat": [ 1, 3 ] } },
"items": {
"N": { "item": "missing_poster_animal", "chance": 50, "repeat": [ 1, 3 ] },
"C": { "item": "gear_medical", "chance": 60, "repeat": [ 1, 2 ] }
},
"place_items": [
{ "item": "trash", "x": 10, "y": 19, "chance": 50, "repeat": [ 1, 3 ] },
{ "item": "vet_softdrug", "x": 17, "y": 10, "chance": 70, "repeat": [ 2, 5 ] },
Expand Down
4 changes: 3 additions & 1 deletion data/json/mapgen_palettes/hospital.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
":": "t_pavement_y",
"&": "t_floor",
".": "t_floor",
"a": "t_floor",
"b": "t_floor",
"c": "t_floor",
"d": "t_floor",
Expand Down Expand Up @@ -76,7 +77,8 @@
"N": "f_oxygen_concentrator",
"Y": "f_hd_compressor_unit"
},
"toilets": { "&": { } }
"toilets": { "&": { } },
"vehicles": { "a": { "vehicle": "medical_cart", "chance": 100, "rotation": 0 } }
},
{
"type": "palette",
Expand Down
8 changes: 6 additions & 2 deletions data/json/mapgen_palettes/nursing_home_palette.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"s": "t_sidewalk",
"t": "t_carpet_red",
"v": "t_ladder_down",
"V": "t_floor",
"W": "t_wall",
"X": "t_door_metal_pickable",
"y": "t_pavement_y",
Expand Down Expand Up @@ -89,7 +90,8 @@
"vehicles": {
"3": { "vehicle": "hospital_bed_small", "chance": 100, "rotation": 90 },
"8": { "vehicle": "hospital_bed_small", "chance": 100, "rotation": 270 },
"w": { "vehicle": "wheelchair", "chance": 100, "rotation": 90 }
"w": { "vehicle": "wheelchair", "chance": 100, "rotation": 90 },
"V": { "vehicle": "medical_cart", "chance": 100, "rotation": 0 }
}
},
{
Expand Down Expand Up @@ -126,6 +128,7 @@
"s": "t_sidewalk",
"t": "t_carpet_red",
"v": "t_ladder_down",
"V": "t_floor",
"W": "t_wall",
"X": "t_door_metal_pickable",
"y": "t_pavement_y",
Expand Down Expand Up @@ -187,7 +190,8 @@
"vehicles": {
"3": { "vehicle": "hospital_bed_small", "chance": 100, "rotation": 90 },
"8": { "vehicle": "hospital_bed_small", "chance": 100, "rotation": 270 },
"w": { "vehicle": "wheelchair", "chance": 100, "rotation": 90 }
"w": { "vehicle": "wheelchair", "chance": 100, "rotation": 90 },
"V": { "vehicle": "medical_cart", "chance": 100, "rotation": 0 }
}
},
{
Expand Down
4 changes: 3 additions & 1 deletion data/json/mapgen_palettes/office_doctor.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"O": "t_floor",
"S": "t_floor",
"T": "t_floor",
"^": "t_floor",
"X": "t_door_metal_locked",
"b": "t_floor",
"c": "t_floor",
Expand Down Expand Up @@ -70,6 +71,7 @@
"f": "f_filing_cabinet",
"y": [ "f_indoor_plant_y", "f_indoor_plant" ]
},
"toilets": { "&": { } }
"toilets": { "&": { } },
"vehicles": { "^": { "vehicle": "medical_cart", "chance": 100, "rotation": 0 } }
}
]
7 changes: 7 additions & 0 deletions data/json/requirements/vehicle.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,13 @@
"qualities": [ { "id": "WRENCH", "level": 2 }, { "id": "DRILL", "level": 2 } ],
"components": [ [ [ "nuts_bolts", 20 ] ] ]
},
{
"id": "vehicle_bolt_install_simple",
"type": "requirement",
"//": "for simple installs that only require tightening bolts",
"qualities": [ { "id": "WRENCH", "level": 1 } ],
"components": [ [ [ "nuts_bolts", 4 ] ] ]
},
{
"id": "vehicle_nail_removal",
"type": "requirement",
Expand Down
20 changes: 20 additions & 0 deletions data/json/vehicleparts/cargo.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,26 @@
"breaks_into": "ig_vp_cloth",
"variants": [ { "symbols": "o", "symbols_broken": "#" } ]
},
{
"type": "vehicle_part",
"id": "metal_tray",
"name": { "str": "metal tray" },
"categories": [ "cargo" ],
"broken_color": "dark_gray",
"damage_modifier": 60,
"durability": 75,
"size": "15 L",
"item": "sheet_metal",
"location": "center",
"requirements": {
"install": { "skills": [ [ "fabrication", 1 ] ], "time": "5 m", "using": [ [ "vehicle_bolt_install_simple", 1 ] ] },
"removal": { "skills": [ [ "fabrication", 1 ] ], "time": "5 m", "using": [ [ "vehicle_wrench_1", 1 ] ] },
"repair": { "skills": [ [ "fabrication", 2 ], [ "mechanics", 2 ] ], "time": "5 m", "using": [ [ "repair_welding_standard", 5 ] ] }
},
"flags": [ "CARGO", "BOARDABLE", "CARGO_PASSABLE", "FLAT_SURF" ],
"breaks_into": "ig_vp_sheet_metal",
"variants": [ { "symbols": "T", "symbols_broken": "#" } ]
},
{
"type": "vehicle_part",
"abstract": "basketlg_abstract",
Expand Down
7 changes: 7 additions & 0 deletions data/json/vehicles/carts.json
Original file line number Diff line number Diff line change
Expand Up @@ -357,5 +357,12 @@
"name": "small hospital bed",
"blueprint": [ [ "x" ] ],
"parts": [ { "x": 0, "y": 0, "parts": [ "xlframe#vertical_2", "wheel_10", "bed" ] } ]
},
{
"id": "medical_cart",
"type": "vehicle",
"name": "Medical Cart",
"blueprint": [ "#" ],
"parts": [ { "x": 0, "y": 0, "parts": [ "xlframe#vertical_2", "wheel_caster", "metal_tray" ] } ]
}
]

0 comments on commit 6a8d75a

Please sign in to comment.