Mannatwo / Neurotrauma

A medical overhaul mod for Barotrauma, the 2D online multiplayer game taking place in a submarine travelling through the icy depths of Jupiter's moon Europa.
21 stars 34 forks source link

Neurotrauma contains fuction #32

Closed esirprus closed 1 year ago

esirprus commented 1 year ago

reported by discord player WarMechanic#4982

Previous code shows identifier startwith "wrench" can treat dislocation such as "wrench", "wrenchdementonite" heavy wrench can't fix dislocations at this time. because the identifier "heavywrench" not startwith "wrench".

neurotrauma override wrench let it be a suitable treatment for dislocation. and heavy wrench is variant of wrench, so it will also show in health interface. this pr add StringContains it will let heavywrench treat dislocation crowbar screwdriver divingknife wrench now use StringContains instead of Startwith, it means that some mod items can treat if their identifier contains these strings. and NTcyb vanilla change

Mannatwo commented 1 year ago

i'll do this one, differently as for "nt cyb vanilla change" thats a good one i would love to merge that commit and that commit only