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

[BUG] THE HERBS- THEYRE FIGHTING BACK AGAINNNN #3425

Open
flamedash2358 opened this issue Feb 10, 2025 · 1 comment
Open

[BUG] THE HERBS- THEYRE FIGHTING BACK AGAINNNN #3425

flamedash2358 opened this issue Feb 10, 2025 · 1 comment

Comments

@flamedash2358
Copy link
Contributor

Type of bug

Code - general bugs related to how the game runs and responds to you.

Description

Herb patrol crash when collecting poppy, herb issues are SO BACK

Grade

Regular - A typical bug that should be seen to soon, but doesn't necessarily break the game or inhibit the player

Steps to reproduce the behavior

Run fst_med_gatheringpoppy_newleaf1 as patrol with one med cat

Patrol ID + Outcome Print (if applicable)

No response

Commit # or Game Version Number

development (most recent release as of this date)

Additional context

root - CRITICAL - main.py / log_crash / 118 - Uncaught exception
Traceback (most recent call last):
File "C:\Users- - -\Downloads\clangen-development\clangen-development\main.py", line 331, in
game.all_screens[game.current_screen].on_use()
File "C:\Users- - -\Downloads\clangen-development\clangen-development\scripts\screens\PatrolScreen.py", line 1402, in on_use
self.loading_screen_on_use(
File "C:\Users- - -\Downloads\clangen-development\clangen-development\scripts\screens\Screens.py", line 178, in loading_screen_on_use
work_thread.join()
File "C:\Users- - -\Downloads\clangen-development\clangen-development\scripts\game_structure\propagating_thread.py", line 25, in join
raise self.exc
File "C:\Users- - -\Downloads\clangen-development\clangen-development\scripts\game_structure\propagating_thread.py", line 18, in run
self.ret = self._target(*self._args, **self._kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users- - -\Downloads\clangen-development\clangen-development\scripts\screens\Screens.py", line 145, in _work_target
raise exp
File "C:\Users- - -\Downloads\clangen-development\clangen-development\scripts\screens\Screens.py", line 139, in _work_target
target(*args)
File "C:\Users- - -\Downloads\clangen-development\clangen-development\scripts\screens\PatrolScreen.py", line 934, in run_patrol_proceed
) = self.patrol_obj.proceed_patrol("proceed")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users- - -\Downloads\clangen-development\clangen-development\scripts\events_module\patrol\patrol.py", line 142, in proceed_patrol
return self.determine_outcome(antagonize=(path == "antag"))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users- - -\Downloads\clangen-development\clangen-development\scripts\events_module\patrol\patrol.py", line 741, in determine_outcome
return final_event.execute_outcome(self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users- - -\Downloads\clangen-development\clangen-development\scripts\events_module\patrol\patrol_outcome.py", line 278, in execute_outcome
results.append(self._handle_herbs(patrol))
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users- - -\Downloads\clangen-development\clangen-development\scripts\events_module\patrol\patrol_outcome.py", line 711, in _handle_herbs
list_of_herb_strs, found_herbs = game.clan.herb_supply.handle_found_herbs_outcomes(found_herbs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users- - -\Downloads\clangen-development\clangen-development\scripts\clan_resources\herb\herb_supply.py", line 470, in handle_found_herbs_outcomes
list_of_herb_strs.append(f"{count} {self.herb[herb].plural_display}")
~~~~~~~~~^^^^^^
KeyError: 'poppy'

Screenshots

No response

@rustykitty
Copy link
Contributor

May be related to #3350

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

No branches or pull requests

2 participants