mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-28 07:38:05 +01:00
Simple and basic mobs can breath pluoxium (#76694)
## About The Pull Request Fixes #76661 Also adds new PLUOXIUM_PROPORTION define, this is set to 8 which is currently how better pluoxium is at metabolism compared to oxygen ## Why It's Good For The Game Since pluoxium is 8 times as effective as oxygen, mobs only need 0.625 mol of it compared to 5 mol of oxygen. This is a very small amount, maybe it should just be the same as oxygen? Also pluoxium and oxygen are counted together, so you could have a mix of 0.5 mol of pluoxium and 1 mol of oxygen for example. ## Changelog 🆑 fix:Mobs can breathe pluoxium /🆑 Define not player-facing
This commit is contained in:
@@ -46,10 +46,10 @@
|
||||
return FALSE
|
||||
|
||||
var/open_turf_gases = open_turf.air.gases
|
||||
open_turf.air.assert_gases(/datum/gas/oxygen, /datum/gas/nitrogen, /datum/gas/carbon_dioxide, /datum/gas/plasma)
|
||||
open_turf.air.assert_gases(/datum/gas/oxygen, /datum/gas/pluoxium, /datum/gas/nitrogen, /datum/gas/carbon_dioxide, /datum/gas/plasma)
|
||||
|
||||
var/plas = open_turf_gases[/datum/gas/plasma][MOLES]
|
||||
var/oxy = open_turf_gases[/datum/gas/oxygen][MOLES]
|
||||
var/oxy = open_turf_gases[/datum/gas/oxygen][MOLES] + (open_turf_gases[/datum/gas/pluoxium][MOLES] * PLUOXIUM_PROPORTION)
|
||||
var/n2 = open_turf_gases[/datum/gas/nitrogen][MOLES]
|
||||
var/co2 = open_turf_gases[/datum/gas/carbon_dioxide][MOLES]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user