Cow_Life_Sim_RPG/Interactions/Weavable/Weavable.gd

10 lines
199 B
GDScript

extends Interaction
func _ready():
add_action("Weave", weave)
func weave():
GameVariables.player.currentInteractingGroundItem = get_parent()
GameVariables.player.weave_item(get_parent().item)