Game (functions)/Dungeons: Difference between revisions

From PMDOWiki
Imbion (talk | contribs)
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."
 
Imbion (talk | contribs)
No edit summary
 
Line 1: Line 1:


== GAME:GetDailySeed ==
== GetDailySeed ==


Returns the random seed for the current adventure.


Gets the random seed for the current adventure.
== UnlockDungeon ==
 
 
=== Returns ===
 
The current adventure's seed.
 
== GAME:UnlockDungeon(System.String) ==
 
 
Unlocks a specified dungeon.


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
}}
|}


* <code>dungeonid</code>: ID of the dungeon to unlock.
== DungeonUnlocked ==
 
== GAME:DungeonUnlocked(System.String) ==
 
 
Checks if a dungeon is unlocked.


Returns true if the specified dungeon is unlocked, false if not. {{FuncUsage|nmspace=GAME|nm=DungeonUnlocked|args=dunID}}


=== Arguments ===
=== Arguments ===
 
{| class="wikitable"
* <code>dungeonid</code>: ID of the dungeon to check
{{ArgHeader}}
 
{{ArgRow
=== Returns ===
|name=dunID
 
|type=String
True if unlocked, false otherwise.
|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