Official-Outcast13 / Fallout-13

The codebase for the Outcast 13 server.
https://outcaststhirteen.wikia.com/wiki/Outcasts_Thirteen
GNU Affero General Public License v3.0
6 stars 15 forks source link

Equipment flag/proc to prevent dismember - power armor dismember fix #57

Closed AndrewL97 closed 6 years ago

AndrewL97 commented 6 years ago

[Changelogs]:

:cl: Gomble add: special defence flag in items - allows for snowflake defence scenarios add: power armor now prevents dismemberment - not the helmet, or salvaged though /:cl:

Adds ArmorPreventsDismemberment proc under bodyparts to check if equipment prevents dismemberment.

Any proc that uses dismember(), explosions, bullets, melee weapons, etc. should pick this up.

Also adds special_defence flag to /item/ in case there are any other special scenarios we need to add in the future.

Only added PREVENTDISMEMBER to power armor, but not the helmet. I figured there is at least some gap, and it makes no sense that somebody wearing nothing but the helmet can't get decapitated.

Sansaur commented 6 years ago

Power armors are being reworked into being mech suits @AndrewL97

AndrewL97 commented 6 years ago

fair call @Sansaur Are we def going for mechs? Who is working on that atm?

an Issue # or project would be sweet

Sansaur commented 6 years ago

@AndrewL97 it's @Harcourt1 the one doing it as mechs, I don't know why hasn't he PR'd it yet, since he told us he had everything but some FoV things and I agreed to fix that for him. But anyways, I didn't know you didn't know that, I actually didn't know either until around two or three days ago Harcourt said it in the contributing chat on the Discord.

AndrewL97 commented 6 years ago

Gotcha, I am not in the discord contrib chat, so wouldn't have seen. no worries

Sansaur commented 6 years ago

I'll leave this to you two to decide on what to do.