mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 05:00:55 +01:00
Ports smart metal foam from FTL (#29963)
* Ports smart foam from FTL * Adds foam grenades to the EngiVend * Why are you doing htis? * Stuff * badoop
This commit is contained in:
@@ -1079,6 +1079,14 @@
|
||||
color = "#664B63" // rgb: 102, 75, 99
|
||||
taste_description = "metal"
|
||||
|
||||
/datum/reagent/smart_foaming_agent //Smart foaming agent. Functions similarly to metal foam, but conforms to walls.
|
||||
name = "Smart foaming agent"
|
||||
id = "smart_foaming_agent"
|
||||
description = "A agent that yields metallic foam which conforms to area boundaries when mixed with light metal and a strong acid."
|
||||
reagent_state = SOLID
|
||||
color = "#664B63" // rgb: 102, 75, 99
|
||||
taste_description = "metal"
|
||||
|
||||
/datum/reagent/ammonia
|
||||
name = "Ammonia"
|
||||
id = "ammonia"
|
||||
|
||||
@@ -466,6 +466,20 @@
|
||||
s.start()
|
||||
holder.clear_reagents()
|
||||
|
||||
/datum/chemical_reaction/smart_foam
|
||||
name = "Smart Metal Foam"
|
||||
id = "smart_metal_foam"
|
||||
required_reagents = list("aluminium" = 3, "smart_foaming_agent" = 1, "facid" = 1)
|
||||
mob_react = TRUE
|
||||
|
||||
/datum/chemical_reaction/smart_foam/on_reaction(datum/reagents/holder, created_volume)
|
||||
var/turf/location = get_turf(holder.my_atom)
|
||||
location.visible_message("<span class='danger'>The solution spews out metallic foam!</span>")
|
||||
var/datum/effect_system/foam_spread/metal/smart/s = new()
|
||||
s.set_up(created_volume * 5, location, holder, TRUE)
|
||||
s.start()
|
||||
holder.clear_reagents()
|
||||
|
||||
/datum/chemical_reaction/ironfoam
|
||||
name = "Iron Foam"
|
||||
id = "ironlfoam"
|
||||
@@ -487,6 +501,13 @@
|
||||
results = list("foaming_agent" = 1)
|
||||
required_reagents = list("lithium" = 1, "hydrogen" = 1)
|
||||
|
||||
/datum/chemical_reaction/smart_foaming_agent
|
||||
name = "Smart foaming Agent"
|
||||
id = "smart_foaming_agent"
|
||||
results = list("smart_foaming_agent" = 3)
|
||||
required_reagents = list("foaming_agent" = 3, "acetone" = 1, "iron" = 1)
|
||||
mix_message = "The solution mixes into a frothy metal foam and conforms to the walls of its container."
|
||||
|
||||
|
||||
/////////////////////////////// Cleaning and hydroponics /////////////////////////////////////////////////
|
||||
|
||||
|
||||
Reference in New Issue
Block a user