L'J Notetag System

LJames

Warper
Member
Joined
Aug 23, 2015
Messages
2
Reaction score
2
First Language
Russian
Primarily Uses
L'James Notetag System v.1.1
 ​
This script serves to simplify work with notetags in custom scripts.

 
Features:

  • Execute specifed action when note matches with regex
  • Parse notes and automatically receive data from notetags by using special rules
Link: http://pastebin.com/GfQaiXZF

How to use:

Script uses simple DSL to setup notetags.

LJ::NOTETAGS.extension do # Extension styling trait_parser create_parser.add_anon_matcher("[%s]"){|x| true} # Parameter schemes' registraion declare_features do register :power, hash:)percent).set_key_limit:)fire, :ice, :lightning) # Registers notetags like <power fire 150%> end declare_skill do register :piercing, trait end declare(RPG::Actor, RPG::Enemy) do register :undead, trait end endAnd then you can use obj.get_param:)name) or obj.name to retrieve data

Also you can use battler.get_feature:)name) or battler.name to retrieve data for parameters that are declared like features (they work like RPGVXA features)

P.S. Sorry for my bad english
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,862
Messages
1,017,049
Members
137,570
Latest member
fgfhdfg
Top