Merge branch 'master' into development

This commit is contained in:
skull132
2017-01-23 15:52:13 -05:00
15 changed files with 48 additions and 15 deletions

View File

@@ -9,6 +9,7 @@
name = "human skin" name = "human skin"
desc = "The by-product of human farming." desc = "The by-product of human farming."
singular_name = "human skin piece" singular_name = "human skin piece"
default_type = "human hide"
/obj/item/stack/material/animalhide/corgi /obj/item/stack/material/animalhide/corgi
name = "corgi hide" name = "corgi hide"

View File

@@ -33,6 +33,8 @@
/obj/item/weapon/tray/attack(mob/living/carbon/M as mob, mob/living/carbon/user as mob, var/target_zone) /obj/item/weapon/tray/attack(mob/living/carbon/M as mob, mob/living/carbon/user as mob, var/target_zone)
user.setClickCooldown(DEFAULT_ATTACK_COOLDOWN)
// Drop all the things. All of them. // Drop all the things. All of them.
spill(user, M.loc) spill(user, M.loc)
@@ -201,9 +203,9 @@
if (attempt_load_item(I, usr,0)) if (attempt_load_item(I, usr,0))
addedSomething++ addedSomething++
if ( addedSomething == 1) if ( addedSomething == 1)
usr.visible_message("\blue [user] loads an item onto their service tray.") usr.visible_message("<span class='notice'>[user] loads an item onto their service tray.</span>")
else if ( addedSomething ) else if ( addedSomething )
usr.visible_message("\blue [user] loads [addedSomething] items onto their service tray.") usr.visible_message("<span class='notice'>[user] loads [addedSomething] items onto their service tray.</span>")
else else
user << "The tray is full or there's nothing valid here" user << "The tray is full or there's nothing valid here"
return 1 return 1
@@ -298,9 +300,9 @@
step(I, pick(NORTH,SOUTH,EAST,WEST)) step(I, pick(NORTH,SOUTH,EAST,WEST))
sleep(rand(2,4)) sleep(rand(2,4))
if (user) if (user)
user.visible_message("\blue [user] spills their tray all over the floor.") user.visible_message("<span class='notice'>[user] spills their tray all over the floor.</span>")
else else
src.visible_message("\blue The tray scatters its contents all over the area.") src.visible_message("<span class='notice'>The tray scatters its contents all over the area.</span>")
current_weight = 0 current_weight = 0
if(prob(50)) if(prob(50))
playsound(dropspot, 'sound/items/trayhit1.ogg', 50, 1) playsound(dropspot, 'sound/items/trayhit1.ogg', 50, 1)

View File

@@ -749,9 +749,9 @@ var/list/name_to_material
/material/hide //TODO make different hides somewhat different among them /material/hide //TODO make different hides somewhat different among them
name = "hide" name = "hide"
stack_origin_tech = list(TECH_MATERIAL = 2) stack_origin_tech = list(TECH_MATERIAL = 2)
stack_type = /obj/item/stack/material/animalhide/human stack_type = /obj/item/stack/material/animalhide
door_icon_base = "wood" door_icon_base = "wood"
icon_colour = "#833C00" icon_colour = "#5C4831"
ignition_point = T0C+232 ignition_point = T0C+232
melting_point = T0C+300 melting_point = T0C+300
flags = MATERIAL_PADDING flags = MATERIAL_PADDING
@@ -782,3 +782,8 @@ var/list/name_to_material
name = "alien hide" name = "alien hide"
stack_type = /obj/item/stack/material/animalhide/xeno stack_type = /obj/item/stack/material/animalhide/xeno
icon_colour = "#525288" icon_colour = "#525288"
/material/hide/human
name = "human hide"
stack_type = /obj/item/stack/material/animalhide/human
icon_colour = "#833C00"

View File

@@ -146,6 +146,7 @@
return (..(P)) return (..(P))
/mob/living/simple_animal/construct/armoured/UnarmedAttack(var/atom/A, var/proximity) /mob/living/simple_animal/construct/armoured/UnarmedAttack(var/atom/A, var/proximity)
user.setClickCooldown(DEFAULT_ATTACK_COOLDOWN)
if(istype(A, /obj/machinery)) if(istype(A, /obj/machinery))
// Destroy machines instead of opening their UI // Destroy machines instead of opening their UI
var/obj/machinery/M = A var/obj/machinery/M = A

View File

@@ -4,7 +4,7 @@
icon_state = "paper_bin1" icon_state = "paper_bin1"
item_state = "sheet-metal" item_state = "sheet-metal"
throwforce = 1 throwforce = 1
w_class = 3 w_class = 5
throw_speed = 3 throw_speed = 3
throw_range = 7 throw_range = 7
layer = OBJ_LAYER - 0.1 layer = OBJ_LAYER - 0.1

View File

@@ -16,9 +16,6 @@
if(!owner.canClick()) if(!owner.canClick())
return return
owner.setClickCooldown(5) // Spam prevention, essentially. owner.setClickCooldown(5) // Spam prevention, essentially.
if(owner.a_intent == I_HELP)
owner << "<span class='warning'>You refrain from firing \the [aiming_with] as your intent is set to help.</span>"
return
owner.visible_message("<span class='danger'>\The [owner] pulls the trigger reflexively!</span>") owner.visible_message("<span class='danger'>\The [owner] pulls the trigger reflexively!</span>")
var/obj/item/weapon/gun/G = aiming_with var/obj/item/weapon/gun/G = aiming_with
if(istype(G)) if(istype(G))

