Skip to content

Commit

Permalink
When picking up gardens, they have a chance of giving some crops as well
Browse files Browse the repository at this point in the history
  • Loading branch information
LovelySanta committed Feb 22, 2020
1 parent a02bc74 commit 5659651
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 6 deletions.
1 change: 1 addition & 0 deletions angelsbioprocessing/changelog.txt
Expand Up @@ -6,6 +6,7 @@ Date: ??
- Pastes requires 2 powder instead of 1 ore
- Changed the tech icon of Farming and Garden Mutations
- In marathon mode (expensive), you get the garden back when trying to obtain alien life samples
- When picking up gardens, they have a chance of giving some crops as well
Bugfixes:
- Fixed petri-dish requiring the wrong glass item (when playing with bob)
- Updated emission data, so it now shows in the ingame toolips (and activates)
Expand Down
30 changes: 24 additions & 6 deletions angelsbioprocessing/prototypes/buildings/gardens.lua
Expand Up @@ -19,8 +19,14 @@ data:extend(
{
mining_particle = "wooden-particle",
mining_time = 1,
result = "temperate-garden",
count = 1
results = {
{ name = "temperate-garden", amount = 1 },
{ name = "temperate-1", amount = 5, probability = 0.4 },
{ name = "temperate-2", amount = 5, probability = 0.3 },
{ name = "temperate-3", amount = 5, probability = 0.2 },
{ name = "temperate-4", amount = 5, probability = 0.1 },
{ name = "temperate-5", amount = 5, probability = 0.05 },
},
},
emissions_per_tick = -0.0001,
max_health = 20,
Expand Down Expand Up @@ -107,8 +113,14 @@ data:extend(
{
mining_particle = "wooden-particle",
mining_time = 1,
result = "desert-garden",
count = 1
results = {
{ name = "desert-garden", amount = 1 },
{ name = "desert-1", amount = 5, probability = 0.4 },
{ name = "desert-2", amount = 5, probability = 0.3 },
{ name = "desert-3", amount = 5, probability = 0.2 },
{ name = "desert-4", amount = 5, probability = 0.1 },
{ name = "desert-5", amount = 5, probability = 0.05 },
},
},
emissions_per_tick = -0.0001,
max_health = 20,
Expand Down Expand Up @@ -188,8 +200,14 @@ data:extend(
{
mining_particle = "wooden-particle",
mining_time = 1,
result = "swamp-garden",
count = 1
results = {
{ name = "swamp-garden", amount = 1 },
{ name = "swamp-1", amount = 5, probability = 0.4 },
{ name = "swamp-2", amount = 5, probability = 0.3 },
{ name = "swamp-3", amount = 5, probability = 0.2 },
{ name = "swamp-4", amount = 5, probability = 0.1 },
{ name = "swamp-5", amount = 5, probability = 0.05 },
},
},
emissions_per_tick = -0.0001,
max_health = 20,
Expand Down

0 comments on commit 5659651

Please sign in to comment.