mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-06 00:38:18 +00:00
Housekeeping
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0"?>
|
||||
<plugin>
|
||||
<id>run</id>
|
||||
<version>1</version>
|
||||
<name>Running</name>
|
||||
<description>Adds support for running via the options interface.</description>
|
||||
<authors>
|
||||
<author>Major</author>
|
||||
</authors>
|
||||
<scripts>
|
||||
<script>run.rb</script>
|
||||
</scripts>
|
||||
<dependencies>
|
||||
<dependency>attributes</dependency>
|
||||
</dependencies>
|
||||
</plugin>
|
||||
@@ -0,0 +1,10 @@
|
||||
WALK_BUTTON_ID = 152
|
||||
RUN_BUTTON_ID = 153
|
||||
|
||||
on :button, WALK_BUTTON_ID do |player|
|
||||
player.toggle_running
|
||||
end
|
||||
|
||||
on :button, RUN_BUTTON_ID do |player|
|
||||
player.toggle_running
|
||||
end
|
||||
Reference in New Issue
Block a user