From 3cd0ea93a7279e18806105f225ebf4382d3c3e07 Mon Sep 17 00:00:00 2001 From: Frisk <7283122+Friskygote@users.noreply.github.com> Date: Tue, 19 Nov 2024 22:36:49 +0100 Subject: [PATCH] 19.11 updates --- Module.gd | 3 +- Scenes/.SlaveryIntroScene.gd.kate-swp | Bin 194 -> 0 bytes Scenes/PetsTalkMain.gd | 100 ++++++++++++++++++++++++-- Scenes/SlaveryIntroScene.gd | 1 + 4 files changed, 98 insertions(+), 6 deletions(-) delete mode 100644 Scenes/.SlaveryIntroScene.gd.kate-swp diff --git a/Module.gd b/Module.gd index 1021175..ee60a1a 100644 --- a/Module.gd +++ b/Module.gd @@ -43,7 +43,8 @@ func getFlags(): "Progression_Day_Next": flag(FlagType.Number), "Last_Day_Visited_Master": flag(FlagType.Number), "Misc_Slavery_Info": flag(FlagType.Dict), - "Progression_Points": flag(FlagType.Number) + "Progression_Points": flag(FlagType.Number), + "Taught_To_Use_Bowl": flag(FlagType.Bool) } diff --git a/Scenes/.SlaveryIntroScene.gd.kate-swp b/Scenes/.SlaveryIntroScene.gd.kate-swp deleted file mode 100644 index 31d294b727d2130dbace5b2b9ab5e241508fc31c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 194 zcmZQzU=Z?7EJ;-eE>A2_aLdd|RWQ;sU|?VnF?WeqSR!@YH7h>pXT;XtFyp&BWP`(j zGCzUX+Y?Cq0%8zg;^cG 1 and RNG.randi_range(1, 6) < 3: + match descriptors: + [1, 2]: + return RNG.choice(humanoids_animals_lamia_art) + [1, 3]: + return RNG.choice(humanoids_backgrounds_lamia_art) + [2, 3]: + return RNG.choice(animals_backgrounds_lamia_art) + _: + return RNG.choice(all_features_combined_lamia_art) + else: + var result = "" + descriptors.shuffle() + while descriptors.size() > 0: + if result != "": + result = result + ", " + var feature = descriptors.pop_front() + match feature: + 1: + result = result + RNG.choice(humanoids_lamia_art) + 2: + result = result + RNG.choice(animal_flora_lamia_art) + 3: + result = result + RNG.choice(background_lamia_art) + 4: + result = result + RNG.choice(electronics_lamia_art) + 5: + result = result + RNG.choice(odd_lamia_art) + return result + + +func verify_response(response: int): + pass - return func _react(_action: String, _args): + if _action in ["blueboxlamia1", "redboxlamia2", "greenboxlamia3", "purpleboxlamia4"]: + verify_response(int(_action[-1])) + arts_reviewed += 1 + if arts_reviewed >= 10: + if arts_correct > 7: + _action = "artminigamegoodend" + else: + _action = "artminigamebadend" + else: + _action = "artminigame" + + if _action == "artminigame": + # 1 - humanoids and items, 2 - feral animals and flora, 3 - backgrounds, 4 - others/electronic devices + var art_rand = RNG.pickWeighted([[1], [2], [3], [4], [1, 2], [1, 3], [2, 3], [1, 2, 3], [5]], [15, 15, 15, 5, 15, 15, 5, 4, 1]) + artwork = [art_rand, generate_artwork_desc(art_rand)] + if(_action == "catnip"): GM.pc.getInventory().removeXOfOrDestroy("CatnipPlant", 1) GM.main.getCharacter("azazel").addLust(10) diff --git a/Scenes/SlaveryIntroScene.gd b/Scenes/SlaveryIntroScene.gd index 37445f2..b91ca01 100644 --- a/Scenes/SlaveryIntroScene.gd +++ b/Scenes/SlaveryIntroScene.gd @@ -248,6 +248,7 @@ func _react(_action: String, _args): setModuleFlag("IssixModule", "Misc_Slavery_Info", {"day_enslaved": GM.main.getDays(), "scenes_seen": []}) setModuleFlag("IssixModule", "Progression_Points", 1) setModuleFlag("IssixModule", "Progression_Day_Next", GM.main.getDays()+1) + setModuleFlag("IssixModule", "Issix_Mood", 50) if _action == "normalroute2": var itemRef = GlobalRegistry.getItemRef("HeatPill")