reuse icons and blbs to remove some content

This commit is contained in:
Redo
2025-01-13 01:55:54 -07:00
parent a25f184c94
commit 38ad0d3058
942 changed files with 1502 additions and 693568 deletions

View File

@@ -2,10 +2,10 @@
datablock fxDtsBrickData(LogicGate_ClientIOBrick_Data){
brickFile = $LuaLogic::Path @ "bricks/blb/serialport.blb";
iconName = $LuaLogic::Path @ "icons/serialport";
iconName = $LuaLogic::Path @ "bricks/icons/serialport";
category = "Logic Bricks";
subCategory = "Special I/O";
subCategory = "Inputs";
uiName = "Client I/O Brick";
logicUIName = "Client I/O Brick";
logicUIDesc = "Allows clients to connect and share data with logic bricks.";
@@ -179,6 +179,8 @@ function fxDtsBrick::LogicIO_bindClient(%brick, %client) {
%brick.LogicIO_unbindClient();
%client.LogicIO_unbind();
if(!isObject(%client.player)) return;
%client.LogicIO_Brick = %brick;
%brick.LogicIO_Client = %client;
messageClient(%client, 0, "\c6Logic I/O: Bound to \c3" @ %brick);
@@ -205,13 +207,13 @@ function LogicIO_rotateVector(%vector, %steps) {
datablock AudioProfile(LogicIO_PlugInSound) {
filename = "./plugIn.wav";
description = MediumClose3D;
description = AudioClose3D;
preload = true;
};
datablock AudioProfile(LogicIO_PlugOutSound) {
filename = "./plugOut.wav";
description = MediumClose3D;
description = AudioClose3D;
preload = true;
};