|
@@ -169,9 +169,49 @@ if birthday = day and birthmonth = month: $stat_msg += '<BR><b>Today is your bir
|
|
|
|
|
|
!New icon based menu.
|
|
|
if menu_off = 0:
|
|
|
- $stat_msg += '<table><tr><td><a href="exec:killvar ''menu_page'' & gs ''obj_din'', ''description''"><img src="images/system/menu icons/icon_character.png"></a></td><td><a href="exec:killvar ''menu_page'' & gs ''obj_din'', ''face''"><img src="images/system/menu icons/icon_lookself.png"></a></td>'+iif(bag > 0,'<td><a href="exec:gs ''din_bad'', ''d_bag''"><img src="images/system/menu icons/icon_purse.png"></a></td>','')+'<td><a href="exec:gs ''telefon'',''Phone_menu''"><img src="images/system/menu icons/icon_phone.png"></a></td><td><a href="exec:gs ''obj_din'', ''records''"><img src="images/system/menu icons/icon_additional.png"></a></td><td><a href="exec:killvar ''menu_page'' & gs''$menu_setting''"><img src="images/system/menu icons/icon_menu.png"></a></td></tr></table>'
|
|
|
+ $menuBarTab += '<table>
|
|
|
+ <tr>
|
|
|
+ <td><a href="exec:killvar ''menu_page'' & gs ''obj_din'', ''description''"><img src="images/system/menu icons/icon_character.png"></a></td>
|
|
|
+ <td><a href="exec:killvar ''menu_page'' & gs ''obj_din'', ''face''"><img src="images/system/menu icons/icon_lookself.png"></a></td>'
|
|
|
+ if bag > 0:
|
|
|
+ $menuBarTab += '
|
|
|
+ <td><a href="exec:gs ''din_bad'', ''d_bag''"><img src="images/system/menu icons/icon_purse.png"></a></td>'
|
|
|
+ end
|
|
|
+ $menuBarTab += '
|
|
|
+ <td><a href="exec:gs ''telefon'',''Phone_menu''"><img src="images/system/menu icons/icon_phone.png"></a></td>'
|
|
|
+ if MagikDostup = 0:
|
|
|
+ $menuBarTab += '
|
|
|
+ <td><a href="exec:gs ''spellBook'',''$nonComSpells''"><img src="images/system/menu icons/icon_magic.png"></a></td>'
|
|
|
+ end
|
|
|
+ $menuBarTab += '
|
|
|
+ <td><a href="exec:gs ''obj_din'', ''records''"><img src="images/system/menu icons/icon_additional.png"></a></td>
|
|
|
+ <td><a href="exec:killvar ''menu_page'' & gs''$menu_setting''"><img src="images/system/menu icons/icon_menu.png"></a></td>
|
|
|
+ </tr>
|
|
|
+</table>'
|
|
|
+ $stat_msg += func('cleanHTML',$menuBarTab)
|
|
|
+ killvar '$menuBarTab'
|
|
|
elseif menu_off = 1:
|
|
|
- $stat_msg += '<table><tr><td><a href="exec:killvar ''menu_page'' & gs ''obj_din'', ''menu_disabled''"><img src="images/system/menu icons/icon_character.png"></a></td><td><a href="exec:killvar ''menu_page'' & gs ''obj_din'', ''menu_disabled''"><img src="images/system/menu icons/icon_lookself.png"></a></td>'+iif(bag > 0,'<td><a href="exec:gs ''obj_din'', ''menu_disabled''"><img src="images/system/menu icons/icon_purse.png"></a></td>','')+'<td><a href="exec:gs ''telefon'',''Phone_menu''"><img src="images/system/menu icons/icon_phone.png"></a></td><td><a href="exec:gs ''obj_din'', ''menu_disabled''"><img src="images/system/menu icons/icon_additional.png"></a></td><td><a href="exec:killvar ''menu_page'' & gs''obj_din'', ''menu_disabled''"><img src="images/system/menu icons/icon_menu.png"></a></td></tr></table>'
|
|
|
+ $menuBarTab += '<table>
|
|
|
+ <tr>
|
|
|
+ <td><a href="exec:killvar ''menu_page'' & gs ''obj_din'', ''menu_disabled''"><img src="images/system/menu icons/icon_character.png"></a></td>
|
|
|
+ <td><a href="exec:killvar ''menu_page'' & gs ''obj_din'', ''menu_disabled''"><img src="images/system/menu icons/icon_lookself.png"></a></td>'
|
|
|
+ if bag > 0:
|
|
|
+ $menuBarTab += '
|
|
|
+ <td><a href="exec:gs ''obj_din'', ''menu_disabled''"><img src="images/system/menu icons/icon_purse.png"></a></td>'
|
|
|
+ end
|
|
|
+ $menuBarTab += '
|
|
|
+ <td><a href="exec:gs ''telefon'',''Phone_menu''"><img src="images/system/menu icons/icon_phone.png"></a></td>'
|
|
|
+ if MagikDostup = 0:
|
|
|
+ $menuBarTab += '
|
|
|
+ <td><a href="exec:gs ''spellBook'',''$nonComSpells''"><img src="images/system/menu icons/icon_magic.png"></a></td>'
|
|
|
+ end
|
|
|
+ $menuBarTab += '
|
|
|
+ <td><a href="exec:gs ''obj_din'', ''menu_disabled''"><img src="images/system/menu icons/icon_additional.png"></a></td>
|
|
|
+ <td><a href="exec:killvar ''menu_page'' & gs''obj_din'', ''menu_disabled''"><img src="images/system/menu icons/icon_menu.png"></a></td>
|
|
|
+ </tr>
|
|
|
+</table>'
|
|
|
+ $stat_msg += func('cleanHTML',$menuBarTab)
|
|
|
+ killvar '$menuBarTab'
|
|
|
end
|
|
|
|
|
|
$pockets = 'Pockets'
|