Modal time.
This commit is contained in:
@@ -37,8 +37,8 @@ func _onItemInteract(_other:Entity) -> void:
|
||||
assert(entity.oneTimeItem != null)
|
||||
var cutscene:Cutscene = Cutscene.new()
|
||||
cutscene.addCallable(ItemAction.getItemCallable(entity.oneTimeItem.toItemStack()))
|
||||
cutscene.addCallable(ConversationAction.getTextboxCallable('This should be last'))
|
||||
cutscene.start()
|
||||
await cutscene.start()
|
||||
entity.queue_free()
|
||||
|
||||
func onInteract(other:Entity) -> void:
|
||||
if entity.interactType == Entity.InteractType.NONE:
|
||||
|
||||
Reference in New Issue
Block a user