Skip to content

Commit

Permalink
Traffic Bollards and an example of deployment (#48017)
Browse files Browse the repository at this point in the history
  • Loading branch information
Maleclypse authored and ZhilkinSerg committed Mar 31, 2021
1 parent 1918f35 commit bcd41b1
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 13 deletions.
20 changes: 20 additions & 0 deletions data/json/furniture_and_terrain/terrain-walls.json
Original file line number Diff line number Diff line change
Expand Up @@ -1352,6 +1352,26 @@
"items": [ { "item": "rock", "count": [ 10, 22 ] } ]
}
},
{
"type": "terrain",
"id": "t_bollard",
"name": "bollard",
"looks_like": "t_fence_post",
"description": "A set of concrete and steel bollards designed to harden areas against vehicle ram attacks. It requires a few more steps to walk in between the bollards sticking up out of the ground.",
"symbol": "1",
"color": "light_gray",
"move_cost": 6,
"coverage": 20,
"flags": [ "WALL", "PERMEABLE" ],
"bash": {
"str_min": 350,
"str_max": 650,
"sound": "crash!",
"sound_fail": "whump!",
"ter_set": "t_sidewalk",
"items": [ { "item": "rock", "count": [ 6, 13 ] }, { "item": "steel_chunk", "count": [ 1, 3 ] } ]
}
},
{
"type": "terrain",
"id": "t_support_l",
Expand Down
2 changes: 1 addition & 1 deletion data/json/mapgen/sub_station.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"fill_ter": "t_thconc_floor",
"rows": [
"SSSSSSSSSSSSSSSSSSSSSSSS",
"SSSSSSSSSSSSSSSSSSSSSSSS",
"SSSttttttttttttttttttSSS",
"SS||-;;-||-;;-||-;;-||SS",
"SS| | | |SS",
"SS| |SS",
Expand Down
1 change: 1 addition & 0 deletions data/json/mapgen_palettes/subway.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"-": "t_wall_glass",
";": "t_door_glass_c",
"S": "t_sidewalk",
"t": "t_bollard",
"*": "t_region_shrub_decorative",
">": "t_stairs_down",
"<": "t_stairs_up",
Expand Down
25 changes: 13 additions & 12 deletions data/mods/Magiclysm/worldgen/forge_of_wonders.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,25 +23,25 @@
"rows": [
" T 2 ++++++ 2 ",
" T +++++++ Y ",
" Y ++++++++ T ",
" Y 55555555 T ",
" +++++++ ",
" ########||||#########################||&&&&&&&||###############||||##############||||############### ",
" #..................................##...........##............................4............4.......# ",
" #..4.@.@...........................##...........##..................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.# ",
" #...fffff.................2........##...........##..................X$$$$$$$$$$$$$$$$$$$$$$$$$$$$X.# ",
" #...fffff..........................##...........##..................#$$$$$$$$$$$$$$$$$$$$$$$$$$$$X.# ",
" #....@.@.........................................................XXX#$$$$$$$$$$$$$$$$$$$$$$$$$$$$X.| ",
" #........................................44......................X94#$$$$$$$$$$$$$$$$$$$$$$$$$$$$X.| ",
" #............4...........................44......................X89#$$$$$$$$$$$$$$$$$$$$$$$$$$$$X.| ",
" #................................................................X94#$$$$$$$$$$$$$$$$$$$$$$$$$$$$X.| ",
" #...........@.@..................................................XXX#$$$$$$$$$$$$$$$$$$$$$$$$$$$$X.| ",
" #.........zZZZZZ....................................................#$$$$$$$$$$$$$$$$$$$$$$$$$$$$X.# ",
" #..4.@.@...........................##...........##............5.....XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.# ",
" #...fffff.................2........##...........##.............5....X$$$$$$$$$$$$$$$$$$$$$$$$$$$$X.# ",
" #...fffff..........................##...........##............5.....#$$$$$$$$$$$$$$$$$$$$$$$$$$$$X.# ",
" #....@.@.......................................................5.XXX#$$$$$$$$$$$$$$$$$$$$$$$$$$$$X.| ",
" #........................................44...................5..X94#$$$$$$$$$$$$$$$$$$$$$$$$$$$$X.| ",
" #............4...........................44....................5.X89#$$$$$$$$$$$$$$$$$$$$$$$$$$$$X.| ",
" #.............................................................5..X94#$$$$$$$$$$$$$$$$$$$$$$$$$$$$X.| ",
" #...........@.@................................................5.XXX#$$$$$$$$$$$$$$$$$$$$$$$$$$$$X.| ",
" #.........zZZZZZ..............................................5.....#$$$$$$$$$$$$$$$$$$$$$$$$$$$$X.# ",
" #..........ZZZZZz...................................##...........##.X$$$$$$$$$$$$$$$$$$$$$$$$$$$$X.# ",
" |...........@[email protected]....##...........##.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.# ",
" |...................................................##...........##.....4...............4..........# ",
" |...................................#####|||##########||&&&&&&&||##################|||############## ",
" |...................................# +++++++ ",
" |...................................# ++++++++ 2 ",
" |...................................# 55555555 2 ",
" #...................................# 2 +++++++ ",
" #.......................4...........# ++++++++ 2 ",
" #...................................# ++++++++ Y ",
Expand Down Expand Up @@ -113,7 +113,8 @@
"9": "t_vault_vent",
"2": "t_strconc_floor",
"4": "t_thconc_floor_echandelier",
"+": "t_railroad_rubble"
"+": "t_railroad_rubble",
"5": "t_bollard"
},
"furniture": {
"h": "f_demon_forge",
Expand Down

0 comments on commit bcd41b1

Please sign in to comment.