From 2cdc2c3d55fa0d050cc6c12260623c3d59216797 Mon Sep 17 00:00:00 2001 From: ceikry Date: Sat, 24 Jul 2021 13:01:44 -0500 Subject: [PATCH] Added more fist of guthix work --- Server/src/main/kotlin/api/ContentAPI.kt | 1 + .../game/system/command/sets/DevelopmentCommandSet.kt | 9 +++++++++ 2 files changed, 10 insertions(+) diff --git a/Server/src/main/kotlin/api/ContentAPI.kt b/Server/src/main/kotlin/api/ContentAPI.kt index 29a5eb39e..ef540b9bc 100644 --- a/Server/src/main/kotlin/api/ContentAPI.kt +++ b/Server/src/main/kotlin/api/ContentAPI.kt @@ -34,6 +34,7 @@ import core.game.world.map.zone.ZoneBuilder import core.game.world.update.flag.chunk.AnimateObjectUpdateFlag import core.game.world.update.flag.context.Animation import core.game.world.update.flag.context.Graphics +import core.game.world.update.flag.player.ForceMovementFlag import rs09.game.content.dialogue.DialogueFile import rs09.game.system.SystemLogger import rs09.game.world.GameWorld diff --git a/Server/src/main/kotlin/rs09/game/system/command/sets/DevelopmentCommandSet.kt b/Server/src/main/kotlin/rs09/game/system/command/sets/DevelopmentCommandSet.kt index 80b38151f..48ddf976a 100644 --- a/Server/src/main/kotlin/rs09/game/system/command/sets/DevelopmentCommandSet.kt +++ b/Server/src/main/kotlin/rs09/game/system/command/sets/DevelopmentCommandSet.kt @@ -3,6 +3,9 @@ package rs09.game.system.command.sets import core.game.node.item.Item import core.plugin.Initializable import org.rs09.consts.Items +import rs09.game.ai.general.GeneralBotCreator +import rs09.game.ai.general.scriptrepository.GlassBlowingBankstander +import rs09.game.content.activity.fog.FOGWaitingArea import rs09.game.system.command.Command @Initializable @@ -20,6 +23,12 @@ class DevelopmentCommandSet : CommandSet(Command.Privilege.ADMIN) { } } + define("testbots"){player, _ -> + for(i in 1..3){ + val g = GeneralBotCreator(player.location, GlassBlowingBankstander()) + FOGWaitingArea.register(g.bot!!) + } + } } } \ No newline at end of file