Skip to content

some ogl scripts

Anton Palikhov edited this page Jul 6, 2018 · 1 revision

Hi everyone! I was suggested in another thread to ask you guys for help in converting a bunch of macros from 5e OGL to Shaped Sheet. Was following the YouTuber Taking20's guide to making a 5e Monster Manual with associated Token Macros, so I don't need to find attacks, traits, etc on the sheet to use them, but can just click on a macro button at the top of my screen. The issue I'm having is that the guide is for 5e OGL and I want to use Shaped Sheet. I'm a complete idiot when it comes to making macros, and really can't seem to comprehend how it's done, which is why I'm after simple copy/paste macros I can use to create Token Macros for my monsters. If anyone have the time to convert the following macros from 5e OGL to Shaped Sheet versions, I would be incredibly grateful:

  1. Attack %{selected|repeating_npcaction_$0_npc_action}

  2. Trait /w gm &{template:npcaction} {{name=@{selected|npc_name}}} {{rname=@{selected|repeating_npctrait_$0_name}}} {{description=@{selected|repeating_npctrait_$0_desc}}}

  3. Reaction /w gm &{template:npcaction} {{name=@{selected|npc_name}}} {{rname=@{selected|repeating_npcreaction_$0_name}}} {{description=@{selected|repeating_npcreaction_$0_desc} }}

  4. Initiative %{selected|npc_init}

  5. Saves /w gm &{template:default} {{name=Saving Throws}} {{Str Save= 1d20+@{npcd_str_mod} | 1d20+@{npcd_str_mod}}} {{Dex Save= 1d20+@{npcd_dex_mod} | 1d20+@{npcd_dex_mod}}} {{Con Save= 1d20+@{npcd_con_mod} | 1d20+@{npcd_con_mod}}} {{Int Save= 1d20+@{npcd_int_mod} | 1d20+@{npcd_int_mod}}} {{Wis Save= 1d20+@{npcd_wis_mod} | 1d20+@{npcd_wis_mod}}} {{Cha Save= 1d20+@{npcd_cha_mod} | 1d20+@{npcd_cha_mod}}}

  6. DR/Immunities /w gm &{template:default} {{name=DR/Immunities}} {{Damage Resistance= @{selected|npc_resistances}}} {{Damage Vulnerability= @{selected|npc_vulnerabilities}}} {{Damage Immunity= @{selected|npc_immunities}}} {{Condition Immunity= @{selected|npc_condition_immunities}}}

  7. Perception /w gm %{Selected|npc_perception} /w gm @{selected|wtype}&{template:npc} {{normal=1}} {{name=@{selected|npc_name}}} {{rname=Passive Perception}} {{mod=}} {{r1=@{selected}}

  8. Stealth @{selected|wtype}&{template:npc} {{name=@{selected|npc_name}}} {{rname=^{stealth}}} {{mod=@{selected|npc_stealth}}} {{r1=1d20+@{selected}} @{selected|rtype}+@{selected|npc_stealth}]]}}

  9. Stats /w gm &{template:default} {{name=Stats}} {{Armor Class= @{selected|npc_AC} @{selected|npcd_actype}}} {{Hit Dice= @{selected|npc_hpformula} | @{selected}} {{Speed= @{selected|npc_speed}}} {{Senses=@{selected|npc_senses}}}

  10. Spells %{selected|repeating_spell-npc_$0_spell}

  11. Legendary Action Description @{selected|wtype}&{template:npcaction} {{name=@{selected|npc_name}}} {{rname=Legendary Actions}} {{description=The @{selected|npc_name} can take @{selected|npc_legendary_actions} legendary actions, choosing from the options below. Only one legendary option can be used at a time and only at the end of another creature's turn. The @{selected|npc_name} regains spent legendary actions at the start of its turn.}} @{selected|charname_output}

  12. Legendary Action %{selected|repeating_npcaction-l_$0_npc_action}

May 28 (1 year ago) Kryx Pro Sheet Author Permalink Quote Report

Kasper N. said:
1) Attack
%{selected|repeating_npcaction_$0_npc_action}

%{selected|repeating_action_$0_action}

Kasper N. said:
2) Trait
/w gm &{template:npcaction} {{name=@{selected|npc_name}}} {{rname=@{selected|repeating_npctrait_$0_name}}} {{description=@{selected|repeating_npctrait_$0_desc}}}

%{selected|repeating_trait_$0_trait}

Kasper N. said:
3) Reaction
/w gm &{template:npcaction} {{name=@{selected|npc_name}}} {{rname=@{selected|repeating_npcreaction_$0_name}}} {{description=@{selected|repeating_npcreaction_$0_desc} }}

