removed visual wires; added more wire sizes

This commit is contained in:
Redo 2020-04-24 01:17:30 -05:00
parent 30efd157ec
commit ba94172cc8
15 changed files with 63 additions and 51 deletions

View File

@ -0,0 +1,2 @@
1 1 18
BRICK

View File

@ -0,0 +1,2 @@
1 1 32
BRICK

View File

@ -0,0 +1,2 @@
1 1 36
BRICK

View File

@ -0,0 +1,2 @@
1 1 64
BRICK

View File

@ -0,0 +1,2 @@
1 1 72
BRICK

View File

@ -44,8 +44,8 @@ textbrick2_idxToPrint = {
[0x25] = "percent",
[0x26] = "and",
[0x27] = "apostrophe",
[0x28] = "roundbracketleft",
[0x29] = "roundbracketright",
[0x28] = "roundbracketright",
[0x29] = "roundbracketleft",
[0x2A] = "asterisk",
[0x2B] = "plus",
[0x2C] = "comma",

View File

@ -19,7 +19,7 @@ local function getBit(gate, val)
end
elseif gate.listenState=="terminate" then
if val==1 then
print("", "terminate")
--print("", "terminate")
local printid = gate.valReceived
local printname = textbrick2_idxToPrint[printid]

View File

@ -280,6 +280,41 @@ datablock fxDTSBrickData(LogicWire1x1x17Data : LogicWire1x64fData)
brickFile = $LuaLogic::Path @ "bricks/blb/wires/1x1x17.blb";
};
datablock fxDTSBrickData(LogicWire1x1x18Data : LogicWire1x64fData)
{
uiName = "Wire 1x1x18";
iconName = $LuaLogic::Path @ "icons/Wire 1x1x18";
brickFile = $LuaLogic::Path @ "bricks/blb/wires/1x1x18.blb";
};
datablock fxDTSBrickData(LogicWire1x1x32Data : LogicWire1x64fData)
{
uiName = "Wire 1x1x32";
iconName = $LuaLogic::Path @ "icons/Wire 1x1x32";
brickFile = $LuaLogic::Path @ "bricks/blb/wires/1x1x32.blb";
};
datablock fxDTSBrickData(LogicWire1x1x36Data : LogicWire1x64fData)
{
uiName = "Wire 1x1x36";
iconName = $LuaLogic::Path @ "icons/Wire 1x1x36";
brickFile = $LuaLogic::Path @ "bricks/blb/wires/1x1x36.blb";
};
datablock fxDTSBrickData(LogicWire1x1x64Data : LogicWire1x64fData)
{
uiName = "Wire 1x1x64";
iconName = $LuaLogic::Path @ "icons/Wire 1x1x64";
brickFile = $LuaLogic::Path @ "bricks/blb/wires/1x1x64.blb";
};
datablock fxDTSBrickData(LogicWire1x1x72Data : LogicWire1x64fData)
{
uiName = "Wire 1x1x72";
iconName = $LuaLogic::Path @ "icons/Wire 1x1x72";
brickFile = $LuaLogic::Path @ "bricks/blb/wires/1x1x72.blb";
};
datablock fxDTSBrickData(LogicWire1x1x128Data : LogicWire1x64fData)
{
uiName = "Wire 1x1x128";
@ -305,55 +340,22 @@ datablock fxDTSBrickData(LogicWire64x64fData : brick64x64fData)
isLogicWire = true;
};
//VISUAL
datablock fxDTSBrickData(LogicWire1x1fVisualData : LogicWire1x1fData)
{
subCategory = "Wires - Special";
uiName = "Visual Wire 1x1f";
iconName = $LuaLogic::Path @ "icons/Visual Wire 1x1f";
isLogicVisual = true;
};
datablock fxDTSBrickData(LogicWire1x1x2VisualData : LogicWire1x1x2Data)
{
subCategory = "Wires - Special";
uiName = "Visual Wire 1x1x2";
iconName = $LuaLogic::Path @ "icons/Visual Wire 1x1x2";
isLogicVisual = true;
};
datablock fxDTSBrickData(LogicWire1x1x3VisualData : LogicWire1x1x3Data)
{
subCategory = "Wires - Special";
uiName = "Visual Wire 1x1x3";
iconName = $LuaLogic::Path @ "icons/Visual Wire 1x1x3";
isLogicVisual = true;
};
datablock fxDTSBrickData(LogicWire1x1x15VisualData : LogicWire1x1x15Data)
{
subCategory = "Wires - Special";
uiName = "Visual Wire 1x1x15";
iconName = $LuaLogic::Path @ "icons/Visual Wire 1x1x15";
isLogicVisual = true;
};
datablock fxDTSBrickData(LogicWire1x2x5VisualData : LogicWire1x2x5Data)
{
subCategory = "Wires - Special";
uiName = "Visual Wire 1x2x5";
iconName = $LuaLogic::Path @ "icons/Visual Wire 1x2x5";
isLogicVisual = true;
};
datablock fxDTSBrickData(LogicWire2x2fVisualData : brick2x2fData)
{
datablock fxDTSBrickData(LogicWire2x2fData : brick2x2fData){
category = "Logic Bricks";
subCategory = "Wires - Special";
uiName = "Visual Wire 2x2f";
iconName = $LuaLogic::Path @ "icons/Visual Wire 2x2f";
subCategory = "Wires";
uiName = "Wire 2x2f";
iconName = $LuaLogic::Path @ "icons/Wire 2x2f";
isLogic = true;
isLogicWire = true;
};
datablock fxDTSBrickData(LogicWire4x4fData : brick4x4fData){
category = "Logic Bricks";
subCategory = "Wires";
uiName = "Wire 4x4f";
iconName = $LuaLogic::Path @ "icons/Wire 4x4f";
isLogic = true;
isLogicWire = true;
isLogicVisual = true;
};

Binary file not shown.

Before

Width:  |  Height:  |  Size: 660 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 993 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 705 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 729 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
icons/Wire 4x4f.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB