1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889 |
- # mod_addedflavour_Map
- if $ARGS[0] = 'NaviMapSetup':
- gs 'mod_addedflavour_Map' , 'KillVars'
- $modVar_AF_MapGridName['11'] = 'Vasilyevsky Island'
- $modVar_AF_MapGridName['12'] = 'St Petersburg City Center'
- $modVar_AF_MapGridName['13'] = 'St Petersburg Residential Area'
- $modVar_AF_MapGridName['14'] = 'St Petersburg Industrial Area'
- $modVar_AF_MapGridName['15'] = 'Red Light District'
- $modVar_AF_MapGridName['16'] = 'St Petersburg Suburbs'
- $modVar_AF_MapGridName['21'] = 'Vasilyevsky Island Metro'
- $modVar_AF_MapGridName['22'] = 'St Petersburg Transit Center'
- $modVar_AF_MapGridName['23'] = 'St Petersburg Residential Metro'
- $modVar_AF_MapGridName['24'] = 'St Petersburg Industrial Transit'
- $modVar_AF_MapGridName['25'] = 'St Petersburg Suburbs Metro'
- $modVar_AF_MapGridName['26'] = 'St Petersburg - Pavlovsk Highway'
- $modVar_AF_MapGridName['27'] = 'Suburban Collective Village'
- $modVar_AF_MapGridName['33'] = 'Pavlovsk Industrial District'
- $modVar_AF_MapGridName['34'] = 'Pavlovsk Commercial Area'
- $modVar_AF_MapGridName['35'] = 'St Petersburg - Pavlovsk Highway'
- $modVar_AF_MapGridName['36'] = 'St Petersburg - Pavlovsk Highway'
- $modVar_AF_MapGridName['37'] = 'Gadukino Village'
- $modVar_AF_MapGridName['43'] = 'Pavlovsk Five-Eight Estate'
- $modVar_AF_MapGridName['44'] = 'Pavlovsk Residential Area'
- $modVar_AF_MapGridName['45'] = 'Old Town'
- $modVar_AF_MapGridName['47'] = 'Gadukino Woods'
- modArr_AF_MapGridLoc[] = 11
- modArr_AF_MapGridLoc[] = 12
- modArr_AF_MapGridLoc[] = 13
- modArr_AF_MapGridLoc[] = 14
- modArr_AF_MapGridLoc[] = 15
- modArr_AF_MapGridLoc[] = 16
- modArr_AF_MapGridLoc[] = 21
- modArr_AF_MapGridLoc[] = 22
- modArr_AF_MapGridLoc[] = 23
- modArr_AF_MapGridLoc[] = 24
- modArr_AF_MapGridLoc[] = 25
- modArr_AF_MapGridLoc[] = 26
- modArr_AF_MapGridLoc[] = 27
- modArr_AF_MapGridLoc[] = 33
- modArr_AF_MapGridLoc[] = 34
- modArr_AF_MapGridLoc[] = 35
- modArr_AF_MapGridLoc[] = 36
- modArr_AF_MapGridLoc[] = 37
- modArr_AF_MapGridLoc[] = 43
- modArr_AF_MapGridLoc[] = 44
- modArr_AF_MapGridLoc[] = 45
- modArr_AF_MapGridLoc[] = 47
- if Storyline = 1:
- $modVar_AF_TempStr = 'Full'
- gt 'mod_addedflavour_Map' , 'NaviMap' , 43
- else
- $modVar_AF_TempStr = 'Full'
- gt 'mod_addedflavour_Map' , 'NaviMap' , 12
- end
- end
-
- if $ARGS[0] = 'KillVars':
- KILLVAR '$modVar_AF_MapGridName'
- KILLVAR 'modArr_AF_MapGridLoc'
- KILLVAR '$modVar_AF_TempStr'
- KILLVAR 'modVar_AF_MapDisplayLoc'
- end
-
- if $ARGS[0] = 'NaviMap':
- *clr & cla
- modVar_AF_MapDisplayLoc = ARGS[1]
- '<center><h2><<$modVar_AF_MapGridName[''<<modVar_AF_MapDisplayLoc>>'']>></h2></center>'
- '<center><img style="<<$modVar_AF_ImageRestrictions>>" ' + iif($modVar_AF_TempStr = 'Half','width="400px" height="400px"','') + ' src="mod/addedflavour/images/system/map/MapGrid-<<modVar_AF_MapDisplayLoc>>.jpg"></center>'
- '<center>' + iif(arrpos('modArr_AF_MapGridLoc',(modVar_AF_MapDisplayLoc - 1)) ! -1,'<a href="exec: gt ''mod_addedflavour_Map'' , ''NaviMap'' , (modVar_AF_MapDisplayLoc - 1) "><img style="<<$modVar_AF_ImageRestrictions>>" src="mod/addedflavour/images/system/LeftArrow.png"></a>','<img style="<<$modVar_AF_ImageRestrictions>>" src="mod/addedflavour/images/system/LeftArrowGrey.png">') + iif(arrpos('modArr_AF_MapGridLoc',(modVar_AF_MapDisplayLoc - 10)) ! -1,'<a href="exec: gt ''mod_addedflavour_Map'' , ''NaviMap'' , (modVar_AF_MapDisplayLoc - 10) "><img style="<<$modVar_AF_ImageRestrictions>>" src="mod/addedflavour/images/system/UpArrow.png"></a>','<img style="<<$modVar_AF_ImageRestrictions>>" src="mod/addedflavour/images/system/UpArrowGrey.png">') + iif(arrpos('modArr_AF_MapGridLoc',(modVar_AF_MapDisplayLoc + 10)) ! -1,'<a href="exec: gt ''mod_addedflavour_Map'' , ''NaviMap'' , (modVar_AF_MapDisplayLoc + 10) "><img style="<<$modVar_AF_ImageRestrictions>>" src="mod/addedflavour/images/system/DownArrow.png"></a>','<img style="<<$modVar_AF_ImageRestrictions>>" src="mod/addedflavour/images/system/DownArrowGrey.png">') + iif(arrpos('modArr_AF_MapGridLoc',(modVar_AF_MapDisplayLoc + 1)) ! -1,'<a href="exec: gt ''mod_addedflavour_Map'' , ''NaviMap'' , (modVar_AF_MapDisplayLoc + 1) "><img style="<<$modVar_AF_ImageRestrictions>>" src="mod/addedflavour/images/system/RightArrow.png"></a>','<img style="<<$modVar_AF_ImageRestrictions>>" src="mod/addedflavour/images/system/RightArrowGrey.png">') + '</center>'
- if $modVar_AF_TempStr = 'Half':
- act 'Return to Full Size' : $modVar_AF_TempStr = 'Full' & gt 'mod_addedflavour_Map' , 'NaviMap' , modVar_AF_MapDisplayLoc
- else
- act 'Reduce size by 50%' : $modVar_AF_TempStr = 'Half' & gt 'mod_addedflavour_Map' , 'NaviMap' , modVar_AF_MapDisplayLoc
- end
- act 'Return' : gs 'mod_addedflavour_Map' , 'KillVars' & gt 'mod_addedflavour_journal' , 'AFMDetails'
- end
-
- if $ARGS[0] = 'FullMap':
- *clr & cla
- '<center><img ' + iif(ARGS[1] = 1,'width="2778px" height="1632px"','') + ' src="mod/addedflavour/images/system/map/SimpleMapFull.jpg"></center>'
- if ARGS[1] = 1:
- act 'Return to Full Size' : gt 'mod_addedflavour_Map' , 'FullMap'
- else
- act 'Zoom in 50%' : gt 'mod_addedflavour_Map' , 'FullMap' , 1
- end
- act 'Return' : gt 'mod_addedflavour_journal' , 'AFMDetails'
- end
- --- mod_addedflavour_Map ---------------------------------
|