11 lines
378 B
GDScript
11 lines
378 B
GDScript
extends Character
|
|
|
|
func _ready():
|
|
var _weap
|
|
_weap = pickup_weapon(create_weapon(preload("res://weapons/sword.tscn")))
|
|
_weap = pickup_weapon(create_weapon(preload("res://weapons/bow.tscn")))
|
|
_weap = pickup_weapon(create_weapon(preload("res://weapons/bow_rpg.tscn")))
|
|
_weap = pickup_weapon(create_weapon(preload("res://weapons/proximitymissile.tscn")))
|
|
set_weapon_slot(0)
|
|
|