Date: 2015/08/17 08:19:52 UTC-07:00
Type: Denizen Script
TESTTASK:
type: task
script:
- ^repeat <util.random.int[1].to[2]> {
- if <li@leather_helmet|leather_chestplate|leather_leggings|leather_boots|chainmail_helmet|chainmail_chestplate|chainmail_leggings|chainmail_boots.random.contains[helmet]> {
- define equip helmet
}
- if <li@leather_helmet|leather_chestplate|leather_leggings|leather_boots|chainmail_helmet|chainmail_chestplate|chainmail_leggings|chainmail_boots.random.contains[chestplate]> {
- define equip chestplate
}
- if <li@leather_helmet|leather_chestplate|leather_leggings|leather_boots|chainmail_helmet|chainmail_chestplate|chainmail_leggings|chainmail_boots.random.contains[leggings]> {
- define equip leggings
}
- if <li@leather_helmet|leather_chestplate|leather_leggings|leather_boots|chainmail_helmet|chainmail_chestplate|chainmail_leggings|chainmail_boots.random.contains[boots]> {
- define equip boots
}
- narrate %equip%
- wait 1t
}