Skip to content

[Module] KyberCurrentTimeEntity, KyberTimeSplitterEntity #41

Open
Nuuby4 wants to merge 5 commits intover/beta10from
kyber-time-entities
Open

[Module] KyberCurrentTimeEntity, KyberTimeSplitterEntity #41
Nuuby4 wants to merge 5 commits intover/beta10from
kyber-time-entities

Conversation

@Nuuby4
Copy link

@Nuuby4 Nuuby4 commented Feb 24, 2026

Adds a KyberCurrentTimeEntity and a KyberTimeSplitterEntity for the purpose of getting and using the current time in mods.

Alternatively, you can use a FloatEntity, a CompareFloatEntity, or a MathEntity to do things based on the output of either 2 new entities.

KyberCurrentTimeEntity Outputs:

  • Time (Float32)

KyberTimeSplitterEntity Outputs:

  • DayInt (Int32)
  • MonthInt (Int32)
  • YearInt (Int32)
  • SecondInt (Int32)
  • MinuteInt (Int32)
  • HourInt (Int32)

@Nuuby4 Nuuby4 requested a review from MagixGames as a code owner February 24, 2026 15:33
@Nuuby4 Nuuby4 changed the title Implement KyberCurrentTimeEntity, KyberTimeSplitterEntity [Module] KyberCurrentTimeEntity, KyberTimeSplitterEntity Feb 24, 2026
When creating a char* for the strftime buffer, we can't/don't use delete[] to deallocate the memory. The string outputs aren't really necessary so we'll just remove them for now
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant