toconnell / kdm-manager

An interactive campaign manager for the game "Monster", by Kingdom Death. Development blog and release notes at https://blog.kdm-manager.com This project has no affiliation with Kingdom Death and is a totally independent, fan-maintained project.
http://kdm-manager.com
Other
26 stars 11 forks source link

Roll Tables #526

Closed superpowered closed 5 years ago

superpowered commented 5 years ago

Ran into an endeavor table on spidicules' resources

img_3618

Trying to think of the best way to document these. Preferably a solution that would also work for hunt events and other various tables in the game.

Here's what I have so far:

  'serrated_fangs': {
        'endeavors': ['serrated_fangs_razor_pushups'],
        'expansion': 'spidicules',
        'type': 'spidicules_resources',
        'name': 'Serrated Fangs',
        'keywords': ['bone'],
        'copies': 1,
        'desc': '<div class="kdm-table endevour-table"><div class="table-requirement">Requires <b class="fighting-art">Nightmare Training</b></div><div class="table-header"><div class="table-cost"><font class="kdm_font">d</font></div><h3 class="table-title"><b class="table-name">Razor Push-ups</b> - roll 1d10</div></div><table class="roll-table"><tr class="zebra"><td class="roll">1-3</td><td class="result">Gain a random disorder</td></tr><tr><td class="roll">4+</td><td class="result">Gain +1 permanent strength. The fangs are crushed; archive this card.</td></tr></table></div>',
        'rules_table': '<div class="kdm-table endevour-table"><div class="table-requirement">Requires <b class="fighting-art">Nightmare Training</b></div><div class="table-header"><div class="table-cost"><font class="kdm_font">d</font></div><h3 class="table-title"><b class="table-name">Razor Push-ups</b> - roll 1d10</div></div><table class="roll-table"><tr class="zebra"><td class="roll">1-3</td><td class="result">Gain a random disorder</td></tr><tr><td class="roll">4+</td><td class="result">Gain +1 permanent strength. The fangs are crushed; archive this card.</td></tr></table></div>',
        'table': {
            'type': 'endeavor_table'
            'requirements': ['nightmare_training'], #TODO: should we call out the fighting art type? 
            'cost': '1 Endeavor',
            'title': 'Razor Push-ups'
            'dice': '1d10',
            'rolls': [
                {
                    'roll': '1 - 3',
                    'roll_low': 1, #TODO: maybe?
                    'roll_high': 3, #TODO: maybe?
                    'effect': 'Gain a random disorder.'
                },
                {
                    'roll': '4+',
                    'roll_low': 4, #TODO: maybe?
                    'roll_high': 9999, #TODO: maybe?
                    'effect': 'Gain a random disorder.'
                },
            ]
        }
    },

Don't have my rulebook on me at the moment to see if I can find any inconsistencies in story events / hunt events.

superpowered commented 5 years ago

Oops, just saw there's an endeavors asset file. Table probably makes the most sense to live there. But then is it inconsistent with the vermin? (which have the table inline)