Search found 4 matches

by caligari87
Sat Nov 25, 2017 5:37 pm
Forum: Pioneer development
Topic: Making missions provide rounded rewards
Replies: 6
Views: 5458

Re: Making missions provide rounded rewards

Pull request made, seems to work fine for me with no unintended side effects.
by caligari87
Sat Nov 25, 2017 4:13 pm
Forum: Pioneer development
Topic: Making missions provide rounded rewards
Replies: 6
Views: 5458

Re: Making missions provide rounded rewards

Okay, seems all that's required is setting the second parameter to "false" to remove the cent portion. I'll make that change for the mission types I'm modifying.
by caligari87
Sat Nov 25, 2017 3:52 pm
Forum: Pioneer development
Topic: Making missions provide rounded rewards
Replies: 6
Views: 5458

Re: Making missions provide rounded rewards

So far I'm having trouble tracking down where exactly rewards are formatted in the same module (this is probably due to my lack of familiarity with the codebase and Lua in general). If you can give me a pointer to how distances do it I might be able to hack it together...?
by caligari87
Fri Nov 24, 2017 5:18 pm
Forum: Pioneer development
Topic: Making missions provide rounded rewards
Replies: 6
Views: 5458

Making missions provide rounded rewards

So I'm trying my hand at my very first SE mod (hoping to assist with development at some point if I can). What I'd like to do is make missions provide rounded (whole dollar) amounts for a reward. Mainly because I figure it'll be a simple change, and also because it seems weird that people would be g...