Search found 7 matches
- Wed Jul 15, 2020 10:11 pm
- Forum: Modding help
- Topic: Remove Vanilla Ores
- Replies: 9
- Views: 2068
Re: Remove Vanilla Ores
Here's the function I use, it removes it from all the autoplace controls and then removes the resource itself: local function RemoveResource(resource, fromResourceList) local map_gen_presets = data.raw["map-gen-presets"]["default"] data.raw["autoplace-control"][resource...
- Wed Jul 15, 2020 9:15 pm
- Forum: Modding help
- Topic: Can I make 2.5d sprites in resources?
- Replies: 2
- Views: 732
Re: Can I make 2.5d sprites in resources?
I've attached an example of how it renders in-game. I'm hoping to get each "row" of wheat rendering in front of anything at the same horizontal position or above, basically.
- Wed Jul 15, 2020 9:00 pm
- Forum: Modding help
- Topic: Can I make 2.5d sprites in resources?
- Replies: 2
- Views: 732
Can I make 2.5d sprites in resources?
To clarify my admittedly murky attempt at a subject: I am making a new resource (Wheat) for a mod. I have made a texture for it with stages, and that part seems to work fine and even looks decent enough by itself and functions just fine, but there's a couple graphical problems in game. Basically, I ...
- Mon Jul 17, 2017 8:34 pm
- Forum: Resolved Problems and Bugs
- Topic: [0.15.x] Crash on tech screen if all techs disabled
- Replies: 2
- Views: 2061
[0.15.x] Crash on tech screen if all techs disabled
I'm writing a scenario that has a "tutorial" component to it. As part of this, I want to disable *all* technologies until they reach the point in the 'Now research some stuff' part of the tutorial, at which point I enable techs incrementally in order to limit confusion. In 0.14 this was po...
- Sun Feb 19, 2017 6:09 am
- Forum: Modding help
- Topic: Missing Recipe Errors
- Replies: 8
- Views: 2592
Re: Missing Recipe Errors
I've found a safer way to disable recipes and techs is simply disabling them, rather than deleting them. If you're worried about someone using research_all_techs, which does indeed unlock disabled techs too, you can also modify the disabled techs to have no effects.
- Sun Feb 19, 2017 6:06 am
- Forum: Modding help
- Topic: Recipe is in crafting category but has a non-item product
- Replies: 6
- Views: 1487
Re: Recipe is in crafting category but has a non-item product
You need to change the category. 'crafting-with-fluids' is usually what I set things to when they have a fluid component. I don't know any particular gameplay difference between that and 'advanced-crafting'
- Sat Feb 18, 2017 4:28 am
- Forum: Modding help
- Topic: Achievements in Mods
- Replies: 1
- Views: 1100
Achievements in Mods
Is there any documentation on how to create achievements anywhere? I wasn't able to find anything on the official lua site or wiki. What I'd like to do is create an achievement for crafting a certain item within the first ten minutes of the game. I've got two questions. One, it seems like this isn't...