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