Modding Scenario Objectives - Type of Cure

Want to change the way the big pharma universe works? Have your own cool ideas for mods?... discuss them here!
tometherton
Junior Line Worker
Junior Line Worker
Posts: 4
Joined: Sun Sep 04, 2016 6:21 am

Modding Scenario Objectives - Type of Cure

Postby tometherton » Sun Sep 04, 2016 6:27 am

I was just wondering whether it is possible to specify the type of cure created? So, for example, could you have a scenario where you have to do 300 Eases Migraine but which were specifically a pill? Or 150 Cures Tuberculosis that were specifically a syringe? I was having a look through the information on modding and couldn't see anything other than about changing quantities/cure ratings etc.

Second question is whether it is possible to extend the current cure trees? I tried adding a level 3 cure to the Liver tree but couldn't get it to recognise it and kept throwing an error on "effects.data". If it is possible I'll keep working on it, just curious.

Finally, thanks for a great game! We've almost finished all of the scenarios in the main part of the game and really enjoyed it, looking forward to more DLC or your next game, whichever comes first :)
TwiceCircled
Big Pharma Developer
Big Pharma Developer
Posts: 444
Joined: Wed Jun 03, 2015 1:23 pm

Re: Modding Scenario Objectives - Type of Cure

Postby TwiceCircled » Tue Sep 06, 2016 2:20 pm

Hi Tom, thank you very much for the post, I'm so glad you enjoy the game!

Regarding your questions about modding:

1. Is it possible to specify the type of cure created? - Unfortunately not, that actually never crossed my mind, but would have been a good inclusion if I thought of it.

2. Is it possible to extend the current cure trees? - Yes, it absolutely should be possible. The effect modding can be a bit finicky but if you post your effects.data here I should be able to point out the issue. :)

Regarding what comes next, it will probably be a brand new game which I'm currently working hard on. It's in a similar genre, so hopefully you'll like it :) .

I'm hoping to announce it early next year. Feel free to subscribe to my development newsletter here http://www.twicecircled.com/2c/twice-ci ... er-signup/, if you're interested (but no pressure!).
tometherton
Junior Line Worker
Junior Line Worker
Posts: 4
Joined: Sun Sep 04, 2016 6:21 am

Re: Modding Scenario Objectives - Type of Cure

Postby tometherton » Wed Sep 07, 2016 1:05 pm

Hey, thanks for your reply that's awesome. I will post my effects.data file for adding a level of cure a little later on as I don't have it available right now. I look forward to hearing about the new game you're working on - if it's like Big Pharma then I'm sure I'll be a fan.
tometherton
Junior Line Worker
Junior Line Worker
Posts: 4
Joined: Sun Sep 04, 2016 6:21 am

Re: Modding Scenario Objectives - Type of Cure

Postby tometherton » Thu Sep 08, 2016 3:34 pm

Hi again,

I couldn't attach a .data file to the post so I've just included the Liver tree below - I haven't changed anything else in the effects.data file anyway. Probably something very obvious which I'm missing but an extra pair of eyes is always useful, particularly when it's the guy who made the game!

// LIVER
{
"id":"gout",
"family":"liver",
"level":0,
"sensitivity":1350,"baseValue":107,"boundary":[5,9],
"helpRate":80,
"reaction":{"upgrade":{"combine":"catalyst1","machine":"dissolver","product":"liverdisease","conc":[6,8]}}
},
{
"id":"liverdisease",
"family":"liver",
"level":1,
"sensitivity":900,"baseValue":377,"boundary":[16,19],
"cureRate":30,
"contractionRate":{"formula":[0.8]}
"reaction":{"upgrade":{"combine":"catalyst2","machine":"evaporator","product":"healsliver","conc":[3,7]}}
},
{
"id":"healsliver",
"family":"liver",
"level":2,
"sensitivity":1500,"baseValue":843,"boundary":[8,15],
"cureRate":15,
"contractionRate":{"formula":[0.8]}
},


Thanks for your help.
TwiceCircled
Big Pharma Developer
Big Pharma Developer
Posts: 444
Joined: Wed Jun 03, 2015 1:23 pm

Re: Modding Scenario Objectives - Type of Cure

Postby TwiceCircled » Sat Sep 10, 2016 2:13 pm

I can spot one error, there is a missing comma after the "contractionRate" line for the liverdisease cure.

So:

// LIVER
{
"id":"gout",
"family":"liver",
"level":0,
"sensitivity":1350,"baseValue":107,"boundary":[5,9],
"helpRate":80,
"reaction":{"upgrade":{"combine":"catalyst1","machine":"dissolver","product":"liverdisease","conc":[6,8]}}
},
{
"id":"liverdisease",
"family":"liver",
"level":1,
"sensitivity":900,"baseValue":377,"boundary":[16,19],
"cureRate":30,
"contractionRate":{"formula":[0.8]},
"reaction":{"upgrade":{"combine":"catalyst2","machine":"evaporator","product":"healsliver","conc":[3,7]}}
},
{
"id":"healsliver",
"family":"liver",
"level":2,
"sensitivity":1500,"baseValue":843,"boundary":[8,15],
"cureRate":15,
"contractionRate":{"formula":[0.8]}
},


Other than that it looks good. A good tool to use is http://jsonlint.com/ which will help spot little typos like this. Only issue is that you have to strip all the comments out first, which is a bit of a pain!

(Comments are any lines starting with //)

Hopefully that will work for you now. :)
tometherton
Junior Line Worker
Junior Line Worker
Posts: 4
Joined: Sun Sep 04, 2016 6:21 am

Re: Modding Scenario Objectives - Type of Cure

Postby tometherton » Sat Sep 10, 2016 4:57 pm

Thank you! That's great, this was the problem running it through a validator but your eagle eyes have helped.
lukecage
Junior Line Worker
Junior Line Worker
Posts: 2
Joined: Tue Sep 05, 2017 3:59 am

Re: Modding Scenario Objectives - Type of Cure

Postby lukecage » Tue Sep 05, 2017 4:01 am

Try this tool: json formatter

Return to “Pharma Modding”

Who is online

Users browsing this forum: No registered users and 1 guest