-
Notifications
You must be signed in to change notification settings - Fork 566
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DRAFT: G2 Eletroshock grenade #5028
Conversation
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Non-balance
@@ -87,6 +87,17 @@ | |||
containername = "\improper explosive M40 HEDP grenades crate (WARNING)" | |||
group = "Explosives" | |||
|
|||
/datum/supply_packs/explosives_sebb | |||
name = "M40 HEDP blast grenades crate (x6)" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.
) | ||
cost = 30 | ||
containertype = /obj/structure/closet/crate/explosives | ||
containername = "\improper explosive M40 HEDP grenades crate (WARNING)" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.
@@ -32,6 +32,7 @@ GLOBAL_LIST_INIT(cm_vending_gear_commanding_officer, list( | |||
list("HEDP Grenade Pack", 15, /obj/item/storage/box/packet/high_explosive, null, VENDOR_ITEM_REGULAR), | |||
list("HEFA Grenade Pack", 15, /obj/item/storage/box/packet/hefa, null, VENDOR_ITEM_REGULAR), | |||
list("WP Grenade Pack", 15, /obj/item/storage/box/packet/phosphorus, null, VENDOR_ITEM_REGULAR), | |||
list("G2 Electroshock Grenade Pack", 15, /obj/item/storage/box/packet/sebb, null, VENDOR_ITEM_REGULAR), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
list("G2 Electroshock Grenade Pack", 15, /obj/item/storage/box/packet/sebb, null, VENDOR_ITEM_REGULAR), | |
list("G2 Electroshock Grenade Pack", 15, /obj/item/storage/box/packet/sebb, null, VENDOR_ITEM_REGULAR), |
var/range = 5 | ||
var/damage = 120 // Generic Energy damage from 1.2 GV. Distance scaled | ||
var/dam_range_mult = 15 // Range is multiplied by this, then damage is subracted by this |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
code doc
//================================================ | ||
*/ | ||
/obj/item/explosive/grenade/sebb | ||
name = "\improper G2 Electroshock grenade" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is electroshock a proper noun?
|
||
|
||
/obj/effect/overlay/sebb/New() | ||
addtimer(CALLBACK(GLOBAL_PROC,.proc/qdel,src),time_to_live) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's a QDEL_IN macro
appearance_flags = RESET_COLOR | ||
|
||
|
||
/obj/effect/overlay/sebb/New() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Initialize()
/obj/item/explosive/mine/sebb | ||
name = "\improper G2 Electroshock grenade" | ||
icon_state = "grenade_sebb_planted" | ||
desc = "A G2 electroshock grenade planted as a landmine" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
desc = "A G2 electroshock grenade planted as a landmine" | |
desc = "A G2 electroshock grenade planted as a landmine." |
|
||
/obj/item/explosive/mine/sebb/prime() | ||
set waitfor = 0 | ||
new /obj/item/explosive/grenade/sebb/primed(src.loc) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not necessarily guaranteed to be a turf
if(!QDELETED(src)) | ||
disarm() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what's this check for?
This PR has been inactive for long enough to be automatically marked as stale. This means it is at risk of being auto closed in ~ 7 days, please address any outstanding review items and ensure your PR is finished, if these are all true and you are auto-staled anyway, you need to actively ask maintainers if your PR will be merged. Once you have done any of the previous actions then you should request a maintainer remove the stale label on your PR, to reset the stale timer. If you feel no maintainer will respond in that time, you may wish to close this PR youself, while you seek maintainer comment, as you will then be able to reopen the PR yourself |
About the pull request
Adds the G2 electroshock grenade, "Sonic Electric ball breaker" as mentioned in the movies or SEBB for short. It's purpose is to be a tactical option for the marines, as it deals slowdown instead of stun/damage. (unless you stand on top of it)
Only meaningful damage is to marines and especially synths, since a 1.2 Gigavolt charge is probably not healthy for bioelectrics.
Can be used as a mine as well. Uses an effect similar to boiler neuro to have finer control over balance and to prevent stacking. (still wip)
Made a PR so maintainers can take a look at it. Still WIP
Explain why it's good for the game
More marine utility weapons and content, we can probably lower the amount of HEDPs slightly to balance it out aswell.
Testing Photographs and Procedure
Screenshots & Videos
Put screenshots and videos here with an empty line between the screenshots and the
<details>
tags.Changelog
🆑 TotalEpicness5, Triiodine, monkeyfist
add: Adds the G2 electroshock grenade
/:cl: