Ranger Macros: Difference between revisions

From CLUMP
Jump to navigationJump to search
mNo edit summary
m (→‎Morph: fixed link names)
 
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
===Check current and past studies===
=Check current and past studies=
Equips your Belt of the Wild if needed.
Equips your Belt of the Wild if needed.
  "/reflect"
  "/reflect"
Line 10: Line 10:
  }
  }


===Shieldstone===
=Shieldstone=
Press once to turn on, press again to turn off and unequip your Shieldstone.
Press once to turn on, press again to turn off and unequip your Shieldstone.
  "/ss"
  f3 call toggleShieldstone //modify this to your chosen hotkey
toggleShieldstone
  {
  {
  if @my.finger_item != "shieldstone"
  if @my.finger_item == "Shieldstone" //skips equip phase if true
"\equip shieldstone\r"
    goto ON
"\useitem shieldstone\r"
end if
  else
"\unequip finger\r"
label equip
"/equip shieldstone\r"
label ON
"/useitem shieldstone\r"
  pause 1
label CHECK //Checks for Shieldstone failures …
if @env.textLog >= "Your Shieldstone goes inert"
    pause 1
    goto equip //…if so equips backup (if you have 1)
  end if
  end if
  }
  }


===Heartwood Charm===
=Heartwood Charm=
Press once to turn on, press again to turn off.
Press once to turn on, press again to turn off.
  "/heart"
 
  f4 call Heartwood //modify this to your chosen hotkey
Heartwood
  {
  {
if @my.left_item != "heartwood charm"
if @my.left_item != "Heartwood Charm"
  "/equip heartwoodcharm\r"
"/equip heartwood\r"
end if
"/useitem left\r"
}
 
=Befriend Macros=
"/be"
{
"/usei belt /befriend\r"
"/pose bless\r"
}
"/con"
{
"/usei belt /control\r"
"/pose sal\r"
}
"/dis"
{
"dismissing\r"
"/pose surprised\r"
pause 3
"/usei belt /dismiss\r"
}
 
=Morph=
Make sure to type in the appropriate morph.
/morph1 //remove the number. It was added to differentiate between morphs if you have multiple ones. See [[Rangery#Multi-Creature_Morph_Macro | Multi-Morph]] in Rangery for one you can trigger with one key.
{
if @my.waist_item != "belt of the wild"
  "/equip beltofthewild\r"
  end if
  end if
  "/usei heartwoodcharm\r"
  "\useitem beltofthewild /shape MONSTER_NAME_HERE\r" //edit this to your creature of choice
  }
  }


===Morph===
//Or for multi-morphs by entering a name of the creature:
Make sure to type in the appropriate morph.
 
/morph1
  /morph2 //remove the number. It was added to differentiate between morphs if you have multiple ones. See [[Rangery#Multi-Creature_Morph_Macro | Multi-Morph]] in Rangery for one you can trigger with one key.
  {
  {
  if @my.waist_item != "belt of the wild"
  if @my.waist_item != "belt of the wild"
  "/equip beltofthewild\r"
  "/equip beltofthewild\r"
  end if
  end if
  "\useitem beltofthewild /shape MONSTER_NAME_HERE\r"
  "\useitem beltofthewild /shape @text\r"
  }
  }


===Unmorph===
=Unmorph=
Works to get you out of any morph.
  /unmorph
  /unmorph
  {
  {
Line 51: Line 98:
  }
  }


===Judge Ranger progress===
=Judge Ranger progress=
Used to evaluate the progression of aspiring Rangers. Type <code>/judge <player name></code> to use it.
Used to evaluate the progression of aspiring Rangers. Type <code>/judge <player name></code> to use it.
  "/judge"
  "/judge"

Latest revision as of 16:47, 19 August 2024

Check current and past studies[edit]

Equips your Belt of the Wild if needed.

"/reflect"
{
	message ""
	if @my.waist_item != "belt of the wild"
		"/equip beltofthewild\r"
	end if
	"/useitem beltofthewild /reflect\r"
}

Shieldstone[edit]

Press once to turn on, press again to turn off and unequip your Shieldstone.

f3 call toggleShieldstone //modify this to your chosen hotkey

toggleShieldstone
{
	if @my.finger_item == "Shieldstone" //skips equip phase if true
	     goto ON
	end if

	label equip
	"/equip shieldstone\r"

	label ON
	"/useitem shieldstone\r"
	pause 1

	label CHECK //Checks for Shieldstone failures …
	if @env.textLog >= "Your Shieldstone goes inert"
	     pause 1
	     goto equip //…if so equips backup (if you have 1)
	end if
}

Heartwood Charm[edit]

Press once to turn on, press again to turn off.

f4 call Heartwood //modify this to your chosen hotkey

Heartwood
{
if @my.left_item != "Heartwood Charm"
	"/equip heartwood\r"
end if
"/useitem left\r"
}

Befriend Macros[edit]

"/be"
{
"/usei belt /befriend\r"
"/pose bless\r"
}

"/con"
{
"/usei belt /control\r"
"/pose sal\r"
}

"/dis"
{
"dismissing\r"
"/pose surprised\r"
pause 3
"/usei belt /dismiss\r"
}

Morph[edit]

Make sure to type in the appropriate morph.

/morph1 //remove the number. It was added to differentiate between morphs if you have multiple ones. See  Multi-Morph in Rangery for one you can trigger with one key.
{
	if @my.waist_item != "belt of the wild"
		"/equip beltofthewild\r"
	end if
	"\useitem beltofthewild /shape MONSTER_NAME_HERE\r" //edit this to your creature of choice
}

//Or for multi-morphs by entering a name of the creature:

 /morph2 //remove the number. It was added to differentiate between morphs if you have multiple ones. See  Multi-Morph in Rangery for one you can trigger with one key.
{
	if @my.waist_item != "belt of the wild"
		"/equip beltofthewild\r"
	end if
	"\useitem beltofthewild /shape @text\r"
}

Unmorph[edit]

Works to get you out of any morph.

/unmorph
{
	if @my.waist_item != "belt of the wild"
		"/equip beltofthewild\r"
	end if
	"\useitem beltofthewild /return\r"
}

Judge Ranger progress[edit]

Used to evaluate the progression of aspiring Rangers. Type /judge <player name> to use it.

"/judge"
//Adapted from a macro by Super Chicken
{
	if @my.waist_item != "belt of the wild"
		"/equip beltofthewild\r"
	end if
	"/select  " + @text.word[0] + "\r"
	set theJudged @selplayer.simple_name
	"/select\r"
	"/useitem beltofthewild /judge " theJudged "\r"

	if @env.textLog < "has barely begun to learn about the earth."
	"/ponder " theJudged " has barely begun to learn about the earth."
	message "* 8 more messages to go."
	end if

	if @env.textLog < "has begun to learn about the earth."
	"/ponder " theJudged " has begun to learn about the earth."
	message "* 7 more messages to go."
	end if

	if @env.textLog < "still has much to learn about the earth."
	"/ponder " theJudged " still has much to learn about the earth."
	message "* 6 more messages to go."
	end if 

	if @env.textLog < "is making progress towards becoming a Ranger."
	"/ponder " theJudged " is making progress towards becoming a Ranger."
	message "* 5 more messages to go."
	end if 

	if @env.textLog < "is making good progress towards becoming a Ranger."
	"/ponder " theJudged " is making good progress towards becoming a Ranger."
	message "* 4 more messages to go."
	end if

	if @env.textLog < "is making excellent progress towards becoming a Ranger."
	"/ponder " theJudged " is making excellent progress towards becoming a Ranger."
	message "* 3 more messages to go."
	end if

	if @env.textLog < "is knowledgeable about the earth."
	"/ponder " theJudged " is knowledgeable about the earth."
	message "* 2 more messages to go."
	end if

	if @env.textLog < "is very knowledgeable about the earth."
	"/ponder " theJudged " is very knowledgeable about the earth."
	message "* 1 more message to go."
	end if

	if @env.textLog < "is nearly ready to become a Ranger."
	"/ponder " theJudged " is nearly ready to become a Ranger."
	message "* Ready for Rangerhood."
	end if

	if @env.textLog < "has chosen another path and cannot become a Ranger."
	"/ponder " theJudged " has chosen another path and cannot become a Ranger."
	end if
}