I would like to change the location of the base crafting tab location. I know this has to do with re-addressing the sort order in my own created tabs but how do I access the base tabs so that I can change their default locations?
Basically I'm trying to place my created tabs before the base tabs if ...
Search found 9 matches
- Mon Jan 11, 2016 5:06 am
- Forum: Modding help
- Topic: Base Crafting Tab Location
- Replies: 1
- Views: 5115
- Tue Dec 29, 2015 10:43 pm
- Forum: Modding help
- Topic: data.raw Question
- Replies: 1
- Views: 5511
data.raw Question
How do you address an item that seems to be a couple levels deep in code?
For example. Say I want to change the Mining Axe damage amount from 8 to 10.
type = "mining-tool",
name = "steel-axe",
icon = "__base__/graphics/icons/steel-axe.png",
flags = {"goes-to-main-inventory"},
action ...
For example. Say I want to change the Mining Axe damage amount from 8 to 10.
type = "mining-tool",
name = "steel-axe",
icon = "__base__/graphics/icons/steel-axe.png",
flags = {"goes-to-main-inventory"},
action ...
- Mon Dec 28, 2015 9:29 am
- Forum: Modding help
- Topic: Fishy Question
- Replies: 2
- Views: 9378
Re: Fishy Question
I manage to figure out how to get both types of fish to appear in the game but it definitely favors populating the catfish. I can't seem to make it balance out or have the catfish to appear only in deeper water. Hope the code below shows up alright. I'm new to this forum thing so forgive my ...
- Thu Dec 24, 2015 9:41 pm
- Forum: Modding help
- Topic: Fishy Question
- Replies: 2
- Views: 9378
Fishy Question
Ok, so I added a new fish to a mod I'm working on. It populates in the world just fine, and it displays as expected. But now the normal fish are gone in world. I would like to have both fish (and others) populated in the world.
I think it has something to do with autoplace. Does it have to have a ...
I think it has something to do with autoplace. Does it have to have a ...
- Sun Dec 06, 2015 7:03 pm
- Forum: Modding help
- Topic: Remove default starting items.
- Replies: 2
- Views: 5467
Re: Remove default starting items.
Thanks again prg,
I have the 1st part working correctly so no default Items are in the players inventory when a new game is started. Now to begin with the research part.
I have the 1st part working correctly so no default Items are in the players inventory when a new game is started. Now to begin with the research part.
- Sat Dec 05, 2015 11:21 pm
- Forum: Modding help
- Topic: Remove default starting items.
- Replies: 2
- Views: 5467
Remove default starting items.
Ok, so when I start a new game it always gives the default items. Mining Drill, Stone Furnace, and Iron Plates.
I would like to change this in my mod so that these items are not given to the player and then give a default item that i have created to become the default Item. The default item would ...
I would like to change this in my mod so that these items are not given to the player and then give a default item that i have created to become the default Item. The default item would ...
- Sat Dec 05, 2015 11:12 pm
- Forum: Modding help
- Topic: Changing Item Picture
- Replies: 4
- Views: 5407
Re: Changing Item Picture
Yes,
That worked.
Thanks prg
That worked.
Thanks prg
- Sat Dec 05, 2015 10:10 pm
- Forum: Modding help
- Topic: Changing Item Picture
- Replies: 4
- Views: 5407
Re: Changing Item Picture
So here's what i have for the code to change the icon picture of the iron-axe. This is in the data-updates.lua.
data.raw.mining-tools["iron-axe"].icon = "__DSD__/graphics/axes/iron-axe.png"
But I get this error.
__DSD__/data-updates.lua:1: syntax error near '-'
Any ideas?
data.raw.mining-tools["iron-axe"].icon = "__DSD__/graphics/axes/iron-axe.png"
But I get this error.
__DSD__/data-updates.lua:1: syntax error near '-'
Any ideas?
- Sat Dec 05, 2015 8:19 am
- Forum: Modding help
- Topic: Changing Item Picture
- Replies: 4
- Views: 5407
Changing Item Picture
I'd like to change the default base item picture (icon) to one that i have created without removing the original base picture. Is it possible to have a mod do so and if so, how?