1
0

onobjsel 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. # onobjsel
  2. !the dynamics can all be found in obj_din and Cheatmenu_din
  3. killvar 'menu_character'
  4. $menu_character[0] = 'Description:$menu_descrip'
  5. $menu_character[1] = 'Characteristics of:$menu_skills'
  6. $menu_character[2] = 'Statistics:$menu_statistika'
  7. $menu_character[3] = 'Reputation:$menu_reputation'
  8. $menu_character[4] = 'Pain:$menu_pain'
  9. if magik > 0:$menu_character[5] = 'Magic:$menu_magic'
  10. $menu_lookon[0] = 'Face:$menu_face'
  11. $menu_lookon[1] = 'Body:$menu_body'
  12. $menu_lookon[2] = 'Clothing:$menu_clothes'
  13. $menu_lookon[3] = 'Tattoos:$menu_tattoos'
  14. $menu_lookon[4] = 'Piercing:$menu_pirs'
  15. killvar 'menu_view'
  16. $menu_view[0] = 'The old menu:$menu_addoldmenu'
  17. $menu_view[1] = 'Cheat menu:$menu_cheat'
  18. $menu_view[2] = 'Refresh:$menu_obnovit'
  19. killvar 'menu_other'
  20. $menu_other[0] = 'Notebook:$menu_bloknot'
  21. $menu_other[1] = 'Emergency exit:$menu_avariya'
  22. if disable_autosave = 1:
  23. $menu_other[2] = 'Enable autosave:$menu_autosave'
  24. else
  25. $menu_other[2] = 'Disable autosave:$menu_autosave'
  26. end
  27. if mobila > 0:$menu_other[3] = 'Phone:$menu_mobila'
  28. !The old menu: beginning
  29. if $selobj = '<font color = green>Character</font>':dynamic $objdescrip
  30. if $selobj = 'Skills':dynamic $objskills
  31. if $selobj = 'Statistics':dynamic $objstatistika
  32. if magik > 0:if $selobj = 'Magic':dynamic $objmagic
  33. if $selobj = 'Face':view FUNC('$face_image')
  34. if $selobj = 'Body':dynamic $objbody
  35. if $selobj = 'Clothing':dynamic $objclothes
  36. if $selobj = 'Tattoos':dynamic $objtattoos
  37. if $selobj = 'Piercing':dynamic $objpirsing
  38. if $selobj = 'Notebook':dynamic $objbloknot
  39. if $selobj = 'Emergency exit':dynamic $objavariya
  40. if $selobj = 'Refresh':gs'stat'
  41. if $selobj = 'The new menu':dynamic $objnewmenu
  42. if $selobj = 'Cheat menu':gs 'Cheatmenu_din' & dynamic $cheatmenu
  43. if disable_autosave = 1:
  44. if $selobj = 'Enable autosave':dynamic $objautosave
  45. else
  46. if $selobj = 'Disable autosave':dynamic $objautosave
  47. end
  48. !The old menu: end
  49. !The new menu: beginning
  50. if $selobj = '<img src="images/pic/icon/Pers.png">':menu '$menu_character'
  51. if $selobj = '<img src="images/pic/icon/look.png">':menu '$menu_lookon'
  52. if $selobj = '<img src="images/pic/icon/Proch.png">':menu '$menu_other'
  53. if $selobj = '<img src="images/pic/icon/Phone.png">':gs 'din_bad' & dynamic $Phone_menu
  54. if $selobj = '<img src="images/pic/icon/Purse.png">':dynamic $d_bag
  55. if $selobj = '<img src="images/pic/icon/menu.png">':menu '$menu_view'
  56. !The new menu: end
  57. if $selobj = 'Player':
  58. clr
  59. pl'Your name is Mikhail Kuznetsov. You <<age>> years. <<$vneshPRE>>'
  60. pl'You have short black hair with flashes of gray starting, little brown eyes and willed jaw covered by blue bristle shave.'
  61. pl'Growth <<rost>> see, weight 100 kg.'
  62. end
  63. !'
  64. gs'Menu.Create','mainMenu'
  65. gs'Menu.Add','mainMenu','Status Bar','','MenuMainLoc','0'
  66. gs'Menu.Add','mainMenu','Text Symbols','','MenuMainLoc','1'
  67. gs'Menu.Call','mainMenu'
  68. '
  69. unselect
  70. --- onobjsel ---------------------------------