%{selected|repeating_reaction_$0_action}

Kasper N. said:
4) Initiative
%{selected|npc_init}

%{selected|shaped_initiative}

Kasper N. said:
5) Saves
/w gm &{template:default} {{name=Saving Throws}} {{Str Save= [[1d20+@{npcd_str_mod}]] | [[1d20+@{npcd_str_mod}]]}} {{Dex Save= [[1d20+@{npcd_dex_mod}]] | [[1d20+@{npcd_dex_mod}]]}} {{Con Save= [[1d20+@{npcd_con_mod}]] | [[1d20+@{npcd_con_mod}]]}} {{Int Save= [[1d20+@{npcd_int_mod}]] | [[1d20+@{npcd_int_mod}]]}} {{Wis Save= [[1d20+@{npcd_wis_mod}]] | [[1d20+@{npcd_wis_mod}]]}} {{Cha Save= [[1d20+@{npcd_cha_mod}]] | [[1d20+@{npcd_cha_mod}]]}}

%{selected|shaped_saving_throw}

Kasper N. said:
6) DR/Immunities
/w gm &{template:default} {{name=DR/Immunities}} {{Damage Resistance= @{selected|npc_resistances}}} {{Damage Vulnerability= @{selected|npc_vulnerabilities}}} {{Damage Immunity= @{selected|npc_immunities}}} {{Condition Immunity= @{selected|npc_condition_immunities}}}

%{selected|shaped_damage_vulnerabilities} %{selected|shaped_damage_resistances} %{selected|shaped_damage_immunities} %{selected|shaped_condition_immunities}

Kasper N. said:
7) Perception
/w gm %{Selected|npc_perception}
/w gm @{selected|wtype}&{template:npc} {{normal=1}} {{name=@{selected|npc_name}}} {{rname=Passive Perception}} {{mod=}} {{r1=[[@{selected|npc_passiveperceptionbase}]]}

Assuming you haven't adjusted the skills: %{selected|repeating_skill_$11_skill}

Kasper N. said:
8) Stealth
@{selected|wtype}&{template:npc} {{name=@{selected|npc_name}}} {{rname=^{stealth}}} {{mod=@{selected|npc_stealth}}} {{r1=[[1d20+@{selected|npc_stealth}]]}} @{selected|rtype}+@{selected|npc_stealth}]]}}

Assuming you haven't adjusted the skills: %{selected|repeating_skill_$16_skill}

Kasper N. said:
9) Stats
/w gm &{template:default} {{name=Stats}} {{Armor Class= @{selected|npc_AC} @{selected|npcd_actype}}} {{Hit Dice= @{selected|npc_hpformula} | [[@{selected|npc_hpformula}]]}} {{Speed= @{selected|npc_speed}}} {{Senses=@{selected|npc_senses}}}

%{selected|shaped_statblock}

Kasper N. said:
10) Spells
%{selected|repeating_spell-npc_$0_spell}

%{selected|shaped_spells} %{selected|repeating_spell0_$0_spell} %{selected|repeating_spell1_$0_spell} %{selected|repeating_spell2_$0_spell} %{selected|repeating_spell3_$0_spell} ...

Kasper N. said:
11) Legendary Action Description
@{selected|wtype}&{template:npcaction} {{name=@{selected|npc_name}}} {{rname=Legendary Actions}} {{description=The @{selected|npc_name} can take @{selected|npc_legendary_actions} legendary actions, choosing from the options below. Only one legendary option can be used at a time and only at the end of another creature's turn. The @{selected|npc_name} regains spent legendary actions at the start of its turn.}} @{selected|charname_output}

No such macro on Shaped as the text is the same on every creature. Just the amount of actions may be different (I think all or most monsters have 3)

Kasper N. said:
12) Legendary Action
%{selected|repeating_npcaction-l_$0_npc_action}

%{selected|repeating_legendaryaction_$0_action}

Lair: %{selected|repeating_lairaction_$0_action}

ПЕРЕЕХАЛИ

Clone this wiki locally