SamuXarick

Results 60 issues of SamuXarick

## Motivation / Problem There is no method to get how much a certain amount of cargo weight in tonnes. ## Description Add ScriptCargo::GetWeight(cargo_type, amount). It gets how much the...

## Motivation / Problem ScriptRoad::HasRoadType was only checking if the tile had the same RoadTramType as that of the RoadType provided. ## Description Now it really checks RoadType against RoadType....

This ensures that the value '-1' always refer to an invalid result, while values '>= 0' as valid values. ## Motivation / Problem GetQuarterlyExpenses could return '-1' for invalid and...

## Motivation / Problem AI Collect Garbage is not measured by Frame Rate Performance Measurer ## Description Move CollectGarbage inside the scope of PerformanceMeasurer ## Limitations CollectGarbage no longer executes...

## Motivation / Problem When a company closes, shares are sold. To get the value of these shares, company value calculations are issued. But the way it's currently implemented, it...

## Motivation / Problem There is a story behind all this, before I started working on the PR. It all began when I was interested in knowing why travelling vertically/horizontally...

candidate: probably not

## Motivation / Problem Tiles at the edges of the map only start to be flooded if they are of type Clear. If they are of any other type, there...

Fix: Also add the cost of clearing objects on water ## Motivation / Problem NewGRF objects, like Rocks on water prever docks from being built. ![Unnamed, 1950-01-01#6](https://user-images.githubusercontent.com/43006711/103904805-b04d5600-50f5-11eb-9f6c-a1b23f0609b3.png) But other water...

size: small
candidate: needs considering
work: missing intention

## Motivation / Problem ![road and house flooded](https://user-images.githubusercontent.com/43006711/103466811-4c670e00-4d40-11eb-9169-a4ee78f89965.png) During world generation, town growth algorithm is speed up, allowing the town to perform multiple sequential growth actions, like building houses, roads,...

size: small

## Motivation / Problem Players that make use of rivers for their ships can have another player come in and easily destroy the river just to lay their rail tracks...

size: large
candidate: needs considering