Menu
News
All News
Dungeons & Dragons
Level Up: Advanced 5th Edition
Pathfinder
Starfinder
Warhammer
2d20 System
Year Zero Engine
Industry News
Reviews
Dragon Reflections
White Dwarf Reflections
Columns
Weekly Digests
Weekly News Digest
Freebies, Sales & Bundles
RPG Print News
RPG Crowdfunding News
Game Content
ENterplanetary DimENsions
Mythological Figures
Opinion
Worlds of Design
Peregrine's Nest
RPG Evolution
Other Columns
From the Freelancing Frontline
Monster ENcyclopedia
WotC/TSR Alumni Look Back
4 Hours w/RSD (Ryan Dancey)
The Road to 3E (Jonathan Tweet)
Greenwood's Realms (Ed Greenwood)
Drawmij's TSR (Jim Ward)
Community
Forums & Topics
Forum List
Latest Posts
Forum list
*Dungeons & Dragons
Level Up: Advanced 5th Edition
D&D Older Editions
*TTRPGs General
*Pathfinder & Starfinder
EN Publishing
*Geek Talk & Media
Search forums
Chat/Discord
Resources
Wiki
Pages
Latest activity
Media
New media
New comments
Search media
Downloads
Latest reviews
Search resources
EN Publishing
Store
EN5ider
Adventures in ZEITGEIST
Awfully Cheerful Engine
What's OLD is NEW
Judge Dredd & The Worlds Of 2000AD
War of the Burning Sky
Level Up: Advanced 5E
Events & Releases
Upcoming Events
Private Events
Featured Events
Socials!
EN Publishing
Twitter
BlueSky
Facebook
Instagram
EN World
BlueSky
YouTube
Facebook
Twitter
Twitch
Podcast
Features
Top 5 RPGs Compiled Charts 2004-Present
Adventure Game Industry Market Research Summary (RPGs) V1.0
Ryan Dancey: Acquiring TSR
Q&A With Gary Gygax
D&D Rules FAQs
TSR, WotC, & Paizo: A Comparative History
D&D Pronunciation Guide
Million Dollar TTRPG Kickstarters
Tabletop RPG Podcast Hall of Fame
Eric Noah's Unofficial D&D 3rd Edition News
D&D in the Mainstream
D&D & RPG History
About Morrus
Log in
Register
What's new
Search
Search
Search titles only
By:
Forums & Topics
Forum List
Latest Posts
Forum list
*Dungeons & Dragons
Level Up: Advanced 5th Edition
D&D Older Editions
*TTRPGs General
*Pathfinder & Starfinder
EN Publishing
*Geek Talk & Media
Search forums
Chat/Discord
Menu
Log in
Register
Install the app
Install
Community
General Tabletop Discussion
*Geek Talk & Media
Open Source d20 API/Engine
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="JBowtie" data-source="post: 2142282" data-attributes="member: 1810"><p>Here's an example of how I would model the "+1 vs goblinoids" so it can be resolved by an engine. This is off the top of my head and probably won't withstand closer analysis.</p><p>First, we'll need to define a goblinoid. Note that this could actually be an anonymous class defined as part of the bonus rather than a named class as in the example.</p><p>If something has creature subtype goblin and is a humanoid, we're calling it a goblinoid. A more accurate definition would use oneOf to enumerate the full list of subtypes IIRC.</p><p></p><p>[CODE]</p><p><owl:Class rdf:ID="http://example.org/srd#goblinoid"></p><p> <owl:intersectionOf rdf:parseType="Collection"></p><p> <owl:Class rdf:about="http://example.org/srd#humanoid"></p><p> <owl:Restriction></p><p> <owl:onProperty rdf:resource="http://example.org/core#creatureSubtype" /></p><p> <owl:hasValue rdf:resource="http://example.org/srd#goblin" /></p><p> </owl:Restriction></p><p> </owl:intersectionOf></p><p></owl:Class></p><p>[/CODE]</p><p></p><p>Now, let's define the bonus. It's anonymous as it will typically be defined as part of some other rule, such as a racial trait.</p><p></p><p>[CODE]</p><p><core:Bonus></p><p> <core:appliesTo resource="http://example.org/core#attack" /></p><p> <core:type resource="http://example.org/srd#racial" /></p><p> <core:Condition></p><p> <rdfs:label>vs goblinoids</rdfs:label></p><p> <core:conditionType rdf:resource="http://example.org/core#runtime" /></p><p> <srd:goblinoid></p><p> <runtime:Role rdf:about="http://example.org/core#target" /></p><p> </srd:goblinoid></p><p> </core:Condition></p><p> <core:formula>1</core:formula></p><p></core:Bonus></p><p>[/CODE]</p><p></p><p>So, at runtime, when a creature of subtype goblinoid is assigned the "target" role relative to the character, the formula is evaulated and applied to the attack roll subject to stacking rules for bonus types.</p><p>Here, I'm telling the processor this condition can be checked at runtime. If, at that time, there is a goblinoid with the 'target' role, apply this bonus.</p><p>Some conditions can realistically only be evaluated by a DM (see the preqs for assassins, for example). For those I would stick with a simple text description like my original example.</p><p>Now, this is a lot of work, so I'm sticking to a small, well-defined ontology to begin with (stuff in the "core" namespace, above), and building tools to extend the ontologies on top of that. So all the stuff in the SRD namespace would be the result of using my BookBuilder application. Definitions like goblinoid can be built by example rather than typed out (I haven't even thought about the book builder UI yet).</p></blockquote><p></p>
[QUOTE="JBowtie, post: 2142282, member: 1810"] Here's an example of how I would model the "+1 vs goblinoids" so it can be resolved by an engine. This is off the top of my head and probably won't withstand closer analysis. First, we'll need to define a goblinoid. Note that this could actually be an anonymous class defined as part of the bonus rather than a named class as in the example. If something has creature subtype goblin and is a humanoid, we're calling it a goblinoid. A more accurate definition would use oneOf to enumerate the full list of subtypes IIRC. [CODE] <owl:Class rdf:ID="http://example.org/srd#goblinoid"> <owl:intersectionOf rdf:parseType="Collection"> <owl:Class rdf:about="http://example.org/srd#humanoid"> <owl:Restriction> <owl:onProperty rdf:resource="http://example.org/core#creatureSubtype" /> <owl:hasValue rdf:resource="http://example.org/srd#goblin" /> </owl:Restriction> </owl:intersectionOf> </owl:Class> [/CODE] Now, let's define the bonus. It's anonymous as it will typically be defined as part of some other rule, such as a racial trait. [CODE] <core:Bonus> <core:appliesTo resource="http://example.org/core#attack" /> <core:type resource="http://example.org/srd#racial" /> <core:Condition> <rdfs:label>vs goblinoids</rdfs:label> <core:conditionType rdf:resource="http://example.org/core#runtime" /> <srd:goblinoid> <runtime:Role rdf:about="http://example.org/core#target" /> </srd:goblinoid> </core:Condition> <core:formula>1</core:formula> </core:Bonus> [/CODE] So, at runtime, when a creature of subtype goblinoid is assigned the "target" role relative to the character, the formula is evaulated and applied to the attack roll subject to stacking rules for bonus types. Here, I'm telling the processor this condition can be checked at runtime. If, at that time, there is a goblinoid with the 'target' role, apply this bonus. Some conditions can realistically only be evaluated by a DM (see the preqs for assassins, for example). For those I would stick with a simple text description like my original example. Now, this is a lot of work, so I'm sticking to a small, well-defined ontology to begin with (stuff in the "core" namespace, above), and building tools to extend the ontologies on top of that. So all the stuff in the SRD namespace would be the result of using my BookBuilder application. Definitions like goblinoid can be built by example rather than typed out (I haven't even thought about the book builder UI yet). [/QUOTE]
Insert quotes…
Verification
Post reply
Community
General Tabletop Discussion
*Geek Talk & Media
Open Source d20 API/Engine
Top