Skip to content

Instantly share code, notes, and snippets.

@xanathar
Created March 22, 2021 13:04
Show Gist options
  • Save xanathar/569a0c2ecd6405f9d2add39b7965750d to your computer and use it in GitHub Desktop.
Save xanathar/569a0c2ecd6405f9d2add39b7965750d to your computer and use it in GitHub Desktop.
Waking Violet, simple level
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using API;
namespace Assets.Code.Anubi.Levels
{
class D04 : LevelScript
{
protected override string _Cinematics()
{
return "*X";
}
protected override string _Map()
{
return @"
####
#f.#
#.C#
###.#####
#P.F..r.###
#..F..p.|*#
#X.F..q.###
###.#####
#.C#
#f.#
#### ";
}
public override string[] _Grimoire()
{
return new string[] { "spell_clone", "spell_timewarp" };
}
protected override void _Spawns()
{
CreateCounter(3)
.Bind(PlateSmall('p'))
.Bind(PlateSmall('q'))
.Bind(PlateSmall('r'))
.WireTo(VDoor('|'));
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment