News:

Use the "Forum Search"
It may help you to find anything in the forum ;).

Gasworks (Town Gas Plant)

Started by destructulus, June 13, 2026, 12:51:26 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

destructulus

My first crack at making a building! I couldn't get tilecutter to work (Linux), so I had to do it by hand. I checked for holes in-game, but I might have missed something.

This is supposed to be an early gasworks (1812-1890) for turning coal into town gas (lights, cooking, etc.). Gameplay wise, I wanted to make something that can let players easily turn goods into money (like the coal power plant). Since this factory would just pipe its gas around the town, it has no output.

It *should* generate inside cities, but I might have messed up the .dat. It has a snow version, and night-lights, but only one facing direction (South) for now. Later I want to make a larger (3x3), more "modern" plant (1890-1950), but that will come later.

Let me know any suggestions!
"USA Simutrans Player userbar"

prissi

Isn't this a python program? I dimly remebered a python program for cutting.

Václav

Looks interesting.

I only would place chimney to the left part of roof - to it would be better visible (regardless of smoke) because it is dark and gas tanks too.

Chybami se člověk učí - ale někteří lidé jsou nepoučitelní

makie

My TileCutter isn't working anymore either.
It seems something has changes in python.
QuoteTraceback (most recent call last):
  File "/tilecutter/libs/main.py", line 86, in OnInit
    self.frame = tcui.ViewMain(None, self, wx.ID_ANY, "TileCutter")
                ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "tilecutter/libs/tcui/viewMain.py", line 153, in __init__
    self.translate()
    ~~~~~~~~~~~~~~^^
  File "tilecutter/libs/tcui/viewMain.py", line 233, in translate
    self.panel.SetMinSize(wx.Size(max(self.panel.GetBestSize().Get()[1] * 1.4, self.panel.GetBestSize().Get()
  • ), self.panel.GetBestSize().Get()[1]))
                          ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: Size(): arguments did not match any overloaded call:
  overload 1: too many arguments
  overload 2: argument 1 has unexpected type 'float'
  overload 3: argument 1 has unexpected type 'float'
OnInit returned false, exiting...


It seems Python has become stricter about type checking.

destructulus

Quote from: Václav on June 13, 2026, 07:42:39 PMLooks interesting.

I only would place chimney to the left part of roof - to it would be better visible (regardless of smoke) because it is dark and gas tanks too.

Something like this? I agree that it makes the smokestack much easier to see (I also moved the smoke source to the new spot).
GasworksEarly_uncut.png
"USA Simutrans Player userbar"

Václav

#5
Quote from: destructulus on June 14, 2026, 03:19:27 PMSomething like this? I agree that it makes the smokestack much easier to see (I also moved the smoke source to the new spot).
GasworksEarly_uncut.png
Yes. Exactly.

And please, make top of gas tanks not so flat. They should be a bit convex - like on following image.


Chybami se člověk učí - ale někteří lidé jsou nepoučitelní