cloning.html 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <html>
  2. <head>
  3. <link href="../tutorial.css" rel="stylesheet" type="text/css">
  4. </head>
  5. <body>
  6. <div class="header">
  7. The NakedMud Tutorial :: Cloning Rooms
  8. </div>
  9. <!-- content starts here -->
  10. <div class="content-wrap"><div class="content-body-wrap"><div class="content">
  11. <div class="head">rcopy</div>
  12. <div class="info">
  13. It is sometimes desirable to have a series of near-homogenous rooms connected to
  14. each other. For instance, when building a long city street, or a uniform
  15. wilderness. NakedMud has a command for the quick generation of multiple rooms
  16. that all inherit from a single parent. Here is an example:
  17. <pre class="mud">
  18. > <font class="cmd">rcopy mainstreet_abstr mainstreet 8</font>
  19. You create 8 new instantiations of mainstreet_abstr@moonhaven.
  20. > <font class="cmd">rlist</font>
  21. Key Parents Abstract
  22. --------------------------------------------------------------------------------
  23. mainstreet_abstr generic_room@templates yes
  24. mainstreet01 mainstreet_abstr no
  25. mainstreet02 mainstreet_abstr no
  26. mainstreet03 mainstreet_abstr no
  27. mainstreet04 mainstreet_abstr no
  28. mainstreet05 mainstreet_abstr no
  29. mainstreet06 mainstreet_abstr no
  30. mainstreet07 mainstreet_abstr no
  31. mainstreet08 mainstreet_abstr no
  32. </pre>
  33. rcopy will create a series of n non-abstract rooms that all inherit from a
  34. specified parent. It will not connect them in any way, so you can structure them
  35. as you desire with digging and room edit.
  36. </div>
  37. <!-- content ends here-->
  38. </div></div></div>
  39. <!-- navigation starts here -->
  40. <div class="nav-wrap"><div class="nav">
  41. <iframe src="nav.html" height="100%" width="100%" scrolling=no frameborder=0>
  42. </iframe>
  43. <!-- navigation ends here -->
  44. </div></div>
  45. <!--div class="footer">Edit Date: Nov 15, 2008. By Geoff Hollis</div-->
  46. </body>
  47. </html>