mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-17 19:14:15 +01:00
You can no longer create non-synthesizable chemicals with bees. (#78072)
## About The Pull Request You can no longer create non-synthesizable chemicals with bees. ## Why It's Good For The Game Fixes the ability to mass produce reagents that aren't supposed to be directly synthesized. ## Changelog 🆑 fix: You can no longer create non-synthesizable chemicals with bees. /🆑 --------- Co-authored-by: Zephyr <12817816+ZephyrTFA@users.noreply.github.com> Co-authored-by: Aki Ito <11748095+ExcessiveUseOfCobblestone@users.noreply.github.com>
This commit is contained in:
@@ -258,6 +258,9 @@
|
||||
var/datum/reagent/chemical = needle.reagents.get_master_reagent()
|
||||
if(isnull(chemical))
|
||||
return
|
||||
if(!(chemical.chemical_flags & REAGENT_CAN_BE_SYNTHESIZED))
|
||||
to_chat(user, span_warning("[chemical.name] cannot be inserted into a bee's genome!"))
|
||||
return
|
||||
if(chemical.type == queen.beegent?.type)
|
||||
to_chat(user, span_warning("[queen] already has this chemical!"))
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user