SPECIES NUKING 2023: Mein leber! Allows livers to handle reagents in special ways, instead of the species datum doing it (#76184)

## About The Pull Request

Refactors livers so special chemical handling can be done by them,
instead of the species datum.
Plasmamen, skeletons and golems all use the liver for all their species
specific chem handling now.

## Why It's Good For The Game

SPECIES DATUM I HATE YOU!
Also, being able to handle reagents like any species if you have their
liver is REALLY FREAKING COOL and allows for emergent gameplay by mixing
various organs from various sources.

## Changelog

🆑
refactor: Mutant livers can now handle chemicals in special ways.
Currently, only plasmaman, skeleton and golem livers do it. Every other
species is the same.
/🆑

---------

Co-authored-by: Time-Green <7501474+Time-Green@users.noreply.github.com>
This commit is contained in:
ChungusGamer666
2023-06-24 21:05:29 +02:00
committed by GitHub
co-authored by Time-Green
parent 7be4ab14d4
commit 6da96bef84
48 changed files with 270 additions and 229 deletions
+1 -1
View File
@@ -43,7 +43,7 @@
source.balloon_alert(user, "not edible!")
return COMPONENT_CANCEL_ATTACK_CHAIN
if (!snack_type.can_consume(target))
source.balloon_alert(user, "incompatible mineral!")
source.balloon_alert(user, "can't consume!")
return COMPONENT_CANCEL_ATTACK_CHAIN
if (!golem_snack)
golem_snack = new(