Wild flax: fibre plants in meadows and by the lake (2 fibre each)

This commit is contained in:
Paul Bailey
2026-11-04 18:12:56 +00:00
parent 0c18b6d49e
commit 80786ab796
3 changed files with 32 additions and 3 deletions

View File

@@ -25,6 +25,8 @@ func setup(id: String, mesh: Mesh, material: Material, radius: float) -> void:
add_child(cs)
func interact_prompt(_player: Node) -> String:
if item_id == "fiber" and not dropped:
return "Wild flax [E] Pick %d %s" % [amount, ItemDB.item_name(item_id).to_lower()]
return "[E] Pick up %s%s" % [ItemDB.item_name(item_id), " x%d" % amount if amount > 1 else ""]
func interact(player: Node) -> void: