Night lights not working.

Do you have any issues? Don't hesitate to tell us about it.
User avatar
DestinedGamer2
Some Tree
Posts: 204
Joined: 23 Aug 2023, 13:55
Location: South Asia
Plugins: Showcase Store
Contact:

Plugin Creator

Platform

Night lights not working.

#1

Post by DestinedGamer2 »

Im trying to add night lights to my plugin but its not working,
can anyone help me out please?


heres the code:

Code: Select all    Reset

[ { "id":"$Trhouse_wh_Light00", "type":"animation", "light":true, "light switching":true, "frames":[ {"bmp":"treeHouse_1Light.png", "count": 1, "h":32, "w":32} ], "rotation aware":false }, { "id": "$Trhouse_wood_house00", "type": "residential", "author": "DGYT", "width": 1, "height": 1, "frames": [ {"bmp": "treeHouse_1.png"} ], "title": "Oak Tree House", "text": "Tree House, Trees and Grass texture by Lobby...", "influence happiness":10, "influence pollution":-5, "influence noise":-5, "influence nature":10, "influence radioactive":-5, "needs road": true, "level": 1, "people": 2, "price": 1, "monthly price": 1, "bulldoze price": 1, "build time": 1, "draw ground": true, "category":"$cat_TreeHouse", "animation": [{"id":"$Trhouse_wh_Light00", "x":9, "y":-16}] }]
JSON checker
Check

User avatar
I_Support_Palestine
Townsman
Posts: 53
Joined: 09 Jun 2024, 11:53
Location: Johor
Plugins: Showcase Store

Platform

Re: Night lights not working.

#2

Post by I_Support_Palestine »

Try something like this
[
{
"id":"$light",
"type":"animation",
"light":true,
"light switching":true,
"frames":[
{
"bmp": "FVInight.png",
"count": 1
}
],
"rotation aware":
false},


{
"id":"$Small Hotel",
"type":"residential",
"text":"Hotel with lights",
"habitats":80,
"author":"I_Support_Palestine",
"width":1,
"height":1,
"level":2,
"frames": [
{
 "bmp":"FVI.png"
 }
 ],
"animation": [{"id": "$light", "x":0,"y":-29}]
}
]

User avatar
BedroomFan
Settler
Posts: 3
Joined: 19 Sep 2024, 10:01

Re: Night lights not working.

#3

Post by BedroomFan »

How can i put to TheoTown soruce code??? Also I using blue snack to avoid the disaster

Post Reply Previous topicNext topic

Return to “Problems and Errors (bugs)”