Added debug inventory menu
This commit is contained in:
19
scripts/Event/EventFlagModify.gd
Normal file
19
scripts/Event/EventFlagModify.gd
Normal file
@@ -0,0 +1,19 @@
|
||||
class_name EventFlagModify extends "res://scripts/Event/Event.gd"
|
||||
|
||||
enum Action {
|
||||
TURN_ON,
|
||||
TURN_OFF,
|
||||
SET_TO,
|
||||
ALL_ON,
|
||||
ALL_OFF
|
||||
}
|
||||
|
||||
@export var action:Action = Action.TURN_ON;
|
||||
@export var event:EventSystem.SpecialEvent;
|
||||
@export_flags("1:1", "2:2", "3:4", "4:8", "5:16", "6:32", "7:64", "8:128", "9:256", "10:512", "11:1024", "12:2048", "13:4096", "14:8192", "15:16384", "16:32768")
|
||||
var eventFlag:int = 0;
|
||||
|
||||
func start() -> void:
|
||||
super.start()
|
||||
pass
|
||||
# EVENT.eventFlagOn(event, eventFlag)
|
Reference in New Issue
Block a user