- Introduced a new JobComponent and JobQueue to manage jobs in the game. - Created two new jobs: DigJob and InfectJob with their respective scripts. - Updated CrystalGlowComponent, FreeCameraComponent, MushroomGlowComponent, WaterEffectComponent to improve logging messages. - Adjusted camera movement limits in FreeCameraGameCameraComponent for better control. - Added FiniteStateMachine class for managing states of entities. - Implemented GlowingIdle state as an example of using the state machine. - Included a utility function to fetch file paths by extension from a directory.
10 lines
188 B
GDScript
10 lines
188 B
GDScript
extends Job
|
|
class_name DigJob
|
|
|
|
func _init() -> void:
|
|
job_name = "Dig"
|
|
job_description = "Dig some stuff!"
|
|
super._init()
|
|
|
|
func _ready() -> void:
|
|
Log.pr("Dig job added to the scene...")
|