Skip to content

Commit

Permalink
Add missing infos
Browse files Browse the repository at this point in the history
  • Loading branch information
AllRoundJonU committed Sep 14, 2024
1 parent 8e8a24c commit c1bd727
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
14 changes: 13 additions & 1 deletion pages/it-drugs/adjustments/plants.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ description: Now we can look at the configuration of the individual plants.


import { Callout } from '@components/Callout'
import ExternLink from '@components/ExternLink'
import Accordion from '@components/Accordion'
import AccordionGroup from '@components/AccordionGroup'

Expand Down Expand Up @@ -88,7 +89,7 @@ This value is then subtracted from or added to the z-coordinate of the plant.
label = 'Lemon Haze', -- Label for the plant
plantType = 'plant1', -- Choose plant types from (plant1, plant2, small_plant)
growthTime = false, -- Cutsom growth time in minutes false if you want to use the global growth time
onlyZone = false, -- Set to zone id if you want to plant this seed only in a specific zone
onlyZone = false, -- Set to true if you want to plant this seed only in specific zones
zones = {'weed_zone_one', 'weed_zone_two'}, -- Zones where the seed can be planted
products = { -- Item the plant is going to produce when harvested with the max amount
['weed_lemonhaze'] = {min = 1, max = 4},
Expand Down Expand Up @@ -131,6 +132,17 @@ The plant type is defined here; you can choose from any of the types defined in

---

```lua
onlyZone = false, -- Set to true if you want to plant this seed only in specific zones
zones = {'weed_zone_one', 'weed_zone_two'}, -- Zones where the seed can be planted
```
If `onlyZones` is **true**, the seed can only be planted in the specified `zones` in `zones`. The id of each previously created zone can be entered in the `zones` list
<ExternLink
href="https://docs.it-scripts.com/it-drugs/adjustments/zones"
/>

---

```lua
products = {
['weed_lemonhaze'] = {min = 1, max = 4},
Expand Down
5 changes: 0 additions & 5 deletions pages/it-drugs/adjustments/zones.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,6 @@ Here, it is possible to create zones that can have an effect on the growth speed
## Config.GlobalGrowTime
This variable defines the growth rate in minutes for the plants and is taken as the base value for all future modifications.

## Config.OnlyZones
<Callout type="warning">
**Deprecated:** From version **1.3.0** you can make this setting for each plant individually
</Callout>

To use the different zone settings, this variable must be set to true.
As long as it is set to false, any modification in the zones will not be used.

Expand Down

0 comments on commit c1bd727

Please sign in to comment.