https://www.fur.com/tapestries/wiki/index.php?title=One_room_one_exit&feed=atom&action=history One room one exit - Revision history 2024-03-28T14:29:15Z Revision history for this page on the wiki MediaWiki 1.16.2 https://www.fur.com/tapestries/wiki/index.php?title=One_room_one_exit&diff=10549&oldid=prev Nivik at 02:24, 19 May 2014 2014-05-19T02:24:58Z <p></p> <table style="background-color: white; color:black;"> <col class='diff-marker' /> <col class='diff-content' /> <col class='diff-marker' /> <col class='diff-content' /> <tr valign='top'> <td colspan='2' style="background-color: white; color:black;">← Older revision</td> <td colspan='2' style="background-color: white; color:black;">Revision as of 02:24, 19 May 2014</td> </tr><tr><td colspan="2" class="diff-lineno">Line 5:</td> <td colspan="2" class="diff-lineno">Line 5:</td></tr> <tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>***********************************</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>***********************************</div></td></tr> <tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>/* Global no-access failure messages*/</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>/* Global no-access failure messages*/</div></td></tr> <tr><td class='diff-marker'>-</td><td style="background: #ffa; color:black; font-size: smaller;"><div>@set #<del class="diffchange diffchange-inline">69636</del>=/_exit/msg/fail:Huh?&nbsp; (Type &quot;help&quot; for help.)</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>@set <ins class="diffchange diffchange-inline">&lt;</ins>#<ins class="diffchange diffchange-inline">parent&gt;</ins>=/_exit/msg/fail:Huh?&nbsp; (Type &quot;help&quot; for help.)</div></td></tr> <tr><td class='diff-marker'>-</td><td style="background: #ffa; color:black; font-size: smaller;"><div>@set #<del class="diffchange diffchange-inline">69636</del>=/_exit/msg/ofail:</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>@set <ins class="diffchange diffchange-inline">&lt;</ins>#<ins class="diffchange diffchange-inline">parent&gt;</ins>=/_exit/msg/ofail:</div></td></tr> <tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr> <tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>/* Exit-origin combo specific message code */</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>/* Exit-origin combo specific message code */</div></td></tr> <tr><td class='diff-marker'>-</td><td style="background: #ffa; color:black; font-size: smaller;"><div>@set #<del class="diffchange diffchange-inline">69636</del>=/_exit/code/fail:{if:{ne:{eval:{prop:_allowed?}},yes},{prop:_exit/msg/fail,#<del class="diffchange diffchange-inline">69636</del>},{prop:_origins/{ref:here}/fail/locked}}</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>@set <ins class="diffchange diffchange-inline">&lt;</ins>#<ins class="diffchange diffchange-inline">parent&gt;</ins>=/_exit/code/fail:{if:{ne:{eval:{prop:_allowed?}},yes},{prop:_exit/msg/fail,<ins class="diffchange diffchange-inline">&lt;</ins>#<ins class="diffchange diffchange-inline">parent&gt;</ins>},{prop:_origins/{ref:here}/fail/locked}}</div></td></tr> <tr><td class='diff-marker'>-</td><td style="background: #ffa; color:black; font-size: smaller;"><div>@set #<del class="diffchange diffchange-inline">69636</del>=/_exit/code/ofail:{if:{ne:{eval:{prop:_allowed?}},yes},{prop:_exit/msg/ofail,#<del class="diffchange diffchange-inline">69636</del>},{prop:_origins/{ref:here}/ofail/locked}}</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>@set <ins class="diffchange diffchange-inline">&lt;</ins>#<ins class="diffchange diffchange-inline">parent&gt;</ins>=/_exit/code/ofail:{if:{ne:{eval:{prop:_allowed?}},yes},{prop:_exit/msg/ofail,<ins class="diffchange diffchange-inline">&lt;</ins>#<ins class="diffchange diffchange-inline">parent&gt;</ins>},{prop:_origins/{ref:here}/ofail/locked}}</div></td></tr> <tr><td class='diff-marker'>-</td><td style="background: #ffa; color:black; font-size: smaller;"><div>@set #<del class="diffchange diffchange-inline">69636</del>=/_exit/code/succ:{prop:_origins/{ref:here}/succ}</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>@set <ins class="diffchange diffchange-inline">&lt;</ins>#<ins class="diffchange diffchange-inline">parent&gt;</ins>=/_exit/code/succ:{prop:_origins/{ref:here}/succ}</div></td></tr> <tr><td class='diff-marker'>-</td><td style="background: #ffa; color:black; font-size: smaller;"><div>@set #<del class="diffchange diffchange-inline">69636</del>=/_exit/code/osucc:{prop:_origins/{ref:here}/osucc}</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>@set <ins class="diffchange diffchange-inline">&lt;</ins>#<ins class="diffchange diffchange-inline">parent&gt;</ins>=/_exit/code/osucc:{prop:_origins/{ref:here}/osucc}</div></td></tr> <tr><td class='diff-marker'>-</td><td style="background: #ffa; color:black; font-size: smaller;"><div>@set #<del class="diffchange diffchange-inline">69636</del>=/_exit/code/odrop:{prop:_origins/{ref:here}/odrop}</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>@set <ins class="diffchange diffchange-inline">&lt;</ins>#<ins class="diffchange diffchange-inline">parent&gt;</ins>=/_exit/code/odrop:{prop:_origins/{ref:here}/odrop}</div></td></tr> <tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr> <tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr> <tr><td colspan="2" class="diff-lineno">Line 27:</td> <td colspan="2" class="diff-lineno">Line 27:</td></tr> <tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr> <tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>/* set all fail/ofail messages to use code stored in parent */</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>/* set all fail/ofail messages to use code stored in parent */</div></td></tr> <tr><td class='diff-marker'>-</td><td style="background: #ffa; color:black; font-size: smaller;"><div>@fail &lt;exit&gt;={eval:{prop:/_exit/code/fail,#<del class="diffchange diffchange-inline">69636</del>}}</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>@fail &lt;exit&gt;={eval:{prop:/_exit/code/fail,<ins class="diffchange diffchange-inline">&lt;</ins>#<ins class="diffchange diffchange-inline">parent&gt;</ins>}}</div></td></tr> <tr><td class='diff-marker'>-</td><td style="background: #ffa; color:black; font-size: smaller;"><div>@ofail &lt;exit&gt;={eval:{prop:/_exit/code/ofail,#<del class="diffchange diffchange-inline">69636</del>}}</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>@ofail &lt;exit&gt;={eval:{prop:/_exit/code/ofail,<ins class="diffchange diffchange-inline">&lt;</ins>#<ins class="diffchange diffchange-inline">parent&gt;</ins>}}</div></td></tr> <tr><td class='diff-marker'>-</td><td style="background: #ffa; color:black; font-size: smaller;"><div>@succ &lt;exit&gt;={eval:{prop:/_exit/code/succ,#<del class="diffchange diffchange-inline">69636</del>}}</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>@succ &lt;exit&gt;={eval:{prop:/_exit/code/succ,<ins class="diffchange diffchange-inline">&lt;</ins>#<ins class="diffchange diffchange-inline">parent&gt;</ins>}}</div></td></tr> <tr><td class='diff-marker'>-</td><td style="background: #ffa; color:black; font-size: smaller;"><div>@osucc &lt;exit&gt;={eval:{prop:/_exit/code/osucc,#<del class="diffchange diffchange-inline">69636</del>}}</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>@osucc &lt;exit&gt;={eval:{prop:/_exit/code/osucc,<ins class="diffchange diffchange-inline">&lt;</ins>#<ins class="diffchange diffchange-inline">parent&gt;</ins>}}</div></td></tr> <tr><td class='diff-marker'>-</td><td style="background: #ffa; color:black; font-size: smaller;"><div>@odrop &lt;exit&gt;={eval:{prop:/_exit/code/odrop,#<del class="diffchange diffchange-inline">69636</del>}}</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>@odrop &lt;exit&gt;={eval:{prop:/_exit/code/odrop,<ins class="diffchange diffchange-inline">&lt;</ins>#<ins class="diffchange diffchange-inline">parent&gt;</ins>}}</div></td></tr> <tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr> <tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>***********************************</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>***********************************</div></td></tr> </table> Nivik https://www.fur.com/tapestries/wiki/index.php?title=One_room_one_exit&diff=10548&oldid=prev Nivik at 02:23, 19 May 2014 2014-05-19T02:23:42Z <p></p> <table style="background-color: white; color:black;"> <col class='diff-marker' /> <col class='diff-content' /> <col class='diff-marker' /> <col class='diff-content' /> <tr valign='top'> <td colspan='2' style="background-color: white; color:black;">← Older revision</td> <td colspan='2' style="background-color: white; color:black;">Revision as of 02:23, 19 May 2014</td> </tr><tr><td colspan="2" class="diff-lineno">Line 1:</td> <td colspan="2" class="diff-lineno">Line 1:</td></tr> <tr><td colspan="2">&nbsp;</td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">General premise is that by placing the exit on the parent, then using MPI to limit/lock where it can be used from, you can cut down on the quota used for exits.</ins></div></td></tr> <tr><td colspan="2">&nbsp;</td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr> <tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>&lt;pre&gt;***********************************</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>&lt;pre&gt;***********************************</div></td></tr> <tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>ON PARENT (ONCE)</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>ON PARENT (ONCE)</div></td></tr> </table> Nivik https://www.fur.com/tapestries/wiki/index.php?title=One_room_one_exit&diff=10547&oldid=prev Nivik at 02:23, 19 May 2014 2014-05-19T02:23:05Z <p></p> <table style="background-color: white; color:black;"> <col class='diff-marker' /> <col class='diff-content' /> <col class='diff-marker' /> <col class='diff-content' /> <tr valign='top'> <td colspan='2' style="background-color: white; color:black;">← Older revision</td> <td colspan='2' style="background-color: white; color:black;">Revision as of 02:23, 19 May 2014</td> </tr><tr><td colspan="2" class="diff-lineno">Line 41:</td> <td colspan="2" class="diff-lineno">Line 41:</td></tr> <tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>@set &lt;exit&gt;=/_origins/&lt;#origin&gt;/odrop:[MESSAGE]</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>@set &lt;exit&gt;=/_origins/&lt;#origin&gt;/odrop:[MESSAGE]</div></td></tr> <tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>&lt;/pre&gt;</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>&lt;/pre&gt;</div></td></tr> <tr><td colspan="2">&nbsp;</td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr> <tr><td colspan="2">&nbsp;</td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">[[Category:Publicly Usable MPI]]</ins></div></td></tr> </table> Nivik https://www.fur.com/tapestries/wiki/index.php?title=One_room_one_exit&diff=10545&oldid=prev Nivik: Created page with "<pre>*********************************** ON PARENT (ONCE) *********************************** /* Global no-access failure messages*/ @set #69636=/_exit/msg/fail:Huh? (Type "help..." 2014-05-19T02:21:09Z <p>Created page with &quot;&lt;pre&gt;*********************************** ON PARENT (ONCE) *********************************** <span class="autocomment">- Global no-access failure messages: </span> @set #69636=/_exit/msg/fail:Huh? (Type &quot;help...&quot;</p> <p><b>New page</b></p><div>&lt;pre&gt;***********************************<br /> ON PARENT (ONCE)<br /> ***********************************<br /> /* Global no-access failure messages*/<br /> @set #69636=/_exit/msg/fail:Huh? (Type &quot;help&quot; for help.)<br /> @set #69636=/_exit/msg/ofail:<br /> <br /> /* Exit-origin combo specific message code */<br /> @set #69636=/_exit/code/fail:{if:{ne:{eval:{prop:_allowed?}},yes},{prop:_exit/msg/fail,#69636},{prop:_origins/{ref:here}/fail/locked}}<br /> @set #69636=/_exit/code/ofail:{if:{ne:{eval:{prop:_allowed?}},yes},{prop:_exit/msg/ofail,#69636},{prop:_origins/{ref:here}/ofail/locked}}<br /> @set #69636=/_exit/code/succ:{prop:_origins/{ref:here}/succ}<br /> @set #69636=/_exit/code/osucc:{prop:_origins/{ref:here}/osucc}<br /> @set #69636=/_exit/code/odrop:{prop:_origins/{ref:here}/odrop}<br /> <br /> <br /> ***********************************<br /> ON EACH EXIT (ONCE)<br /> ***********************************<br /> @open &lt;tla&gt;=here,&lt;#dest&gt;<br /> <br /> /* @lock info: lockable-room and origin both reasons to deny entry */<br /> @lock &lt;exit&gt; = _allowed?:yes&amp;!_locked:yes<br /> @set &lt;exit&gt; =/_allowed?:{if:{propdir:_origins/{ref:here}},yes,no}<br /> @set &lt;exit&gt;=/_locked:{prop:_locked,{links:this}}<br /> <br /> /* set all fail/ofail messages to use code stored in parent */<br /> @fail &lt;exit&gt;={eval:{prop:/_exit/code/fail,#69636}}<br /> @ofail &lt;exit&gt;={eval:{prop:/_exit/code/ofail,#69636}}<br /> @succ &lt;exit&gt;={eval:{prop:/_exit/code/succ,#69636}}<br /> @osucc &lt;exit&gt;={eval:{prop:/_exit/code/osucc,#69636}}<br /> @odrop &lt;exit&gt;={eval:{prop:/_exit/code/odrop,#69636}}<br /> <br /> ***********************************<br /> ON EACH EXIT (FOR EACH ORIGIN ROOM)<br /> ***********************************<br /> <br /> @set &lt;exit&gt;=/_origins/&lt;#origin&gt;/fail/locked:[MESSAGE]<br /> @set &lt;exit&gt;=/_origins/&lt;#origin&gt;/ofail/locked:[MESSAGE]<br /> @set &lt;exit&gt;=/_origins/&lt;#origin&gt;/succ:[MESSAGE]<br /> @set &lt;exit&gt;=/_origins/&lt;#origin&gt;/osucc:[MESSAGE]<br /> @set &lt;exit&gt;=/_origins/&lt;#origin&gt;/odrop:[MESSAGE]<br /> &lt;/pre&gt;</div> Nivik