Jump to content

Full list of turf tile IDs in DST.


Recommended Posts

Hello, please help if anyone has a full list (or table) of turf tile id, or at least tell me where to find them in the game files. I want to make a mod, but when creating a world, instead of, for example, a lunar one, sand ones are created. I work through Tiled.

17 hours ago, Arcwell said:

Here's the full list.

You can also find it in static_layout.lua under layout.ground_types. There is a list of tiles in constants.lua as well, but that one is deprecated.

tile_IDs.txt 838 B · 1 download

Thank you very much!

26 minutes ago, secretgalaxy said:

when generating the world I got other turf ids, as shown in the picture:

tiles2.jpg.f3ba39d2323b94bf0a60bf5ea4bed6ee.jpg

What is this connected with? or did they update the turf id??

I'm not sure, those IDs don't match any of the lists I've seen apart from the first 8.

I would guess it's either due to something specific to Forge or the method used to generate turf. Since some of the turf IDs are deprecated, some of the methods for them (i.e. GetTileAtPoint) are as well. I know putting the tile id in the static_layout\rooms file works just fine, but I'm unsure about other methods.

15 minutes ago, Arcwell said:

I'm not sure, those IDs don't match any of the lists I've seen apart from the first 8.

I would guess it's either due to something specific to Forge or the method used to generate turf. Since some of the turf IDs are deprecated, some of the methods for them (i.e. GetTileAtPoint) are as well. I know putting the tile id in the static_layout\rooms file works just fine, but I'm unsure about other methods.

You are absolutely right, I looked at the Forge files and there are indeed different tile IDs. Thanks for the tip :)

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...