Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Are beds hard coded?  (Read 925 times)

Urist McCoder

  • Bay Watcher
    • View Profile
Are beds hard coded?
« on: March 10, 2015, 09:43:58 am »

Is it possible to add a new type of bed, or are beds hard coded?
Logged

BlackFlyme

  • Bay Watcher
  • BlackFlyme cancels Work: Interrupted by bird.
    • View Profile
Re: Are beds hard coded?
« Reply #1 on: March 10, 2015, 09:46:11 am »

It's a hardcoded item.
Logged

Urist McCoder

  • Bay Watcher
    • View Profile
Re: Are beds hard coded?
« Reply #2 on: March 10, 2015, 09:47:13 am »

Can you create a reaction that returns a bed with a different name?
Logged

BlackFlyme

  • Bay Watcher
  • BlackFlyme cancels Work: Interrupted by bird.
    • View Profile
Re: Are beds hard coded?
« Reply #3 on: March 10, 2015, 09:49:46 am »

Nope.
Logged

Dirst

  • Bay Watcher
  • [EASILY_DISTRA
    • View Profile
Re: Are beds hard coded?
« Reply #4 on: March 10, 2015, 09:53:54 am »

Taking a slightly different tack, it is possible DFHack a bed into existence, and manipulate its material?  Because it is possible to call a DFHack script or plugin from a reaction.
Logged
Just got back, updating:
(0.42 & 0.43) The Earth Strikes Back! v2.15 - Pay attention...  It's a mine!  It's-a not yours!
(0.42 & 0.43) Appearance Tweaks v1.03 - Tease those hippies about their pointy ears.
(0.42 & 0.43) Accessibility Utility v1.04 - Console tools to navigate the map

IndigoFenix

  • Bay Watcher
  • All things die, but nothing dies forever.
    • View Profile
    • Boundworlds: A Browser-Based Multiverse Creation and Exploration Game
Re: Are beds hard coded?
« Reply #5 on: March 10, 2015, 10:36:26 am »

What are you trying to do?  It's perfectly possible to make a bed out of any material using reactions.

Urist McCoder

  • Bay Watcher
    • View Profile
Re: Are beds hard coded?
« Reply #6 on: March 10, 2015, 10:37:52 am »

I know that I am adding hammocks, and I was wondering if I could get an item called hammock.
Logged

IndigoFenix

  • Bay Watcher
  • All things die, but nothing dies forever.
    • View Profile
    • Boundworlds: A Browser-Based Multiverse Creation and Exploration Game
Re: Are beds hard coded?
« Reply #7 on: March 10, 2015, 10:53:44 am »

Nope, sorry.  You can make cloth beds, but they'll still be called beds.

evictedSaint

  • Bay Watcher
  • if (ANNOYED_W_FANS==true) { KILL_CHAR(rand()); }
    • View Profile
Re: Are beds hard coded?
« Reply #8 on: March 10, 2015, 03:54:14 pm »

Doesnt MW have Beds and Feather Beds?

Urist McCoder

  • Bay Watcher
    • View Profile
Re: Are beds hard coded?
« Reply #9 on: March 10, 2015, 04:02:23 pm »

that's easy, iirc just use [PRODUCT:100:1:BED:NO_SUBTYPE:USE_MATERIAL_FROM_REAGENT:A:NONE].
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: Are beds hard coded?
« Reply #10 on: March 10, 2015, 04:04:10 pm »

Doesnt MW have Beds and Feather Beds?

You can have "feather beds" by making a bed out of any material whose SOLID STATE_ADJ is "feather".