Page 1 of 1

place_result of an item based on its quality

Posted: Wed Nov 20, 2024 8:26 pm
by MonoToast
TL;DR
Allow the place_result of an item to vary based on its quality, enabling greater customization of entities through the modding API.
What?
adding functionality to the modding API that enables modders to specify the place_result of an item based on its quality.

Here’s an example of how this might look in the data structure:

item = {
name = "cargo-wagon",
type = "item",
place_result_by_quality_level = {
["0"] = "cargo-wagon", -- Default quality
["1"] = "uncommon-cargo-wagon", -- Uncommon quality
["2"] = "rare-cargo-wagon" -- Rare quality
}
}
Why?
This feature would allowing modders to customize entities in ways that better align with their creative visions. It would also open up new gameplay possibilities:

Create progression systems: Higher-quality entities could provide unique features.
Improve balance: Finer tuning of all performance-related properties across quality tiers would be possible.
Expand modding utility: Unlock more creative applications of item qualities, enriching the modding ecosystem.

Examples:

cargo wagons could correlate quality tiers with inventory size, air resistance, weight, or friction.
quality assembly machine could feature unique textures, animations, or sounds.

Re: place_result of an item based on its quality

Posted: Fri Nov 22, 2024 9:57 pm
by Koub
[Koub] Moved to Modding interface requests.