On the Phaser Forum Langerz82 posted about having taken the PhaserQuest source, and modified it to add roleplaying elements. For example it how has leveling and an equipment system.
PhaserQuest RPG Mod
A mod to the PhaserQuest source that adds roleplaying elements.