summaryrefslogtreecommitdiff
path: root/scripts/knight.gd
blob: 97b6deca162a00ae60fba3fd373c1a6902b48c3b (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["knight"]["damage"]
	speed = game_stats_config.crawlers["knight"]["speed"]
	max_health = game_stats_config.crawlers["knight"]["health"]
	worth = game_stats_config.crawlers["knight"]["worth"]
	sprite_atlas = game_stats_config.crawlers["knight"]["sprite"]

	super()