Slot: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
imported>StDoodle
Redirected page to Datatype Constants#slot
imported>Aventuristo
Add to Data Types category
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
#REDIRECT [[Datatype Constants#slot]]
{{DISPLAYTITLE:slot}}
 
This is the data type representing a player's equipment slots.
Besides $slot[ none ], there are 16 possible values for this datatype.
 
* hat
* back
* weapon
* off-hand
* shirt
* pants
* acc1
* acc2
* acc3
* familiar
* sticker1
* sticker2
* sticker3
* fakehand
* bootspur
* bootskin
 
==Related Functions==
 
{{Flink|boolean|equip|{{opt|slot}}|item}}
{{Flink|item|equipped_item|slot}}
{{Flink|slot|to_slot|item}}
{{Flink|skill|to_slot|strict_string}}
 
==Proxy Record Fields==
 
slot has no proxy record fields.
 
[[Category:Scripting]] [[Category:Data Types]]

Latest revision as of 00:49, 30 September 2017


This is the data type representing a player's equipment slots. Besides $slot[ none ], there are 16 possible values for this datatype.

  • hat
  • back
  • weapon
  • off-hand
  • shirt
  • pants
  • acc1
  • acc2
  • acc3
  • familiar
  • sticker1
  • sticker2
  • sticker3
  • fakehand
  • bootspur
  • bootskin

Related Functions

boolean equip( [slot], item )

item equipped_item( slot )

slot to_slot( item )

skill to_slot( strict_string )


Proxy Record Fields

slot has no proxy record fields.