Browse Source

Boxed Title

lakebane-master
FatBoy-DOTC 6 months ago
parent
commit
d968c4eca4
  1. 3
      src/engine/objects/CharacterTitle.java
  2. 5
      src/engine/objects/PlayerCharacter.java

3
src/engine/objects/CharacterTitle.java

@ -21,7 +21,8 @@ public enum CharacterTitle { @@ -21,7 +21,8 @@ public enum CharacterTitle {
CSR_3(255, 0, 0, "CCR"),
CSR_4(251, 181, 13, "CCR"),
DEVELOPER(166, 153, 114, "Programmer"),
QA(88, 250, 244, "GIRLFRIEND");
QA(88, 250, 244, "GIRLFRIEND"),
BOX(251, 181, 13, "[BOXED]");
int headerLength, footerLength;
private ByteBuffer header;

5
src/engine/objects/PlayerCharacter.java

@ -4869,10 +4869,13 @@ public class PlayerCharacter extends AbstractCharacter { @@ -4869,10 +4869,13 @@ public class PlayerCharacter extends AbstractCharacter {
continue;
if (pc.equals(player))
continue;
if (pc.isBoxed == false)
if (pc.isBoxed == false) {
player.title = CharacterTitle.BOX;
return true;
}
}
player.title = CharacterTitle.NONE;
return false;
}catch(Exception e){
return false;

Loading…
Cancel
Save