Skip to content

Commit

Permalink
Adds multiple flooring options. (#30832)
Browse files Browse the repository at this point in the history
* Adds multiple flooring options.

First part of floors PR.

* Makes the floor.

Makes an unroofed wooden floor.

* Removed depth requirement.

Woodchips don't need depth now.

* Update construction.json

* Syntax errors

* Fix several ids
  • Loading branch information
kevingranade authored May 31, 2019
2 parents af63d27 + a1c7ddb commit 07cbc77
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 0 deletions.
33 changes: 33 additions & 0 deletions data/json/construction.json
Original file line number Diff line number Diff line change
Expand Up @@ -819,6 +819,39 @@
"pre_terrain": "t_pit_shallow",
"post_terrain": "t_concrete"
},
{
"type": "construction",
"description": "Fill Pit With Dirt",
"//": "Fills a deep pit with dirt.",
"category": "CONSTRUCT",
"required_skills": [ [ "fabrication", 0 ] ],
"time": 40,
"qualities": [ [ { "id": "DIG", "level": 1 } ] ],
"components": [ [ [ "material_soil", 200 ] ] ],
"pre_terrain": "t_pit",
"post_terrain": "t_dirt"
},
{
"type": "construction",
"description": "Make Woodchip Floor",
"//": "Adds wood chippings to a shallowed dirt area to prevent plants growing, or for looks.",
"category": "CONSTRUCT",
"required_skills": [ [ "fabrication", 0 ] ],
"time": 40,
"components": [ [ [ "splinter", 50 ] ] ],
"post_terrain": "t_woodchips"
},
{
"type": "construction",
"description": "Build Wooden Floor",
"//": "Makes an outside wooden paving, similar to what would be used in patios.",
"category": "CONSTRUCT",
"required_skills": [ [ "fabrication", 1 ] ],
"time": 100,
"qualities": [ [ { "id": "HAMMER", "level": 2 } ] ],
"components": [ [ [ "2x4", 14 ] ], [ [ "nail", 28 ] ] ],
"post_terrain": "t_floor_noroof"
},
{
"type": "construction",
"description": "Build Simple Concrete Wall",
Expand Down
18 changes: 18 additions & 0 deletions data/json/terrain.json
Original file line number Diff line number Diff line change
Expand Up @@ -748,6 +748,24 @@
"items": [ { "item": "splinter", "count": [ 2, 8 ] }, { "item": "nail", "charges": [ 5, 10 ] } ]
}
},
{
"type": "terrain",
"id": "t_floor_noroof",
"name": "wooden floor",
"description": "Wooden floor created from boards, packed tightly together and nailed down. Common in patios.",
"symbol": ".",
"color": "brown",
"move_cost": 2,
"flags": [ "TRANSPARENT", "FLAMMABLE_HARD", "FLAT", "ROAD" ],
"bash": {
"sound": "SMASH!",
"ter_set": "t_null",
"str_min": 50,
"str_max": 400,
"str_min_supported": 100,
"items": [ { "item": "splinter", "count": [ 2, 8 ] }, { "item": "nail", "charges": [ 5, 10 ] } ]
}
},
{
"type": "terrain",
"id": "t_floor_primitive",
Expand Down

0 comments on commit 07cbc77

Please sign in to comment.