mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 02:34:00 +00:00
Big toxins lab update! It's now way better, with two burn chambers and a
mixing and filtration room, along with a bigger observatory and an 'office' for plasma researchers, i.e. a table layout similar to the one in chemistry. Instead of a chemical vendor, plasma researchers now got their own custom vendor with assembly parts for bombastic bombs. The maintenance tunnel's still kept between a double set of airlocks. There is a problem with the vents and scrubbers of the office and burn chamber room not being detected, though. (Miniature, Hawk, take a look at it.)
This commit is contained in:
10
code/ATMOSPHERICS/components/trinary_devices/filter.dm
Normal file → Executable file
10
code/ATMOSPHERICS/components/trinary_devices/filter.dm
Normal file → Executable file
@@ -7,6 +7,8 @@ obj/machinery/atmospherics/trinary/filter
|
|||||||
|
|
||||||
req_access = list(access_atmospherics)
|
req_access = list(access_atmospherics)
|
||||||
|
|
||||||
|
var/locked = 1 // If it's not locked, no need for an access check.
|
||||||
|
|
||||||
var/on = 0
|
var/on = 0
|
||||||
var/temp = null // -- TLE
|
var/temp = null // -- TLE
|
||||||
|
|
||||||
@@ -159,7 +161,7 @@ obj/machinery/atmospherics/trinary/filter/attack_hand(user as mob) // -- TLE
|
|||||||
if(..())
|
if(..())
|
||||||
return
|
return
|
||||||
|
|
||||||
if(!src.allowed(user))
|
if(src.locked && !src.allowed(user))
|
||||||
user << "\red Access denied."
|
user << "\red Access denied."
|
||||||
return
|
return
|
||||||
|
|
||||||
@@ -167,7 +169,7 @@ obj/machinery/atmospherics/trinary/filter/attack_hand(user as mob) // -- TLE
|
|||||||
var/current_filter_type
|
var/current_filter_type
|
||||||
switch(filter_type)
|
switch(filter_type)
|
||||||
if(0)
|
if(0)
|
||||||
current_filter_type = "Carbon Molecules"
|
current_filter_type = "Carbon Molecules (e.g. Plasma)"
|
||||||
if(1)
|
if(1)
|
||||||
current_filter_type = "Oxygen"
|
current_filter_type = "Oxygen"
|
||||||
if(2)
|
if(2)
|
||||||
@@ -185,7 +187,7 @@ obj/machinery/atmospherics/trinary/filter/attack_hand(user as mob) // -- TLE
|
|||||||
<b>Power: </b><a href='?src=\ref[src];power=1'>[on?"On":"Off"]</a><br>
|
<b>Power: </b><a href='?src=\ref[src];power=1'>[on?"On":"Off"]</a><br>
|
||||||
<b>Filtering: </b>[current_filter_type]<br><HR>
|
<b>Filtering: </b>[current_filter_type]<br><HR>
|
||||||
<h4>Set Filter Type:</h4>
|
<h4>Set Filter Type:</h4>
|
||||||
<A href='?src=\ref[src];filterset=0'>Carbon Molecules</A><BR>
|
<A href='?src=\ref[src];filterset=0'>Carbon Molecules (e.g Plasma)</A><BR>
|
||||||
<A href='?src=\ref[src];filterset=1'>Oxygen</A><BR>
|
<A href='?src=\ref[src];filterset=1'>Oxygen</A><BR>
|
||||||
<A href='?src=\ref[src];filterset=2'>Nitrogen</A><BR>
|
<A href='?src=\ref[src];filterset=2'>Nitrogen</A><BR>
|
||||||
<A href='?src=\ref[src];filterset=3'>Carbon Dioxide</A><BR>
|
<A href='?src=\ref[src];filterset=3'>Carbon Dioxide</A><BR>
|
||||||
@@ -230,5 +232,3 @@ obj/machinery/atmospherics/trinary/filter/Topic(href, href_list) // -- TLE
|
|||||||
src.attack_hand(M)
|
src.attack_hand(M)
|
||||||
*/
|
*/
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
24
code/defines/area/Space Station 13 areas.dm
Normal file → Executable file
24
code/defines/area/Space Station 13 areas.dm
Normal file → Executable file
@@ -970,25 +970,33 @@ proc/process_ghost_teleport_locs()
|
|||||||
//Toxins
|
//Toxins
|
||||||
|
|
||||||
/area/toxins/lab
|
/area/toxins/lab
|
||||||
name = "Toxin Lab"
|
name = "Research Lab"
|
||||||
icon_state = "toxlab"
|
icon_state = "researchlab"
|
||||||
|
|
||||||
/area/toxins/xenobiology
|
/area/toxins/xenobiology
|
||||||
name = "Xenobiology Lab"
|
name = "Xenobiology Lab"
|
||||||
|
icon_state = "xenolab"
|
||||||
|
|
||||||
|
/area/toxins/gasstorage
|
||||||
|
name = "R&D Gas Storage"
|
||||||
|
icon_state = "gasstorage"
|
||||||
|
|
||||||
|
/area/toxins/toxinslab
|
||||||
|
name = "Toxins Lab"
|
||||||
icon_state = "toxlab"
|
icon_state = "toxlab"
|
||||||
|
|
||||||
/area/toxins/storage
|
|
||||||
name = "Toxin Storage"
|
|
||||||
icon_state = "toxstorage"
|
|
||||||
|
|
||||||
/area/toxins/test_area
|
/area/toxins/test_area
|
||||||
name = "Toxin Test Area"
|
name = "Toxins Lab Test Area"
|
||||||
icon_state = "toxtest"
|
icon_state = "toxtest"
|
||||||
|
|
||||||
/area/toxins/mixing
|
/area/toxins/mixing
|
||||||
name = "Toxin Mixing Room"
|
name = "Toxins Lab Mixing Room"
|
||||||
icon_state = "toxmix"
|
icon_state = "toxmix"
|
||||||
|
|
||||||
|
/area/toxins/observatory
|
||||||
|
name = "Toxins Lab Observatory"
|
||||||
|
icon_state = "toxobserv"
|
||||||
|
|
||||||
/area/toxins/server
|
/area/toxins/server
|
||||||
name = "Server Room"
|
name = "Server Room"
|
||||||
icon_state = "server"
|
icon_state = "server"
|
||||||
|
|||||||
6
code/defines/obj/supplypacks.dm
Normal file → Executable file
6
code/defines/obj/supplypacks.dm
Normal file → Executable file
@@ -183,6 +183,12 @@
|
|||||||
contains = list("/obj/item/weapon/vending_charge/hydroponics")
|
contains = list("/obj/item/weapon/vending_charge/hydroponics")
|
||||||
containername = "Hydroponics charge crate"
|
containername = "Hydroponics charge crate"
|
||||||
|
|
||||||
|
/datum/supply_packs/charge/tl
|
||||||
|
name = "Toxins Lab Charge"
|
||||||
|
contains = list("/obj/item/weapon/vending_charge/toxinslab")
|
||||||
|
containername = "Toxins Lab charge crate"
|
||||||
|
|
||||||
|
|
||||||
/datum/supply_packs/food
|
/datum/supply_packs/food
|
||||||
name = "Food crate"
|
name = "Food crate"
|
||||||
contains = list("/obj/item/weapon/reagent_containers/food/snacks/flour",
|
contains = list("/obj/item/weapon/reagent_containers/food/snacks/flour",
|
||||||
|
|||||||
15
code/defines/obj/vending.dm
Normal file → Executable file
15
code/defines/obj/vending.dm
Normal file → Executable file
@@ -268,7 +268,7 @@
|
|||||||
|
|
||||||
/obj/machinery/vending/engineering
|
/obj/machinery/vending/engineering
|
||||||
name = "Robco Tool Maker"
|
name = "Robco Tool Maker"
|
||||||
desc = "Everything you need for do-it-yourself ship repair."
|
desc = "Everything you need for do-it-yourself station repair."
|
||||||
icon_state = "engi"
|
icon_state = "engi"
|
||||||
icon_deny = "engi-deny"
|
icon_deny = "engi-deny"
|
||||||
req_access_txt = "10"
|
req_access_txt = "10"
|
||||||
@@ -279,6 +279,14 @@
|
|||||||
product_hideamt = ""
|
product_hideamt = ""
|
||||||
charge_type = "engineering"
|
charge_type = "engineering"
|
||||||
|
|
||||||
|
/obj/machinery/vending/plasmaresearch
|
||||||
|
name = "Toximate 3000"
|
||||||
|
desc = "All the fine parts you need in one vending machine!"
|
||||||
|
product_hidden = ""
|
||||||
|
product_hideamt = ""
|
||||||
|
product_paths = "/obj/item/device/transfer_valve;/obj/item/device/assembly/signaler;/obj/item/device/assembly/prox_sensor;/obj/item/device/assembly/igniter;/obj/item/device/assembly/timer"
|
||||||
|
product_amounts = "6;6;6;6;6"
|
||||||
|
charge_type = "toxinslab"
|
||||||
|
|
||||||
/obj/item/weapon/vending_charge
|
/obj/item/weapon/vending_charge
|
||||||
name = "Vending Charge"
|
name = "Vending Charge"
|
||||||
@@ -361,3 +369,8 @@
|
|||||||
name = "Soda Charge"
|
name = "Soda Charge"
|
||||||
charge_type = "soda"
|
charge_type = "soda"
|
||||||
icon_state = "soda-charge"
|
icon_state = "soda-charge"
|
||||||
|
|
||||||
|
/obj/item/weapon/vending_charge/toxinslab
|
||||||
|
name = "Toxins Lab Charge"
|
||||||
|
charge_type = "toxinslab"
|
||||||
|
icon_state = "toxinslab-charge"
|
||||||
1
code/game/machinery/igniter.dm
Normal file → Executable file
1
code/game/machinery/igniter.dm
Normal file → Executable file
@@ -89,6 +89,7 @@
|
|||||||
|
|
||||||
flick("[base_state]-spark", src)
|
flick("[base_state]-spark", src)
|
||||||
var/datum/effect/effect/system/spark_spread/s = new /datum/effect/effect/system/spark_spread
|
var/datum/effect/effect/system/spark_spread/s = new /datum/effect/effect/system/spark_spread
|
||||||
|
|
||||||
s.set_up(2, 1, src)
|
s.set_up(2, 1, src)
|
||||||
s.start()
|
s.start()
|
||||||
src.last_spark = world.time
|
src.last_spark = world.time
|
||||||
|
|||||||
BIN
icons/obj/stationobjs.dmi
Normal file → Executable file
BIN
icons/obj/stationobjs.dmi
Normal file → Executable file
Binary file not shown.
|
Before Width: | Height: | Size: 94 KiB After Width: | Height: | Size: 97 KiB |
BIN
icons/obj/vending.dmi
Normal file → Executable file
BIN
icons/obj/vending.dmi
Normal file → Executable file
Binary file not shown.
|
Before Width: | Height: | Size: 49 KiB After Width: | Height: | Size: 49 KiB |
BIN
icons/turf/areas.dmi
Normal file → Executable file
BIN
icons/turf/areas.dmi
Normal file → Executable file
Binary file not shown.
|
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 19 KiB |
12123
maps/tgstation.2.0.8.dmm
Normal file → Executable file
12123
maps/tgstation.2.0.8.dmm
Normal file → Executable file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user