It's cool, I just wanted you to know. I'll have a look at your code and see if anything occurs to me (it probably won't, I'm not an awe inspiring programmer, and I haven't used Python in ages).
-Aris On Sat, Feb 24, 2018 at 12:55 PM Reuben Staley <reuben.sta...@gmail.com> wrote: > Thanks, reply-to! > > On 02/24/2018 06:54 AM, Reuben Staley wrote: > > This can all be explained by the logistics of the Python code I'm using. > > > > >> Minor unofficial CoE on the interactive version: the land that > > doesn't have > > >> a facility shows a rank of one. It should either not show up, be > > N/A, or 0. > > > > This is because after I've generated the entire map, I fill in all the > > flags that aren't set with their default values. The default value for > > the rank is 1. I did this because there's not a clause that says "flag B > > exists only if flag A exists." I want there to be a system for > > dependency, I just haven't implemented it yet. > > > > > Oh, and also, your capitalization is confusing. "None" is > > capitalized, but > > > the each facility type isn't. I'd suggest just capitalizing > everything, > > > possibly including the land type flags (so B, W, A, instead of b, w, > > and a). > > > > Okay. Changes are written in JSON format. JSON has true, false, and > > null. Python has True, False, and None. When Python turns the JSON into > > Python objects, it changes them. But to put them into the HTML file, it > > turns the capitalized constants into strings. > > > > My focus for this code was being able to put all the changes in a single > > JSON file and not have to deal with changing the python at all. The > > reason these issues exist are because I was trying to allow the code to > > be flexible, but it just isn't yet. I honestly didn't think anyone would > > care because no one posted any complaints when I uploaded the prototype > > to Agora Discussion. But apparently people just weren't paying attention. > > > > I'll see what I can do to fix these, but just know that since the HTML > > is not required by the ruleset, it's very low on my life priority list > > at the moment. > > > > On 02/24/2018 01:36 PM, Aris Merchant wrote: > >> Oh, and also, your capitalization is confusing. "None" is capitalized, > >> but > >> the each facility type isn't. I'd suggest just capitalizing everything, > >> possibly including the land type flags (so B, W, A, instead of b, w, > >> and a). > >> > >> -Aris > >> > >> On Sat, Feb 24, 2018 at 12:28 PM Aris Merchant < > >> thoughtsoflifeandligh...@gmail.com> wrote: > >> > >>> Minor unofficial CoE on the interactive version: the land that > >>> doesn't have > >>> a facility shows a rank of one. It should either not show up, be N/A, > >>> or 0. > >>> > >>> -Aris > >>> > >>> On Sat, Feb 24, 2018 at 9:32 AM Reuben Staley <reuben.sta...@gmail.com > > > >>> wrote: > >>> > >>>> CARTOGRAPHOR'S WEEKLY REPORT: 2018-02-24 > >>>> > ======================================================================== > >>>> > >>>> View an interactive version of this report here: > >>>> https://agoranomic.org/Cartographor/maps/map-2018-02-24.html > >>>> > >>>> LAND TYPE MAP > >>>> ------------- > >>>> > >>>> LONGITUDE > >>>> > >>>> - 6543210123456 + > >>>> - - > >>>> 6 ************* 6 > >>>> 5 ************* 5 Aether (*) > >>>> 4 ************* 4 (B)lack > >>>> L 3 ************* 3 (W)hite > >>>> A 2 ************* 2 > >>>> T 1 ****BBBWW**** 1 > >>>> I 0 ****BBWWW**** 0 > >>>> T 1 ****BBWWW**** 1 > >>>> U 2 ************* 2 > >>>> D 3 ************* 3 > >>>> E 4 ************* 4 > >>>> 5 ************* 5 > >>>> 6 ************* 6 > >>>> + + > >>>> - 6543210123456 + > >>>> > >>>> OWNERSHIP MAP > >>>> ------------- > >>>> > >>>> LONGITUDE > >>>> > >>>> - 6543210123456 + > >>>> - - > >>>> 6 ************* 6 > >>>> 5 ************* 5 Agora, Aether (*) > >>>> 4 ************* 4 Agora, Non-Aether (.) > >>>> L 3 ************* 3 > >>>> A 2 ************* 2 > >>>> T 1 ****.....**** 1 > >>>> I 0 ****.....**** 0 > >>>> T 1 ****.....**** 1 > >>>> U 2 ************* 2 > >>>> D 3 ************* 3 > >>>> E 4 ************* 4 > >>>> 5 ************* 5 > >>>> 6 ************* 6 > >>>> + + > >>>> - 6543210123456 + > >>>> > >>>> PRESERVATION MAP > >>>> ---------------- > >>>> > >>>> LONGITUDE > >>>> > >>>> - 6543210123456 + > >>>> - - > >>>> 6 fffffffffffff 6 > >>>> 5 fffffffffffff 5 (t)rue > >>>> 4 fffffffffffff 4 (f)alse > >>>> L 3 fffffffffffff 3 > >>>> A 2 fffffffffffff 2 > >>>> T 1 ffffftttfffff 1 > >>>> I 0 ffffftttfffff 0 > >>>> T 1 ffffftttfffff 1 > >>>> U 2 fffffffffffff 2 > >>>> D 3 fffffffffffff 3 > >>>> E 4 fffffffffffff 4 > >>>> 5 fffffffffffff 5 > >>>> 6 fffffffffffff 6 > >>>> + + > >>>> - 6543210123456 + > >>>> > >>>> FACILITIES > >>>> ---------- > >>>> > >>>> (-1, -1): Preserved Rank 1 Mine, owned by Agora > >>>> (-1, +1): Preserved Rank 1 Orchard, owned by Agora > >>>> (+1, -1): Preserved Rank 1 Farm, owned by Agora > >>>> (+1, +1): Preserved Rank 1 Mine, owned by Agora > >>>> > >>>> LOCATIONS OF ENTITIES > >>>> --------------------- > >>>> > >>>> Player This report > >>>> > >>>> omd ( 0, 0) > >>>> o ( 0, 0) > >>>> Aris ( 0, 0) > >>>> DFF[1] ( 0, 0) > >>>> Quazie ( 0, 0) > >>>> P.S.S.[2] ( 0, 0) > >>>> Gaelan ( 0, 0) > >>>> nichdel ( 0, 0) > >>>> G. ( 0, 0) > >>>> Cuddle Beam ( 0, 0) > >>>> Trigon ( 0, 0) > >>>> Telnaior ( 0, 0) > >>>> Corona ( 0, 0) > >>>> pokes ( 0, 0) > >>>> Murphy ( 0, 0) > >>>> VJ Rada ( 0, 0) > >>>> > >>>> [1]: In Full, 天火狐 > >>>> [2]: In Full, Publius Scribonius Scholasticus > >>>> > >>>> ALTERNATING LAND TYPE > >>>> --------------------- > >>>> > >>>> The alternating land type has been switched 0 times. > >>>> The current value is Black. > >>>> > >>>> CHANGES IN LAND TYPE AND OWNERSHIP > >>>> ---------------------------------- > >>>> > >>>> None > >>>> > >>>> -- > >>>> Trigon > >>>> > >>> >