Changes

Jump to navigation Jump to search
291 bytes added ,  17:36, 2 April 2022
→‎Context tags: expand info for generic data references to context tags
Line 278: Line 278:  
|}
 
|}
   −
Context tags have a variety of effects in-game:
+
Some game data also references context tags in a generic way. For example, you can add custom tags for an item to <samp>Data/ObjectContextTags</samp>, then reference them in the fish pond data. Specifically:
 +
 
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
! feature
+
! game data
 
! effects
 
! effects
 
|-
 
|-
| [[Fish Pond|fish ponds]]
+
| [[Modding:Fish Pond data|fish ponds]]
| Context tags determine what the fish will produce and other elements. See [[Modding:Fish Pond data#RequiredTags|Fish pond tags]] for more info.
+
| In <samp>Data/FishPondData</samp>, used to match fish that can be placed in the pond (see [[Modding:Fish Pond data#RequiredTags|<samp>RequiredTags</samp> in the fish pond data]]).
 
|-
 
|-
| [[Quests#List of Special Orders|special orders]]
+
| [[Modding:Special orders|special orders]]
| Contexts tags are used in special orders to determine what are the valid items for the quest objective(s).
+
| In <samp>Data/SpecialOrders</samp>, used to match items that meet the quest objectives (see [[Modding:Special orders#Context tags|<samp>AcceptedContextTags</samp> in the special order data]]).
 
|}
 
|}
  
translators
8,445

edits

Navigation menu