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
17
combat/projectiles/_scripts/projectile_base.gd
Normal file
17
combat/projectiles/_scripts/projectile_base.gd
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
extends Area2D
|
||||
class_name ProjectileBaseTwo
|
||||
|
||||
var lifetime_timer: Timer
|
||||
|
||||
var stats = {
|
||||
"speed": 500.0,
|
||||
"damage": 10.0,
|
||||
"lifetime": 2,
|
||||
}
|
||||
|
||||
func destroy():
|
||||
emit_signal("on_destroyed", self)
|
||||
queue_free()
|
||||
|
||||
func _on_lifetime_timeout():
|
||||
destroy()
|
||||
1
combat/projectiles/_scripts/projectile_base.gd.uid
Normal file
1
combat/projectiles/_scripts/projectile_base.gd.uid
Normal file
|
|
@ -0,0 +1 @@
|
|||
uid://bkyout6vd2xer
|
||||
Loading…
Add table
Add a link
Reference in a new issue