Mini Water Treatment
Moderator: Plugin Moderators
- CloakedGamer
- Small-town resident
- Reactions:
- Posts: 29
- Joined: 07 Oct 2017, 01:01
-
Platform
Mini Water Treatment
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.
- Lobby
- Developer
- Reactions:
- Posts: 3705
- Joined: 26 Oct 2008, 12:34
- Plugins: Showcase Store
- Version: Beta
-
Platform
Re: Mini Water Treatment
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
}
]
- CloakedGamer
- Small-town resident
- Reactions:
- Posts: 29
- Joined: 07 Oct 2017, 01:01
-
Platform
Re: Mini Water Treatment
Alrighty, thanks!
- CloakedGamer
- Small-town resident
- Reactions:
- Posts: 29
- Joined: 07 Oct 2017, 01:01
-
Platform
Re: Mini Water Treatment
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.Lobby wrote: ↑08 Oct 2017, 22:46So a negative "water waste" value will do the trick (positive values will add waste).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 } ]
- KINGTUT10101
- 1,000,000 inhabitants
- Reactions:
- Posts: 2220
- Joined: 07 Jul 2016, 22:50
- Location: 'Merica
- Plugins: Showcase Store
- Version: Beta
- Contact:
-
Plugin Creator
Platform
Re: Mini Water Treatment
Using a negative variable for "influence pollution" will reduce pollution. My depolluter is proof of that.
Last edited by KINGTUT10101 on 09 Oct 2017, 07:43, edited 1 time in total.
- KINGTUT10101
- 1,000,000 inhabitants
- Reactions:
- Posts: 2220
- Joined: 07 Jul 2016, 22:50
- Location: 'Merica
- Plugins: Showcase Store
- Version: Beta
- Contact:
-
Plugin Creator
Platform
Re: Mini Water Treatment
Mixed them up.