Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mail table rework #1477

Merged
merged 38 commits into from
Jun 14, 2024
Merged

Conversation

whatston3
Copy link
Contributor

@whatston3 whatston3 commented Jun 5, 2024

About the PR

This PR adds and uses a Frontier-specific mail table, and creates some randomization in previously fixed mail drops (e.g. muffins, chocolate bars) to create more interesting mail. All of the previous messages have had a formatting pass, so the threats and calls for help should have a little more bite.

Since this is likely to have more suggestions, I've left it open as a draft for the time being.

Why / Balance

The mail table as-is could use some work (#766 has been open for about five months now). It has many entries that aren't very fun, useful, or interesting to see, so mail is often overlooked. This PR attempts to address this.

#1473 is proposing changes to the frequency of mail. The mail table should be appropriate to whatever this ends up being - items in the mail should be interesting enough (on average) for their frequency (currently averaging about 1 piece of mail per user per two hours on the head of that branch).

I attempted to leave the existing mail config as-is. If we don't need to worry about Nyanotrasen changes, I can overwrite or remove them outright.

How to test

Build & run locally.

  1. Move into the mail room.
  2. Run /mailnow.
  3. Open mail.
  4. Note how you feel.
  5. Repeat from step 2 until satisfied.

Media

  • I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes

None.

Changelog

🆑

  • tweak: Mail envelopes now contain new sets of items. Check your mail!
  • add: The mail teleporter will now occasionally receive larger parcels.

@dvir001
Copy link
Contributor

dvir001 commented Jun 5, 2024

Where is the SR only mail that is a pipe bomb?

@whatston3
Copy link
Contributor Author

Where is the SR only mail that is a pipe bomb?

Working on something special. Wait and see.

whatston3 added 2 commits June 6, 2024 10:29
FIXME: mail_large.rsi has no copyright info
Copy link
Contributor

github-actions bot commented Jun 6, 2024

RSI Diff Bot; head commit 4bb2cdd merging into b94e1b8
This PR makes changes to 1 or more RSIs. Here is a summary of all changes:

Resources/Textures/_NF/Objects/Consumable/Smokeables/Cigars/cigar-platinum.rsi

State Old New Status
burnt-icon Added
lit-equipped-MASK-vox Added
lit-equipped-MASK Added
lit-icon Added
lit-inhand-left Added
lit-inhand-right Added
unlit-equipped-MASK-vox Added
unlit-equipped-MASK Added
unlit-icon Added
unlit-inhand-left Added
unlit-inhand-right Added

Resources/Textures/_NF/Objects/Specific/Mail/mail_large.rsi

State Old New Status
broken Added
fragile Added
icon Added
inhand-left Added
inhand-right Added
locked Added
priority Added
priority_inactive Added
trash Added

Edit: diff updated after 4bb2cdd

@whatston3 whatston3 marked this pull request as ready for review June 11, 2024 16:09
@whatston3
Copy link
Contributor Author

Think this is about mature enough to open for review. Statistics for package weights, breakdown per category and expected value per package available here: https://docs.google.com/spreadsheets/d/1M2g_yAVp7ffzLUXhMSwi_Fj1e8sgw1h1NPOH_Tcvqvk/edit?usp=sharing

@ErhardSteinhauer ErhardSteinhauer linked an issue Jun 12, 2024 that may be closed by this pull request
@dvir001 dvir001 merged commit ed91b98 into new-frontiers-14:master Jun 14, 2024
14 checks passed
FrontierATC added a commit that referenced this pull request Jun 14, 2024
@whatston3 whatston3 deleted the 2024-06-03_mail-table branch June 17, 2024 11:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Mail Loot Table needs rewriting
3 participants