Skip to content

Commit

Permalink
obsolete makeshift_solar_farm (#78969)
Browse files Browse the repository at this point in the history
* obsolete makeshift_solar_farm

* Update data/json/mapgen/godco/nested.json

Co-authored-by: Procyonae <45432782+Procyonae@users.noreply.github.com>

---------

Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
Co-authored-by: Procyonae <45432782+Procyonae@users.noreply.github.com>
  • Loading branch information
3 people authored Jan 6, 2025
1 parent 7bed475 commit bf9445f
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 16 deletions.
2 changes: 1 addition & 1 deletion data/json/mapgen/godco/nested.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"object": {
"mapgensize": [ 1, 1 ],
"faction_owner": [ { "id": "gods_community", "x": [ 1, 1 ], "y": [ 1, 1 ] } ],
"place_vehicles": [ { "vehicle": "makeshift_solar_farm", "x": 1, "y": 1, "chance": 100, "status": 0 } ]
"place_furniture": [ { "furn": "f_solar_unit", "x": 0, "y": 0 } ]
}
},
{
Expand Down
19 changes: 17 additions & 2 deletions data/json/npcs/godco/godco_missions.json
Original file line number Diff line number Diff line change
Expand Up @@ -777,10 +777,17 @@
"type": "mission_definition",
"name": { "str": "Renewable Energy" },
"description": "Find a solar panel for Corrie.",
"goal": "MGOAL_FIND_ITEM",
"goal": "MGOAL_CONDITION",
"goal_condition": {
"u_has_items_sum": [
{ "item": "ground_solar_panel", "amount": 1 },
{ "item": "ground_solar_panel_v2", "amount": 1 },
{ "item": "solar_panel", "amount": 4 },
{ "item": "solar_panel_v2", "amount": 4 }
]
},
"difficulty": 1,
"value": 0,
"item": "solar_panel",
"count": 1,
"origins": [ "ORIGIN_SECONDARY" ],
"has_generic_rewards": false,
Expand All @@ -797,6 +804,14 @@
},
"end": {
"effect": [
{
"u_consume_item_sum": [
{ "item": "ground_solar_panel", "amount": 1 },
{ "item": "ground_solar_panel_v2", "amount": 1 },
{ "item": "solar_panel", "amount": 4 },
{ "item": "solar_panel_v2", "amount": 4 }
]
},
{ "u_add_var": "mission_completed_godco_corrie_machine", "value": "in-progress" },
{ "mapgen_update": "place_solar_farm", "om_terrain": "godco_1" }
],
Expand Down
13 changes: 0 additions & 13 deletions data/json/vehicles/utility.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,19 +109,6 @@
{ "x": 1, "y": 0, "chance": 20, "item_groups": [ "fuel_diesel" ] }
]
},
{
"id": "makeshift_solar_farm",
"type": "vehicle",
"name": "Makeshift Solar Farm",
"blueprint": [ [ "o" ] ],
"parts": [
{
"x": 0,
"y": 0,
"parts": [ "frame_wood#cross", "wood box", "battery_charger", "dashboard", "battery_car", "solar_panel" ]
}
]
},
{
"id": "road_roller",
"type": "vehicle",
Expand Down

0 comments on commit bf9445f

Please sign in to comment.