Skip to content

Commit

Permalink
Anti ib gamemode flag (#7385)
Browse files Browse the repository at this point in the history
# About the pull request

flag that turns all IB into normal blleding for gamemode

# Explain why it's good for the game
IB is super easy and pain on HvH


# Testing Photographs and Procedure
<details>
<summary>Screenshots & Videos</summary>

Put screenshots and videos here with an empty line between the
screenshots and the `<details>` tags.

</details>


# Changelog
:cl:
add: flag for HvH to turn all internal bleeding into normal one
/:cl:

---------

Co-authored-by: vincibrv <[email protected]>
  • Loading branch information
cuberound and uuuuhuuuu authored Oct 26, 2024
1 parent e69a80f commit 6419d16
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions code/__DEFINES/mode.dm
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@
#define MODE_DISPOSABLE_MOBS (1<<10) // Toggles if mobs fit in disposals or not. Off by default.
#define MODE_BYPASS_JOE (1<<11) // Toggles if ghosts can bypass Working Joe spawn limitations, does NOT bypass WL requirement. Off by default.
#define MODE_DISABLE_JOE_RESPAWN (1<<12) // Toggles if ghosts can respawn as Working Joes after dying as one when 15 minutes have passed. Off by default
#define MODE_NO_INTERNAL_BLEEDING (1<<13) // Toggles all internal bleeding behavior to cause normal bleeding instead


#define ROUNDSTATUS_FOG_DOWN 1
#define ROUNDSTATUS_PODDOORS_OPEN 2
Expand Down
2 changes: 1 addition & 1 deletion code/game/gamemodes/extended/extended_clash.dm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "Faction Clash"
config_tag = "Faction Clash"
flags_round_type = MODE_THUNDERSTORM|MODE_FACTION_CLASH
toggleable_flags = MODE_NO_SNIPER_SENTRY|MODE_NO_ATTACK_DEAD|MODE_NO_STRIPDRAG_ENEMY|MODE_STRONG_DEFIBS|MODE_BLOOD_OPTIMIZATION|MODE_NO_COMBAT_CAS
toggleable_flags = MODE_NO_SNIPER_SENTRY|MODE_NO_ATTACK_DEAD|MODE_NO_STRIPDRAG_ENEMY|MODE_STRONG_DEFIBS|MODE_BLOOD_OPTIMIZATION|MODE_NO_COMBAT_CAS|MODE_NO_INTERNAL_BLEEDING
taskbar_icon = 'icons/taskbar/gml_hvh.png'

/datum/game_mode/extended/faction_clash/get_roles_list()
Expand Down
3 changes: 3 additions & 0 deletions code/modules/organs/limbs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -531,6 +531,9 @@ This function completely restores a damaged organ to perfect condition.

if(internal && !can_bleed_internally)
internal = FALSE
if(internal && SSticker.mode && MODE_HAS_TOGGLEABLE_FLAG(MODE_NO_INTERNAL_BLEEDING))
internal = FALSE


if(length(bleeding_effects_list))
if(!internal)
Expand Down

0 comments on commit 6419d16

Please sign in to comment.