I dunno if this has been discussed, but there is some useful stuff on Universe.m is there a plan to expose any of this to javascript?
I was looking at options for working out what the target system is, and I think it would need a new option on OOJSPlayer, or alternatively could take the coords which are already available and feed them to findSystemNumber on Universe, but I dont think you can get to that in javascript.
If we think player.ship.targetSystem is a good idea, I can commit my implementation.
Javascript universe access?
Moderators: winston, another_commander
- Cmdr James
- Commodore
- Posts: 1357
- Joined: Tue Jun 05, 2007 10:43 pm
- Location: Berlin
- JensAyton
- Grand Admiral Emeritus
- Posts: 6657
- Joined: Sat Apr 02, 2005 2:43 pm
- Location: Sweden
- Contact:
Universe per se isn’t going to be exposed. Bits of it are exposed through player and system. I have no objection to exposing targetSystem.
E-mail: [email protected]