Commit Graph

31 Commits

Author SHA1 Message Date
Damian-I
06fb37ee58 Made the UI mroe consistent to the others 2025-03-08 22:03:24 +00:00
Damian-I
be6091a4c9 Added support for unlocking Bluetooth-locked inventory items 2025-03-08 21:09:17 +00:00
Damian-I
3b3481c664 Implement MAC Address Pairing Minigame for Bluetooth Spoofer 2025-03-08 17:02:26 +00:00
Damian-I
a5b426b16e Fixed flashing bug with ui 2025-03-08 16:52:05 +00:00
Damian-I
9410d17f7e Prevent Duplicate Item Pickup in Inventory 2025-03-08 16:32:29 +00:00
Damian-I
438eae0225 Added basic functionality to pair button 2025-03-08 16:16:42 +00:00
Damian-I
f2b53c608a Add Bluetooth Pairing Button for Nearby Devices 2025-03-08 16:06:45 +00:00
Damian-I
bad5a49c43 Added realtime updates, signal strength bar 2025-03-08 16:00:25 +00:00
Damian-I
e208f36910 Enhance Bluetooth Scanner with Real-Time Signal Strength and Dynamic Device Tracking
- Implement dynamic signal strength visualization with color-coded bars
- Improve Bluetooth device detection with more responsive scanning interval
- Add real-time signal strength tracking and sorting for nearby devices
- Optimize device detection logic to handle device appearance and disappearance
- Enhance Bluetooth panel UI with detailed signal information
2025-03-08 15:53:08 +00:00
Damian-I
16d5abfb1c Implement Bluetooth Scanner Panel with Advanced Device Detection and Interaction
- Add comprehensive Bluetooth scanner UI with search, filtering, and device tracking
- Implement device detection, tracking, and categorization
- Create interactive Bluetooth panel with device details and expanded view
- Add proximity-based device scanning and notification system
- Enhance inventory interaction for Bluetooth scanner and spoofer
- Improve device unlocking and spoofing mechanics
2025-03-08 15:00:17 +00:00
Damian-I
5fdcee5c22 Add Bluetooth Spoofer to game assets and reception room
- Load Bluetooth Spoofer image asset
- Add Bluetooth Spoofer object to reception room JSON
- Include Bluetooth Spoofer in game scenario with description and spoofing capability
2025-03-08 13:27:11 +00:00
Damian-I
469747e642 Re synced with main 2025-03-08 13:19:58 +00:00
Damian Idzinski
e9e2ba7fcf Add files via upload 2025-02-18 21:29:02 +00:00
Damian-I
1889b1b1d9 Implement Bluetooth device scanning and proximity-based unlocking
- Add Bluetooth scanning constants and interval-based scanning
- Modify object interaction to check for Bluetooth device proximity
- Implement proximity-based unlocking for tablets
- Add debug logging for Bluetooth scanning and device detection
- Adjust tablet and scanner positioning in reception room

