onobjsel 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  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] = 'Skills:$menu_skills'
  6. $menu_character[2] = 'Statistics:$menu_statistika'
  7. $menu_character[3] = 'Fame:$menu_reputation'
  8. $menu_character[4] = 'Pain:$menu_pain'
  9. if pcs_magik > 0:$menu_character[5] = 'Magic:$menu_magic'
  10. killvar 'menu_lookon'
  11. $menu_lookon[0] = 'Face:$menu_face'
  12. $menu_lookon[1] = 'Body:$menu_body'
  13. $menu_lookon[2] = 'Clothing:$menu_clothes'
  14. $menu_lookon[3] = 'Shoes:$menu_shoes'
  15. $menu_lookon[4] = 'Tattoos:$menu_tattoos'
  16. $menu_lookon[5] = 'Piercing:$menu_pirs'
  17. killvar 'menu_view'
  18. $menu_view[0] = 'The old menu:$menu_addoldmenu'
  19. $menu_view[1] = 'Cheat menu:$menu_cheat'
  20. $menu_view[2] = 'Refresh:$menu_obnovit'
  21. killvar 'menu_other'
  22. $menu_other[0] = 'Notebook:$menu_bloknot'
  23. $menu_other[1] = 'Emergency exit:$menu_avariya'
  24. if disable_autosave = 1:
  25. $menu_other[2] = 'Enable autosave:$menu_autosave'
  26. else
  27. $menu_other[2] = 'Disable autosave:$menu_autosave'
  28. end
  29. if mobila > 0:$menu_other[3] = 'Phone:$menu_mobila'
  30. !The old menu: beginning
  31. if $selobj = '<font color = green>Character</font>':gs 'obj_din', 'descrip'
  32. if $selobj = 'Skills':gs 'obj_din', 'skills'
  33. if $selobj = 'Statistics':gs 'obj_din', 'stats'
  34. if $selobj = 'Pain':gs 'obj_din', 'pain'
  35. if $selobj = 'Fame':gs 'obj_din', 'reputation'
  36. if pcs_magik > 0:if $selobj = 'Magic':gs 'obj_din', 'magic'
  37. if $selobj = 'Face':view FUNC('$face_image')
  38. if $selobj = 'Body':gs 'obj_din', 'body'
  39. if $selobj = 'Clothing':gs 'obj_din', 'clothes'
  40. if $selobj = 'Shoes':gs 'obj_din', 'shoes'
  41. if $selobj = 'Tattoos':gs 'obj_din', 'tattoos'
  42. if $selobj = 'Piercing':gs 'obj_din', 'piercing'
  43. if $selobj = 'Purse':dynamic $d_bag
  44. if $selobj = 'Phone':gs 'telefon','Phone_menu'
  45. if $selobj = 'Notebook':gs 'obj_din', 'records'
  46. if $selobj = 'Refresh':gs '$menu_obnovit'
  47. if $selobj = 'The new menu':menu_option = 0 & gs 'obj_din', 'new'
  48. if $selobj = 'Cheat menu':gs 'Cheatmenu_din' & dynamic $cheatmenu
  49. if $selobj = 'Emergency exit':gs 'obj_din', 'exit'
  50. if disable_autosave = 1:
  51. if $selobj = 'Enable autosave':gs 'obj_din', 'autosave'
  52. else
  53. if $selobj = 'Disable autosave':gs 'obj_din', 'autosave'
  54. end
  55. !The old menu: end
  56. !The new menu: beginning
  57. if $selobj = '<img src="images/system/icon/pers.png">':menu '$menu_character'
  58. if $selobj = '<img src="images/system/icon/look.png">':menu '$menu_lookon'
  59. if $selobj = '<img src="images/system/icon/proch.png">':menu '$menu_other'
  60. if $selobj = '<img src="images/system/icon/phone.png">':gs 'din_bad' & gs 'telefon','Phone_menu'
  61. if $selobj = '<img src="images/system/icon/purse.png">':dynamic $d_bag
  62. if $selobj = '<img src="images/system/icon/menu.png">':menu '$menu_view'
  63. !The new menu: end
  64. if $selobj = 'Player':
  65. clr
  66. pl'Your name is Mikhail Kuznetsov. You <<age>> years. <<$vneshPRE>>'
  67. pl'You have short black hair with flashes of gray starting, little brown eyes and willed jaw covered by blue bristle shave.'
  68. pl'Growth <<pcs_hgt>> see, weight 100 kg.'
  69. end
  70. !! gs'Menu.Create','mainMenu'
  71. !! gs'Menu.Add','mainMenu','Status Bar','','MenuMainLoc','0'
  72. !! gs'Menu.Add','mainMenu','Text Symbols','','MenuMainLoc','1'
  73. !! gs'Menu.Call','mainMenu'
  74. unselect
  75. --- onobjsel ---------------------------------