Commit Graph

51 Commits

Author SHA1 Message Date
Major f7bf5fde34 Fix nitpicks in prayer plugin 2018-04-08 04:12:04 +01:00
Major 68b78915b6 Merge pull request #396 from chivvon/herblore 2018-04-08 02:32:53 +01:00
Chivvon a52837975e Port Herblore plugin to Kotlin 2018-04-08 01:58:34 +01:00
Caleb Foust 34f06b20c4 Add teleportation to places using ::tele [name] 2018-04-04 06:58:34 +01:00
Major 81e019ca93 Fix nitpicks in emote plugin 2018-04-01 22:49:26 +01:00
Major 8394a035c7 Optimise Mob.walkTo for paths that require no verification 2018-04-01 20:42:13 +01:00
Major 7ca09f462b Rename npc spawning scripts 2018-04-01 20:38:41 +01:00
Gary Tierney 2b7a62d997 Use a map for bone and prayer lookups 2018-03-31 22:24:10 +01:00
Gary Tierney 7c59c2c3a5 Clean up remaining issues on prayer plugin 2018-03-31 22:12:34 +01:00
Gary Tierney 59a651a1eb Fix code-style in prayer plugin
Adds named arguments to enum declarations along with lookup functions, fixes
continuation indent, and replaces Map<Player, ArrayList<Prayer>> with a
SetMultimap<Player, Prayer>.
2018-03-31 21:58:53 +01:00
Gary Tierney 28c85d1ecc Remove now invalid packageName from prayer plugin 2018-03-31 21:57:28 +01:00
Trevor Flynn 1c0b1d827f Fix to allow multiple prayers.
Fixed not caching enum values.
2018-03-31 21:49:59 +01:00
Trevor Flynn 94783da9e5 Ported prayer plugin to kotlin 2018-03-31 21:49:59 +01:00
Major 9c4eff712e Move Position destructuring functions to their own object 2018-03-28 21:36:34 +01:00
Major 0316753f46 Improve ::position command message 2018-03-28 17:48:07 +01:00
Major 4b68b8e47e Separate prospecting actions 2018-03-28 17:39:51 +01:00
Major 0d7b2ea6e8 Add prospecting on expired rocks 2018-03-28 17:39:51 +01:00
Major 6941fc9de0 Fix nitpicks in Mining plugin
Also adds equals() and hashcode() implementations to the various
Mining actions.
2018-03-28 17:39:50 +01:00
Major 173623b76b Fix nitpicks in Woodcutting plugin 2018-03-28 17:39:46 +01:00
Major 45a0b43eee Remove incorrect Gunnarsgrunn fishing spots
The spots are actually on Tutorial Island and result in two
fishing spots stacked on top of each other.
2018-03-28 01:43:19 +01:00
Major b2f48815bf Fix nitpicks in Fishing plugin 2018-03-28 01:43:19 +01:00
Gary Tierney d8116478d4 Remove dependency on embedded kotlin compiler
This is a large change that significantly simplifies the plugin build system by
having the kotlinc handle everything related to script compilation.  Since we
no longer use package name rewriting, the "packageName" option has been dropped
from the gradle script API and has been removed from existing plugins.

In addition to simplifying the build system, it should also significantly speed
up build times.  Previously we ran 2 build processes for every plugin and
didn't have fully working incremental compilation for scripts compared to 1
build process with built-in incremental compilation.

There were also some random pieces of code that referenced kotlinc directly, so
those have either been removed or refactored out.
2018-03-27 22:35:05 +01:00
Trevor Flynn 97896a34a4 Add implementation of runecrafting skill 2018-01-17 22:25:21 +00:00
Major 397d9b2d6a Merge pull request #366 from apollo-rsps/kotlin-experiments-areas
Port the area actions plugin
2017-09-26 13:57:29 +01:00
Major 6e3ddff51a Correctly import api.Definitions 2017-09-24 22:56:48 +01:00
Major 046f373c9e Add packages to plugins 2017-09-24 22:35:07 +01:00
Major b4e8a7136b Add skill extension properties 2017-09-24 19:44:17 +01:00
Major ce1bcba893 Port Area plugin to Kotlin 2017-09-24 18:50:13 +01:00
Major ae3d3c7ce2 Add destructuring operators for Position 2017-09-24 03:48:55 +01:00
Major 8c2f086ae5 Remove meta.toml files
Since plugins were moved to gradle they aren't used anyway.
2017-09-24 02:40:33 +01:00
Trevor Flynn 01f2bdda58 Port Fishing plugin to kotlin (#347)
This also fixes a bunch of bugs.
2017-09-24 02:00:38 +01:00
Major 64ee653423 Rename dls.kt to dsl.kt 2017-09-23 19:37:31 +01:00
Gary Tierney 53521e7e0d Update varrock plugin package name 2017-09-23 13:30:23 +01:00
Trevor Flynn 22df59500e Add varrock shops 2017-09-23 04:13:47 +01:00
Major 52c25946b9 Add shops plugin
Thanks to tlf30 for a lot of work on this.
2017-09-23 04:12:08 +01:00
Major 6d202abbc2 Support lookup_x inputs with the id at the end 2017-09-23 04:11:44 +01:00
Arin 1c8bc3a009 Add door support in Kotlin (#356)
Adds support for doors as a Kotlin plugin, based on the previous ruby plugin by shiver.
2017-09-20 11:29:36 +01:00
Gary Tierney 2cd160feb3 Refactor woodcutting to use coroutines 2017-09-19 19:02:29 +01:00
Trevor Flynn 75a9b828b2 Fix all issues. Wood cutting now works. 2017-09-19 19:02:29 +01:00
Trevor Flynn da7c7e10b4 Woodcutting now uses Async Action 2017-09-19 19:02:29 +01:00
Trevor Flynn 3e6415f0d2 Initial commit on new woodcutting branch 2017-09-19 19:02:29 +01:00
Gary Tierney 76dd8ba192 Refactor asynchronous actions to avoid thread usage
Adds custom coroutines specifically for use within Actions.  This
implements all features of the previous system, however, does not rely
on a separate executor to wake up continuations.

Note: since Actions are still ran by an executor and a small chance of
overlap exists the ActionCoroutine implementation uses atomic counters
and references.
2017-09-19 01:52:10 +01:00
Gary Tierney 169d89ffc0 Clear static object REMOVE messages when re-adding 2017-09-17 20:27:50 +01:00
Gary Tierney 112b8aab57 Add basic detekt configuration 2017-09-17 04:28:10 +01:00
Gary Tierney 40095d65e5 Add explicit stop() to async actions 2017-09-17 03:24:59 +01:00
Gary Tierney 0dc6879bdc Refactor mining to use async actions 2017-09-17 03:13:03 +01:00
Gary Tierney cf0e3331e0 Add API plugin with common functionality 2017-09-17 03:11:02 +01:00
Gary Tierney 3a9e435189 Add an await function to the AsyncActionRunner trait 2017-09-17 03:11:02 +01:00
Gary Tierney b4d951c7cc Fix incremental script compilation 2017-09-16 21:49:45 +01:00
Gary Tierney edcb72b474 Fix plugin test running with new gradle modules 2017-09-16 20:40:17 +01:00