Lonami / terry

A Rust bot for Terraria 1.4
Other
16 stars 6 forks source link

Update framed tile list to Terraria 1.4.2.3 #2

Closed Plecra closed 3 years ago

Plecra commented 3 years ago

The diff makes this look like a more complex change than it is - we've replaced TILE_FRAME_IMPORTANT[435..=439] with true, and added tile 624 (also true)

Closes #1

Lonami commented 3 years ago

The diff makes this look like a more complex change than it is

Too bad true and false are different lengths. Could've probably used a bytestring instead with 01 characters, but alas array::map is currently experimental (https://doc.rust-lang.org/stable/std/primitive.array.html#method.map) and not const so the comparing against the magic constant b'1' would be weird.