Skip to content

Commit d4a732d

Browse files
Grenade icon states + pearl random locs and description + more
1 parent b7a49b5 commit d4a732d

File tree

7 files changed

+20
-15
lines changed

7 files changed

+20
-15
lines changed

mojave/code/datums/diseases/pocklung.dm

+16-5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
/// POCKLUNG DISEASE ///
2+
/* This is highly schizophrenic. The in-world reason this exists? Something about mutant bacteria that lives within the sulfur vents below. Cope about it... Wear a mask
3+
4+
Has quirky effects with no cure. Wear a mask.
5+
6+
Occasionally, a chosen one is born... They will adapt to it and "recover" Benefits? not really. Though they'll cough up a little 'pearl' occasionally (kind of often depending on the person tbh) */
7+
18
/datum/disease/pocklung
29
name = "Pocklung"
310
desc = "A bacterial/chemically induced condition in which the victim's lungs are degraded by a mixture of sulfur concentrate and the bacteria that has found a home within it."
@@ -8,7 +15,7 @@
815
spread_flags = NONE
916
cure_text = "Incurable"
1017
form = "Condition"
11-
agent = "decay nodes"
18+
agent = "bacteria"
1219
sicktext = "Your chest begins to ache and burn horribly."
1320
viable_mobtypes = list(/mob/living/carbon/human)
1421
required_organs = list(/obj/item/organ/lungs)
@@ -50,8 +57,10 @@
5057
affected_mob.vomit(25, TRUE, TRUE, 1)
5158
affected_mob.visible_message(span_alert("[affected_mob] vomits something up amidst their coughing!"),
5259
span_userdanger("Through the coughs, you gag up a prize!"),
53-
span_hear("You hear something drop to the floor quietly."), 4)
54-
new /obj/item/ms13/component/sulfurpearl (affected_mob.loc, rand(1, (infection_purity)))
60+
span_hear("You hear vomiting, followed by spitting- then, something dropping to the floor quietly."), 4)
61+
var/obj/item/ms13/component/sulfurpearl/P = new /obj/item/ms13/component/sulfurpearl (affected_mob.loc, rand(1, (infection_purity)))
62+
P.pixel_x = P.base_pixel_x + rand(-12, 12)
63+
P.pixel_y = P.base_pixel_y + rand(-12, 12)
5564
my_turf.VapourTurf(/datum/vapours/sulfur_concentrate, 10)
5665
if(DT_PROB(1, delta_time))
5766
affected_mob.adjustOrganLoss(ORGAN_SLOT_LUNGS, (0.25 / infection_purity), 100)
@@ -64,8 +73,10 @@
6473
affected_mob.vomit(25, TRUE, TRUE, 1)
6574
affected_mob.visible_message(span_alert("[affected_mob] vomits something up amidst their coughing!"),
6675
span_userdanger("Through the coughs, you puke up a prize!"),
67-
span_hear("You hear something drop to the floor quietly."), 4)
68-
new /obj/item/ms13/component/sulfurpearl (affected_mob.loc, rand(1, (infection_purity)))
76+
span_hear("You hear vomiting, followed by spitting- then, something dropping to the floor quietly."), 4)
77+
var/obj/item/ms13/component/sulfurpearl/P = new /obj/item/ms13/component/sulfurpearl (affected_mob.loc, rand(1, (infection_purity)))
78+
P.pixel_x = P.base_pixel_x + rand(-12, 12)
79+
P.pixel_y = P.base_pixel_y + rand(-12, 12)
6980
my_turf.VapourTurf(/datum/vapours/sulfur_concentrate, 15)
7081

7182
/datum/disease/pocklung/update_stage(new_stage)

mojave/code/modules/vapour/ms_vapours.dm

-8
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,6 @@
4949
/datum/vapours/sulfur_concentrate/TouchAct(mob/living/carbon/victim, amount) // Disabled for now. Keep it to yo lungs.
5050
. = ..()
5151
52-
//if(iscarbon(burn_living))
53-
// var/mob/living/carbon/burn_carbon = burn_living
54-
// var/obj/item/clothing/burn_suit = burn_carbon.get_item_by_slot(ITEM_SLOT_OCLOTHING)
55-
// var/obj/item/clothing/burn_helmet = burn_carbon.get_item_by_slot(ITEM_SLOT_HEAD)
56-
// var/obj/item/clothing/burn_helmet = burn_carbon.get_item_by_slot(ITEM_SLOT_HEAD)
57-
// if(burn_suit?.clothing_flags & LAVAPROTECT && burn_helmet?.clothing_flags & LAVAPROTECT)
58-
// return LAVA_BE_PROCESSING
59-
6052
for(var/obj/item/clothing/C in victim.get_equipped_items())
6153
if(((C.body_parts_covered & HANDS) && (C.body_parts_covered & ARMS) && (C.body_parts_covered & LEGS) && (C.body_parts_covered & LEGS) && (C.body_parts_covered & HEAD))) //Cover up head to toe!
6254
return

mojave/code/modules/vapour/vapour_types_datum.dm

+2
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
var/scent
2020
/// Use this to avoid spamming screens with messages!
2121
COOLDOWN_DECLARE(agony_announcement)
22+
/// Used to ensure that deliberately harmful stuff outside sticks around a little longer
23+
var/dissipation_resistance
2224

2325
///When a vapour touches an unprotected carbon mob
2426
/datum/vapours/proc/TouchAct(mob/living/carbon/victim, amount)
-11 Bytes
Binary file not shown.
-99 Bytes
Binary file not shown.

mojave/items/guns/ammo/special-ammo.dm

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
/obj/item/ammo_casing/ms13/a40mm/scrap
99
name = "40mm scrap shell"
10-
desc = "A makeshift high-caliber shotgun shell, designed to go in... grenade launchers! Quality control is obviosuly dubious. Good luck."
10+
desc = "A makeshift high-caliber shotgun shell, designed to go in... grenade launchers! Quality control is obviously dubious. Good luck."
1111
icon_state = "40mm_scrap"
1212
projectile_type = /obj/projectile/bullet/ms13/a40mm/scrap
1313

mojave/items/guns/weapons/ballistic/special.dm

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
internal_magazine = TRUE
77
w_class = WEIGHT_CLASS_HUGE
88
weapon_weight = WEAPON_HEAVY
9-
slot_flags = ITEM_SLOT_BACK
9+
slot_flags = null
1010
mag_type = /obj/item/ammo_box/magazine/internal/ms13/m79
1111
bolt_wording = "chamber"
1212
rack_sound = 'mojave/sound/ms13weapons/breakaction_open2.ogg'

0 commit comments

Comments
 (0)