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,89 @@
extends Quest
func _init():
questName = "Constellation of Baskets"
questScale = Quest.Scales.Moderate
questPointReward = 2
func get_progress_report():
var resultText = ""
if not SaveManager.get_save_value("ambiQuestStarted", false):
return "Talk to the Ambrose on the Beach"
if SaveManager.get_save_value("ambiQuestComplete", false):
return "QUEST COMPLETE!
I found the Basket Plans.
I arranged the Basket Formation.
I learned the Infinite Basket Technique."
if !notes_check():
return get_missing_notes_info()
else:
return "I need to set up 6 baskets near Ambrose, following his notes I found."
return resultText
func get_missing_notes_info():
var result = ""
if !note_check_1():
result += "I need to find a note that flew towards the Snak Shak."
else:
result += "I found the first note behind the Snak Shak."
if !note_check_2():
result += "\nI need to find a note that flew towards the rocky island."
else:
result += "\nI got the second note from Bradrek."
if !note_check_2():
result += "\nI need to find a note that flew north and got stuck in a log."
else:
result += "\nI got the third note from inside a mushroom-covered log."
return result
func notes_check():
if !note_check_1():
return false
if !note_check_2():
return false
if !note_check_3():
return false
return true
func note_check_1():
if InventoryManager.get_item_count_by_name("Basket Plan 1", "keyItems") > 0:
return true
return false
func note_check_2():
if InventoryManager.get_item_count_by_name("Basket Plan 2", "keyItems") > 0:
return true
return false
func note_check_3():
if InventoryManager.get_item_count_by_name("Basket Plan 3", "keyItems") > 0:
return true
return false
func get_completion_message():
return "Rewards
260 Basket Weaving XP
75 Scavenging XP
2 Quest Points"
func get_requirements_report():
return "Requirements
Level 22 Basket Weaving
Level 15 Scavenging"
func complete():
LevelManager.add_XP("basketWeaving", 2600)
LevelManager.add_XP("scavenging", 750)
func is_completed():
if SaveManager.get_save_value("ambiQuestComplete", false):
return true
return false

View file

@ -0,0 +1,68 @@
extends Quest
func _init():
questName = "The Trials of Jonald"
questScale = Quest.Scales.Moderate
questPointReward = 2
func get_progress_report():
var resultText = ""
if not SaveManager.get_save_value("jonaldGardeningSectionStarted", false) and not SaveManager.get_save_value("jonaldJuiceSectionStarted", false):
return "Talk to the Jonalds in the Forest"
if SaveManager.get_save_value("jonaldTrialsQuestComplete", false):
return "QUEST COMPLETE!
I drank the Ash Juice and planted the Evidence.
I learned the Titanic Truth."
if not SaveManager.get_save_value("jonaldGardeningSectionStarted", false):
resultText += "I need to talk to the southern Jonald in the Forest"
elif not SaveManager.get_save_value("jonaldGardeningSectionCompleted", false):
resultText += "The southern Jonald told me to plant Evidence in the Pigeon Grove and report back."
if SaveManager.get_save_value("jonaldPigeonEvidencePlanted", false):
resultText += " I have planted the Evidence."
else:
resultText += " Jonald said to find the grove I should follow the Sunflower Seeds."
else:
resultText += "The southern Jonald told me to plant some Evidence and I did."
if resultText != "":
resultText += "\n"
if not SaveManager.get_save_value("jonaldJuiceSectionStarted", false):
resultText += "I need to talk to the northern Jonald in the Forest"
elif not SaveManager.get_save_value("jonaldJuiceSectionCompleted", false):
resultText += "The northern Jonald told me to drink Ash Juice and report back."
if SaveManager.get_value_from_section("drank", "Ash Juice", 0) > 0:
resultText += " I drank Ash Juice."
else:
resultText += "The northern Jonald told me to drink Ash Juice and I did."
if resultText != "":
resultText += "\n"
if SaveManager.get_save_value("jonaldGardeningSectionCompleted", false) and SaveManager.get_save_value("jonaldJuiceSectionCompleted", false):
resultText += "I need to complete the central Jonald's task"
return resultText
func get_completion_message():
return "Rewards
100 Juice Drinking XP
100 Gardening XP
2 Quest Points"
func get_requirements_report():
return "Requirements
Level 20 Juice Drinking
Level 20 Gardening"
func complete():
LevelManager.add_XP("juiceDrinking", 1000)
LevelManager.add_XP("gardening", 1000)
func is_completed():
if SaveManager.get_save_value("jonaldTrialsQuestComplete", false):
return true
return false