Morbad Scratchpad

This page serves only as a scratchpad for tinkering with various Morbad code.

Below are examples of Encounter-style cards. It turns out that this basic style of card can be recycled to support a variety of spin-off styles, e.g. the Hirelings deck. The framework-level support for these types of cards is essentially feature-complete, but implementing an editor app for this type of card requires far, far more effort than the editors for the mini-format cards. Thus, for the time being at least, creating such cards requires doing so "by hand" (which essentially means writing JSON). The cards on this page are created using several different approaches to test various levels of the framework, but "end users" would hypothetically create them using only JSON.

{{encounter-card deck-settlement Xwith-banner}} {{encounter-sector}} {{encounter-header white}}{ "name": "Card of Encounterness", "type": "Encounter, {:LAW:}", "requirements": "Lowlands & {:LAW:}" }{{/encounter-header}} {{encounter-body white}} {{encounter-section 95}} {{assault}}blah{{/assault}} {{assault || guard || town}}blah{{/assault}} {{guard assault}}blah{{/guard}} {{rest assault guard}}blah{{/rest}} {{rest assault || guard}}blah{{/rest}} {{/encounter-section}} {{/encounter-body}} {{/encounter-sector}} {{encounter-banner green-se}}{{glyph=red/die-1}} sgb-03-001 {{glyph=red/die-6}}{{/encounter-banner}} {{/encounter-card}}
{{encounter-card deck-settlement Xwith-banner}} {{encounter-sector}} {{encounter-header white}}{ "glyph": "red/perilous", "x": true, "name": "Card of Cardiness", "type": "Encounter, {:FUNGUS:}", "!requirements": "Lowlands & {:LAW:}" }{{/encounter-header}} {{encounter-body white}} {{encounter-section inherit inherit 95}}This is font size 95 qjqp THIS IS FONT SIZE 95.{{/encounter-section}} {{encounter-section inherit inherit 90}}This is font size 90 qjqp THIS IS FONT SIZE 90.{{/encounter-section}} {{encounter-section inherit inherit 85}}This is font size 85 qjqp THIS IS FONT SIZE 85.{{/encounter-section}} {{encounter-section inherit inherit 80}}This is font size 80 qjqp THIS IS FONT SIZE 80.{{/encounter-section}} {{encounter-section default inherit 75}}This is font size 75 qjqp THIS IS FONT SIZE 75.{{/encounter-section}} {{encounter-section inherit inherit 70}}This is font size 70 qjqp THIS IS FONT SIZE 70.{{/encounter-section}} {{encounter-section inherit inherit 65}}This is font size 65 qjqp THIS IS FONT SIZE 65.{{/encounter-section}} {{encounter-section inherit inherit 60}}This is font size 60 qjqp THIS IS FONT SIZE 60.{{/encounter-section}} {{encounter-section inherit inherit 55}}This is font size 55 qjqp THIS IS FONT SIZE 55.{{/encounter-section}} {{/encounter-body}} {{/encounter-sector}} {{encounter-banner green-se}}{{glyph=red/die-1}} sgb-03-001 {{glyph=red/die-6}}{{/encounter-banner}} {{/encounter-card}}
{{encounter-header}}{ "xglyph": "blue/outside", "name": "Salt of Saltiness", "type": "Encounter, Salty" }{{/encounter-header}}
dd-font-size-100 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim qjgveniamjqg.{{br}} ---{{colorbox yellow}}Plague{{glyph=red/plague}}{{/colorbox}}
dd-font-size-80 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim qjgveniamjqg.{{br}} ---{{colorbox yellow}}Plague{{glyph=red/plague}}{{/colorbox}}
{{encounter-banner blue}}{{glyph=red/die-1}} sgb-01-001 {{glyph=red/die-6}}{{/encounter-banner}}
{{encounter-header}}{ "name": "Blue of Blueiness", "type": "Encounter, Blue", "glyph": "green/lake-port" }{{/encounter-header}}
Lorem ipsum dolor sit amet{{glyph=lake-port}}, consectetur adipiscing elit...
{{encounter-monster-footer}}{ "color": "green", "fontSizePercent": 90, "attack":{ "value": 4, "ranged": true, "target": "{{monster-target all green}}" }, "armor": 2, "hp": 4, "xp": 2, "gp": "D3+2", "bold": true, "abilities": "SKIRMISH {{glyph=green/river-port}}, PETRIFY {{lair highlands badlands}}", "footnote": "{{br}}*if it escapes, increase the Bounty Level*" }{{/encounter-monster-footer}}
{{encounter-header}}{ "name": "Scale of Scaliness", "type": "Encounter, Reptilian", "glyph": "green/lake-port", "x": true }{{/encounter-header}}
{{encounter-immediately}}
JygqP
{{encounter-monster-footer}}{ "color": "black", "bg": "red", "fontSizePercent": 100, "attack":{ "value": 2, "target": "{{monster-target lowest-highest}}{:GP:}" }, "hp": 8, "xp": 2, "gp": "D3+1" }{{/encounter-monster-footer}}
{{encounter-banner yellow}}sgb-02-001{{/encounter-banner}}
{{encounter-glyph=white/perilous x:red}}
Ham of Hamminess
Encounter ∙ Barbecue
{{encounter-immediately red white}} {{! encounter-section 100}}this is 100 THIS IS 100{{/encounter-section}} {{encounter-section 95}}this is 95 THIS IS 95{{/encounter-section !}} {{encounter-section 90}}this is 90 THIS IS 90{{/encounter-section}} {{encounter-section 85}}this is 85 THIS IS 85{{/encounter-section}} {{encounter-section 80}}this is 80 THIS IS 80{{/encounter-section}} {{encounter-section 75}}this is 75 THIS IS 75{{/encounter-section}} {{encounter-section 70}}this is 70 THIS IS 70{{/encounter-section}} {{encounter-section 65}}this is 65 THIS IS 65{{/encounter-section}} {{encounter-section 60}}this is 60 THIS IS 60{{/encounter-section}} {{encounter-section 55}}this is 55 THIS IS 55{{/encounter-section}}
{{encounter-banner black yellow}}{:1:yellow:} Banner {:6:yellow:}{{/encounter-banner}}