Increasing Price
Moderator: Plugin Moderators
- 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
Increasing Price
Could we have an option to disable the increasing price on plug-ins? It might be good for stuff that's aesthetic like walls or or something in the park category.
- Brody Craft
- Inhabitant of a Infinity
- Reactions:
- Posts: 8034
- Joined: 24 Jan 2017, 11:15
- Location: SE Asia
- Plugins: Showcase Store
- Version: Beta
-
Platform
Re: Increasing Price
And maybe An option to adjust how much price will increase
- Lobby
- Developer
- Reactions:
- Posts: 3705
- Joined: 26 Oct 2008, 12:34
- Plugins: Showcase Store
- Version: Beta
-
Platform
Re: Increasing Price
With version 317 you will be able to do so using attribute "price factor" in building plugins.
This code will lead to no increase in price
Default value is 0.2
Short description of the formula behind the scenes. Let
p...be the base building price
f...be the factor provided with "price factor"
n...be the number of this building in the current city
The current price is then evaluated as
This code will lead to no increase in price
Code: Select all
[{
...
"price factor":0,
...
}]
Short description of the formula behind the scenes. Let
p...be the base building price
f...be the factor provided with "price factor"
n...be the number of this building in the current city
The current price is then evaluated as
Code: Select all
(1+f*n)*p