Skip to content

Commit

Permalink
Drop Shadow on Obj and Mob, fix for the tattoo gun
Browse files Browse the repository at this point in the history
  • Loading branch information
Tk420634 committed Jul 21, 2024
1 parent 8a8d951 commit 86c6a2f
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 3 deletions.
4 changes: 2 additions & 2 deletions code/datums/tattoo.dm
Original file line number Diff line number Diff line change
Expand Up @@ -745,8 +745,8 @@
next_time = 0.5 SECONDS
user.visible_message(span_notice("[user] zips a quick mark into [victim]'s [lowertext(tat_loc)]."))
if(prob(scream_prob))
victim.emote("scream")
owie.receive_damage(brute = owie.brute_dam < 30 ? brute_d : 0, stamina = stamina_d, wound_bonus = bleed_d, sharpness = SHARP_EDGED, damage_coverings = FALSE)
victim.emote("scream") // V- all the fuckin furries belong at weenie hut jr
owie.receive_damage(brute = owie.brute_dam < 10 ? brute_d : 0, stamina = stamina_d, wound_bonus = -999, sharpness = SHARP_EDGED, damage_coverings = FALSE)
if(engraving)
addtimer(CALLBACK(src,PROC_REF(make_noises_and_pain), victim, user, tat_loc, part), next_time)

Expand Down
9 changes: 9 additions & 0 deletions code/game/objects/items.dm
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,15 @@ GLOBAL_VAR_INIT(embedpocalypse, FALSE) // if true, all items will be able to emb
if(reskinnable_component)
AddComponent(reskinnable_component)

add_filter("wacky_shadow",10, list(
"type"="drop_shadow",
"x"=1,
"y"=-1,
"size"=1,
"offset"=0,
"color"= "#0000007A"))


/obj/item/proc/check_allowed_items(atom/target, not_inside, target_self)
if(((src in target) && !target_self) || (!isturf(target.loc) && !isturf(target) && not_inside))
return 0
Expand Down
2 changes: 1 addition & 1 deletion code/modules/admin/admin_verbs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1049,7 +1049,7 @@ GLOBAL_PROTECT(admin_verbs_hideable)
/// Never gonna give one up, never gonna give one down
/datum/admins/proc/grope_shotglass()
set category = "Admin.Game"
set name = "Let people grope wierd things"
set name = "grope shotglass"

if(!check_rights(R_ADMIN))
message_admins("[ADMIN_TPMONTY(usr)] tried to use mess with grope_shotglass() without admin perms.")
Expand Down
11 changes: 11 additions & 0 deletions code/modules/mob/living/living.dm
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,17 @@
faction += "[REF(src)]"
GLOB.mob_living_list += src
clienthud.add_hud_to(src)
add_filter("cool_shadow",10, list(
"type"="drop_shadow",
"x"=1,
"y"=-1,
"size"=3,
"offset"=2,
"color"= "#0000007A"))
// add_filter("sick_outline",11, list(
// "type"="outline",
// "size"=1,
// "color"= "#000000"))

/mob/living/prepare_huds()
..()
Expand Down

0 comments on commit 86c6a2f

Please sign in to comment.