Skip to content

Commit

Permalink
Fix fot 41 mp build
Browse files Browse the repository at this point in the history
  • Loading branch information
outdead committed Dec 19, 2021
1 parent e0c35d3 commit 3cc189b
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 3 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.

## [Unreleased]

## [v0.6.0] - 2021-12-19
### Fixed
- Fix for 41 mp build.

## [v0.5.0] - 2021-08-21
### Added
- Added tooltips.
Expand Down Expand Up @@ -41,7 +45,8 @@ All notable changes to this project will be documented in this file.
Slender Doe.
- Added EN and RU translations.

[Unreleased]: https://github.com/gorcon/rcon-cli/compare/v0.5.0...HEAD
[Unreleased]: https://github.com/gorcon/rcon-cli/compare/v0.6.0...HEAD
[v0.5.0]: https://github.com/gorcon/rcon-cli/compare/v0.5.0...v0.6.0
[v0.5.0]: https://github.com/gorcon/rcon-cli/compare/v0.4.0...v0.5.0
[v0.4.0]: https://github.com/gorcon/rcon-cli/compare/v0.3.1...v0.4.0
[v0.3.1]: https://github.com/gorcon/rcon-cli/compare/v0.2.3...v0.3.1
Expand Down
6 changes: 4 additions & 2 deletions src/lua/client/actions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
-- Permanent Effects Drinks adds drinks with a permanent effect
--

local version = "0.4.0"
local version = "0.6.0"

local pzversion = string.sub(getCore():getVersionNumber(), 1, 2)

-- SlenderDoeSetWeight contains the weight value that will be set to
-- the character after applying the drink.
Expand All @@ -21,7 +23,7 @@ function PerkLevelup(player, perkType, addGlobalXP)

player:getXp():AddXP(perkType, amount, false, false, false, true);

if not perk:isPassiv() then
if not perk:isPassiv() and pzversion == "40" then
-- if addGlobalXP is false current skill points will be used.
if addGlobalXP then
-- add XP only for one level.
Expand Down
10 changes: 10 additions & 0 deletions workshop/workshop.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,51 +6,61 @@ description=
description=[h1]Drink List[/h1]
description=[table]
description=[tr]
description=[th][/th]
description=[th]Code[/th]
description=[th]Name[/th]
description=[th]Effect[/th]
description=[/tr]
description=[tr]
description=[td][img]https://raw.githubusercontent.com/openzomboid/permanent-effects-drinks/master/src/textures/Item_HastyHerring.png[/img][/td]
description=[td]HastyHerring[/td]
description=[td]Hasty Herring[/td]
description=[td]Permanently increases Sprinting by 1[/td]
description=[/tr]
description=[tr]
description=[td][img]https://raw.githubusercontent.com/openzomboid/permanent-effects-drinks/master/src/textures/Item_HastyHerring.png[/img][/td]
description=[td]DoubleHastyHerring[/td]
description=[td]Double Hasty Herring[/td]
description=[td]Permanently increases Fitness by 1, Sprinting by 1[/td]
description=[/tr]
description=[tr]
description=[td][img]https://raw.githubusercontent.com/openzomboid/permanent-effects-drinks/master/src/textures/Item_GreedyHammer.png[/img][/td]
description=[td]GreedyHammer[/td]
description=[td]Greedy Hammer[/td]
description=[td]Permanently increases Blunt Accuracy by 1[/td]
description=[/tr]
description=[tr]
description=[td][img]https://raw.githubusercontent.com/openzomboid/permanent-effects-drinks/master/src/textures/Item_DoubleGreedyHammer.png[/img][/td]
description=[td]DoubleGreedyHammer[/td]
description=[td]Double Greedy Hammer[/td]
description=[td]Permanently increases Strength by 1, Blunt Accuracy by 1[/td]
description=[/tr]
description=[tr]
description=[td][img]https://raw.githubusercontent.com/openzomboid/permanent-effects-drinks/master/src/textures/Item_GreedyAxe.png[/img][/td]
description=[td]GreedyAxe[/td]
description=[td]Greedy Axe[/td]
description=[td]Permanently increases Blade Accuracy by 1[/td]
description=[/tr]
description=[tr]
description=[td][img]https://raw.githubusercontent.com/openzomboid/permanent-effects-drinks/master/src/textures/Item_DoubleGreedyAxe.png[/img][/td]
description=[td]DoubleGreedyAxe[/td]
description=[td]Double Greedy Axe[/td]
description=[td]Permanently increases Strength by 1, Blade Accuracy by 1[/td]
description=[/tr]
description=[tr]
description=[td][img]https://raw.githubusercontent.com/openzomboid/permanent-effects-drinks/master/src/textures/Item_StrayBullet.png[/img][/td]
description=[td]StrayBullet[/td]
description=[td]Stray Bullet[/td]
description=[td]Permanently increases Firearm Aiming by 1[/td]
description=[/tr]
description=[tr]
description=[td][img]https://raw.githubusercontent.com/openzomboid/permanent-effects-drinks/master/src/textures/Item_SlenderDoe.png[/img][/td]
description=[td]SlenderDoe[/td]
description=[td]Slender Doe[/td]
description=[td]Sets the character's weight to 80 kg (fix broken ingame weight loss)[/td]
description=[/tr]
description=[tr]
description=[td][img]https://raw.githubusercontent.com/openzomboid/permanent-effects-drinks/master/src/textures/Item_NicotineOverdose.png[/img][/td]
description=[td]NicotineOverdose[/td]
description=[td]Nicotine Overdose[/td]
description=[td]The best way to quit smoking[/td]
Expand Down

0 comments on commit 3cc189b

Please sign in to comment.