Changing equipment attributes with tech?

Want to change the way the big pharma universe works? Have your own cool ideas for mods?... discuss them here!
RegnumMortis
Junior Line Worker
Junior Line Worker
Posts: 3
Joined: Sat Jun 11, 2016 8:48 pm

Changing equipment attributes with tech?

Postby RegnumMortis » Tue Jun 14, 2016 9:42 pm

Hi all,

I've read the modding documentation on Research.data and Equipment.data, so I've got a good grasp on how to change both directly, but what I want to do is something in-between: I want to change the "processTime" and "processCost" of specific equipments using a new technology (therefore inside Research.data).

Is there any way to do this?
RegnumMortis
Junior Line Worker
Junior Line Worker
Posts: 3
Joined: Sat Jun 11, 2016 8:48 pm

Re: Changing equipment attributes with tech?

Postby RegnumMortis » Thu Jun 16, 2016 2:24 am

Tim kindly answered me in another forum. Basically you do it by using "<attribute>.<id>" syntax, so:
{"intValue":{"id":"process_time.autoclave","change":-1}} allows you to change the "processTime" attribute from equipment with id "autoclave" by -1. Same with "process_cost.hadron" (changes "processCost attribute of object with id "hadron").

Thanks for the help, Tim!

Return to “Pharma Modding”

Who is online

Users browsing this forum: No registered users and 1 guest