-- {\v/} Domino auto-generated LUA script file
|
|
--
|
|
-- Script document: domino/user/windycity/dlc/mission_03/dlc_m03.domino.xml
|
|
-- User graph: DLC_M03_ToyCar_Inventory
|
|
--
|
|
--
|
|
-- DO NOT EDIT MANUALLY THIS FILE OR YOUR CHANGES WILL BE LOST!
|
|
-- Please modify the original Domino script instead. You have been warned.
|
|
|
|
-- *** SCRIPT INPUT REFLECTION ***
|
|
--[[
|
|
<InputReflection>
|
|
<DataIn Name="Blocked" Type="Core|bool" />
|
|
<DataIn Name="Player_in" Type="Nomad|entity{}" />
|
|
</InputReflection>
|
|
]]--
|
|
-- *** END OF SCRIPT INPUT REFLECTION ***
|
|
|
|
|
|
export = {
|
|
};
|
|
|
|
|
|
function export:LuaDependencies()
|
|
return {
|
|
};
|
|
end;
|
|
|
|
function export:Create(cbox)
|
|
-- External box dependencies
|
|
cbox:RegisterBox("Domino/System/CompareBoolean_v2.lua");
|
|
cbox:RegisterBox("Domino/System/InventoryController.lua");
|
|
cbox:RegisterBox("Domino/System/InventoryMonitor.lua");
|
|
end;
|
|
|
|
function export:Init(cbox)
|
|
local l0;
|
|
self.Out = DummyFunction;
|
|
self.Player_pwn = nil;
|
|
self.Default = 0;
|
|
self[1] = cbox:CreateBox("Domino/System/InventoryMonitor.lua");
|
|
l0 = self[1];
|
|
l0._graph = self;
|
|
l0.True = self.f_1_True;
|
|
l0.False = self.f_1_False;
|
|
l0.Enabled = DummyFunction;
|
|
l0.Disabled = DummyFunction;
|
|
l0.OnItemAdded = DummyFunction;
|
|
l0.OnItemRemoved = DummyFunction;
|
|
l0.OnItemEquipped = DummyFunction;
|
|
l0.InWheelTrue = DummyFunction;
|
|
l0.InWheelFalse = DummyFunction;
|
|
self[6] = cbox:CreateBox("Domino/System/InventoryMonitor.lua");
|
|
l0 = self[6];
|
|
l0._graph = self;
|
|
l0.True = self.f_6_True;
|
|
l0.False = self.f_6_False;
|
|
l0.Enabled = DummyFunction;
|
|
l0.Disabled = DummyFunction;
|
|
l0.OnItemAdded = DummyFunction;
|
|
l0.OnItemRemoved = DummyFunction;
|
|
l0.OnItemEquipped = DummyFunction;
|
|
l0.InWheelTrue = DummyFunction;
|
|
l0.InWheelFalse = DummyFunction;
|
|
end;
|
|
|
|
function export:ShutDown()
|
|
for k,v in pairs(self) do if type(v) == "table" and v.ShutDown ~= self.ShutDown and v ~= self._graph and v.ShutDown ~= nil then v:ShutDown() end end;
|
|
end;
|
|
|
|
function export:In()
|
|
local l0;
|
|
l0 = Boxes[PathID("Domino/System/CompareBoolean_v2.lua")];
|
|
l0.A = self.Blocked;
|
|
l0.B = 1;
|
|
l0._graph = self;
|
|
l0.Out = DummyFunction;
|
|
l0.A_is_True = self.f_4_A_is_True;
|
|
l0.A_is_False = self.f_4_A_is_False;
|
|
l0.A_and_B = DummyFunction;
|
|
l0.notA_and_notB = DummyFunction;
|
|
l0.A_or_B = DummyFunction;
|
|
l0.A_xor_B = DummyFunction;
|
|
l0:In();
|
|
end;
|
|
|
|
function export:f_2_Removed()
|
|
self = self._graph;
|
|
self:Out();
|
|
end;
|
|
|
|
function export:f_4_A_is_False()
|
|
local l0;
|
|
self = self._graph;
|
|
l0 = self[6];
|
|
l0.pawn = self.Player_in;
|
|
l0.ItemDB = "Items.2096579846";
|
|
l0:HasItem();
|
|
end;
|
|
|
|
function export:f_4_A_is_True()
|
|
local l0;
|
|
self = self._graph;
|
|
l0 = self[1];
|
|
l0.pawn = self.Player_in;
|
|
l0.ItemDB = "Items.2096579846";
|
|
l0:HasItem();
|
|
end;
|
|
|
|
function export:f_5_Removed()
|
|
self = self._graph;
|
|
self:Out();
|
|
end;
|
|
|
|
function export:f_1_False()
|
|
local l0;
|
|
self = self._graph;
|
|
l0 = Boxes[PathID("Domino/System/InventoryController.lua")];
|
|
l0.ItemDB = "Items.2096579846";
|
|
l0.ItemCount = nil;
|
|
l0.ReturnProjectilesToPlayer = nil;
|
|
l0._graph = self;
|
|
l0.Out = DummyFunction;
|
|
l0.IsSet = DummyFunction;
|
|
l0.Added = self.f_3_Added;
|
|
l0.Removed = DummyFunction;
|
|
l0.Switched = DummyFunction;
|
|
l0.UnspawnedReleasedProjectiles = DummyFunction;
|
|
l0.ItemEquipped = DummyFunction;
|
|
l0.WheelActionMapDisabled = DummyFunction;
|
|
l0.WheelActionMapEnabled = DummyFunction;
|
|
l0:Add();
|
|
end;
|
|
|
|
function export:f_1_True()
|
|
local l0;
|
|
self = self._graph;
|
|
l0 = Boxes[PathID("Domino/System/InventoryController.lua")];
|
|
l0.ItemDB = "Items.2096579846";
|
|
l0.ItemCount = nil;
|
|
l0.ReturnProjectilesToPlayer = nil;
|
|
l0._graph = self;
|
|
l0.Out = DummyFunction;
|
|
l0.IsSet = DummyFunction;
|
|
l0.Added = DummyFunction;
|
|
l0.Removed = self.f_2_Removed;
|
|
l0.Switched = DummyFunction;
|
|
l0.UnspawnedReleasedProjectiles = DummyFunction;
|
|
l0.ItemEquipped = DummyFunction;
|
|
l0.WheelActionMapDisabled = DummyFunction;
|
|
l0.WheelActionMapEnabled = DummyFunction;
|
|
l0:Remove();
|
|
end;
|
|
|
|
function export:f_6_False()
|
|
local l0;
|
|
self = self._graph;
|
|
l0 = Boxes[PathID("Domino/System/InventoryController.lua")];
|
|
l0.ItemDB = "Items.2096579846";
|
|
l0.ItemCount = nil;
|
|
l0.ReturnProjectilesToPlayer = nil;
|
|
l0._graph = self;
|
|
l0.Out = DummyFunction;
|
|
l0.IsSet = DummyFunction;
|
|
l0.Added = self.f_7_Added;
|
|
l0.Removed = DummyFunction;
|
|
l0.Switched = DummyFunction;
|
|
l0.UnspawnedReleasedProjectiles = DummyFunction;
|
|
l0.ItemEquipped = DummyFunction;
|
|
l0.WheelActionMapDisabled = DummyFunction;
|
|
l0.WheelActionMapEnabled = DummyFunction;
|
|
l0:Add();
|
|
end;
|
|
|
|
function export:f_6_True()
|
|
self = self._graph;
|
|
self:Out();
|
|
end;
|
|
|
|
function export:f_3_Added()
|
|
local l0;
|
|
self = self._graph;
|
|
l0 = Boxes[PathID("Domino/System/InventoryController.lua")];
|
|
l0.ItemDB = "Items.2096579846";
|
|
l0.ItemCount = nil;
|
|
l0.ReturnProjectilesToPlayer = nil;
|
|
l0._graph = self;
|
|
l0.Out = DummyFunction;
|
|
l0.IsSet = DummyFunction;
|
|
l0.Added = DummyFunction;
|
|
l0.Removed = self.f_5_Removed;
|
|
l0.Switched = DummyFunction;
|
|
l0.UnspawnedReleasedProjectiles = DummyFunction;
|
|
l0.ItemEquipped = DummyFunction;
|
|
l0.WheelActionMapDisabled = DummyFunction;
|
|
l0.WheelActionMapEnabled = DummyFunction;
|
|
l0:Remove();
|
|
end;
|
|
|
|
function export:f_7_Added()
|
|
self = self._graph;
|
|
self:Out();
|
|
end;
|
|
|
|
-- Empty out anchor definitions
|
|
function export:Out()
|
|
|
|
end;
|
|
_compilerVersion = 4;
|