Bay 12 Games Forum

Please login or register.

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

Author Topic: Treasur Chest  (Read 1289 times)

Greiger

  • Bay Watcher
  • Reptilian Illuminati member. Keep it secret.
    • View Profile
Re: Treasur Chest
« Reply #15 on: January 29, 2008, 11:19:00 am »

Since nobody posted a finished creature I'll post what I made.
code:
creature_treasure_chest

[OBJECT:CREATURE]

[CREATURE:CHEST_TREASURE]//Inspired by http://www.bay12games.com/cgi-local/ultimatebb.cgi?ubb=get_topic&f=13&t=000290
   [NAME:treasure chest:treasure chests:treasure chest]
   [TILE:93][COLOR:6:0:0]
   [SEMIMEGABEAST]
   [SPEED:20000]
   [EXTRACT:giant cave spider venom:7:0:0]
   [EXTRACT_VALUE:100]
   [EXTRACT_PARALYZE]
   [GENPOWER:5]
   [NOT_BUCHERABLE]
   [FANCIFUL]
   [PREFSTRING:contents]
   [BODY:TREASURECHEST]
   [NOT_BUTCHERABLE]
   [NOPAIN][EXTRAVISION][NOBREATHE][NOBLEED][NOSTUN][NONAUSEA][NOEMOTION][RECKLESS]
      [NOSTUCKINS][SEVERONBREAKS][NOSKULL][NOSKIN][NOBONES][NOMEAT][NOTHOUGHT][NOEXERT]
   [DAMBLOCK:8]
   [NOFEAR]
   [SIZE:7]
[ATTACK:MAIN:BYTOKEN:NEEDLE :DIAMOND]
[ITEMCORPSE:WEAPON:NO_SUBTYPE:SWORD_LONG:GOLD]
[ITEMCORPSE:WEAPON:NO_SUBTYPE:SWORD_SHORT:GOLD]
[ITEMCORPSE:GOBLET:NO_SUBTYPE:GOBLET:PLATINUM]
   [ITEMCORPSE_QUALITY:5]
   [NO_DRINK][NO_EAT][NO_SLEEP]
   [NO_GENDER]
   [IMMOBILE_LAND][FIREBREATH]
   [MATERIAL:METAL:IRON]  


code:
[BODY:TREASURECHEST]
[BP:UB:body][UPPERBODY]
[BP:LB:lid][CON:UB][LOWERBODY]
[BP:LOCK:lock][CON:LB][HEAD]
[BP:NEEDLE:needle trap][CONTYPE:HEAD][INTERNAL][SMALL]  


Yes I removed the silk tags after noticing that they made treasure chest silk.  It has been pseudo tested and on death I received a ☼Goblet☼  No material type though.  Don't know if the others will work because I've never seen gold swords.  Might need to be silver instead.

If anyone knows how to use the itemcorpse tag correctly, care to tell me why it only gave me a ☼goblet☼ and not a ☼platinum goblet☼? P.S. I also don't know the correct code for a chest as I don't see that icon on any of my ascii cheat sheets.  It shows up as a ] currently.

EDIT: Spams the errorlog pretty badly since the itemcorpse tags are apperently all wrong.

[ January 29, 2008: Message edited by: Greiger ]

Logged
Disclaimer: Not responsible for dwarven deaths from the use or misuse of this post.
Quote
I don't need friends!! I've got knives!!!

PTTG??

  • Bay Watcher
  • Kringrus! Babak crulurg tingra!
    • View Profile
    • http://www.nowherepublishing.com
Re: Treasur Chest
« Reply #16 on: January 29, 2008, 09:41:00 pm »

This rocks so hard, I think it broke my nose. Anybody know how to clean up some of the bugs so it's good to run?

I'm just curious; will this show up in fortress mode?
A vile force of loot has arrived!

Logged
A thousand million pool balls made from precious metals, covered in beef stock.

Kagus

  • Bay Watcher
  • Olive oil. Don't you?
    • View Profile
Re: Treasur Chest
« Reply #17 on: January 29, 2008, 09:49:00 pm »

It's a semimegabeast, so it won't show up like a titan or dragon, if that's what you mean.


Maybe this thing should be a floating "arcane sphere" that shoots fireballs at you.  Then you could pass off both the attacking and the movement (hovering about, slowly).  It'd be sort of a "wizard's chest".

