droppable items and win
This commit is contained in:
parent
0f6445d677
commit
5bdbfa4d82
47 changed files with 820 additions and 85 deletions
15
scripts/resources/PlantReward.cs
Normal file
15
scripts/resources/PlantReward.cs
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
using Godot;
|
||||
using Newlon;
|
||||
|
||||
[GlobalClass]
|
||||
[Tool]
|
||||
public partial class PlantReward : RewardResource
|
||||
{
|
||||
[Export]
|
||||
public PlantResource Plant { get; private set; }
|
||||
public override PackedScene GetPreview()
|
||||
{
|
||||
return Plant.Scene;
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue