Skip to content
Open
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
4 changes: 2 additions & 2 deletions pythonProject/base_structure.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def create_base_structure(path: str, game_name: str, game_dict: dict):
item_obj.Active = false
elseif item_obj.Type == "progressive" then
item_obj.CurrentStage = 0
item_obj.CurrentStage = item_obj.CurrentStage + 1
item_obj.CurrentStage = item_obj.initial_stage_idx
elseif item_obj.Type == "consumable" then
if item_obj.MinCount then
item_obj.AcquiredCount = item_obj.MinCount
Expand Down Expand Up @@ -176,7 +176,7 @@ def create_base_structure(path: str, game_name: str, game_dict: dict):
item_obj.Active = true
elseif item_obj.Type == "progressive" then
-- print("progressive")
item_obj.Active = true
item_obj.CurrentStage = item_obj.CurrentStage + 1
elseif item_obj.Type == "consumable" then
-- print("consumable")
item_obj.AcquiredCount = item_obj.AcquiredCount + item_obj.Increment * (tonumber(item_pair[3]) or 1)
Expand Down