Added NPC who sells fighter torso for 7.5M - Captain Cain

This commit is contained in:
Ceikry
2021-06-27 21:50:07 +00:00
parent c429c92e90
commit 0a1918d9e4
4 changed files with 121 additions and 0 deletions
@@ -311,4 +311,22 @@ public abstract class DialoguePlugin implements Plugin<Player> {
}
}
/**
* Use the automatic linesplitting feature in DialUtils to produce npc dialogues
* @param expr the FacialExpression to use, located in the FacialExpression enum.
* @param msg the message for the NPC to say
*/
public Component npcl(FacialExpression expr, String msg){
return npc(expr, api.DialUtils.splitLines(msg));
}
/**
* Use the automatic linesplitting feature in DialUtils to produce player dialogues
* @param expr the FacialExpression to use, located in the FacialExpression enum.
* @param msg the message for the player to say
*/
public Component playerl(FacialExpression expr, String msg){
return player(expr, api.DialUtils.splitLines(msg));
}
}