-
Notifications
You must be signed in to change notification settings - Fork 0
/
INEQ_RechargeBase.psc
54 lines (42 loc) · 1.96 KB
/
INEQ_RechargeBase.psc
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
Scriptname INEQ_RechargeBase extends ReferenceAlias
Actor Property SelfRef Auto
Message Property MainMenu Auto
String Property Name Auto
;===============================================================================================================================
;==================================== Maintenance ================================================
;================================================================================================
Event OnInit()
Init()
EndEvent
Event OnPlayerLoadGame()
PlayerLoadGame()
EndEvent
;___________________________________________________________________________________________________________________________
Function Init()
FullReset()
EndFunction
; Used to perform maintenence when the player loads
Function PlayerLoadGame()
EndFunction
;___________________________________________________________________________________________________________________________
; Restores menu-modifiable variables
Function RestoreDefaultFields()
EndFunction
; Used to initialize and reset Recharge Source
Function FullReset()
RestoreDefaultFields()
EndFunction
;===============================================================================================================================
;==================================== Functions ================================================
;================================================================================================
bool Function HasMenu()
return MainMenu
EndFunction
;___________________________________________________________________________________________________________________________
String Function getName()
return Name
EndFunction
;___________________________________________________________________________________________________________________________
Function ChargeMenu(INEQ_MenuButtonConditional Button, INEQ_ListenerMenu ListenerMenu, GlobalVariable MenuActive)
Debug.Trace(self+ " attempted to access non-existent charge menu")
EndFunction