Skip to content

Commit

Permalink
Add small lighthouse map
Browse files Browse the repository at this point in the history
  • Loading branch information
harakka committed Jun 9, 2024
1 parent 23e26e7 commit b1e866b
Show file tree
Hide file tree
Showing 11 changed files with 532 additions and 2 deletions.
18 changes: 18 additions & 0 deletions data/json/furniture_and_terrain/furniture-decorative.json
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,24 @@
]
}
},
{
"type": "furniture",
"id": "f_lighthouse_light",
"name": "lighthouse light",
"description": "Very high power, modern lighthouse LED light source with attached heatsinks.",
"symbol": "%",
"color": "light_gray",
"required_str": -1,
"move_cost_mod": -1,
"deconstruct": { "items": [ { "item": "lightstrip_inactive" }, { "item": "material_aluminium_ingot", "count": 4 } ] },
"bash": {
"str_min": 18,
"str_max": 80,
"sound": "clang!",
"sound_fail": "ting.",
"items": [ { "item": "material_aluminium_ingot", "count": [ 1, 4 ] }, { "item": "e_scrap", "count": [ 1, 4 ] } ]
}
},
{
"type": "furniture",
"id": "f_winter_wreath",
Expand Down
49 changes: 49 additions & 0 deletions data/json/furniture_and_terrain/terrain-doors.json
Original file line number Diff line number Diff line change
Expand Up @@ -1222,6 +1222,55 @@
"items": [ { "item": "glass_shard", "count": [ 42, 84 ] } ]
}
},
{
"type": "terrain",
"id": "t_door_lighthouse_lens_c",
"name": "closed lighthouse lens hinged section",
"description": "An intricate arrangement of glass, designed to focus light from within to be visible over long distances. This section of the lens is on hinges and can be opened for maintenance.",
"symbol": "+",
"looks_like": "t_door_glass_c",
"color": "light_cyan",
"move_cost": 0,
"connect_groups": "WALL",
"connects_to": "WALL",
"rotates_to": "INDOORFLOOR",
"flags": [ "TRANSPARENT", "DOOR", "NOITEM", "BLOCK_WIND" ],
"open": "t_door_lighthouse_lens_o",
"bash": {
"str_min": 6,
"str_max": 20,
"sound": "glass breaking!",
"sound_fail": "whack!",
"sound_vol": 16,
"sound_fail_vol": 10,
"ter_set": "t_null",
"items": [ { "item": "glass_shard", "count": [ 42, 84 ] }, { "item": "scrap", "count": [ 3, 6 ] } ]
}
},
{
"type": "terrain",
"id": "t_door_lighthouse_lens_o",
"name": "open lighthouse lens hinged section",
"description": "An intricate arrangement of glass, designed to focus light from within to be visible over long distances. This section of the lens is hinged and is currently open.",
"symbol": "'",
"looks_like": "t_door_glass_o",
"color": "light_cyan",
"move_cost": 2,
"connect_groups": "WALL",
"connects_to": "WALL",
"flags": [ "TRANSPARENT" ],
"close": "t_door_lighthouse_lens_c",
"bash": {
"str_min": 4,
"str_max": 20,
"sound": "glass breaking!",
"sound_fail": "whack!",
"sound_vol": 16,
"sound_fail_vol": 10,
"ter_set": "t_null",
"items": [ { "item": "glass_shard", "count": [ 42, 84 ] }, { "item": "scrap", "count": [ 3, 6 ] } ]
}
},
{
"type": "terrain",
"id": "t_door_c_peep",
Expand Down
14 changes: 14 additions & 0 deletions data/json/furniture_and_terrain/terrain-floors-indoor.json
Original file line number Diff line number Diff line change
Expand Up @@ -442,6 +442,20 @@
"flags": [ "TRANSPARENT", "INDOORS", "COLLAPSES", "SUPPORTS_ROOF", "FLAT", "ROAD" ],
"bash": { "ter_set": "t_null", "str_min": 75, "str_max": 400, "str_min_supported": 100, "bash_below": true }
},
{
"type": "terrain",
"id": "t_stone_masonry_floor",
"name": "stone masonry floor",
"description": "A floor of carefully cut and laid stones, joined with mortar.",
"symbol": ".",
"color": "light_gray",
"looks_like": "t_rock_floor",
"connect_groups": "ROCKFLOOR",
"connects_to": "ROCKFLOOR",
"move_cost": 2,
"flags": [ "TRANSPARENT", "FLAT", "ROAD" ],
"bash": { "ter_set": "t_null", "str_min": 75, "str_max": 400, "str_min_supported": 100, "bash_below": true }
},
{
"type": "terrain",
"id": "t_floor_warped",
Expand Down
12 changes: 12 additions & 0 deletions data/json/furniture_and_terrain/terrain-roofs.json
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,18 @@
"flags": [ "TRANSPARENT", "FLAT", "ROAD" ],
"bash": { "str_min": 200, "str_max": 500, "sound": "crash!", "sound_fail": "whump!", "ter_set": "t_hole", "bash_below": false }
},
{
"type": "terrain",
"id": "t_metal_roof_red",
"name": "red metal roof",
"description": "A sturdy section of metallic rooftop, painted red for visibility and weather resistance.",
"symbol": ".",
"looks_like": "t_metal_roof",
"color": "red",
"move_cost": 2,
"flags": [ "TRANSPARENT", "FLAT", "ROAD" ],
"bash": { "str_min": 200, "str_max": 500, "sound": "crash!", "sound_fail": "whump!", "ter_set": "t_null", "bash_below": false }
},
{
"type": "terrain",
"id": "t_log_sod_roof",
Expand Down
47 changes: 47 additions & 0 deletions data/json/furniture_and_terrain/terrain-walls.json
Original file line number Diff line number Diff line change
Expand Up @@ -1796,6 +1796,29 @@
"items": [ { "item": "rock", "count": [ 8, 18 ] } ]
}
},
{
"type": "terrain",
"id": "t_stone_masonry_wall_whitewashed",
"name": "whitewashed stone masonry wall",
"looks_like": "t_rock_wall",
"description": "A wall of carefully cut and laid stones, joined with mortar. The exterior has been finished with plaster and whitewashed.",
"symbol": "LINE_OXOX",
"color": "light_gray",
"move_cost": 0,
"coverage": 100,
"roof": "t_rock_roof",
"connect_groups": "WALL",
"connects_to": "WALL",
"flags": [ "NOITEM", "SUPPORTS_ROOF", "WALL", "NO_SCENT", "AUTO_WALL_SYMBOL", "MINEABLE", "BLOCK_WIND" ],
"bash": {
"str_min": 80,
"str_max": 300,
"sound": "crash!",
"sound_fail": "whump!",
"ter_set": "t_null",
"items": [ { "item": "rock", "count": [ 8, 18 ] } ]
}
},
{
"type": "terrain",
"id": "t_rock_wall_half",
Expand Down Expand Up @@ -2771,6 +2794,30 @@
"no_laser_destroy": true
}
},
{
"type": "terrain",
"id": "t_wall_lighthouse_lens",
"name": "lighthouse lens",
"looks_like": "t_wall_glass",
"description": "An intricate arrangement of glass, designed to focus light from within to be visible over long distances.",
"symbol": "LINE_OXOX",
"color": "light_cyan",
"move_cost": 0,
"connect_groups": "WALL",
"connects_to": "WALL",
"flags": [ "TRANSPARENT", "NOITEM", "WALL", "NO_SCENT", "AUTO_WALL_SYMBOL", "BLOCK_WIND" ],
"rotates_to": "INDOORFLOOR",
"bash": {
"str_min": 4,
"str_max": 20,
"sound": "glass breaking!",
"sound_fail": "whack!",
"sound_vol": 16,
"sound_fail_vol": 10,
"ter_set": "t_null",
"items": [ { "item": "glass_shard", "count": [ 42, 84 ] }, { "item": "scrap", "count": [ 3, 6 ] } ]
}
},
{
"type": "terrain",
"id": "t_bars",
Expand Down
Loading

0 comments on commit b1e866b

Please sign in to comment.