1 Commits
v2.0.1 ... v2.0

Author SHA1 Message Date
Pao
92334b2f54 Update README.md 2024-05-02 20:41:18 +02:00
4 changed files with 6 additions and 9 deletions

View File

@@ -7,7 +7,7 @@
<img src='https://img.shields.io/badge/Steam-000000?style=for-the-badge&logo=steam&logoColor=white' />
</a>
</p>
# You're bitten. You have two choices.
You're bitten. You have two choices.
Wait until you succumb to the virus or take matters into your hands. Cut off that infected part and live to die another day.
This version of **The Only Cure** has been rebuilt from scratch to support future additions and to feel as close as possible as a vanilla mechanic.
@@ -16,7 +16,6 @@ This version of **The Only Cure** has been rebuilt from scratch to support futur
Supports **Single Player** and **Multiplayer**!
# Setup
Use it with the following mods for the intended experience:
- [Fancy Handwork](https://steamcommunity.com/sharedfiles/filedetails/?id=2904920097)

View File

@@ -268,7 +268,7 @@ end
local function CheckLimbFeasibility(limbName)
local dcInst = DataController.GetInstance()
local isFeasible = not dcInst:getIsCut(limbName) or dcInst:getIsProstEquipped(limbName)
--TOC_DEBUG.print("isFeasible="..tostring(isFeasible))
TOC_DEBUG.print("isFeasible="..tostring(isFeasible))
return isFeasible
end

View File

@@ -71,13 +71,11 @@ function TourniquetController.WrapClothingAction(obj, wrappedFunc)
group:setMultiItem(TourniquetController.bodyLoc, false)
end
local ogValue = wrappedFunc(obj)
wrappedFunc(obj)
if isTourniquet then
group:setMultiItem(TourniquetController.bodyLoc, true)
end
return ogValue -- Needed for isValid
end
@@ -100,12 +98,12 @@ end
local og_ISWearClothing_isValid = ISWearClothing.isValid
function ISWearClothing:isValid()
return TourniquetController.WrapClothingAction(self, og_ISWearClothing_isValid)
TourniquetController.WrapClothingAction(self, og_ISWearClothing_isValid)
end
local og_ISUnequipAction_perform = ISUnequipAction.perform
function ISUnequipAction:perform()
return TourniquetController.WrapClothingAction(self, og_ISUnequipAction_perform)
TourniquetController.WrapClothingAction(self, og_ISUnequipAction_perform)
end

View File

@@ -4,5 +4,5 @@ description=Bitten? Not a problem!
id=TheOnlyCure
icon=icon.png
url=https://github.com/ZioPao/The-Only-Cure
modversion=2.0.1
modversion=2.0
pzversion=41.65