mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-03 00:38:21 +00:00
Add Tutorial Island location plugin - current only spawns npcs.
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
# Information about npc spawning
|
||||
#
|
||||
# Npcs are passed to spawn npc as a hash. Every key and every non-integer value must be a Symbol. Every hash must implement the following:
|
||||
# :name or :id - the name or the id of the npc. Use of :name is recommended. If this npc shares its name with another, append the specific id after the name (e.g. :woman_4)
|
||||
# :x - the x coordinate where the npc will spawn.
|
||||
# :y - the y coordinate where the npc will spawn.
|
||||
# Optional arguments are as follows:
|
||||
# :face - the direction the npc should face when it spawns. Supported options are :north, :north_east, :east, :south_east, :south, :south_west, :west, and :north_west
|
||||
# :bounds - the rectangular bound that the npc can wander about in. Order is [top-left x-coordinate, top-left y-coordinate, bottom-right x-coordinate, bottom-right y-coordinate]
|
||||
# :delta_bounds - the rectangular bound that the npc can wander about in, as a difference from the spawn point. Order is identical to :bounds. Should not be used with :bounds.
|
||||
# :spawn_animation - the animation that will be played when the npc spawns.
|
||||
# :spawn_graphic - the graphic that will be played when the npc spawns.
|
||||
|
||||
|
||||
|
||||
# 'Above-ground' npcs
|
||||
|
||||
spawn_npc :name => :runescape_guide, :x => 3093, :y => 3107
|
||||
spawn_npc :name => :survival_expert, :x => 3104, :y => 3095, :face => :north
|
||||
spawn_npc :name => :master_chef, :x => 3076, :y => 3085
|
||||
spawn_npc :name => :quest_guide, :x => 3086, :y => 3122, :face => :north
|
||||
spawn_npc :name => :financial_advisor, :x => 3127, :y => 3124, :face => :west
|
||||
spawn_npc :name => :brother_brace, :x => 3124, :y => 3107, :face => :east
|
||||
spawn_npc :name => :magic_instructor, :x => 3140, :y => 3085
|
||||
|
||||
# 'Below-ground' npcs
|
||||
# Note: They aren't actually on a different plane, they're just in a different location that pretends to be underground.
|
||||
|
||||
spawn_npc :name => :mining_instructor, :x => 3081, :y => 9504
|
||||
spawn_npc :name => :combat_instructor, :x => 3104, :y => 9506
|
||||
|
||||
# Non-humanoid npcs
|
||||
|
||||
spawn_npc :name => :fishing_spot_316, :x => 3102, :y => 3093
|
||||
spawn_npc :name => :giant_rat_87, :x => 3105, :y => 9514
|
||||
spawn_npc :name => :giant_rat_87, :x => 3105, :y => 9517
|
||||
spawn_npc :name => :giant_rat_87, :x => 3106, :y => 9514
|
||||
spawn_npc :name => :giant_rat_87, :x => 3104, :y => 9514
|
||||
spawn_npc :name => :giant_rat_87, :x => 3105, :y => 9519
|
||||
spawn_npc :name => :giant_rat_87, :x => 3109, :y => 9516
|
||||
spawn_npc :name => :giant_rat_87, :x => 3108, :y => 9520
|
||||
spawn_npc :name => :giant_rat_87, :x => 3102, :y => 9517
|
||||
spawn_npc :name => :chicken_41, :x => 3140, :y => 3095
|
||||
spawn_npc :name => :chicken_41, :x => 3140, :y => 3093
|
||||
spawn_npc :name => :chicken_41, :x => 3138, :y => 3092
|
||||
spawn_npc :name => :chicken_41, :x => 3137, :y => 3094
|
||||
spawn_npc :name => :chicken_41, :x => 3138, :y => 3095
|
||||
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0"?>
|
||||
<plugin>
|
||||
<id>location-tutorial-island</id>
|
||||
<version>0.1</version>
|
||||
<name>Tutorial Island</name>
|
||||
<description>Adds funtionality to Tutorial island.</description>
|
||||
<authors>
|
||||
<author>Major</author>
|
||||
</authors>
|
||||
<scripts>
|
||||
<script>npcs.rb</script>
|
||||
</scripts>
|
||||
<dependencies>
|
||||
<dependency>entity-spawning</dependency>
|
||||
</dependencies>
|
||||
</plugin>
|
||||
Reference in New Issue
Block a user