Merge pull request #2719 from jediluke69/bleeding-edge-freeze

Fixs my error in drinks and adds a shotgun shell ammo crate
This commit is contained in:
Chinsky
2013-04-28 04:54:39 -07:00
3 changed files with 49 additions and 2 deletions

View File

@@ -662,6 +662,24 @@ var/list/all_supply_groups = list("Operations","Security","Hospitality","Enginee
access = access_armory access = access_armory
group = "Security" group = "Security"
/datum/supply_packs/shotgunammo
name = "Shotgun shells"
contains = list(/obj/item/ammo_casing/shotgun,
/obj/item/ammo_casing/shotgun,
/obj/item/ammo_casing/shotgun,
/obj/item/ammo_casing/shotgun,
/obj/item/ammo_casing/shotgun,
/obj/item/ammo_casing/shotgun,
/obj/item/ammo_casing/shotgun,
/obj/item/ammo_casing/shotgun,
/obj/item/ammo_casing/shotgun,
/obj/item/ammo_casing/shotgun)
cost = 20
containertype = /obj/structure/closet/crate/secure
containername = "Shotgun shells"
access = access_armory
group = "Security"
/datum/supply_packs/expenergy /datum/supply_packs/expenergy
name = "Experimental energy gear crate" name = "Experimental energy gear crate"
contains = list(/obj/item/clothing/suit/armor/laserproof, contains = list(/obj/item/clothing/suit/armor/laserproof,

View File

@@ -2687,12 +2687,41 @@ datum
color = "#AEE5E4" // rgb" 174, 229, 228 color = "#AEE5E4" // rgb" 174, 229, 228
adj_temp = -9 adj_temp = -9
on_mob_life(var/mob/living/M as mob)
if(!M) M = holder.my_atom
if(!data) data = 1
switch(data)
if(1 to 15)
M.bodytemperature -= 5 * TEMPERATURE_DAMAGE_COEFFICIENT
if(holder.has_reagent("capsaicin"))
holder.remove_reagent("capsaicin", 5)
if(istype(M, /mob/living/carbon/slime))
M.bodytemperature -= rand(5,20)
if(15 to 25)
M.bodytemperature -= 10 * TEMPERATURE_DAMAGE_COEFFICIENT
if(istype(M, /mob/living/carbon/slime))
M.bodytemperature -= rand(10,20)
if(25 to INFINITY)
M.bodytemperature -= 15 * TEMPERATURE_DAMAGE_COEFFICIENT
if(prob(1)) M.emote("shiver")
if(istype(M, /mob/living/carbon/slime))
M.bodytemperature -= rand(15,20)
data++
holder.remove_reagent(src.id, FOOD_METABOLISM)
..()
return
rewriter rewriter
name = "Rewriter" name = "Rewriter"
description = "The secert of the sanctuary of the Libarian..." description = "The secert of the sanctuary of the Libarian..."
id = "rewriter" id = "rewriter"
color = "#485000" // rgb:72, 080, 0 color = "#485000" // rgb:72, 080, 0
on_mob_life(var/mob/living/M as mob)
..()
M.make_jittery(5)
return
hippies_delight hippies_delight
name = "Hippie's Delight" name = "Hippie's Delight"
id = "hippiesdelight" id = "hippiesdelight"

View File

@@ -1935,8 +1935,8 @@ datum
rewriter rewriter
name = "Rewriter" name = "Rewriter"
id = "milkshake" id = "rewriter"
result = "milkshake" result = "rewriter"
required_reagents = list("spacemountainwind" = 1, "coffee" = 1) required_reagents = list("spacemountainwind" = 1, "coffee" = 1)
result_amount = 2 result_amount = 2