equipAuto: Difference between revisions

From OpenKore Wiki
Jump to navigation Jump to search
mNo edit summary
m (Conversion script moved page EquipAuto to equipAuto: Converting page titles to lowercase)
 
(7 intermediate revisions by 5 users not shown)
Line 2: Line 2:


== Syntax ==
== Syntax ==
  equipAuto [<equipment name>] {
  equipAuto {
  weight [<percent>]
[weight <percent>]
  whileSitting [<boolean flag>]
  [whileSitting <[[boolean]]>]
  (<equipment slot>) [<equipment name>]
  [target <monster names>]
  target [<monster names>]
  <equipment slot> [<[[References#Equipment_Names|equipment name]]>]
  [ <equipment slot> [<[[References#Equipment_Names|equipment name]]>] ]
[ ... ]
   
   
  # [[References#Self Conditions|Self Conditions]]
  # [[:Category:Self Condition|Self Conditions]]
  # [[References#Target Monster Conditions|Monster Conditions]]
  # [[:Category:Monster Condition|Monster Conditions]]
  }
  }


Line 15: Line 17:
----
----


; equipAuto [<[[References#Equipment Names|equipment name]]>]
; weight <percent>
: This option allows you to specify an equipment to automatically equip when all the conditions are met.
 
 
; weight [<percent>]
: If this option is set, auto-equip only when weight is at or above the specified percent.
: If this option is set, auto-equip only when weight is at or above the specified percent.




; whileSitting [<boolean flag>]
; whileSitting <[[boolean]]>
: If this option is set, auto-equip while Kore is sitting.
: If this option is set, auto-equip while Kore is sitting.




; (<[[References#Equipment Slots|equipment slot]]>) [<[[References#Equipment Names|equipment name]]>]
; target <monster names>
:
 
; <[[References#Equipment_Slots|equipment_slot]]> <[[References#Equipment_Names|equipment name]]>
: If this option is set for a specific equipment slot, Kore will automatically equip the specified equipment on the corresponding equipment slot when all conditions for this block are met.
: If this option is set for a specific equipment slot, Kore will automatically equip the specified equipment on the corresponding equipment slot when all conditions for this block are met.
 
: Use '''[NONE]''' to unequip the slot


== Example ==
== Example ==
* Equip a a +4 Shoes of Health and a Robust Clip when you are sitting to regenerate HP.
* Equip a a +4 Shoes of Health and a Robust Clip when you are sitting to regenerate HP.


  equipAuto - {
  equipAuto {
  shoes +4 Shoes [Zombie] [1]  
  shoes +4 Shoes [Zombie] [1]  
  leftAccessory Clip [Muka] [1]
  leftAccessory Clip [Muka] [1]
Line 41: Line 42:
  }
  }


* Unequip topHead when standing from sitAuto
equipAuto {
topHead [NONE]
notOnAction sitAuto
}


[[Category:config.txt]]
[[Category:config.txt]]
[[Category:items]]
[[Category:items]]
[[Category:config block]]
[[Category:config block]]

Latest revision as of 22:34, 26 April 2021

Automatically equip items when certain conditions are met.

Syntax

equipAuto {
	[weight <percent>]
	[whileSitting <boolean>]
	[target <monster names>]
	<equipment slot> [<equipment name>]
	[ <equipment slot> [<equipment name>] ]
	[ ... ]

	# Self Conditions
	# Monster Conditions
}

Attribute definitions


weight <percent>
If this option is set, auto-equip only when weight is at or above the specified percent.


whileSitting <boolean>
If this option is set, auto-equip while Kore is sitting.


target <monster names>
<equipment_slot> <equipment name>
If this option is set for a specific equipment slot, Kore will automatically equip the specified equipment on the corresponding equipment slot when all conditions for this block are met.
Use [NONE] to unequip the slot

Example

  • Equip a a +4 Shoes of Health and a Robust Clip when you are sitting to regenerate HP.
equipAuto {
	shoes +4 Shoes [Zombie] [1] 
	leftAccessory Clip [Muka] [1]
	onAction sitAuto
	whileSitting 1
}
  • Unequip topHead when standing from sitAuto
equipAuto {
	topHead [NONE]
	notOnAction sitAuto
}