Advertisement
Guest User

tongRaised.lua

a guest
Sep 26th, 2022
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.37 KB | None | 0 0
  1. local config = require('mer.characterBackgrounds.config')
  2. local function getData()
  3. local data = tes3.player.data.merBackgrounds or {}
  4. return data
  5. end
  6.  
  7. return {
  8. id = "tongRaised",
  9. name = "Tong-Raised",
  10. description = (
  11. "The friends you hung around with in your teen years didn't have the most... savoury " ..
  12. "of backgrounds to say the least. The most noteworthy were much older than you, and " ..
  13. "had obvious designs on you joining their 'organisation', teaching tricks (+5 to " ..
  14. "security and intelligence) only the street truly provides. Sure, you got roughed " ..
  15. "up along the way, but that only helped with your 'lessons' (+10 to strength and "..
  16. "blunt weapons). It certainly didn't help you become a healthier dunmer though, as " ..
  17. "the injuries left over from your teenage years have taken their toll, the permanent " ..
  18. "numbing sensation in your hands being a constant reminder of your injuries. " ..
  19. "(-5 to endurance and hand to hand, -10 to speed and short blade)."
  20. "\n\nRequirements: Dunmer only."
  21. ),
  22.  
  23. checkDisabled = function()
  24. local race = tes3.player.object.race.id
  25. return race ~= "Dark Elf"
  26. end,
  27.  
  28. doOnce = function()
  29. tes3.modStatistic({
  30. reference = tes3.player,
  31. skill = tes3.skill.bluntWeapon,
  32. value = 10
  33. })
  34. tes3.modStatistic({
  35. reference = tes3.player,
  36. attribute = tes3.attribute.strength,
  37. value = 10
  38. })
  39. tes3.modStatistic({
  40. reference = tes3.player,
  41. attribute = tes3.attribute.intelligence,
  42. value = 5
  43. })
  44. tes3.modStatistic({
  45. reference = tes3.player,
  46. skill = tes3.skill.security,
  47. value = 5
  48. })
  49.  
  50. tes3.modStatistic({
  51. reference = tes3.player,
  52. attribute = tes3.attribute.endurance,
  53. value = -5
  54. })
  55. tes3.modStatistic({
  56. reference = tes3.player,
  57. skill = tes3.skill.handToHand,
  58. value = -5
  59. })
  60. tes3.modStatistic({
  61. reference = tes3.player,
  62. skill = tes3.skill.shortBlade,
  63. value = -10
  64. })
  65. tes3.modStatistic({
  66. reference = tes3.player,
  67. attribute = tes3.attribute.speed,
  68. value = -10
  69. })
  70. end
  71. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement