diff --git a/HKSecondQuest.cs b/HKSecondQuest.cs index c97b829..10bf8bf 100644 --- a/HKSecondQuest.cs +++ b/HKSecondQuest.cs @@ -92,7 +92,7 @@ public HKSecondQuest() : base("The Glimmering Realm") public override string GetVersion() { - return "v1.1.3.0"; + return "v1.1.5.2"; } public void SetEnabled(bool enabled) diff --git a/Room.cs b/Room.cs index 944299b..010d15a 100644 --- a/Room.cs +++ b/Room.cs @@ -1,4 +1,5 @@ using ItemChanger; +using ItemChanger.Placements; using ItemChanger.Tags; using ItemChanger.UIDefs; using System; @@ -85,7 +86,14 @@ public void SetItem(string location, string item, bool merge = false, int geoCos //set cost tags if necessary if (geoCost > 0) { - aitem.AddTag().Cost = new GeoCost(geoCost); + if (placement is ISingleCostPlacement) + { + ((ISingleCostPlacement)placement).Cost = new GeoCost(geoCost); + } + else + { + aitem.AddTag().Cost = new GeoCost(geoCost); + } } if (essenceCost > 0) diff --git a/Rooms/Area1/Area1.cs b/Rooms/Area1/Area1.cs index 3863c88..5c85439 100644 --- a/Rooms/Area1/Area1.cs +++ b/Rooms/Area1/Area1.cs @@ -99,7 +99,7 @@ public override void OnWorldInit() //place items SetItem(LocationNames.Kings_Idol_Cliffs, ItemNames.Geo_Rock_Default); - SetItem(LocationNames.Howling_Cliffs_Map, ItemNames.Dirtmouth_Stag); + SetItem(LocationNames.Howling_Cliffs_Map, ItemNames.Dirtmouth_Stag, geoCost: 100); SetItem(LocationNames.Cyclone_Slash, ItemNames.Longnail); SetItem(LocationNames.Wanderers_Journal_Crystal_Peak_Crawlers, ItemNames.Quick_Focus); SetItem(LocationNames.Deep_Focus, ItemNames.Crystal_Heart); diff --git a/Rooms/Area2/Area2.cs b/Rooms/Area2/Area2.cs index 0612174..df5316c 100644 --- a/Rooms/Area2/Area2.cs +++ b/Rooms/Area2/Area2.cs @@ -55,7 +55,7 @@ public override void OnWorldInit() SetItem(LocationNames.Wanderers_Journal_Greenpath_Stag, ItemNames.Grub); SetItem(LocationNames.Greenpath_Stag, ItemNames.Geo_Rock_Default); - SetItem(LocationNames.Crystal_Peak_Map, ItemNames.Greenpath_Stag); + SetItem(LocationNames.Crystal_Peak_Map, ItemNames.Greenpath_Stag, geoCost: 150); } } } diff --git a/Rooms/Area4/Deepnest_43.cs b/Rooms/Area4/Deepnest_43.cs index d22a0e9..1035b66 100644 --- a/Rooms/Area4/Deepnest_43.cs +++ b/Rooms/Area4/Deepnest_43.cs @@ -14,6 +14,16 @@ public override void OnLoad() { PlaceGO(Prefabs.SMALL_PLATFORM.Object, 6.5f, 77); PlaceGO(Prefabs.SMALL_PLATFORM.Object, 31.5f, 90); + + PlaceGO(Prefabs.SMALL_PLATFORM.Object, 3, 7); + PlaceGO(Prefabs.SMALL_PLATFORM.Object, 10, 16); + PlaceGO(Prefabs.SMALL_PLATFORM.Object, 7, 25); + PlaceGO(Prefabs.SMALL_PLATFORM.Object, 14, 51); + PlaceGO(Prefabs.SMALL_PLATFORM.Object, 8, 73); + PlaceGO(Prefabs.SMALL_PLATFORM.Object, 13, 86); + PlaceGO(Prefabs.SMALL_PLATFORM.Object, 29, 86); + PlaceGO(Prefabs.SMALL_PLATFORM.Object, 29, 94); + PlaceGO(Prefabs.SMALL_PLATFORM.Object, 12, 99); } } } diff --git a/Rooms/Area5/FinalBossCore.cs b/Rooms/Area5/FinalBossCore.cs index 5c4754f..620d349 100644 --- a/Rooms/Area5/FinalBossCore.cs +++ b/Rooms/Area5/FinalBossCore.cs @@ -78,7 +78,7 @@ public FinalBossCore() : base("Room_Final_Boss_Core") { } public override void OnBeforeLoad() { - SetDarkness(true); + //SetDarkness(true); } public override void OnLoad() diff --git a/Rooms/Area6/Area6.cs b/Rooms/Area6/Area6.cs index 0705b6d..0140799 100644 --- a/Rooms/Area6/Area6.cs +++ b/Rooms/Area6/Area6.cs @@ -31,7 +31,7 @@ public override void OnWorldInit() SetItem(LocationNames.Dreamshield, ItemNames.Mask_Shard); SetItem(LocationNames.Hidden_Station_Stag, ItemNames.Kings_Idol); - SetItem(LocationNames.Ancient_Basin_Map, ItemNames.Hidden_Station_Stag); + SetItem(LocationNames.Ancient_Basin_Map, ItemNames.Hidden_Station_Stag, geoCost: 150); SetItem(LocationNames.Vessel_Fragment_Basin, ItemNames.Mask_Shard); //place Carefree Melody diff --git a/Rooms/Area7/Area7.cs b/Rooms/Area7/Area7.cs index a34b3a7..089ed48 100644 --- a/Rooms/Area7/Area7.cs +++ b/Rooms/Area7/Area7.cs @@ -26,7 +26,7 @@ public override void OnWorldInit() SetItem(LocationNames.Wanderers_Journal_Kingdoms_Edge_Camp, ItemNames.Soul_Totem_B); SetItem(LocationNames.Quick_Slash, ItemNames.Mask_Shard); SetItem(LocationNames.Wanderers_Journal_Kingdoms_Edge_Entrance, ItemNames.Hallownest_Seal); - SetItem(LocationNames.Kingdoms_Edge_Map, ItemNames.Mask_Shard); + SetItem(LocationNames.Kingdoms_Edge_Map, ItemNames.Mask_Shard, geoCost: 150); SetItem(LocationNames.Wanderers_Journal_Kingdoms_Edge_Requires_Dive, ItemNames.Dreamshield); } diff --git a/Rooms/City/City.cs b/Rooms/City/City.cs index 0305e2e..f001d98 100644 --- a/Rooms/City/City.cs +++ b/Rooms/City/City.cs @@ -38,7 +38,7 @@ public override void OnWorldInit() SetItem(LocationNames.Kings_Station_Stag, ItemNames.Geo_Rock_Default); SetItem(LocationNames.Hallownest_Seal_Kings_Station, ItemNames.Wanderers_Journal); SetItem(LocationNames.City_Crest, ItemNames.Shade_Soul, nonIncremental: true); - SetItem(LocationNames.City_of_Tears_Map, ItemNames.Kings_Station_Stag); + SetItem(LocationNames.City_of_Tears_Map, ItemNames.Kings_Station_Stag, geoCost: 120); SetItem(LocationNames.World_Sense, ItemNames.Kings_Brand); SetItem(LocationNames.Grub_City_of_Tears_Guarded, ItemNames.Grub); diff --git a/Rooms/Village3/Deepnest10.cs b/Rooms/Village3/Deepnest10.cs index e17f997..d5de8d7 100644 --- a/Rooms/Village3/Deepnest10.cs +++ b/Rooms/Village3/Deepnest10.cs @@ -16,6 +16,8 @@ public override void OnLoad() PlaceGO(Prefabs.SMALL_PLATFORM.Object, 24, 106); PlaceGO(Prefabs.SMALL_PLATFORM.Object, 56, 7); + PlaceGO(Prefabs.SMALL_PLATFORM.Object, 51, 129); + for (int y = 8; y < 90; y += 6) PlaceGO(Prefabs.BOUNCE_MUSHROOM.Object, 12 - (y*y*y % 5), y); } }