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
*TTRPGs General
O.G.R.E: Online Generic Randomizer 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="Bagpuss" data-source="post: 6130099" data-attributes="member: 3987"><p>I've just done a <a href="http://www.enworld.org/forum/dnd_view_table.php?id=691" target="_blank">self-reference table</a> You have to saved the table at least once without it referencing to itself as otherwise it doesn't exist to call at that point. The original table I was basing it on had a last entry on a 1d10 table <strong>10 Roll two more times on this table and combine the results in some logical manner. Reroll duplicates.</strong></p><p></p><p>So I tried entry 10 like so...</p><p>[code]{Bagpuss (534A)} and {Bagpuss (534A)}[/code]</p><p></p><p>Ran this sixty times with these four odd results. Bold <strong>and</strong>'s show breaks between results.</p><p>Bob was forced into a life of crime by threats against loved ones <strong>and </strong>needed money to pay debts <strong>and </strong>was forced into a life of crime by threats against loved ones</p><p>Bob does it for the thrill and excitement the danger brings <strong>and </strong>does it for the thrill and excitement the danger brings</p><p>Bob is punishing those responsible for misdeeds <strong>and </strong>seeks to wield power in the criminal underworld <strong>and </strong>was forced into a life of crime by threats against loved ones</p><p>Bob needed money to pay debts <strong>and </strong>has a pathological urge to do wrong <strong>and </strong>was forced into a life of crime by threats against loved ones</p><p></p><p>Only once did it happen to call exactly the save value twice, and three times it called result 10 again for one of the two and so ended up with three values.</p><p></p><p>So I modified the last entry of a 1d10 table is as follows.</p><p>[code]{$var1: {Bagpuss (534A)}}{$var2: {Bagpuss (534A)}} {if: $var1=$var2}{print: $var1}{else}{print: $var1} and {print: $var2}{/if}[/code]</p><p></p><p>I ran it sixty times as a test I got two odd results.</p><p></p><p>Results</p><p>Bob wants to to be rich <strong>and </strong>wants to to be rich <strong>and </strong>was forced into a life of crime by threats against loved ones</p><p>Bob needed money to pay debts <strong>and</strong> want to defy authority <strong>and </strong>needed money to pay debts <strong>and </strong>want to defy authority <strong>and </strong>succumbed to peer pressure</p><p></p><p>So no doubles except when it calls 10 again.</p><p></p><p>So good news is it doesn't break the table by calling itself, bad news is it is impossible to stop it coming up with some odd results that don't make much sense.</p></blockquote><p></p>
[QUOTE="Bagpuss, post: 6130099, member: 3987"] I've just done a [URL="http://www.enworld.org/forum/dnd_view_table.php?id=691"]self-reference table[/URL] You have to saved the table at least once without it referencing to itself as otherwise it doesn't exist to call at that point. The original table I was basing it on had a last entry on a 1d10 table [B]10 Roll two more times on this table and combine the results in some logical manner. Reroll duplicates.[/B] So I tried entry 10 like so... [code]{Bagpuss (534A)} and {Bagpuss (534A)}[/code] Ran this sixty times with these four odd results. Bold [B]and[/B]'s show breaks between results. Bob was forced into a life of crime by threats against loved ones [B]and [/B]needed money to pay debts [B]and [/B]was forced into a life of crime by threats against loved ones Bob does it for the thrill and excitement the danger brings [B]and [/B]does it for the thrill and excitement the danger brings Bob is punishing those responsible for misdeeds [B]and [/B]seeks to wield power in the criminal underworld [B]and [/B]was forced into a life of crime by threats against loved ones Bob needed money to pay debts [B]and [/B]has a pathological urge to do wrong [B]and [/B]was forced into a life of crime by threats against loved ones Only once did it happen to call exactly the save value twice, and three times it called result 10 again for one of the two and so ended up with three values. So I modified the last entry of a 1d10 table is as follows. [code]{$var1: {Bagpuss (534A)}}{$var2: {Bagpuss (534A)}} {if: $var1=$var2}{print: $var1}{else}{print: $var1} and {print: $var2}{/if}[/code] I ran it sixty times as a test I got two odd results. Results Bob wants to to be rich [B]and [/B]wants to to be rich [B]and [/B]was forced into a life of crime by threats against loved ones Bob needed money to pay debts [B]and[/B] want to defy authority [B]and [/B]needed money to pay debts [B]and [/B]want to defy authority [B]and [/B]succumbed to peer pressure So no doubles except when it calls 10 again. So good news is it doesn't break the table by calling itself, bad news is it is impossible to stop it coming up with some odd results that don't make much sense. [/QUOTE]
Insert quotes…
Verification
Post reply
Community
General Tabletop Discussion
*TTRPGs General
O.G.R.E: Online Generic Randomizer Engine
Top