----
Fixed broken funcitons of previous bluetooth
2025-02-18 17:01:17 +00:00
Damian-I
a94b8fe40c Added unlocking funcitonality when scanner is in the inventory 2025-02-18 16:47:27 +00:00
Damian-I
791230c72c Added the same MAC address to the scanner as the tablet 2025-02-18 16:29:37 +00:00
Damian-I
6c9db12f49 Update game assets and scenario with bluetooth scanner and tablet adjustments
- Add bluetooth scanner image asset
- Modify tablet object in reception room JSON
- Simplify tablet scenario contents and positioning
- Adjust tablet object properties in game scenario
2025-02-18 16:19:37 +00:00
Damian-I
81f35998dc Add tablet object to reception room and game scenario
- Load tablet image asset
- Add tablet object to reception room JSON
- Include tablet with locked status and contents in game scenario
- Add meeting notes and master key to tablet contents
2025-02-18 15:19:02 +00:00
Damian-I
41a7372ce7 Remove container unlock alerts
- Eliminate redundant alert messages when unlocking containers
- Preserve the existing logic for preventing automatic item collection
- Simplify user interaction by removing unnecessary pop-up notifications
2025-02-08 15:31:30 +00:00
Damian-I
d8d55dfcdf Refactor container interaction and unlocking logic
- Modify item collection process to prevent automatic collection
- Add alert when container is unlocked
- Simplify handling of unlocked containers with contents
- Improve state management for locked and unlocked items
2025-02-08 15:26:20 +00:00
Damian Idzinski
403a3d345e Add files via upload
Fixed bug causing game to not load, #10 needs to be semi re-implemented
2025-02-02 01:31:21 +00:00
Damian Idzinski
d23ab90e8c Merge branch 'main' into 7-cyberchef-integration 2025-02-01 02:36:16 +00:00
Damian-I
2aeaf31af7 Refactor workstation interaction and inventory handling
- Renamed `customInteraction` to `openCryptoWorkstation` for clarity
- Simplified inventory sprite creation by removing type normalization
- Updated interaction logging to reflect new method name
- Preserved custom workstation interaction when moving to inventory
2025-02-01 02:23:36 +00:00
Damian-I
0cb243bd86 Refine laptop popup UI with improved positioning and overlay
- Adjusted laptop popup positioning to center screen
- Allows the player to now interact with the inventory to view items suchas as notes
- Improved pointer event handling for popup interactions
2025-02-01 02:19:05 +00:00
Damian-I
66f15ccb9a Enhance CyberChef workstation popup with dynamic file loading
- Implemented dynamic CyberChef HTML file discovery
- Added flexible iframe loading mechanism
- Improved CSS for CyberChef container
- Removed verbose console logging
- Simplified workstation interaction logic
2025-02-01 02:09:13 +00:00
Damian Idzinski
9d449b8846 Corrected whitespace 2025-01-30 11:36:00 +00:00
Damian-I
bd19b9de6b Refactor object interaction handling and container content collection
- Simplified the handleObjectInteraction function by removing redundant checks and improving readability.
- Enhanced the logic for handling container contents, ensuring items are only collected if the container is unlocked and not previously collected.
- Introduced a new function, collectContainerContents, to streamline the process of collecting items from unlocked containers.
- Updated the state management for locked items and their contents to improve gameplay flow.
2024-12-19 18:57:26 +00:00
Damian-I
48ca5248ff Added a laptop-style popup interface for CyberChef cryptographic workstation:
- Created laptop-style popup UI with title bar and close button
- Added CSS styles for responsive popup layout
- Implemented workstation item with custom interaction handler
- Added automatic workstation to player inventory on game start
- Set up debug logging with "CyberChef:" prefix

Key changes:
- Added workstation CSS styles (lines 30-89)
- Created addCryptoWorkstation function (lines 206-255)
- Added workstation initialization to create() function (line 379)
- Set up inventory system to handle custom interactions (lines 1501-1530)

The workstation provides:
- In-game access to CyberChef cryptographic tools
- Proper integration with game inventory system
- Debug logging for troubleshooting

Note:
- CyberChef v10.19.4 must be present in assets/cyberchef/ directory
- "workstation.png" is not present in assets/objects/ directory
2024-12-19 18:40:48 +00:00
Damian Idzinski
0f2bea2836 Add files via upload
accidentally pushed to wrong branch
reverted
2024-12-19 17:57:10 +00:00
Damian Idzinski
36eaeada09 Add files via upload
Added a laptop-style popup interface for CyberChef cryptographic workstation:

- Created laptop-style popup UI with title bar and close button
- Added CSS styles for responsive popup layout
- Implemented workstation item with custom interaction handler
- Added automatic workstation to player inventory on game start
- Set up debug logging with "CyberChef:" prefix

Key changes:
- Added workstation CSS styles (lines 30-89)
- Created addCryptoWorkstation function (lines 206-255)
- Added workstation initialization to create() function (line 379)
- Set up inventory system to handle custom interactions (lines 1501-1530)

The workstation provides:
- In-game access to CyberChef cryptographic tools
- Proper integration with game inventory system
- Debug logging for troubleshooting

Note: 
- CyberChef v10.19.4 must be present in assets/cyberchef/ directory
- "workstation.png" is not present in assets/objects/ directory
2024-12-19 17:38:28 +00:00
Z. Cliffe Schreuders
39162bbb6f initial commit 2024-11-26 14:06:37 +00:00