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, OSR, & D&D Variants
*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, OSR, & D&D Variants
*TTRPGs General
*Pathfinder & Starfinder
EN Publishing
*Geek Talk & Media
Search forums
Chat/Discord
Menu
Log in
Register
Install the app
Install
Upgrade your account to a Community Supporter account and remove most of the site ads.
Community
General Tabletop Discussion
*Dungeons & Dragons
Underwater Flying [2006 Thread]
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="Musrum" data-source="post: 3132374" data-attributes="member: 12269"><p>Here are 3 pseuocode versions for:</p><p>Can you Fly in a certain Medium according to the core 3.5 ruleset.</p><p>The first is how I understand it:[CODE]FUNCTION Flying1(Medium) RETURN BOOLEAN</p><p></p><p>SELECT Medium</p><p> CASE Air</p><p> RETURN TRUE</p><p> CASE ELSE</p><p> RETURN NULL</p><p>END SELECT</p><p></p><p>END Flying1[/CODE]Here is another version:[CODE]FUNCTION Flying2(Medium) RETURN BOOLEAN</p><p></p><p>SELECT Medium</p><p> CASE Air</p><p> RETURN TRUE</p><p> CASE ELSE</p><p> RETURN FALSE</p><p>END SELECT</p><p></p><p>END Flying2[/CODE]And this is what you get when you state that other Mediums are explicately excluded:[CODE]FUNCTION Flying3(Medium) RETURN BOOLEAN</p><p></p><p>SELECT Medium</p><p> CASE Air</p><p> RETURN TRUE</p><p> CASE Water</p><p> RETURN FALSE</p><p> CASE Dirt</p><p> RETURN FALSE</p><p> CASE Vacuum</p><p> RETURN FALSE</p><p> .</p><p> .</p><p> CASE ZombiePuree</p><p> RETURN FALSE</p><p>END SELECT</p><p></p><p>END Flying3[/CODE]</p></blockquote><p></p>
[QUOTE="Musrum, post: 3132374, member: 12269"] Here are 3 pseuocode versions for: Can you Fly in a certain Medium according to the core 3.5 ruleset. The first is how I understand it:[CODE]FUNCTION Flying1(Medium) RETURN BOOLEAN SELECT Medium CASE Air RETURN TRUE CASE ELSE RETURN NULL END SELECT END Flying1[/CODE]Here is another version:[CODE]FUNCTION Flying2(Medium) RETURN BOOLEAN SELECT Medium CASE Air RETURN TRUE CASE ELSE RETURN FALSE END SELECT END Flying2[/CODE]And this is what you get when you state that other Mediums are explicately excluded:[CODE]FUNCTION Flying3(Medium) RETURN BOOLEAN SELECT Medium CASE Air RETURN TRUE CASE Water RETURN FALSE CASE Dirt RETURN FALSE CASE Vacuum RETURN FALSE . . CASE ZombiePuree RETURN FALSE END SELECT END Flying3[/CODE] [/QUOTE]
Insert quotes…
Verification
Post reply
Community
General Tabletop Discussion
*Dungeons & Dragons
Underwater Flying [2006 Thread]
Top