1. #1


    Hey guys! Wondering if anyone can take a moment to explain what I need to set up some kind of keyword system in my Alien rpg ruleset.

    So something like 5e’s effects. I see in the code where some of that is but I’m unsure if I need to set up any kind of templates or what the syntax is.

    So let’s say we’re working on critical injuries. These can apply penalties to ability/skill rolls. I’d wan to be able to type into the critical injury field “mobility and ranged combat -2” and automatically have that applied.

    Obviously I need a Function for keeping track of penalties on the abilities and skills. But how to I get find more than one penalty in a single stringfield? Is it much like how i had the automatic table rolls set up on the npcs? Would the typed next need to read more like “Mobility -2, Ranged Combat -2”?
    “The most merciful thing in the world, I think, is the inability of the human mind to correlate all its contents. We live on a placid island of ignorance in the midst of black seas of the infinity, and it was not meant that we should voyage far.”
    ― H. P. Lovecraft, The Call of Cthulhu and Other Weird Stories

    “The oldest and strongest emotion of mankind is fear, and the oldest and strongest kind of fear is fear of the unknown”
    ― H.P. Lovecraft, Supernatural Horror in Literature

  2. #2
    Trenloe's Avatar
    Join Date
    May 2011
    Denver, Colorado, USA (for a bit)
    Effects and conditions are coded into each individual action script within the ruleset.

    Taking the 5E ruleset as an example - the ATK (attack) effect is coded in the manager_action_attack.lua script - do a search for ATK. This is a simple one as it only applies to one action - the attack action.

    However, some effects and conditions can impact more than one action. For example, the "Encumbered" condition impacts attacks, ability checks, initiative, saves and skill checks. You'll see the "Encumbered" condition checked for in each of the manager scripts for all of those actions. With the relevant modifier being applied to each action.
    FG Con 15 – Fantasy Grounds Online RPG Convention - Nov. 8-10, 2019
    Register at www.fg-con.com for all the latest info.

    Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Log in

Log in