Skip to content

Derived maps

Pival edited this page Jul 17, 2021 · 9 revisions

A module use to create Squad Assault and Chain Challenge pages.

Functions

SquadAssault()

SquadAssault(mapId)

Parameter Type
mapId String

Return: String


ChainChallengeMap()

ChainChallengeMap(mapId, StageEvent, index, notif)

Parameter Type Default
mapId String
StageEvent SequentialTrialStory object None
index Integer None
notif String ""

Return: String


ChainChallengeGroup()

ChainChallengeGroup(groupId)

Parameter Type
groupId String

Return: Dict (String, String)


BlessedGarden()

BlessedGarden(groupId)

Currently inexistant

__main__

python3 DerivedMap.py [mapId | groupId]

Internal functions

MapIdToDiff()

MapIdToDiff(mapId)

Parameter Type
mapId String

Return: String


getRequiredStage()

getRequiredStage(mapId)

Parameter Type
mapId String

Return: StageScenario object


BasedCC()

BasedCC(StageEvent, index)

Parameter Type
StageEvent SequentialTrialStory object (Main or Side independently)
index Integer

Return:


getDerivedSettings()

getDerivedSettings(dMap, groupId, index)

Parameter Type
dMap List (DerivedMap object)
groupId String
index Integer

Return: DerivedSettings.value object


MapInfoboxCC()

MapInfoboxCC(stage, index)

Parameter Type
stage SequentialTrialStory object
index Integer

Return:


DerivedUnitData()

DerivedUnitData(derivedMap, i, newId)

Parameter Type
derivedMap List (DerivedMap object)
i Integer
newId String

Return: String


UnitDataSA()

UnitDataSA(maps)

Parameter Type
maps SquentialTrialBind.scenario.maps object

Return: String


UnitDataCC()

UnitDataCC(stage, index)

Parameter Type
stage SequentialTrialStory object
index Integer

Return: String

DerivedMapSettings.py

A module which simply holds globals used by DerivedMap.py.

DERIVED_SETTINGS

Type: List (DerivedSettings object)

DerivedSettings object

{
    "value": List ({
        "name": String,
        "diff": List (String),
        "extraCond": (String, Integer) -> Boolean,
    }),
    "mapCond": List (DerivedMap object),
}

DerivedMap object

REORGANIZED_DERIVED_SETTINGS

Type: List (DerivedSettings object)

  • REUtil.py
  • Reverse.py
  • Events
    • RevVG.py
    • RevTT.py
    • RevTB.py
    • RevGC.py
    • RevFB.py
    • RevRS.py
    • RevLL.py
    • RevHoF.py
    • RevMS.py
    • RevFP.py
    • RevPoL.py
  • Others
    • RevData.py
    • RevMap.py
    • RevQuests.py
    • RevSound.py
    • RevUnit.py
Clone this wiki locally