Merge pull request #6994 from VOREStation/upstream-merge-6885

[MIRROR] [Feature Tweak] Message Fixy For Snowballs/Kickstands
This commit is contained in:
Novacat
2020-03-25 19:22:39 -04:00
committed by GitHub
3 changed files with 43 additions and 5 deletions

View File

@@ -73,12 +73,14 @@
/obj/item/weapon/material/snow/snowball/attack_self(mob/user as mob) /obj/item/weapon/material/snow/snowball/attack_self(mob/user as mob)
if(user.a_intent == I_HURT) if(user.a_intent == I_HURT)
visible_message("[user] has smashed the snowball in their hand!", "You smash the snowball in your hand.") //visible_message("[user] has smashed the snowball in their hand!", "You smash the snowball in your hand.")
to_chat(user, "<span class='notice'>You smash the snowball in your hand.</span>")
var/atom/S = new /obj/item/stack/material/snow(user.loc) var/atom/S = new /obj/item/stack/material/snow(user.loc)
del(src) del(src)
user.put_in_hands(S) user.put_in_hands(S)
else else
visible_message("[user] starts compacting the snowball.", "You start compacting the snowball.") //visible_message("[user] starts compacting the snowball.", "You start compacting the snowball.")
to_chat(user, "<span class='notice'>You start compacting the snowball.</span>")
if(do_after(user, 2 SECONDS)) if(do_after(user, 2 SECONDS))
var/atom/S = new /obj/item/weapon/material/snow/snowball/reinforced(user.loc) var/atom/S = new /obj/item/weapon/material/snow/snowball/reinforced(user.loc)
del(src) del(src)

View File

@@ -71,7 +71,7 @@
turn_off() turn_off()
src.visible_message("\The [src] putters before turning off.", "You hear something putter slowly.") src.visible_message("\The [src] putters before turning off.", "You hear something putter slowly.")
/obj/vehicle/bike/verb/kickstand() /obj/vehicle/bike/verb/kickstand(var/mob/user as mob) //TFF 22/3/20 - Tweaking the visible_message output so it's not "You put kickstand down" to everyone.
set name = "Toggle Kickstand" set name = "Toggle Kickstand"
set category = "Vehicle" set category = "Vehicle"
set src in view(0) set src in view(0)
@@ -82,12 +82,12 @@
if(usr.incapacitated()) return if(usr.incapacitated()) return
if(kickstand) if(kickstand)
src.visible_message("You put up \the [src]'s kickstand.") visible_message("[user] puts up \the [src]'s kickstand.")
else else
if(istype(src.loc,/turf/space) || istype(src.loc, /turf/simulated/floor/water)) if(istype(src.loc,/turf/space) || istype(src.loc, /turf/simulated/floor/water))
to_chat(usr, "<span class='warning'> You don't think kickstands work here...</span>") to_chat(usr, "<span class='warning'> You don't think kickstands work here...</span>")
return return
src.visible_message("You put down \the [src]'s kickstand.") visible_message("[user] puts down \the [src]'s kickstand.")
if(pulledby) if(pulledby)
pulledby.stop_pulling() pulledby.stop_pulling()

View File

@@ -0,0 +1,36 @@
################################
# Example Changelog File
#
# Note: This file, and files beginning with ".", and files that don't end in ".yml" will not be read. If you change this file, you will look really dumb.
#
# Your changelog will be merged with a master changelog. (New stuff added only, and only on the date entry for the day it was merged.)
# When it is, any changes listed below will disappear.
#
# Valid Prefixes:
# bugfix
# wip (For works in progress)
# tweak
# soundadd
# sounddel
# rscadd (general adding of nice things)
# rscdel (general deleting of nice things)
# imageadd
# imagedel
# maptweak
# spellcheck (typo fixes)
# experiment
#################################
# Your name.
author: TheFurryFeline
# Optional: Remove this file after generating master changelog. Useful for PR changelogs that won't get used again.
delete-after: True
# Any changes you've made. See valid prefix list above.
# INDENT WITH TWO SPACES. NOT TABS. SPACES.
# SCREW THIS UP AND IT WON'T WORK.
# Also, all entries are changed into a single [] after a master changelog generation. Just remove the brackets when you add new entries.
# Please surround your changes in double quotes ("), as certain characters otherwise screws up compiling. The quotes will not show up in the changelog.
changes:
- tweak: "Change output of messages relating to snowball compacting and bike kickstand actions."