Skip to content

Commit

Permalink
More Nightly Events 0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
KhloeLeclair committed Apr 16, 2024
1 parent 4ea4df4 commit 334bbcf
Show file tree
Hide file tree
Showing 16 changed files with 1,310 additions and 151 deletions.
2 changes: 1 addition & 1 deletion Common/UI/SimpleLayout/LayoutNode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public enum LayoutDirection {

public interface ILayoutNode : ISimpleNode {

ISimpleNode[] Children { get; set; }
ISimpleNode[]? Children { get; set; }

Vector2 MinSize { get; set; }

Expand Down
37 changes: 37 additions & 0 deletions MoreNightlyEvents/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,42 @@
# Changelog

## 0.2.0
Released April 16th, 2024.

### Added
* The `mre_pick` command can be used to view what event would be
selected tonight. Useful for testing conditions without actually
going to bed to trigger an event.
* Placement events can now spawn buildings, optionally with animals.
* Placement events can now spawn crops.
* Placement event output entries can now accept a list of `SpawnAreas`,
which are rectangles that limit the possible locations chosen to
only be within the rectangles.
* Placement events have a new `RequireMinimumSpots` flag that will
cause them to abort if they don't find `MinStack` valid locations.
* Events can now have a Priority, which changes how they're sorted
in the event list. Events with a higher priority have a chance
to happen first.
* Events can now be tagged as Exclusive. When determining which event
should happen in a night, the first exclusive event to pass its
conditions will be used. If no exclusive event passes, then all
the remaining events with passing condition are selected between.
* Non-exclusive events now have a Weight on their condition, which
can be used to adjust the likelyhood that that event is chosen
when there are multiple matching events.

### Changed
* The placement event now displays an icon on screen when a sound is
playing, like the vanilla SoundInTheNight event does.
* The sample content pack now has a 1% chance for any given event
to happen, rather than 0%, so you don't *need* to trigger them
manually. It's just as rare as a vanilla event.

### Fixed
* The farmer can now be used in `Script` events and will be visible
and everything.


## 0.1.0
Released April 16th, 2024.

Expand Down
Loading

0 comments on commit 334bbcf

Please sign in to comment.