Page 1 of 1

[Asked] Decoration Price

Posted: 07 Dec 2018, 03:14
by KINGTUT10101
Settings a Decoration's price to 0 does nothing. It will just ignore this 0 and use whatever price it feels like.

Re: Decoration Price

Posted: 07 Dec 2018, 06:35
by JustAnyone
Are you overriding anything?

Re: Decoration Price

Posted: 07 Dec 2018, 17:52
by KINGTUT10101
No. Im just making a regular decoration plugin.

Re: Decoration Price

Posted: 07 Dec 2018, 19:44
by JustAnyone
Mind sharing json?

Re: Decoration Price

Posted: 07 Dec 2018, 23:53
by KINGTUT10101

Code: Select all

[
	{
		"buildtime":0,
		"bulldozeprice":5000,
		"conductive":false,
		"destroyable":false,
		"drawground":true,
		"framealignmentarea":true,
		"frames":[
			{
				"bmp":"darkgrass.png",
				"count":6,
				"frames":6,
				"w":32
			}
		],
		"height":1,
		"hidden":false,
		"id":"dark_grass.kt101",
		"influencepark":0,
		"monthlyprice":0,
		"needsland":false,
		"needsroad":false,
		"needswater":false,
		"pickable":false,
		"power":0,
		"price":0,
		"text":"Removethistileorexplorethisareawithbotstobuildstuffonit.",
		"title":"UndiscoveredArea",
		"type":"decoration",
		"water":0,
		"width":1
	}
]
In game the price of it will be 8T, despite the fact that the price is set to 0.