chaosvolt / cdda-arcana-mod

Arcana and Magic Items mod for Cataclysm: Dark Days Ahead
Other
164 stars 62 forks source link

[Suggestion/Idea] Earthweaving based construction. #330

Open NegInfinity opened 1 year ago

NegInfinity commented 1 year ago

I think it would be fun if it was possible to construct stone walls and dwellings through earthweaving. Currently it is kinda possible to build walls through use of the spell, however (AFAIK) they do not spawn second floor tiles until you save and reload the game, and it is not possible to earthweave stairs or furniture.

I investigated possibility of creating earthweaving construction recieps where you could creater stairs, simple furniture, proper walls or roof. I had that idea where receiving mutation responsible for earthweaving could be used as a condition for a construction recipe.

In CDDA it doesn't seem to work. Basically, construction recipes can't check for mutation, and I couldn't figure out a way to attach a "fake item" to this mutation.

What is possible, however, is introducing an "Earthweaving talisman" with custom quality "earthweaving" and using it as a tool.

I played with it a bit in a small mod, I've attached relevant files below. There are recipes for the talisman (based on silver glyph), and several construction recipes for rock forge, kiln and stairs.

I'm not sure if this fits into the vision of arcana mod, so if it doesn't, feel free to dismiss as "not planned".

earthweaving.zip

chaosvolt commented 1 year ago

Main issue with that is construction can't just check mutations, yeah.

Now, hackery with a spawned item dependent on the mutation seems less than ideal, but using an earth talisman is another option that could hypothetically make sense. Would have to mess with it, not sure currently. ^^"

NegInfinity commented 1 year ago

Main issue with that is construction can't just check mutations, yeah.

Now, hackery with a spawned item dependent on the mutation seems less than ideal, but using an earth talisman is another option that could hypothetically make sense. Would have to mess with it, not sure currently. ^^"

The archive above has earthweaving talisman recipe and several construction menu recipes. It is pretty much a complete mod, but is missing mod info. It basically converts stone to dirt, builds stone walls and stairs and can create rock forge and kiln out of stone tile. You can find the recipes in * menu by seartching for "earthweav". It is not possible to add a separate "Earthweaving" tab to construction menu through a mod, since it breaks the menu.

Earthweaving talisman, IIRC uses ingredients similar to pattern scroll earthweaving plus a glyph. Meaning if you can craft the pattern scroll, you can craft the talisman.

chaosvolt commented 1 year ago

Ah, that could work I guess. I was actually tempted to use the already-present earth talisman since it also fits thematically, I'll look at the JSON for this if I get the time to though.