Sure. Actually, just because you asked, I started up my VM so I could take a close look at some of Moghunter's code, considering I originally said that simply based off of my initial reactions to seeing some of it, which isn't really specific enough for me to answer your question.So I'm looking at the Atelier "Master Demo" now -- in particular, the "Monster Book", since that seems the most relevant at the moment.Basically, while Moghunter seems to know generally how to write... programmatically, they don't seem to show much understanding of Ruby or how Ruby itself operates. Their code technically works, but it's inefficient and ultimately doesn't show much ability to understand how and why to
design an approach -- rather, it operates everything very bluntly, which tends to make the solutions rigid.As a fantastic example of what I mean by this, here's a small bit of the code from the "Monster Book" script:
for i in 0...$game_system.bestiary_defeated.size comp += 1 if $game_system.bestiary_defeated
!= nilendThis is wildly inefficient and shows a lack of knowledge about one of the most basic features of Ruby: iterators. Basically, for loops are iterators on training wheels (and with different lexical scoping, but that's not usually relevant in most cases). In this particular example, it's causing far more array indexes than are actually necessary to perform the operation needed.
Code:
$game_system.bestiary_defeated.each { |enemy| comp += 1 unless enemy.nil? }
I'd also be remiss if I didn't point out that the code is around 600 lines and could easily be half of that, and even then could be made far more modifiable and extensible. Personally, I'd redesign almost every single element of it.None of those suggestions make use of everything I mentioned -- in fact, most of them completely work around RGSS3 entirely (except the path-finding algorithm). Those seem more like general programming exercises than ones with RPG Maker scripting in mind.I honestly think that the bestiary is the best possible script given the options that have been given in terms of being the most pertinent all-around while making use of multiple areas of RGSS3, and I think that's a good starting point for something "challenging."I'm opinionated enough to do that entirely on my own, thank you very much.