Gas Natural for TheoTown

Plug-in related stuff can be discussed here.

Moderator: Plugin Moderators

User avatar
fico240
Townsman
Reactions:
Posts: 64
Joined: 21 Dec 2017, 03:20
Location: Córdoba, Argentina
Plugins: Showcase Store
Version: Beta

Platform

Gas Natural for TheoTown

#1

Post 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.
Last edited by fico240 on 19 Mar 2018, 17:30, edited 1 time in total.

User avatar
JustAnyone
Developer
Reactions:
Posts: 3474
Joined: 23 Jul 2017, 12:45
Location: Easter Island
Plugins: Showcase Store

Platform

Re: How do a service?

#2

Post by JustAnyone »

It's impossible. You can only do that for pipes.

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

Plugin Creator

Platform

Re: How do a service?

#3

Post by CommanderABab »

It is not impossible.

User avatar
fico240
Townsman
Reactions:
Posts: 64
Joined: 21 Dec 2017, 03:20
Location: Córdoba, Argentina
Plugins: Showcase Store
Version: Beta

Platform

Re: How do a service?

#4

Post by fico240 »

For now I was doing the textures, but I need the code

User avatar
fico240
Townsman
Reactions:
Posts: 64
Joined: 21 Dec 2017, 03:20
Location: Córdoba, Argentina
Plugins: Showcase Store
Version: Beta

Platform

Re: Gas natural for TheoTown

#5

Post 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

User avatar
fico240
Townsman
Reactions:
Posts: 64
Joined: 21 Dec 2017, 03:20
Location: Córdoba, Argentina
Plugins: Showcase Store
Version: Beta

Platform

Re: Gas Natural for TheoTown

#6

Post by fico240 »

Screenshot_2018-07-12-21-34-26.png
:(

User avatar
Oshawotta737
Inhabitant of a Conurbation
Reactions:
Posts: 475
Joined: 28 Mar 2018, 22:53
Location: Murica
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: Gas Natural for TheoTown

#7

Post by Oshawotta737 »

Yay

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

Plugin Creator

Platform

Re: Gas Natural for TheoTown

#8

Post by CommanderABab »

Screenshot_20180712-212455.jpg
Also, in the frames statement, where are the images coming from?

Post Reply Previous topicNext topic

Return to “Plug-In Discussion”