mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-30 16:48:12 +01:00
Merge pull request #92 from Dwaggy/master
NSFW to BSG again, and lick-wound self lick.
This commit is contained in:
@@ -26,10 +26,10 @@
|
||||
|
||||
/obj/item/gunbox/blueshield/secondary/attack_self(mob/living/user)
|
||||
var/list/options = list()
|
||||
// options["NSFW Variable Pistol(Microbattery)"] = list(/obj/item/weapon/storage/secure/briefcase/nsfw_pack_hos) It's broken, and I can't fix it because the snowflake keeps metastasizing.
|
||||
options["NSFW Variable Pistol(Microbattery)"] = list(/obj/item/weapon/storage/secure/briefcase/nsfw_pack_hos)
|
||||
options["E-Gun (Weapon Cell)"] = list(/obj/item/weapon/gun/energy/gun, /obj/item/weapon/cell/device/weapon, /obj/item/weapon/cell/device/weapon)
|
||||
options["Consul Revolver (.44)"] = list(/obj/item/weapon/gun/projectile/revolver/consul, /obj/item/ammo_magazine/s44, /obj/item/ammo_magazine/s44, /obj/item/ammo_magazine/s44/rubber)
|
||||
var/choice = input(user,"Would you prefer an e-gun or a revolver?") as null|anything in options
|
||||
var/choice = input(user,"Would you prefer an NSFW, e-gun or a revolver?") as null|anything in options
|
||||
if(src && choice)
|
||||
var/list/things_to_spawn = options[choice]
|
||||
for(var/new_type in things_to_spawn) // Spawn all the things, the gun and the ammo.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/mob/living/carbon/human/proc/lick_wounds(var/mob/living/carbon/M in living_mobs(1))
|
||||
/mob/living/carbon/human/proc/lick_wounds(var/mob/living/carbon/M) //YWedit, originally, living/carbon/M in living_mobs(1), However, living_mobs does not include src as possible target.
|
||||
set name = "Lick Wounds"
|
||||
set category = "Abilities"
|
||||
set desc = "Disinfect and heal small wounds with your saliva."
|
||||
@@ -6,6 +6,10 @@
|
||||
if(nutrition < 50)
|
||||
to_chat(src, "<span class='warning'>You need more energy to produce antiseptic enzymes. Eat something and try again.</span>")
|
||||
return
|
||||
//YW edit. Added the distance check to here. this allows the ability to lick ones own wounds. although this also means that all living/carbon/M appear on the list if used.
|
||||
if (get_dist(src,M) >= 2)
|
||||
src << "<span class='warning'>You need to be closer to do that.</span>"
|
||||
return
|
||||
|
||||
if ( ! (istype(src, /mob/living/carbon/human) || \
|
||||
istype(src, /mob/living/silicon)) )
|
||||
@@ -68,7 +72,7 @@
|
||||
return
|
||||
|
||||
else
|
||||
visible_message("<span class='notice'>\The [src] [pick("slathers \a [W.desc] on [M]'s [affecting.name] with their spit.",
|
||||
visible_message("<span class='notice'>\The [src] [pick("slathers \a [W.desc] on [M]'s [affecting.name] with their spit.",
|
||||
"drags their tongue across \a [W.desc] on [M]'s [affecting.name].",
|
||||
"drips saliva onto \a [W.desc] on [M]'s [affecting.name].",
|
||||
"uses their tongue to disinfect \a [W.desc] on [M]'s [affecting.name].",
|
||||
@@ -79,4 +83,4 @@
|
||||
W.bandage()
|
||||
W.disinfect()
|
||||
H.UpdateDamageIcon()
|
||||
playsound(src.loc, 'sound/effects/ointment.ogg', 25)
|
||||
playsound(src.loc, 'sound/effects/ointment.ogg', 25)
|
||||
|
||||
Reference in New Issue
Block a user