-
Notifications
You must be signed in to change notification settings - Fork 2
/
LeafMethods.txt
167 lines (166 loc) · 7.65 KB
/
LeafMethods.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
-- CONDITIONS --
Boolean IsToolActive(ToolId inToolId)
Boolean TaggingHasStarted(StringHash32 inCritterId)
Boolean TaggingHasFinished(StringHash32 inCritterId)
Boolean ExperimentHasCritter(StringHash32 inCritterId)
Boolean ExperimentHasEnv(StringHash32 inEnvId)
StringHash32 ExperimentType()
Boolean ExperimentViewed(TankType inType)
Boolean ExperimentIsRunning(TankType inTankType = Unknown)
Boolean ArgueIsComplete(StringHash32 id = null)
Boolean ArgueComplete()
StringHash32 ArgueClaim()
Boolean ArgueSetClaim(StringHash32 id, StringHash32 label)
Boolean ArgueSubmitFact(StringHash32 id = null)
Boolean ArgueRejectFact(StringHash32 id = null)
Boolean ArgueRejectIncorrect()
Boolean ArgueClearFacts()
Boolean ArgueIsFactSubmitted(StringHash32 id)
Boolean ArgueAllFactsCorrect()
Boolean ArgueCancelClaim()
Boolean Chance(LeafEvalContext inContext, Single inFraction)
Variant Lookup(StringHash32 assetId, StringHash32 propertyId)
Boolean ScriptBlocking()
Boolean ScriptBlockingIgnoreLetterbox()
Boolean IsPlayerOnShip()
Boolean IsPlayerOnStation()
Boolean PlayerInRegion(StringHash32 inId)
Boolean IsDestroyed()
StringHash32 GroupOf(ScriptObject scriptObj)
Boolean IsGroup(ScriptObject scriptObj, StringHash32 targetId)
Int32 GroupCount(StringHash32 targetId)
StringHash32 LastPawnNode(ScriptObject obj)
Boolean PawnAtNode(ScriptObject pawnGO, StringHash32 nodeId)
Boolean HasEntity(StringHash32 inEntityId)
Int32 OrganismEntityCount()
Int32 EcosystemEntityCount()
Boolean HasFact(StringHash32 inFactId)
Boolean IsFactFullyUpgraded(StringHash32 inFactId)
Boolean IsFactGraphed(StringHash32 inMapId, StringHash32 inFactId)
Boolean IsEntityGraphed(StringHash32 inMapId, StringHash32 inEntityId)
Boolean HasItem(StringHash32 inItemId)
Int32 ItemCount(StringHash32 inItemId)
Boolean HasItemCount(StringHash32 inItemId, Int32 inCount)
Boolean CanAffordItem(StringHash32 inItemId)
Boolean TakeItem(StringHash32 inItemId, Int32 inCount = 1)
Boolean HasUpgrade(StringHash32 inUpgradeId)
Boolean HasScanned(StringHash32 inNodeId)
Boolean HasJournalEntry(StringHash32 inEntryId)
Boolean JobStartedOrComplete(StringHash32 inId)
Boolean JobInProgress(StringHash32 inId)
Boolean JobCompleted(StringHash32 inId)
Boolean JobAvailable(StringHash32 inId)
Boolean JobTaskActive(StringHash32 inId)
Boolean JobTaskCompleted(StringHash32 inId)
Boolean JobTaskTop(StringHash32 inId)
Int32 AnyJobsAvailable(StringHash32 inStationId = null)
Int32 AnyJobsInProgress(StringHash32 inStationId = null)
Int32 AnyJobsCompleted()
Boolean UpgradeUnlocksJobAtStation(StringHash32 inUpgradeId = null, StringHash32 inStationId = null)
Boolean UnlockJob(StringHash32 inJobId)
Boolean SetJob(StringHash32 inJobId)
Boolean CompleteJob(StringHash32 inJobId = null)
Boolean JobIsAtCurrentStation(StringHash32 inJobId = null)
Boolean StationUnlocked(StringHash32 inStationId)
Boolean UnlockStation(StringHash32 inStationId)
Boolean LockStation(StringHash32 inStationId)
Boolean SiteUnlocked(StringHash32 inSiteId)
Boolean UnlockSite(StringHash32 inSiteId)
Boolean LockSite(StringHash32 inSiteId)
Boolean RoomUnlocked(StringHash32 inRoomId)
Boolean UnlockRoom(StringHash32 inRoomId)
Boolean LockRoom(StringHash32 inRoomId)
Boolean LocationVisited(StringHash32 inLocationId)
Boolean Seen(StringHash32 inNodeId)
Boolean Random(StringSlice inData)
-- ACTIONS --
[AutoFactGiver] Void Suppress()
[PlayerROV] Void SetTool(ToolId inToolId)
[PlayerROV] Void ToggleToolOn(ToolId inToolId)
Void SetScanId(ScriptObject inObject, StringHash32 inScanId)
Void InteriorOpenJobBoard(ScriptObject inCameraPose = null)
Void InteriorOpenShopBoard()
IEnumerator ShopPlayPurchaseAnimation()
Void ModelingSetPhase(ModelPhases phase)
Void ArgueLoad(ScriptThreadHandle threadHandle, StringHash32 id)
Void ArgueUnload()
Void ArgueFactSlot(StringHash32 id)
Void ArgueDisplayClaim()
Void ArgueHideClaim()
IEnumerator Wait(Single inSeconds)
IEnumerator WaitAbs(Single inSeconds)
[ScriptObject] Void Activate()
[ScriptObject] Void Deactivate()
[ScriptObject] Void ToggleActive()
Void CancelInteract()
Void StopSkippingCutscene()
Void StopSkipping(ScriptThread inThread)
Void CheckJobTasks()
IEnumerator LoadScene(String inSceneName, StringHash32 inEntrance = null, String inLoadingMode = null)
IEnumerator ShowPopup(ScriptThread inThread, StringHash32 inHeader, StringHash32 inDescription)
[FocusHighlight] Void Focus(StringSlice inObjectId, Single inWidth = 0, Single inHeight = 0, Single inAlpha = 0.6)
[FocusHighlight] Void Clear(Boolean inbInstant = False)
[UnlockableUI] Void SetLocked(Boolean locked)
[UnlockableUI] Void Lock()
[UnlockableUI] Void Unlock()
[CharacterBody] Void TeleportTo(StringHash32 inObjectId)
[SceneInteractable] Void Lock()
[SceneInteractable] Void Unlock()
Void CameraSnapToTarget()
IEnumerator CameraRecenterOnTarget(Single inDuration, Curve inCurve = Smooth)
Void CameraSetMode(CameraMode inMode)
Void CameraPushTarget(ScriptObject inObject, Single inLerp = 3, Single inZoom = 1)
Void CameraPopTarget()
IEnumerator CameraMoveToPose(ScriptObject inPose, Single inDuration, Curve inCurve = Smooth)
Void CameraSnapToPose(ScriptObject inPose)
Void OpenPortableToApp(PortableAppId inId)
Void ClosePortable()
Void OpenPortableToEntity(StringHash32 inEntityId)
Void OpenPortableToFact(StringHash32 inFactId)
[AutoSave] Void Hint()
Void AutoSaveNow()
Void AutoSaveHint()
Void AutoSaveSuppress()
Void AutoSaveSetSpawn(StringHash32 spawnLocation)
[ScriptAnimator] Void SetAnimInt(String paramName, Int32 paramValue)
[ScriptAnimator] Void SetAnimBool(String paramName, Boolean paramValue)
[ScriptAnimator] Void SetAnimFloat(String paramName, Single paramValue)
[ScriptAnimator] Void SetAnimTrigger(String paramName)
[ScriptAnimator] Void ResetAnimTrigger(String paramName)
[ScriptAnimator] Void PlayAnim(String stateName)
[ScriptAnimator] Void FFAnim()
[ScriptAnimator] Void RestartAnim()
[ScriptAudioTrackVariants] Void SetAudioLayer(StringHash32 id, Boolean active)
[ScriptBlackboard] Void ClearBlackboard()
[ScriptDestructible] Void Destroy()
[ScriptFader] IEnumerator FadeTo(Single inAlpha, Single inDuration = 0.5)
[ScriptFader] Void SetFade(Single inAlpha)
[ScriptInspectable] Void Inspect()
[ScriptInspectable] Void LockInteract()
[ScriptInspectable] Void UnlockInteract()
[ScriptInteractionGroup] Void LockGroup()
[ScriptInteractionGroup] Void UnlockGroup()
[ScriptLight] Void SetLightIntensity(Single newIntensityMultiplier, Single transitionTime = 0)
[ScriptLight] Void SetLightRange(Single newRangeMultiplier, Single transitionTime = 0)
[ScriptLight] Void SetLightColor(StringSlice colorString, Single transitionTime = 0)
[ScriptLight] Void ResetLightColor(Single transitionTime = 0)
[ScriptMenu] Void Show()
[ScriptMenu] Void Hide()
[ScriptPawn] Void TeleportTo(StringHash32 inObjectId)
[ScriptPostProcess] Void SetPostProcessProfile(StringSlice profileName, Single crossFade = 0)
[ScriptUIElement] Void ForceOnTop()
[ScriptUIElement] Void ResetSorting()
[ScriptUIElement] Void Click()
[ScriptUIElement] Void ForceClick()
[AudioBGMTrigger] Void PlayBGM()
Void AudioOneShot(StringHash32 id)
Void AudioSetBGM(StringHash32 id)
IEnumerator GiveEntity(ScriptThread inThread, StringHash32 inEntityId, PopupMode inMode = Popup)
IEnumerator GiveFact(ScriptThread inThread, StringHash32 inFactId, PopupMode inMode = Popup)
IEnumerator UpgradeFact(ScriptThread inThread, StringHash32 inFactId, BFDiscoveredFlags inFlags = Rate, PopupMode inMode = Popup)
IEnumerator FinishFactBatch(ScriptThread inThread)
IEnumerator PurchaseItem(ScriptThread inThread, StringHash32 inItemId)
Void GiveItem(StringHash32 inItemId, Int32 inCount = 1)
Void SetItem(StringHash32 inItemId, Int32 inCount)
IEnumerator GiveUpgrade(ScriptThread inThread, StringHash32 inUpgradeId, PopupMode inMode = Popup)
IEnumerator GiveJournalEntry(ScriptThread inThread, StringHash32 inEntryId, PopupMode inMode = Popup)