8 [Serialize(
"", IsPropertySaveable.Yes, description:
"Tag of the entity or entities whose inventory the item should be highlighted in. Must be a character or an item with an inventory.")]
11 [Serialize(
"", IsPropertySaveable.Yes, description:
"Identifier of the item(s) to highlight.")]
14 [Serialize(-1, IsPropertySaveable.Yes, description:
"If the target is an item with multiple ItemContainer components (i.e. multiple inventories), such as a fabricator, this determines which inventory to highlight the item in (0 = first, 1 = second). If negative, it doesn't matter which inventory the item is in.")]
17 [Serialize(
false, IsPropertySaveable.Yes, description:
"If enabled, the action will go look through all the containers in the target inventory (e.g. highlighting a tank in a welding tool in the target inventory).")]
20 private bool isFinished;
24 public override void Update(
float deltaTime)
26 if (isFinished) {
return; }
31 partial
void UpdateProjSpecific();
33 public override bool IsFinished(ref
string goToLabel) => isFinished;
35 public override void Reset() => isFinished =
false;
Highlights specific items in a specific inventory.
override bool IsFinished(ref string goToLabel)
Identifier ItemIdentifier
InventoryHighlightAction(ScriptedEvent parentEvent, ContentXElement element)
override void Update(float deltaTime)