Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Feature] Slice Open IV Drips to Pour Contents into Beakers
#1
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
Reply


Messages In This Thread
[Feature] Slice Open IV Drips to Pour Contents into Beakers - by CameronWoof - 02-02-2017, 09:46 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)