Town-scrolls for RMX-OS
Authors: edwardthefma, Blizzard
Version: 1.0
Type: RMX-OS Plugin
Key Term: RMX-OS Plugin
IntroductionThis script allows you type in the command town-scroll and you will be tellaported to the town you have it set for.
This script is to be distributed under the same terms and conditions like the script it was created for: RMX-OS.
Features
- transfering comands
- very easy to use
ScreenshotsN/A for this sort of script.
DemoN/A
ScriptJust make a new script above main and paste this code into it.
#:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=
# town scroll for RMX-OS by edwardthefma & Blizzard
# Version: 1.0
# Type: RMX-OS Add-on
# Date: 9.16.2009
#:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=
#
# This script is to be distributed under the same terms and conditions like
# the script it was created for: RMX-OS.
#
#:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=
#
# Information: ok you need to change the numbers to define
# where you want the town-scroll to go the command name can be any thing you want it to be
#
#
#
# if message =~ /\A\/command name \Z/
# if $game_party.item_number(item id) == 1
# $game_temp.player_transferring = true
# $game_temp.player_new_map_id = mapid
# $game_temp.player_new_x = map x
# $game_temp.player_new_y = map y
# $game_temp.player_new_direction = 0
# $scene = Scene_Map.new
# $game_map.autoplay
# $game_party.gain_item( item id ,-1)
#
# If you find any bugs, please report them here:
# http://forum.chaos-project.com
#:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=
class RMXOS::Network
#============================================================================
# module RMXOS::Docs
#----------------------------------------------------------------------------
# Contains data for in-game information how to use RMX-OS. This should not
# be edited but only extended in case of adding new functionality (i.e.
# additional chat commands).
#============================================================================
module RMXOS::Docs
PARAMETERS['town-scroll'] = 'none'
DESCRIPTIONS['town-scroll'] = 'takes you to a town.'
end
#==============================================================================
# the chat command for towns-scroll
#==============================================================================
alias check_normal_commands_command_save check_normal_commands
def check_normal_commands(message)
if message =~ /\A\/town-scroll\Z/
if $game_party.item_number(34) == 1
$game_temp.player_transferring = true
$game_temp.player_new_map_id = 10
$game_temp.player_new_x = 10
$game_temp.player_new_y = 9
$game_temp.player_new_direction = 0
$scene = Scene_Map.new
$game_map.autoplay
$game_party.gain_item(34,-1)
return true
end
return true
end
return check_normal_commands_command_save(message)
end
end
InstructionsIn the script
CompatibilityRequires RMX-OS to work.
Credits and Thanks
- edwardthefma
- Boris "Blizzard" Mikić
- Aqua
Author's Notesnone
If you find any bugs, please report them here:
http://forum.chaos-project.com