Bay 12 Games Forum

Please login or register.

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

Author Topic: This belongs in a museum  (Read 28628 times)

kaypy

  • Bay Watcher
    • View Profile
This belongs in a museum
« on: May 13, 2010, 09:06:10 am »

Well, I cant quite make a museum in entirety, but I have managed to put together a custom workshop that can be built including any one object of your choice.



It requires clear glass, which I figure as the minimum base price for something that will take an otherwise useless artifact and
(a) protect it from thieves
(b) use it to boost room value

In building_custom:
Code: [Select]
Display case
Requires:
1 unit building material
1 clear glass box
1 object to display
[BUILDING_WORKSHOP:DISPLAY_CASE]
[NAME:Display Case]
[NAME_COLOR:7:0:1]
[DIM:1:1]
[WORK_LOCATION:1:1]
[BUILD_LABOR:MASON]
[BLOCK:1:0]
[TILE:0:1:'#']
[COLOR:0:1:0:7:0]
[TILE:1:1:'#']
[COLOR:1:1:0:7:0]
[TILE:2:1:'#']
[COLOR:2:1:0:7:0]
[TILE:3:1:147]
[COLOR:3:1:7:0:0]
[BUILD_ITEM:1:BLOCKS:NONE:NONE:NONE][CAN_USE_ARTIFACT]
[BUILD_ITEM:1:BOX:NONE:GLASS_CLEAR:NONE][CAN_USE_ARTIFACT]
[BUILD_ITEM:1:NONE:NONE:NONE:NONE][CAN_USE_ARTIFACT]

The last BUILD_ITEM line is what allows the 'use any object' feature

and add it to the entity

I used one of diacriticed letters to make a pedestal tile  (I stripped them out of the language files so I can do what I like with them). You may want to change those tiles.

---

Now to see what happens when something built into a building rots...

--

Much later edit: there are some refinements of this idea in a new thread: see http://www.bay12forums.com/smf/index.php?topic=79807.0
« Last Edit: March 21, 2011, 07:41:49 am by kaypy »
Logged

Lancensis

  • Bay Watcher
    • View Profile
Re: This belongs in a museum
« Reply #1 on: May 13, 2010, 09:17:54 am »

Heh. Won't keep them safe from building destroyers, but pretty good nonetheless. Did you have to scroll through every item in your fortress to find those lungs?
Logged

kaypy

  • Bay Watcher
    • View Profile
Re: This belongs in a museum
« Reply #2 on: May 13, 2010, 09:24:49 am »

It was a pretty new fort, and the butcher wasn't far away, but yeah, nearly every object is on the list. Be prepared for some slowdown if when you have 2872346105781964016492 stones lying around 8-)

I wasn't able to stuff a corpse into it, so not quite *every* object.

Oh, and there's a bug in the material selection, so you can build it out of a box, a block, and the block you already chose earlier. (bug 1855)
Logged

derigo

  • Bay Watcher
    • View Profile
Re: This belongs in a museum
« Reply #3 on: May 13, 2010, 09:35:24 am »

That's awesome!
Logged

Bishop36

  • Bay Watcher
  • It is known.
    • View Profile
Re: This belongs in a museum
« Reply #4 on: May 13, 2010, 10:16:57 am »

I would vote for this to be added to vanilla, if such a vote existed.
Logged
"Things that make noise should never be sold to small children. Only adults can handle that responsibility."

-Justin from Left-Hand Toons

kaypy

  • Bay Watcher
    • View Profile
Re: This belongs in a museum
« Reply #5 on: May 13, 2010, 10:38:02 am »

Museums are one of the options on the Eternal Suggestions Voting (although there's no reason to expect the implementation would be remotely similar)...
Logged

MMad

  • Bay Watcher
    • View Profile
Re: This belongs in a museum
« Reply #6 on: May 13, 2010, 02:43:57 pm »

Wow, awesome! I've wanted something exactly like this for a long while. :)
Logged
"Ask not what your fortress can do for you - ask what you can do for your fortress."
Unapologetic ASCII abolitionist.

Duane

  • Bay Watcher
    • View Profile
Re: This belongs in a museum
« Reply #7 on: May 13, 2010, 03:35:08 pm »

You should make it ignore stone/blocks/bars other than to construct the display case.
Logged

kaypy

  • Bay Watcher
    • View Profile
Re: This belongs in a museum
« Reply #8 on: May 13, 2010, 09:11:39 pm »

Wish I could- the options are pretty much limited to
(a) allow anything
or
(b) allow only one item type

My first iteration actually required a different custom workshop for each object type, but having two pages of Display Case w/Ammo, Display Case w/Amulet etc etc got unwieldy fast.
Logged

derigo

  • Bay Watcher
    • View Profile
Re: This belongs in a museum
« Reply #9 on: May 13, 2010, 10:15:50 pm »

Well? What happens when you build something that rots out of it?  I'm breathless with anticipation here, c'mon! ;p
Logged

kaypy

  • Bay Watcher
    • View Profile
Re: This belongs in a museum
« Reply #10 on: May 14, 2010, 02:21:36 am »

Ah. I put it over on the wiki for reference:

http://df.magmawiki.com/index.php/Talk:Building_token

Short version: your building eventually self destructs. Although you spend a fair while breathless with miasma first, of course.
Logged

zwei

  • Bay Watcher
  • [ECHO][MENDING]
    • View Profile
    • Fate of Heroes
Re: This belongs in a museum
« Reply #11 on: May 14, 2010, 06:01:14 am »

Do the dwarves admire it? What about adding reactions?

Code: [Select]
[REACTION:STUDY_ARTIFACT]
[NAME:study artifact]
[BUILDING:DISPLAY_CASE:NONE]
[SKILL:APPRAISER]

Possibly "OBSERVER", "STUDENT", "CONCENTRATION" skills too.

Also, could it be possible to make thus building require Architecture to design?

Flaede

  • Bay Watcher
  • Beware the Moon Creatures.
    • View Profile
Re: This belongs in a museum
« Reply #12 on: May 14, 2010, 06:16:22 am »

Oh. Wow. This is one of those things I did not know I needed until I saw it.
Logged
Toady typically doesn't do things by half measures.  As evidenced by turning "make hauling work better" into "implement mine carts with physics".
There are many issues with this statement.
[/quote]

derigo

  • Bay Watcher
    • View Profile
Re: This belongs in a museum
« Reply #13 on: May 14, 2010, 12:13:14 pm »

Ah. I put it over on the wiki for reference:

http://df.magmawiki.com/index.php/Talk:Building_token

Short version: your building eventually self destructs. Although you spend a fair while breathless with miasma first, of course.

Oh man!  I've got to mod in ginger bread blocks, an edible structural material that doesn't rot!
Logged

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: This belongs in a museum
« Reply #14 on: May 14, 2010, 01:21:59 pm »

What happens when an area under a building caves in? Does it deconstruct the building?

If so, you can make a platform with display casese supported by a column linked to a lever.
You know what I mean. Adventurer labyrinths with real treasures you can claim!
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository
Pages: [1] 2 3 ... 5