Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

small #3605

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

small #3605

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -154,3 +154,9 @@ function closePanel()
pane.dismiss()
end

function uninit()
local oreSlotItem = widget.itemSlotItem("oreSlot")
if oreSlotItem then
player.giveItem(oreSlotItem)
end
end
2 changes: 1 addition & 1 deletion quests/madness/madnessdata.lua
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ function update(dt)
if self.timerCounterGenes >= (1+afkLvl) then
if afkLvl <= 3 then
self.rewardedGenes = status.stat("isXi")
if status.stat("isXi") then
if self.rewardedGenes>0 then
if self.timerCounterGenes >= (25 - self.rewardedGenes) then
if player.currency("fugeneticmaterial") <= 99 then -- dont generate more unless below 100 genes to prevent abusing for profit
player.addCurrency("fugeneticmaterial", self.rewardedGenes)
Expand Down