Fenrir

  • Guest
Re: Treasur Chest
« Reply #18 on: January 29, 2008, 10:05:00 pm »

The movement's a non-issue because it has [IMMOBILE_LAND].
Logged

Kagus

  • Bay Watcher
  • Olive oil. Don't you?
    • View Profile
Re: Treasur Chest
« Reply #19 on: January 29, 2008, 10:12:00 pm »

Ah, didn't see that.

So when do we get to see the first epic battle between adventurer and chest?

Greiger

  • Bay Watcher
  • Reptilian Illuminati member. Keep it secret.
    • View Profile
Re: Treasur Chest
« Reply #20 on: January 30, 2008, 12:05:00 am »

As soon as I come across another one(which may not be til tomarrow)I'll post the gamelog. The last fight wasn't very epic though.  Just included me getting hit with a fireball then it getting it's lid chopped off. My adventurer is rather powerful.

They actually seem rather rare, I did about 7 quests and only found 1 so far.  The local mayor keeps sending me to ruins and I can't find the caves without him telling me to go 'kill' it. I want to use the companion as a last resort since I would have to save and exit for it's body parts to refresh.

I just decided to dig through th 4MB gamelog(I never clear the thing) and find it. Here it is.

code:
The treasure chest misses You!
You counterstrike!
You hack at The treasure chest in the body with your Iron long sword!
It is damaged!
(A few of lines of me dismembering a trog that interrupted me while waiting for another attack edited out)
You are struck by a ball of flames!
You hack at The treasure chest in the lid with your Iron long sword!
The lid flies off in an arc!
Mizbo Bistraica, treasure chest has been struck down.
The giant bat gives in to pain.
You pick up the goblet and put it in your tiger leather backpack.  

Unfortunatly I lack still in storytelling.  Make of that what you will.  

I should have given it more opportunities to attack(the cave had GCS in it and the trog spooked me.) And the test adventurer was buffed up slightly in order to make it to the thing to make sure it would attack and the parts worked.  

I may need to increase it's size a bit to make it more defensible, as I don't think even a master swordsman should be able to break it open so easily with a basic long sword. But I want to test it with an average adventurer before I do, which is what I've been trying to do recently.

[ January 30, 2008: Message edited by: Greiger ]

Logged
Disclaimer: Not responsible for dwarven deaths from the use or misuse of this post.
Quote
I don't need friends!! I've got knives!!!

Kagus

  • Bay Watcher
  • Olive oil. Don't you?
    • View Profile
Re: Treasur Chest
« Reply #21 on: January 30, 2008, 12:29:00 am »

Maybe the material type should be adamantine.  Currently, the only way to get admamntine objects of any kind is to dig it out in a fort, and then go back to that fort as an adventurer.  

Seeing all the things adamantine can be made out of, it will work with any item type that decides to spawn except for beds (which would be a bit strange anyways), and the quality would offset the difficulty of finding one of the damn chests...

Silver just seems too low-value to be worth the effort of killing a chest that's shooting fireballs at you and that only appears rarely.

Greiger

  • Bay Watcher
  • Reptilian Illuminati member. Keep it secret.
    • View Profile
Re: Treasur Chest
« Reply #22 on: January 30, 2008, 01:03:00 am »

Yes adamantine may be a good idea. But currently I can't make it accept any material. I simply don't know enough about the itemcorpse tag.  Every time DF loads up the errorlog says it dosn't recognise any of the swords, and dosn't recognise the goblet either(though it as evidenced can still place the thing).

Through use of the dwarf companion I have confirmed that..
1 the freese lock works, the needle trap works(and paralyzes)
2 It is quite hard to kill with a starting adventurer
3 making drunks into treasure chests makes drunk treasure chests
4 when a mayor gains any combat skill at all he becomes a peasant.
5 two (drunk)treasure chests can survive the onslaught of a small army of unarmed civilians.

Still no luck with the items getting materials though.

[ January 30, 2008: Message edited by: Greiger ]

[ January 30, 2008: Message edited by: Greiger ]

Logged
Disclaimer: Not responsible for dwarven deaths from the use or misuse of this post.
Quote
I don't need friends!! I've got knives!!!
Pages: 1 [2]