Pastebin
API
tools
faq
paste
Login
Sign up
Please fix the following errors:
New Paste
Syntax Highlighting
# player unit setup # pre-setup for any character to be added to a player squad # whereas this step is optional for enemy squads, it is necessary for player squads # squads in a players collection must consist of units in a players collection # *new* added command to template unit from this page and add it to the collection # or show or hide single units # use collection ids higher than those below tempalting units like this to avoid overlapping # don't ever reuse collection ids # with system added units, ids are over 1000 to avoid conflict # removed units keep their ids # if you tempalte a new unit over an old id, the old unit will be replaced! # create_player_unit(template_id, collection_id, consume_resources?) # creates a unit in the player collection with template id at collection id # template_id is the designator for the template (below) to create the unit from # collection_id should be unique from those in PLAYER_COLLECTION_INIT # (unless replacing a unit) and less than 1000 # consume_resources? is a true or false # if true, existing player resources are consumed when unit enters # if false, generates additional resources to accomodate when it enters # added simplified commands for showing/hiding a single unit by their ID # hide_player_unit(collection_id) # unhide_player_unit(collection_id) # transform_player_unit(collection_id, template_id, keep_equip?, keep_level?, keep_class?) # transforms the unit at the collection id into a new one # allows to keep level, equip, or class # rest is replaced by templated stats # set_army_leader(collection_id) # character becomes the leader of the player's faction # # remove_player_unit(collection_id) # hides unit in collection and strips their equipment and resources first # (used for those not coming back but you want to reimburse player) module UnitSetup # yes, this is a shared namespace PLAYER_UNIT_TEMPLATE_DEFAULTS = Hash.new { |h, k| h[k] = Hash.new } # no touchy PLAYER_UNIT_TEMPLATE_DEFAULTS[:name] = nil # the name of the unit PLAYER_UNIT_TEMPLATE_DEFAULTS[:nickname] = nil PLAYER_UNIT_TEMPLATE_DEFAULTS[:class_id] = nil # the class id of the unit PLAYER_UNIT_TEMPLATE_DEFAULTS[:actor_id] = nil # the actor id of the unit PLAYER_UNIT_TEMPLATE_DEFAULTS[:level] = nil # suggested level PLAYER_UNIT_TEMPLATE_DEFAULTS[:level_mod] = nil PLAYER_UNIT_TEMPLATE_DEFAULTS[:param] = Hash.new(nil) PLAYER_UNIT_TEMPLATE_DEFAULTS[:param_mod] = Hash.new(1.0) PLAYER_UNIT_TEMPLATE_DEFAULTS[:death_switch] = nil # turns this switch *on* when unit dies PLAYER_UNIT_TEMPLATE_DEFAULTS[:tags] = [] PLAYER_UNIT_TEMPLATE_DEFAULTS[:identifier] = nil PLAYER_UNIT_TEMPLATE_DEFAULTS[:hidden] = true PLAYER_UNIT_TEMPLATE_DEFAULTS[:fixed] = false # a fixed unit cannot be moved PLAYER_UNIT_TEMPLATE = Hash.new { |h1, k1| h1[k1] = Hash.new { |h2, k2| h2[k2] = Marshal.load(Marshal.dump(PLAYER_UNIT_TEMPLATE_DEFAULTS[k2])) } } # no touchy # Format is PLAYER_UNIT_TEMPLATE[:designation][:property] = value # designations for this setup still Case Sensitive # how this works differently than enemy unit templating: # either class id or actor id must be set # class id can be an array (remember, rolled at start of game) # if level and level mod are not set, the level is based # off the level of the *leader* of the squad they first appear in # if neither are set, they end up level 1 # unique characters should based off actor_ids # # hidden category added because most squads start not in the collection # *note* if a squad is hidden or unhidden, *all* units within follow suit # identifier category added to track units that came in with # a certain squad, just in case # most importatnly, when templating is done, player units need to be # added to the player collection (see PLAYER_COLLECTION_INIT) # before they can be added to a squad PLAYER_UNIT_TEMPLATE["protag"][:name] = nil # in game name # if not set, and pulled from a class id, random will be assigned # if pulled from actor id, the actor's name will be used PLAYER_UNIT_TEMPLATE["protag"][:class_id] = nil # the class ID of the unit. # Use an array, and one will be randomly selected # actor_id takes precedence PLAYER_UNIT_TEMPLATE["protag"][:actor_id] = 8 # actor id of the unit # use for special characters PLAYER_UNIT_TEMPLATE["protag"][:level] = nil # start at this level # if not set, and actor_id is set, use their starting level # if not set and class_id is set, use the leaders level when they appear # (squad leaders level if they appear in squad, opinion leader's level if they # appear in collection) PLAYER_UNIT_TEMPLATE["protag"][:level_mod] = nil # add this value to the unit's level after all other calculations PLAYER_UNIT_TEMPLATE["protag"][:tags] = [] # if any special tags need to be added that aren't handled elsewhere # put them here PLAYER_UNIT_TEMPLATE["protag"][:identifier] = :protag_squad # just noting that this starts in protag's squad (because it is protag) PLAYER_UNIT_TEMPLATE["protag"][:hidden] = false # this one starts in the player army # zelos pre-setup PLAYER_UNIT_TEMPLATE["zelos"][:name] = nil PLAYER_UNIT_TEMPLATE["zelos"][:class_id] = nil PLAYER_UNIT_TEMPLATE["zelos"][:actor_id] = 9 PLAYER_UNIT_TEMPLATE["zelos"][:level] = nil PLAYER_UNIT_TEMPLATE["zelos"][:level_mod] = nil PLAYER_UNIT_TEMPLATE["zelos"][:tags] = [] PLAYER_UNIT_TEMPLATE["zelos"][:identifier] = :zelos_squad PLAYER_UNIT_TEMPLATE["zelos"][:hidden] = false PLAYER_UNIT_TEMPLATE["fighter1"][:name] = nil PLAYER_UNIT_TEMPLATE["fighter1"][:class_id] = 2 PLAYER_UNIT_TEMPLATE["fighter1"][:actor_id] = nil PLAYER_UNIT_TEMPLATE["fighter1"][:level] = 1 PLAYER_UNIT_TEMPLATE["fighter1"][:level_mod] = nil PLAYER_UNIT_TEMPLATE["fighter1"][:tags] = [] PLAYER_UNIT_TEMPLATE["fighter1"][:identifier] = :protag_squad PLAYER_UNIT_TEMPLATE["fighter1"][:hidden] = false PLAYER_UNIT_TEMPLATE["medic1"][:name] = nil PLAYER_UNIT_TEMPLATE["medic1"][:class_id] = 28 PLAYER_UNIT_TEMPLATE["medic1"][:actor_id] = nil PLAYER_UNIT_TEMPLATE["medic1"][:level] = 1 PLAYER_UNIT_TEMPLATE["medic1"][:level_mod] = nil PLAYER_UNIT_TEMPLATE["medic1"][:tags] = [] PLAYER_UNIT_TEMPLATE["medic1"][:identifier] = :protag_squad PLAYER_UNIT_TEMPLATE["medic1"][:hidden] = false PLAYER_UNIT_TEMPLATE["bowman1"][:name] = nil PLAYER_UNIT_TEMPLATE["bowman1"][:class_id] = 22 PLAYER_UNIT_TEMPLATE["bowman1"][:actor_id] = nil PLAYER_UNIT_TEMPLATE["bowman1"][:level] = 1 PLAYER_UNIT_TEMPLATE["bowman1"][:level_mod] = nil PLAYER_UNIT_TEMPLATE["bowman1"][:tags] = [] PLAYER_UNIT_TEMPLATE["bowman1"][:identifier] = :zelos_squad PLAYER_UNIT_TEMPLATE["bowman1"][:hidden] = false PLAYER_UNIT_TEMPLATE["jules1"][:name] = nil PLAYER_UNIT_TEMPLATE["jules1"][:class_id] = nil PLAYER_UNIT_TEMPLATE["jules1"][:actor_id] = 10 PLAYER_UNIT_TEMPLATE["jules1"][:level] = nil PLAYER_UNIT_TEMPLATE["jules1"][:level_mod] = nil PLAYER_UNIT_TEMPLATE["jules1"][:tags] = [] PLAYER_UNIT_TEMPLATE["jules1"][:identifier] = :jules_squad PLAYER_UNIT_TEMPLATE["jules1"][:hidden] = true PLAYER_UNIT_TEMPLATE["bowman2"][:name] = nil PLAYER_UNIT_TEMPLATE["bowman2"][:class_id] = 22 PLAYER_UNIT_TEMPLATE["bowman2"][:actor_id] = nil PLAYER_UNIT_TEMPLATE["bowman2"][:level] = 1 PLAYER_UNIT_TEMPLATE["bowman2"][:level_mod] = nil PLAYER_UNIT_TEMPLATE["bowman2"][:tags] = [] PLAYER_UNIT_TEMPLATE["bowman2"][:identifier] = :jules_squad PLAYER_UNIT_TEMPLATE["bowman2"][:hidden] = true PLAYER_UNIT_TEMPLATE["fighter2"][:name] = nil PLAYER_UNIT_TEMPLATE["fighter2"][:class_id] = 2 PLAYER_UNIT_TEMPLATE["fighter2"][:actor_id] = nil PLAYER_UNIT_TEMPLATE["fighter2"][:level] = 1 PLAYER_UNIT_TEMPLATE["fighter2"][:level_mod] = nil PLAYER_UNIT_TEMPLATE["fighter2"][:tags] = [] PLAYER_UNIT_TEMPLATE["fighter2"][:identifier] = :sybil_squad PLAYER_UNIT_TEMPLATE["fighter2"][:hidden] = true PLAYER_UNIT_TEMPLATE["sybil1"][:name] = nil PLAYER_UNIT_TEMPLATE["sybil1"][:class_id] = nil PLAYER_UNIT_TEMPLATE["sybil1"][:actor_id] = 11 PLAYER_UNIT_TEMPLATE["sybil1"][:level] = nil PLAYER_UNIT_TEMPLATE["sybil1"][:level_mod] = nil PLAYER_UNIT_TEMPLATE["sybil1"][:tags] = [] PLAYER_UNIT_TEMPLATE["sybil1"][:identifier] = :sybil_squad PLAYER_UNIT_TEMPLATE["sybil1"][:hidden] = true PLAYER_UNIT_TEMPLATE["barnabas1"][:name] = nil PLAYER_UNIT_TEMPLATE["barnabas1"][:class_id] = nil PLAYER_UNIT_TEMPLATE["barnabas1"][:actor_id] = 12 PLAYER_UNIT_TEMPLATE["barnabas1"][:level] = nil PLAYER_UNIT_TEMPLATE["barnabas1"][:level_mod] = nil PLAYER_UNIT_TEMPLATE["barnabas1"][:tags] = [] PLAYER_UNIT_TEMPLATE["barnabas1"][:identifier] = :barnabas_squad PLAYER_UNIT_TEMPLATE["barnabas1"][:hidden] = true PLAYER_UNIT_TEMPLATE["scoutbarn"][:name] = nil PLAYER_UNIT_TEMPLATE["scoutbarn"][:class_id] = 19 PLAYER_UNIT_TEMPLATE["scoutbarn"][:actor_id] = nil PLAYER_UNIT_TEMPLATE["scoutbarn"][:level] = 3 PLAYER_UNIT_TEMPLATE["scoutbarn"][:level_mod] = nil PLAYER_UNIT_TEMPLATE["scoutbarn"][:tags] = [] PLAYER_UNIT_TEMPLATE["scoutbarn"][:identifier] = :barnabas_squad PLAYER_UNIT_TEMPLATE["scoutbarn"][:hidden] = true PLAYER_UNIT_TEMPLATE["stefan1"][:name] = nil PLAYER_UNIT_TEMPLATE["stefan1"][:class_id] = nil PLAYER_UNIT_TEMPLATE["stefan1"][:actor_id] = 14 PLAYER_UNIT_TEMPLATE["stefan1"][:level] = nil PLAYER_UNIT_TEMPLATE["stefan1"][:level_mod] = nil PLAYER_UNIT_TEMPLATE["stefan1"][:tags] = [] PLAYER_UNIT_TEMPLATE["stefan1"][:identifier] = :stefan_squad PLAYER_UNIT_TEMPLATE["stefan1"][:hidden] = true PLAYER_UNIT_TEMPLATE["diana1"][:name] = nil PLAYER_UNIT_TEMPLATE["diana1"][:class_id] = nil PLAYER_UNIT_TEMPLATE["diana1"][:actor_id] = 13 PLAYER_UNIT_TEMPLATE["diana1"][:level] = nil PLAYER_UNIT_TEMPLATE["diana1"][:level_mod] = nil PLAYER_UNIT_TEMPLATE["diana1"][:tags] = [] PLAYER_UNIT_TEMPLATE["diana1"][:identifier] = :diana_squad PLAYER_UNIT_TEMPLATE["diana1"][:hidden] = true PLAYER_UNIT_TEMPLATE["abigayle1"][:name] = nil PLAYER_UNIT_TEMPLATE["abigayle1"][:class_id] = nil PLAYER_UNIT_TEMPLATE["abigayle1"][:actor_id] = 15 PLAYER_UNIT_TEMPLATE["abigayle1"][:level] = nil PLAYER_UNIT_TEMPLATE["abigayle1"][:level_mod] = nil PLAYER_UNIT_TEMPLATE["abigayle1"][:tags] = [] PLAYER_UNIT_TEMPLATE["abigayle1"][:identifier] = :abigayle_squad PLAYER_UNIT_TEMPLATE["abigayle1"][:hidden] = true PLAYER_UNIT_TEMPLATE["acolyteabi"][:name] = nil PLAYER_UNIT_TEMPLATE["acolyteabi"][:class_id] = 93 PLAYER_UNIT_TEMPLATE["acolyteabi"][:actor_id] = nil PLAYER_UNIT_TEMPLATE["acolyteabi"][:level] = nil PLAYER_UNIT_TEMPLATE["acolyteabi"][:level_mod] = nil PLAYER_UNIT_TEMPLATE["acolyteabi"][:tags] = [] PLAYER_UNIT_TEMPLATE["acolyteabi"][:identifier] = :abigayle_squad PLAYER_UNIT_TEMPLATE["acolyteabi"][:hidden] = true PLAYER_UNIT_TEMPLATE["apprenticeabi"][:name] = nil PLAYER_UNIT_TEMPLATE["apprenticeabi"][:class_id] = 33 PLAYER_UNIT_TEMPLATE["apprenticeabi"][:actor_id] = nil PLAYER_UNIT_TEMPLATE["apprenticeabi"][:level] = nil PLAYER_UNIT_TEMPLATE["apprenticeabi"][:level_mod] = nil PLAYER_UNIT_TEMPLATE["apprenticeabi"][:tags] = [] PLAYER_UNIT_TEMPLATE["apprenticeabi"][:identifier] = :abigayle_squad PLAYER_UNIT_TEMPLATE["apprenticeabi"][:hidden] = true PLAYER_UNIT_TEMPLATE["bowmanabi"][:name] = nil PLAYER_UNIT_TEMPLATE["bowmanabi"][:class_id] = 22 PLAYER_UNIT_TEMPLATE["bowmanabi"][:actor_id] = nil PLAYER_UNIT_TEMPLATE["bowmanabi"][:level] = nil PLAYER_UNIT_TEMPLATE["bowmanabi"][:level_mod] = nil PLAYER_UNIT_TEMPLATE["bowmanabi"][:tags] = [] PLAYER_UNIT_TEMPLATE["bowmanabi"][:identifier] = :abigayle_squad PLAYER_UNIT_TEMPLATE["bowmanabi"][:hidden] = true PLAYER_UNIT_TEMPLATE["narima1"][:name] = nil PLAYER_UNIT_TEMPLATE["narima1"][:class_id] = nil PLAYER_UNIT_TEMPLATE["narima1"][:actor_id] = 16 PLAYER_UNIT_TEMPLATE["narima1"][:level] = nil PLAYER_UNIT_TEMPLATE["narima1"][:level_mod] = nil PLAYER_UNIT_TEMPLATE["narima1"][:tags] = [] PLAYER_UNIT_TEMPLATE["narima1"][:identifier] = :narima_squad PLAYER_UNIT_TEMPLATE["narima1"][:hidden] = true PLAYER_UNIT_TEMPLATE["raskuja1"][:name] = nil PLAYER_UNIT_TEMPLATE["raskuja1"][:class_id] = nil PLAYER_UNIT_TEMPLATE["raskuja1"][:actor_id] = 17 PLAYER_UNIT_TEMPLATE["raskuja1"][:level] = nil PLAYER_UNIT_TEMPLATE["raskuja1"][:level_mod] = nil PLAYER_UNIT_TEMPLATE["raskuja1"][:tags] = [] PLAYER_UNIT_TEMPLATE["raskuja1"][:identifier] = :raskuja_squad PLAYER_UNIT_TEMPLATE["raskuja1"][:hidden] = true PLAYER_UNIT_TEMPLATE["xbowraskuja"][:name] = nil PLAYER_UNIT_TEMPLATE["xbowraskuja"][:class_id] = 41 PLAYER_UNIT_TEMPLATE["xbowraskuja"][:actor_id] = nil PLAYER_UNIT_TEMPLATE["xbowraskuja"][:level] = nil PLAYER_UNIT_TEMPLATE["xbowraskuja"][:level_mod] = nil PLAYER_UNIT_TEMPLATE["xbowraskuja"][:tags] = [] PLAYER_UNIT_TEMPLATE["xbowraskuja"][:identifier] = :raskuja_squad PLAYER_UNIT_TEMPLATE["xbowraskuja"][:hidden] = true PLAYER_UNIT_TEMPLATE["skirmraskuja"][:name] = nil PLAYER_UNIT_TEMPLATE["skirmraskuja"][:class_id] = 15 PLAYER_UNIT_TEMPLATE["skirmraskuja"][:actor_id] = nil PLAYER_UNIT_TEMPLATE["skirmraskuja"][:level] = nil PLAYER_UNIT_TEMPLATE["skirmraskuja"][:level_mod] = nil PLAYER_UNIT_TEMPLATE["skirmraskuja"][:tags] = [] PLAYER_UNIT_TEMPLATE["skirmraskuja"][:identifier] = :raskuja_squad PLAYER_UNIT_TEMPLATE["skirmraskuja"][:hidden] = true PLAYER_UNIT_TEMPLATE["lysander1"][:name] = nil PLAYER_UNIT_TEMPLATE["lysander1"][:class_id] = nil PLAYER_UNIT_TEMPLATE["lysander1"][:actor_id] = 18 PLAYER_UNIT_TEMPLATE["lysander1"][:level] = nil PLAYER_UNIT_TEMPLATE["lysander1"][:level_mod] = nil PLAYER_UNIT_TEMPLATE["lysander1"][:tags] = [] PLAYER_UNIT_TEMPLATE["lysander1"][:identifier] = :lysander_squad PLAYER_UNIT_TEMPLATE["lysander1"][:hidden] = true PLAYER_UNIT_TEMPLATE["gunnerlysander"][:name] = nil PLAYER_UNIT_TEMPLATE["gunnerlysander"][:class_id] = 42 PLAYER_UNIT_TEMPLATE["gunnerlysander"][:actor_id] = nil PLAYER_UNIT_TEMPLATE["gunnerlysander"][:level] = nil PLAYER_UNIT_TEMPLATE["gunnerlysander"][:level_mod] = nil PLAYER_UNIT_TEMPLATE["gunnerlysander"][:tags] = [] PLAYER_UNIT_TEMPLATE["gunnerlysander"][:identifier] = :lysander_squad PLAYER_UNIT_TEMPLATE["gunnerlysander"][:hidden] = true PLAYER_UNIT_TEMPLATE["spearlysander"][:name] = nil PLAYER_UNIT_TEMPLATE["spearlysander"][:class_id] = 4 PLAYER_UNIT_TEMPLATE["spearlysander"][:actor_id] = nil PLAYER_UNIT_TEMPLATE["spearlysander"][:level] = nil PLAYER_UNIT_TEMPLATE["spearlysander"][:level_mod] = nil PLAYER_UNIT_TEMPLATE["spearlysander"][:tags] = [] PLAYER_UNIT_TEMPLATE["spearlysander"][:identifier] = :lysander_squad PLAYER_UNIT_TEMPLATE["spear1ysander"][:hidden] = true PLAYER_UNIT_TEMPLATE["jaromir"][:name] = nil PLAYER_UNIT_TEMPLATE["jaromir"][:class_id] = nil PLAYER_UNIT_TEMPLATE["jaromir"][:actor_id] = 19 PLAYER_UNIT_TEMPLATE["jaromir"][:level] = nil PLAYER_UNIT_TEMPLATE["jaromir"][:level_mod] = nil PLAYER_UNIT_TEMPLATE["jaromir"][:tags] = [] PLAYER_UNIT_TEMPLATE["jaromir"][:identifier] = :jaromir_squad PLAYER_UNIT_TEMPLATE["jaromir"][:hidden] = true PLAYER_UNIT_TEMPLATE["jaromirsoldier"][:name] = nil PLAYER_UNIT_TEMPLATE["jaromirsoldier"][:class_id] = 3 PLAYER_UNIT_TEMPLATE["jaromirsoldier"][:actor_id] = nil PLAYER_UNIT_TEMPLATE["jaromirsoldier"][:level] = nil PLAYER_UNIT_TEMPLATE["jaromirsoldier"][:level_mod] = nil PLAYER_UNIT_TEMPLATE["jaromirsoldier"][:tags] = [] PLAYER_UNIT_TEMPLATE["jaromirsoldier"][:identifier] = :jaromir_squad PLAYER_UNIT_TEMPLATE["jaromirsoldier"][:hidden] = true PLAYER_UNIT_TEMPLATE["jaromirpriestess"][:name] = nil PLAYER_UNIT_TEMPLATE["jaromirpriestess"][:class_id] = 29 PLAYER_UNIT_TEMPLATE["jaromirpriestess"][:actor_id] = nil PLAYER_UNIT_TEMPLATE["jaromirpriestess"][:level] = nil PLAYER_UNIT_TEMPLATE["jaromirpriestess"][:level_mod] = nil PLAYER_UNIT_TEMPLATE["jaromirpriestess"][:tags] = [] PLAYER_UNIT_TEMPLATE["jaromirpriestess"][:identifier] = :jaromir_squad PLAYER_UNIT_TEMPLATE["jaromirpriestess"][:hidden] = true PLAYER_UNIT_TEMPLATE["beatrixplayer"][:name] = nil PLAYER_UNIT_TEMPLATE["beatrixplayer"][:class_id] = nil PLAYER_UNIT_TEMPLATE["beatrixplayer"][:actor_id] = 20 PLAYER_UNIT_TEMPLATE["beatrixplayer"][:level] = nil PLAYER_UNIT_TEMPLATE["beatrixplayer"][:level_mod] = nil PLAYER_UNIT_TEMPLATE["beatrixplayer"][:tags] = [] PLAYER_UNIT_TEMPLATE["beatrixplayer"][:identifier] = :beatrixplayer_squad PLAYER_UNIT_TEMPLATE["beatrixplayer"][:hidden] = true PLAYER_UNIT_TEMPLATE["edeliaplayer"][:name] = nil PLAYER_UNIT_TEMPLATE["edeliaplayer"][:class_id] = nil PLAYER_UNIT_TEMPLATE["edeliaplayer"][:actor_id] = 21 PLAYER_UNIT_TEMPLATE["edeliaplayer"][:level] = nil PLAYER_UNIT_TEMPLATE["edeliaplayer"][:level_mod] = nil PLAYER_UNIT_TEMPLATE["edeliaplayer"][:tags] = [] PLAYER_UNIT_TEMPLATE["edeliaplayer"][:identifier] = :edeliaplayer_squad PLAYER_UNIT_TEMPLATE["edeliaplayer"][:hidden] = true PLAYER_UNIT_TEMPLATE["dkzelosplayer"][:name] = nil PLAYER_UNIT_TEMPLATE["dkzelosplayer"][:class_id] = nil PLAYER_UNIT_TEMPLATE["dkzelosplayer"][:actor_id] = 22 PLAYER_UNIT_TEMPLATE["dkzelosplayer"][:level] = nil PLAYER_UNIT_TEMPLATE["dkzelosplayer"][:level_mod] = nil PLAYER_UNIT_TEMPLATE["dkzelosplayer"][:tags] = [] PLAYER_UNIT_TEMPLATE["dkzelosplayer"][:identifier] = :dkzelosplayer_squad PLAYER_UNIT_TEMPLATE["dkzelosplayer"][:hidden] = true PLAYER_UNIT_TEMPLATE["kurodaplayer"][:name] = nil PLAYER_UNIT_TEMPLATE["kurodaplayer"][:class_id] = nil PLAYER_UNIT_TEMPLATE["kurodaplayer"][:actor_id] = 24 PLAYER_UNIT_TEMPLATE["kurodaplayer"][:level] = nil PLAYER_UNIT_TEMPLATE["kurodaplayer"][:level_mod] = nil PLAYER_UNIT_TEMPLATE["kurodaplayer"][:tags] = [] PLAYER_UNIT_TEMPLATE["kurodaplayer"][:identifier] = :kurodaplayer_squad PLAYER_UNIT_TEMPLATE["kurodaplayer"][:hidden] = true PLAYER_COLLECTION_INIT = [ # opening bracket # list all of player's initial collection here # don't forget a comma after every line # their *position* within this initial collection is their collection ID # even units that use a repeat template must have a unique id # to be added to the squad # you'll need this later to form squads # anything that appears here *must* be first set up above # note I am using fighter 1 three times # this means as soon as the game starts, 3 fighters will be rolled # their collection ids will be 2, 3, and 4 # they will be *different* fighters, but you reference them by collection id # when forming player squads "protag", # id 0 "zelos", # id 1 "fighter1", # id 2 "fighter1", # id 3 "medic1", # id 4 "bowman1", # id 5 "bowman1", # id 6 "jules1", # id 7 - Jules CH1 "bowman2", # id 8 - Jules CH1 "bowman2", # id 9 - Jules CH1 "fighter2", # id 10 - Sybil CH1 "fighter2", # id 11 - Sybil CH1 "sybil1", # id 12 - Sybil CH1 "barnabas1", # id 13 - Barn CH2 "scoutbarn", # id 14 - Barn CH2 "scoutbarn", # id 15 - Barn CH2 "stefan", # id 16 - Stefan CH4 "diana", # id 17 - Diana CH4 "abigayle", # id 18 - Abigayle CH5 "acolyteabi", # id 19 - Abigayle CH5 "acolyteabi", # id 20 - Abigayle CH5 "apprenticeabi", # id 21 - Abigayle CH5 "bowmanabi", # id 22 - Abigayle CH5 "narima1", # id 23 - Narima CH7 "raskuja1", # id 24 - Raskuja CH8 "skirmraskuja", # id 25 - Raskuja CH8 "xbowraskuja", # id 26 - Raskuja CH8 "xbowraskuja", # id 27 - Raskuja CH8 "lysander1", # id 28 - Lysander CH9 "spearlysander", # id 29 - Lysander CH9 "spearlysander", # id 30 - Lysander CH9 "gunnerlysander", # id 31 - Lysander CH9 "gunnerlysander", # id 32 - Lysander CH9 "gunnerlysander", # id 33 - Lysander CH9 "jaromir", # id 34 - Jaromir CH19 "jaromirsoldier", # id 35 - Jaromir CH19 "jaromirsoldier", # id 36 - Jaromir CH19 "jaromirsoldier", # id 37 - Jaromir CH19 "jaromirpriestess", # id 38 - Jaromir CH19 "jaromirpriestess", # id 39 - Jaromir CH19 "beatrixplayer", # id 40 - Beatrix CH20 "edeliaplayer", # id 41 - Beatrix CH20 "dkezlosplayer", # id 42 - Beatrix CH30 "kurodaplayer", # id 43 - Beatrix CH30 ] #closing bracket end
Optional Paste Settings
Syntax Highlighting:
None
Bash
C
C#
C++
CSS
HTML
JSON
Java
JavaScript
Lua
Markdown (PRO members only)
Objective C
PHP
Perl
Python
Ruby
Swift
4CS
6502 ACME Cross Assembler
6502 Kick Assembler
6502 TASM/64TASS
ABAP
AIMMS
ALGOL 68
APT Sources
ARM
ASM (NASM)
ASP
ActionScript
ActionScript 3
Ada
Apache Log
AppleScript
Arduino
Asymptote
AutoIt
Autohotkey
Avisynth
Awk
BASCOM AVR
BNF
BOO
Bash
Basic4GL
Batch
BibTeX
Blitz Basic
Blitz3D
BlitzMax
BrainFuck
C
C (WinAPI)
C Intermediate Language
C for Macs
C#
C++
C++ (WinAPI)
C++ (with Qt extensions)
C: Loadrunner
CAD DCL
CAD Lisp
CFDG
CMake
COBOL
CSS
Ceylon
ChaiScript
Chapel
Clojure
Clone C
Clone C++
CoffeeScript
ColdFusion
Cuesheet
D
DCL
DCPU-16
DCS
DIV
DOT
Dart
Delphi
Delphi Prism (Oxygene)
Diff
E
ECMAScript
EPC
Easytrieve
Eiffel
Email
Erlang
Euphoria
F#
FO Language
Falcon
Filemaker
Formula One
Fortran
FreeBasic
FreeSWITCH
GAMBAS
GDB
GDScript
Game Maker
Genero
Genie
GetText
Go
Godot GLSL
Groovy
GwBasic
HQ9 Plus
HTML
HTML 5
Haskell
Haxe
HicEst
IDL
INI file
INTERCAL
IO
ISPF Panel Definition
Icon
Inno Script
J
JCL
JSON
Java
Java 5
JavaScript
Julia
KSP (Kontakt Script)
KiXtart
Kotlin
LDIF
LLVM
LOL Code
LScript
Latex
Liberty BASIC
Linden Scripting
Lisp
Loco Basic
Logtalk
Lotus Formulas
Lotus Script
Lua
M68000 Assembler
MIX Assembler
MK-61/52
MPASM
MXML
MagikSF
Make
MapBasic
Markdown (PRO members only)
MatLab
Mercury
MetaPost
Modula 2
Modula 3
Motorola 68000 HiSoft Dev
MySQL
Nagios
NetRexx
Nginx
Nim
NullSoft Installer
OCaml
OCaml Brief
Oberon 2
Objeck Programming Langua
Objective C
Octave
Open Object Rexx
OpenBSD PACKET FILTER
OpenGL Shading
Openoffice BASIC
Oracle 11
Oracle 8
Oz
PARI/GP
PCRE
PHP
PHP Brief
PL/I
PL/SQL
POV-Ray
ParaSail
Pascal
Pawn
Per
Perl
Perl 6
Phix
Pic 16
Pike
Pixel Bender
PostScript
PostgreSQL
PowerBuilder
PowerShell
ProFTPd
Progress
Prolog
Properties
ProvideX
Puppet
PureBasic
PyCon
Python
Python for S60
QBasic
QML
R
RBScript
REBOL
REG
RPM Spec
Racket
Rails
Rexx
Robots
Roff Manpage
Ruby
Ruby Gnuplot
Rust
SAS
SCL
SPARK
SPARQL
SQF
SQL
SSH Config
Scala
Scheme
Scilab
SdlBasic
Smalltalk
Smarty
StandardML
StoneScript
SuperCollider
Swift
SystemVerilog
T-SQL
TCL
TeXgraph
Tera Term
TypeScript
TypoScript
UPC
Unicon
UnrealScript
Urbi
VB.NET
VBScript
VHDL
VIM
Vala
Vedit
VeriLog
Visual Pro Log
VisualBasic
VisualFoxPro
WHOIS
WhiteSpace
Winbatch
XBasic
XML
XPP
Xojo
Xorg Config
YAML
YARA
Z80 Assembler
ZXBasic
autoconf
jQuery
mIRC
newLISP
q/kdb+
thinBasic
Paste Expiration:
Never
Burn after read
10 Minutes
1 Hour
1 Day
1 Week
2 Weeks
1 Month
6 Months
1 Year
Paste Exposure:
Public
Unlisted
Private
Folder:
(members only)
Password
NEW
Enabled
Disabled
Burn after read
NEW
Paste Name / Title:
Create New Paste
Hello
Guest
Sign Up
or
Login
Sign in with Facebook
Sign in with Twitter
Sign in with Google
You are currently not logged in, this means you can not edit or delete anything you paste.
Sign Up
or
Login
Public Pastes
problem solution
C++ | 2 min ago
Untitled
C | 44 min ago
Untitled
C | 1 hour ago
testcontocorrente
C++ | 1 hour ago
classecontocorrent...
C++ | 1 hour ago
contocorrente.h
C++ | 1 hour ago
testclassebici
C++ | 1 hour ago
classebici
C++ | 1 hour ago
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!