Modding:Fish ponds
← Index
This page explains how the game stores and parses Fish Pond data. This is an advanced guide for mod developers.
Format
The fish pond data in Data/FishPondData consists of a list of elements with these fields.
field | purpose | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Id | The unique string ID for this entry. | ||||||||||||
RequiredTags | The context tags for fish which should use this entry. A tag can be prefixed with ! to require that the fish not have that tag.
For example, The first matching entry based on the Precedence field is used. If no other entries match, Data/FishPondData has a default entry with the required tags | ||||||||||||
ProducedItems | The items that can be produced by the selected fish.
When a fish pond is ready to produce output (based on a hardcoded This consists of a list of models with these fields:
| ||||||||||||
PopulationGates | The rules which decide when the fish pond population can grow (up to a hardcoded limit of 10 fish), and the quests that must be completed to do so. If omitted, the population can grow to 10 fish with no quests.
This consists of a number → item IDs lookup, where:
For example, consider this population gate: "6": [ "422 2 3", "60 2", "749 2 3", "116" ]
This means that before the population grows to 6, the fish will randomly ask for one of these:
| ||||||||||||
MaxPopulation | (Optional) The maximum number of fish that can live in this pond, whether added manually or through population growth. This can't exceed the hardcoded maximum of 10. If omitted, defaults to the maximum based on PopulationGates. | ||||||||||||
Precedence | (Optional) The order in which this entry should be checked, where 0 is the default value used by most entries. Entries with the same precedence are checked in the order listed. Default 0. | ||||||||||||
SpawnTime | (Optional) The number of days needed to raise the population by one if there's enough room in the fish pond.
If omitted, the game chooses a value based on the base fish price: 1 day (0–30g), 2 days (31–80g), 3 days (81–120g), 4 days (121–250g), or 5 days (250g+). | ||||||||||||
WaterColor | (Optional) The color tint to apply to the water when this entry applies. If multiple are specified, the first matching entry is applied. If none match, the default water color is used.
This consists of a list of models with these fields:
|