Decoration Price

Plugin specific problems will be solved here.

Moderator: Plugin Moderators

User avatar
KINGTUT10101
1,000,000 inhabitants
Reactions:
Posts: 1884
Joined: Thu Jul 07, 2016 22:50
Location: 'Merica
Plugins: Show
Version: Beta
Phone model: Moto Z Force Droid

Platform

Decoration Price

#1

Post by KINGTUT10101 » Fri Dec 07, 2018 3:14

Settings a Decoration's price to 0 does nothing. It will just ignore this 0 and use whatever price it feels like.

User avatar
JustAnyone
Junior Developer
Reactions:
Posts: 2595
Joined: Sun Jul 23, 2017 12:45
Location: No idea either
Plugins: Show

Plugin Creator

Platform

Re: Decoration Price

#2

Post by JustAnyone » Fri Dec 07, 2018 6:35

Are you overriding anything?

User avatar
KINGTUT10101
1,000,000 inhabitants
Reactions:
Posts: 1884
Joined: Thu Jul 07, 2016 22:50
Location: 'Merica
Plugins: Show
Version: Beta
Phone model: Moto Z Force Droid

Platform

Re: Decoration Price

#3

Post by KINGTUT10101 » Fri Dec 07, 2018 17:52

No. Im just making a regular decoration plugin.

User avatar
JustAnyone
Junior Developer
Reactions:
Posts: 2595
Joined: Sun Jul 23, 2017 12:45
Location: No idea either
Plugins: Show

Plugin Creator

Platform

Re: Decoration Price

#4

Post by JustAnyone » Fri Dec 07, 2018 19:44

Mind sharing json?

User avatar
KINGTUT10101
1,000,000 inhabitants
Reactions:
Posts: 1884
Joined: Thu Jul 07, 2016 22:50
Location: 'Merica
Plugins: Show
Version: Beta
Phone model: Moto Z Force Droid

Platform

Re: Decoration Price

#5

Post by KINGTUT10101 » Fri Dec 07, 2018 23:53

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.

Post Reply Previous topicNext topic

Return to “Problems”

Who is online

Users browsing this forum: No registered users and 2 guests