Merge pull request #80 from ZioPao/dev

v2.0.14
This commit is contained in:
Pao
2024-06-04 09:53:14 +02:00
committed by GitHub
4 changed files with 99 additions and 3 deletions

View File

@@ -6,7 +6,7 @@ require("TOC/Events")
---@class Main
local Main = {
_version = "2.0.13"
_version = "2.0.14"
}
function Main.Start()

View File

@@ -13,7 +13,8 @@ local CutLimbAction = require("TOC/TimedActions/CutLimbAction")
---Check if the item type corresponds to a compatible saw
---@param itemType string
local function CheckIfSaw(itemType)
return itemType:contains(StaticData.SAWS_TYPES_IND_STR.saw) or itemType:contains(StaticData.SAWS_TYPES_IND_STR.gardenSaw)
return itemType == StaticData.SAWS_TYPES_IND_STR.saw
or itemType == StaticData.SAWS_TYPES_IND_STR.gardenSaw
end
---Return a compatible bandage

View File

@@ -4,5 +4,5 @@ description=You've been bitten. You have only two choices.
id=TheOnlyCure
icon=icon.png
url=https://github.com/ZioPao/The-Only-Cure
modversion=2.0.13
modversion=2.0.14
pzversion=41.65

View File

@@ -0,0 +1,95 @@
version=1
id=3236152598
title=The Only Cure - Rebuilt
description=[img]https://raw.githubusercontent.com/ZioPao/The-Only-Cure/551125bb50cb65608ad89ca81ef0daccb3b02c4c/dev_stuff/logos/title.png[/img]
description=
description=
description=[h1]You're bitten. You have two choices.[/h1]
description=Wait until you succumb to the virus or take matters into your hands. Cut off that infected part and live to die another day.
description=
description=This version of [b]The Only Cure[/b] has been rebuilt from scratch to support future additions and to feel as close as possible as a vanilla mechanic.
description=
description=[b]If you're using an older version of The Only Cure and want to switch with this, you're gonna need to create a new character\save to prevent issues.[/b]
description=[b]The older version will be delisted shortly and it will not be supported anymore.[/b]
description=[h1]Supports [b]Single Player[/b] and [b]Multiplayer[/b]. Host Mode is currently [b]UNSUPPORTED![/b][/h1]
description=
description=[h1]Setup[/h1]
description=Use it with the following mods for the intended experience:
description=[list]
description=[*] [url=https://steamcommunity.com/sharedfiles/filedetails/?id=2904920097]Fancy Handwork[/url]
description=[*] [url=https://steamcommunity.com/sharedfiles/filedetails/?id=2934621024]Brutal Handwork[/url]
description=[/list]
description=
description=Place them [b]BEFORE[/b] The Only Cure in your mod list!
description=
description=[hr][/hr]
description=
description=[h1]Quick guide[/h1]
description=[h2]Amputation[/h2]
description=Get a [i]Saw[/i] or a [i]Garden Saw[/i], right click on it, and choose which limb to amputate. You can also drag n' drop your Saw item directly into the afflicted area to start cutting it off.
description=
description=If you have some [i]bandages[/i] and\or [i]stitches[/i] in your inventory you will automatically use them, multiplying the chances of your survival.
description=If you have a [i]tourniquet[/i], place it on the correct side to dampen the amount of damage you will take after you're done amputating the limb.
description=
description=Keep in mind that if you amputate your [b]upper arm[/b], you won't be able to equip any prosthesis.
description=
description=After you've amputated a limb, you will gain [b]skill points[/b] for the amputated side, making timed actions faster in due time.
description=
description=[h2]Cicatrization[/h2]
description=You can check the cicatrization status of an amputated limb from your [b]Health Panel[/b]
description=From time to time, you should clean your wounds with a bandage to help the cicatrization process.
description=If your limb isn't completely cicatrized, you can still equip prosthetic limbs, but that can trigger random bleedings from that area.
description=
description=[h2]Prosthetics[/h2]
description=If you're missing a hand, you won't be able to do a lot of things, such as equipping two-handed weapons. With prosthetics limbs, you can fix that.
description=There are two prosthesis type that can be crafted\found in medical areas:
description=[list]
description=[*] Hook Prosthesis
description=[*] Arm Prosthesis
description=[/list]