swap args of beep at petra's request
This commit is contained in:
parent
5df16d9feb
commit
d61b2311fa
2 changed files with 4 additions and 4 deletions
|
@ -23,8 +23,8 @@ object OpBeep : SpellOperator {
|
|||
ctx: CastingContext
|
||||
): Triple<RenderedSpell, Int, List<ParticleSpray>> {
|
||||
val target = args.getChecked<Vec3>(0)
|
||||
val note = args.getChecked<Double>(1).toInt().coerceIn(0, 24)
|
||||
val instrument = args.getChecked<Double>(2).toInt().coerceIn(0, NoteBlockInstrument.values().size - 1)
|
||||
val instrument = args.getChecked<Double>(1).toInt().coerceIn(0, NoteBlockInstrument.values().size - 1)
|
||||
val note = args.getChecked<Double>(2).toInt().coerceIn(0, 24)
|
||||
ctx.assertVecInRange(target)
|
||||
|
||||
return Triple(
|
||||
|
|
|
@ -759,8 +759,8 @@
|
|||
"hexcasting.page.basic_spell.explode.fire.2": "Costs three $(item)Amethyst Shards/$, plus about one extra $(item)Amethyst Shard/$ per point of explosion power. Otherwise, the same as $(l:patterns/spells/basic_spell#hexcasting:explosion)$(action)Explosion/$, except with fire.",
|
||||
"hexcasting.page.basic_spell.add_motion": "Remove an entity and direction from the stack, then give a shove to the given entity in the given direction. The strength of the impulse is determined by the length of the vector.$(br)Costs units of $(item)Amethyst Dust/$ equal to the square of the length of the vector.",
|
||||
"hexcasting.page.basic_spell.blink": "Remove an entity and length from the stack, then teleport the given entity along its look vector by the given length.$(br)Costs about 1 $(item)Amethyst Shard/$ per block travelled.",
|
||||
"hexcasting.page.basic_spell.beep.1": "Remove a vector and two numbers from the stack. Plays a note defined by the first number at the given location, with an instrument defined by the second number. Costs a negligible amount of _media.",
|
||||
"hexcasting.page.basic_spell.beep.2": "There appear to be 25 different notes and 16 different instruments. Both are indexed by zero.",
|
||||
"hexcasting.page.basic_spell.beep.1": "Remove a vector and two numbers from the stack. Plays a instrument defined by the first number at the given location, with a note defined by the second number. Costs a negligible amount of _media.",
|
||||
"hexcasting.page.basic_spell.beep.2": "There appear to be 16 different instruments and 25 different notes. Both are indexed by zero.",
|
||||
|
||||
"hexcasting.entry.blockworks": "Blockworks",
|
||||
"hexcasting.page.blockworks.place_block": "Remove a location from the stack, then pick a block item and place it at the given location.$(br)Costs about 1 $(item)Amethyst Dust/$.",
|
||||
|
|
Loading…
Reference in a new issue