Page 1 of 1

Gas Natural for TheoTown

Posted: 19 Mar 2018, 05:36
by fico240
I want to do a new service like drinking water and electric power, but I don't know how.
The service would be at the level of the water pipes, an underground service.
:bq :mine
For now I will try.

Re: How do a service?

Posted: 19 Mar 2018, 07:40
by JustAnyone
It's impossible. You can only do that for pipes.

Re: How do a service?

Posted: 19 Mar 2018, 08:34
by CommanderABab
It is not impossible.

Re: How do a service?

Posted: 19 Mar 2018, 15:03
by fico240
For now I was doing the textures, but I need the code

Re: Gas natural for TheoTown

Posted: 19 Mar 2018, 17:30
by fico240

Code: Select all

[
   {
      "id":"$pipe00",
	  "type":"pipe",
	  "frames":[{.  //All images of pipes.  }],
	  "price":50,
     "preview frames":[{"x":448,"y":720,"w":64,"h":32}]
   },
   
   {
     "separator":true,
      "id":"$Gas_tank00",
	  "type":"gas",
	  "width":1,
	  "height":1,
	  "frames":[{"x":1600,"y":1056,"w":32,"h":48}],
	  "price":800,
	  "monthly price":20,
          "gas": 1500
	  "water":0,
      "power":0,
	  "needs road":true
   },
]
code by @Lobby

Re: Gas Natural for TheoTown

Posted: 13 Jul 2018, 02:44
by fico240
Screenshot_2018-07-12-21-34-26.png
:(

Re: Gas Natural for TheoTown

Posted: 13 Jul 2018, 02:58
by Oshawotta737
Yay

Re: Gas Natural for TheoTown

Posted: 13 Jul 2018, 03:52
by CommanderABab
Screenshot_20180712-212455.jpg
Also, in the frames statement, where are the images coming from?