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
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 😛ower, hash🙂percent).set_key_limit🙂fire, :ice, :lightning) # Registers notetags like <power fire 150%> end declare_skill do register 😛iercing, 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