1
0

onobjsel 3.5 KB

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