set ObjectDescriptionCast to the number of cast "ObjectDescription"
set TextoObjectDescription to the text of cast ObjectDescriptionCast
set theMap to TMap(mnew, theName, value(line 2 of TextoObjectDescription), value(line 3 of TextoObjectDescription), value(line 4 of TextoObjectDescription))
set fMap to theMap
set n to the number of cast ("InitObject" & gIdiom)
if n <> -1 then
sound playFile 2, "@:ANAL_AU:SHOWINFO"
SetCast(gConsoleText, n)
updateStage()
end if
set tiempo to the ticks
set numDuda to value(line 5 of TextoObjectDescription)
set fDudaList to InitList(numDuda)
ShuffleList(fDudaList)
set fNextDuda to 1
set numData to value(line 6 of TextoObjectDescription)
set fDataList to InitList(numData)
ShuffleList(fDataList)
set fNextData to 1
set tiempo to the ticks
set numSubsys to value(line 8 of TextoObjectDescription)
set princInfoOffset to 10 + numSubsys
set numPhysPrinc to value(line princInfoOffset of TextoObjectDescription)
set princList to []
repeat with i = 1 to numPhysPrinc
set thePrinc to line princInfoOffset + i of TextoObjectDescription
append(princList, thePrinc)
end repeat
set fPrinc to TPopup(mnew, princList, gPopupBaseSprite, "PrincMenu" & gIdiom, "PopupHilite", 25, 150, 5)
set invOffset to princInfoOffset + numPhysPrinc + 2
set numInventors to value(line invOffset of TextoObjectDescription)
set fInv to []
set fInvOffset to []
repeat with i = 1 to numInventors
set invName to line invOffset + (i * 2) - 1 of TextoObjectDescription
append(fInv, invName)
set itsOffset to value(line invOffset + (i * 2) of TextoObjectDescription)
append(fInvOffset, itsOffset)
end repeat
set fSubsys to []
set FlagOffset to invOffset + (numInventors * 2) + 2
set fSusSubsistemsFlag to value(line FlagOffset of TextoObjectDescription)
method mLinkMap
fMap(mSetItsObject, me)
method mGetSubSubsisFlag
return fSusSubsistemsFlag
method mInitializeSubsystems
global gIdiom
set subsysInfoOffset to 8
set ObjectDescriptionCast to the number of cast "ObjectDescription"
set numSubsys to value(line subsysInfoOffset of the text of cast ObjectDescriptionCast)
repeat with i = 1 to numSubsys
set n to the number of cast ("InitSubsys" & i & gIdiom)
if n <> -1 then
sound playFile 2, "@:ANAL_AU:SHOWINFO"
SetCast(gConsoleText, n)
updateStage()
end if
set subsysName to line subsysInfoOffset + i of the text of cast ObjectDescriptionCast
set theSubsys to TSubsys(mnew, subsysName, EMPTY, me)