Board Thread:Dark Assembly/@comment-653063-20150303021112/@comment-653063-20150408190803

This post is about DMAC.

So I spent two days slamming my head into Lua and getting, admittedly, farther than I have before, but still like... not hardly anywhere useful at all. I was all like 'wow yay, they're progressing really well on the T2C while I've been over here, distracted by all the Weapon crap. Maybe I should look at what's up with DMAC/D3Mons to see what needs doing, get it all set up.' Then I saw that the column count/layout/content for D3 Monsters ( Slime (Disgaea 3) ) was just different enough from Template:DisgaeaMonsterAbilityChart (also D3 has Magichange as 2 extra 'monster spells') that my options were "run like eight or maybe even sixteen #switches to alter DMAC to fit D3 stuff" or "make a separate template."

And then that clued me into the most hilarious coding realization I think I've ever had: disver is already there. I can just make DMAC say, "if disver=D1,D2, display everything this way; if disver=D3,D4, display everything this entirely different way." Basically, two templates in a single page, but only one is used because disver says which.

I CAN have my cake and eat it too! AAAAAhahahhahaha * laharl laugh *!!!!

So, from "an editor-doing-T2C/other DMAC implementation" standpoint: well, this doesn't actually change anything about T2C, technically speaking. But, using DMAC on D3 Monsters will probably be slightly different than doing it for D1&2 monsters, mostly because I'm going to make them named parameters (|n1=SkillName, as opposed to just |Skillname) and not anonymous. But I'll write it all up in the Documentation, and in the end, it will all work just fine.

And in the future, when someone smarter-at-Lua-than-me comes along and fixes DMAC to be entirely LUA-y, nobody will have to edit all the pages again, because they will all already be looking for the same template. Mwahahahahhaaaa~ ~ ~ ~ ~ X D

Ok, I shall be back when I've set this all up. Don't start on the Monsters until I've gotten it done, but it shouldn't take me too long.

SannaSK (talk) 19:08, April 8, 2015 (UTC)

edit. IT WORKS. Ghost (Disgaea 3) (yes there is currently a hole in the 'stat effect' column, but I've input the correct code and I've got it saved in my working txt file, and I'll input it all into SED in one go). Code working is best feeling, haha. D3 Monsters are, generally, good to go! I'll try to get most of them done tho, just so I can comb through the effects and make sure what's not in SED gets there.

Woo woo party party. SannaSK (talk) 22:33, April 8, 2015 (UTC)