How to set number of habitants for residential

Plug-in related stuff can be discussed here.

Moderator: Plugin Moderators

User avatar
Bebop
Settler
Reactions:
Posts: 2
Joined: 20 Jun 2018, 18:29
Plugins: Showcase Store

How to set number of habitants for residential

#1

Post by Bebop »

Hello,
I'm new here and interested in creating some residential plug ins. In the JSON file where do I determine the number of habitants will occupy a building I would create? Thanks for your help :)

Bebop

User avatar
CommanderABab
AB
Reactions:
Posts: 11102
Joined: 07 Jun 2016, 21:12
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: How to set number of habitants for residential

#2

Post by CommanderABab »

Include the line

Code: Select all

"people":100
(with a comma afterward if not the last line in the object definition). Change 100 to any suitable positive integer. Negative numbers will crash the game before it loads. (I've tried it! :))

Unreasonably large numbers will be overriden in 1x1 plugins.
If this line isn't included, a default number is calculated based on texture size.

User avatar
Bebop
Settler
Reactions:
Posts: 2
Joined: 20 Jun 2018, 18:29
Plugins: Showcase Store

Re: How to set number of habitants for residential

#3

Post by Bebop »

Thank you

Post Reply Previous topicNext topic

Return to “Plug-In Discussion”