Skip to content

Commit

Permalink
Add lighthouse basecamp (#49336)
Browse files Browse the repository at this point in the history
  • Loading branch information
krulunio authored and ZhilkinSerg committed Jul 3, 2021
1 parent e5fa0b0 commit df0439f
Show file tree
Hide file tree
Showing 6 changed files with 67 additions and 2 deletions.
3 changes: 2 additions & 1 deletion data/json/furniture_and_terrain/furniture-plumbing.json
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@
{ "item": "plastic_chunk", "count": [ 0, 2 ] },
{ "item": "cu_pipe", "count": [ 1, 3 ] }
]
}
},
"crafting_pseudo_item": "fake_water_purifier"
}
]
6 changes: 6 additions & 0 deletions data/json/items/fake.json
Original file line number Diff line number Diff line change
Expand Up @@ -252,5 +252,11 @@
"type": "TOOL",
"copy-from": "fake_power_tool",
"name": { "str": "oven" }
},
{
"id": "fake_water_purifier",
"type": "TOOL",
"copy-from": "fake_power_tool",
"name": { "str": "stationary water purifier" }
}
]
14 changes: 14 additions & 0 deletions data/json/mapgen/basecamps/fbmc_lighthouse/fbmc_lighthouse.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[
{
"type": "mapgen",
"update_mapgen_id": "fbmc_lighthouse_0",
"method": "json",
"object": { "set": [ { "point": "furniture", "id": "f_bulletin", "x": 10, "y": 8 } ] }
},
{
"type": "mapgen",
"update_mapgen_id": "fbmc_lighthouse_root_cellar",
"method": "json",
"object": { "set": [ { "point": "terrain", "id": "t_rootcellar", "x": 9, "y": 15 } ] }
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
[
{
"type": "recipe",
"result": "faction_base_lighthouse_0",
"description": "We should survey the base site and set up a bulletin board.",
"category": "CC_BUILDING",
"subcategory": "CSC_BUILDING_BASES",
"skill_used": "fabrication",
"autolearn": false,
"never_learn": true,
"time": "1 h",
"construction_blueprint": "fbmc_lighthouse_0",
"blueprint_provides": [
{ "id": "tool_storage" },
{ "id": "sorting" },
{ "id": "kitchen" },
{ "id": "kitchen_recipes_1" },
{ "id": "kitchen_recipes_2" },
{ "id": "kitchen_recipes_3" },
{ "id": "saltworks_recipes_1" },
{ "id": "fishing_recipes" },
{ "id": "fbmc_lighthouse_0" }
],
"blueprint_resources": [ "fake_stove", "fake_water_purifier", "fake_oven" ],
"blueprint_requires": [ { "id": "not_an_upgrade" } ],
"blueprint_name": "basic survey",
"check_blueprint_needs": false
},
{
"type": "recipe",
"result": "faction_base_lighthouse_root_cellar",
"description": "Digging a root cellar will help us preserving fish and other food.",
"category": "CC_BUILDING",
"subcategory": "CSC_BUILDING_BASES",
"autolearn": false,
"never_learn": true,
"construction_blueprint": "fbmc_lighthouse_root_cellar",
"blueprint_name": "root cellar",
"blueprint_provides": [ { "id": "fbmc_lighthouse_root_cellar" }, { "id": "pantry" } ],
"blueprint_requires": [ { "id": "fbmc_lighthouse_0" } ],
"blueprint_excludes": [ { "id": "fbmc_lighthouse_root_cellar" } ]
}
]
1 change: 1 addition & 0 deletions data/json/recipes/basecamps/recipe_groups.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"description": "Central Stairs Evac Shelter Base",
"om_terrains": [ "shelter_2", "shelter_2_vandal" ]
},
{ "id": "faction_base_lighthouse_0", "description": "Lighthouse Base", "om_terrains": [ "lighthouse_ground" ] },
{
"id": "faction_base_pottery_cottage_0",
"description": "Pottery Cottage Camp",
Expand Down
2 changes: 1 addition & 1 deletion data/json/recipes/recipe_food.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"skill_used": "cooking",
"time": "9 s",
"autolearn": true,
"tools": [ [ [ "water_purifier", 1 ], [ "pur_tablets", 1 ], [ "char_purifier", 1 ] ] ],
"tools": [ [ [ "water_purifier", 1 ], [ "fake_water_purifier", 1 ], [ "pur_tablets", 1 ], [ "char_purifier", 1 ] ] ],
"components": [ [ [ "water", 1 ] ] ]
},
{
Expand Down

0 comments on commit df0439f

Please sign in to comment.