Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Hello World!
#3
Re: Mordent
It's a .txt on a commonly used upload site, if you are really that paranoid open it up in a sandbox on a virtual machine that logs everything.

  1. Mixing tabs and spaces. Mr. V gets roasted tabz r the best
  2. Because of that, you also have inconsistent indentation in the code. You have things indented when you should not have them, see predatorblast:51
  3. Our ability code does not really look like this, unless you meant "/datum/targetable/" instead of "/datum/abilities/"
  4. Because of that, you will get numerous errors when you compile since there is no parent type for it to inherit these variables from.
  5. If it was switched, you would get the error "warning: MT.name: use of MT precedes its definition" because you define MT at :51 but you are referencing it at :48. You need to define your variable before you can operate on it.
  6. This would be a much better fit for the projectile system, wth the spell just calling it and feeding it the target and owner. See fireball.dm

That's all I really see without looking at how the code works, I just looked at it overall. Feeding it into a DM compiler next time would help eliminate almost all of the above.
Reply


Messages In This Thread
Hello World! - by New525 - 09-07-2016, 09:44 PM
RE: Hello World! - by Mordent - 09-07-2016, 10:03 PM
RE: Hello World! - by ZeWaka - 09-07-2016, 10:19 PM
RE: Hello World! - by New525 - 09-08-2016, 12:03 AM
RE: Hello World! - by Gannets - 09-08-2016, 12:10 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)