Startup Company

Startup Company

Change everything
Startup Company is created using HTML and Javascript allowing you to easily make amazing mods for the game. Everything is built on top of Electron allowing you to build mods using Chrome Dev Tools.
Learn More
Phraxas 9 Aug, 2020 @ 7:02am
How do sales executive leads work? Offer info? API to Atom?
So far, I've deduced that leads can have:

lead: n, competitorProduct: t.settings.competitorProducts.find(e=>e.id == n.competitorProductId), employeeName: e.name, employeeId: e.id

So basically I can see which sales executives have what leads and presumably if I send the object over to Helpers.GetLeadInfosByEmployee I should receive the above information, but where is the information about the offers? I'd like to be able to see what they're offering.

Also, completely related, is there a method to remove the lead cleanly?

Is there a way to connect the API and code to a program such as Atom or do I have to discover everything through the console in-game?
< >
Showing 1-3 of 3 comments
jhovgaard  [developer] 1 22 Aug, 2020 @ 1:02am 
Hi there,

The offers are dynamically generated once the player starts negotiating.

>Also, completely related, is there a method to remove the lead cleanly?
Nope, you have to manually remove it from the array.

>Is there a way to connect the API and code to a program such as Atom or do I have to discover everything through the console in-game?
Not that I'm aware of. The game isn't really offering a modding API, just the option to manipulate or change internal methods.

Also sorry for the late reply. Feel free to @ me directly over at Discord: https://discord.gg/hovgaardgames

Best,
Jonas
Phraxas 22 Aug, 2020 @ 6:21am 
Alright, thank you. I did figure out where the offers are all stored, so that's all fine. Unfortunate about modding though, but I guess I can work around it.
jhovgaard  [developer] 1 22 Aug, 2020 @ 7:47am 
Originally posted by Phraxas:
Alright, thank you. I did figure out where the offers are all stored, so that's all fine. Unfortunate about modding though, but I guess I can work around it.
Awesome. If you run into more problems you know where to find me :-)
< >
Showing 1-3 of 3 comments
Per page: 1530 50