v2.4.0: rat king now wears a party hat on april fools (late I know =S)
This commit is contained in:
@@ -1038,8 +1038,10 @@ actors.mobs.npcs.ratking.crown_no=I'd rather not...
|
||||
actors.mobs.npcs.ratking.crown_thankyou=Hehehe, thank you! Now go and make your king proud!
|
||||
actors.mobs.npcs.ratking.crown_fine=Fine! It's not like I wanted it anyway...
|
||||
actors.mobs.npcs.ratking.crown_after=Enjoying your new armor? No take-backsies!
|
||||
actors.mobs.npcs.ratking.desc_festive=This rat is a little bigger than a regular marsupial rat. It's wearing a tiny festive hat instead of its usual crown. Happy Holidays!
|
||||
actors.mobs.npcs.ratking.desc=This rat is a little bigger than a regular marsupial rat and it's wearing a tiny crown on its head.
|
||||
actors.mobs.npcs.ratking.desc_crown=This rat is a little bigger than a regular marsupial rat. It's wearing dwarf king's crown on its head.
|
||||
actors.mobs.npcs.ratking.desc_birthday=This rat is a little bigger than a regular marsupial rat. It's wearing a tiny green party hat instead of its usual crown. Happy birthday Rat King!
|
||||
actors.mobs.npcs.ratking.desc_winter=This rat is a little bigger than a regular marsupial rat. It's wearing a tiny festive hat instead of its usual crown. Happy Holidays!
|
||||
actors.mobs.npcs.ratking.desc=This rat is a little bigger than a regular marsupial rat. It's wearing a tiny crown on its head.
|
||||
|
||||
actors.mobs.npcs.sheep.name=sheep
|
||||
actors.mobs.npcs.sheep.baa!=Baa!
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 659 B After Width: | Height: | Size: 681 B |
@@ -161,8 +161,12 @@ public class RatKing extends NPC {
|
||||
|
||||
@Override
|
||||
public String description() {
|
||||
if (Holiday.getCurrentHoliday() == Holiday.WINTER_HOLIDAYS){
|
||||
return Messages.get(this, "desc_festive");
|
||||
if (Dungeon.hero.armorAbility instanceof Ratmogrify){
|
||||
return Messages.get(this, "desc_crown");
|
||||
} else if (Holiday.getCurrentHoliday() == Holiday.APRIL_FOOLS){
|
||||
return Messages.get(this, "desc_birthday");
|
||||
} else if (Holiday.getCurrentHoliday() == Holiday.WINTER_HOLIDAYS){
|
||||
return Messages.get(this, "desc_winter");
|
||||
} else {
|
||||
return super.description();
|
||||
}
|
||||
|
||||
@@ -40,10 +40,21 @@ public class RatKingSprite extends MobSprite {
|
||||
|
||||
public void resetAnims(){
|
||||
|
||||
int c = Holiday.getCurrentHoliday() == Holiday.WINTER_HOLIDAYS ? 8 : 0;
|
||||
int c;
|
||||
switch (Holiday.getCurrentHoliday()){
|
||||
default:
|
||||
c = 0;
|
||||
break;
|
||||
case APRIL_FOOLS:
|
||||
c = 8;
|
||||
break;
|
||||
case WINTER_HOLIDAYS:
|
||||
c = 16;
|
||||
break;
|
||||
}
|
||||
|
||||
if (Dungeon.hero != null && Dungeon.hero.armorAbility instanceof Ratmogrify){
|
||||
c += 16;
|
||||
c = 24;
|
||||
if (parent != null) aura(0xFFFF00);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user