Category: Modding Tools

PyTK – Platonymous Toolkit

Author: Platonymous

Created: 29 December 2017

1 / 1

PyTK

by Platonymous

PyTK 1.13.29 + SMAPI 3.4 changes to Map Edits

With SMAPI 3.4 map edits made in Tiled, saved as TMX files and imported with TMXL, CP or the SMAPI API can now contain:
– Rotated and/or flipped tiles
– External .tsx tilesheets
With PyTK installed also supported are:
– Extra map layers (Add the custom layer-property “DrawAbove” or “DrawBefore” with the value of a vanilla layer name)
– Image-Layers (as extra layers, use offset to position)
– Opacity for layers & tiles
– BackgroundColor map property to set the color drawn behind the map.
– “@WaterColor” custom map property to set the color of the water on the map
– “@Color” custom layer/tile – property to tint layers and tiles
– Offsets for layers and tiles are supported but tiles, while drawn with the offset, will disappear and show in game based on their non-offset position.

Custom Objects that use PyTK.CEH,  currently only work in single player or multiplayer if all players have the respective mod installed.

Changed save serializer Warning
SMAPI warns that this mod “may corrupt your save files, or make them unusable if you uninstall” it.
This is because PyTK accesses properties that COULD be used to change the serializer in that way, but doesn’t actually change it.
So despite what the warning says, your save files will not be corrupted or become unusable when using or uninstalling this mod.

In development.

Adds a few new ways to use smapi.

Examples: 
https://github.com/Platonymous/Stardew-Valley-Mods/blob/master/PyTK/Examples.md

Source: https://github.com/Platonymous/Stardew-Valley-Mods/tree/master/PyTK


If you have any questions you can usually find me on the Stardew Valley Discord under the username Routine#8715

If you like my mods and want to support me, you can do so via Paypal or on Patreon.


Related Stardew Valley mods

  • Bigger Backpack

    Bigger Backpack

    DescriptionBuy a bigger backpack at Pierre’s for only 50,000g! This backpack has 48 slots. ConfigNote: run Stardew Valley once with ... read more

  • Experience Bars

    Experience Bars

    Experience Bars adds experience bars for your skill levels, so you can see how far you are from leveling. Install UsePress X to ... read more

  • Skip Fishing Minigame

    Skip Fishing Minigame

    ACKNOWLEDGEMENTThank you to all the generous people who have supported this mod through donations and kind words, it’s very much ... read more

  • Portraiture

    Portraiture

    Portraiture Version 1.11.0Support for HDP content packs.New Above Box Mode (active on default, can be deativated in the config and ... read more