RPG world mod: tile maps, grid walking, map events, battles
Maps of square tiles in three layers plus a collision layer, mounted over the 2D shell when their scene is entered. WASD walking, E/F action events, touch teleports, story-flag conditions, random encounters, rpg.battle and rpg.teleport actions, position saving. Integration suite rpg_walk.
This commit is contained in:
commit
5ca225a2d7
43 files changed
+2066
No files matched your search
@@ -0,0 +1,14 @@
|
||||
using Cthangover.Core.Bootstrap;
|
||||
|
||||
namespace Cthangover.Mods.Rpg
|
||||
{
|
||||
/// <summary>New game: the player starts at the spawn of the entry map.</summary>
|
||||
public class RpgStateReset : IResettable
|
||||
{
|
||||
/// <summary>Deduplication key in <see cref="AppServices"/>.</summary>
|
||||
public string Id => "rpg";
|
||||
|
||||
/// <summary>Forgets the position.</summary>
|
||||
public void ResetForNewGame() => RpgState.Instance.Reset();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user