[spoiler][code]#==============================================================================
# Crystal Engine - Licence Board
#------------------------------------------------------------------------------
# Current Version 1.05
#==============================================================================
$imported = {} if $imported.nil?
$imported["CE-LB"] = true
=begin
this script replicates the licence board from FF12
the mini faces used in the scene are set with the notetag
and changed with the script call change_actor_mini_face(x, string) were x is the
actor id and string is the file name
to set an actor's starting LP use
that same notetag when used in the enemy box set the LP Yield for Enemy
to add LP to an actor you can use either gain_lp(x, y) or $game_actors[x].lp += y
were x is the actor id and y is the LP to be added
=end
module CRYSTAL
module LICENCE

DEBUG_LP = 3000 # The LP you start with durring a playtest
#(added to what you already have)

ACTIVE_ICON = 125 # the icon for a square that is active (faded out is off)

FACE_FOLDER = "Faces"

EQUIPMENT_REQUIRE_NORMAL_CONDITION = true # Should the equipable feature need to be set

ESPER_LICENCE_FOR_SUMMON = true # Should you have the licence for an esper to summon it.

ESPER_LICENCE_FOR_PAIR = true # Should you have the licence for an esper to pair with it.

CONFIRM_TEXT = "Obtain %s?" # Text when confirming licence obtaining

BOARD_ACTORS = [1,2,3,4,5,6,7,8,9,10] # the actors that use the board
# if an actor does not use it they can equip any piece of equipment they
# could normally equip and can use any skill they could normally use
# why this is here is because of guests in FF12 did not use the board
# instead they had set equipment and set skills that could not be changed
# under any circumstances

STARTING_TILE = 8 # the square that the licence board is on when opened for
# the first time afterwards it is whatever tile you close on

end
end
end
module CRYSTAL
module CHECK
#--------------------------------------------------------------------------
# * Checks if you have a certain script installed
#--------------------------------------------------------------------------
def self.require(self_name, script, site = "http://crystalnoel42.wordpress.com")
unless $imported["CE-BasicModule"]
msg = "The script '#{self_name}' requires the latest\n"
msg += "version of 'Crystal Engine - Basic Module' to work properly\n"
msg += "Go to http://crystalnoel42.wordpress.com/ to download this script."
raise SyntaxError.new(msg)
end
unless $imported[script]
msg = "The script '#{self_name}' requires the latest\n"
msg += "version of #{scripts_list(script)} to work properly\n"
msg += "Go to #{site} to download this script."
raise SyntaxError.new(msg)
end
end
end
end
CRYSTAL::CHECK.require("Crystal Engine - Licence Board", "CE-BasicModule")
#==============================================================================
# ** DataManager
#------------------------------------------------------------------------------
# This module manages the database and game objects. Almost all of the
# global variables used by the game are initialized by this module.
#==============================================================================