<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 18 Nov 2020 at 17:04, James Paige <<a href="mailto:Bob@hamsterrepublic.com">Bob@hamsterrepublic.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue., Aug. 25, 2020, 11:24 p.m. Ralph Versteegen, <<a href="mailto:teeemcee@gmail.com" target="_blank">teeemcee@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Cool!<br></div><div>In the L documentation it says pool 0 is local and 1 is global, but in N it says the filename is globalnpcs0.n. Is that intentional?</div></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">I think my thinking was that globalnpcs0.n is the first global pool, but then I wasn't sure if multiple global pools were worth bothering with</div></div></blockquote><div><br></div><div>You're replying to an old email! You already changed the documentation to say globalnpcs1.n, which is what it is.<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Did you update NPC debug mode too?</div></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Almost certain that I did, but needs to be double checked.</div></div></blockquote><div><br></div><div>No, it's not done yet. NPC debug mode doesn't show a 'g' for global, doesn't show the pool in the tooltip, and even mis-calculates the NPC copy number.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><br></div><div>Once NPC names are added, people can also use them to refer to NPCs without any pool argument. And I think I'll allow naming NPC instances, overriding the definition name, to refer to a particular copy, since the renumbering of copies as you add/delete NPCs is also a complaint.<br></div></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Yes, this is a good idea!</div></div></blockquote><div><br></div><div>I've got a decent chunk done on NPC names in a branch. The part I started wavering on was whether to export names as constants like npc:Bob or instead extend HS and use something like actual strings or Lisp symbols (like :Bob) ... hmm, didn't we discuss this somewhere already? <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 26 Aug 2020 at 13:10, James Paige <<a href="mailto:Bob@hamsterrepublic.com" rel="noreferrer" target="_blank">Bob@hamsterrepublic.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">I finished the base implementation of global NPCs today, and it passes basic tests.<div dir="auto"><br></div><div dir="auto">I'm not going to check it in just yet, because I haven't finished the plotscripting changes yet, or written any tests</div><div dir="auto"><br></div><div dir="auto">I decided that I am going to go with adding a pool argument to a bunch of scripting commands, not using ID 5000+ syntax.</div><div dir="auto"><br></div><div dir="auto">Commands like "walk npc" that expect NPC reference or ID will default to using local id. You will need to use NPC reference to work with global NPCs.</div><div dir="auto"><br></div><div dir="auto"><br></div></div>
_______________________________________________<br>
Ohrrpgce mailing list<br>
<a href="mailto:ohrrpgce@lists.motherhamster.org" rel="noreferrer" target="_blank">ohrrpgce@lists.motherhamster.org</a><br>
<a href="http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org" rel="noreferrer noreferrer" target="_blank">http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org</a><br>
</blockquote></div>
_______________________________________________<br>
Ohrrpgce mailing list<br>
<a href="mailto:ohrrpgce@lists.motherhamster.org" rel="noreferrer" target="_blank">ohrrpgce@lists.motherhamster.org</a><br>
<a href="http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org" rel="noreferrer noreferrer" target="_blank">http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org</a><br>
</blockquote></div></div></div>
_______________________________________________<br>
Ohrrpgce mailing list<br>
<a href="mailto:ohrrpgce@lists.motherhamster.org" target="_blank">ohrrpgce@lists.motherhamster.org</a><br>
<a href="http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org" rel="noreferrer" target="_blank">http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org</a><br>
</blockquote></div></div>