Ejemplo n.º 1
0
        public Damage(TruckSimulatorPlugin truckSimulatorPlugin)
        {
            Base = truckSimulatorPlugin;

            Base.AddProp("Damage.WearWarning", false);
            Base.AddProp("Damage.WearAverage", 0);

            Base.AddEvent("DamageIncrease");
        }
Ejemplo n.º 2
0
        public JobStatus(TruckSimulatorPlugin truckSimulatorPlugin)
        {
            Base = truckSimulatorPlugin;

            Base.AddProp("Job.Status", "");
            Base.AddProp("Job.InProgress", false);

            Base.AddAction("JobStatusReset", (a, b) => { JobStatusReset(); });

            Base.AddEvent("JobTaken");
            Base.AddEvent("JobLoading");
            Base.AddEvent("JobOngoing");
            Base.AddEvent("JobCompleted");
            Base.AddEvent("JobAbandoned");
            Base.AddEvent("JobReset");
        }