It's Cow Game! Version 2.04!

This commit is contained in:
PajamaBee 2024-09-19 23:06:51 -05:00
commit a9e1ed9ddd
3148 changed files with 95332 additions and 0 deletions

View file

@ -0,0 +1,22 @@
extends GroundItem
var check_delay = 0.5
func _ready():
check_for_visibility()
super._ready()
func _process(delta):
super._process(delta)
check_delay -= delta
if check_delay <= 0:
check_delay = 0.5
check_for_visibility()
func check_for_visibility():
if InventoryManager.get_item_count_by_name("Basket Plan 1", "keyItems") > 0:
queue_free()
elif SaveManager.get_save_value("ambiQuestStarted", false):
visible = true
else:
visible = false