Skip to content

Commit

Permalink
v1.2.5 hotfix glitter puft temp
Browse files Browse the repository at this point in the history
  • Loading branch information
asquared31415 committed Sep 4, 2024
1 parent e2cfbd3 commit f96ae65
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 1 deletion.
3 changes: 3 additions & 0 deletions ONITwitchCore/Content/EntityConfigs/GlitterPuftConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ public GameObject CreatePrefab()
lethalLowTemperature: lowTemp,
lethalHighTemperature: highTemp
);
// set the spawn temperature to 24C instead of 5000 kelvin (default between min and max temp)
go.GetComponent<PrimaryElement>().Temperature =
GameUtil.GetTemperatureConvertedToKelvin(24, GameUtil.TemperatureUnit.Celsius);
go.AddOrGet<FactionAlignment>().canBePlayerTargeted = false;
Object.Destroy(go.GetComponent<RangedAttackable>());

Expand Down
2 changes: 1 addition & 1 deletion ONITwitchCore/mod_info.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
supportedContent: ALL
minimumSupportedBuild: 623711
version: "1.2.4"
version: "1.2.5"
APIVersion: 2
5 changes: 5 additions & 0 deletions changelogs/1.2.5.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# 1.2.5 (2024-09-03)

## Fixes

- Fix glitter puft spawning at 5000 degrees
2 changes: 2 additions & 0 deletions changelogs/toc.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
items:
- name: 1.2.5
href: 1.2.5.md
- name: 1.2.4
href: 1.2.4.md
- name: 1.2.3
Expand Down

0 comments on commit f96ae65

Please sign in to comment.