Advertisement
Guest User

legionaireFather.lua

a guest
Sep 26th, 2022
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.25 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 = "legionaireFather",
  9. name = "Legionaire Father",
  10. description = (
  11. "Your father was a skilled legionaire, so naturally he wished for you to become " ..
  12. "one as well. Through his training you became a skilled wielder of long blades " ..
  13. "(+20) and medium armour (+15), with your strength, endurance and willpower all " ..
  14. "being equally as respectable (+10 to all). However, as the old saying goes you're " ..
  15. "something of a chip off the old block when it comes to your father's rather... " ..
  16. "brusque personality, with your less-than-friendly attitude making it difficult " ..
  17. "to gain the trust of those you interact with (-30 to personality, -10 to " ..
  18. "speechcraft and mercantile)." ..
  19. "\n\nRequirements: Imperials only."
  20. ),
  21.  
  22. checkDisabled = function()
  23. local race = tes3.player.object.race.id
  24. return race ~= "Imperial"
  25. end,
  26.  
  27. doOnce = function()
  28. tes3.modStatistic({
  29. reference = tes3.player,
  30. skill = tes3.skill.longBlade,
  31. value = 20
  32. })
  33. tes3.modStatistic({
  34. reference = tes3.player,
  35. skill = tes3.skill.mediumArmor,
  36. value = 15
  37. })
  38. tes3.modStatistic({
  39. reference = tes3.player,
  40. attribute = tes3.attribute.strength,
  41. value = 10
  42. })
  43. tes3.modStatistic({
  44. reference = tes3.player,
  45. attribute = tes3.attribute.endurance,
  46. value = 10
  47. })
  48. tes3.modStatistic({
  49. reference = tes3.player,
  50. attribute = tes3.attribute.willpower,
  51. value = 10
  52. })
  53.  
  54. tes3.modStatistic({
  55. reference = tes3.player,
  56. attribute = tes3.attribute.personality,
  57. value = -30
  58. })
  59. tes3.modStatistic({
  60. reference = tes3.player,
  61. attribute = tes3.skill.speechcraft,
  62. value = -10
  63. })
  64. tes3.modStatistic({
  65. reference = tes3.player,
  66. attribute = tes3.skill.mercantile,
  67. value = -10
  68. })
  69. end
  70. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement