gases.yml 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364
  1. - type: reagent
  2. id: Oxygen
  3. name: reagent-name-oxygen
  4. desc: reagent-desc-oxygen
  5. physicalDesc: reagent-physical-desc-gaseous
  6. flavor: bitter
  7. color: "#c4f5ff"
  8. boilingPoint: -183.0
  9. meltingPoint: -218.4
  10. metabolisms:
  11. Gas:
  12. effects:
  13. - !type:Oxygenate
  14. conditions:
  15. - !type:OrganType
  16. type: Human
  17. - !type:Oxygenate
  18. conditions:
  19. - !type:OrganType
  20. type: Animal
  21. - !type:Oxygenate
  22. conditions:
  23. - !type:OrganType
  24. type: Rat
  25. - !type:Oxygenate
  26. conditions:
  27. - !type:OrganType
  28. type: Plant
  29. # Convert Oxygen into CO2.
  30. - !type:ModifyLungGas
  31. conditions:
  32. - !type:OrganType
  33. type: Vox
  34. shouldHave: false
  35. ratios:
  36. CarbonDioxide: 1.0
  37. Oxygen: -1.0
  38. - !type:HealthChange
  39. conditions:
  40. - !type:OrganType
  41. type: Vox
  42. scaleByQuantity: true
  43. ignoreResistances: true
  44. damage:
  45. types:
  46. Poison:
  47. 7
  48. - !type:AdjustAlert
  49. alertType: Toxins
  50. conditions:
  51. - !type:ReagentThreshold
  52. min: 0.5
  53. - !type:OrganType
  54. type: Vox
  55. clear: true
  56. time: 5
  57. - type: reagent
  58. id: Plasma
  59. name: reagent-name-plasma
  60. desc: reagent-desc-plasma
  61. physicalDesc: reagent-physical-desc-gaseous
  62. flavor: bitter
  63. color: "#7e009e"
  64. recognizable: true
  65. boilingPoint: -127.3 # Random values picked between the actual values for CO2 and O2
  66. meltingPoint: -186.4
  67. tileReactions:
  68. - !type:FlammableTileReaction
  69. temperatureMultiplier: 1.5
  70. metabolisms:
  71. Poison:
  72. effects:
  73. - !type:HealthChange
  74. damage:
  75. types:
  76. Poison: 3
  77. - !type:AdjustReagent
  78. reagent: Inaprovaline
  79. amount: -2.0
  80. Gas:
  81. effects:
  82. - !type:HealthChange
  83. scaleByQuantity: true
  84. ignoreResistances: true
  85. damage:
  86. types:
  87. Poison:
  88. 1
  89. # We need a metabolism effect on reagent removal
  90. - !type:AdjustAlert
  91. alertType: Toxins
  92. conditions:
  93. - !type:ReagentThreshold
  94. min: 1.5
  95. clear: True
  96. time: 5
  97. reactiveEffects:
  98. Flammable:
  99. methods: [ Touch ]
  100. effects:
  101. - !type:FlammableReaction
  102. - type: reagent
  103. id: Tritium
  104. name: reagent-name-tritium
  105. desc: reagent-desc-tritium
  106. physicalDesc: reagent-physical-desc-ionizing
  107. flavor: bitter
  108. color: "#66ff33"
  109. tileReactions:
  110. - !type:FlammableTileReaction
  111. temperatureMultiplier: 2.0
  112. reactiveEffects:
  113. Flammable:
  114. methods: [ Touch ]
  115. effects:
  116. - !type:FlammableReaction
  117. multiplier: 0.8
  118. metabolisms:
  119. Poison:
  120. effects:
  121. - !type:HealthChange
  122. damage:
  123. types:
  124. Radiation: 3
  125. Gas:
  126. effects:
  127. - !type:HealthChange
  128. scaleByQuantity: true
  129. ignoreResistances: true
  130. damage:
  131. types:
  132. Radiation:
  133. 1
  134. # We need a metabolism effect on reagent removal
  135. - !type:AdjustAlert
  136. alertType: Toxins
  137. conditions:
  138. - !type:ReagentThreshold
  139. min: 1.5
  140. clear: True
  141. time: 5
  142. - type: reagent
  143. id: CarbonDioxide
  144. name: reagent-name-carbon-dioxide
  145. desc: reagent-desc-carbon-dioxide
  146. physicalDesc: reagent-physical-desc-odorless
  147. flavor: bitter
  148. color: "#66ff33"
  149. metabolisms:
  150. Gas:
  151. effects:
  152. - !type:Oxygenate
  153. conditions:
  154. - !type:OrganType
  155. type: Plant
  156. - !type:HealthChange
  157. conditions:
  158. - !type:OrganType
  159. type: Plant
  160. shouldHave: false
  161. - !type:OrganType
  162. type: Vox
  163. shouldHave: false
  164. # Don't want people to get toxin damage from the gas they just
  165. # exhaled, right?
  166. - !type:ReagentThreshold
  167. min: 0.5
  168. scaleByQuantity: true
  169. ignoreResistances: true
  170. damage:
  171. types:
  172. Poison:
  173. 0.8
  174. - !type:Oxygenate # carbon dioxide displaces oxygen from the bloodstream, causing asphyxiation
  175. conditions:
  176. - !type:OrganType
  177. type: Plant
  178. shouldHave: false
  179. factor: -4
  180. # We need a metabolism effect on reagent removal
  181. #- !type:AdjustAlert
  182. # alertType: CarbonDioxide
  183. - type: reagent
  184. id: Nitrogen
  185. name: reagent-name-nitrogen
  186. desc: reagent-desc-nitrogen
  187. physicalDesc: reagent-physical-desc-gaseous
  188. flavor: bitter
  189. color: "#a1e1ff"
  190. boilingPoint: -195.8
  191. meltingPoint: -210.0
  192. metabolisms:
  193. Poison:
  194. effects:
  195. - !type:HealthChange
  196. damage:
  197. types:
  198. Cold: 1 # liquid nitrogen is cold
  199. Gas:
  200. effects:
  201. - !type:Oxygenate
  202. conditions:
  203. - !type:OrganType
  204. type: Vox
  205. - !type:Oxygenate
  206. conditions:
  207. - !type:OrganType
  208. type: Slime
  209. # Converts Nitrogen into CO2
  210. - !type:ModifyLungGas
  211. conditions:
  212. - !type:OrganType
  213. type: Vox
  214. ratios:
  215. Ammonia: 1.0
  216. Nitrogen: -1.0
  217. - !type:ModifyLungGas
  218. conditions:
  219. - !type:OrganType
  220. type: Slime
  221. ratios:
  222. NitrousOxide: 1.0
  223. Nitrogen: -1.0
  224. - type: reagent
  225. id: NitrousOxide
  226. name: reagent-name-nitrous-oxide
  227. desc: reagent-desc-nitrous-oxide
  228. physicalDesc: reagent-physical-desc-gaseous
  229. flavor: bitter
  230. color: "#5d88c9"
  231. boilingPoint: -88
  232. meltingPoint: -90
  233. metabolisms:
  234. Gas:
  235. effects:
  236. - !type:Emote
  237. conditions:
  238. - !type:ReagentThreshold
  239. reagent: NitrousOxide
  240. min: 0.2
  241. - !type:OrganType
  242. type: Slime
  243. shouldHave: false
  244. emote: Laugh
  245. showInChat: true
  246. probability: 0.1
  247. - !type:Emote
  248. conditions:
  249. - !type:ReagentThreshold
  250. reagent: NitrousOxide
  251. min: 0.2
  252. - !type:OrganType
  253. type: Slime
  254. shouldHave: false
  255. emote: Scream
  256. showInChat: true
  257. probability: 0.01
  258. - !type:PopupMessage
  259. conditions:
  260. - !type:ReagentThreshold
  261. reagent: NitrousOxide
  262. min: 0.5
  263. - !type:OrganType
  264. type: Slime
  265. shouldHave: false
  266. type: Local
  267. visualType: Medium
  268. messages: [ "effect-sleepy" ]
  269. probability: 0.1
  270. - !type:MovespeedModifier
  271. conditions:
  272. - !type:ReagentThreshold
  273. reagent: NitrousOxide
  274. min: 1
  275. - !type:OrganType
  276. type: Slime
  277. shouldHave: false
  278. walkSpeedModifier: 0.65
  279. sprintSpeedModifier: 0.65
  280. - !type:GenericStatusEffect
  281. conditions:
  282. - !type:ReagentThreshold
  283. reagent: NitrousOxide
  284. min: 1.8
  285. - !type:OrganType
  286. type: Slime
  287. shouldHave: false
  288. key: ForcedSleep
  289. component: ForcedSleeping
  290. time: 3
  291. type: Add
  292. - !type:HealthChange
  293. conditions:
  294. - !type:ReagentThreshold
  295. reagent: NitrousOxide
  296. min: 3.5
  297. - !type:OrganType
  298. type: Slime
  299. shouldHave: false
  300. ignoreResistances: true
  301. damage:
  302. types:
  303. Poison: 0.25
  304. - type: reagent
  305. id: Frezon
  306. name: reagent-name-frezon
  307. desc: reagent-desc-frezon
  308. physicalDesc: reagent-physical-desc-gaseous
  309. flavor: bitter
  310. color: "#3a758c"
  311. boilingPoint: -195.8
  312. meltingPoint: -210.0
  313. metabolisms:
  314. Gas:
  315. effects:
  316. - !type:HealthChange
  317. conditions:
  318. - !type:ReagentThreshold
  319. reagent: Frezon
  320. min: 0.5
  321. scaleByQuantity: true
  322. ignoreResistances: true
  323. damage:
  324. types:
  325. Cellular: 0.5
  326. - !type:GenericStatusEffect
  327. conditions:
  328. - !type:ReagentThreshold
  329. reagent: Frezon
  330. min: 1
  331. key: SeeingRainbows
  332. component: SeeingRainbows
  333. type: Add
  334. time: 500
  335. refresh: false
  336. - !type:Drunk
  337. boozePower: 500
  338. conditions:
  339. - !type:ReagentThreshold
  340. reagent: Frezon
  341. min: 1
  342. - !type:PopupMessage
  343. type: Local
  344. messages: [ "frezon-lungs-cold" ]
  345. probability: 0.1
  346. conditions:
  347. - !type:ReagentThreshold
  348. reagent: Frezon
  349. min: 0.5
  350. - !type:PopupMessage
  351. type: Local
  352. visualType: Medium
  353. messages: [ "frezon-euphoric" ]
  354. probability: 0.1
  355. conditions:
  356. - !type:ReagentThreshold
  357. reagent: Frezon
  358. min: 1