Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion DynamicReflections/Framework/Managers/TileManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,21 @@ public void BuildInternalMapPresets()
{
_mapTilePresets = new List<MapTilePresetTemplate>()
{
// Vanilla map presets
new TownMapTilePreset(),
new BeachMapTilePreset(),
new BeachNightMarketMapTilePreset(),
new MountainMapTilePreset(),
new ForestMapTilePreset(),
new IslandNorthMapTilePreset(),
new IslandWestMapTilePreset()
new IslandWestMapTilePreset(),

// SVE map presets
new SVE_BeachMapTilePreset(),
new SVE_BeachNightMarketMapTilePreset(),
new SVE_ForestMapTilePreset(),
new SVE_MountainMapTilePreset(),
new SVE_TownMapTilePreset()
};
}

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,163 @@
using DynamicReflections.Framework.Models.Reflections;
using Microsoft.Xna.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DynamicReflections.Framework.Models.MapTilePresets.Vanilla
{
internal class SVE_BeachMapTilePreset : MapTilePresetTemplate
{
public override string MapName { get; } = "Beach";
public override List<string> RequiredModIds { get; } = new List<string>() { "FlashShifter.StardewValleyExpandedCP" };

public override List<ReflectableMapObject> MapObjects { get; } = new List<ReflectableMapObject>()
{
new ReflectableMapObject("LonlyStone", new List<ReflectableMapTile>()
{
new ReflectableMapTile(layerName: "Front", x: 4, y: 26),
new ReflectableMapTile(layerName: "Front", x: 5, y: 26),
new ReflectableMapTile(layerName: "Front", x: 6, y: 26),

new ReflectableMapTile(layerName: "Front", x: 4, y: 25),
new ReflectableMapTile(layerName: "Front", x: 5, y: 25),
new ReflectableMapTile(layerName: "Front", x: 6, y: 25),

new ReflectableMapTile(layerName: "Front", x: 4, y: 24),
new ReflectableMapTile(layerName: "Front", x: 5, y: 24),
new ReflectableMapTile(layerName: "Front", x: 6, y: 24)
}),
new ReflectableMapObject("BrokenBeachBridge", new List<ReflectableMapTile>()
{
new ReflectableMapTile(layerName: "Back", x: 57, y: 13) { Offset = new Vector2(0f, 1.2f) },
new ReflectableMapTile(layerName: "Buildings", x: 58, y: 13) { Offset = new Vector2(0f, 1.2f) },
new ReflectableMapTile(layerName: "Buildings", x: 61, y: 13) { Offset = new Vector2(0f, 1.2f) },
new ReflectableMapTile(layerName: "Back", x: 62, y: 13) { Offset = new Vector2(0f, 1.2f) },

//Needs a fixed bridge
new ReflectableMapTile(layerName: "Buildings", x: 59, y: 13) { Offset = new Vector2(0f, 1.2f) },
new ReflectableMapTile(layerName: "Buildings", x: 60, y: 13) { Offset = new Vector2(0f, 1.2f) }
}),
new ReflectableMapObject("Street_Lamp_1", new List<ReflectableMapTile>()
{
new ReflectableMapTile(layerName: "Buildings", x: 44, y: 34) { Offset = new Vector2(0f, 2.5f) },
new ReflectableMapTile(layerName: "Buildings", x: 44, y: 33) { Offset = new Vector2(0f, 2.5f) },
new ReflectableMapTile(layerName: "Front", x: 44, y: 32) { Offset = new Vector2(0f, 2.5f) },
new ReflectableMapTile(layerName: "Front", x: 44, y: 31) { Offset = new Vector2(0f, 2.5f) }
}),
new ReflectableMapObject("Street_Lamp_2", new List<ReflectableMapTile>()
{
new ReflectableMapTile(layerName: "Buildings", x: 90, y: 38) { Offset = new Vector2(0f, 2.5f) },
new ReflectableMapTile(layerName: "Buildings", x: 90, y: 37) { Offset = new Vector2(0f, 2.5f) },
new ReflectableMapTile(layerName: "Front", x: 90, y: 36) { Offset = new Vector2(0f, 2.5f) },
new ReflectableMapTile(layerName: "Front", x: 90, y: 35) { Offset = new Vector2(0f, 2.5f) }
}),
// Made use of all used tiles for compt with bigger building retextures
new ReflectableMapObject("Willy_Fish_Shop", new List<ReflectableMapTile>()
{
new ReflectableMapTile(layerName: "Buildings", x: 28, y: 33) { Offset = new Vector2(0f, 0f) },
new ReflectableMapTile(layerName: "Buildings", x: 29, y: 33) { Offset = new Vector2(0f, 0f) },
new ReflectableMapTile(layerName: "Buildings", x: 30, y: 33) { Offset = new Vector2(0f, 0f) },
new ReflectableMapTile(layerName: "Buildings", x: 31, y: 33) { Offset = new Vector2(0f, 0f) },
new ReflectableMapTile(layerName: "Buildings", x: 32, y: 33) { Offset = new Vector2(0f, 0f) },
new ReflectableMapTile(layerName: "Buildings", x: 33, y: 33) { Offset = new Vector2(0f, 0f) },
new ReflectableMapTile(layerName: "Buildings", x: 34, y: 33) { Offset = new Vector2(0f, 0f) },
new ReflectableMapTile(layerName: "Buildings", x: 35, y: 33) { Offset = new Vector2(0f, 0f) },

new ReflectableMapTile(layerName: "Buildings", x: 28, y: 32) { Offset = new Vector2(0f, 0f) },
new ReflectableMapTile(layerName: "Buildings", x: 29, y: 32) { Offset = new Vector2(0f, 0f) },
new ReflectableMapTile(layerName: "Buildings", x: 30, y: 32) { Offset = new Vector2(0f, 0f) },
new ReflectableMapTile(layerName: "Buildings", x: 31, y: 32) { Offset = new Vector2(0f, 0f) },
new ReflectableMapTile(layerName: "Buildings", x: 32, y: 32) { Offset = new Vector2(0f, 0f) },
new ReflectableMapTile(layerName: "Buildings", x: 33, y: 32) { Offset = new Vector2(0f, 0f) },
new ReflectableMapTile(layerName: "Buildings", x: 34, y: 32) { Offset = new Vector2(0f, 0f) },
new ReflectableMapTile(layerName: "Buildings", x: 35, y: 32) { Offset = new Vector2(0f, 0f) },

new ReflectableMapTile(layerName: "Buildings", x: 29, y: 31) { Offset = new Vector2(0f, 0f) },
new ReflectableMapTile(layerName: "Buildings", x: 30, y: 31) { Offset = new Vector2(0f, 0f) },
new ReflectableMapTile(layerName: "Buildings", x: 31, y: 31) { Offset = new Vector2(0f, 0f) },
new ReflectableMapTile(layerName: "Buildings", x: 32, y: 31) { Offset = new Vector2(0f, 0f) },
new ReflectableMapTile(layerName: "Buildings", x: 33, y: 31) { Offset = new Vector2(0f, 0f) },
new ReflectableMapTile(layerName: "Buildings", x: 34, y: 31) { Offset = new Vector2(0f, 0f) },

new ReflectableMapTile(layerName: "Front", x: 27, y: 32) { Offset = new Vector2(0f, 0f) },
new ReflectableMapTile(layerName: "Front", x: 36, y: 32) { Offset = new Vector2(0f, 0f) },

new ReflectableMapTile(layerName: "Front", x: 27, y: 31) { Offset = new Vector2(0f, 0f) },
new ReflectableMapTile(layerName: "Front", x: 28, y: 31) { Offset = new Vector2(0f, 0f) },
new ReflectableMapTile(layerName: "Front", x: 35, y: 31) { Offset = new Vector2(0f, 0f) },
new ReflectableMapTile(layerName: "Front", x: 36, y: 31) { Offset = new Vector2(0f, 0f) },

// A Trash Can was added, swiched to AlwaysFront for said Tiles (Not for Festivals)
new ReflectableMapTile(layerName: "AlwaysFront", x: 27, y: 30) { Offset = new Vector2(0f, 0f) },
new ReflectableMapTile(layerName: "AlwaysFront", x: 28, y: 30) { Offset = new Vector2(0f, 0f) },
new ReflectableMapTile(layerName: "AlwaysFront", x: 29, y: 30) { Offset = new Vector2(0f, 0f) },
new ReflectableMapTile(layerName: "AlwaysFront", x: 30, y: 30) { Offset = new Vector2(0f, 0f) },

new ReflectableMapTile(layerName: "Front", x: 31, y: 30) { Offset = new Vector2(0f, 0f) },
new ReflectableMapTile(layerName: "Front", x: 32, y: 30) { Offset = new Vector2(0f, 0f) },
new ReflectableMapTile(layerName: "Front", x: 33, y: 30) { Offset = new Vector2(0f, 0f) },
new ReflectableMapTile(layerName: "Front", x: 34, y: 30) { Offset = new Vector2(0f, 0f) },
new ReflectableMapTile(layerName: "Front", x: 35, y: 30) { Offset = new Vector2(0f, 0f) },
new ReflectableMapTile(layerName: "Front", x: 36, y: 30) { Offset = new Vector2(0f, 0f) },

new ReflectableMapTile(layerName: "AlwaysFront", x: 27, y: 29) { Offset = new Vector2(0f, 0f) },
new ReflectableMapTile(layerName: "AlwaysFront", x: 28, y: 29) { Offset = new Vector2(0f, 0f) },
new ReflectableMapTile(layerName: "AlwaysFront", x: 29, y: 29) { Offset = new Vector2(0f, 0f) },
new ReflectableMapTile(layerName: "AlwaysFront", x: 30, y: 29) { Offset = new Vector2(0f, 0f) },

new ReflectableMapTile(layerName: "Front", x: 31, y: 29) { Offset = new Vector2(0f, 0f) },
new ReflectableMapTile(layerName: "Front", x: 32, y: 29) { Offset = new Vector2(0f, 0f) },
new ReflectableMapTile(layerName: "Front", x: 33, y: 29) { Offset = new Vector2(0f, 0f) },
new ReflectableMapTile(layerName: "Front", x: 34, y: 29) { Offset = new Vector2(0f, 0f) },
new ReflectableMapTile(layerName: "Front", x: 35, y: 29) { Offset = new Vector2(0f, 0f) },
new ReflectableMapTile(layerName: "Front", x: 36, y: 29) { Offset = new Vector2(0f, 0f) },

new ReflectableMapTile(layerName: "AlwaysFront", x: 27, y: 28) { Offset = new Vector2(0f, 0f) },
new ReflectableMapTile(layerName: "AlwaysFront", x: 28, y: 28) { Offset = new Vector2(0f, 0f) },
new ReflectableMapTile(layerName: "AlwaysFront", x: 29, y: 28) { Offset = new Vector2(0f, 0f) },
new ReflectableMapTile(layerName: "AlwaysFront", x: 30, y: 28) { Offset = new Vector2(0f, 0f) },

new ReflectableMapTile(layerName: "Front", x: 31, y: 28) { Offset = new Vector2(0f, 0f) },
new ReflectableMapTile(layerName: "Front", x: 32, y: 28) { Offset = new Vector2(0f, 0f) },
new ReflectableMapTile(layerName: "Front", x: 33, y: 28) { Offset = new Vector2(0f, 0f) },
new ReflectableMapTile(layerName: "Front", x: 34, y: 28) { Offset = new Vector2(0f, 0f) },
new ReflectableMapTile(layerName: "Front", x: 35, y: 28) { Offset = new Vector2(0f, 0f) },
new ReflectableMapTile(layerName: "Front", x: 36, y: 28) { Offset = new Vector2(0f, 0f) },

new ReflectableMapTile(layerName: "AlwaysFront", x: 28, y: 27) { Offset = new Vector2(0f, 0f) },
new ReflectableMapTile(layerName: "AlwaysFront", x: 29, y: 27) { Offset = new Vector2(0f, 0f) },
new ReflectableMapTile(layerName: "AlwaysFront", x: 30, y: 27) { Offset = new Vector2(0f, 0f) },

new ReflectableMapTile(layerName: "Front", x: 31, y: 27) { Offset = new Vector2(0f, 0f) },
new ReflectableMapTile(layerName: "Front", x: 32, y: 27) { Offset = new Vector2(0f, 0f) },
new ReflectableMapTile(layerName: "Front", x: 33, y: 27) { Offset = new Vector2(0f, 0f) },
new ReflectableMapTile(layerName: "Front", x: 34, y: 27) { Offset = new Vector2(0f, 0f) },
new ReflectableMapTile(layerName: "Front", x: 35, y: 27) { Offset = new Vector2(0f, 0f) },
new ReflectableMapTile(layerName: "Front", x: 36, y: 27) { Offset = new Vector2(0f, 0f) },

new ReflectableMapTile(layerName: "Front", x: 28, y: 26) { Offset = new Vector2(0f, 0f) },
new ReflectableMapTile(layerName: "Front", x: 29, y: 26) { Offset = new Vector2(0f, 0f) },
new ReflectableMapTile(layerName: "Front", x: 30, y: 26) { Offset = new Vector2(0f, 0f) },
new ReflectableMapTile(layerName: "Front", x: 31, y: 26) { Offset = new Vector2(0f, 0f) },
new ReflectableMapTile(layerName: "Front", x: 32, y: 26) { Offset = new Vector2(0f, 0f) },
new ReflectableMapTile(layerName: "Front", x: 33, y: 26) { Offset = new Vector2(0f, 0f) },
new ReflectableMapTile(layerName: "Front", x: 34, y: 26) { Offset = new Vector2(0f, 0f) },
new ReflectableMapTile(layerName: "Front", x: 35, y: 26) { Offset = new Vector2(0f, 0f) },
new ReflectableMapTile(layerName: "Front", x: 36, y: 26) { Offset = new Vector2(0f, 0f) },

new ReflectableMapTile(layerName: "Front", x: 28, y: 25) { Offset = new Vector2(0f, 0f) },
new ReflectableMapTile(layerName: "Front", x: 29, y: 25) { Offset = new Vector2(0f, 0f) },
new ReflectableMapTile(layerName: "Front", x: 30, y: 25) { Offset = new Vector2(0f, 0f) },
new ReflectableMapTile(layerName: "Front", x: 31, y: 25) { Offset = new Vector2(0f, 0f) },
new ReflectableMapTile(layerName: "Front", x: 32, y: 25) { Offset = new Vector2(0f, 0f) },
new ReflectableMapTile(layerName: "Front", x: 33, y: 25) { Offset = new Vector2(0f, 0f) },
new ReflectableMapTile(layerName: "Front", x: 34, y: 25) { Offset = new Vector2(0f, 0f) },
new ReflectableMapTile(layerName: "Front", x: 35, y: 25) { Offset = new Vector2(0f, 0f) },
new ReflectableMapTile(layerName: "Front", x: 36, y: 25) { Offset = new Vector2(0f, 0f) }
})
};
}
}
Loading