added machine item slots so ican start building gameplay
This commit is contained in:
@@ -56,7 +56,7 @@ func _input(event: InputEvent) -> void:
|
||||
|
||||
if is_left:
|
||||
if event.pressed:
|
||||
spawnObjectByID(MainGame.selectedBlockID, get_collision_point(), rot)
|
||||
spawnObjectByID(MainGame.selectedBlockID, get_collision_point() + Vector3(0, 0.5, 0), rot)
|
||||
if MainGame.currentHeldItemID == "base:hammer":
|
||||
var is_left = event.button_index == MOUSE_BUTTON_LEFT
|
||||
if is_left:
|
||||
|
||||
Reference in New Issue
Block a user