Table of Contents

Class EnsureDealSignalSpec

Namespace
S1API.Entities.Schedule
Assembly
S1API.dll

Specifies an action that ensures a customer deal signal exists under the NPC's schedule.

public sealed class EnsureDealSignalSpec : IScheduleActionSpec
Inheritance
EnsureDealSignalSpec
Implements
Inherited Members
Extension Methods

Remarks

This action ensures that a ScheduleOne.NPCs.Schedules.NPCSignal_WaitForDelivery component exists on the NPC's schedule manager. This signal is required for customer NPCs to properly handle deal interactions and handovers with the player.

The deal signal allows the NPC to wait for deliveries and toggle customer handover states. If the signal doesn't exist, it will be created and properly initialized with network components and wired to the customer component.

Constructors

EnsureDealSignalSpec()

public EnsureDealSignalSpec()