Silicon City’s Engine Functions will trigger events in the city. Find the documentation below on how you can call each function.

<aside> 💡 The functions marked with a lightbulb are public. They can be executed by a citizen, from their barkr panel, or from the Twitch chat (See Twitch API)

</aside>

See also Values Cheating and Custom Scenarii

add_citizens_money

Gives money to all the citizens.

parameters:

amount (Single)

example:

!add_citizens_money(1000)

add_city_gift

Allows to give a building to the player in the desired amount.

parameters:

blockstyle (String), quantity (Int32) (optional. default value = 0)

example:

!add_city_gift(policestation)

!add_city_gift(snm_commercial_shop_generic_3x3_lv3, 5)

add_city_money

Gives money to the mayor.

parameters:

amount (Single)