View File

@@ -1848,7 +1848,7 @@
/datum/reagent/ethanol/sbiten /datum/reagent/ethanol/sbiten
name = "Sbiten" name = "Sbiten"
id = "sbiten" id = "sbiten"
description = "A spicy Vodka! Might be a little hot for the little guys!" description = "A spicy mix of mead and spices! Might be a little hot for the little guys!"
color = "#664300" color = "#664300"
strength = 40 strength = 40
adj_temp = 50 adj_temp = 50
@@ -1856,7 +1856,7 @@
glass_icon_state = "sbitenglass" glass_icon_state = "sbitenglass"
glass_name = "glass of Sbiten" glass_name = "glass of Sbiten"
glass_desc = "A spicy mix of Vodka and Spice. Very hot." glass_desc = "A spicy mix of Mead and Spices. Very hot."
glass_center_of_mass = list("x"=17, "y"=8) glass_center_of_mass = list("x"=17, "y"=8)
/datum/reagent/ethanol/screwdrivercocktail /datum/reagent/ethanol/screwdrivercocktail

View File

@@ -1878,7 +1878,7 @@
name = "Sbiten" name = "Sbiten"
id = "sbiten" id = "sbiten"
result = "sbiten" result = "sbiten"
required_reagents = list("vodka" = 10, "capsaicin" = 1) required_reagents = list("mead" = 10, "capsaicin" = 1)
result_amount = 10 result_amount = 10
/datum/chemical_reaction/red_mead /datum/chemical_reaction/red_mead

View File

@@ -3,6 +3,9 @@
//Bottles now weaken and break when smashed on people's heads. - Giacom //Bottles now weaken and break when smashed on people's heads. - Giacom
/obj/item/weapon/reagent_containers/food/drinks/bottle /obj/item/weapon/reagent_containers/food/drinks/bottle
name = "empty bottle"
desc = "A sad empty bottle."
icon_state = "alco-clear"
amount_per_transfer_from_this = 5//Smaller sip size for more BaRP and less guzzling a litre of vodka before you realise it amount_per_transfer_from_this = 5//Smaller sip size for more BaRP and less guzzling a litre of vodka before you realise it
volume = 100 volume = 100
item_state = "broken_beer" //Generic held-item sprite until unique ones are made. item_state = "broken_beer" //Generic held-item sprite until unique ones are made.
@@ -117,7 +120,7 @@
else else
set_light(0) set_light(0)
/obj/item/weapon/reagent_containers/food/drinks/bottle/apply_hit_effect(mob/living/target, mob/living/user, var/hit_zone) /obj/item/weapon/reagent_containers/food/drinks/bottle/attack(mob/living/target, mob/living/user, var/hit_zone)
var/blocked = ..() var/blocked = ..()
if(user.a_intent != I_HURT) if(user.a_intent != I_HURT)
@@ -407,6 +410,9 @@
//Small bottles //Small bottles
/obj/item/weapon/reagent_containers/food/drinks/bottle/small /obj/item/weapon/reagent_containers/food/drinks/bottle/small
name = "empty small bottle"
desc = "A sad empty bottle."
icon_state = "beer"
volume = 50 volume = 50
smash_duration = 1 smash_duration = 1
flags = 0 //starts closed flags = 0 //starts closed
@@ -488,3 +494,11 @@
New() New()
..() ..()
reagents.add_reagent("drambuie", 100) reagents.add_reagent("drambuie", 100)
/obj/item/weapon/reagent_containers/food/drinks/bottle/sbiten
name = "Sbiten"
desc = "A bottle full of sweet sbiten."
icon_state = "sbitenbottle"
New()
..()
reagents.add_reagent("sbiten", 100)

View File

@@ -56,6 +56,14 @@
--> -->
<div class="commit sansserif"> <div class="commit sansserif">
<h2 class="date">23 January 2017</h2>
<h3 class="author">Alberyk updated:</h3>
<ul class="changes bgimages16">
<li class="bugfix">Bottles can be smashed against people again.</li>
<li class="bugfix">You can't store paper bins inside bags anymore.</li>
<li class="tweak">Changed the sbiten recipe to use mead instead of vodka.</li>
</ul>
<h2 class="date">21 January 2017</h2> <h2 class="date">21 January 2017</h2>
<h3 class="author">Alberyk updated:</h3> <h3 class="author">Alberyk updated:</h3>
<ul class="changes bgimages16"> <ul class="changes bgimages16">

View File

@@ -3754,3 +3754,8 @@ DO NOT EDIT THIS FILE BY HAND! AUTOMATICALLY GENERATED BY ss13_genchangelog.py.
- bugfix: Fixed voidsuits being weird during unequip and magboots eating shoes. - bugfix: Fixed voidsuits being weird during unequip and magboots eating shoes.
- experiment: An attempted fix of the AI gaining AOOC and antag status during cult - experiment: An attempted fix of the AI gaining AOOC and antag status during cult
rounds. rounds.
2017-01-23:
Alberyk:
- bugfix: Bottles can be smashed against people again.
- bugfix: You can't store paper bins inside bags anymore.
- tweak: Changed the sbiten recipe to use mead instead of vodka.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.0 KiB

After

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 610 KiB

After

Width:  |  Height:  |  Size: 628 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 78 KiB

After

Width:  |  Height:  |  Size: 78 KiB