a40aa57f70
All Items are added in BP with the values they are meant to have. Starting to now actually implement them into the inventory UI and creating the Inventory UI
16 lines
270 B
C++
16 lines
270 B
C++
// Fill out your copyright notice in the Description page of Project Settings.
|
|
|
|
|
|
#include "EatableItems.h"
|
|
|
|
#include "the_twilight_abyss/PlayerTemp/TempCharacter.h"
|
|
|
|
|
|
void UEatableItems::Use(ATempCharacter* Character)
|
|
{
|
|
if(Character)
|
|
{
|
|
Character->Health += 10;
|
|
}
|
|
}
|