Skip to content

Improvement_AdjacentImprovementYieldChanges should be changed into Improvement_YieldPerXAdjacentImprovement for VP 4.20 #9

@haifengkao

Description

@haifengkao

Improvement_AdjacentImprovementYieldChanges has been renamed in VP 4.20 LoneGazebo/Community-Patch-DLL#11214


-- Yield changes from adjacent to other Improvements
			for row in GameInfo.Improvement_YieldPerXAdjacentImprovement(item.condition) do
				local improvement = GameInfo.Improvements[row.OtherImprovementType];
				if improvement then
					table.insert(item.yieldChanges, { yieldType = row.YieldType, yield = row.Yield, name = L(improvement.Description), type = "IMPROVEMENT", cause = adjacentToCause });
				else
					ReportBadRef("Improvement_YieldPerXAdjacentImprovement", row.OtherImprovementType, item.type);
				end
			end
		end

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions