✔What should i write for energ producing

Plugin specific problems will be solved here.

Moderator: Plugin Moderators

User avatar
yusuf8a684
Reactions:

✔What should i write for energ producing

#1

Post by yusuf8a684 »

İm makimg a power plant can someone say the code

User avatar
Lobby
Developer
Reactions:
Posts: 3705
Joined: 26 Oct 2008, 12:34
Plugins: Showcase Store
Version: Beta

Platform

Re: Wnat should i write for energ producing

#2

Post by Lobby »

Something like :json

Code: Select all

[
  {
	"id":"$lobby_powerplant00",
	"type":"energy",
	"width":3,
	"height":3,
	"frames":[..],
	"price":800,
	"monthly price":20,
	"power":50,
	"water":0
  }
]

User avatar
JustAnyone
Developer
Reactions:
Posts: 3474
Joined: 23 Jul 2017, 12:45
Location: Easter Island
Plugins: Showcase Store

Platform

Re: Wnat should i write for energ producing

#3

Post by JustAnyone »

former member wrote:
18 Dec 2017, 17:22
So, normally "power" means power usage, but when type is "energy" it means power production.
No.
If you use power attribute with minus, it will use that power.

User avatar
JustAnyone
Developer
Reactions:
Posts: 3474
Joined: 23 Jul 2017, 12:45
Location: Easter Island
Plugins: Showcase Store

Platform

Re: Wnat should i write for energ producing

#4

Post by JustAnyone »

Well you remembered wrong.

Post Reply Previous topicNext topic

Return to “Problems”