Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
fbd031f
started making mining
Dthebozz Aug 24, 2023
fb88d45
made each enemy a prefab for easy combat starts
Dthebozz Aug 25, 2023
b4b9b14
made it so you can hover over items to see their stats
Dthebozz Aug 25, 2023
3eb0292
Started on mining (fr)
Dthebozz Aug 26, 2023
8288bec
did more work for mining
Dthebozz Aug 26, 2023
c09bf99
you can now fight mobs as an event while mining
Dthebozz Aug 29, 2023
edbf04b
enemies now drop loot when killed
Dthebozz Aug 29, 2023
29bbe1e
Added some UI to mining
Dthebozz Aug 31, 2023
569c298
Improved UI for mining events
Dthebozz Sep 2, 2023
bdd828e
Polished mining events and fixed bugs
Dthebozz Sep 6, 2023
9a15063
You can now view inventory while mining
Dthebozz Sep 8, 2023
43045cc
The player and pickaxe is now shown when mining
Dthebozz Sep 10, 2023
71870cc
Added crafting mechanics
Dthebozz Nov 8, 2023
42cdd41
Crafting now has some UI, but is extremely crude
Dthebozz Nov 11, 2023
0c18058
improved the UI for crafting
Dthebozz Nov 12, 2023
ff90a80
Small UI improvements to crafting
Dthebozz Nov 18, 2023
179f976
Added a number of features
Dthebozz Jul 22, 2024
db9b31b
World map updated
Dthebozz Jul 28, 2024
8b0cc38
Added sleeping
Dthebozz Jul 30, 2024
67839b7
Added dungeons
Dthebozz Aug 9, 2024
8196b55
added a party view
Dthebozz Aug 16, 2024
303593c
armor now works as intended
Dthebozz Aug 19, 2024
838eb51
Added status effects and made some improvements
Dthebozz Sep 3, 2024
dd20ff0
started on world map generation
Dthebozz Sep 6, 2024
f04656d
finished world generation
Dthebozz Sep 8, 2024
6d81002
Added an awesome giant boss
Dthebozz Sep 15, 2024
bbe6be7
some minor updates
Dthebozz Nov 10, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions Assets/ClickableShield.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class ClickableShield : MonoBehaviour
{
private CombatController CC;
public Shield Shd;
public Player Owner;
public bool clickable;
// Start is called before the first frame update
void Start()
{
if (clickable) { CC = GameObject.Find("CombatController").GetComponent<CombatController>(); }
}

// Update is called once per frame
void Update()
{

}

private void OnMouseDown()
{
if (enabled && clickable && Owner.GetComponent<Combatant>().ChangeEquippedShield(Shd))
{
CC.NextTurn();
}
}
}
11 changes: 11 additions & 0 deletions Assets/ClickableShield.cs.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading