Show player relations in player info overlay

This commit is contained in:
Evan
2024-12-30 09:40:16 -08:00
parent a159c50160
commit f4c98318b6
11 changed files with 90 additions and 30 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ export class EmojiExecution implements Execution {
if (this.requestor.canSendEmoji(this.recipient)) {
this.requestor.sendEmoji(this.recipient, this.emoji)
if (this.emoji == "🖕" && this.recipient != AllPlayers && this.recipient.type() == PlayerType.FakeHuman) {
this.recipient.updateRelation(this.requestor, -10000)
this.recipient.updateRelation(this.requestor, -100)
}
} else {
consolex.warn(`cannot send emoji from ${this.requestor} to ${this.recipient}`)