mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-15 04:32:42 +00:00
One little derp fixed.
Bottles now again transfers 10 units of contents at once. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@896 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -905,6 +905,7 @@
|
|||||||
var/datum/reagents/R = new/datum/reagents(50)
|
var/datum/reagents/R = new/datum/reagents(50)
|
||||||
reagents = R
|
reagents = R
|
||||||
R.my_atom = src
|
R.my_atom = src
|
||||||
|
..()
|
||||||
|
|
||||||
on_reagent_change()
|
on_reagent_change()
|
||||||
if (gulp_size < 5) gulp_size = 5
|
if (gulp_size < 5) gulp_size = 5
|
||||||
@@ -2046,11 +2047,7 @@
|
|||||||
var/mob/M = usr
|
var/mob/M = usr
|
||||||
var/obj/item/weapon/bananapeel/W = new /obj/item/weapon/bananapeel( M )
|
var/obj/item/weapon/bananapeel/W = new /obj/item/weapon/bananapeel( M )
|
||||||
M << "\blue You peel the banana."
|
M << "\blue You peel the banana."
|
||||||
if (M.hand)
|
M.put_in_hand(W)
|
||||||
M.l_hand = W
|
|
||||||
else
|
|
||||||
M.r_hand = W
|
|
||||||
W.layer = 20
|
|
||||||
W.add_fingerprint(M)
|
W.add_fingerprint(M)
|
||||||
New()
|
New()
|
||||||
..()
|
..()
|
||||||
@@ -2065,6 +2062,13 @@
|
|||||||
// to mixed-drinks code. If you want an object that starts pre-loaded, you need to make it in addition to the other code.
|
// to mixed-drinks code. If you want an object that starts pre-loaded, you need to make it in addition to the other code.
|
||||||
|
|
||||||
/obj/item/weapon/reagent_containers/food/condiment
|
/obj/item/weapon/reagent_containers/food/condiment
|
||||||
|
|
||||||
|
New()
|
||||||
|
var/datum/reagents/R = new/datum/reagents(50)
|
||||||
|
reagents = R
|
||||||
|
R.my_atom = src
|
||||||
|
..()
|
||||||
|
|
||||||
on_reagent_change()
|
on_reagent_change()
|
||||||
if(icon_state == "saltshakersmall" || icon_state == "peppermillsmall")
|
if(icon_state == "saltshakersmall" || icon_state == "peppermillsmall")
|
||||||
return
|
return
|
||||||
@@ -2128,6 +2132,8 @@
|
|||||||
desc = "Salt. From space oceans, presumably."
|
desc = "Salt. From space oceans, presumably."
|
||||||
icon_state = "saltshakersmall"
|
icon_state = "saltshakersmall"
|
||||||
New()
|
New()
|
||||||
|
..()
|
||||||
|
del(reagents)
|
||||||
var/datum/reagents/R = new/datum/reagents(20)
|
var/datum/reagents/R = new/datum/reagents(20)
|
||||||
reagents = R
|
reagents = R
|
||||||
R.my_atom = src
|
R.my_atom = src
|
||||||
@@ -2138,6 +2144,8 @@
|
|||||||
desc = "Often used to flavor food or make people sneeze."
|
desc = "Often used to flavor food or make people sneeze."
|
||||||
icon_state = "peppermillsmall"
|
icon_state = "peppermillsmall"
|
||||||
New()
|
New()
|
||||||
|
..()
|
||||||
|
del(reagents)
|
||||||
var/datum/reagents/R = new/datum/reagents(20)
|
var/datum/reagents/R = new/datum/reagents(20)
|
||||||
reagents = R
|
reagents = R
|
||||||
R.my_atom = src
|
R.my_atom = src
|
||||||
@@ -2265,6 +2273,7 @@
|
|||||||
desc = "A paper water cup."
|
desc = "A paper water cup."
|
||||||
icon_state = "water_cup_e"
|
icon_state = "water_cup_e"
|
||||||
New()
|
New()
|
||||||
|
src.verbs -= /obj/item/weapon/reagent_containers/verb/set_APTFT
|
||||||
var/datum/reagents/R = new/datum/reagents(10)
|
var/datum/reagents/R = new/datum/reagents(10)
|
||||||
reagents = R
|
reagents = R
|
||||||
R.my_atom = src
|
R.my_atom = src
|
||||||
@@ -2279,6 +2288,7 @@
|
|||||||
///////////////////////////////////////////////Alchohol bottles! -Agouri //////////////////////////
|
///////////////////////////////////////////////Alchohol bottles! -Agouri //////////////////////////
|
||||||
//Notes by Darem: Functionally identical to regular drinks. The only difference is that the default bottle size is 100.
|
//Notes by Darem: Functionally identical to regular drinks. The only difference is that the default bottle size is 100.
|
||||||
/obj/item/weapon/reagent_containers/food/drinks/bottle
|
/obj/item/weapon/reagent_containers/food/drinks/bottle
|
||||||
|
amount_per_transfer_from_this = 10
|
||||||
New()
|
New()
|
||||||
var/datum/reagents/R = new/datum/reagents(100)
|
var/datum/reagents/R = new/datum/reagents(100)
|
||||||
reagents = R
|
reagents = R
|
||||||
@@ -2531,6 +2541,7 @@
|
|||||||
name = "Shaker"
|
name = "Shaker"
|
||||||
desc = "A metal shaker to mix drinks in."
|
desc = "A metal shaker to mix drinks in."
|
||||||
icon_state = "shaker"
|
icon_state = "shaker"
|
||||||
|
amount_per_transfer_from_this = 10
|
||||||
New()
|
New()
|
||||||
var/datum/reagents/R = new/datum/reagents(100)
|
var/datum/reagents/R = new/datum/reagents(100)
|
||||||
reagents = R
|
reagents = R
|
||||||
@@ -2549,6 +2560,7 @@
|
|||||||
name = "glass"
|
name = "glass"
|
||||||
desc = "Your standard drinking glass."
|
desc = "Your standard drinking glass."
|
||||||
icon_state = "glass_empty"
|
icon_state = "glass_empty"
|
||||||
|
amount_per_transfer_from_this = 10
|
||||||
New()
|
New()
|
||||||
var/datum/reagents/R = new/datum/reagents(50)
|
var/datum/reagents/R = new/datum/reagents(50)
|
||||||
reagents = R
|
reagents = R
|
||||||
|
|||||||
@@ -151,7 +151,7 @@ datum/radio_frequency
|
|||||||
if(!start_point)
|
if(!start_point)
|
||||||
del(signal)
|
del(signal)
|
||||||
return 0
|
return 0
|
||||||
if (filter && ooc_allowed)//HACK, remove ooc_allowed
|
if (filter)
|
||||||
var/list/obj/devices_line = devices[filter_str]
|
var/list/obj/devices_line = devices[filter_str]
|
||||||
for(var/obj/device in devices_line)
|
for(var/obj/device in devices_line)
|
||||||
if(device == source)
|
if(device == source)
|
||||||
|
|||||||
Reference in New Issue
Block a user