Added basic build menu and placement
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
extends Interaction
|
||||
class_name InteractionBuild
|
||||
|
||||
const BUILD_ADVANCED = preload("res://data/interactions/build/advanced/build_advanced.tres")
|
||||
const BUILD_BASIC = preload("res://data/interactions/build/basic/build_basic.tres")
|
||||
|
||||
func interact_at(pos: Vector2i, root: Node) -> Array[Interaction]:
|
||||
print("Building at: %s" % pos)
|
||||
return []
|
||||
return [BUILD_BASIC, BUILD_ADVANCED]
|
||||
|
||||
Reference in New Issue
Block a user