Fixed random events occurring at kalphite queen and tormented demons

Fixed bots trying to speak unicode
This commit is contained in:
Player Name
2024-06-08 12:17:37 +00:00
committed by Ryan
parent 80a5c3a85e
commit 98c0698097
4 changed files with 17 additions and 7 deletions
+5 -5
View File
@@ -257,7 +257,7 @@
"What do you think @name?",
"How does that sound @name?",
"That sounds great @name.",
"Im learning English.",
"I'm learning English.",
"I don't understand.",
"Could you repeat that please @name?",
"Could you please talk slower @name?",
@@ -338,7 +338,7 @@
"I couldn't agree more @name",
"It cost me a fortune @name",
"I am dog tired",
"Dont take it personally",
"Don't take it personally",
"We will be having a good time",
"Same as always @name",
"No problem",
@@ -504,9 +504,9 @@
"Goliath Online",
"I'm escaping to the one place that hasn't been corrupted by Capitalism. Lunar Isle!",
"Selling wildy protection, 100k gp",
"Cant we get you on Mastermind, @name? Next contestant @name from Lumbridge. Special subject the bleedin obvious.",
"Oh, youre German! Im sorry, I thought there was something wrong with you.",
"Listen, dont mention the war! I mentioned it once, but I think I got away with it all right.",
"Can't we get you on Mastermind, @name? Next contestant - @name from Lumbridge. Special subject - the bleedin' obvious.",
"Oh, you're German! I'm sorry, I thought there was something wrong with you.",
"Listen, don't mention the war! I mentioned it once, but I think I got away with it all right.",
"Cunnilingus and psychiatry brought us to this.",
"Oh, poor baby. What do you want, a Brimstail's Sampler?",
"There's an old TzHarrian saying, you fuck up once, you lose two teeth.",
@@ -0,0 +1,10 @@
package content.region.desert.handlers
import core.api.*
import core.game.world.map.zone.ZoneBorders
import core.game.world.map.zone.ZoneRestriction
class KalphiteQueenArea : MapArea {
override fun defineAreaBorders() : Array<ZoneBorders> { return arrayOf(ZoneBorders(3456, 9472, 3519, 9535, 0, true)) }
override fun getRestrictions() : Array<ZoneRestriction> { return arrayOf(ZoneRestriction.RANDOM_EVENTS) }
}
@@ -6,5 +6,5 @@ import core.game.world.map.zone.ZoneRestriction
class TormentedDemonArea : MapArea {
override fun defineAreaBorders() : Array<ZoneBorders> { return arrayOf (ZoneBorders.forRegion(10329)) }
override fun getRestrictions() : Array<ZoneRestriction> { return arrayOf (ZoneRestriction.CANNON) }
override fun getRestrictions() : Array<ZoneRestriction> { return arrayOf (ZoneRestriction.CANNON, ZoneRestriction.RANDOM_EVENTS) }
}
@@ -660,7 +660,7 @@ public abstract class Entity extends Node {
/**
* Registers a new force chat update flag to the update masks.
* @param string The string.
* @return {@code True} if succesful.
* @return {@code True} if successful.
*/
public boolean sendChat(String string) {
return getUpdateMasks().register(EntityFlag.ForceChat, string);