Files
Terrarum/assets/mods/basegame/ores/worldgen.csv
2024-03-01 16:14:03 +09:00

2.3 KiB

1idfreqpowerscaleratiotilingcommentblocktagnongrata
210.0260.0100.5171.0a16x16copper (malachite)
320.0310.0110.5211.0a16x16iron (haematite)
430.0170.0700.5113.8a16x4coal
540.0190.0110.5111.0a16x16zinc (sphalerite)
650.0170.0170.5111.0a16x16tin (cassiterite)
760.0090.3000.4741.0a16x16natural gold
870.0130.3000.4761.0a16x16natural silver
980.0170.0200.5111.0a16x16lead (galena)
102560.010-0.3660.5282.4a16x8rocksaltDEEPROCK
112570.0070.1000.4941.0a16x8amethyst
122580.0190.0150.5091.0a16x8quartz
132590.010-0.1660.5171.4a16x8nitreDEEPROCK
14################################################################################
15# id: ore ID to spawn, the ID must exist on the ores.csv
16#
17# freq: frequency value used to set up noise generator. Larger = ore veins are closer together
18# power: power value (as in: randomNumber ^ power) used to set up the noise generator. Larger = veins are larger as you go deeper. 0.01 almost negates this effect
19# scale: scale value used to set up the noise generator. Larger = thicker veins. A valid value tend to play around the 0.5you'll need figure out this value by trial and error
20# ratio: how elongated (or squeeze) the ore veins are. >1.0 = stretched horizontally, <1.0 = stretched vertically
21#
22# tiling: determines how the tiles are tiled
23# - a16: use 4-neighbour autotiling (16 possible cases)
24# - a16x4: 4 variants of a16 (typically 4 rotations, or 2 rotations x 2 flips)
25# - a16x8: 8 variants of a16 (typically 4 rotations x 2 flips) -- horz/vert flip do not matter, both produces same sets of shapes
26# - a16x16: 16 variants of a16 (typically 4 rotations x 2 flips x 2 styles)
27# - a47: use 8-neighbour autotiling (47 possible cases)
28# - a47x4: 4 variants of a47 (typically 4 rotations, or 2 rotations x 2 flips)
29# - r16: use the hash of the tile position as a variant selection, module 16
30# - r8: use the hash of the tile position as a variant selection, module 8
31#
32# comment: human-readable comments, not actually used