diff --git a/code/defines/obj/hydro.dm b/code/defines/obj/hydro.dm
index 33211757e4d..8aaa42b3a2c 100644
--- a/code/defines/obj/hydro.dm
+++ b/code/defines/obj/hydro.dm
@@ -1679,6 +1679,9 @@
reagents = R
R.my_atom = src
+/obj/item/weapon/grown/proc/changePotency(newValue) //-QualityVan
+ potency = newValue
+
/obj/item/weapon/grown/log
name = "tower-cap log"
desc = "It's better than bad, it's good!"
diff --git a/code/game/machinery/hydroponics.dm b/code/game/machinery/hydroponics.dm
index 4f4b77ef4f1..4d6d000091f 100644
--- a/code/game/machinery/hydroponics.dm
+++ b/code/game/machinery/hydroponics.dm
@@ -820,7 +820,7 @@ obj/machinery/hydroponics/attackby(var/obj/item/O as obj, var/mob/user as mob)
var/t_amount = 0
while ( t_amount < (yield * parent.yieldmod ))
- var/obj/item/weapon/reagent_containers/food/snacks/grown/t_prod = new produce(user.loc, potency) // User gets a consumable
+ var/obj/item/weapon/grown/t_prod = new produce(user.loc, potency) // User gets a consumable -QualityVan
t_prod.seed = mypath
t_prod.species = species
t_prod.lifespan = lifespan
@@ -828,7 +828,7 @@ obj/machinery/hydroponics/attackby(var/obj/item/O as obj, var/mob/user as mob)
t_prod.maturation = maturation
t_prod.production = production
t_prod.yield = yield
- t_prod.potency = potency
+ t_prod.changePotency(potency) // -QualityVan
t_prod.plant_type = plant_type
t_amount++
@@ -840,7 +840,7 @@ obj/machinery/hydroponics/attackby(var/obj/item/O as obj, var/mob/user as mob)
var/t_amount = 0
while ( t_amount < (yield * parent.yieldmod ))
- var/obj/item/weapon/reagent_containers/food/snacks/grown/t_prod = new produce(user.loc, potency) // User gets a consumable
+ var/obj/item/weapon/grown/t_prod = new produce(user.loc, potency) // User gets a consumable -QualityVan
t_prod.seed = mypath
t_prod.species = species
t_prod.lifespan = lifespan
@@ -848,7 +848,7 @@ obj/machinery/hydroponics/attackby(var/obj/item/O as obj, var/mob/user as mob)
t_prod.maturation = maturation
t_prod.production = production
t_prod.yield = yield
- t_prod.potency = potency
+ t_prod.changePotency(potency) // -QualityVan
t_prod.plant_type = plant_type
t_amount++
diff --git a/code/game/objects/items/weapons/hydroponics.dm b/code/game/objects/items/weapons/hydroponics.dm
index cce4a6efc76..2587292417b 100644
--- a/code/game/objects/items/weapons/hydroponics.dm
+++ b/code/game/objects/items/weapons/hydroponics.dm
@@ -97,6 +97,10 @@ Craftables (Cob pipes, potato batteries, pumpkinheads)
usr << "All the leaves have fallen off the nettle from violent whacking."
del(src)
+/obj/item/weapon/grown/nettle/changePotency(newValue) //-QualityVan
+ potency = newValue
+ force = round((5+potency/5), 1)
+
// Deathnettle
@@ -137,6 +141,10 @@ Craftables (Cob pipes, potato batteries, pumpkinheads)
usr << "All the leaves have fallen off the deathnettle from violent whacking."
del(src)
+/obj/item/weapon/grown/deathnettle/changePotency(newValue) //-QualityVan
+ potency = newValue
+ force = round((5+potency/2.5), 1)
+
//Crafting
/obj/item/weapon/corncob/attackby(obj/item/weapon/W as obj, mob/user as mob)
diff --git a/code/modules/chemical/Chemistry-Tools.dm b/code/modules/chemical/Chemistry-Tools.dm
index f8c0156e829..4625e91f428 100644
--- a/code/modules/chemical/Chemistry-Tools.dm
+++ b/code/modules/chemical/Chemistry-Tools.dm
@@ -616,10 +616,26 @@
for(var/mob/living/carbon/M in D.loc)
if(!istype(M,/mob/living/carbon)) continue
if(M == user) continue
+ //Syring gune attack logging by Yvarov
+ var/R
+ for(var/datum/reagent/A in D.reagents.reagent_list)
+ R += A.id + " ("
+ R += num2text(A.volume) + "),"
+ if (istype(M, /mob))
+ M.attack_log += "\[[time_stamp()]\] [user]/[user.ckey] shot [M]/[M.ckey] with a syringegun ([R])"
+ user.attack_log += "\[[time_stamp()]\] [user]/[user.ckey] shot [M]/[M.ckey] with a syringegun ([R])"
+ log_attack("[user] ([user.ckey]) shot [M] ([M.ckey]) with a syringegun ([R])")
+ log_admin("ATTACK: [user] ([user.ckey]) shot [M] ([M.ckey]) with a syringegun ([R]).")
+ message_admins("ATTACK: [user] ([user.ckey]) shot [M] ([M.ckey]) with a syringegun ([R]).")
+ else
+ M.attack_log += "\[[time_stamp()]\] UNKNOWN SUBJECT (No longer exists) shot [M]/[M.ckey] with a syringegun ([R])"
+ log_attack("UNKNOWN shot [M] ([M.ckey]) with a syringegun ([R])")
+ log_admin("ATTACK: UNKNOWN shot [M] ([M.ckey]) with a syringegun ([R]).")
+ message_admins("ATTACK: UNKNOWN shot [M] ([M.ckey]) with a syringegun ([R]).")
D.reagents.trans_to(M, 15)
M.take_organ_damage(5)
for(var/mob/O in viewers(world.view, D))
- O.show_message(text("\red [] was hit by the syringe!", M), 1)
+ O.show_message(text("\red [] is hit by the syringe!", M.name), 1)
del(D)
if(D)
diff --git a/code/modules/mob/living/carbon/alien/humanoid/caste/hunter.dm b/code/modules/mob/living/carbon/alien/humanoid/caste/hunter.dm
index 99b1d054a87..0c156b04320 100644
--- a/code/modules/mob/living/carbon/alien/humanoid/caste/hunter.dm
+++ b/code/modules/mob/living/carbon/alien/humanoid/caste/hunter.dm
@@ -29,25 +29,7 @@
handle_regular_hud_updates()
- if (src.stat == 2 || src.mutations & XRAY)
- src.sight |= SEE_TURFS
- src.sight |= SEE_MOBS
- src.sight |= SEE_OBJS
- src.see_in_dark = 8
- src.see_invisible = 2
- else if (src.stat != 2)
- src.sight |= SEE_MOBS
- src.sight |= SEE_TURFS
- src.sight &= ~SEE_OBJS
- src.see_in_dark = 5
- src.see_invisible = 2
-
- if (src.sleep)
- src.sleep.icon_state = text("sleep[]", src.sleeping > 0 ? 1 : 0)
- src.sleep.overlays = null
- if(src.sleeping_willingly)
- src.sleep.overlays += icon(src.sleep.icon, "sleep_willing")
- if (src.rest) src.rest.icon_state = text("rest[]", src.resting)
+ ..() //-Yvarov
if (src.healths)
if (src.stat != 2)
@@ -86,7 +68,7 @@
if(src.sleeping)
Paralyse(3)
- if (prob(10) && health) spawn(0) emote("snore")
+ //if (prob(10) && health) spawn(0) emote("snore") Invalid Emote
if(!src.sleeping_willingly)
src.sleeping--
diff --git a/code/modules/mob/living/carbon/alien/humanoid/caste/sentinel.dm b/code/modules/mob/living/carbon/alien/humanoid/caste/sentinel.dm
index 3c824954f4f..3c4e0a5a17d 100644
--- a/code/modules/mob/living/carbon/alien/humanoid/caste/sentinel.dm
+++ b/code/modules/mob/living/carbon/alien/humanoid/caste/sentinel.dm
@@ -29,25 +29,7 @@
handle_regular_hud_updates()
- if (src.stat == 2 || src.mutations & XRAY)
- src.sight |= SEE_TURFS
- src.sight |= SEE_MOBS
- src.sight |= SEE_OBJS
- src.see_in_dark = 8
- src.see_invisible = 2
- else if (src.stat != 2)
- src.sight |= SEE_MOBS
- src.sight &= SEE_TURFS
- src.sight &= ~SEE_OBJS
- src.see_in_dark = 7
- src.see_invisible = 3
-
- if (src.sleep)
- src.sleep.icon_state = text("sleep[]", src.sleeping > 0 ? 1 : 0)
- src.sleep.overlays = null
- if(src.sleeping_willingly)
- src.sleep.overlays += icon(src.sleep.icon, "sleep_willing")
- if (src.rest) src.rest.icon_state = text("rest[]", src.resting)
+ ..() //-Yvarov
if (src.healths)
if (src.stat != 2)
@@ -87,7 +69,7 @@
if(src.sleeping)
Paralyse(3)
- if (prob(10) && health) spawn(0) emote("snore")
+ //if (prob(10) && health) spawn(0) emote("snore") Invalid Emote
if(!src.sleeping_willingly)
src.sleeping--
diff --git a/code/modules/mob/living/carbon/alien/humanoid/life.dm b/code/modules/mob/living/carbon/alien/humanoid/life.dm
index 38bf7ceb528..edef1ab43a4 100644
--- a/code/modules/mob/living/carbon/alien/humanoid/life.dm
+++ b/code/modules/mob/living/carbon/alien/humanoid/life.dm
@@ -404,7 +404,7 @@
if(src.sleeping)
Paralyse(3)
- if (prob(10) && health) spawn(0) emote("snore")
+ //if (prob(10) && health) emote("snore") //Invalid emote for aliens, but it might be worth making sleep noticeable somehow -Yvarov
if(!src.sleeping_willingly)
src.sleeping--
diff --git a/code/modules/mob/living/carbon/alien/humanoid/queen.dm b/code/modules/mob/living/carbon/alien/humanoid/queen.dm
index 278220933eb..2924f5b9b89 100644
--- a/code/modules/mob/living/carbon/alien/humanoid/queen.dm
+++ b/code/modules/mob/living/carbon/alien/humanoid/queen.dm
@@ -32,25 +32,7 @@
handle_regular_hud_updates()
- if (src.stat == 2 || src.mutations & XRAY)
- src.sight |= SEE_TURFS
- src.sight |= SEE_MOBS
- src.sight |= SEE_OBJS
- src.see_in_dark = 8
- src.see_invisible = 2
- else if (src.stat != 2)
- src.sight |= SEE_MOBS
- src.sight |= SEE_TURFS
- src.sight &= ~SEE_OBJS
- src.see_in_dark = 8
- src.see_invisible = 2
-
- if (src.sleep)
- src.sleep.icon_state = text("sleep[]", src.sleeping > 0 ? 1 : 0)
- src.sleep.overlays = null
- if(src.sleeping_willingly)
- src.sleep.overlays += icon(src.sleep.icon, "sleep_willing")
- if (src.rest) src.rest.icon_state = text("rest[]", src.resting)
+ ..() //-Yvarov
if (src.healths)
if (src.stat != 2)
@@ -88,7 +70,7 @@
if(src.sleeping)
Paralyse(3)
- if (prob(10) && health) spawn(0) emote("snore")
+ //if (prob(10) && health) spawn(0) emote("snore") Invalid Emote
if(!src.sleeping_willingly)
src.sleeping--
diff --git a/code/modules/mob/living/carbon/alien/larva/life.dm b/code/modules/mob/living/carbon/alien/larva/life.dm
index a79f290a0dc..23e9a6ca067 100644
--- a/code/modules/mob/living/carbon/alien/larva/life.dm
+++ b/code/modules/mob/living/carbon/alien/larva/life.dm
@@ -327,7 +327,7 @@
if(sleeping)
Paralyse(3)
- if (prob(10) && health) spawn(0) emote("snore")
+ //if (prob(10) && health) spawn(0) emote("snore") Invalid Emote
if(!src.sleeping_willingly)
src.sleeping--
diff --git a/code/modules/mob/new_player/sprite_accessories.dm b/code/modules/mob/new_player/sprite_accessories.dm
index b22fcc461e1..5195257a8cb 100644
--- a/code/modules/mob/new_player/sprite_accessories.dm
+++ b/code/modules/mob/new_player/sprite_accessories.dm
@@ -173,7 +173,7 @@
hogan
name = "Hulk Hogan Mustache"
- icon_state = "facial_chaplin"
+ icon_state = "facial_hogan" //-Neek
vandyke
name = "Van Dyke Mustache"