[MIRROR] fixes clown planet report [MDB IGNORE] (#21283)

* fixes clown planet report (#75508)

## About The Pull Request
it looked if a typepath was in the list of station traits instead of an
instance

## Why It's Good For The Game
we did it

## Changelog
🆑
fix: fixes clown planet report
/🆑

* fixes clown planet report

---------

Co-authored-by: Fikou <23585223+Fikou@users.noreply.github.com>
This commit is contained in:
SkyratBot
2023-05-20 22:27:30 +01:00
committed by GitHub
co-authored by Fikou
parent 67b2c8f7d1
commit 1b01ea4e3e
+1 -1
View File
@@ -330,7 +330,7 @@ GLOBAL_VAR_INIT(dynamic_forced_threat_level, -1)
/datum/game_mode/dynamic/proc/generate_advisory_level()
var/advisory_string = ""
if (prob(PULSAR_REPORT_CHANCE))
if (/datum/station_trait/bananium_shipment in SSstation.station_traits)
if(HAS_TRAIT(SSstation, STATION_TRAIT_BANANIUM_SHIPMENTS))
advisory_string += "Advisory Level: <b>Clown Planet</b></center><BR>"
advisory_string += "Your sector's advisory level is Clown Planet! Our bike horns have picked up on a large bananium stash. Clowns show a large influx of clowns on your station. We highly advice you to slip any threats to keep Honkotrasen assets within the Banana Sector. The Department advises defending chemistry from any clowns that are trying to make baldium or space lube."
return advisory_string