Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 11 additions & 10 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,20 +47,20 @@ body:
attributes:
label: What happened?
description: Describe the bug clearly. What did you see? What did you expect to see?
placeholder: "A drought event triggered but crop stress never changed, even after several in-game days."
placeholder: "A hailstorm event fired but the notification appeared instantly with no warning. The event also lasted 0 seconds — crops were marked damaged but weather never changed visually."
validations:
required: true

- type: textarea
id: steps
attributes:
label: Steps to Reproduce
description: Exact steps that trigger the bug. If you cannot reproduce it reliably, say so.
description: Exact steps that trigger the bug. Note the event type and in-game day if known.
placeholder: |
1. Start a new game on Elmcreek
2. Wait for a drought event to trigger
3. Check field conditions after 3 in-game days
4. No change in crop stress visible
1. Start a new game on Elmcreek with RWE active
2. Wait until day 12
3. A hailstorm event fires
4. Notification pops immediately, crops show damage, but weather does not change
validations:
required: true

Expand All @@ -73,8 +73,9 @@ body:
If there are errors (lines containing "Error" or "attempt to"), include the full stack trace.
render: text
placeholder: |
[RWE] RandomWorldEvents initialized
[RWE] Event triggered: drought (severity=high)
[RWE] Initialized. Events loaded: 12
[RWE] Event scheduled: HAILSTORM, day=12, severity=HIGH
[RWE] Event fired: HAILSTORM, duration=0s
...
validations:
required: true
Expand All @@ -83,8 +84,8 @@ body:
id: other_mods
attributes:
label: Other Mods Loaded
description: List any other mods active in this save.
placeholder: "FS25_SeasonalCropStress, Courseplay, AutoDrive, ..."
description: List any other mods active in this save. You can paste the mod list from the game's mod manager.
placeholder: "FS25_SeasonalCropStress, FS25_SoilFertilizer, Courseplay, ..."
validations:
required: true

Expand Down
19 changes: 13 additions & 6 deletions .github/ISSUE_TEMPLATE/compatibility_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ body:
- type: input
id: mod_version
attributes:
label: RandomWorldEvents Version
label: Random World Events Version
placeholder: "e.g. 1.0.0.0"
validations:
required: true
Expand Down Expand Up @@ -46,6 +46,7 @@ body:
id: other_mod_source
attributes:
label: Where did you get the conflicting mod?
description: ModHub, GitHub link, or other source. Helps us check the exact version.
placeholder: "https://github.com/..."
validations:
required: true
Expand All @@ -54,32 +55,38 @@ body:
id: description
attributes:
label: What is the conflict?
description: Describe exactly what goes wrong.
placeholder: "When FS25_SeasonalCropStress is loaded, random events stop triggering entirely after a drought event fires."
description: Describe exactly what goes wrong. Events not triggering? Double effects? Another mod's systems broken by events? Be specific.
placeholder: "When FS25_SeasonalCropStress is loaded, a drought event from RWE stacks with SeasonalCropStress drought effects, pushing stress values far beyond the normal maximum."
validations:
required: true

- type: textarea
id: steps
attributes:
label: Steps to Reproduce
description: How to trigger the conflict reliably.
placeholder: |
1. Load both mods
2. Start a new game in summer
3. Wait for RWE to fire a drought event
4. Crop stress immediately jumps to 200% (beyond the 100% max)
validations:
required: true

- type: textarea
id: isolation
attributes:
label: Isolation Test
description: Did you confirm the issue disappears when the conflicting mod is removed?
placeholder: "Yes — removing FS25_SeasonalCropStress makes events trigger normally again."
description: Did you confirm the issue disappears when the conflicting mod is removed? This is important — without this step we cannot tell which mod is the source.
placeholder: "Yes — removing FS25_SeasonalCropStress makes drought events apply normal stress values."
validations:
required: true

- type: textarea
id: log
attributes:
label: Log Snippet
description: Paste all `[RWE]` lines from your log.txt, plus any errors in the same session.
description: Paste all `[RWE]` lines from your log.txt, plus any errors in the same session. Include the full stack trace if there is one.
render: text
validations:
required: true
Expand Down
19 changes: 10 additions & 9 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,30 +8,31 @@ body:
**Before opening this request:**
- Check the roadmap in the README — your idea may already be planned.
- Check open issues to avoid duplicates.
- Keep requests scoped and specific. "More events" will be closed. "Add a hailstorm event that damages crops in a radius around the impact zone" is actionable.
- Keep requests scoped and specific. "More events" will be closed. "Add a locust swarm event that reduces crop yield on affected fields by 30-70% over 3 in-game days" is actionable.

- type: textarea
id: problem
attributes:
label: What problem does this solve?
description: Describe the situation or frustration this would address. Focus on the problem, not the solution.
placeholder: "I never know when an event is about to fire, so I can't prepare in time."
placeholder: "High-intensity events currently fire with no warning, leaving no time to react. There is no way to distinguish a coming minor event from a catastrophic one until it is already happening."
validations:
required: true

