Game (functions)/Dungeons: Difference between revisions
From PMDOWiki
Created page with " == GAME:GetDailySeed == Gets the random seed for the current adventure. === Returns === The current adventure's seed. == GAME:UnlockDungeon(System.String) == Unlocks a specified dungeon. === Arguments === * <code>dungeonid</code>: ID of the dungeon to unlock. == GAME:DungeonUnlocked(System.String) == Checks if a dungeon is unlocked. === Arguments === * <code>dungeonid</code>: ID of the dungeon to check === Returns === True if unlocked, false otherwise." |
No edit summary |
||
| Line 1: | Line 1: | ||
== | == GetDailySeed == | ||
Returns the random seed for the current adventure. | |||
== UnlockDungeon == | |||
== | |||
Unlocks the specified dungeon. {{FuncUsage|nmspace=GAME|nm=UnlockDungeon|args=dunID}} | |||
=== Arguments === | === Arguments === | ||
{| class="wikitable" | |||
{{ArgHeader}} | |||
{{ArgRow | |||
|name=dunID | |||
|type=String | |||
|techt=System.String | |||
|purp=ID of the dungeon to unlock | |||
}} | |||
|} | |||
== DungeonUnlocked == | |||
== | |||
Returns true if the specified dungeon is unlocked, false if not. {{FuncUsage|nmspace=GAME|nm=DungeonUnlocked|args=dunID}} | |||
=== Arguments === | === Arguments === | ||
{| class="wikitable" | |||
{{ArgHeader}} | |||
{{ArgRow | |||
|name=dunID | |||
|type=String | |||
|techt=System.String | |||
|purp=ID of the dungeon to check | |||
}} | |||
|} | |||
Latest revision as of 00:05, 18 January 2026
GetDailySeed
Returns the random seed for the current adventure.
UnlockDungeon
Unlocks the specified dungeon. Argument order is GAME:UnlockDungeon(dunID).
Arguments
| Name | Type | Technical Type | Purpose |
|---|---|---|---|
| dunID | String | System.String
|
ID of the dungeon to unlock |
DungeonUnlocked
Returns true if the specified dungeon is unlocked, false if not. Argument order is GAME:DungeonUnlocked(dunID).
Arguments
| Name | Type | Technical Type | Purpose |
|---|---|---|---|
| dunID | String | System.String
|
ID of the dungeon to check |
