02-02-2017, 09:46 AM
Things
1. Adds new variable to "/obj/item/reagent_containers/iv_drip", "slashed"
2. Adds new attackedby proc to "/obj/item/reagent_containers/iv_drip", which alters the "slashed" variable when attacked by a scalpel
3. Adds new attackedby proc to "/obj/item/reagent_containers/glass/beaker", which allows transferring reagents from slashed IV bags to beakers.
Other Things
1. Uses var/transferred to accurately track amounts being transferred and outputting it to chat
2. Updates the IV bag's description when it's been slashed open
I'm Bad at Github
So there's two commits. Sorry.
https://github.com/CameronWoof/Cameron-G...e49bd4fa25
https://github.com/CameronWoof/Cameron-G...8f0b87eaa4
1. Adds new variable to "/obj/item/reagent_containers/iv_drip", "slashed"
2. Adds new attackedby proc to "/obj/item/reagent_containers/iv_drip", which alters the "slashed" variable when attacked by a scalpel
3. Adds new attackedby proc to "/obj/item/reagent_containers/glass/beaker", which allows transferring reagents from slashed IV bags to beakers.
Other Things
1. Uses var/transferred to accurately track amounts being transferred and outputting it to chat
2. Updates the IV bag's description when it's been slashed open
I'm Bad at Github
So there's two commits. Sorry.
https://github.com/CameronWoof/Cameron-G...e49bd4fa25
https://github.com/CameronWoof/Cameron-G...8f0b87eaa4