Advertisement
expired6978

GameLimbo

Apr 12th, 2015
368
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.06 KB | None | 0 0
  1. Scriptname GameLimbo Hidden
  2.  
  3. ; Keywords are AND operations, must have all listed keywords
  4. ; IgnoreTemplates will exclude items that are inherited from other items with slightly altered stats
  5. ; IgnoreEnchantments will exclude any item with an enchantment
  6. ; WeaponTypes are a bitfield, will filter weapons by type
  7. ; Add together to filter by multiple types
  8. int Property WeaponTypeHandToHand = 1 AutoReadOnly
  9. int Property WeaponTypeOneHandSword = 2 AutoReadOnly
  10. int Property WeaponTypeOneHandDagger = 4 AutoReadOnly
  11. int Property WeaponTypeOneHandAxe = 8 AutoReadOnly
  12. int Property WeaponTypeOneHandMace = 16 AutoReadOnly
  13. int Property WeaponTypeTwoHandSword = 32 AutoReadOnly
  14. int Property WeaponTypeTwoHandAxe = 64 AutoReadOnly
  15. int Property WeaponTypeBow = 128 AutoReadOnly
  16. int Property WeaponTypeStaff = 256 AutoReadOnly
  17. int Property WeaponTypeCrossbow = 512 AutoReadOnly
  18.  
  19. Form[] Function GetAllWeapons(string modName, Keyword[] keywords = None, bool playable = true, bool ignoreTemplates = true, bool ignoreEnchantments = true, bool onlyEnchanted = false, int weaponTypes = 0xFFFFFFFF) global native
  20.  
  21. Form[] Function GetAllArmor(string modName, Keyword[] keywords = None, bool playable = true, bool ignoreTemplates = true, bool ignoreEnchantments = true, bool onlyEnchanted = false, bool ignoreSkin = true) global native
  22.  
  23. Form[] Function GetAllAmmo(string modName, Keyword[] keywords = None, bool playable = true) global native
  24.  
  25. Form[] Function GetAllBooks(string modName, Keyword[] keywords = None, bool regular = true, bool spell = false, bool skill = false) global native
  26.  
  27. Form[] Function GetAllPotions(string modName, Keyword[] keywords = None, bool potions = true, bool food = false, bool poison = false) global native
  28.  
  29. Form[] Function GetAllIngredients(string modName, Keyword[] keywords = None) global native
  30.  
  31. Form[] Function GetAllScrolls(string modName, Keyword[] keywords = None) global native
  32.  
  33. Form[] Function GetAllKeys(string modName, Keyword[] keywords = None) global native
  34.  
  35. Form[] Function GetAllMiscItems(string modName, Keyword[] keywords = None) global native
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement