5534 Commits

Author SHA1 Message Date
xen-42
101a6b1e9c
Conditional Checks (#1052)
## Major features

- Added `conditionalChecks` to star system configs. These allow you to
automatically set or unset dialogue conditions, persistent conditions,
and ship log facts based on other conditions being met, to handle more
complex interactive situations that a single `requiredCondition` or
`requiredFact` can't cover. Implements #1048

## Bug fixes

- Fixed custom items breaking if `pickupAudio` and `dropAudio` were not
set. Custom items will now default to the warp core item sounds. Each
sound can be disabled individually by specifying "None" as the audio
type.
- Fixed custom items breaking if `removeComponents` was set on the
detail.
2025-02-17 13:44:18 -05:00
Joshua Thome
c5f217a557 Merge branch 'hawkbar-conditionals' of https://github.com/Outer-Wilds-New-Horizons/new-horizons into hawkbar-conditionals 2025-02-17 11:58:52 -06:00
Joshua Thome
fec5ae1c92 Cache translated item name 2025-02-17 11:58:37 -06:00
Ben C
bda6af3215 Updated Schemas 2025-02-17 05:28:50 +00:00
Joshua Thome
e97ef7eb16 Merge branch 'hawkbar-conditionals' of https://github.com/Outer-Wilds-New-Horizons/new-horizons into hawkbar-conditionals 2025-02-16 23:26:37 -06:00
Joshua Thome
b1dbbf2eea Run conditional checks in LateUpdate() instead of immediately 2025-02-16 23:26:26 -06:00
Joshua Thome
dcbc834e93 Fix removeComponents deleting NH item components 2025-02-16 23:26:03 -06:00
Joshua Thome
8b49f94bd4 Fix null item audio types breaking custom items 2025-02-16 23:25:46 -06:00
Ben C
bbb25d99f6 Updated Schemas 2025-02-16 22:53:14 +00:00
Joshua Thome
3270580422 Generate conditionals handler 2025-02-16 16:51:13 -06:00
Joshua Thome
25f36dcbb7 Handle merging conditionals lists in config 2025-02-16 16:50:59 -06:00
Joshua Thome
27ff63d400 Component to process conditional checks 2025-02-16 16:46:47 -06:00
Joshua Thome
ad3c18517e Helper methods to calculate and apply checks 2025-02-16 16:45:17 -06:00
Joshua Thome
678c1e13ea Conditional check data structures 2025-02-16 16:44:51 -06:00
xen-42
7697e5bb49
profiling nh (#1030)
semi-automated profile marker generation. disable-able with a
project-wide compiler flag
2025-02-15 23:38:55 -05:00
JohnCorby
ec5d42c042 doc 2025-02-15 20:35:30 -08:00
Joshua Thome
52a1b0e4ce
Eye Travel Ordering (#1051)
## Minor features

- Add `afterTraveler` to custom Eye Travelers to place them after a base
game traveler in the campfire order (resolves #1037)

## Improvements

- Fix order of travelers at the Eye when both base game guests have been
gathered and custom travelers are used
2025-02-15 21:16:17 -06:00
Will Corby
cb17ba061e
fix hawkbar's eye of the universe bug (#1050)
## Bug fixes

- fixes a bug at the eye of the universe where new horizons checks for a
condition instead of a persistent condition
2025-02-15 19:07:03 -08:00
Ben C
3736cb5cea Updated Schemas 2025-02-16 03:06:04 +00:00
Joshua Thome
c775fda2fc Add "afterTraveler" to position custom travelers in the campfire order, and fix order with both solanum and prisoner 2025-02-15 21:04:06 -06:00
AnonymousStrangerOW
343e54888a fix hawkbar's eye of the universe bug
- fixes a bug at the eye of the universe where new horizons checks for a condition instead of a persistent condition
2025-02-15 21:53:06 -05:00
JohnCorby
c7f3ea8bc2 disable profiler 2025-02-15 18:35:24 -08:00
JohnCorby
79231ee843 Merge branch 'dev' into profiler 2025-02-15 15:46:18 -08:00
xen-42
264db8b11f
Cache map mode outlines (#1047)
## Improvements

- Cached generation of map mode outlines to improve loading time
2025-02-15 15:39:13 -05:00
JohnCorby
5e1fa2aac2 Merge branch 'dev' into profiler 2025-02-15 12:39:08 -08:00
xen-42
8eb5ba8ee8 Move map mode icon creation to image utilities 2025-02-15 11:36:18 -05:00
xen-42
01816b7e02 Merge branch 'dev' of https://github.com/Outer-Wilds-New-Horizons/new-horizons into dev 2025-02-15 03:19:33 -05:00
xen-42
360d2d0849 Update manifest.json 2025-02-15 03:19:31 -05:00
xen-42
0ce4b20ac1
Colour splashes (#773)
## Improvements
- Colourize splash effects to custom fluid volumes (implements #740)
2025-02-15 03:18:53 -05:00
Ben C
cf77e9c1a0 Updated Schemas 2025-02-15 08:05:15 +00:00
xen-42
506a781bff Document 2025-02-15 03:02:57 -05:00
xen-42
730f6f804f
Better proc gen (#1045)
## Minor features

- Add visual options for proc gen (i.e., asteroids). Can add a triplanar
texture or use a preset material for quantum, ice, or rocks. Fixes #1014
2025-02-15 03:01:55 -05:00
xen-42
0139a66781 Cache map mode outlines 2025-02-15 02:59:33 -05:00
xen-42
a12395b547 Cache guys in invul 2025-02-15 02:36:00 -05:00
xen-42
39126f3ee9 You know what maybe it does just work I don't care 2025-02-15 02:30:16 -05:00
xen-42
3228dbad0a Merge branch 'dev' into coloured-splashes 2025-02-15 02:20:48 -05:00
xen-42
4499bc3312 Document double fog tint 2025-02-15 02:13:50 -05:00
xen-42
4e982f6460 Merge branch 'dev' of https://github.com/Outer-Wilds-New-Horizons/new-horizons into dev 2025-02-15 02:11:43 -05:00
xen-42
964a4b2d60 Comment explaining #831 2025-02-15 02:11:20 -05:00
Ben C
3f221ee677 Updated Schemas 2025-02-15 06:55:57 +00:00
xen-42
2a1b2484cb
Do the thing where the screen fades out on black holes only (#1046)
## Improvements

- Screen fades out faster now on system-changing black hole. Fixes #783.
2025-02-15 01:54:49 -05:00
xen-42
0f259e1ccd Add normal, metallic, smoothness to proc gen 2025-02-15 01:54:11 -05:00
xen-42
93a61da2f8 Do the thing where the screen fades out on black holes only 2025-02-15 01:43:38 -05:00
Ben C
b76623edb1 Updated Schemas 2025-02-15 06:21:09 +00:00
xen-42
06fd45e83e Add rock, make materials work, probably use less memory 2025-02-15 01:18:50 -05:00
JohnCorby
3a490cee89 use FindAll 2025-02-14 21:28:13 -08:00
JohnCorby
c5ae20d22b Revert "test both remove children methods"
This reverts commit 0fa7cfe2c528bbf9cb3bd598395c04d4dd3df39f.
2025-02-14 21:26:51 -08:00
JohnCorby
165f94d1cd i made an oopsie 2025-02-14 21:20:05 -08:00
JohnCorby
0fa7cfe2c5 test both remove children methods 2025-02-14 21:15:53 -08:00
xen-42
698e35733a
Improve credit volumes (#837)
## Minor features
- Reworked game over screens. Can now either use credits volumes as
before, or set `gameOver` in the addon manifest where you can define a
dialogue condition which will then trigger a game over sequence the next
time you die (displaying a message and/or triggering the credits). Fixes
#832
- Allowed game over to trigger flashback without resetting to menu
(credits type `none`).
- Allowed game over to fade to black instead of causing death (leave
death type field empty)
- Allowed game over to set credits volume text colour.
2025-02-14 23:14:14 -05:00