Adding loads of icons and starting refactor of weapons and mods
This commit is contained in:
parent
1a959fbc0c
commit
f97521decc
4411 changed files with 74792 additions and 42 deletions
18
combat/weapons/_scripts/weapon_component.gd
Normal file
18
combat/weapons/_scripts/weapon_component.gd
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
@icon("res://assets/editor/64x64/fc729.png")
|
||||
extends Node2D
|
||||
class_name WeaponComponent
|
||||
|
||||
var modifier_manager
|
||||
|
||||
var base_stats = {
|
||||
"damage": 10.0,
|
||||
"attack_rate": 3.0
|
||||
}
|
||||
|
||||
func _init() -> void:
|
||||
Log.pr("WeaponComponent initialized")
|
||||
|
||||
func _ready() -> void:
|
||||
await get_tree().process_frame
|
||||
modifier_manager = $ModifierManager
|
||||
Log.pr("ModifierManager: ", modifier_manager)
|
||||
Loading…
Add table
Add a link
Reference in a new issue