Commit Graph

22 Commits

Author SHA1 Message Date
Damian Idzinski
168e729bd4 Delete indexbt.html 2025-02-18 17:11:12 +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
5ae7000adb Add bluetooth scanner to reception room and game scenario
- Add bluetooth scanner object to reception room JSON
- Include bluetooth scanner in game scenario with description
- Position bluetooth scanner near other interactive objects
2025-02-18 16:20:48 +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
33c6def8bb Merge pull request #13 from cliffe/7-cyberchef-integration
7 cyberchef integration
2025-02-01 02:36:43 +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
33f165011a Merge pull request #12 from cliffe/10-no-auto-collecting-items-from-container
Refactor object interaction handling and container content collection (no longer auto collect items)
2025-01-30 11:47: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