Advertisement
expired6978

DrowRaceController

May 14th, 2012
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.38 KB | None | 0 0
  1. Scriptname DrowRaceController extends Quest
  2.  
  3. Race Property DarkDrowRace Auto
  4. Race Property DarkDrowRaceVampire Auto
  5. Race Property DarkDrowChildRace Auto
  6.  
  7. ; Race Compatibility
  8. FormList Property PlayableRaceList Auto
  9. FormList Property PlayableVampireList Auto
  10.  
  11. FormList Property RacesElf Auto
  12.  
  13. FormList Property HeadPartsAllRacesMinusBeast Auto
  14. FormList Property HeadPartsHumanVampires Auto
  15. FormList Property HeadPartsHumanoidVampire Auto
  16. FormList Property HeadPartsHumansandVampires Auto
  17.  
  18. Event OnInit()
  19. ; Compatibility lists
  20. RacesElf.AddForm(DarkDrowRace)
  21. RacesElf.AddForm(DarkDrowChildRace)
  22.  
  23. HeadPartsHumanoidVampire.AddForm(DarkDrowRaceVampire)
  24. HeadPartsHumanVampires.AddForm(DarkDrowRaceVampire)
  25.  
  26. HeadPartsHumansandVampires.AddForm(DarkDrowRace)
  27. HeadPartsHumansandVampires.AddForm(DarkDrowRaceVampire)
  28. HeadPartsHumansandVampires.AddForm(DarkDrowChildRace)
  29.  
  30. ; PlayableRaceList and PlayableVampireList have to be the same size
  31. ; Even if there is no vampire equivalent, set it to be the same race
  32. PlayableRaceList.AddForm(DarkDrowRace)
  33. PlayableRaceList.AddForm(DarkDrowChildRace)
  34. PlayableVampireList.AddForm(PlayableVampireList)
  35. PlayableVampireList.AddForm(DarkDrowChildRace)
  36.  
  37. ; These lists actually add most of the head parts
  38. HeadPartsAllRacesMinusBeast.AddForm(DarkDrowRace)
  39. HeadPartsAllRacesMinusBeast.AddForm(DarkDrowChildRace)
  40. EndEvent
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement