Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1] 2

Author Topic: Curtains and tapestries  (Read 2552 times)

peregarrett

  • Bay Watcher
  • Гномовержец Enjoyed throwing someone recently
    • View Profile
Curtains and tapestries
« on: August 17, 2012, 02:42:06 am »

I've just got an idea to make subject. Some kind of construction that is:
- Impassible
- Can be decorated with everything, including sewn images
- Made of cloth

is it possible? Say, WINDOW:NONE:GET_MATERIAL_FROM_REAGENT:cloth as a product, will it work? or STATUE? or GRATE?
Logged
Did you know that the Russian word for "sock" is "no sock"?
I just saw a guy with two broken legs push a minecart with a corpse in it. Yeah.

i2amroy

  • Bay Watcher
  • Cats, ruling the world one dwarf at a time
    • View Profile
Re: Curtains and tapestries
« Reply #1 on: August 17, 2012, 02:51:13 am »

Sounds possible to me. The best way that I think to do it would be to make a cloth window and then a custom workshop called "tapestry stand" or something like that that would have a single 1 tile impassable building that requires a window made of cloth to make.
Logged
Quote from: PTTG
It would be brutally difficult and probably won't work. In other words, it's absolutely dwarven!
Cataclysm: Dark Days Ahead - A fun zombie survival rougelike that I'm dev-ing for.

peregarrett

  • Bay Watcher
  • Гномовержец Enjoyed throwing someone recently
    • View Profile
Re: Curtains and tapestries
« Reply #2 on: August 17, 2012, 02:57:10 am »

Sounds possible to me. The best way that I think to do it would be to make a cloth window and then a custom workshop called "tapestry stand" or something like that that would have a single 1 tile impassable building that requires a window made of cloth to make.
Yes, that is possible, but will cloth window be improvable with sewn images?
Logged
Did you know that the Russian word for "sock" is "no sock"?
I just saw a guy with two broken legs push a minecart with a corpse in it. Yeah.

i2amroy

  • Bay Watcher
  • Cats, ruling the world one dwarf at a time
    • View Profile
Re: Curtains and tapestries
« Reply #3 on: August 17, 2012, 03:06:52 am »

You would probably need to make a custom reaction to sew an image on to it, but it should technically be possible.
Logged
Quote from: PTTG
It would be brutally difficult and probably won't work. In other words, it's absolutely dwarven!
Cataclysm: Dark Days Ahead - A fun zombie survival rougelike that I'm dev-ing for.

peregarrett

  • Bay Watcher
  • Гномовержец Enjoyed throwing someone recently
    • View Profile
Re: Curtains and tapestries
« Reply #4 on: August 17, 2012, 03:11:29 am »

You would probably need to make a custom reaction to sew an image on to it, but it should technically be possible.
Wiki says, inprovement reaction doesn't allow images:
Quote
The following improvement types can be used:
Token    Meaning
COVERED    Item is encrusted/studded/decorated with <material>.
GLAZED    Item is glazed with <material>.
RINGS_HANGING    Item is adorned with hanging rings of <material>.
BANDS    Item is encircled with bands of <material>.
SPIKES    Item menaces with spikes of <material>.
PAGES    Adds pages to a book.
All other item improvement tokens (ART_IMAGE, ITEMSPECIFIC, THREAD, CLOTH, SEWN_IMAGE, and ILLUSTRATION) are ignored.

that's bad  :(

I can only come with workaround - make and sew bag, then use it in that one-tile workshop as a construction. But that kind of sucks  >:(
Logged
Did you know that the Russian word for "sock" is "no sock"?
I just saw a guy with two broken legs push a minecart with a corpse in it. Yeah.

peregarrett

  • Bay Watcher
  • Гномовержец Enjoyed throwing someone recently
    • View Profile
Re: Curtains and tapestries
« Reply #5 on: August 18, 2012, 06:25:45 am »

Wanted to test it, but it won't appear it workshop list. What did I do wrong?

reactions:
Code: [Select]
reactions_test

[OBJECT:REACTION]

[REACTION:CLOTH_CURTAIN_WINDOW]
[NAME:Make cloth curtain(window)]
[BUILDING:CRAFTSMAN:NONE]
[REAGENT:cloth:10000:CLOTH:NONE:NONE:NONE]
[PRODUCT:100:1:WINDOW:NONE:GET_MATERIAL_FROM_REAGENT:cloth:NONE]
[SKILL:CLOTHESMAKING]

[REACTION:CLOTH_CURTAIN_DOOR]
[NAME:Make cloth curtain(door)]
[BUILDING:CRAFTSMAN:NONE]
[REAGENT:cloth:10000:CLOTH:NONE:NONE:NONE]
[PRODUCT:100:1:DOOR:NONE:GET_MATERIAL_FROM_REAGENT:cloth:NONE]
[SKILL:CLOTHESMAKING]

entity:
Code: [Select]
[PERMITTED_REACTION:CLOTH_CURTAIN_WINDOW]
[PERMITTED_REACTION:CLOTH_CURTAIN_DOOR]
raws are vanilla except for these changes.
Logged
Did you know that the Russian word for "sock" is "no sock"?
I just saw a guy with two broken legs push a minecart with a corpse in it. Yeah.

TomiTapio

  • Bay Watcher
  • OldGenesis since 2012
    • View Profile
    • My Flickr animal photos
Re: Curtains and tapestries
« Reply #6 on: August 18, 2012, 07:38:47 am »

Make a new type of Cloak, and call it carpet or tapestry or Wall Rug. Then a one-tile passable workshop with it.
Logged
==OldGenesis mod== by Deon & TomiTapio. Five wood classes, four leather classes. Nine enemy civs. So much fine-tuning.
47.05e release: http://dffd.bay12games.com/who.php?id=1538
OldGenesis screenshots: https://twitter.com/hashtag/OldGenesis?src=hashtag_click&f=image
My Finnish language file: http://dffd.bay12games.com/file.php?id=14884

i2amroy

  • Bay Watcher
  • Cats, ruling the world one dwarf at a time
    • View Profile
Re: Curtains and tapestries
« Reply #7 on: August 18, 2012, 09:52:35 am »

Did you remember to enable the reactions in the dwarven entity? [PERMITTED_REACTION:XXXX]

Also the cloak idea does have the merits of being able to sew images in it, though it might get a little annoying when some dwarf claims the tapestry you have been working on for so long and decides to wear it around instead of making an awesome wall hanging with it.
Logged
Quote from: PTTG
It would be brutally difficult and probably won't work. In other words, it's absolutely dwarven!
Cataclysm: Dark Days Ahead - A fun zombie survival rougelike that I'm dev-ing for.

peregarrett

  • Bay Watcher
  • Гномовержец Enjoyed throwing someone recently
    • View Profile
Re: Curtains and tapestries
« Reply #8 on: August 18, 2012, 11:02:21 am »

Did you remember to enable the reactions in the dwarven entity? [PERMITTED_REACTION:XXXX]
yes. Don't know WTF it's not shown.
entity:
Code: [Select]
[PERMITTED_REACTION:CLOTH_CURTAIN_WINDOW]
[PERMITTED_REACTION:CLOTH_CURTAIN_DOOR]

Quote
Also the cloak idea does have the merits of being able to sew images in it, though it might get a little annoying when some dwarf claims the tapestry you have been working on for so long and decides to wear it around instead of making an awesome wall hanging with it.
Yes, dwarves stealing tapestries to wear are annoying. But dwarfy too.

I can use bags instead of cloaks, they are sewable too.

BTw, does workshop's value increase cost of room it's in?
Logged
Did you know that the Russian word for "sock" is "no sock"?
I just saw a guy with two broken legs push a minecart with a corpse in it. Yeah.

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: Curtains and tapestries
« Reply #9 on: August 18, 2012, 11:28:22 am »

I believe so? The artifact stand/case building people swear it does.
Logged

IamanElfCollaborator

  • Bay Watcher
  • Resident Shipper God and Freyjapiller
    • View Profile
Re: Curtains and tapestries
« Reply #10 on: August 18, 2012, 12:33:01 pm »

It probably depends on the value of the materials used to make it? Idk how it works, but it might be that.

Igfig

  • Bay Watcher
    • View Profile
Re: Curtains and tapestries
« Reply #11 on: August 18, 2012, 06:21:47 pm »

Also the cloak idea does have the merits of being able to sew images in it, though it might get a little annoying when some dwarf claims the tapestry you have been working on for so long and decides to wear it around instead of making an awesome wall hanging with it.

You could get around that problem by giving the tapestry a LAYER_PERMIT value of 0. That'll keep dwarves from wearing one if they have anything at all on their upper body.

IamanElfCollaborator

  • Bay Watcher
  • Resident Shipper God and Freyjapiller
    • View Profile
Re: Curtains and tapestries
« Reply #12 on: August 18, 2012, 06:44:39 pm »

Assuming how stupid the dwarves are, I don't think THAT will work.

i2amroy

  • Bay Watcher
  • Cats, ruling the world one dwarf at a time
    • View Profile
Re: Curtains and tapestries
« Reply #13 on: August 18, 2012, 07:17:31 pm »

Assuming how stupid the dwarves are, I don't think THAT will work.
It would certainly stop them from actually wearing them as clothes, though whether or not it would stop them from claiming them and then just throwing them on the floor is up for grabs.

As for why it's not showing up, I'm not sure. You did try scrolling down in the workshop list right? (Obligatory stupid question.) Other then that the only thing I can think of trying is moving it into another workshop and seeing if it shows up there to see if the problem is with the workshop claiming the reaction instead of the reaction itself.

AFAIK workshops do increase the value of the room they are in by the value of their items.
Logged
Quote from: PTTG
It would be brutally difficult and probably won't work. In other words, it's absolutely dwarven!
Cataclysm: Dark Days Ahead - A fun zombie survival rougelike that I'm dev-ing for.

IamanElfCollaborator

  • Bay Watcher
  • Resident Shipper God and Freyjapiller
    • View Profile
Re: Curtains and tapestries
« Reply #14 on: August 19, 2012, 01:48:21 am »

I don't think it would stop them from claiming the cloaks.
Pages: [1] 2