diff --git a/Content/Items/Placeable/PersonalTeleporter.png b/Content/Items/Placeable/PersonalTeleporter.png index 9a4832e..4f44384 100644 Binary files a/Content/Items/Placeable/PersonalTeleporter.png and b/Content/Items/Placeable/PersonalTeleporter.png differ diff --git a/Content/Tiles/PersonalTeleporter.cs b/Content/Tiles/PersonalTeleporter.cs index 4d87842..c01647e 100644 --- a/Content/Tiles/PersonalTeleporter.cs +++ b/Content/Tiles/PersonalTeleporter.cs @@ -26,31 +26,20 @@ namespace tTP.Content.Tiles Main.tileLighted[Type] = true; TileID.Sets.DisableSmartCursor[Type] = true; - TileObjectData.newTile.CopyFrom(TileObjectData.Style2x2); + TileObjectData.newTile.CopyFrom(TileObjectData.Style3x2); TileObjectData.addTile(Type); } public override void ModifyLight(int i, int j, ref float r, ref float g, ref float b) { Tile tile = Main.tile[i, j]; - - // If the torch is on - if (tile.TileFrameX < 66) + if (tile.TileFrameY < 36) { - int style = TileObjectData.GetTileStyle(Main.tile[i, j]); - // Make it emit the following light. - if (style == 0) - { - r = 0.9f; - g = 0.9f; - b = 0.9f; - } - else if (style == 1) - { - r = 0.5f; - g = 1.5f; - b = 0.5f; - } + float pulse = Main.rand.Next(28, 42) * 0.005f; + pulse += (270 - Main.mouseTextColor) / 700f; + r = 0.1f + pulse; + g = 0.1f + pulse; + b = 0.9f + pulse; } } diff --git a/Content/Tiles/PersonalTeleporter.png b/Content/Tiles/PersonalTeleporter.png index 1e24294..3a79137 100644 Binary files a/Content/Tiles/PersonalTeleporter.png and b/Content/Tiles/PersonalTeleporter.png differ diff --git a/Content/Tiles/PersonalTeleporter.png_ b/Content/Tiles/PersonalTeleporter.png_ new file mode 100644 index 0000000..1e24294 Binary files /dev/null and b/Content/Tiles/PersonalTeleporter.png_ differ diff --git a/Content/Tiles/PersonalTeleporter.psd b/Content/Tiles/PersonalTeleporter.psd new file mode 100644 index 0000000..20fe6df Binary files /dev/null and b/Content/Tiles/PersonalTeleporter.psd differ diff --git a/README.md b/README.md index c16da05..d8f2722 100644 --- a/README.md +++ b/README.md @@ -10,12 +10,10 @@ There is a config in-game to use vanilla materials instead.\ Addind a **Personal Teleporter** to the world add an icon on your map.\ Hover over one of the **Personal Teleporter** icon on your map while holding "Shift" to teleport to it!\ \ -![Personal Teleporter in the Crimson.](https://mxcloud.ovh/s/5XAxagRyidYNQmK/download/tTP-g001.png) -![Personal Teleporter in the Jungle.](https://mxcloud.ovh/s/4EenLTKi6XyY9XT/download/tTP-g002.png) -![Personal Teleporter in the world.](https://mxcloud.ovh/s/AmzkNjWnqE2a4LF/download/tTP-g003.png) +![Personal Teleporter in the Crimson.](https://mxcloud.ovh/apps/files_sharing/publicpreview/4EenLTKi6XyY9XT?file=/&fileId=68801&x=2560&y=1440&a=true&etag=2af122c789fb028c78f861c1b373c2a0) +![Personal Teleporter in the Jungle.](https://mxcloud.ovh/apps/files_sharing/publicpreview/5XAxagRyidYNQmK?file=/&fileId=68786&x=2560&y=1440&a=true&etag=5fc3f792590a81dd10cd74444bb5661f) +![Personal Teleporter in the world.](https://mxcloud.ovh/apps/files_sharing/publicpreview/AmzkNjWnqE2a4LF?file=/&fileId=68831&x=2560&y=1440&a=true&etag=023c55a9496c4690e86de7d65139e149) ## CHANGELOG -**1.2.0** -- Added the vanilla material(s) list to the config. -- Added the material(s) quantity list to the config. -- YOU NEED TO FORCE RELOAD AFTER EVERY CHANGE. \ No newline at end of file +**1.3.0** +- Personal Teleporter Item/Tile Sprite Updated \ No newline at end of file diff --git a/build.txt b/build.txt index 048033f..580657e 100644 --- a/build.txt +++ b/build.txt @@ -1,6 +1,6 @@ displayName = tTP author = mikx -version = 1.2.0 +version = 1.3.0 sortAfter = tMx modReferences = tMx dllReferences = Newtonsoft.Json \ No newline at end of file