- type: textarea
id: proposal
attributes:
label: Proposed Solution
description: Describe what you want to happen. Be specific.
placeholder: "Add a warning notification 1 in-game hour before an event triggers, so the player has time to react."
description: Describe what you want to happen. Be specific about the behavior, not just the concept.
placeholder: "Add a configurable advance warning window (e.g. 1-6 in-game hours) that shows a forecast notification for upcoming events. The warning text should hint at the event type and intensity without completely spoiling it."
validations:
required: true

- type: textarea
id: alternatives
attributes:
label: Alternatives Considered
description: Have you thought of other ways to solve this? Why are they not good enough?
validations:
required: false

Expand All @@ -40,12 +41,11 @@ body:
attributes:
label: Which part of the mod does this relate to?
options:
- Event System & Triggers
- Event Types & Effects
- Notifications & UI
- Settings / Difficulty
- Multiplayer
- Event Types
- Event Frequency / Intensity
- HUD / Notifications
- Mod Compatibility
- Settings
- Other
validations:
required: true
Expand All @@ -54,5 +54,6 @@ body:
id: additional
attributes:
label: Anything Else?
description: Screenshots, mockups, references to how other mods handle this, or any extra context.
validations:
required: false
22 changes: 22 additions & 0 deletions .github/ISSUE_TEMPLATE/other.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Other
description: Something that doesn't fit the other templates.
labels: ["needs-triage"]
body:
- type: markdown
attributes:
value: |
Use this for questions, general feedback, or anything that doesn't fit Bug Report, Compatibility Report, or Feature Request.
For questions only, consider [Discussions](https://github.com/TheCodingDad-TisonK/FS25_RandomWorldEvents/discussions) instead.
- type: textarea
id: description
attributes:
label: What's on your mind?
description: Be as specific as possible.
validations:
required: true
- type: textarea
id: additional
attributes:
label: Anything Else?
validations:
required: false
11 changes: 5 additions & 6 deletions .github/workflows/issue-timeout.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ jobs:
per_page: 100
});

// Find when owner last replied
const ownerAssociations = ['OWNER', 'MEMBER', 'COLLABORATOR'];
const ownerComments = comments.data.filter(c =>
ownerAssociations.includes(c.author_association) && c.user.type !== 'Bot'
Expand All @@ -51,7 +50,6 @@ jobs:
const age = now - lastOwnerReply;
if (age < twentyFourHours) continue;

// Check if user replied after the owner's last comment
const author = issue.user.login;
const userRepliedAfter = comments.data.some(c =>
c.user.login === author &&
Expand All @@ -60,16 +58,17 @@ jobs:
if (userRepliedAfter) continue;

const closeBody = [
`Hey @${author} — this issue has been automatically closed because there was no follow-up within **24 hours** of the last response.`,
`Hey @${author} — the storm has passed on this one. This issue is being closed automatically because there was no follow-up within **24 hours** of the last response.`,
``,
`This is not a rejection. If you still have the problem, please **reopen this issue** and include:`,
`This is not a rejection! If you still have the problem, please **reopen this issue** and include:`,
``,
`- The relevant lines from your \`log.txt\``,
`- The relevant \`[RWE]\` lines from your \`log.txt\``,
` - Location: \`Documents/My Games/FarmingSimulator2025/log.txt\``,
`- Your mod version (visible in the mod manager)`,
`- Which event type is affected, its intensity, and what in-game day it occurred on`,
`- Steps to reproduce the issue`,
``,
`We look forward to helping you once we have the details!`,
`Another event is always around the corner — we look forward to your return!`,
].join('\n');

await github.rest.issues.createComment({
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/issue-welcome.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,22 +28,22 @@ jobs:
script: |
const author = context.payload.issue.user.login;
const repoName = context.repo.repo;
const modName = repoName.replace('FS25_', '').replace(/([A-Z])/g, ' $1').trim();

const body = [
`Hey @${author}, thanks for opening this issue! 👋`,
`Hey @${author}, an unexpected event has arrived — your issue report! ⚡`,
``,
`@TheCodingDad-TisonK has been notified and will take a look as soon as possible.`,
`@TheCodingDad-TisonK has been notified and will investigate as soon as possible.`,
``,
`**While you wait, please double-check the following:**`,
`**To help reproduce the chaos, please confirm:**`,
``,
`- [ ] You are running the latest version of ${modName} (visible in the mod manager)`,
`- [ ] Your issue includes relevant lines from \`log.txt\``,
`- [ ] You are running the latest version of Random World Events (visible in the mod manager)`,
`- [ ] Your issue includes the relevant \`[RWE]\` lines from \`log.txt\``,
` - Log location: \`Documents/My Games/FarmingSimulator2025/log.txt\``,
` - Search for \`[${modName}]\` — paste the relevant section in your issue`,
` - Search for \`[RWE]\` and paste the relevant section here`,
`- [ ] If this involves a specific event — note the event type, intensity level, and what in-game day it occurred on`,
`- [ ] You have searched [existing issues](https://github.com/${context.repo.owner}/${repoName}/issues) for a similar report`,
``,
`> **Important:** If this issue is missing a log snippet, it may be closed without investigation. A log is almost always required to reproduce bugs.`,
`> **Note:** Issues without a log snippet are difficult to investigate and may be closed. Event trigger bugs especially need log data to trace the sequence.`,
].join('\n');

await github.rest.issues.createComment({
Expand Down
Loading