🆕 wf_act_send_signal & wf_trg_recv_signal

the signal sender can only be a max of 25 in a room
the signal receiver can only be a max of 5 in a room
one signal receiver can only accept a max of 5 senders (you can select the receivers with the senders)
Why : otherwise you can flood the rooms and let you CPU go 🍌
This commit is contained in:
duckietm
2026-03-11 12:39:14 +01:00
parent 7dc2051ece
commit a125afd381
8 changed files with 240 additions and 4 deletions
@@ -1,5 +1,6 @@
import { WiredActionLayoutCode } from '../../../../api';
import { WiredActionBotChangeFigureView } from './WiredActionBotChangeFigureView';
import { WiredActionSendSignalView } from './WiredActionSendSignalView';
import { WiredActionFurniAreaView } from '../selectors/WiredActionFurniAreaView';
import { WiredSelectorFurniNeighborhoodView } from '../selectors/WiredSelectorFurniNeighborhoodView';
import { WiredSelectorFurniByTypeView } from '../selectors/WiredSelectorFurniByTypeView';
@@ -94,6 +95,8 @@ export const WiredActionLayoutView = (code: number) =>
return <WiredSelectorUsersAreaView />;
case WiredActionLayoutCode.USERS_NEIGHBORHOOD_SELECTOR:
return <WiredSelectorUsersNeighborhoodView />;
case WiredActionLayoutCode.SEND_SIGNAL:
return <WiredActionSendSignalView />;
}
return null;