Difference between revisions of "Prop ItemSlot"

From CoffeeMud Wiki
Jump to navigation Jump to search
(Created page with "{{PropertyTemplate|ID=Prop_ItemSlot|Name=Has slots for enhancement items|Domain=Nothing|Available=|Allows=|UseCost=None|Quality=Circumstantial|Targets=ITEM...")
 
Line 6: Line 6:
  
 
===Notes===
 
===Notes===
.
+
*When an item with Prop_ItemSlot has a slotted Prop_ItemSlotFiller equiped, it will automatically add the XML code from the slot filler.  Builders do not need to manage this XML independently, just be aware of its purpose (to tell what item is currently slotted).
 
[[Category:ITEMS(BuilderInfo)]]
 
[[Category:ITEMS(BuilderInfo)]]

Revision as of 05:50, 25 February 2021

CoffeeMUD
Administrator                                                  Builder                                                              Player
=CoffeeMUD Builder Information=
Basics Praetor     Player Support     Commands     Zapper Masks Advanced Races     Classes     Abilities     Socials     Scripting    
Building Behaviors     Properties     Areas     Rooms     Exits     Items     Mobs Systems Achievements     Crafting     Help Info     Ships     Planes of Existence     Quests     Triumphs    
===Prop_ItemSlot===
Effect: Has slots for enhancement items
Targets: ITEM
Parameters: (NUM="SLOTS COUNT") (TYPE="STRING") (REMOVEABLE="TRUE/FALSE") ; "XML"
Examples: NUM=4 TYPE=Gems REMOVEABLE=TRUE
Description: When placed on an item, that item will have available slots into which other items, those with the Prop_ItemSlotFiller property, can be PUT using the PUT command. When this is done, the item with this property will gain the effect benefits of the other item in addition to its own.

The NUM parameter determines how many slots are available. The TYPE parameter must match the TYPE parameter from the Prop_ItemSlotFiller of the item being PUT. The REMOVEABLE property sets whether the items in the slots may be removed. See also Prop_ItemSlotFiller.

Notes

  • When an item with Prop_ItemSlot has a slotted Prop_ItemSlotFiller equiped, it will automatically add the XML code from the slot filler. Builders do not need to manage this XML independently, just be aware of its purpose (to tell what item is currently slotted).