Files
Cinderwild/scripts/building/stonecutter.gd

13 lines
405 B
GDScript

extends "res://scripts/building/piece.gd"
## Stonecutter: a saw bench for dressing stone. Unlocks "stonecutter" recipes
## (cut stone, and the stone building pieces) within 6 m. E opens crafting.
func _build() -> void:
add_to_group("station:stonecutter")
func interact_prompt(_player: Node) -> String:
return "Stonecutter [E] Craft"
func interact(player: Node) -> void:
player.open_inventory(null)