intermediate
RPG Essentials Kit
Core RPG systems: health, inventory, dialogue, quests, save/load, and damage numbers — everything for an RPG prototype.
Features
Health system with damage, healing, and death events
Simple inventory with stacking and capacity limits
NPC dialogue with typewriter effect and sequential messages
Quest tracker with ScriptableObject definitions and objectives
JSON file-based save/load for game state persistence
Floating damage and healing numbers with animations
Included Scripts
/rpg-essentials-kit/
Setup Guide
1
Import all scripts into your project
2
Add HealthSystem to player and enemies
3
Create SimpleInventory on the player for item management
4
Set up dialogue UI panel and attach DialogueTrigger to NPCs
5
Create QuestData ScriptableObjects for your quests
6
Attach QuestSystem to a persistent manager
7
Use JsonSaveUtility to save/load game progress
8
DamagePopup.Create() spawns floating numbers on hits
Code Preview
C#
// QuestData.cs - ScriptableObject quest definition
[CreateAssetMenu(menuName = "Quests/Quest Data")]
public class QuestData : ScriptableObject
{
public string questName;
public string description;
public QuestObjective[] objectives;
public int experienceReward;
}
// QuestSystem.cs - Quest management
public class QuestSystem : MonoBehaviour
{
public bool AcceptQuest(QuestData quest) { /* ... */ }
public void ReportProgress(string objectiveId) { /* ... */ }
}Available Individually
These scripts are also available as standalone downloads: