16 Commits

Author SHA1 Message Date
Marvin 07bc596c77 Refactor and enhance gregCore framework
gregCore CI / build (push) Has been cancelled
- Disabled IMGUI drawing in Core.cs for Unity 6 stability.
- Consolidated GregCoreMod and DataCenterModLoaderMod into a single GregCoreMod class for better organization and clarity.
- Updated GregBootstrapper to use a boolean flag for hook integration.
- Simplified HookIntegration class by removing unnecessary fields and methods, focusing on essential functionality.
- Updated PlayerPatch and ShopPatch to emit hooks using string representation for better compatibility.
- Introduced ModMenu and GregHardwareID classes for centralized mod configuration and unique object identification.
- Enhanced GregDevConsole for improved logging and UI management.
- Added legacy shims for backward compatibility with older mods.
- Improved UI management with CanvasGroup for better input handling.
- Updated QoL settings to allow for a range in slider values.
2026-04-24 15:45:10 +02:00
Marvin 8ef5bfbe21 Add TechnicianHiring module for managing additional technicians
- Implemented TechnicianHiring class to register and manage extra technician employees.
- Defined a struct TechDef to encapsulate technician properties such as ID, name, description, salary, and required reputation.
- Added methods for initializing technicians, handling hiring and firing events, and restoring technicians on load.
- Included logging for tracking registration, hiring, firing, and restoration processes.
2026-04-21 22:20:33 +02:00
Marvin 9f8164ba59 updating gregcore to newer version.
Sponsor Tier Sync / sync (push) Failing after 34s
gregCore CI / build (push) Has been cancelled
2026-04-21 08:11:36 +02:00
Marvin 39ee14d6f3 publ.: Adding Packs to publish
SDK: adding SDKs to give the user more Opportunities to create mods.
2026-04-21 07:41:28 +02:00
Marvin 8bd4f348e2 Add patches for shop checkout and lifecycle day updates
Sponsor Tier Sync / sync (push) Failing after 33s
gregCore CI / build (push) Has been cancelled
- Implemented ShopPatch to emit a checkout event when the checkout button is pressed.
- Created TimePatch to track and emit events when a game day ends, including both canonical and legacy event emissions.
2026-04-21 06:39:20 +02:00
Marvin 4fe23b041f feat: Implement GregEventDispatcher for event handling
- Added GregEventDispatcher class for managing event subscriptions and emissions.
- Integrated event bus functionality for mod communication.

feat: Introduce GregCoreConfig for configuration management

- Created GregCoreConfig class to manage application-wide settings, including debug mode.

feat: Develop WallRack mod with initialization and logging

- Implemented Main class for WallRack mod with initialization and shutdown logging.
- Integrated logging functionality for various mod events.

feat: Enhance logging capabilities with GregLogger and GregModLogger

- Developed GregLogger for general logging and GregModLogger for mod-specific logging.
- Added structured logging methods for different log levels and actions.

feat: Create WallRack integration for wall management

- Implemented GregWallRegistry for managing wall grids and devices.
- Developed GregWallGrid and GregWallSlot for grid and slot management.
- Added GregWallDevice for device representation and mounting logic.

feat: Implement undo/redo functionality for wall actions

- Created GregWallUndoRedoService to manage undo and redo actions for wall modifications.
- Defined action records for mounting, unmounting, and swapping devices.

feat: Integrate wall placement controller for user interactions

- Developed GregWallPlacementController to handle wall build mode and user interactions.
- Implemented methods for mounting, unmounting, and swapping devices in the wall grid.

feat: Add save/load functionality for wall state

- Implemented WallSaveIntegration for saving and loading wall states using LiteDB.
- Created data models for wall and mounted device states.

feat: Enhance UI settings for WallRack mod

- Developed GregSettingsHubWallRackTab for managing mod settings and user preferences.
- Integrated feature guards to disable settings based on game state.

fix: Address various bugs and improve stability

- Fixed issues related to device mounting and grid management.
- Improved error handling and logging for better debugging.
2026-04-21 04:53:10 +02:00
Marvin 84b6f56a50 chore: add DataCenter-RustBridge submodule
Initialize the DataCenter-RustBridge submodule to integrate the Rust bridge plugin for the DataCenter project. This enables using the external Rust-based components as a git submodule.
2026-04-20 14:48:52 +02:00
Marvin 49b3b472f6 fix: remap dev console toggle key to F8
Sponsor Tier Sync / sync (push) Failing after 47s
gregCore CI / build (push) Has been cancelled
- Replaced 'P' keybind with 'F8' to avoid conflicts with the default pause menu functionality in the game.

💘 Generated with Crush

Assisted-by: Gemini 3.1 Pro (Optimized for Coding Agents) via Crush <crush@charm.land>
2026-04-20 07:05:23 +02:00
Marvin 658bf080a1 fix: migrate input handling to new Unity InputSystem
💘 Generated with Crush

Assisted-by: Gemini 3.1 Pro (Optimized for Coding Agents) via Crush <crush@charm.land>
2026-04-20 06:35:27 +02:00
Marvin 524eaacbd5 fix: resolve AccessViolationException by removing problematic interface patch and using native game state management 2026-04-20 06:21:56 +02:00
Marvin 8d309f2162 feat: enhance hook patching with improved error handling and remove InputPausePatch
Sponsor Tier Sync / sync (push) Failing after 39s
gregCore CI / build (push) Has been cancelled
2026-04-20 06:20:50 +02:00
Marvin 0360bfb09a chore: update gregCore v1.0.0.33 release assets
Sponsor Tier Sync / sync (push) Failing after 33s
gregCore CI / build (push) Has been cancelled
2026-04-20 05:54:56 +02:00
Marvin a11caa1175 feat: Add comprehensive Agent Guide documentation 2026-04-20 05:38:24 +02:00
Marvin 81a6034055 Refactor code structure for improved readability and maintainability
gregCore CI / build (push) Has been cancelled
2026-04-20 05:19:01 +02:00
Marvin d454cd8a28 feat: Enhance DevConsole functionality and integrate pause menu blocking 2026-04-20 05:10:41 +02:00
Marvin abbd440bf1 feat: Implement core performance and automation modules
Sponsor Tier Sync / sync (push) Failing after 34s
gregCore CI / build (push) Has been cancelled
- Added RepairEngine for device repair automation.
- Introduced GregFrameRateLimiter to manage frame rates based on performance profiles.
- Implemented GregMemoryPressureHandler to handle memory pressure events and optimize garbage collection.
- Created GregOperationQueue for managing and throttling operations with priority.
- Developed GregPerformanceGovernor to oversee performance management and resource monitoring.
- Added GregRequestThrottler to limit concurrent operations and requests.
- Implemented GregResourceMonitor to track system resource usage and publish metrics.
- Introduced IAssemblyScanner interface for plugin assembly scanning.
- Added various public API modules including GregAutomationModule, GregEconomyModule, GregFacilityModule, GregNetworkModule, GregNpcModule, GregPerformanceModule, GregPlayerModule, GregSaveModule, GregServerModule, GregTimeModule, and GregUIModule for enhanced game functionality.
- Created event handling and resource snapshot types for better event management and performance tracking.
2026-04-20 04:25:54 +02:00