Search found 1 match

by zeramorphic
Sat Dec 28, 2024 12:47 am
Forum: Resolved Requests
Topic: [2.0.28] ItemProductPrototype::amount is not a uint16
Replies: 2
Views: 424

[2.0.28] ItemProductPrototype::amount is not a uint16

The type of `amount` in ItemProductPrototype is listed as `uint16`, but many of the recycling recipes in `data.raw` have floating-point values for their craft amount. For example, in `accumulator-recycling`, there is the block


amount = 1.25,
extra_count_fraction = 0.25,
name = "battery",
type ...

Go to advanced search