Search found 6 matches

by lambdalemon
Tue Nov 12, 2024 1:49 pm
Forum: Modding interface requests
Topic: Allow spoil_result to spoil into multiple weighted items
Replies: 6
Views: 570

Allow spoil_result to spoil into multiple weighted items

Allow items to spoil into multiple items using a weighted value. And also only allow the item to spoil into one item at a time.

data.raw["item"]["iron-plate"].spoil_result = {
{
name = "copper-ore",
weight = 1
},
{
name = "iron-ore",
weight = 99
}
}
by lambdalemon
Sun Nov 10, 2024 5:36 pm
Forum: Modding interface requests
Topic: Allow spoil_to_trigger to pass cause_entity to on_script_trigger_effect
Replies: 0
Views: 162

Allow spoil_to_trigger to pass cause_entity to on_script_trigger_effect

I would like it so that when using spoil_to_trigger to pass the cause_entity which would be passed when the item is on the ground which would allow for an easier dynamic spoilage system.
by lambdalemon
Thu Nov 07, 2024 10:11 am
Forum: Not a bug
Topic: [2.0.14] Quality crashes when malformed recipe
Replies: 5
Views: 431

Re: [2.0.14] Quality crashes when malformed recipe

Prototype validation could just check this and produce an error with malformed prototype, I don't think this would be a high priority bug. It would be a nice thing to have though.
by lambdalemon
Thu Nov 07, 2024 9:47 am
Forum: Not a bug
Topic: [2.0.14] Quality crashes when malformed recipe
Replies: 5
Views: 431

Re: [2.0.14] Quality crashes when recipes maps to itself

In that case it's a bug because it should show it's a malformed recipe, not a quality issue.
by lambdalemon
Thu Nov 07, 2024 9:34 am
Forum: Not a bug
Topic: [2.0.14] Quality crashes when malformed recipe
Replies: 5
Views: 431

[2.0.14] Quality crashes when malformed recipe


data:extend{{
type = "recipe",
name = "unspoil-yumako",
ingredients = {
type = "item",
name = "yumako",
amount = 1
},
results = {
type = "item",
name = "yumako",
amount = 1,
percent_spoiled = 0
},
enabled = true
}}
by lambdalemon
Wed Oct 23, 2024 12:07 pm
Forum: Resolved Problems and Bugs
Topic: [Rseding91] [2.0.9] Crash setting planet icon (PlanetPrototype::getResources)
Replies: 1
Views: 684

[Rseding91] [2.0.9] Crash setting planet icon (PlanetPrototype::getResources)

Code: Select all

data:extend{
    {
        type = "planet",
        name = "fondant",
        distance = 20.0,
        orientation = 0.0,
        icon = "__fondue__/graphics/fondantplanet.png"
    }
}

Go to advanced search