# Producers

Producers adds passive resource production through buildable structures that generate resources over time.

## Passive Production System

Each structure operates automatically once it has been properly placed and supplied with the required consumable items.  
Production is processed over time, allowing players to obtain useful resources passively during normal gameplay.

With this system, Producers provides:

- Passive resource generation
- Configurable production speed and output
- Support for different production requirements for each structure
- A more practical and immersive survival experience

## Production Structures

### BeeHive

The BeeHive consumes a configured input and produces honey over time.

- Requires a valid input inside the container
- Produces honey automatically

### BirdHouse

The BirdHouse consumes a configured input and produces feathers over time.

- Requires a valid input inside the container
- Produces feathers automatically

### FishTrap

The FishTrap can be placed in any biome, but it will only produce fish when supplied with bait compatible with that biome.

- Must be placed in valid shallow water
- Can be placed in any biome
- Fish production depends on biome-compatible bait

All production structures can be found under the **Crafting** category in the hammer build menu.

## FishTrap Compatibility by Biome

| Biome        | Supported Baits                                      | Possible Fish                       |
|--------------|------------------------------------------------------|-------------------------------------|
| Meadows      | Fishing bait, Cold fishing bait                      | Perch, Pike                         |
| Black Forest | Fishing bait, Cold fishing bait, Mossy fishing bait  | Perch, Pike, Trollfish              |
| Swamp        | Fishing bait, Cold fishing bait, Sticky fishing bait | Pike, Giant herring                 |
| Ocean        | Heavy fishing bait, Misty fishing bait               | Tuna, Coral cod, Pufferfish         |
| Mountain     | Cold fishing bait                                    | Tetra                               |
| Plains       | Stingy fishing bait, Heavy fishing bait              | Grouper, Coral cod                  |
| Mistlands    | Misty fishing bait, Frosty fishing bait              | Anglerfish, Northern salmon         |
| Ashlands     | Hot fishing bait, Frosty fishing bait, Misty fishing bait | Magmafish, Northern salmon, Pufferfish |
| Deep North   | Frosty fishing bait, Misty fishing bait              | Northern salmon, Pufferfish         |

## Features

- **Fully Configurable**  
  All production values can be configured individually, including production time, input consumption, output amount, and storage limits.

- **Server Synchronization**  
  All main settings are synchronized by the server, ensuring consistent behavior for all players.

- **Vanilla Control Options**  
  Includes optional settings to disable vanilla beehive crafting and remove fishing items from Haldor.

- **Passive Offline Production**  
  Structures continue producing and accumulating resources for up to 5 hours while no players are nearby.

- **Passive Resource Expansion**  
  Adds a simple and immersive way to obtain honey, feathers, and fish without constant manual farming.

## Included Structures

| Structure | Prefab | Recipe | Required Resource | Produced Resource |
|-----------|--------|--------|-------------------|-------------------|
| BeeHive   | `RDP_beehive` | Queen Bee x3<br>Wood x25 | Configured input | Honey |
| BirdHouse | `RDP_birdhouse` | Wood x10<br>Bronze Nails x5 | Configured input | Feathers |
| FishTrap  | `RDP_fishtrap` | Round Log x20<br>Resin x20<br>Bronze Nails x10 | Valid bait | Fish |

## Translation Support

Producers supports custom translations through an external YAML file.  
A sample YAML file is included in the mod package as a template for creating additional language translations.

## Installation (manual)

- Place **Producers.dll** inside your `BepInEx\plugins\` folder.

<a href="https://www.paypal.com/donate/?hosted_button_id=CH6HA5B7CD3Y2" target="_blank" rel="noopener noreferrer">
  <img src="https://i.ibb.co/84bSC13P/Paypal-Button.png" alt="Donate with PayPal">
</a>