Clone of Akilla's acserver @ https://github.com/deregtd/ACServer

Example.txt 2.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. This is just an example of a flexable script
  2. ///////////////////////////////////////////////////////////////////////
  3. //
  4. // ITEMDESC.CFG - Item Definitions
  5. //
  6. // Descriptors for Items, Containers, and Doors go here.
  7. //
  8. // ITEM: The following may be specified for an item:
  9. // 0 = No 1 = Yes
  10. // Name Object Name
  11. // Hue # of suitable color (0 = default color from model)
  12. // DecayTime # of minutes before item decays (0 = infinate)
  13. // Desc description
  14. // Model display graphic (defaults to objtype)
  15. // Invisible if 1, this objtype is never seen.
  16. // Lockable is this item lockable
  17. // Movable is this movable by default?
  18. // Script script to run on double-click
  19. // Value Base Value in Pyreals
  20. // Weight weight in burden units
  21. // Selltowho NPC script name to which the item can be sold to
  22. // Nodrop is this droppable/givable?
  23. // Uses # of uses before item is destroyed. 0 = infinate
  24. // Where Where on the body is it used?
  25. // Inscribable is the object inscribable?
  26. // Icon object inventory icon
  27. // Dropondeath is it droppable from death?
  28. //
  29. // CONTAINER
  30. // Name name key
  31. // Hue # of suitable color
  32. // DecayTime # of minutes before item decays
  33. // Desc description
  34. // Graphic display graphic (defaults to objtype)
  35. // Slots # of available item slots
  36. // Weight base weight in burden units
  37. // VendorBuysFor base price vendors buy this for
  38. // VendorSellsFor base price vendors sell this for
  39. //
  40. // DOORS
  41. // xmod X modifier to door position to open/close
  42. // ymod Y modifier to door position to open/close
  43. // doortype wood/metal, used for determing sound.
  44. ///////////////////////////////////////////////////////////////////////
  45. Item 0x1
  46. {
  47. Name Mana Stone
  48. Hue 0
  49. DecayTime 10
  50. Desc Use on a magic item to destroy that item and drain its Mana. %n (%n = next line) Stored Mana: %sm (%sm = stored mana) %n Efficiency: 50%
  51. Model 1209
  52. Invisible 0
  53. Lockable 0
  54. Movable 1
  55. Script emptymanastone
  56. Value 1000
  57. Weight 50
  58. Selltowho magevendor
  59. Nodrop 1
  60. Uses 2
  61. Inscribable 1
  62. Icon ?
  63. Dropondeath 1
  64. }
  65. Item 0x2
  66. {
  67. Name Stone Tool
  68. Hue 0
  69. DecayTime 0
  70. Desc Use this tool to remove an elemental stone from an Empyrean weapon or a piece of Shadow Armor.
  71. Model 1976
  72. Invisible 0
  73. Lockable 0
  74. Movable 1
  75. Script stonetool
  76. Value 5000
  77. Weight 5
  78. Selltowho provisionervendor
  79. Nodrop 0
  80. Uses 0
  81. Inscribable 1
  82. Icon ?
  83. Dropondeath 0
  84. }
  85. Item 0x3
  86. {
  87. Name Trade Note
  88. Hue 0
  89. DecayTime 10
  90. Desc Worth 10,000 pyreals when redeemed at a vendor.
  91. Model 341
  92. Invisible 0
  93. Lockable 0
  94. Movable 1
  95. Script tradenotec
  96. Value 10000
  97. Weight 5
  98. Selltowho vendor
  99. Nodrop 0
  100. Uses 0
  101. Inscribable 1
  102. Icon ?
  103. Dropondeath 0
  104. }