Skip to content

Commit fe4da5a

Browse files
add {MAPSEED} from v4
1 parent 6758235 commit fe4da5a

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

ScriptedEvents/Variables/MapVariables.cs

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,22 @@ public class MapVariables : IVariableGroup
3232
new RandomDoor(),
3333
new InRoom(),
3434
new CassieSpeaking(),
35+
new MapSeed(),
3536
};
3637
}
3738

39+
public class MapSeed : IStringVariable
40+
{
41+
/// <inheritdoc/>
42+
public string Name => "{MAPSEED}";
43+
44+
/// <inheritdoc/>
45+
public string Description => "Returns the current map seed.";
46+
47+
/// <inheritdoc/>
48+
public string Value => Map.Seed.ToString();
49+
}
50+
3851
public class CassieSpeaking : IBoolVariable
3952
{
4053
/// <inheritdoc/>

0 commit comments

Comments
 (0)