Advertisement
Guest User

Untitled

a guest
Jun 16th, 2019
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.12 KB | None | 0 0
  1. --[[---------------------------------------------------------------------------
  2. DarkRP custom food
  3. ---------------------------------------------------------------------------
  4.  
  5. This file contains your custom food.
  6. This file should also contain food from DarkRP that you edited.
  7.  
  8. THIS WILL ONLY LOAD IF HUNGERMOD IS ENABLED IN darkrp_config/disabled_defaults.lua.
  9. IT IS DISABLED BY DEFAULT.
  10.  
  11. Note: If you want to edit a default DarkRP food, first disable it in darkrp_config/disabled_defaults.lua
  12. Once you've done that, copy and paste the food item to this file and edit it.
  13.  
  14. The default food can be found here:
  15. https://github.com/FPtje/DarkRP/blob/master/gamemode/modules/hungermod/sh_init.lua#L33
  16.  
  17. Add food under the following line:
  18. ---------------------------------------------------------------------------]]
  19. DarkRP.createFood("Somun Ekmek", {
  20. model = "models/foodnhouseholditems/bread_loaf.mdl",
  21. energy = 25,
  22. price = 50
  23. })
  24.  
  25. DarkRP.createFood("Hamburger", {
  26. model = "models/foodnhouseholditems/burgergtasa.mdl",
  27. energy = 30,
  28. price = 75
  29. })
  30.  
  31. DarkRP.createFood("Patates", {
  32. model = "models/foodnhouseholditems/potato.mdl",
  33. energy = 10,
  34. price = 10
  35. })
  36.  
  37. DarkRP.createFood("Tütsülenmiş Balık", {
  38. model = "models/foodnhouseholditems/fishgolden.mdl",
  39. energy = 25,
  40. price = 65
  41. })
  42.  
  43. DarkRP.createFood("Tütsülenmiş Dana Eti", {
  44. model = "models/foodnhouseholditems/meat4.mdl",
  45. energy = 40,
  46. price = 100
  47. })
  48.  
  49. DarkRP.createFood("M.R.E. Paketi", {
  50. model = "models/foodnhouseholditems/chipslays3.mdl",
  51. energy = 90,
  52. price = 175
  53. })
  54.  
  55. DarkRP.createFood("Bisküvi", {
  56. model = "models/foodnhouseholditems/digestive.mdl",
  57. energy = 20,
  58. price = 40
  59. })
  60.  
  61. DarkRP.createFood("Sandviç", {
  62. model = "models/foodnhouseholditems/sandwich.mdl",
  63. energy = 30,
  64. price = 60
  65. })
  66.  
  67. DarkRP.createFood("Corn Flakes", {
  68. model = "models/foodnhouseholditems/kellogscornflakes.mdl",
  69. energy = 30,
  70. price = 50
  71. })
  72.  
  73. DarkRP.createFood("Pastırma", {
  74. model = "models/foodnhouseholditems/bacon.mdl",
  75. energy = 15,
  76. price = 30
  77. })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement