summaryrefslogtreecommitdiff
path: root/scripts/gnome.gd
blob: c5f7777797c676f5f1677a3ebebf0f2bcbdb8635 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
extends "res://scripts/base_crawler.gd"

var game_stats_config = preload("res://resources/game_stats_config.tres")

func _ready() -> void:
	damage = game_stats_config.crawlers["gnome"]["damage"]
	speed = game_stats_config.crawlers["gnome"]["speed"]
	max_health = game_stats_config.crawlers["gnome"]["health"]
	worth = game_stats_config.crawlers["gnome"]["worth"]
	sprite_atlas = game_stats_config.crawlers["gnome"]["sprite"]

	super()