Page 1 of 1
Mini Water Treatment
Posted: 08 Oct 2017, 22:24
by CloakedGamer
I'm working on a plug-in that basically adds a mini water treatment center, however I don't know what codes are used in the original center. More specifically, what codes are used to lower water waste.
Re: Mini Water Treatment
Posted: 08 Oct 2017, 22:46
by Lobby
Code: Select all
[
{
"id":"$filterplant00",
"type":"water",
"width":4,
"height":4,
"frames":[{"x":1536,"y":1777,"w":128,"h":63}],
"price":40000,
"monthly price":200,
"water":-1,
"water waste":-20000
}
]
So a negative "water waste" value will do the trick (positive values will add waste).
Re: Mini Water Treatment
Posted: 08 Oct 2017, 23:58
by CloakedGamer
Alrighty, thanks!
Re: Mini Water Treatment
Posted: 09 Oct 2017, 02:42
by CloakedGamer
Lobby wrote: ↑08 Oct 2017, 22:46
Code: Select all
[
{
"id":"$filterplant00",
"type":"water",
"width":4,
"height":4,
"frames":[{"x":1536,"y":1777,"w":128,"h":63}],
"price":40000,
"monthly price":200,
"water":-1,
"water waste":-20000
}
]
So a negative "water waste" value will do the trick (positive values will add waste).
Is there a code for anti-pollution? I already tried to make the normal "influence pollution" code negative, and it didn't amount to anything.
Re: Mini Water Treatment
Posted: 09 Oct 2017, 04:12
by KINGTUT10101
Using a negative variable for "influence pollution" will reduce pollution. My depolluter is proof of that.
Re: Mini Water Treatment
Posted: 09 Oct 2017, 07:43
by KINGTUT10101
Mixed them up.