Dwarf Fortress

Dwarf Fortress

Musket Mod
Alomoes  [developer] 30 Dec, 2022 @ 8:46am
How do you add graphics to an item?
I didn't expect this to be so hard, I believe I have the code right, copied from vanilla, it's just not working.

Either way, I have graphics made by stone Stone Ogre.
< >
Showing 1-3 of 3 comments
KM.One 30 Dec, 2022 @ 1:37pm 
I would try the discord server, they have a section called modding forge. they have help me a ton.
https://discord.gg/kitfoxgames
KM.One 30 Dec, 2022 @ 2:02pm 
Also for better mod compatibility, you should just add the new stuff to your entity file. Adding the entire mountain tag is unnecessary.

The entire file should just be a few line. like so....

entity_default

[OBJECT:ENTITY]

[ENTITY:MOUNTAIN]
[WEAPON:ITEM_WEAPON_MUSKET]
[WEAPON:ITEM_WEAPON_MUSKETBAYONET]
[AMMO:ITEM_AMMO_MUSKETBALL]
[WEAPON:ITEM_AMMO_SLUGTHROWER]
[AMMO:ITEM_AMMO_SLUG]
[WEAPON:ITEM_WEAPON_LONGRIFLE]
[ITEM_AMMO:RIFLEBULLET]
[WEAPON:ITEM_WEAPON_SIEGECANNON]
[ITEM_AMMO_CANNONBALL]

[PERMITTED_REACTION:MAKE_MUSKET_BAYONET]
[PERMITTED_REACTION:MAKE_RIFLED_MUSKET_BAYONET]

____________________
This will just add the ability to add gun to the already existing [ENITIY:MOUNTAIN]. that way other mods can edit the mountain entity too with less chance of conflict.

you can do the same for forest, skulking, ect....
Alomoes  [developer] 30 Dec, 2022 @ 4:49pm 
Oh cool. I did not know that.
< >
Showing 1-3 of 3 comments
Per page: 1530 50