Prop ItemSlot

From CoffeeMud Wiki
Revision as of 22:11, 18 December 2023 by Loki (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


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") (LEVEL=NONE/HIGH/ADD)

(REMOVABLE="TRUE/FALSE") ; "XML"

Examples: NUM=4 TYPE=Gems REMOVABLE=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 REMOVABLE property sets whether the items in the slots may be removed. The LEVEL argument affects how slot fillers affect the item level: none, equal to the highest, or added together. 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).