mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-01-04 22:42:37 +00:00
Brobot bottles now also refill when you pour drinks into glasses rather than people.
Emag beer can now be poured into glasses without revealing what it really is. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@635 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -1089,6 +1089,27 @@ datum
|
||||
data++
|
||||
..()
|
||||
return
|
||||
|
||||
beer2 //copypasta of chloral hydrate, disguised as normal beer for use by emagged brobots
|
||||
name = "Beer"
|
||||
id = "beer2"
|
||||
description = "An alcoholic beverage made from malted grains, hops, yeast, and water."
|
||||
reagent_state = LIQUID
|
||||
on_mob_life(var/mob/M)
|
||||
if(!M) M = holder.my_atom
|
||||
if(!data) data = 1
|
||||
switch(data)
|
||||
if(1)
|
||||
M:confused += 2
|
||||
M:drowsyness += 2
|
||||
if(2 to 50)
|
||||
M:sleeping += 1
|
||||
if(51 to INFINITY)
|
||||
M:sleeping += 1
|
||||
M:toxloss += (data - 50)
|
||||
data++
|
||||
..()
|
||||
return
|
||||
/*
|
||||
addiction //Is a generic "addiction" reagent that is produced by any chemical that is addictive.
|
||||
name = "Addiction" // It should never be seen by the player since it only exists inside the body.
|
||||
|
||||
@@ -936,6 +936,13 @@
|
||||
var/trans = src.reagents.trans_to(target, 10)
|
||||
user << "\blue You transfer [trans] units of the solution to [target]."
|
||||
|
||||
if(isrobot(user)) //Cyborg modules that include drinks automatically refill themselves, but drain the borg's cell
|
||||
var/mob/living/silicon/robot/bro = user
|
||||
bro.cell.charge -= 30
|
||||
var/refill = reagents.get_master_reagent_id()
|
||||
spawn(600)
|
||||
reagents.add_reagent(refill, trans)
|
||||
|
||||
return
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
/// Drinks. END
|
||||
@@ -2357,6 +2364,10 @@
|
||||
icon_state = "beerglass"
|
||||
name = "Beer glass"
|
||||
desc = "A freezing pint of beer"
|
||||
if("beer2")
|
||||
icon_state = "beerglass"
|
||||
name = "Beer glass"
|
||||
desc = "A freezing pint of beer"
|
||||
if("ale")
|
||||
icon_state = "aleglass"
|
||||
name = "Ale glass"
|
||||
|
||||
Reference in New Issue
Block a user