i put a whole SIX minutes of effort into this commit!

This commit is contained in:
Sylvia 2026-09-07 14:54:30 -07:00
parent 9304861963
commit 813a8c2a5c
5 changed files with 24 additions and 8 deletions

View file

@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="UserContentModel">
<attachedFolders />
<explicitIncludes />
<explicitExcludes />
</component>
</project>

View file

@ -0,0 +1,6 @@
using UnityEngine;
public class BookSorting : MicroGameHandler
{
}

View file

@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: ec002d7fbf01e52d1b7e386da7f042fe

View file

@ -40,6 +40,11 @@ public class MarisaPotionMaker : MicroGameHandler
public int currentPotionIndex; public int currentPotionIndex;
[SerializeField] private TextMeshProUGUI potionRecipeTitle; [SerializeField] private TextMeshProUGUI potionRecipeTitle;
[SerializeField] private TextMeshProUGUI potionRecipeText; [SerializeField] private TextMeshProUGUI potionRecipeText;
public override void StartGame()
{
base.StartGame();
StartPotion(allPotions[Random.Range(0, allPotions.Length)]);
}
public void StartPotion(MicrogamePotion potionRequested) public void StartPotion(MicrogamePotion potionRequested)
{ {

View file

@ -8,6 +8,12 @@ public class MicroGameHandler : MonoBehaviour
public int score; public int score;
public int minimumScore; public int minimumScore;
public bool loseOnTimeLimit; public bool loseOnTimeLimit;
private void Start()
{
StartGame();
}
private void Update() private void Update()
{ {
currentTime -= Time.deltaTime; currentTime -= Time.deltaTime;
@ -34,4 +40,9 @@ public class MicroGameHandler : MonoBehaviour
{ {
} }
public virtual void StartGame()
{
}
} }