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.
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
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