Skip to content

Commit

Permalink
add version to global table
Browse files Browse the repository at this point in the history
thirsty.version = 0.103
  • Loading branch information
sirrobzeroone committed Sep 27, 2021
1 parent 78b5587 commit c55098c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
-- A mod that adds a "thirst" mechanic, similar to hunger --
-- Copyright (C) 2015 Ben Deutsch <ben@bendeutsch.de> --
------------------------------------------------------------
-- name idea thirsty_revive or thirsty_renew
---------------
--[[ License --
---------------
Expand Down Expand Up @@ -47,6 +48,8 @@ is still called "thirst", but the visible bar is that of

thirsty = {}

thirsty.version = 0.103

-- simple toboolean function that handles nil
thirsty.tobool = function(value)
if value == nil then
Expand Down

0 comments on commit c55098c

Please sign in to comment.