public override bool Test(Sim a, Kelp target, bool isAutonomous, ref GreyedOutTooltipCallback greyedOutTooltipCallback) { if (!OccultTypeHelper.HasType(a, OccultTypes.Mermaid)) { return(false); } return(base.Test(a, target, isAutonomous, ref greyedOutTooltipCallback)); }
private void Awake() { kelp = gameObject.GetComponentInChildren <Kelp>(); manager = GameObject.FindGameObjectWithTag("EnvironmentManager").GetComponent <EnvironmentManager>(); }
public override bool Test(Sim a, Kelp target, bool isAutonomous, ref GreyedOutTooltipCallback greyedOutTooltipCallback) { if (!OccultTypeHelper.HasType(a, OccultTypes.Mermaid)) return false; return base.Test(a, target, isAutonomous, ref greyedOutTooltipCallback); }
public override string GetInteractionName(Sim actor, Kelp target, InteractionObjectPair iop) { return(base.GetInteractionName(actor, target, new InteractionObjectPair(sOldSingleton, target))); }
public override string GetInteractionName(Sim actor, Kelp target, InteractionObjectPair iop) { return base.GetInteractionName(actor, target, new InteractionObjectPair(sOldSingleton, target)); }